]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
_nss_nis_initgroups_dyn: Return status instead of NSS_STATUS_SUCCESS
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1a2d98af
FW
12015-03-02 Florian Weimer <fweimer@redhat.com>
2
3 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4 Return error status.
5
e7f07af5
AO
62015-02-27 Alexandre Oliva <aoliva@redhat.com>
7
8 [BZ #15969]
9 * locale/findlocale.c (_nl_find_locale): Introduce const
10 version of loc_name and drop unsafe type casts.
11
c7b19ca9
RM
122015-02-27 Roland McGrath <roland@hack.frob.com>
13
14 * dlfcn/tststatic2.c (main): Converted to ...
15 (do_test): ... this.
16 (TEST_FUNCTION): New macro.
17 Include test-skeleton.c.
18
ef4ad06f
L
192015-02-27 H.J. Lu <hongjiu.lu@intel.com>
20
21 [BZ #17711]
22 * elf/Makefile (tests): Add vismain only if PIE is enabled.
23 (tests-pie): Add vismain.
24 (CFLAGS-vismain.c): New.
25 * elf/vismain.c: Add comments for PIE requirement.
26
2ca725c5
JM
272015-02-27 Joseph Myers <joseph@codesourcery.com>
28
29 [BZ #18046]
30 [BZ #18047]
31 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32 0x1p-56L as threshold for just returning the argument.
33 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
34 0x1p-32L as threshold for just returning the argument.
35 * math/auto-libm-test-in: Add more tests of atanh.
36 * math/auto-libm-test-out: Regenerated.
37 * sysdeps/i386/fpu/libm-test-ulps: Update.
38 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39
af96be34
WD
402015-02-27 Wilco Dijkstra wdijkstr@arm.com
41
42 * string/bcopy.c (bcopy): Call memmove for performance.
43
ddcf6798
WD
442015-02-27 Wilco Dijkstra wdijkstr@arm.com
45
46 * string/bzero.c (__bzero): Call memset for performance.
47
49f476f4
JDA
482015-02-27 John David Anglin <dave.anglin@bell.net>
49
50 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
51 to 00100000.
52
f8ab5d38
JM
532015-02-27 Joseph Myers <joseph@codesourcery.com>
54
55 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
56
380bd0fd
JM
572015-02-26 Joseph Myers <joseph@codesourcery.com>
58
31331a07
JM
59 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
60 (__kernel_standard): Use CSTR macro when setting exc.name.
61 * sysdeps/ieee754/Makefile [$(subdir) = math]
62 (CFLAGS-k_standard.c): Remove variable.
63
09220e66
JM
64 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
65 setting p and q from "else if" to "else".
66 (qzero): Likewise.
67 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
68 (qone): Likewise.
69 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
70 (qzerof): Likewise.
71 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
72 (qonef): Likewise.
73 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
74 (qzero): Likewise.
75 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
76 (qone): Likewise.
77
1d9ab20c
JM
78 [BZ #18038]
79 [BZ #18039]
80 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
81 return pi/2 for arguments below 0x1p-113L.
82 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
83 return pi/2 for arguments below 0x1p-106L.
84 * math/auto-libm-test-in: Add more tests of acos.
85 * math/auto-libm-test-out: Regenerated.
86
ec0ce0d3
JM
87 [BZ #16351]
88 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
89 (MO): New macro.
90 (__ieee754_asin): Force underflow exception for results with small
91 absolute value.
92 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
93 (MO): New macro.
94 (__ieee754_asinf): Force underflow exception for results with
95 small absolute value.
96 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
97 (__ieee754_asin): Force underflow exception for results with small
98 absolute value.
99 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
100 (__ieee754_asinf): Force underflow exception for results with
101 small absolute value.
102 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
103 (__ieee754_asinl): Force underflow exception for results with
104 small absolute value.
105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
106 (__ieee754_asinl): Force underflow exception for results with
107 small absolute value.
108 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
109 (__ieee754_asinl): Force underflow exception for results with
110 small absolute value.
111 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
112 Include <math.h>.
113 * math/auto-libm-test-in: Do not mark underflow exceptions as
114 possibly missing for bug 16351.
115 * math/auto-libm-test-out: Regenerated.
116
380bd0fd
JM
117 [BZ #18030]
118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
119 of power of 2 down when low part has opposite sign.
120 * math/libm-test.inc (logb_test_data): Add more tests.
121
4a28f4d5
AS
1222015-02-26 Andreas Schwab <schwab@suse.de>
123
124 [BZ #18032]
125 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
126 over collating symbol inside a bracket expression. Minor cleanup.
127 * posix/tst-fnmatch3.c (do_test): Add test case.
128
524ae9ea
JM
1292015-02-26 Joseph Myers <joseph@codesourcery.com>
130
131 [BZ #18029]
132 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
133 Adjust exponent of power of 2 down when low part has opposite
134 sign.
135 * math/libm-test.inc (ilogb_test_data): Add more tests.
136
23d43090
AO
1372015-02-26 Alexandre Oliva <aoliva@redhat.com>
138
139 [BZ #15969]
140 * locale/findlocale.c (_nl_find_locale): Fix constness error in
141 the previous change.
0d822a01
AO
142
143 [BZ #15969]
144 * locale/findlocale.c (_nl_find_locale): Retry archive search
145 after alias expansion.
146
d19df6ac
RM
1472015-02-25 Roland McGrath <roland@hack.frob.com>
148
ca681b7b
RM
149 * iconv/tst-iconv3.c (main): Converted to ...
150 (do_test): ... this.
151 (TEST_FUNCTION): New macro.
152 Include test-skeleton.c.
153
fd1f2f1c
RM
154 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
155 (convert): Make function static.
156 (test_unalign): Likewise. Add const to argument pointee types.
157 (main): Replace with static function do_test.
158 Print "Succeeded." only if RET is zero.
159 (TEST_FUNCTION): New macro.
160 Include test-skeleton.c.
161
d19df6ac
RM
162 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
163 returns a null pointer.
164
115e0de7
AZ
1652015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
166
167 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
168 to __memcpy_ppc only for static builds.
169
137cef7d
JM
1702015-02-25 Joseph Myers <joseph@codesourcery.com>
171
172 [BZ #18020]
173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
174 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
175 * math/auto-libm-test-in: Add more tests of asinh.
176 * math/auto-libm-test-out: Regenerated.
177 * sysdeps/i386/fpu/libm-test-ulps: Update.
178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
179
cb43bb0d
CW
1802015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
181
182 [BZ #15850]
183 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
184 and ip6_mtuinfo definitions here.
185 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
186 in this define too. Update comment.
187
9be1052b
BS
1882015-02-24 Benno Schulenberg <bensberg@justemail.net>
189
190 * elf/sprof.c (load_shobj): Tweak error message to match others.
191
6807b1db
KE
1922015-02-24 Kevin Easton <kevin@guarana.org>
193
194 [BZ #16145] (partial fix)
195 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
196 to reduce lock contention.
197
b433df00
ML
1982015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
199
200 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
201 (struct timex): Update time comment.
202 (ADJ_SETOFFSET): Define.
203
440169d6
JM
2042015-02-24 Joseph Myers <joseph@codesourcery.com>
205
206 [BZ #18019]
207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
208 2**56 not 2**28 as threshold for log (2x) formula.
209 * math/auto-libm-test-in: Add more tests of acosh.
210 * math/auto-libm-test-out: Regenerated.
211 * sysdeps/i386/fpu/libm-test-ulps: Update.
212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
213
ba7d2c54
MF
2142015-02-24 Mike Frysinger <vapier@gentoo.org>
215
216 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
217 parenthesis around the buf assignment.
218 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
219
9438b237
JM
2202015-02-24 Joseph Myers <joseph@codesourcery.com>
221
222 [BZ #16783]
223 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
224 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
225 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
226 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
227 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
228 * math/libm-test.inc (scalb_test_data): Add more tests.
229
6909d276
PP
2302015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
231
232 [BZ #17916]
233 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
234 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
235
65f6f938
ER
2362015-02-24 Eric Rannaud <e@nanocritical.com>
237
238 [BZ #17523]
239 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
240 * io/bits/fcntl2.h (open): Use it.
241 (openat): Likewise.
242 * io/open.c (__libc_open): Likewise.
243 * io/open64.c (__libc_open64): Likewise.
244 * io/open64_2.c (__open64_2): Likewise.
245 * io/open_2.c (__open_2): Likewise.
246 * io/openat.c (__openat): Likewise.
247 * io/openat64.c (__openat64): Likewise.
248 * io/openat64_2.c (__openat64_2): Likewise.
249 * io/openat_2.c (__openat_2): Likewise.
250 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
251 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
252 * sysdeps/posix/open64.c (__libc_open64): Likewise.
253 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
254 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
255 (__open_nocancel): Likewise.
256 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
257 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
258 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
259
3e3002ff
SP
2602015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
261
262 [BZ #14841]
263 * resolv/gethnamaddr.c (getanswer): Skip logging if
264 RES_USE_DNSSEC is set.
265 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
266
9813dd58
MF
2672015-02-24 Mike Frysinger <vapier@gentoo.org>
268
269 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
270
7b1ec6a0
AO
2712015-02-23 Alexandre Oliva <aoliva@redhat.com>
272
273 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
274 201304L, for Unicode 7.
275
d49499c1
L
2762015-02-23 H.J. Lu <hongjiu.lu@intel.com>
277
278 [BZ #17836]
279 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
280 shared library. Add gmon-start.os otherwise.
281 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
282 $(objpfx)gmon-start.os if builing shared library.
283 ($(objpfx)g$(static-start-installed-name)): Likewise.
284
51225803
AS
2852015-02-23 Andreas Schwab <schwab@suse.de>
286
287 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
288
bdf1ff05
PP
2892015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
290
291 [BZ #17269]
292 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
293 (enlarge_userbuf): Likewise.
294
95296112
CLT
2952015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
296
297 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
298 * math/atest-exp.c (TIMEOUT): Adjust to 200.
299 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
300 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
301
e4a399dc
JM
3022015-02-20 Joseph Myers <joseph@codesourcery.com>
303
304 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
305 expression inside statement expression.
306
7133957f
SL
3072015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
308
309 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
310 <sysdeps/nptl/lowlevellock.h> and remove macros and
311 functions that are now defined there.
312 (SYS_futex): Remove.
313 (lll_compare_and_swap): Remove.
314 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
315
40176158
JM
3162015-02-19 Joseph Myers <joseph@codesourcery.com>
317
318 [BZ #17999]
319 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
320 instead of scandirat.
321 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
322 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
323 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
324 __scandirat.
325 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
326 (__scandirat): Declare. Use libc_hidden_proto.
327 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
328 Remove variable.
329 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
330
4629c866
JM
3312015-02-18 Joseph Myers <joseph@codesourcery.com>
332
333 [BZ #15319]
334 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
335 (MO): New macro.
336 (__ieee754_atan2): For results with small absolute value, force
337 underflow exception and remove excess range and precision from
338 return value.
339 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
340 (MO): New macro.
341 (__ieee754_atan2f): For results with small absolute value, force
342 underflow exception and remove excess range and precision from
343 return value.
344 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
345 (MO): New macro.
346 (__atan): For results with small absolute value, force underflow
347 exception and remove excess range and precision from return value.
348 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
349 (MO): New macro.
350 (__atanf): For results with small absolute value, force underflow
351 exception and remove excess range and precision from return value.
352 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
353 <math.h>.
354 (__ieee754_atan2): Force underflow exception for results with
355 small absolute value.
356 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
357 <math_private.h>.
358 (atan): Force underflow exception for results with small absolute
359 value.
360 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
361 (__atanf): Force underflow exception for results with small
362 absolute value.
363 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
364 <math.h>.
365 (__atanl): Force underflow exception for results with small
366 absolute value.
367 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
368 (__atanl): Force underflow exception for results with small
369 absolute value.
370 * sysdeps/x86/fpu/bits/mathinline.h
371 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
372 (__ieee754_atan2): Only define inline for long double.
373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
374 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
375 * math/auto-libm-test-in: Do not mark underflow exceptions as
376 possibly missing for bug 15319. Add more tests of atan2.
377 * math/auto-libm-test-out: Regenerated.
378 * math/libm-test.inc (casin_test_data): Do not mark underflow
379 exceptions as possibly missing for bug 15319.
380 (casinh_test_data): Likewise.
381 * sysdeps/i386/fpu/libm-test-ulps: Update.
382
9ee16d8b
SE
3832015-02-18 Steve Ellcey <sellcey@imgtec.com>
384
385 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
386 * sysdeps/mips/bits/endian.h: Fix comments.
387
4ffb1771
JM
3882015-02-18 Joseph Myers <joseph@codesourcery.com>
389
390 [BZ #17996]
391 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
392 (hdestroy_r): Likewise.
393 (hsearch_r): Likewise.
394 (__hcreate_r): Declare and use libc_hidden_proto.
395 (__hdestroy_r): Likewise.
396 (__hsearch_r): Likewise.
397 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
398 (hcreate): Call __hcreate_r instead of hcreate_r.
399 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
400 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
401 as weak alias of __hcreate_r.
402 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
403 __hdestroy_r.
404 (hsearch_r): Rename to __hsearch_r and define as weak alias of
405 __hsearch_r.
406 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
407 Remove variable.
408 (test-xfail-XPG4/search.h/linknamespace): Likewise.
409 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
410 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
411 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
412
94c5a52a
SP
4132015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
414
415 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
416 arena_lock into a single arena_get.
417
8a35c3fe
CD
4182015-02-17 Carlos O'Donell <carlos@redhat.com>
419
420 * dl-reloc.c: Inlucde libc-internal.h.
421 (_dl_try_allocate_static_tls): Call ALIGN_UP.
422 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
423 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
424 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
425 (grow_heap): Likewise.
426 * malloc/malloc.c: Include libc-internal.h.
427 (do_check_malloc): Call powerof2.
428 (sysmalloc): Use pagesize. Call ALIGN_UP.
429 (systrim): Use pagesize.
430 (mremap_chunk): Use pagesize. Call ALIGN_UP.
431 (__libc_valloc): Use pagesize.
432 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
433
1a2325c0
JM
4342015-02-17 Joseph Myers <joseph@codesourcery.com>
435
436 [BZ #17991]
437 * include/sys/resource.h (__getrlimit64): Declare. Use
438 libc_hidden_proto.
439 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
440 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
441 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
442 getrlimit64.
443 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
444 __getrlimit64.
445 [!getrlimit64] (getrlimit64): Define as weak alias of
446 __getrlimit64. Use libc_hidden_weak.
447 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
448 using __getrlimit64 not __new_getrlimit64.
449 (__GI_getrlimit64): Likewise.
450 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
451 Likewise.
452 (__GI_getrlimit64): Likewise.
453 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
455 (getrlimit): Add __getrlimit64 alias.
456 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
457 Likewise.
458 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
459 Remove variable.
460 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
461 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
462
8ae4bb5a
PP
4632015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
464
465 * libio/fileops.c: Add missing sys/mman.h
466 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
467
18a218b7
JM
4682015-02-17 Joseph Myers <joseph@codesourcery.com>
469
470 * manual/math.texi (Errors in Math Functions): Clarify goals
471 regarding inexact and underflow exceptions.
472
e72ad0ef
SE
4732015-02-17 Steve Ellcey <sellcey@imgtec.com>
474
475 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
476 * sysdeps/mips/memset.S: Ditto.
477
2caa4099
SE
4782015-02-17 Steve Ellcey <sellcey@imgtec.com>
479
480 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
481
f20bfc9b
SL
4822015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
483
484 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
485 (__v1longjmp): Remove versioned symbol.
486 (__v1siglongjmp): Remove alias and versioned symbol.
487 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
488 (__v2siglongjmp): Likewise.
489
71c06b69
TR
4902015-02-16 Torvald Riegel <triegel@redhat.com>
491
492 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
493
a9a05adb
MF
4942015-02-16 Mike Frysinger <vapier@gentoo.org>
495
496 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
497
ce8fc784
JM
4982015-02-16 Joseph Myers <joseph@codesourcery.com>
499
500 [BZ #17987]
501 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
502 zero result does not depend on the sign resulting from
503 subtraction.
504 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
505 Likewise.
506 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
507 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
508 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
509 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
510 * math/libm-test.inc (remquo_test_data): Add more tests.
511
0d7036bd
PE
5122015-02-16 Paul Eggert <eggert@cs.ucla.edu>
513
514 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
515 Problem reported by J William Piggott.
516
86c56b16
JM
5172015-02-16 Joseph Myers <joseph@codesourcery.com>
518
a820f9b3
JM
519 [BZ #17978]
520 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
521 products 4 * y and 2 * y where those would overflow.
522 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
523 Likewise.
524 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
525 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
527 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
528 * math/libm-test.inc (remquo_test_data): Add more tests.
529
be802953
JM
530 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
531
e5e72fe9
JM
532 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
533 [defined _COMPILING_NEWLIB].
534 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
535 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
536
86c56b16
JM
537 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
538 [!defined __mips_isa_rev || __mips_isa_rev < 6].
539
35264d14
TR
5402015-02-16 Torvald Riegel <triegel@redhat.com>
541
542 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
543 acquired.
544
6f49e32a
MF
5452015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
546
547 [BZ #17792]
548 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
549 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
550 HOST_STACK_END_ADDR): Likewise.
551
e525154e
SE
5522015-02-13 Steve Ellcey <sellcey@imgtec.com>
553
554 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
555 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
556 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
557
4ab770b7
RM
5582015-02-13 Roland McGrath <roland@hack.frob.com>
559
560 * sysdeps/generic/c++-types.data: New file.
561 * sysdeps/generic/ld.abilist: New file.
562 * sysdeps/generic/libBrokenLocale.abilist: New file.
563 * sysdeps/generic/libanl.abilist: New file.
564 * sysdeps/generic/libc.abilist: New file.
565 * sysdeps/generic/libcrypt.abilist: New file.
566 * sysdeps/generic/libdl.abilist: New file.
567 * sysdeps/generic/libm.abilist: New file.
568 * sysdeps/generic/libpthread.abilist: New file.
569 * sysdeps/generic/libresolv.abilist: New file.
570 * sysdeps/generic/librt.abilist: New file.
571
d9afe48d
JM
5722015-02-13 Joseph Myers <joseph@codesourcery.com>
573
574 [BZ #17569]
575 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
576 Compute absolute value of x as modified by fmod, not original
577 value of x.
578 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
579 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
580 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
581 RUN_TEST_ffI_f1_mod8.
582 (remquo_test_data): Add more tests.
583
3846188b
RM
5842015-02-13 Roland McGrath <roland@hack.frob.com>
585
586 * sysdeps/init_array/pt-crti.S: New file.
587
95c26233
JM
5882015-02-13 Joseph Myers <joseph@codesourcery.com>
589
590 [BZ #17967]
591 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
592 __builtin_fmaf instead of relying on contraction of a * b + c.
593
3f293d61
WP
5942015-02-12 J William Piggott <elseifthen@gmx.com>
595
596 [BZ #17969]
597 * manual/time.texi: correct the zoneinfo path in the TZ Variable
598 node.
599
e8bd5286
JM
6002015-02-12 Joseph Myers <joseph@codesourcery.com>
601
602 [BZ #17964]
603 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
604 __builtin_fma instead of relying on contraction of a * b + c.
605
04f5a636
RM
6062015-02-12 Roland McGrath <roland@hack.frob.com>
607
96a15749
RM
608 * Makeconfig (ASFLAGS): Add -Werror=undef.
609 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
610 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
611 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
612
04f5a636
RM
613 * Makeconfig (after-link): New variable.
614 (+link-pie, +link-pie-tests): Use it.
615 (+link-static, +link-static-tests): Likewise.
616 (+link, +link-tests): Likewise.
617 * Makerules (build-module, build-module-asneeded): Likewise.
618 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
619 Likewise.
620 * elf/Makefile ($(objpfx)ld.so): Likewise.
621
87a629c5
RS
6222015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
623
624 [BZ #17965]
625 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
626 both struct timeval and struct timespec.
627
03d95bd4
JM
6282015-02-12 Joseph Myers <joseph@codesourcery.com>
629
630 [BZ #16560]
631 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
632 and redefine.
633 (__ieee754_exp2l): Do not multiply small fractional parts by
634 M_LN2l.
635 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
636 small argument.
637 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
638 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
639 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
640 * math/auto-libm-test-in: Add more tests of exp2.
641 * math/auto-libm-test-out: Regenerated.
642
98408b95
RS
6432015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
644
645 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
646 unaligned path.
647
6f741503
AZ
6482015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
649
650 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
651 little endian.
652
2868e070
AS
6532015-02-12 Andreas Schwab <schwab@suse.de>
654
655 [BZ #15790]
656 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
657 Filter out elision flags from value returned in kind.
658 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
659 * nptl/tst-pthread-mutexattr.c: New file.
660
ebf27d12
ST
6612015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
662
663 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
664 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
665 into gnu-gnu, and update comment to refer to abi-tags.
666
d435569c
JM
6672015-02-11 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #15467]
670 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
671 (__sincos): Set errno to EDOM for infinite argument.
672 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
673 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
674 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
675 (__sincosl): Set errno to EDOM for infinite argument.
676 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
677 (__sincosl): Set errno to EDOM for infinite argument.
678 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
679 (__sincosl): Set errno to EDOM for infinite argument.
680 * math/libm-test.inc (sincos_test_data): Test errno setting.
681
d35273f2
LH
6822015-02-11 Leonhard Holz <leonhard.holz@web.de>
683
684 * string/strxfrm_l.c: Remove #define STRCMP.
685 * string/strcoll_l.c: Remove #define STRLEN.
686 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
687 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
688
306bc0d1
JM
6892015-02-10 Joseph Myers <joseph@codesourcery.com>
690
691 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
692 * sysdeps/mips/mips32/sfp-machine.h: ... here.
693 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
694 * sysdeps/mips/mips64/Makefile: ... here.
695 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
696 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
697 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
698 * sysdeps/mips/mips64/sfp-machine.h: ... here.
699 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
700 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
701 * sysdeps/mips/mips64/n64/Implies: Likewise.
702
92b67e8d
RM
7032015-02-10 Roland McGrath <roland@hack.frob.com>
704
705 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
706 <sys/time.h>, <string.h>, and <errno.h>.
707 (dest_offset, dest_address, value, zero): Remove unused variables.
708 (ldouble): Remove typedef.
709 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
710 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
711 1). Fix code style.
712 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
713 (check): Function removed.
714 (CHECK): New macro.
715 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
716 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
717 Don't call set_sigaction_FP and remove_sigaction_FP here.
718 (ldouble_test): Just use 'long double' as macro argument, no need for
719 the 'ldouble' typedef.
720 (do_test): Set up SIGFPE handler at start, using plain signal rather
721 than sigaction. Fix code style.
722
132a1328
EF
7232015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
724
725 [BZ #17949]
726 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
727 jump label.
728
3001e54c
AZ
7292015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
730
bc0cdc49
AZ
731 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
732 * sysdeps/powerpc/powerpc32/configure: Regenerated.
733
83658961
AZ
734 * sysdeps/powerpc/configure.ac: Remove file.
735 * sysdeps/powerpc/configure: Likewise.
736
10169938
AZ
737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
738 [sysdep_routines]: Remove wordcopy-power6 object.
739 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
740 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
741 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
742 (__memmove_ppc32): Likewise.
743 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
744 file.
745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
746 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
747 Remove preprocessor.
748
8548a53d
AZ
749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
750 [sysdep_routines]: Remove wide chars objects.
751 [wcsmbs]: New rule for wide char objects.
752
b2692114
AZ
753 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
754 Remove wordcopy-power6 obejct.
755 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
756 Use local call for wordcopy and memcpy symbols.
757 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
758 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
759 implementation for loader.
760 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
761
18e270aa
AZ
762 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
763 Remove wordcopy-power7 object.
764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
765 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
766 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
767 (_wordcopy_fwd_dest_aligned): Likewise.
768 (_wordcopy_bwd_aligned): Likewise.
769 (_wordcopy_bwd_dest_aligned): Likewise.
770
6f0993a6
AZ
771 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
772 Rewrite to call __memmove_ppc instead of include default
773 implementation.
774
3001e54c
AZ
775 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
776 Remove wide chars objects.
777 [wcsmbs]: New rule for wide char objects.
778
59b61c82
AS
7792015-02-09 Andreas Schwab <schwab@suse.de>
780
781 [BZ #17912]
782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
783 in terms of __O_DIRECTORY.
784
ebd7aede
ST
7852015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
786
787 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
788 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
789 call PTR_MANGLE.
790 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
791 PTR_DEMANGLE.
ebd7aede 792
3999d26e
PE
7932015-02-07 Paul Eggert <eggert@cs.ucla.edu>
794
795 Add ersatz _Static_assert on older C hosts
796 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
797 pre-C11 C platform that is not known to support _Static_assert.
798
e9a5bc1c
ST
7992015-02-07 Richard Braun <rbraun@sceen.net>
800
801 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
802 sigstate.
e86c5b64 803 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 804
e2049d17
ST
8052015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
806
807 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
808 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
809 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
810 instead of int.
811 * misc/fchflags.c (fchflags): Likewise.
812 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
813 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
814 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
815 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
816 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
817 Declare macros.
818 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
819 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
820 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
821 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
822 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
823 45.
a9a002fb
ST
824 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
825 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
826 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
827 MACH_RCV_TIMED_OUT.
f96ec27a
ST
828 * hurd/hurd/signal.h (_hurd_self_sigstate,
829 _hurd_critical_section_lock, _hurd_critical_section_unlock):
830 Explicit casts from void *.
4fc81a77 831 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 832 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 833
f05826f0
ST
834 [BZ #4719]
835 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
836 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
837 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
838 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
839 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
840 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
841
a5eb23de
ST
842 [BZ #17944]
843 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
844 duplicates ADDR->sun_path with sockaddr LEN limitation.
845 * sysdeps/mach/hurd/connect.c: Include <string.h>
846 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
847 * sysdeps/mach/hurd/sendmsg.c: Likewise.
848 * sysdeps/mach/hurd/sendto.c: Likewise.
849 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
850 implementing it by hand.
851
ac9e0e5e
RM
8522015-02-06 Roland McGrath <roland@hack.frob.com>
853
f8d1bb4c
RM
854 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
855 Use sfi_breg on ldr.
856 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
857 Likewise.
858
022f4812
RM
859 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
860 it's defined.
861 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
862 Test SIGSETXID only if it's defined.
863
1ac074e6
RM
864 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
865
f50ad78b
RM
866 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
867 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
868
9e7265f4
RM
869 * nptl/tst-align2.c: Moved ...
870 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
871 * nptl/Makefile (tests): Remove tst-align2.
872 * sysdeps/unix/sysv/linux/Makefile
873 [$(subdir) = nptl] (tests): Add tst-align-clone.
874 * nptl/tst-getpid1.c: Moved ...
875 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
876 * nptl/tst-getpid2.c: Moved ...
877 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
878 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
879 * sysdeps/unix/sysv/linux/Makefile
880 [$(subdir) = nptl] (tests): ... here.
881 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
882 * sysdeps/unix/sysv/linux/Makefile
883 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
884
62ad2abc
RM
885 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
886 Drop trailing \n from perror argument. Use return rather than exit.
887
cfa69b0b
RM
888 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
889 on [SA_SIGINFO].
890 * nptl/tst-cancel21.c (do_test): Likewise.
891 * debug/tst-backtrace6.c: Include <signal.h> first thing.
892 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
893 [!SA_SIGINFO]: Make it a stub test.
894
82727806
RM
895 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
896 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
897
da3a1594
RM
898 * posix/tst-getlogin.c: Move to ...
899 * login/tst-getlogin.c: ... here.
900 * posix/Makefile (tests): Move tst-getlogin to ...
901 * login/Makefile (tests): ... here.
902
b65c0ff9
RM
903 * libio/tst-atime.c (do_test): Move local variables SV and E
904 inside [ST_NOATIME] conditional.
905
56606ab3
RM
906 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
907
ebf7d6ee
RM
908 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
909
ca0e0675
RM
910 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
911 (wait_code): New function replaces macro.
912 Call nanosleep rather than syscall.
913
8c28bbc6
RM
914 * nptl/pt-system.c: Rewritten. Put everything under
915 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
916 Use IFUNC to redirect when possible.
917
ec2a88b3
RM
918 * nptl/pt-longjmp.c: Rewritten. Put everything under
919 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
920 Use IFUNC to redirect when possible.
921
beff1d13
RM
922 * nptl/pt-fork.c: Rewritten. Put everything under
923 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
924 Use IFUNC to redirect when possible.
925 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
926
ea02c6b8
RM
927 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
928 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
929 unconditionally nowadays. This included the only reference to
930 __vdso_clock_gettime that appears outside libc proper.
931 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
932 Remove version set (containing only __vdso_clock_gettime).
933 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
934 Add attribute_hidden.
935 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
936 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
937 libc_hidden_data_def.
938 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
939 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
940
a1309c2b
RM
941 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
942 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
943 setrpcent, and getrpcport to ...
944 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
945 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
946 getrpcbynumber_r, and getrpcent_r to ...
947 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
948 * inet/getrpcbyname.c: Moved ...
949 * sunrpc/getrpcbyname.c: ... here.
950 * inet/getrpcbyname_r.c: Moved ...
951 * sunrpc/getrpcbyname_r.c: ... here.
952 * inet/getrpcbynumber.c: Moved ...
953 * sunrpc/getrpcbynumber.c: ... here.
954 * inet/getrpcbynumber_r.c: Moved ...
955 * sunrpc/getrpcbynumber_r.c: ... here.
956 * inet/getrpcent.c: Moved ...
957 * sunrpc/getrpcent.c: ... here.
958 * inet/getrpcent_r.c: Moved ...
959 * sunrpc/getrpcent_r.c: ... here.
960 * inet/Makefile (routines): Move those to ...
961 * sunrpc/Makefile (routines): ... here.
962 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
963 the $(subdirs) list.
964 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
965 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
966 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
967 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
968
ac9e0e5e
RM
969 * elf/Makefile (routines): Include $(all-dl-routines), not just
970 $(dl-routines).
971 (rtld-routines): Likewise. Use = rather than :=.
972 * sysdeps/aarch64/Makefile [$(subdir) = elf]
973 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
974 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
975 * sysdeps/arm/Makefile: Likewise.
976 * sysdeps/i386/Makefile: Likewise.
977 * sysdeps/x86_64/Makefile: Likewise.
978 * sysdeps/hppa/Makefile [$(subdir) = elf]
979 (sysdep_routines, sysdep-rtld-routines): Don't add
980 $(sysdep-dl-routines) to these.
981 * sysdeps/ia64/Makefile: Likewise.
982 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
983 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
984 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
985 Don't add dl-static to these; sysdep-dl-routines alone is enough.
986 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
987 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
988 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
989 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
990 * sysdeps/powerpc/Makefile [$(subdir) = elf]
991 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
992 these; sysdep-dl-routines alone is enough.
993
639e42eb
JM
9942015-02-06 Joseph Myers <joseph@codesourcery.com>
995
1c7a4a51
JM
996 [BZ #17932]
997 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
998 where multiplication results in zero and third argument is finite
999 and nonzero.
1000 * math/auto-libm-test-in: Add more tests of fma.
1001 * math/auto-libm-test-out: Regenerated.
1002
61f006c1
JM
1003 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1004 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1005 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1006 (_FP_CMP_EQ): Likewise.
1007 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1008
639e42eb
JM
1009 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1010 extra argument CHECK_NAN. Redefine as wrapper around
1011 _FP_EXTEND_CNAN.
1012
3c0c543b
CD
10132015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1014
4e42b5b8
CD
1015 * version.h (RELEASE): Set to "stable".
1016 (VERSION): Set to "2.21"
1017 * include/features.h (__GLIBC_MINOR__): Set to 21.
1018
3c0c543b
CD
1019 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1020
5bd80bfe 10212015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1022 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1023
1024 [BZ #16618]
1025 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1026 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1027 size in bytes. Store needed elements in wpmax. Use needed size
1028 in bytes for extend_alloca.
1029
3f823f48
CD
10302015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1031
04cb913d
CD
1032 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1033 binutls 2.25, and texinfo 5.2.
1034 * INSTALL: Regenerate.
1035 * sysdeps/nios2/configure: Regenerate.
1036 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1037 * manual/contrib.texi: Update.
1038 * po/be.po: Update.
1039 * po/bg.po: Update.
1040 * po/ca.po: Update.
1041 * po/cs.po: Update.
1042 * po/da.po: Update.
1043 * po/de.po: Update.
1044 * po/el.po: Update.
1045 * po/eo.po: Update.
1046 * po/es.po: Update.
1047 * po/fi.po: Update.
1048 * po/fr.po: Update.
1049 * po/gl.po: Update.
1050 * po/hr.po: Update.
1051 * po/hu.po: Update.
1052 * po/ia.po: Update.
1053 * po/id.po: Update.
1054 * po/it.po: Update.
1055 * po/ja.po: Update.
1056 * po/ko.po: Update.
1057 * po/lt.po: Update.
1058 * po/nb.po: Update.
1059 * po/nl.po: Update.
1060 * po/pl.po: Update.
1061 * po/pt_BR.po: Update.
1062 * po/ru.po: Update.
1063 * po/rw.po: Update.
1064 * po/sk.po: Update.
1065 * po/sl.po: Update.
1066 * po/sv.po: Update.
1067 * po/tr.po: Update.
1068 * po/uk.po: Update.
1069 * po/vi.po: Update.
1070 * po/zh_CN.po: Update.
1071 * po/zh_TW.po: Update.
1072
3f823f48
CD
1073 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1074 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1075 * sysdeps/hppa/dl-irel.h: Remove #warning.
1076 * sysdeps/hppa/entry.h: Provide prototype for
1077 __canonicalize_funcptr_for_compare and cast argument.
1078 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1079 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1080 * sysdeps/hppa/sotruss-lib.c: New file.
1081 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1082 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1083 (atomic_compare_and_exchange_bool_acq): Likewise.
1084 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1085 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1086
1087 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1088 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1089 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1090
34c56048
CLT
10912015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1092
1093 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1094 called function in non-PIC case.
1095
d4abeca5
DM
10962015-01-31 David S. Miller <davem@davemloft.net>
1097
edac0a60
DM
1098 * sysdeps/sparc/sparc32/bits/atomic.h
1099 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1100 unlock not after it.
1101 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1102 volatile register usage warnings from the compiler.
1103
d4abeca5
DM
1104 * sysdeps/sparc/nptl/sem_init.c: Delete.
1105 * sysdeps/sparc/nptl/sem_post.c: Delete.
1106 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1107 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1108 * sysdeps/sparc/sparc32/sem_init.c: New file.
1109 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1110 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1111 padding explicitly initialized.
1112 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1113 padding for in-semaphore spinlock.
1114 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1115 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1116 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1117 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1118 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1119 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1120 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1121 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1122 version.
1123 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1124 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1125
5f3d0b78
L
11262015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1127
1128 [BZ #17801]
1129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1130 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1131 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1132 New.
1133 (index_AVX_Fast_Unaligned_Load): Likewise.
1134 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1135 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1136 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1137 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1138 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1139 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1140 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1141 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1142 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1143
b658fdd8
AS
11442015-01-29 Andreas Schwab <schwab@suse.de>
1145
1146 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1147
3cb26316
SP
11482015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1149
1150 [BZ #17892]
1151 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1152
527de9e4
MS
11532015-01-28 Martin Sebor <msebor@redhat.com>
1154
1155 * math/README.libm-test: Clarify. Add "How to read the test output."
1156
06991eb8
CM
11572015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1158
1159 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1160 Define to 0.
1161
df341342
JM
11622015-01-28 Joseph Myers <joseph@codesourcery.com>
1163
1164 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1165 (__HAVE_64B_ATOMICS): Define to 0.
1166
08cee2a4
AZ
11672015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1168
d4d0ecb2
AZ
1169 [BZ #17885]
1170 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1171 value to set as new flag.
1172
08cee2a4
AZ
1173 [BZ #16576]
1174 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1175 and use _ARCH_PPCSQ instead.
1176 (__ieee754_sqrt): Likewise.
1177 (__ieee754_sqrtf): Likewise.
1178 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1179 _ARCH_PPCSQ is defined.
1180 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1181 fsqrt instruction.
1182 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1183 _ARCH_PPCSQ is defined.
1184 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1185 fsqrts instruction.
1186 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1187
5fe8e359
AK
11882015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1189
1190 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1191 bug (GCC BZ #64739).
1192
24bb7432
AS
11932015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1194
fa20da31
AS
1195 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1196 Mark _retval as used.
1197 (lll_futex_wake_unlock): Likewise.
1198 (lll_futex_timed_wait_requeue_pi): Likewise.
1199
45819cbc
AS
1200 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1201 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1202 register variables.
1203
403cc231
AS
1204 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1205 libm_hidden_def.
1206
24bb7432
AS
1207 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1208 (__bswap_64): Mark as __always_inline.
1209
9317ea65
B
12102015-01-25 Bram <bug_rh@spam.wizbit.be>
1211
1212 [BZ #15378]
1213 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1214 when none of the search directories exist.
1215
0e87343e
AZ
12162015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1217
bea58013
AZ
1218 [BZ #17869]
1219 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1220 power8 in .machine directive.
1221
0e87343e
AZ
1222 [BZ #17868]
1223 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1224 set dependency from opd value.
1225
ede0236c
L
12262015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1229 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1230 architecture.
ede0236c 1231
22971c35
L
12322015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1233
1234 [BZ #17870]
1235 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1236 with uint64_t.
1237 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1238 (uint64_t) 1.
e0da28a1 1239 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1240 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1241 Replace 1UL with (uint64_t) 1.
1242 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1243 int with uint64_t.
1244
da5bf245
RM
12452015-01-23 Roland McGrath <roland@hack.frob.com>
1246
2ec2d703
RM
1247 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1248 (if_freenameindex): Likewise.
1249
da5bf245
RM
1250 * resource/getrlimit64.c: Add missing libc_hidden_def.
1251
d7423856
JM
12522015-01-22 Joseph Myers <joseph@codesourcery.com>
1253
1254 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1255 __label__.
1256 (_FP_FMA): Likewise.
1257 (_FP_TO_INT_ROUND): Likewise.
1258 (_FP_FROM_INT): Likewise.
1259
6b2ba95b
AZ
12602015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1261
1262 [BZ #16418]
1263 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1264 Make code racy and cancel safe.
1265
ccdb048d
CD
12662015-01-21 Carlos O'Donell <carlos@redhat.com>
1267
191220b3
CD
1268 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1269 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1270 attribution.
1271
0897c551
CD
1272 * pwd/tst-getpw.c: Rewrite.
1273
ccdb048d
CD
1274 [BZ #17702]
1275 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1276 (modules-names): Add moddummy1 and moddummy2.
1277 ($(objpfx)tst-rec-dlopen): Define.
1278 * dlfcn/moddummy1.c: New file.
1279 * dlfcn/moddummy2.c: New file.
1280 * dlfcn/tst-rec-dlopen.c: New file.
1281 * elf/dl-cache.c (_dl_load_cache_lookup):
1282 Return char*. Copy result with alloca/strcpy/strdup.
1283 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1284 returns char*. Free cached. If not saving realname
1285 free cached.
1286 * elf/dl-open.c (dl_open_worker): Do not assert that
1287 _r_debug->r_state is RT_CONSISTENT.
1288 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1289 returns char*.
1290
042e1521
CD
12912015-01-21 Torvald Riegel <triegel@redhat.com>
1292 Carlos O'Donell <carlos@redhat.com>
1293
1294 [BZ #12674]
1295 * nptl/sem_waitcommon.c: New file.
1296 * nptl/sem_wait.c: Include sem_waitcommon.c.
1297 (__sem_wait_cleanup, do_futex_wait): Remove.
1298 (__new_sem_wait): Adapt.
1299 (__new_sem_trywait): New function.
1300 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1301 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1302 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1303 (sem_timedwait): Adapt.
1304 * nptl/sem_post.c (__new_sem_post): Adapt.
1305 (futex_wake): New function.
1306 (__old_sem_post): Add release MO fence.
1307 * nptl/sem_open.c (sem_open): Adapt.
1308 * nptl/sem_init.c (__new_sem_init): Adapt.
1309 (futex_private_if_supported): New function.
1310 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1311 (__old_sem_getvalue): Add using previous code.
1312 * sysdeps/nptl/internaltypes.h: Adapt.
1313 * nptl/tst-sem13.c (do_test): Adapt.
1314 * nptl/tst-sem11.c (main): Adapt.
1315 * nptl/sem_trywait.c: Remove.
1316 * nptl/DESIGN-sem.txt: Remove.
1317 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1318 (gen-as-const-headers): Remove structsem.sym.
1319 * nptl/structsem.sym: Remove.
1320 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1321 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1322 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1323 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1324 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1325 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1326 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1327 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1328 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1329 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1330 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1331 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1332 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1333 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1334 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1335 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1336 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1337 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1338 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1339 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1340 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1341 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1342
fe0e85af
CD
13432015-01-20 Carlos O'Donell <carlos@redhat.com>
1344
a8db092e
CD
1345 * INSTALL: Regenerated.
1346
fe0e85af
CD
1347 * po/libc.pot: Regenerated.
1348
522e6ee3
CLT
13492015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1350 Sandra Loosemore <sandra@codesourcery.com>
1351 Andrew Jenner <andrew@codesourcery.com>
1352 Joseph Myers <joseph@codesourcery.com>
1353 Nathan Sidwell <nathan@codesourcery.com>
1354
1355 * NEWS: Mention new Nios II port.
1356 * sysdeps/nios2/Implies: New file.
1357 * sysdeps/nios2/Makefile: New file.
1358 * sysdeps/nios2/Subdirs: New file.
1359 * sysdeps/nios2/Versions: New file.
1360 * sysdeps/nios2/__longjmp.S: New file.
1361 * sysdeps/nios2/abort-instr.h: New file.
1362 * sysdeps/nios2/backtrace.c: New file.
1363 * sysdeps/nios2/bits/endian.h: New file.
1364 * sysdeps/nios2/bits/fenv.h: New file.
1365 * sysdeps/nios2/bits/link.h: New file.
1366 * sysdeps/nios2/bits/setjmp.h: New file.
1367 * sysdeps/nios2/bsd-_setjmp.S: New file.
1368 * sysdeps/nios2/bsd-setjmp.S: New file.
1369 * sysdeps/nios2/configure: New generated file.
1370 * sysdeps/nios2/configure.ac: New file.
1371 * sysdeps/nios2/crti.S: New file.
1372 * sysdeps/nios2/crtn.S: New file.
1373 * sysdeps/nios2/dl-init.c: New file.
1374 * sysdeps/nios2/dl-machine.h: New file.
1375 * sysdeps/nios2/dl-sysdep.h: New file.
1376 * sysdeps/nios2/dl-tls.h: New file.
1377 * sysdeps/nios2/dl-trampoline.S: New file.
1378 * sysdeps/nios2/gccframe.h: New file.
1379 * sysdeps/nios2/gmp-mparam.h: New file.
1380 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1381 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1382 * sysdeps/nios2/ldsodefs.h: New file.
1383 * sysdeps/nios2/libc-tls.c: New file.
1384 * sysdeps/nios2/libm-test-ulps: New file.
1385 * sysdeps/nios2/machine-gmon.h: New file.
1386 * sysdeps/nios2/math-tests.h: New file.
1387 * sysdeps/nios2/math_private.h: New file.
1388 * sysdeps/nios2/memusage.h: New file.
1389 * sysdeps/nios2/nptl/Makefile: New file.
1390 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1391 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1392 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1393 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1394 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1395 * sysdeps/nios2/nptl/tls.h: New file.
1396 * sysdeps/nios2/preconfigure: New file.
1397 * sysdeps/nios2/s_fma.c: New file.
1398 * sysdeps/nios2/s_fmaf.c: New file.
1399 * sysdeps/nios2/setjmp.S: New file.
1400 * sysdeps/nios2/sfp-machine.h: New file.
1401 * sysdeps/nios2/sotruss-lib.c: New file.
1402 * sysdeps/nios2/stackguard-macros.h: New file.
1403 * sysdeps/nios2/stackinfo.h: New file.
1404 * sysdeps/nios2/start.S: New file.
1405 * sysdeps/nios2/sysdep.h: New file.
1406 * sysdeps/nios2/tls-macros.h: New file.
1407 * sysdeps/nios2/tst-audit.h: New file.
1408 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1409 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1410 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1411 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1412 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1413 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1414 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1415 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1416 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1417 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1418 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1419 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1420 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1421 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1422 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1423 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1424 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1425 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1426 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1427 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1428 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1429 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1430 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1431 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1432 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1433 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1434 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1435 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1436 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1437 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1438 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1439 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1440 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1441 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1442 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1443 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1444 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1445 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1446 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1447 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1448 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1449 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1450 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1451 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1452
026eb207
SL
14532015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1454
1455 [BZ #17844]
1456 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1457 (getutent): Use weak_alias in non SHARED case
1458 and default_symbol_version in SHARED case.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1460 (getutent_r, pututline): Likewise.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1462 (getutid): Likewise.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1464 (getutid_r): Likewise.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1466 (getutline): Likewise.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1468 (getutline_r): Likewise.
1469 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1470 (updwtmp): Likewise.
1471
1d532483
SL
14722015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1473
1474 [BZ #17848]
1475 * sysdeps/s390/s390-32/memcmp.S
1476 (memcmp_g5): Rename to __memcmp_g5.
1477 * sysdeps/s390/s390-32/memcpy.S
1478 (memcpy_g5): Rename to __memcpy_g5.
1479 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1480 (memcpy_mvcle) Rename to __memcpy_mvcle.
1481 * sysdeps/s390/s390-32/memset.S
1482 (memset_g5): Rename to __memset_g5.
1483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1484 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1485 and use prefixed functions.
1486 * sysdeps/s390/s390-32/multiarch/memcmp.S
1487 (memcmp_z196): Rename to __memcmp_z196.
1488 (memcmp_z10): Rename to __memcmp_z10.
1489 (memcmp): Set alias to __memcmp_g5.
1490 (bcmp): Set alias to __memcmp_g5.
1491 * sysdeps/s390/s390-32/multiarch/memcpy.S
1492 (memcpy_z196): Rename to __memcpy_z196.
1493 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1494 (memcpy_z10): Rename to __memcpy_z10.
1495 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1496 (memcpy): Set alias to __memcpy_g5.
1497 * sysdeps/s390/s390-32/multiarch/memset.S
1498 (memset_z196): Rename to __memset_z196.
1499 Jump to __memset_mvcle instead of memset_mvcle.
1500 (memset_z10): Rename to __memset_z10.
1501 Jump to __memset_mvcle instead of memset_mvcle.
1502 (memset_mvcle) Rename to __memset_mvcle.
1503 (memset): Set alias to __memset_g5.
1504 * sysdeps/s390/s390-64/memcmp.S
1505 (memcmp_z900): Rename to __memcmp_z900.
1506 * sysdeps/s390/s390-64/memcpy.S
1507 (memcpy_z900): Rename to __memcpy_z900.
1508 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1509 (memcpy_mvcle) Rename to __memcpy_mvcle.
1510 * sysdeps/s390/s390-64/memset.S
1511 (memset_z900): Rename to __memset_z900.
1512 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1513 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1514 and use prefixed functions.
1515 * sysdeps/s390/s390-64/multiarch/memcmp.S
1516 (memcmp_z196): Rename to __memcmp_z196.
1517 (memcmp_z10): Rename to __memcmp_z10.
1518 (memcmp): Set alias to __memcmp_z900.
1519 (bcmp): Set alias to __memcmp_z900.
1520 * sysdeps/s390/s390-64/multiarch/memcpy.S
1521 (memcpy_z196): Rename to __memcpy_z196.
1522 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1523 (memcpy_z10): Rename to __memcpy_z10.
1524 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1525 (memcpy): Set alias to __memcpy_z900.
1526 * sysdeps/s390/s390-64/multiarch/memset.S
1527 (memset_z196): Rename to __memset_z196.
1528 Jump to __memset_mvcle instead of memset_mvcle.
1529 (memset_z10): Rename to __memset_z10.
1530 Jump to __memset_mvcle instead of memset_mvcle.
1531 (memset_mvcle) Rename to __memset_mvcle.
1532 (memset): Set alias to __memset_z900.
1533
53fbd169
JM
15342015-01-14 Joseph Myers <joseph@codesourcery.com>
1535
1536 [BZ #17748]
1537 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1538 __fesetenv instead of fesetenv.
1539
d639a363
SP
15402015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1541
1542 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1543 macro.
1544
d3b00f46
AZ
15452015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546
ce6615c9
AZ
1547 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1548 regression on LE.
1549
d3b00f46
AZ
1550 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1551 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1552 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1553 strncmp-power8 object.
1554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1555 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1556 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1557 * NEWS: Update.
1558
72607db0
RS
15592015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1560 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1561
1562 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1563 trailing byte check.
1564
54dc5461
DM
15652015-01-13 David S. Miller <davem@davemloft.net>
1566
1567 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1568
1c6e6f23
RM
15692015-01-13 Roland McGrath <roland@hack.frob.com>
1570
1571 * login/logout.c (logout): Use memset rather than bzero.
1572 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1573 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1574 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1575 (_gethtbyaddr): Likewise.
1576 * locale/programs/simple-hash.c (bcopy): Macro removed.
1577
96d6fd6c
AZ
15782015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579
8bedcb5f
AZ
1580 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1581 Add strcmp-power8 object.
1582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1583 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1584 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1585 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1586 __strcmp_power8 implementation.
1587 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1588 * NEWS: Update.
1589
f06a4faf
AZ
1590 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1591 Add strncpy-power8 and stpncpy-power8 objects.
1592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1593 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1594 implementations.
1595 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1596 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1597 __stpncpy_power8 implementation.
1598 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1599 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1600 __strncpy_power8 implementation.
1601 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1602 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1603 * NEWS: Update.
1604
9f2f36e5
AZ
1605 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1606 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1607 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1608
96d6fd6c 1609 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1610 strncat-power8 object.
1611 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1612 __strcat_power8 implementation.
1613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1614 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1615 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1616 optimized strcat for power8.
1617
1618 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1619 strcpy-power8 and stpcpy-power8 objects.
1620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1621 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1622 implementations.
1623 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1624 multiarch stpcpy implementation for POWER8.
1625 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1626 multiarch strcpy implementation for POWER8.
1627 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1628 __strcpy_power8 function.
1629 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1630 stpcpy for POWER8.
1631 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1632 strcpy for POWER8.
1633 * NEWS: Update.
1634
0f9e5854
LH
16352015-01-13 Leonhard Holz <leonhard.holz@web.de>
1636
1637 [BZ #16009]
1638 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1639 weights and rules. Use do_xfrm_cached if data fits in cache,
1640 do_xfrm otherwise. Moved former main loop to...
1641 * (do_xfrm_cached): New function.
1642 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1643 find_idx, find_position and stack_push.
1644 * (find_idx): New function.
1645 * (find_position): Likewise.
1646 * localedata/sort-test.sh: Added test run for do_xfrm.
1647 * localedata/xfrm-test.c (main): Added command line option
1648 -nocache to run the test with strings that are too large for
1649 the STRXFRM cache.
1650
c60ec0e0
TR
16512015-01-13 Torvald Riegel <triegel@redhat.com>
1652
1653 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1654 variable to lll_futex_wake call, not the value itself.
1655
34e93d6c
JM
16562015-01-12 Joseph Myers <joseph@codesourcery.com>
1657
5a9e4c09
JM
1658 [BZ #17803]
1659 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1660 twom64. Adjust value to 0x1p-64L.
1661 (__scalblnl): Only return standard underflowing result for K <=
1662 -64 not K <= -63; adjust exponent for underflowing result by 64
1663 not 63.
1664 * math/libm-test.inc (scalbn_test_data): Add more tests.
1665 (scalbln_test_data): Likewise.
1666
34e93d6c
JM
1667 [BZ #17834]
1668 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1669 0x1p63L.
1670 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1671 not HX.
1672 * math/libm-test.inc (scalbn_test_data): Add more tests.
1673 (scalbln_test_data): Likewise.
1674
ca677d3c
AZ
16752015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676 Stefani Seibold <stefani@seibold.net>
1677
1678 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1679 (sysdep_routines): Add dl-vdso here, ...
1680 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1681 (sysdep_routines): ... not here.
1682 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1683 fallback when vDSO is not presented.
1684 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1685 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1686 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1687 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1688 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1689 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1690 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1691 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1692 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1694 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1695 fallback configurable symbol when vDSO is not available.
1696 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1697 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1698 be able to redefine fallback symbol when vDSO is not available.
1699 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1700 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1701
49a9f6ab 17022015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1703
56cf2763
AZ
1704 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1705 (TLS_INIT_TP): Add tm_capable initialization.
1706 (TLS_DEFINE_INIT_TP): Likewise.
1707 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1708 TCB.
1709 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1710 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1711 calculation.
1712 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1713 transactoion is lock elision is built and TCB tm_capable is set.
1714 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1716 (INTERNAL_SYSCALL_NCS): Likewise.
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1718 (INTERNAL_SYSCALL_NCS): Likewise.
1719 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1720
4b45943a
AZ
1721 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1722 for powerpc.
1723 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1724 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1725 and remove it for 32 bits case.
1726 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1727 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1728 initialization.
1729 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1730 Disable lock elision with rdlocks if elision is not available.
1731
8d2c0a59
AZ
1732 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1733 (sysdep_routines): Add lock elision objects.
1734 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1735 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1736 [pthread_mutex_t] (__elision): Add field.
1737 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1738 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1739 elision definitions for powerpc.
1740 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1741 implementation of lock elision for powerpc.
1742 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1743 implementation of timed lock elision for powerpc.
1744 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1745 implementation of trylock with lock elision for powerpc.
1746 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1747 implementaion of unlock for lock elision for powerpc.
1748 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1749 automatic enable lock elision for mutexes.
1750 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1751 transaction execution definitions for powerpc.
1752 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1753 definitions.
1754 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1755 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1756 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1758 * NEWS: Update.
1759
bc0ed9f7
RM
17602015-01-09 Roland McGrath <roland@hack.frob.com>
1761
1762 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1763 for #include of <shm-directory.h>.
1764
585d9c18
CLT
17652015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1766
1767 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1768 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1769
aee6626c
MF
17702015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1771
1772 [BZ #17791]
1773 * NEWS: Mention bug fix.
1774 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1775 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1776 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1777
9e560f48
TR
17782015-01-09 Torvald Riegel <triegel@redhat.com>
1779
1780 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1781
e1cfbd0c
TR
17822015-01-09 Torvald Riegel <triegel@redhat.com>
1783
1784 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1785
cf71e44f
DH
17862015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1787
1788 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1789 pointer and cast to uintptr_t.
1790
b360ee62
DH
17912015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1792
1793 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1794 removed.
1795 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1796
caff764e
DH
17972015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1798
1799 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1800 of 0.
1801
59ff172f
RM
18022015-01-08 Roland McGrath <roland@hack.frob.com>
1803
c97d27f1
RM
1804 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1805 <nptl/pthreadP.h> instead.
1806 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1807
08734ccd
RM
1808 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1809 already defined.
1810 [__SIGRTMIN] (init): Function removed.
1811 [__SIGRTMIN] (initialized): Variable removed.
1812 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1813 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1814 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1815 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1816 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1817 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1818 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1819 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1820 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1821 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1822 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1823 * sysdeps/nptl/allocrtsig.c: New file.
1824 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1825 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1826 * sysdeps/generic/testrtsig.h: File removed.
1827
7b052e33
RM
1828 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1829 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1830
cc40d25e
RM
1831 * nptl/nptl-init.c (pthread_functions): Conditionalize
1832 .ptr__nptl_setxid initialization on [SIGSETXID].
1833
9287adf0
RM
1834 * sysdeps/nptl/sys/procfs.h: New file.
1835 * nptl_db/Makefile (headers): Add it.
1836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1837
59ff172f
RM
1838 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1839 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1840 * nptl/pthread_attr_setaffinity.c: Include it.
1841 * nptl/pthread_setattr_default_np.c: Likewise.
1842 * nptl/check-cpuset.h: New file.
1843
b9205857
RH
18442015-01-08 Richard Henderson <rth@redhat.com>
1845
1846 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1847 (CFLAGS-tst-execstack-prog.c): Likewise.
1848 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1849
1a0a8d15
CLT
18502015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1851 Sandra Loosemore <sandra@codesourcery.com>
1852 Andrew Jenner <andrew@codesourcery.com>
1853 Joseph Myers <joseph@codesourcery.com>
1854 Nathan Sidwell <nathan@codesourcery.com>
1855
1856 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1857 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1858 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1859 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1860 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1861 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1862 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1863 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1864 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1865 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1866 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1867 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1868 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1869 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1870 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1871 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1872 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1873
dd6e8af6
AZ
18742015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875
1876 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1877 timespec struct member in syscall macro.
1878 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1879 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1880 first timeval struct member in syscall macro.
1881 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1882
8116321f
JM
18832015-01-07 Joseph Myers <joseph@codesourcery.com>
1884
1885 [BZ #17748]
1886 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1887 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1888 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1889 __feupdateenv and define as weak alias of __feupdateenv. Use
1890 libm_hidden_weak.
1891 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1892 libm_hidden_def.
1893 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1894 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1895 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1896 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1897 libm_hidden_def.
1898 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1899 __feupdateenv and define as weak alias of __feupdateenv. Use
1900 libm_hidden_weak.
1901 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1902 libm_hidden_def.
1903 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1904 __feupdateenv and define as weak alias of __feupdateenv. Use
1905 libm_hidden_weak.
1906 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1907 libm_hidden_def.
1908 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1909 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1910 (__feupdateenv): Likewise.
1911 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1912 __feupdateenv and define as weak alias of __feupdateenv. Use
1913 libm_hidden_weak.
1914 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1915 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1916 libm_hidden_def.
1917 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1918 function.
1919 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1920 libm_hidden_def.
1921 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1922 __feupdateenv instead of feupdateenv.
1923 (default_libc_feupdateenv_test): Likewise.
1924 (libc_feresetround_ctx): Likewise.
1925
882dfe18
AZ
19262015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1927
1928 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1929 prototype.
1930
39a12f8d
CM
19312015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1932
1933 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1934 COLL_SYM in a couple of places to avoid uninitialized variable
1935 wanings on tilegx gcc 4.8.2.
1936
dc400d7b
RE
19372015-01-07 Richard Earnshaw <rearnsha@arm.com>
1938
1939 * sysdeps/aarch64/strcpy.S: New file.
1940 * sysdeps/aarch64/stpcpy.S: New file.
1941 * NEWS: Updated.
1942
ec582ca0
RE
19432015-01-07 Richard Earnshaw <rearnsha@arm.com>
1944
1945 * sysdeps/aarch64/strrchr.S: New file.
1946 * NEWS: Updated.
1947
d5b1c5ed
EB
19482015-01-07 Eric Biggers <ebiggers3@gmail.com>
1949
1950 [BZ #17658]
1951 * stdlib/setenv.c: Fix memory leak when setting large,
1952 duplicate string.
1953
fb87ee96
VN
19542015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1955
60f046a8 1956 [BZ #17273]
fb87ee96
VN
1957 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1958 and tabs from buffer before parsing fstab entry.
1959 * misc/tst-mntent.c (main): Add test for mount entry with
1960 trailing spaces and tabs.
1961
cd42798a
JM
19622015-01-06 Joseph Myers <joseph@codesourcery.com>
1963
01238691
JM
1964 [BZ #17748]
1965 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1966 * math/fesetround.c (fesetround): Rename to __fesetround and
1967 define as weak alias of __fesetround. Use libm_hidden_weak.
1968 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1969 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1970 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1971 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1972 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1973 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1974 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1975 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1976 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1977 __fesetround_inline.
1978 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1979 __fesetround_inline instead of __fesetround.
1980 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1981 __fesetround and define as weak alias of __fesetround. Use
1982 libm_hidden_weak. Call __fesetround_inline instead of
1983 __fesetround.
1984 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1985 __fesetround and define as weak alias of __fesetround. Use
1986 libm_hidden_weak.
1987 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1988 Likewise.
1989 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1990 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1991 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1992 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1993 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1994 __fesetround and define as weak alias of __fesetround. Use
1995 libm_hidden_weak.
1996 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1997 __fesetround instead of fesetround.
1998 (default_libc_feholdexcept_setround): Likewise.
1999 (libc_feholdsetround_ctx): Likewise.
2000 (libc_feholdsetround_noex_ctx): Likewise.
2001
cd42798a
JM
2002 [BZ #17748]
2003 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2004 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2005 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2006 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2007 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2008 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2009 define as weak alias of __fesetenv. Use libm_hidden_weak.
2010 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2011 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2012 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2013 define as weak alias of __fesetenv. Use libm_hidden_weak.
2014 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2015 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2016 define as weak alias of __fesetenv. Use libm_hidden_weak.
2017 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2018 libm_hidden_def.
2019 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2020 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2021 Likewise.
2022 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2023 define as weak alias of __fesetenv. Use libm_hidden_weak.
2024 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2025 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2026 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2027 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2028 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2029 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2030 __fesetenv instead of fesetenv.
2031 (libc_feresetround_noex_ctx): Likewise.
2032 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2033 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2034 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2035 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2036 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2037 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2038 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2039 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2040 (__feupdateenv): Likewise.
2041 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2042 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2043 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2044 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2045
38949026
AJ
20462015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2047
1cf98e27 2048 [BZ #17806]
38949026
AJ
2049 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2050 addresses have been freed.
2051
5fe55e9c
AJ
20522015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2053
2054 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2055 and nservall.
2056
dc8ab018
OB
20572015-01-06 Ondřej Bílka <neleai@seznam.cz>
2058
2059 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2060 Clean up check_pf allocation pattern. addresses
2061
14bb4e57
AZ
20622015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2063
2064 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2065 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2066 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2067 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2068 * nptl/pthread_join.c (pthread_join): Likewise.
2069 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2070 * sysdeps/posix/waitid.c (__waitid): Likewise.
2071 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2072 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2073 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2074 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2075 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2076 Likewise.
2077 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2078 (__libc_pread64): Likewise.
2079 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2080 (__libc_pwrite): Likewise.
2081 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2082 (__libc_pwrite64): Likewsie.
2083 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2084 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2085 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2086 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2087 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2088 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2089 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2091 Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2093 (__libc_pread64): Likewise.
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2095 Likewise.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2097 (__libc_pwrite64): Likewise.
2098 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2099 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2100 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2101 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2102 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2103 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2104 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2105 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2106 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2107 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2108 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2109 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2110 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2111 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2112 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2113 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2114 Likewise.
2115
10a5e112
AS
21162015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2117
2118 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2119 (CFLAGS-test-double.c): Likewise.
2120 (CFLAGS-test-ldouble.c): Likewise.
2121 (CPPFLAGS-test-ifloat.c): Likewise.
2122 (CPPFLAGS-test-idouble.c): Likewise.
2123 (CPPFLAGS-test-ildoubl.c): Likewise.
2124 (CFLAGS-test-test-fenv.c): Remove variable.
2125 (CFLAGS-test-misc.c): Likewise.
2126
57ada0e7
L
21272015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2128
2129 [BZ #17797]
2130 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2131 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2132 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2133 CLOCKS_PER_SEC == 1000000.
2134 * time/clocktest.c (main): Replace %ld with %jd and cast to
2135 intmax_t.
2136
46abb64d
RM
21372015-01-05 Roland McGrath <roland@hack.frob.com>
2138
2139 * sysdeps/generic/unwind-resume.h: New file.
2140 * sysdeps/gnu/unwind-resume.c: Include it.
2141 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2142 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2143 argument list.
2144 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2145 global rather than static.
2146 (_Unwind_Resume): Update user.
2147 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2148 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2149 rather than static. Add __attribute__ ((cold)).
2150 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2151 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2152 * sysdeps/arm/arm-unwind-resume.S: New file.
2153 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2154 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2155 * sysdeps/arm/Makefile [$(subdir) = csu]
2156 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2157 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2158 Add rt-arm-unwind-resume.
2159 [$(subdir) = nptl]
2160 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2161 Add pt-arm-unwind-resume.
2162 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2163 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2164
ef9faf13
JM
21652015-01-05 Joseph Myers <joseph@codesourcery.com>
2166
2167 [BZ #17748]
2168 * include/fenv.h (__feholdexcept): Declare. Use
2169 libm_hidden_proto.
2170 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2171 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2172 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2173 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2174 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2175 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2176 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2177 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2178 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2179 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2180 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2181 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2182 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2183 (feholdexcept): Likewise.
2184 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2185 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2186 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2187 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2188 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2189 __feholdexcept instead of feholdexcept.
2190 (default_libc_feholdexcept_setround): Likewise.
2191
295a453e
SE
21922015-01-05 Steve Ellcey <sellcey@imgtec.com>
2193
2194 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2195 to avoid using stl/str to align destination.
2196
882c4b9f
SE
21972015-01-05 Steve Ellcey <sellcey@imgtec.com>
2198
2199 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2200
ac4c11f5
JM
22012015-01-05 Joseph Myers <joseph@codesourcery.com>
2202
2203 [BZ #17796]
2204 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2205 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2206 Define as weak alias not strong alias.
2207
03403e30
SE
22082015-01-05 Steve Ellcey <sellcey@imgtec.com>
2209
2210 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2211 bltzal with addiupc.
2212 (RTLD_START): Ditto.
2213
1dca195e
CM
22142015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2215
00b8b9ba
SP
2216 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2217 for __vdso_* functions in declarations.
2218 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2219 definitions.
2220 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2221 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2222
1dca195e
CM
2223 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2224 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2225 function with cast from llround().
2226 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2227 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2228 Define.
2229
a287953a
JM
22302015-01-05 Joseph Myers <joseph@codesourcery.com>
2231
ab70da77
JM
2232 [BZ #17793]
2233 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2234 Define as weak alias not strong alias.
2235
b8986484
JM
2236 [BZ #17635]
2237 * ctype/ctype-c99.c: New file. isblank implementation moved from
2238 ...
2239 * ctype/ctype-extn.c: ... here.
2240 (__isblank_l): Move to ...
2241 * ctype/ctype-c99_l.c: ... here. New file.
2242 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2243 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2244 Remove variable.
2245 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2246 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2247 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2248 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2249 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2250
a287953a
JM
2251 [BZ #17777]
2252 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2253 (posix_fadvise64): Define as weak alias not strong alias.
2254 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2255 (posix_fallocate64): Likewise.
2256 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2257 Remove variable.
2258 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2259 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2260 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2261 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2262 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2263
b1efe3bb
MF
22642015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2265
2266 [BZ #16191]
2267 * NEWS: Mention bug fix.
2268 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2269 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2270 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2271 (HOST_STACK_END_ADDR): Likewise.
2272
9706dc5f
JM
22732015-01-02 Joseph Myers <joseph@codesourcery.com>
2274
b93c2205
JM
2275 [BZ #17748]
2276 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2277 * math/fegetround.c (fegetround): Rename to __fegetround and
2278 define as weak alias of __fegetround. Use libm_hidden_weak.
2279 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2280 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2281 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2282 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2283 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2284 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2285 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2286 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2287 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2288 Undefine after rather than before function definition; use
2289 parentheses around function name in definition.
2290 (__fegetround): Also undefine macro after function definition.
2291 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2292 __fegetround and define as weak alias of __fegetround. Use
2293 libm_hidden_weak. Do not undefine as macro.
2294 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2295 Likewise.
2296 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2297 __fegetround and define as weak alias of __fegetround. Use
2298 libm_hidden_weak.
2299 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2300 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2301 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2302 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2303 __fegetround and define as weak alias of __fegetround. Use
2304 libm_hidden_weak.
2305 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2306 __fegetround instead of fegetround.
2307
253a59cc
JM
2308 [BZ #17782]
2309 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2310 Condition macro definition on [__USE_MISC].
2311
27dae011
JM
2312 [BZ #17781]
2313 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2314 (struct sigaction): Change type of sa_flags field to int.
2315
172019c0
JM
2316 [BZ #17780]
2317 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2318 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2319 __glibc_reserved0.
2320
522ad1d6
JM
2321 * nptl/version.c (banner): Use single year in copyright notice.
2322
9706dc5f
JM
2323 * NEWS: Update copyright dates.
2324 * catgets/gencat.c (print_version): Likewise.
2325 * csu/version.c (banner): Likewise.
2326 * debug/catchsegv.sh: Likewise.
2327 * debug/pcprofiledump.c (print_version): Likewise.
2328 * debug/xtrace.sh (do_version): Likewise.
2329 * elf/ldconfig.c (print_version): Likewise.
2330 * elf/ldd.bash.in: Likewise.
2331 * elf/pldd.c (print_version): Likewise.
2332 * elf/sotruss.sh: Likewise.
2333 * elf/sprof.c (print_version): Likewise.
2334 * iconv/iconv_prog.c (print_version): Likewise.
2335 * iconv/iconvconfig.c (print_version): Likewise.
2336 * locale/programs/locale.c (print_version): Likewise.
2337 * locale/programs/localedef.c (print_version): Likewise.
2338 * login/programs/pt_chown.c (print_version): Likewise.
2339 * malloc/memusage.sh (do_version): Likewise.
2340 * malloc/memusagestat.c (print_version): Likewise.
2341 * malloc/mtrace.pl: Likewise.
2342 * manual/libc.texinfo: Likewise.
2343 * nptl/version.c (banner): Likewise.
2344 * nscd/nscd.c (print_version): Likewise.
2345 * nss/getent.c (print_version): Likewise.
2346 * nss/makedb.c (print_version): Likewise.
2347 * posix/getconf.c (main): Likewise.
2348 * scripts/test-installation.pl: Likewise.
2349 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2350
b8607aac
WN
23512015-01-02 Will Newton <will.newton@linaro.org>
2352
2353 * sysdeps/arm/armv7/configure: Removed.
2354 * sysdeps/arm/armv7/configure.ac: Likewise.
2355
b168057a
JM
23562015-01-02 Joseph Myers <joseph@codesourcery.com>
2357
2358 * All files with FSF copyright notices: Update copyright dates
2359 using scripts/update-copyrights.
2360 * intl/plural.c: Regenerated.
2361 * locale/programs/charmap-kw.h: Likewise.
2362 * locale/programs/locfile-kw.h: Likewise.
2363
b217c15f
SP
23642015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2365
2366 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2367
73a268c7
JM
23682014-12-31 Joseph Myers <joseph@codesourcery.com>
2369
2370 [BZ #17748]
2371 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2372 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2373 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2374 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2375 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2376 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2377 define as weak alias of __fegetenv. Use libm_hidden_weak.
2378 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2379 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2380 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2381 define as weak alias of __fegetenv. Use libm_hidden_weak.
2382 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2383 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2384 define as weak alias of __fegetenv. Use libm_hidden_weak.
2385 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2386 libm_hidden_def.
2387 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2388 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2389 Likewise.
2390 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2391 define as weak alias of __fegetenv. Use libm_hidden_weak.
2392 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2393 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2394 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2395 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2396 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2397 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2398 __fegetenv instead of fegetenv.
2399 (libc_feholdsetround_noex_ctx): Likewise.
2400
0bd95672
MF
24012014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2402
2403 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2404 (Elf_MIPS_ABIFlags_v0): New structure.
2405 (EF_MIPS_FP64): Define.
2406 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2407 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2408 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2409 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2410 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2411 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2412 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2413 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2414 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2415 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2416 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2417 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2418 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2419 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2420 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2421 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2422 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2423 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2424 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2425 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2426 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2427 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2428 field.
2429 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2430 EF_MIPS_FP64.
2431 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2432 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2433 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2434 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2435 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2436 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2437 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2438 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2439 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2440 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2441 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2442 record the current FP ABI extension.
2443 (mips-mode-switch): Define to show if kernel headers support mode
2444 switching.
2445 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2446 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2447 supported SYSV ABI version to 3.
2448 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2449 feature.
2450
f59ad976
RS
24512014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2452 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2453
2454 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2455 path.
2456 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2457
4a3d3999
JM
24582014-12-31 Joseph Myers <joseph@codesourcery.com>
2459
2460 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2461 __fegetround and redefine to call __fegetround. Remove condition
2462 on [!__NO_MATH_INLINES].
2463 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2464 function.
2465 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2466 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2467 Remove macro.
2468 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2469 instead of <fenv_libc.h>.
2470 (__llrintl): Call fegetround instead of __fegetround.
2471 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2472 instead of <fenv_libc.h>.
2473 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2474 (__lrintl): Call fegetround instead of __fegetround.
2475 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2476 instead of <fenv_libc.h>.
2477 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2478 (__rintl): Call fegetround instead of __fegetround.
2479
195f3afc
SP
24802014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2481
2482 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2483 arrays.
2484
7062bd42
L
24852014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2486
2487 [BZ #17775]
2488 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2489 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2490 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2491
07256e18
AS
24922014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2493
2494 * sysdeps/i386/tls-macros.h: Include <features.h>.
2495 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2496 (TLS_IE): Likewise.
2497 (TLS_LD): Likewise.
2498 (TLS_GD): Likewise.
2499 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2500 define for GCC >= 5.0.
2501
1ff950ad
CM
25022014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2503
2504 * math/test-fenv.c (test_single_exception, set_single_exc,
2505 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2506 feexcp_mask_test, feenable_test, fe_single_test): Add
2507 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2508 case where they are not used.
2509 * math/libm-test.inc: Likewise.
2510 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2511 unused in the absence of FP rounding/exception support.
2512 * stdio-common/tst-printf-round.c: Likewise.
2513 * stdlib/tst-strtod-round.c: Likewise.
2514 * stdlib/tst-strtod-underflow.c: Likewise.
2515
0747f818
JM
25162014-12-30 Joseph Myers <joseph@codesourcery.com>
2517
2518 [BZ #17723]
2519 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2520 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2521 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2522 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2523 libm_hidden_weak.
2524 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2525 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2526 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2527 libm_hidden_def.
2528 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2529 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2530 libm_hidden_weak.
2531 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2532 Likewise.
2533 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2534 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2535 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2536 libm_hidden_weak.
2537 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2538 libm_hidden_def.
2539 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2540 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2541 (__feraiseexcept): Likewise.
2542 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2543 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2544 libm_hidden_weak.
2545 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2546 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2547 libm_hidden_def.
2548 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2549 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2550 Use libm_hidden_def.
2551 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2552 libm_hidden_def.
2553 (feraiseexcept): Define as weak not strong alias. Use
2554 libm_hidden_weak.
2555 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2556 New inline function. Factored out of ...
2557 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2558 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2559 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2560 feraiseexcept.
2561 * math/w_acos.c (__acos): Likewise.
2562 * math/w_asin.c (__asin): Likewise.
2563 * math/w_ilogb.c (__ilogb): Likewise.
2564 * math/w_j0.c (y0): Likewise.
2565 * math/w_j1.c (y1): Likewise.
2566 * math/w_jn.c (yn): Likewise.
2567 * math/w_log.c (__log): Likewise.
2568 * math/w_log10.c (__log10): Likewise.
2569 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2570 * sysdeps/aarch64/fpu/math_private.h
2571 (libc_feupdateenv_test_aarch64): Likewise.
2572 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2573 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2574 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2575 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2576 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2577 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2578 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2579 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2580 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2581 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2582
8d2b2763
L
25832014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 [BZ #17732]
2586 * io/test-utime.c (main): Replace %ld with %jd and cast to
2587 intmax_t.
41fad830 2588 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2589 * nptl/tst-mutex5.c: Include <stdint.h>.
2590 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2591 * posix/tst-regex.c (run_test): Likewise.
2592 (run_test_backwards): Likewise.
5d619de4
L
2593 * rt/tst-clock.c: Include <stdint.h>.
2594 (clock_test): Replace %ld with %jd and cast to intmax_t.
2595 * rt/tst-cpuclock1.c: Include <stdint.h>.
2596 (do_test): Replace %lu with %ju and cast to uintmax_t.
2597 * rt/tst-cpuclock2.c: Include <stdint.h>.
2598 (do_test): Replace %lu with %ju and cast to uintmax_t.
2599 * rt/tst-mqueue1.c: Include <stdint.h>.
2600 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2601 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2602 intmax_t.
2603 * rt/tst-mqueue4.c (do_test): Likewise.
2604 * rt/tst-timer4.c: Include <stdint.h>.
2605 (check_ts): Replace %ld with %jd and cast to intmax_t.
2606 (do_test): Likewise.
ad86fbc3
L
2607 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2608 and cast to intmax_t.
37f46900 2609 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2610 * time/clocktest.c (main): Likewise.
2611 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2612 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2613
8b4416d8
AS
26142014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2615 H.J. Lu <hongjiu.lu@intel.com>
2616
2617 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2618 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2619 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2620 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2621 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2622 version if bit_Fast_Unaligned_Load is set.
2623 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2624 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2625 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2626 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2627 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2628 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2630 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2631 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2632 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2633 to 4.
2634 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2635 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2636 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2637 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2638
e47b8d3b
CM
26392014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2640
6d6d7fde
CM
2641 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2642 instead of #if to avoid a Wundef warning.
2643 * stdlib/tst-limits.c (do_test): Likewise.
2644
cd2c37c9
CM
2645 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2646 parallel other exception macros.
2647 (fegetenv): Convert from macro to extern inline so that it applies
2648 retroactively to inline functions already seen by the compiler.
2649 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2650
e47b8d3b
CM
2651 * posix/Makefile (before-compile): Use $(objpfx) for
2652 posix-conf-vars-def.h.
2653
4a6aca7b
SP
26542014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2655
7910c2ae
SP
2656 * posix/getconf.c (main): Use size_t for type of I.
2657 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2658 NSPEC.
2659
50cbbaa9
SP
2660 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2661 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2662 * posix/posix-envs.def: Likewise.
2663 * sysdeps/posix/sysconf.c: Likewise.
2664 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2665 (specs): Remove array.
2666 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2667 array.
2668
3b566046
SP
2669 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2670 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2671 (__sysconf): Use CONF_IS_* macros.
2672
4a6aca7b
SP
2673 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2674 ($(objpfx)posix-conf-vars-def.h): New target.
2675 * posix/posix-conf-vars.list: New file.
2676 * posix/posix-conf-vars.h: New file.
2677 * posix/confstr.c: Include posix-conf-vars.h.
2678 (confstr): Use CONF_IS_* macros.
2679 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2680 CONF_IS_* macros.
2681 * scripts/gen-posix-conf-vars.awk: New file.
2682
7c1395a7
CM
26832014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2684
0025b4cc
CM
2685 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2686 fegetround): Add no-op macros to avoid linknamespace issues.
2687
d8aaf74b
CM
2688 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2689 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2690
5d24aa60
CM
2691 * sysdeps/unix/sysv/linux/tile/sysdep.h
2692 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2693 assembly-specific section to avoid a redefinition warning.
2694
7c1395a7
CM
2695 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2696 long before casting to pointer to avoid a cast warning.
2697
3c87c616
CM
26982014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2699
2700 * sysdeps/tile/tilegx/Implies: New file.
2701
f559d8cf
RE
27022014-12-23 Richard Earnshaw <rearnsha@arm.com>
2703
2704 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2705
7d81e8d6
FW
27062014-12-23 Florian Weimer <fweimer@redhat.com>
2707
2708 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2709
90aa3d09
JM
27102014-12-22 Joseph Myers <joseph@codesourcery.com>
2711
2712 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2713 not define.
2714 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2715 <kernel-features.h>.
2716 (__utimes) [__NR_utimes]: Make code unconditional.
2717 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2718 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2719 (__ASSUME_UTIMES): Do not undefine.
2720 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2721 (__ASSUME_UTIMES): Likewise.
2722 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2723 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2724 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2725 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2726
4c0c0e2a
SE
27272014-12-22 Steve Ellcey <sellcey@imgtec.com>
2728
2729 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2730
0dacd7a3
CM
27312014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2732
b638f96a
CM
2733 [BZ #17747]
2734 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2735 alias to weak alias for j0l, y0l.
2736 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2737 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2738
0dacd7a3
CM
2739 [BZ #17746]
2740 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2741 conversion.
2742
528479c4
SE
27432014-12-22 Steve Ellcey <sellcey@imgtec.com>
2744
2745 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2746 to zero if not already defined.
2747
f56f9124
JM
27482014-12-22 Joseph Myers <joseph@codesourcery.com>
2749
2750 [BZ #17724]
2751 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2752 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2753 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2754 (char *) casts added.
2755 * sysdeps/ieee754/k_standardf.c: New file.
2756 * sysdeps/ieee754/k_standardl.c: Likewise.
2757 * math/Makefile (libm-support): Remove k_standard.
2758 (libm-calls): Add k_standard.
2759
8622d556
WD
27602014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2761
2762 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2763 Optimize to avoid an unnecessary FPCR read.
2764
f3806bdb
WD
27652014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2766
2767 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2768 Optimize to reduce FPCR/FPSR accesses.
2769
9b47df58
WD
27702014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2771
2772 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2773 Call libc_fetestexcept_aarch64.
2774
97be3cac
WD
27752014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2776
2777 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2778 Call libc_fesetround_aarch64.
2779
935ab817
JM
27802014-12-22 Joseph Myers <joseph@codesourcery.com>
2781
2782 [BZ #17733]
2783 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2784 (__bind): Do not define as weak alias.
2785 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2786 define.
2787 (__getsockname): Do not define as weak alias.
2788
cc8623f1
WN
27892014-12-22 Will Newton <will.newton@linaro.org>
2790
2791 * manual/install.texi: Document that we require bison 2.7
2792 or above.
2793 * INSTALL: Regenerate.
2794 * configure.ac: Use AC_CHECK_PROG_VER instead of
2795 AC_PATH_PROG when checking for bison and check for
2796 version 2.7 or above.
2797 * configure: Regenerate.
2798
a19ca65a
CM
27992014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2800
92901170 2801 [BZ #17745]
e969965a
CM
2802 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2803 * sysdeps/tile/ffsll.c (ffsll): To here.
2804
a19ca65a
CM
2805 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2806
050f7298
L
28072014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2808
2809 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2810 if not defined.
2811 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2812 definition.
2813 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2814 hidden ___tls_get_addr.
2815 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2816 hidden __tls_get_addr.
2817 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2818 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2819 Likewise.
2820
6df5547e
AS
28212014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2822
2823 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2824 _dl_init call.
2825
7432d613
L
28262014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2827
2828 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2829 from "call _dl_init@PLT".
2830 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2831
98fe149e
AK
28322014-12-21 Anders Kaseorg <andersk@mit.edu>
2833
2834 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2835 guarantees.
2836
d12455f5
CM
28372014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2838
2839 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2840
95dee05f
CM
28412014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2842
92901170 2843 [BZ #17744]
95dee05f
CM
2844 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2845 strnlen.
2846
2ef4b74a
SE
28472014-12-19 Steve Ellcey <sellcey@imgtec.com>
2848
2849 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2850 of multu on MIPSr6.
2851 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2852 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2853 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2854 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2855 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2856
28572014-12-19 Steve Ellcey <sellcey@imgtec.com>
2858
2859 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2860 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2861 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2862 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2863 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2864 mips32r6/mips64r6.
2865 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2866
3eb38795
OB
28672014-12-19 Ondřej Bílka <neleai@seznam.cz>
2868
2869 * string/strncat.c (STRNCAT): Simplify implementation.
2870
6d4188dd
DM
28712014-12-19 David S. Miller <davem@davemloft.net>
2872
0d4ba8be
DM
2873 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2874 access the quad as both a long double and as a series of 4 words.
2875
6d4188dd
DM
2876 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2877 link_map->l_info array access.
2878
4ef91cdc
CM
28792014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2880
804c54f7
CM
2881 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2882
4ef91cdc
CM
2883 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2884 * math/atest-exp2.c (TIMEOUT): Likewise.
2885 * math/atest-sincos.c (TIMEOUT): Likewise.
2886
afd176d6
L
28872014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2888
2889 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2890 -Wno-error with -fno-builtin-lround.
2891
a4a43a90
TR
28922014-12-19 Torvald Riegel <triegel@redhat.com>
2893
2894 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2895 Contains futex constants and functions moved over from ...
2896 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2897 <lowlevellock-futex.h>.
2898 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2899 (lll_timedwait_tid): Add comments and parentheses around macro
2900 arguments.
2901
76f71081
TR
29022014-12-19 Torvald Riegel <triegel@redhat.com>
2903
2904 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2905 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2906 (__lll_private_flag): Remove.
2907 (lll_futex_wait): Likewise.
2908 (lll_futex_timed_wait): Likewise.
2909 (lll_futex_wake): Likewise.
2910 (lll_futex_requeue): Likewise.
2911 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2912 (__lll_timedwait_tid): Spell out argument names.
2913 (lll_timedwait_tid): Add comments and parentheses around macro
2914 arguments.
2915 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2916 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2917
6b814909
TR
29182014-12-19 Torvald Riegel <triegel@redhat.com>
2919
2920 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2921 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2922 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2923 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2924 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2925 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2926 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2927 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2928 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2929 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2930 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2931 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2932 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2933 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2934 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2935 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2936 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2937 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2938 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2939
9cd4d4ab
L
29402014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2941
2942 * sysdeps/x86_64/x32/Makefile: New file.
2943
c9c1a2d0
L
29442014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2945
2946 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2947 1L with (mp_limb_t) 1.
2948
af102d95
RM
29492014-12-17 Roland McGrath <roland@hack.frob.com>
2950
dd690454
RM
2951 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2952 * nptl/libc_pthread_init.c: ... here.
2953 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2954 * nptl/register-atfork.c: ... here.
2955
74eb826c
RM
2956 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2957 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2958 Use assert_perror to check its return value.
2959 (__gai_create_helper_thread): Likewise.
2960
c9ce306b
RM
2961 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2962
af102d95
RM
2963 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2964
8ac5a76a
JM
29652014-12-17 Joseph Myers <joseph@codesourcery.com>
2966
ea41469b
JM
2967 [BZ #17725]
2968 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2969 __profil_counter.
2970 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2971 Likewise.
2972 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2973 Likewise.
2974 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2975 Likewise.
2976 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2977 (profil_counter): Likewise.
2978 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2979 (profil_counter): Likewise.
2980 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2981 Likewise.
2982 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2983 Likewise.
2984 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2985 (profil_counter): Likewise.
2986 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2987 Likewise.
2988 [!__profil_counter] (profil_counter): Define as weak alias of
2989 __profil_counter.
2990 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2991 (profil_counter): Rename to __profil_counter.
2992 [!__profil_counter] (profil_counter): Define as weak alias of
2993 __profil_counter.
2994 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2995 (profil_counter): Rename to __profil_counter.
2996 [!__profil_counter] (profil_counter): Define as weak alias of
2997 __profil_counter.
2998 * sysdeps/posix/profil.c: Update comment referring to
2999 profil_counter.
3000 (__profil): Use __profil_counter instead of profil_counter.
3001 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3002 __profil_counter. Use __profil_counter_ushort and
3003 __profil_counter_uint in definitions.
3004 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3005 instead of profil_counter_uint and profil_counter_ushort.
3006
8ac5a76a
JM
3007 [BZ #17722]
3008 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3009 define as weak alias of __inet_makeaddr.
3010 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3011 as weak alias of __inet_addr.
3012 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3013 as weak alias of __inet_pton. Use libc_hidden_weak.
3014 * include/arpa/inet.h (__inet_pton): Declare. Use
3015 libc_hidden_proto.
3016 (inet_makeaddr): Don't use libc_hidden_proto.
3017 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3018 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3019 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3020 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3021 Remove variable.
3022 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3023 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3024
66ce3cb1
SE
30252014-12-17 Steve Ellcey <sellcey@imgtec.com>
3026
3027 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3028
d22ce01b
SL
30292014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3030
3031 * stdio-common/bug-vfprintf-nargs.c (do_test):
3032 Cast value to intptr_t to avoid format warning
3033 for usage with PRIdPTR printing macro.
3034
eca2772b
SL
30352014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3036
3037 * libio/tst-widetext.c (do_test):
3038 Use format type %td instead of %Zd for ptrdiff_t
3039 in order to avoid format warning.
3040
bdf079da
AS
30412014-12-17 Andreas Schwab <schwab@suse.de>
3042
3043 * nscd/mem.c (gc): Add size_t cast to match printf format.
3044
3eb5d2fc
RM
30452014-12-16 Roland McGrath <roland@hack.frob.com>
3046
3047 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3048 (init): Apply PTR_MANGLE to pointers before storing them.
3049 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3050 before using them.
3051
d003ada2
JM
30522014-12-16 Joseph Myers <joseph@codesourcery.com>
3053
380292ba
JM
3054 [BZ #17719]
3055 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3056 define as weak alias of __memrchr.
3057 (__memrchr): Do not define as strong alias of memrchr.
3058 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3059 Remove variable.
3060 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3061 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3062 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3063
9a44d530
JM
3064 [BZ #17717]
3065 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3066 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3067 (if_indextoname): Rename to __if_indextoname and define as weak
3068 alias of __if_indextoname. Use libc_hidden_weak.
3069 (if_freenameindex): Rename to __if_freenameindex and define as
3070 weak alias of __if_freenameindex.
3071 (if_nameindex): Rename to __if_nameindex and define as weak alias
3072 of __if_nameindex.
3073 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3074 __if_nametoindex and define as weak alias of __if_nametoindex.
3075 Use libc_hidden_weak.
3076 (if_freenameindex): Rename to __if_freenameindex and define as
3077 weak alias of __if_freenameindex.
3078 (if_nameindex): Rename to __if_nameindex and define as weak alias
3079 of __if_nameindex.
3080 (if_indextoname): Rename to __if_indextoname and define as weak
3081 alias of __if_indextoname. Use libc_hidden_weak.
3082 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3083 __if_nametoindex and define as weak alias of __if_nametoindex.
3084 Use libc_hidden_weak.
3085 (if_freenameindex): Rename to __if_freenameindex and define as
3086 weak alias of __if_freenameindex. Use libc_hidden_weak.
3087 (if_nameindex_netlink): Use __if_freenameindex instead of
3088 if_freenameindex.
3089 (if_nameindex): Rename to __if_nameindex and define as weak alias
3090 of __if_nameindex. Use libc_hidden_weak.
3091 (if_indextoname): Rename to __if_indextoname and define as weak
3092 alias of __if_indextoname. Use libc_hidden_weak.
3093 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3094 libc_hidden_proto.
3095 [!_ISOMAC] (__if_freenameindex): Likewise.
3096 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3097 if_nametoindex.
3098 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3099 variable.
3100 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3101 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3102 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3103 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3104 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3105 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3106 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3107
d003ada2
JM
3108 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3109 Remove variable.
3110 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3111 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3112
a0d424ef
SP
31132014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3114
0cd85520
SP
3115 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3116 subscript above bounds'
3117
a0d424ef
SP
3118 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3119 bounds.
3120
0e426475
AS
31212014-12-16 Arjun Shankar <arjun.is@lostca.se>
3122
8b460906
AS
3123 * libio/tst-fopenloc.c: Use test-skeleton.c.
3124
fa13e15b
AS
3125 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3126 (entry): Rename to ITEM.
3127 (do_test, comp): Adjust.
3128
0e426475
AS
3129 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3130
4f646bce
TR
31312014-12-16 Torvald Riegel <triegel@redhat.com>
3132
3133 * string/tester.c: Include <libc-internal.h>.
3134 (test_memset): Ignore -Wmemset-transposed-args.
3135
a07c4427
TR
31362014-12-16 Torvald Riegel <triegel@redhat.com>
3137
3138 * misc/tst-mntent2.c (do_test): Fix warning.
3139
1469f466
TR
31402014-12-16 Torvald Riegel <triegel@redhat.com>
3141
3142 * elf/tst-unique4lib.cc(a): Mark as used.
3143
11e3417a
FW
31442014-12-16 Florian Weimer <fweimer@redhat.com>
3145
3146 [BZ #17630]
3147 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3148 names.
3149
ae61fc7b
AM
31502014-12-16 Allan McRae <allan@archlinux.org>
3151
3152 * stdio-common/Makefile (tests): Re-add bug26.
3153
363a9899
OB
31542014-12-15 Ondřej Bílka <neleai@seznam.cz>
3155
3156 [BZ #17657]
3157 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3158 static array.
3159
d52c62df
TR
31602014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3161
3162 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3163 (__lll_lock_wait): Likewise.
3164 (__lll_timedlock_wait): Likewise.
3165 (__lll_timedwait_tid): Likewise.
3166 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3167 (__lll_robust_timedlock_wait): Likewise.
3168 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3169 (lll_cond_trylock): Likewise.
3170 (__lll_lock): Likewise.
3171 (__lll_robust_lock): Likewise.
3172 (__lll_cond_lock): Likewise.
3173 (lll_robust_cond_lock): Likewise.
3174 (__lll_timedlock): Likewise.
3175 (__lll_robust_timedlock): Likewise.
3176 (__lll_unlock): Likewise.
3177 (__lll_robust_unlock): Likewise.
3178 (lll_wait_tid): Likewise.
3179 (lll_timedwait_tid): Likewise.
3180
045a6bcd
TR
31812014-12-15 Torvald Riegel <triegel@redhat.com>
3182
3183 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3184
7f786dc1
TR
31852014-12-15 Torvald Riegel <triegel@redhat.com>
3186
3187 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3188
e7e21cba
AZ
31892014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3190
3191 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3192 * stdio-common/tst-sprintf.c: Likewise.
3193
bc89c0fc
TR
31942014-12-15 Torvald Riegel <triegel@redhat.com>
3195
3196 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3197
a5357b7c
JL
31982014-12-15 Jeff Law <law@redhat.com>
3199
3200 [BZ #16617]
3201 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3202 on the heap. (CVE-2012-3406)
3203 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3204 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3205 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3206
3a12c70f
WN
32072014-12-15 Will Newton <will.newton@linaro.org>
3208
3209 * manual/install.texi: Bump required version of texinfo
3210 to 4.7 from 4.5.
3211 * INSTALL: Regenerated.
3212 * configure.ac: Check for makeinfo version 4.7 and above.
3213 * configure: Regenerated.
3214
e4f639e4
RM
32152014-12-12 Roland McGrath <roland@hack.frob.com>
3216
3217 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3218 PREFIX, string constant to insert between directory and name.
3219 * sysdeps/posix/shm_open.c: Update caller.
3220 * sysdeps/posix/shm_unlink.c: Likewise.
3221 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3222 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3223 (SEM_SHM_PREFIX): New macro.
3224 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3225 [$(have-thread-library) = no].
3226 * nptl/Makefile (libpthread-routines): Add shm-directory.
3227 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3228 * sysdeps/nptl/shm-directory.h: New file.
3229 * sysdeps/posix/shm-directory.c
3230 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3231 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3232 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3233 INTERNAL_SYSCALL.
3234 (__where_is_shmfs): Function removed.
3235 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3236 Variables removed.
3237 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3238 Use SHM_GET_NAME.
3239 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3240
3241 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3242 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3243 unconditional for use inside libpthread.
3244 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3245
439c43f6
RM
32462014-12-12 Roland McGrath <roland@hack.frob.com>
3247
c76d1ff5
RM
3248 * nptl/pthread_getaffinity.c: New file.
3249 * nptl/pthread_setaffinity.c: New file.
3250 * nptl/pthread_getname.c: New file.
3251 * nptl/pthread_setname.c: New file.
3252
439c43f6
RM
3253 * nptl/pthread_create.c (START_THREAD_DEFN)
3254 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3255
48e435cd
SL
32562014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3257 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3258
3259 * resolv/res_send.c (send_vc): Disable warning resplen may
3260 be used uninitialized.
3261
9d9c0019
SL
32622014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3263
3264 * nptl/tst-mutex6.c
3265 (ATTR_NULL): New define checks ATTR against NULL.
3266 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3267 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3268
9173840b
JL
32692014-12-11 James Lemke <jwlemke@codesourcery.com>
3270
3271 [BZ #17581]
3272 * malloc/hooks.c
3273 (mem2mem_check): Revert my previous change.
3274 (malloc_check_get_size): Revert my previous change.
3275 (mem2chunk_check): Revert my previous change.
3276
78e21c5d
RM
32772014-12-11 Roland McGrath <roland@hack.frob.com>
3278
3279 * sysdeps/posix/shm-directory.c: New file.
3280 * sysdeps/posix/shm-directory.h: New file.
3281 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3282 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3283 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3284 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3285 Transmute EPERM to EACCES.
3286 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3287 from ...
3288 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3289 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3290
f82c43af
KK
32912014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3292
3293 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3294 pointer and cast to uintptr_t.
3295 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3296 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3297 Add cast to avoid warning.
3298 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3299
fc00cf7b
JM
33002014-12-11 Joseph Myers <joseph@codesourcery.com>
3301
3302 * nptl/semaphore.h: Move to ...
3303 * sysdeps/pthread/semaphore.h: ... here.
3304 * Makefile (installed-headers): Change nptl/semaphore.h to
3305 sysdeps/pthread/semaphore.h.
3306
1c4053db
RM
33072014-12-11 Roland McGrath <roland@hack.frob.com>
3308
73b0c1a1
RM
3309 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3310 generated error format strings.
3311
1c4053db
RM
3312 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3313 -Wformat-extra-args warnings for scanf formats.
3314 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3315 test of zero-length format (duh).
3316 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3317 corner-case scanf format test.
3318 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3319 generated fprintf format string.
3320 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3321 corner-case sprintf format tests.
3322 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3323 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3324 -Wformat-extra-args warnings throughout.
3325 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3326 (CFLAGS-scanf4.c): Likewise.
3327 (CFLAGS-scanf7.c): Likewise.
3328 (CFLAGS-tst-sprintf.c): Likewise.
3329 (CFLAGS-tst-printf.c): Likewise.
3330 (CFLAGS-tst-printfsz.c): Likewise.
3331
47d51f4f
JM
33322014-12-11 Joseph Myers <joseph@codesourcery.com>
3333
a1edbf3c
JM
3334 * include/cpio.h: New file.
3335 * include/fmtmsg.h: Likewise.
3336
47d51f4f
JM
3337 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3338 corresponding format argument to size_t.
3339 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3340 arguments.
3341 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3342 corresponding format argument to size_t.
3343 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3344 arguments.
3345 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3346 corresponding format argument to size_t.
3347 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3348 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3349 (CFLAGS-tst-mbswcs2.c): Likewise.
3350 (CFLAGS-tst-mbswcs3.c): Likewise.
3351 (CFLAGS-tst-mbswcs4.c): Likewise.
3352 (CFLAGS-tst-mbswcs5.c): Likewise.
3353 (CFLAGS-tst-trans.c): Likewise
3354
e9813cfb
RM
33552014-12-11 Roland McGrath <roland@hack.frob.com>
3356
3357 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3358 rather than assuming they won't contain any '%'s.
3359
f627ca82
CM
33602014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3361
3362 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3363 inhibit_loop_to_libcall to avoid recursive calls.
3364 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3365 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3366
7f296942
AZ
33672014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3368
3369 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3370 prototype.
3371
d0276e18
SE
33722014-12-11 Steve Ellcey <sellcey@imgtec.com>
3373
3374 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3375 integer value instead of boolean.
3376
fc56e970
SE
33772014-12-11 Steve Ellcey <sellcey@imgtec.com>
3378
3379 * malloc/malloc.c: Fix powerof2 check.
3380
40e53917
SL
33812014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3382
3383 * locale/programs/locfile.h (maybe_swap_uint32):
3384 Remove inline and add unused attribute.
3385
1ea166df
SL
33862014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3387
9d9c0019 3388 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3389 Truncating assembler expression to a .long expression.
3390
acf869f4
AS
33912014-12-11 Andreas Schwab <schwab@suse.de>
3392
3393 * elf/rtld.c (struct map_args): Constify str member.
3394 (do_preload): Constify fname argument.
3395
9d969099
AZ
33962014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3397
3398 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3399 constants definition.
3400
da5bcaa4
AS
34012014-12-11 Andreas Schwab <schwab@suse.de>
3402
b0a3c164
AS
3403 [BZ #16657]
3404 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3405 FORCE_ELISION instead of DO_ELISION.
3406 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3407 Remove.
3408 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3409 Likewise.
3410
da5bcaa4
AS
3411 * iconvdata/gconv-modules: Remove duplicate entry.
3412
6d248857
WN
34132014-12-11 Will Newton <will.newton@linaro.org>
3414
3415 Merge gettext 0.19.3 into intl/.
3416
3417 This involves a number of cosmetic changes to comments
3418 and ANSI function definitions and prototypes throughout
3419 all the files. The gettext copyright header is used but
3420 with the date ranges taken from the glibc copy.
3421
3422 * NEWS: Add gettext merge to 2.21.
3423 * intl/bindtextdom.c: Switch to gettext copyright.
3424 Use ANSI definitions and prototypes.
3425 Use gl_* locking primitives rather than __libc_* ones.
3426 Use __builtin_expect rather than __glibc_likely/unlikely.
3427 * intl/dcgettext.c: Switch to gettext copyright.
3428 Use ANSI definitions and prototypes.
3429 * intl/dcigettext.c: Switch to gettext copyright.
3430 Use ANSI definitions and prototypes.
3431 (INTDIV0_RAISES_SIGFPE): New define.
3432 Use gl_* locking primitives rather than __libc_* ones.
3433 Include eval-plural.h instead of plural-eval.c.
3434 Use __builtin_expect rather than __glibc_likely/unlikely.
3435 * intl/dcngettext.c: Switch to gettext copyright.
3436 Use ANSI definitions and prototypes.
3437 * intl/dgettext.c: Likewise.
3438 * intl/dngettext.c: Likewise.
3439 * intl/plural-eval.c: Renamed to...
3440 * intl/eval-plural.h: ...this.
3441 * intl/explodename.c: Switch to gettext copyright.
3442 Use ANSI definitions and prototypes.
3443 (_nl_explode_name): Use strchr instead of __rawmemchr.
3444 * intl/finddomain.c: Switch to gettext copyright.
3445 Use ANSI definitions and prototypes.
3446 Use gl_* locking primitives rather than __libc_* ones.
3447 (_nl_find_domain): Use malloc rather than alloca for
3448 allocation of temporary locale name.
3449 * intl/gettext.c: Switch to gettext copyright.
3450 Use ANSI definitions and prototypes.
3451 * intl/gettextP.h: Switch to gettext copyright.
3452 Use ANSI definitions and prototypes.
3453 Use gl_* locking primitives rather than __libc_* ones.
3454 * intl/gmo.h: Switch to gettext copyright.
3455 (struct sysdep_string): Move struct segment_pair outside of
3456 struct definition.
3457 * intl/hash-string.c: Use ANSI definitions and prototypes.
3458 * intl/hash-string.h: Switch to gettext copyright.
3459 Use ANSI definitions and prototypes.
3460 * intl/l10nflist.c: Switch to gettext copyright.
3461 Use ANSI definitions and prototypes.
3462 (_nl_normalize_codeset): Avoid integer overflow.
3463 * intl/loadinfo.h: Switch to gettext copyright.
3464 Use ANSI definitions and prototypes.
3465 (LIBINTL_DLL_EXPORTED): New define.
3466 (PATH_SEPARATOR): New define.
3467 * intl/loadmsgcat.c: Switch to gettext copyright.
3468 * intl/localealias.c: Switch to gettext copyright.
3469 Use ANSI definitions and prototypes.
3470 (_nl_expand_alias): Use PATH_SEPARATOR.
3471 * intl/ngettext.c: Switch to gettext copyright.
3472 Use ANSI definitions and prototypes.
3473 * intl/plural-exp.c: Likewise.
3474 * intl/plural-exp.h: Switch to gettext copyright.
3475 Use ANSI definitions and prototypes.
3476 (struct expression): Move definition of enum operator outside
3477 of struct definition.
3478 * intl/plural.c: Regenerate.
3479 * intl/plural.y: Switch to gettext copyright.
3480 Use ANSI definitions and prototypes.
3481 Port to bison 3.0.
3482 * intl/textdomain.c: Switch to gettext copyright.
3483 Use ANSI definitions and prototypes.
3484 Use gl_* locking primitives rather than __libc_* ones.
3485
48c43298
SE
34862014-12-10 Steve Ellcey <sellcey@imgtec.com>
3487
3488 * debug/warning-nop.c: Add used atrribute.
3489
2b89bce9
JM
34902014-12-10 Joseph Myers <joseph@codesourcery.com>
3491
c153ac9f
JM
3492 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3493
2b89bce9
JM
3494 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3495 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3496 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3497
2cfbdb9a
JM
34982014-12-10 Joseph Myers <joseph@codesourcery.com>
3499 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3500
3501 [BZ #17634]
3502 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3503 Undefine after defining function. Define as weak alias of
3504 __wcschr. Use libc_hidden_weak.
3505 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3506 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3507 (libc_hidden_def): Also define __GI___wcschr alias.
3508 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3509 __wcschr and define as weak alias of __wcschr.
3510 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3511 __wcschr.
3512 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3513 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3514 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3515 libc_hidden_weak. Do not use libc_hidden_def.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3517 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3518 __GI___wcschr alias.
3519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3520 [IS_IN (libc)] (wcschr): Define as macro expanding to
3521 __redirect_wcschr.
3522 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3523 [IS_IN (libc)] (__wcschr_power6): Likewise.
3524 [IS_IN (libc)] (__wcschr_power7): Likewise.
3525 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3526 instead of wcschr.
3527 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3528 __libc_wcschr.
3529 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3530 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3531 __wcschr and define as weak alias of __wcschr. Use
3532 libc_hidden_builtin_def.
3533 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3534 as weak alias of __wcschr. Use libc_hidden_weak.
3535 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3536 wcschr.
3537 * time/era.c (_nl_init_era_entries): Likewise.
3538 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3539 variable.
3540 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3541 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3542
1b8bf351
JM
35432014-12-10 Joseph Myers <joseph@codesourcery.com>
3544
3545 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3546 format for long int variable.
3547
f5f46d51
AK
35482014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3549
3550 [BZ #10672]
07008f7d 3551 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3552 qsort stable.
3553
217a74a8
AS
35542014-12-10 Andreas Schwab <schwab@suse.de>
3555
3556 [BZ #12847]
3557 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3558 user-controlled locks.
3559
aa76a5c7
RE
35602014-12-10 Richard Earnshaw <rearnsha@arm.com>
3561
3562 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3563 register.
3564
2084e7ca
JM
35652014-12-10 Joseph Myers <joseph@codesourcery.com>
3566
a4ecc9eb
JM
3567 * configure.ac (--disable-werror): New configure option.
3568 (enable_werror): New AC_SUBST.
3569 * configure: Regenerated.
3570 * config.make.in (enable-werror): New variable.
3571 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3572 -Wno-error=undef.
3573 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3574 * manual/install.texi (Configuring and compiling): Document
3575 --disable-werror.
3576 * INSTALL: Regenerated.
3577 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3578 (CFLAGS-tst-chk2.c): Likewise.
3579 (CFLAGS-tst-chk3.c): Likewise.
3580 (CFLAGS-tst-chk4.cc): Likewise.
3581 (CFLAGS-tst-chk5.cc): Likewise.
3582 (CFLAGS-tst-chk6.cc): Likewise.
3583 (CFLAGS-tst-lfschk1.c): Likewise.
3584 (CFLAGS-tst-lfschk2.c): Likewise.
3585 (CFLAGS-tst-lfschk3.c): Likewise.
3586 (CFLAGS-tst-lfschk4.cc): Likewise.
3587 (CFLAGS-tst-lfschk5.cc): Likewise.
3588 (CFLAGS-tst-lfschk6.cc): Likewise.
3589
0f88636c
JM
3590 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3591 (main): Disable -Wdeprecated-declarations around calls to
3592 register_printf_function.
3593
c81e9deb
JM
3594 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3595 (do_test): Disable -Wdiv-by-zero around some calls to
3596 fwrite_unlocked and fread_unlocked.
3597
2084e7ca
JM
3598 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3599 (DIAG_POP_NEEDS_COMMENT): Likewise.
3600 (_DIAG_STR1): Likewise.
3601 (_DIAG_STR): Likewise.
3602 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3603 * stdio-common/bug21.c: Include <libc-internal.h>.
3604 (do_test): Disable -Wformat around call to sscanf.
3605 * stdio-common/scanf14.c: Include <libc-internal.h>.
3606 (main): Disable -Wformat around some calls to scanf functions.
3607
df7ecc6b
TR
36082014-12-09 Torvald Riegel <triegel@redhat.com>
3609
3610 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3611
2aa3862e
AZ
36122014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3613
3614 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3615 stack variable alignment.
3616
c5c2b7c3
JM
36172014-12-06 Joseph Myers <joseph@codesourcery.com>
3618
3619 [BZ #17682]
3620 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3621 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3622 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3623 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3624 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3625 __getrlimit instead of getrlimit.
3626 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3627 __gettimeofday instead of gettimeofday.
3628 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3629 Likewise.
3630 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3631 Likewise.
3632 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3633 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3634 Remove variable.
3635 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3636 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3637
9752c3cd
AZ
36382014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3639
3640 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3641 for wide-character tests.
3642
4bee4cd9
RM
36432014-12-04 Roland McGrath <roland@hack.frob.com>
3644
3645 * io/openat64.c: #include <libc-internal.h>
3646 (__openat64): Prototypify. Use ignore_value on MODE.
3647 * io/openat.c: Likewise.
3648 * misc/reboot.c: #include <libc-internal.h>
3649 (reboot): Prototypify. Use ignore_value on HOWTO.
3650 * misc/ptrace.c: #include <libc-internal.h>
3651 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3652
84dbedb6
JM
36532014-12-04 Joseph Myers <joseph@codesourcery.com>
3654
3655 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3656 XPG4, UNIX98 and XOPEN2K.
3657 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3658 Remove variable.
3659 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3660
b7a3e1c4 36612014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3662
af50dfc1 3663 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3664 * libio/iofopen.c: Likewise.
3665 * libio/wfileops.c: Likewise.
3666
fe8b4d98
SP
3667 [BZ #17653]
3668 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3669 offset on EOF.
3670 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3671 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3672 (fgets_func): Function pointer to fgets and fgetws.
3673 (do_ftell_test): Add test to verify ftell value after read
3674 EOF.
3675 (do_test): Set fgets_func.
3676
61b4f792
SP
3677 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3678 O_TRUNC flag for w and w+ modes.
3679 (do_rewind_test): Likewise.
3680 (do_ftell_test): Likewise.
3681 (do_write_test): Likewise.
3682
be349d70
SP
3683 [BZ #17647]
3684 * libio/fileops.c (do_ftell): Seek only when there are
3685 unflushed writes.
3686 * libio/wfileops.c (do_ftell_wide): Likewise.
3687 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3688 test case.
3689 (do_one_test): Call it.
3690
e3d6dba5
JM
36912014-12-03 Joseph Myers <joseph@codesourcery.com>
3692
3693 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3694 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3695 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3696 Remove variable.
3697 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3698 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3699 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3700
7f994279
JM
37012014-12-02 Joseph Myers <joseph@codesourcery.com>
3702
28a91e8f
JM
3703 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3704 Remove variable.
3705 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3706
7f994279
JM
3707 [BZ #17668]
3708 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3709 as weak alias of __getifaddrs. Use libc_hidden_weak.
3710 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3711 __freeifaddrs. Use libc_hidden_weak.
3712 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3713 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3714 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3715 __freeifaddrs. Use libc_hidden_weak.
3716 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3717 __getifaddrs and define as weak alias of __getifaddrs. Use
3718 libc_hidden_weak.
3719 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3720 __freeifaddrs. Use libc_hidden_weak.
3721 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3722 Remove variable.
3723 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3724 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3725
bbe4c142
PJ
37262014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3727
3728 [BZ #17601]
3729 * sysdeps/mips/start.S (__start): Use indirect jump to call
3730 __libc_start_main.
3731
66cadc05
JM
37322014-12-02 Joseph Myers <joseph@codesourcery.com>
3733
909e16d9
JM
3734 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3735
4e0b9016
JM
3736 * nptl/tst-mutex1.c: Include <stdbool.h>.
3737 [!ATTR] (ATTR_NULL): New macro.
3738 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3739 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3740 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3741
b1aff6a4
JM
3742 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3743 to char *.
3744
266865c0
JM
3745 [BZ #17665]
3746 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3747 Change conditional to [__USE_MISC].
3748
84e5e756
JM
3749 [BZ #17664]
3750 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3751 fgets_unlocked.
3752 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3753 __fgets_unlocked.
3754 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3755 fgets_unlocked.
3756 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3757 Remove variable.
3758 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3759 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3760 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3761 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3762 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3763 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3764 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3765 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3766 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3767
66cadc05
JM
3768 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3769
2e8a2de2 37702014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3771
3772 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3773 Remove strpbrk objects.
3774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3775 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3776 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3777 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3778 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3779 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3780
bb2542e0
AZ
3781 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3782 Remove strcspn objects.
3783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3784 (__libc_ifunc_impl_list): Remove strcspn implementation.
3785 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3786 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3787 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3788 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3789
3790 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3791 Remove strspn objetcs.
3792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3793 (__libc_ifunc_impl_list): Remove strspn implementation.
3794 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3795 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3796 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3797 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3798
08f1e1d2
JL
37992014-12-01 James Lemke <jwlemke@codesourcery.com>
3800
3801 [BZ #17581]
3802 * malloc/hooks.c
3803 (mem2mem_check): Add a terminator to the chain of checking blocks.
3804 (malloc_check_get_size): Use it here.
3805 (mem2chunk_check): Ditto.
3806
a8a7d7d2
RS
38072014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3808
3809 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3810 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3811
97114a38
CD
38122014-11-29 Carlos O'Donell <carlos@redhat.com>
3813
c8dc1727
CD
3814 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3815
6d03458e
CD
3816 * nptl/nptl-init.c: Include libc-internal.h.
3817 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3818
97114a38
CD
3819 * elf/ldconfig.c (search_dir): Expand comment.
3820
0e7e69ba
JM
38212014-11-29 Joseph Myers <joseph@codesourcery.com>
3822
3823 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3824 variable.
3825 (linknamespace-symlist-stdlibs-tests): Likewise.
3826 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3827 instead of $(objpfx)symlist-stdlibs.
3828 (linknamespace-libs-isoc): New variable.
3829 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3830 (linknamespace-libs-ISO): New variable.
3831 (linknamespace-libs-ISO99): Likewise.
3832 (linknamespace-libs-ISO11): Likewise.
3833 (linknamespace-libs-XPG3): Likewise.
3834 (linknamespace-libs-XPG4): Likewise.
3835 (linknamespace-libs-POSIX): Likewise.
3836 (linknamespace-libs-UNIX98): Likewise.
3837 (linknamespace-libs-XOPEN2K): Likewise.
3838 (linknamespace-libs-POSIX2008): Likewise.
3839 (linknamespace-libs-XOPEN2K8): Likewise.
3840 ($(objpfx)symlist-stdlibs): Replace by
3841 $(linknamespace-symlist-stdlibs-tests). Use
3842 $(linknamespace-libs-$*) as set of libraries.
3843 ($(linknamespace-header-tests)): Update dependencies. Use
3844 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3845 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3846 * conform/linknamespace.pl: Remove comment about considering
3847 definitions of symbols from irrelevant libraries.
3848
d8dd0080
L
38492014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3850
3851 [BZ #13862]
3852 * elf/dl-tls.c: Include <atomic.h>.
3853 (oom): Remove #ifdef SHARED/#endif.
3854 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3855 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3856 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3857 big enough.
3858 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3859 * nptl/Makefile (tests): Add tst-stack4.
3860 (modules-names): Add tst-stack4mod.
3861 ($(objpfx)tst-stack4): New.
3862 (tst-stack4mod.sos): Likewise.
3863 ($(objpfx)tst-stack4.out): Likewise.
3864 ($(tst-stack4mod.sos)): Likewise.
3865 (clean): Likewise.
3866 * nptl/tst-stack4.c: New file.
3867 * nptl/tst-stack4mod.c: Likewise.
3868
167da422
B
38692014-11-27 J. Brown <jb999@gmx.de>
3870
3871 * sysdeps/x86/bits/string.h: Add recent CPUs.
3872
9114625b
JM
38732014-11-27 Joseph Myers <joseph@codesourcery.com>
3874
6b5189eb
JM
3875 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3876 sigblock.
3877
49051f8e
JM
3878 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3879 feof.
3880
9114625b
JM
3881 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3882 variable.
3883
e7300fef
SL
38842014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3885
3886 * nscd/connections.c: Include libc-internal.h because of macro
3887 usage ignore_value.
3888
1721f0a4
SP
38892014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3890
3891 * string/bits/string3.h (__warn_memset_zero_len): Don't
3892 declare for gcc newer than 5.0.
3893 (memset): Don't test for zero-length __LEN for gcc newer than
3894 5.0.
3895
be970916
JM
38962014-11-27 Joseph Myers <joseph@codesourcery.com>
3897
d88548f4
JM
3898 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3899 size_t for %zu format.
3900
be970916
JM
3901 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3902 difference, not %ju.
3903
3b20fd5c
JM
39042014-11-26 Joseph Myers <joseph@codesourcery.com>
3905
8915eace
JM
3906 * include/libc-internal.h (ignore_value): New macro.
3907 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3908 with ignore_value.
3909
f1a5a0e3
JM
3910 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3911 definition.
3912
59ef1715
JM
3913 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3914 pthread_cleanup_push to void *.
3915
a6f3079b
JM
3916 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3917 Undefine.
3918
706688aa
JM
3919 [BZ #16619]
3920 [BZ #16740]
3921 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3922 instead of 1L << 52.
3923
12da14a5
JM
3924 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3925 * libio/bug-rewind2.c (do_test): Likewise.
3926
bd5dadac
JM
3927 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3928 * debug/test-strcpy_chk-ifunc.c: Likewise.
3929 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3930 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3931 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3932 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3933 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3934 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3935 * Rules [$(multi-arch) = no] (tests): Do not filter out
3936 $(tests-ifunc).
3937 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3938 * debug/Makefile (tests-ifunc): Remove variable.
3939 (tests): Do not add $(tests-ifunc).
3940 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3941 (tests): Do not add $(tests-ifunc).
3942 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3943 [TEST_IFUNC]: Remove conditionals.
3944 * string/test-string.h (TEST_IFUNC): Remove macro.
3945 [TEST_IFUNC]: Remove conditionals.
3946
3b20fd5c
JM
3947 * string/test-strchr.c [!WIDE] (L): New macro.
3948 [WIDE] (L): Likewise.
3949 (check1): Use CHAR instead of char. Use L on string and character
3950 constants.
3951
704f7947
AZ
39522014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3953
3954 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3955 tests.
3956 * sysdeps/powerpc/bits/atomic.h
3957 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3958 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3959 (atomic_exchange_and_add_acq): Likewise.
3960 (atomic_exchange_and_add_rel): Likewise.
3961 * sysdeps/powerpc/powerpc32/bits/atomic.h
3962 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3963 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3964 * sysdeps/powerpc/powerpc64/bits/atomic.h
3965 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3966 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3967
cdcb42d7
TR
39682014-11-26 Torvald Riegel <triegel@redhat.com>
3969
3970 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3971 Change synchronization of __sched_fifo_min_prio and
3972 __sched_fifo_max_prio.
3973 * nptl/pthread_mutexattr_getprioceiling.c
3974 (pthread_mutexattr_getprioceiling): Likewise.
3975 * nptl/pthread_mutexattr_setprioceiling.c
3976 (pthread_mutexattr_setprioceiling): Likewise.
3977 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3978 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3979 Likewise.
3980
c82f5c0c
JM
39812014-11-26 Joseph Myers <joseph@codesourcery.com>
3982
3983 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3984 void.
3985
439e1ad6
JM
39862014-11-25 Joseph Myers <joseph@codesourcery.com>
3987
3988 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3989 third argument const.
3990
b1eda10e
PE
39912014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3992
3993 fnmatch: work around GCC compiler warning bug with uninit var
3994 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3995 This works around a bug with x86-64 GCC 4.9.2 and earlier
3996 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3997 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3998 used uninitialized in this function [-Wmaybe-uninitialized]".
3999
bde2667a
JM
40002014-11-25 Joseph Myers <joseph@codesourcery.com>
4001
4002 * posix/bug-regex31.c (main): Return RES not 0.
4003
5fbb5691
AB
40042014-11-25 Anton Blanchard <anton@samba.org>
4005
4006 * sysdeps/powerpc/bits/atomic.h
4007 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4008
467fec0b
BM
40092014-11-24 Sterling Augustine <saugustine@google.com>
4010
4011 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4012
e9ff8efb
RC
40132014-11-24 Ryan Cumming <etaoins@gmail.com>
4014
4015 [BZ #17608]
4016 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4017
9744496f
JM
40182014-11-24 Joseph Myers <joseph@codesourcery.com>
4019
4020 [BZ #17633]
4021 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4022 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4023 variable.
4024 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4025 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4026
6423d475
WD
40272014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4028
4029 * string/strncpy.c (strncpy): Improve performance by using memset.
4030
40312014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4032
4033 * string/strcpy.c (strcpy):
4034 Improve performance by using strlen and memcpy.
4035
5d178c37
LH
40362014-11-24 Leonhard Holz <leonhard.holz@web.de>
4037
4038 * string/strcoll_l.c (get_next_seq): __always_inline.
4039 * string/strcoll_l.c (do_compare): __always_inline.
4040
279bc5b3
SP
40412014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4042
7a9ebfa1
SP
4043 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4044 defined.
4045 * include/mqueue.h: Likewise.
4046 * include/stdlib.h: Likewise.
4047
4f41c682
SP
4048 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4049 (get_null_defines): Adjust.
4050 * sunrpc/Makefile: Adjust comment.
4051 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4052 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4053 (CFLAGS-interp.c): Likewise.
4054 (CFLAGS-ldconfig.c): Likewise.
4055 (CPPFLAGS-.os): Likewise.
4056 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4057 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4058 * extra-modules.mk (extra-modules.mk): Likewise.
4059 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4060 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4061 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4062 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4063 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4064 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4065 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4066 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4067 * iconvdata/Makefile (CPPFLAGS): Likewise.
4068 (cpp-srcs-left): Add libof for all iconvdata routines.
4069 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4070 * include/assert.h: Likewise.
4071 * include/ctype.h: Likewise.
4072 * include/errno.h: Likewise.
4073 * include/libc-symbols.h: Likewise.
4074 * include/math.h: Likewise.
4075 * include/netdb.h: Likewise.
4076 * include/resolv.h: Likewise.
4077 * include/stdio.h: Likewise.
4078 * include/stdlib.h: Likewise.
4079 * include/string.h: Likewise.
4080 * include/sys/stat.h: Likewise.
4081 * include/wctype.h: Likewise.
4082 * intl/l10nflist.c: Likewise.
4083 * libidn/idn-stub.c: Likewise.
4084 * libio/libioP.h: Likewise.
4085 * nptl/libc_multiple_threads.c: Likewise.
4086 * nptl/pthreadP.h: Likewise.
4087 * posix/regex_internal.h: Likewise.
4088 * resolv/res_hconf.c: Likewise.
4089 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4090 * sysdeps/arm/memmove.S: Likewise.
4091 * sysdeps/arm/sysdep.h: Likewise.
4092 * sysdeps/generic/_itoa.h: Likewise.
4093 * sysdeps/generic/symbol-hacks.h: Likewise.
4094 * sysdeps/gnu/errlist.awk: Likewise.
4095 * sysdeps/gnu/errlist.c: Likewise.
4096 * sysdeps/i386/i586/memcpy.S: Likewise.
4097 * sysdeps/i386/i586/memset.S: Likewise.
4098 * sysdeps/i386/i686/memcpy.S: Likewise.
4099 * sysdeps/i386/i686/memmove.S: Likewise.
4100 * sysdeps/i386/i686/mempcpy.S: Likewise.
4101 * sysdeps/i386/i686/memset.S: Likewise.
4102 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4103 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4104 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4105 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4106 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4107 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4108 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4109 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4110 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4112 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4113 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4114 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4115 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4116 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4117 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4118 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4119 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4120 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4121 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4122 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4123 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4124 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4125 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4126 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4127 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4128 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4129 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4130 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4131 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4132 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4133 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4135 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4136 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4138 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4139 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4140 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4141 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4142 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4143 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4145 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4146 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4147 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4148 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4149 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4150 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4151 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4152 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4153 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4154 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4155 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4156 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4157 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4158 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4159 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4160 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4161 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4162 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4163 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4164 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4165 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4166 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4167 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4168 * sysdeps/posix/closedir.c: Likewise.
4169 * sysdeps/posix/opendir.c: Likewise.
4170 * sysdeps/posix/readdir.c: Likewise.
4171 * sysdeps/posix/rewinddir.c: Likewise.
4172 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4173 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4174 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4175 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4176 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4177 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4178 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4179 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4180 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4181 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4182 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4183 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4184 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4185 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4186 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4187 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4188 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4189 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4190 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4192 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4193 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4194 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4195 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4196 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4197 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4198 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4199 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4200 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4207 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4208 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4209 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4210 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4211 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4212 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4213 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4214 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4216 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4217 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4218 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4219 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4220 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4221 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4222 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4223 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4224 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4225 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4226 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4227 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4228 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4229 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4230 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4231 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4232 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4233 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4234 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4235 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4236 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4237 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4238 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4239 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4240 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4241 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4242 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4243 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4244 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4245 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4246 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4247 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4248 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4249 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4250 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4251 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4252 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4254 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4255 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4256 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4257 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4258 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4259 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4260 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4261 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4262 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4263 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4264 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4265 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4266 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4267 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4268 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4270 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4271 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4272 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4273 * sysdeps/unix/alpha/sysdep.S: Likewise.
4274 * sysdeps/unix/alpha/sysdep.h: Likewise.
4275 * sysdeps/unix/make-syscalls.sh: Likewise.
4276 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4277 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4278 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4279 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4280 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4281 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4282 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4283 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4284 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4285 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4286 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4287 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4288 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4289 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4290 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4291 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4292 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4293 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4294 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4295 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4296 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4297 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4298 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4299 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4300 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4301 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4302 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4305 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4306 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4308 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4310 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4311 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4312 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4314 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4315 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4316 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4317 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4318 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4319 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4320 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4323 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4324 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4326 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4327 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4328 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4329 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4330 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4331 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4332 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4334 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4335 * sysdeps/x86_64/memcpy.S: Likewise.
4336 * sysdeps/x86_64/memmove.c: Likewise.
4337 * sysdeps/x86_64/memset.S: Likewise.
4338 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4339 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4340 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4341 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4342 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4344 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4345 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4346 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4347 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4348 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4349 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4350 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4351 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4352 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4353 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4354 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4355 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4356 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4357 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4358 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4359 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4360 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4361 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4362 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4363 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4364 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4365 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4366 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4367 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4368 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4369 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4370 * sysdeps/x86_64/strcmp.S: Likewise.
4371
76ca86a5
SP
4372 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4373
a3848485
SP
4374 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4375 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4376 * elf/rtld-Rules: Likewise.
4377 * elf/setup-vdso.h: Likewise.
4378 * include/assert.h: Likewise.
4379 * include/bits/stdlib-float.h: Likewise.
4380 * include/errno.h: Likewise.
4381 * include/sys/stat.h: Likewise.
4382 * include/unistd.h: Likewise.
4383 * sysdeps/aarch64/setjmp.S: Likewise.
4384 * sysdeps/alpha/setjmp.S: Likewise.
4385 * sysdeps/arm/__longjmp.S: Likewise.
4386 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4387 * sysdeps/arm/setjmp.S: Likewise.
4388 * sysdeps/arm/sysdep.h: Likewise.
4389 * sysdeps/generic/_itoa.h: Likewise.
4390 * sysdeps/generic/dl-sysdep.h: Likewise.
4391 * sysdeps/generic/ldsodefs.h: Likewise.
4392 * sysdeps/i386/dl-tls.h: Likewise.
4393 * sysdeps/i386/setjmp.S: Likewise.
4394 * sysdeps/m68k/setjmp.c: Likewise.
4395 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4396 * sysdeps/mach/hurd/opendir.c: Likewise.
4397 * sysdeps/posix/getcwd.c: Likewise.
4398 * sysdeps/posix/opendir.c: Likewise.
4399 * sysdeps/posix/profil.c: Likewise.
4400 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4401 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4402 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4403 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4404 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4405 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4406 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4407 * sysdeps/s390/dl-tls.h: Likewise.
4408 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4409 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4410 * sysdeps/sh/sh3/setjmp.S: Likewise.
4411 * sysdeps/sh/sh4/setjmp.S: Likewise.
4412 * sysdeps/unix/alpha/sysdep.h: Likewise.
4413 * sysdeps/unix/arm/sysdep.S: Likewise.
4414 * sysdeps/unix/i386/sysdep.S: Likewise.
4415 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4416 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4417 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4418 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4419 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4420 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4421 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4422 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4423 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4424 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4425 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4426 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4427 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4430 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4431 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4432 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4433 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4434 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4435 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4438 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4439 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4440 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4442 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4443 * sysdeps/x86_64/setjmp.S: Likewise.
4444
a109996e
SP
4445 * include/math.h: Use IS_IN instead of IS_IN_libm.
4446 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4458 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4466 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4467 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4468 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4469 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4470 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4471 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4473 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4474 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4475 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4476 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4477 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4478 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4480 Likewise.
4481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4482 Likewise.
4483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4484 Likewise.
4485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4486 Likewise.
4487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4488 Likewise.
4489 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4490 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4491 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4492 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4493 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4494 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4500 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4501 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4502 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4503 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4504 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4505 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4506 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4507 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4508 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4509 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4510 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4511 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4512 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4513 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4515 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4516
ce9f10f7
SP
4517 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4518 * nptl/pthreadP.h: Likewise.
4519 * nptl_db/structs.def: Likewise.
4520 * sysdeps/arm/sysdep.h: Likewise.
4521 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4522 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4523 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4524 * sysdeps/unix/alpha/sysdep.h: Likewise.
4525 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4526 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4527 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4528 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4529 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4530 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4531 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4532 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4533 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4534 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4535 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4536 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4537 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4538 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4543 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4546 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4547 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4548 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4549 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4550 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4551
016afc75
SP
4552 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4553 * nptl/pthreadP.h: Likewise.
4554 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4555 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4556 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4557 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4558 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4559 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4560 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4561 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4562 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4563 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4564 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4565 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4567 Likewise.
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4569 Likewise.
4570 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4572 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4575 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4576 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4577 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4578
9b42a0b3
SP
4579 * dlfcn/dladdr.c: Use IS_IN.
4580 * dlfcn/dladdr1.c: Likewise.
4581 * dlfcn/dlclose.c: Likewise.
4582 * dlfcn/dlerror.c: Likewise.
4583 * dlfcn/dlinfo.c: Likewise.
4584 * dlfcn/dlmopen.c: Likewise.
4585 * dlfcn/dlopen.c: Likewise.
4586 * dlfcn/dlsym.c: Likewise.
4587 * dlfcn/dlvsym.c: Likewise.
4588
85f36372
SP
4589 * include/ifaddrs.h: Use IS_IN.
4590 * inet/check_pf.c: Likewise.
4591 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4592 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4593
fb6784e3
SP
4594 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4595 IS_IN_ldconfig.
4596 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4597 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4598
2886d2d1
SP
4599 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4600 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4601 IS_IN (libc).
4602
9a484857
SP
4603 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4604
a10178bd
SP
4605 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4606 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4607 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4608 * include/libc-symbols.h (IS_IN_LIB): New macro.
4609 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4610 * include/netdb.h: Likewise.
4611 * include/stap-probe.h: Remove all uses of IN_LIB.
4612
279bc5b3
SP
4613 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4614 instead of IN_MODULE.
4615 * include/libc-symbols.h (IN_MODULE): Define using
4616 MODULE_NAME.
4617 (PASTE_NAME, PASTE_NAME1): New macros.
4618 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4619 of IN_LIB.
4620 (STAP_PROBE_ASM): Likewise.
4621
e0cfa510
ST
46222014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4623
4624 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4625 __mach_init in dlopened libc.
4626
34d97d87
MF
46272014-11-22 Mike Frysinger <vapier@gentoo.org>
4628
4629 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4630 * sysdeps/arm/preconfigure: Regenerate.
4631
33cd1f74
RM
46322014-11-21 Roland McGrath <roland@hack.frob.com>
4633
4634 * nptl/pthread_create.c (__pthread_create_2_1): Set
4635 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4636 when copying values from IATTR into PD.
4637
8c230039
WN
46382014-11-21 Will Newton <will.newton@linaro.org>
4639 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4640
6d3db89b
AP
4641 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4642 Refactor inline-asm. Also add comment.
4643
01194ba1
WN
4644 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4645 ElfW macro instead of hardcoded Elf64 types.
4646 (la_aarch64_gnu_pltenter): Likewise.
4647 * sysdeps/aarch64/dl-machine.h
4648 (elf_machine_runtime_setup): Use ElfW(Addr).
4649
8c230039
WN
4650 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4651 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4652 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4653 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4654 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4655 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4656 (R_AARCH64_TLS_DTPMOD): This.
4657 (R_AARCH64_TLS_DTPREL64): Rename to ...
4658 (R_AARCH64_TLS_DTPREL): This.
4659 (R_AARCH64_TLS_TPREL64): Rename to ...
4660 (R_AARCH64_TLS_TPREL): This.
4661 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4662 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4663 R_AARCH64_TLS_TPREL64.
4664 (elf_machine_rela): Likewise.
4665
0d79fa53
TR
46662014-11-21 Torvald Riegel <triegel@redhat.com>
4667
4668 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4669 by setting it to 0. 64b atomics are not supported currently.
4670
b59d114b
AO
46712014-11-21 Alexandre Oliva <aoliva@redhat.com>
4672
4673 [BZ #16469]
4674 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4675 search domain names.
4676
f3d945d5
AO
46772014-11-21 Alexandre Oliva <aoliva@redhat.com>
4678
4679 [BZ #16469]
4680 * NEWS: Update.
4681 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4682 trailing dot.
4683 * posix/tst-getaddrinfo5.c: New.
4684 * posix/Makefile (tests): Add it.
4685
49698902
AO
46862014-11-21 Alexandre Oliva <aoliva@redhat.com>
4687
4688 [BZ #14498]
4689 * NEWS: Fixed.
4690 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4691 after parsing line but before break_if_match.
4692 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4693 if there is a protocol mismatch.
4694
81959214
MS
46952014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4696
4697 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4698 because the potential race is on the user-supplied stream.
4699
7729e0e9
AO
47002014-11-21 Alexandre Oliva <aoliva@redhat.com>
4701
4702 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4703 string literal if not passed a buffer.
4704 * manual/job.texi (ctermid): Update reasoning, note deviation
4705 from posix, suggest mtasurace when not passed a buffer, for
4706 future non-preliminary safety notes.
4707
a4ea5e28
AO
47082014-11-21 Alexandre Oliva <aoliva@redhat.com>
4709
4710 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4711 of not passing it a buffer.
4712 Reported by Peng Haitao.
4713
a2b581cb
AO
47142014-11-21 Alexandre Oliva <aoliva@redhat.com>
4715
4716 * manual/Makefile ($(objpfx)stamp-summary): Require
4717 check-safety.sh to pass.
4718 * manual/check-safety.sh: Wish for verification that every
4719 @deftypefn and @deftypefun is followed by a @safety remark.
4720
f214ff74
RM
47212014-11-20 Roland McGrath <roland@hack.frob.com>
4722
7f0dfae0
RM
4723 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4724
2f531bbb
RM
4725 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4726 PTHREAD_CANCEL_ASYNCHRONOUS.
4727 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4728 send SIGCANCEL.
4729
f214ff74
RM
4730 * nptl/default-sched.h: New file.
4731 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4732 * nptl/pthread_create.c: Include it.
4733 (__pthread_create_2_1): Use collect_default_sched instead of making
4734 Linux syscalls here directly.
4735
e37c91d4
TR
47362014-11-20 Torvald Riegel <triegel@redhat.com>
4737
4738 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4739 __pthread_once): Use C11 atomics.
4740
1eccfecd
TR
47412014-11-20 Torvald Riegel <triegel@redhat.com>
4742
4743 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4744
ff871426
TR
47452014-11-20 Torvald Riegel <triegel@redhat.com>
4746
4747 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4748 atomic_thread_fence_acquire, atomic_thread_fence_release,
4749 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4750 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4751 atomic_compare_exchange_weak_relaxed,
4752 atomic_compare_exchange_weak_acquire,
4753 atomic_compare_exchange_weak_release,
4754 atomic_exchange_acquire, atomic_exchange_release,
4755 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4756 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4757 atomic_fetch_and_acquire,
4758 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4759
1ea339b6
TR
47602014-11-20 Torvald Riegel <triegel@redhat.com>
4761
4762 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4763 USE_ATOMIC_COMPILER_BUILTINS): Define.
4764 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4765 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4766 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4767 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4768 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4769 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4770 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4771 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4772 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4773 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4774 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4776 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4777 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4778 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4779 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4780 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4781 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4782 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4783 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4784 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4785 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4786 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4787 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4788 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4789 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4790 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4791 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4792 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4793 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4794 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4795 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4796 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4797 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4798 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4799 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4800 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4801 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4802 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4803 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4804
cbd463e2
RM
48052014-11-19 Roland McGrath <roland@hack.frob.com>
4806
d960211f
RM
4807 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4808 the sched_priority value here. It was already checked when the user
4809 called pthread_attr_setschedparam.
4810
cbd463e2
RM
4811 * nptl/tst-bad-schedattr.c: New file.
4812 * nptl/Makefile (tests): Add it.
4813
a39208bd
CD
48142014-11-19 Carlos O'Donell <carlos@redhat.com>
4815 Florian Weimer <fweimer@redhat.com>
4816 Joseph Myers <joseph@codesourcery.com>
4817 Adam Conrad <adconrad@0c3.net>
4818 Andreas Schwab <schwab@suse.de>
4819 Brooks <bmoses@google.com>
4820
4821 [BZ #17625]
4822 * wordexp-test.c (__dso_handle): Add prototype.
4823 (__register_atfork): Likewise.
4824 (__app_register_atfork): New function.
4825 (registered_forks): New global.
4826 (register_fork): New function.
4827 (test_case): Add 3 new tests for WRDE_CMDSUB.
4828 (main): Call __app_register_atfork.
4829 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4830 fork count is non-zero fail the test.
4831 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4832 is set.
4833 (parse_dollars): Remove check for WRDE_NOCMD.
4834 (parse_dquote): Likewise.
4835
9cd47470
SP
48362014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4837
130ac68c
SP
4838 * Makeconfig (built-modules): List non-library modules to be
4839 built.
4840 (module-cppflags): Include libc-modules.h for
4841 everything except shlib-versions.v.i.
4842 (CPPFLAGS): Use it.
4843 (before-compile): Add libc-modules.h.
4844 ($(common-objpfx)libc-modules.h,
4845 $(common-objpfx)libc-modules.stmp): New targets.
4846 (common-generated): Add libc-modules.h and libc-modules.stmp.
4847 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4848 * include/libc-symbols.h: Don't include libc-modules.h.
4849 * include/libc-modules.h: Remove file.
4850 * scripts/gen-libc-modules.awk: New script to generate
4851 libc-modules.h.
4852 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4853 Depend on libc-modules.stmp.
4854
286663c3
SP
4855 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4856
9cd47470
SP
4857 * Makeconfig (in-module): Get value of libof set for the
4858 translation unit.
4859 (CPPFLAGS): Use $(in-module).
4860 * Makerules: Don't suffix routine names for nonlib.
4861 * include/libc-modules.h: New file.
4862 * include/libc-symbols.h: Include libc-modules.h
4863 (IS_IN): New macro to replace IS_IN_* macros.
4864 * elf/Makefile: Set libof-* for each routine.
4865 * elf/rtld-Rules: Likewise.
4866 * extra-modules.mk: Likewise.
4867 * iconv/Makefile: Likewise.
4868 * iconvdata/Makefile: Likewise.
4869 * locale/Makefile: Likewise.
4870 * malloc/Makefile: Likewise.
4871 * nss/Makefile: Likewise.
4872 * sysdeps/gnu/Makefile: Likewise.
4873 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4874 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4875 * sysdeps/s390/s390-64/Makefile: Likewise.
4876 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4877 CPPFLAGS for nscd instead of nonlib.
4878
32fed10f
RM
48792014-11-18 Roland McGrath <roland@hack.frob.com>
4880
d71035bd
RM
4881 * nptl/createthread.c: New file.
4882
6540b991
RM
4883 * nptl/createthread.c: Moved ...
4884 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4885
32fed10f
RM
4886 * nptl/createthread.c: Add proper top-line comment.
4887 (do_clone): Folded into ...
4888 (create_thread): ... here. Take new arguments STOPPED_START and
4889 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4890 increment __nptl_threads, do event-reporting logic, do
4891 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4892 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4893 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4894 just send SIGCANCEL.
4895 * nptl/pthread_create.c: Forward-declare create_thread before
4896 including createthread.c.
4897 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4898 declaration, and new macro START_THREAD_SELF to replace argument.
4899 Remove return statement.
4900 (report_thread_creation): New function.
4901 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4902 synchronization logic, and __nptl_nthreads increment here, around
4903 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4904 PD->parent_cancelhandling here, before create_thread. When
4905 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4906 __deallocate_stack, and ENOMEM translation here.
4907
107a5bf0
JM
49082014-11-18 Joseph Myers <joseph@codesourcery.com>
4909
4910 [BZ #17616]
4911 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4912 (mptwo): Rename to __mptwo.
4913 (__inv): Use __mptwo instead of mptwo.
4914 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4915 (mptwo): Rename to __mptwo.
4916 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4917 of mpone and __mptwo instead of mptwo.
4918 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4919 instead of mpone.
4920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4921 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4922 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4923 of mpone and __mptwo instead of mptwo.
4924 (__mpranred): Use __mpone instead of mpone.
4925 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4926 variable.
4927 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4928 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4929 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4930 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4931 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4932 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4933 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4934 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4935 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4936 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4937 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4938 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4939 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4940 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4941 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4942 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4943 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4944 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4945 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4946
3b679ab3
TV
49472014-11-18 Tom de Vries <tom@codesoucery.com>
4948
4949 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4950 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4951
49522014-11-17 Richard Henderson <rth@redhat.com>
4953
4954 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4955 (_FP_PACK_RAW_2): Remove.
4956 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4957 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4958 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4959 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4960 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4961 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4962 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4963 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4964 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4965 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4966 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4967 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4968 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4969 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4970 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4971 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4972
0781a777
RM
49732014-11-14 Roland McGrath <roland@hack.frob.com>
4974
4975 * signal/signal.h [__USE_MISC]
4976 (struct sigvec): Remove type.
4977 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4978 (sigvec): Remove declaration.
4979 * sysdeps/posix/sigvec.c: Moved ...
4980 * signal/sigvec.c: ... here, replacing old file.
4981 (struct sigvec): New type, copied from old signal.h definition.
4982 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4983 (__sigvec): Convert definition to prototype.
4984 (sigvec): Replace weak_alias with compat_symbol.
4985 * signal/Versions (libc: GLIBC_2.21): New version set.
4986 * include/signal.h: Remove __sigvec declaration.
4987 * sysdeps/unix/bsd/sigvec.c: Remove file.
4988 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4989 * manual/signal.texi (BSD Handler): Remove subsection.
4990 Move siginterrupt up to ...
4991 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4992 (Blocking in BSD): Fold subsection into its parent.
4993 * NEWS: Mention sigvec removal.
4994
a4733812
JM
49952014-11-14 Joseph Myers <joseph@codesourcery.com>
4996
5ae4fe60
JM
4997 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4998 (DLA_FMS): Make definition conditional only on [__FMA4__].
4999 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5000 definition.
5001
6a0dd472
JM
5002 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5003 Make definition conditional only on [PROF].
5004 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5005 definition.
5006 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5007 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5008
a4733812
JM
5009 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5010 !__GNUC__].
5011 * include/signal.h (__sigpause): Move declaration above call to
5012 libc_hidden_proto.
5013 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5014 variable.
5015 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5016 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5017
cf7246dd
DM
50182014-11-14 David S. Miller <davem@davemloft.net>
5019
5020 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5021 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5022
c1b0aadc
JM
50232014-11-14 Joseph Myers <joseph@codesourcery.com>
5024
4863355a
JM
5025 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5026 * configure: Regenerated.
5027 * manual/install.texi (Tools for Compilation): Document a
5028 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5029 compiler verified to work.
5030 * INSTALL: Regenerated.
5031
c1b0aadc
JM
5032 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5033 redeclare with asm name.
5034 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5035 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5036 including <string.h>.
5037 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5038 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5039 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5041 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5042 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5043 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5044
2a1cfd94
JM
50452014-11-13 Joseph Myers <joseph@codesourcery.com>
5046
bf438382
JM
5047 * stdlib/strtol.c (__strtol): Use prototype definition.
5048
2a1cfd94
JM
5049 [BZ #17594]
5050 * stdlib/strtol.c (SYM__): New macro.
5051 (SYM__1): Likewise.
5052 (__strtol): Likewise.
5053 (strtol): Rename to __strtol and define as weak alias of
5054 __strtol. Use libc_hidden_weak.
5055
20ed0d26
SL
50562014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5057
5058 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5059 Use numbered labels in inline assembly.
5060
53244a4e
SL
50612014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5062
5063 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5064 Add setjmp LIBC_PROBE.
5065 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5066 Likewise.
5067 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5068 Add longjmp, longjmp_target LIBC_PROBE.
5069 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5070 Likewise.
5071
47df8251
SL
50722014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5073
5074 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5075 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5076 to get rid of unused variable warning.
5077
618cebef
SL
50782014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5079
5080 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5081 Check for unwind_backtrace == NULL only in SHARED case.
5082 (__backchain_backtrace): Compile only in SHARED case.
5083 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5084 Likewise.
5085 (__backchain_backtrace): Declare as static.
5086
c6aab2cb
RM
50872014-11-12 Roland McGrath <roland@hack.frob.com>
5088
5089 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5090 (__libc_multiple_threads_ptr): Variable moved ...
5091 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5092
5a6fa4d7
JM
50932014-11-12 Joseph Myers <joseph@codesourcery.com>
5094
24f4f825
JM
5095 * conform/GlibcConform.pm: New file.
5096 * conform/conformtest.pl: Use GlibcConform module.
5097 * conform/linknamespace.pl: New file.
5098 * conform/list-header-symbols.pl: Likewise.
5099 * conform/Makefile (linknamespace-symlists-base): New variable.
5100 (linknamespace-symlists-tests): Likewise.
5101 (linknamespace-header-base): Likewise.
5102 (linknamespace-header-tests): Likewise.
5103 (tests-special): Add new tests.
5104 ($(linknamespace-symlists-tests)): New rule.
5105 (linknamespace-libs): New variable.
5106 ($(objpfx)symlist-stdlibs): New rule.
5107 ($(linknamespace-header-tests)): Likewise.
5108 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5109 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5110 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5111 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5112 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5113 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5114 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5115 (test-xfail-ISO/math.h/linknamespace): Likewise.
5116 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5117 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5118 (test-xfail-ISO/time.h/linknamespace): Likewise.
5119 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5120 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5121 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5122 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5123 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5124 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5125 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5126 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5127 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5128 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5129 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5130 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5131 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5132 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5133 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5134 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5135 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5136 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5137 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5138 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5139 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5140 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5141 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5142 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5143 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5144 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5145 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5146 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5147 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5148 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5149 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5150 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5151 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5152 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5153 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5154 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5155 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5156 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5157 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5158 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5159 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5160 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5161 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5162 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5163 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5164 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5165 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5166 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5167 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5168 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5169 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5170 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5171 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5172 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5173 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5174 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5175 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5176 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5177 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5178 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5179 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5180 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5181 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5182 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5183 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5184 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5185 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5186 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5187 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5188 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5189 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5190 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5191 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5192 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5193 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5194 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5195 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5196 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5197 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5198 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5199 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5200 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5201 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5202 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5203 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5204 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5205 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5206 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5207 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5208 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5209 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5210 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5211 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5212 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5213 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5214 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5215 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5216 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5217 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5218 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5219 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5220 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5221 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5222 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5223 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5224 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5225 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5226 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5227 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5228 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5229 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5230 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5231 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5232 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5233 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5234 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5235 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5236 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5237 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5238 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5239 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5240 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5241 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5242 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5243 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5244 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5245 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5246 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5247 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5248 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5249 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5250 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5251 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5252 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5253 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5254 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5255 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5256 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5257 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5258 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5259 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5260 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5261 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5262 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5263 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5264 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5265 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5266 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5267 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5268 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5269
cc67478e
JM
5270 [BZ #17589]
5271 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5272 of fgets_unlocked.
5273
9975e3d3
JM
5274 [BZ #17585]
5275 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5276 (memmem): Rename to __memmem and define as weak alias of
5277 __memmem. Use libc_hidden_weak.
5278 (__memmem): Use libc_hidden_def.
5279 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5280 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5281 memmem.
5282
c4eae752
JM
5283 [BZ #17582]
5284 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5285 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5286 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5287 and define as weak alias of __fgets_unlocked. Use
5288 libc_hidden_weak.
5289 (__fgets_unlocked): Use libc_hidden_def.
5290 * include/stdio.h (__fgets_unlocked): Declare. Use
5291 libc_hidden_proto.
5292 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5293 __fgets_unlocked instead of fgets_unlocked.
5294 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5295 (GET_NPROCS_CONF_PARSER): Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5297 (GET_NPROCS_CONF_PARSER): Likewise.
5298
01cad84e
JM
5299 [BZ #17574]
5300 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5301 weak alias of __wmemset. Use libc_hidden_weak.
5302 (__wmemset): Use libc_hidden_def.
5303 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5304 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5305 of wmemset.
5306
939da411
JM
5307 [BZ #17573]
5308 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5309 with asm name __mempcpy.
5310 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5311
293d9a41
JM
5312 [BZ #17572]
5313 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5314 and define as weak alias of __rawmemchr.
5315 (__rawmemchr): Do not define as strong alias of rawmemchr.
5316
bef8fd60
JM
5317 [BZ #17571]
5318 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5319 alias of __qsort_r.
5320 (qsort): Call __qsort_r instead of qsort_r.
5321 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5322 (__qsort_r): Declare. Call libc_hidden_proto.
5323 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5324 instead of qsort_r.
5325 * nscd/gai.c (__qsort_r): Define to qsort_r.
5326 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5327 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5328 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5329
c52ff39e
JM
5330 [BZ #17570]
5331 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5332 define as weak alias of __malloc_info.
5333
2f5c1b00
JM
5334 [BZ #17584]
5335 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5336 as weak alias of __rewinddir. Don't use libc_hidden_def.
5337 (__rewinddir): Use libc_hidden_def.
5338 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5339 as weak alias of __rewinddir. Don't use libc_hidden_def.
5340 (__rewinddir): Use libc_hidden_def.
5341 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5342 weak alias of __rewinddir. Don't use libc_hidden_def.
5343 (__rewinddir): Use libc_hidden_def.
5344 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5345 (__rewinddir): Use libc_hidden_proto.
5346 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5347 rewinddir.
5348 (__getcwd): Use __rewinddir instead of rewinddir.
5349
5a6fa4d7
JM
5350 [BZ #17583]
5351 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5352 alias of __fileno. Use libc_hidden_weak.
5353 (__fileno): Use libc_hidden_def.
5354 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5355 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5356 alias of __ftello.
5357 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5358 __ftello.
5359 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5360 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5361 libc_hidden_def.
5362 (fread_unlocked): Don't use libc_hidden_ver.
5363 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5364 and define as weak alias of __fread_unlocked. Don't use
5365 libc_hidden_def.
5366 (__fread_unlocked): Use libc_hidden_def.
5367 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5368 (ftello): Don't use libc_hidden_proto.
5369 (__ftello): Declare. Use libc_hidden_proto.
5370 (fread_unlocked): Don't use libc_hidden_proto.
5371 (__fread_unlocked): Declare. Use libc_hidden_proto.
5372 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5373 and __ftello instead of fileno, fread_unlocked and ftello.
5374
2581b98e
SP
53752012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5376
5377 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5378 GOT12.
5379 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5380 Likewise.
5381 (_dl_start_user): Likewise.
5382 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5383
533bb7c2
SP
53842014-11-12 Carlos O'Donell <carlos@redhat.com>
5385 Siddhesh Poyarekar <siddhesh@redhat.com>
5386
5387 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5388 Move argv and envp down instead of moving argc up.
5389 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5390
fffa1cf8
LH
53912014-11-12 Leonhard Holz <leonhard.holz@web.de>
5392
5393 [BZ #17506]
5394 * test-skeleton.c (main): Return successful if one of
5395 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5396 * string/tst-strcoll-overflow.c: Define expected status.
5397
fb89b46d
TU
53982014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5399
5400 [BZ #17475]
5401 * locale/iso-639.def: Define Bhili and Tulu language codes.
5402
5c40c3ba
AH
54032014-11-11 Alan Hayward <alan.hayward@arm.com>
5404
5405 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5406
b17fe01b 54072014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5408
5409 [BZ #17555]
5410 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5411
bd805071
AS
54122014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5413
5414 * configure.ac: Updated check of minimal required version to
5415 2.22.
5416 * manual/install.texi (Tools for Compilation): Updated version
5417 number.
5418 * configure: Regenerated.
5419 * INSTALL: Likewise.
5420
1400983e
AS
54212014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5422
5423 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5424 __tls_get_addr.
5425
2c46a66a
JM
54262014-11-07 Joseph Myers <joseph@codesourcery.com>
5427
5428 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5429 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5430 (__waitpid): Don't define as alias. Use libc_hidden_def not
5431 libc_hidden_weak.
5432 (waitpid): Define as alias of __waitpid.
5433 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5434 __waitpid.
5435 (__waitpid): Don't define as alias. Use libc_hidden_def not
5436 libc_hidden_weak.
5437 (waitpid): Define as alias of __waitpid.
5438 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5439 __libc_waitpid alias.
5440 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5441 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5442 Likewise.
5443 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5444 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5445 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5446 alias.
5447 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5448 __waitpid.
5449 (__waitpid): Don't define as alias. Use libc_hidden_def not
5450 libc_hidden_weak.
5451 (waitpid): Define as alias of __waitpid.
5452
da53d6db
CD
54532014-11-06 Carlos O'Donell <carlos@redhat.com>
5454
a2887bdb
CD
5455 * manual/llio.texi: Add comment that write safety has been
5456 fixed in Linux.
5457
da53d6db
CD
5458 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5459 (localplt-build-dso): Add elf/ld.so.
5460 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5461 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5462 and free for ld.so.
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5464 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5466 Likewise.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5468 Likewise.
5469 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5470 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5471 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5472 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5473 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5474 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5475 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5476 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5477 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5478 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5480
9cf27b8d
JM
54812014-11-05 Joseph Myers <joseph@codesourcery.com>
5482
5483 [BZ #14132]
5484 * include/libc-symbols.h (INTUSE): Remove macro.
5485 (INTDEF): Likewise.
5486 (INTVARDEF): Likewise.
5487 (_INTVARDEF): Likewise.
5488 (INTDEF2): Likewise.
5489 (INTVARDEF2): Likewise.
5490 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5491 rtld_hidden_def instead of INTVARDEF.
5492 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5493 (_dl_starting_up_internal): Remove declaration.
5494 (_dl_starting_up): Use rtld_hidden_proto.
5495 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5496 declaration.
5497 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5498 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5499 _dl_starting_up.
5500 * elf/dl-writev.h (_dl_writev): Likewise.
5501 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5502 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5503 _dl_starting_up_internal.
5504
af83568d
AZ
55052014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5506
5507 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5508 test-skeleton.c.
5509
b01ee67c
WN
55102014-11-05 Will Newton <will.newton@linaro.org>
5511
5512 * benchtests/Makefile: (bench-malloc): Add malloc thread
5513 scalability benchmark.
5514 * benchtests/bench-malloc-threads.c: New file.
5515
be9d4ccc
RE
55162014-11-05 Richard Earnshaw <rearnsha@arm.com>
5517
5518 * sysdeps/aarch64/strchrnul.S: New file.
5519
7110166d
AZ
55202014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521
5522 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5523 definition.
5524 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5525 Likwise.
5526 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5527 Likewise.
5528 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5529 Likewise.
5530 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5531 Likewise.
5532 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5533 Likewise.
5534
55352014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5536
5537 * catgets/test-gencat.c: Use test-skeleton.c.
5538 * catgets/tst-catgets.c: Likewise.
5539 * csu/tst-empty.c: Likewise.
5540 * elf/tst-audit2.c: Likewise.
5541 * elf/tst-global1.c: Likewise.
5542 * elf/tst-pathopt.c: Likewise.
5543 * elf/tst-piemod1.c: Likewise.
5544 * elf/tst-tls10.c: Likewise.
5545 * elf/tst-tls11.c: Likewise.
5546 * elf/tst-tls12.c: Likewise.
5547 * gnulib/tst-gcc.c: Likewise.
5548 * iconvdata/tst-e2big.c: Likewise.
5549 * iconvdata/tst-loading.c: Likewise.
5550 * iconv/tst-iconv1.c: Likewise.
5551 * iconv/tst-iconv2.c: Likewise.
5552 * inet/test-inet6_opt.c: Likewise.
5553 * inet/tst-gethnm.c: Likewise.
5554 * inet/tst-network.c: Likewise.
5555 * inet/tst-ntoa.c: Likewise.
5556 * intl/tst-codeset.c: Likewise.
5557 * intl/tst-gettext2.c: Likewise.
5558 * intl/tst-gettext3.c: Likewise.
5559 * intl/tst-ngettext.c: Likewise.
5560 * intl/tst-translit.c: Likewise.
5561 * io/test-stat.c: Likewise.
5562 * libio/test-fmemopen.c: Likewise.
5563 * libio/tst-freopen.c: Likewise.
5564 * libio/tst-sscanf.c: Likewise.
5565 * libio/tst-ungetwc1.c: Likewise.
5566 * libio/tst-ungetwc2.c: Likewise.
5567 * libio/tst-widetext.c: Likewise.
5568 * localedata/tst-ctype.c: Likewise.
5569 * localedata/tst-digits.c: Likewise.
5570 * localedata/tst-leaks.c: Likewise.
5571 * localedata/tst-mbswcs1.c: Likewise.
5572 * localedata/tst-mbswcs2.c: Likewise.
5573 * localedata/tst-mbswcs3.c: Likewise.
5574 * localedata/tst-mbswcs4.c: Likewise.
5575 * localedata/tst-mbswcs5.c: Likewise.
5576 * localedata/tst-setlocale.c: Likewise.
5577 * localedata/tst-trans.c: Likewise.
5578 * localedata/tst-wctype.c: Likewise.
5579 * localedata/tst-xlocale1.c: Likewise.
5580 * login/tst-grantpt.c: Likewise.
5581 * malloc/tst-calloc.c: Likewise.
5582 * malloc/tst-malloc.c: Likewise.
5583 * malloc/tst-mallocstate.c: Likewise.
5584 * malloc/tst-mcheck.c: Likewise.
5585 * malloc/tst-mtrace.c: Likewise.
5586 * malloc/tst-obstack.c: Likewise.
5587 * math/atest-exp2.c: Likewise.
5588 * math/atest-exp.c: Likewise.
5589 * math/atest-sincos.c: Likewise.
5590 * math/test-matherr.c: Likewise.
5591 * math/test-misc.c: Likewise.
5592 * math/test-powl.c: Likewise.
5593 * math/tst-definitions.c: Likewise.
5594 * misc/tst-dirname.c: Likewise.
5595 * misc/tst-efgcvt.c: Likewise.
5596 * misc/tst-fdset.c: Likewise.
5597 * misc/tst-hsearch.c: Likewise.
5598 * misc/tst-mntent2.c: Likewise.
5599 * nptl/tst-sem7.c: Likewise.
5600 * nptl/tst-sem8.c: Likewise.
5601 * nptl/tst-sem9.c: Likewise.
5602 * nss/test-netdb.c: Likewise.
5603 * posix/tst-fnmatch.c: Likewise.
5604 * posix/tst-getlogin.c: Likewise.
5605 * posix/tst-gnuglob.c: Likewise.
5606 * posix/tst-mmap.c: Likewise.
5607 * pwd/tst-getpw.c: Likewise.
5608 * resolv/tst-inet_ntop.c: Likewise.
5609 * rt/tst-timer.c: Likewise.
5610 * stdio-common/test-fseek.c: Likewise.
5611 * stdio-common/test-popen.c: Likewise.
5612 * stdio-common/test-vfprintf.c: Likewise.
5613 * stdio-common/tst-cookie.c: Likewise.
5614 * stdio-common/tst-fileno.c: Likewise.
5615 * stdio-common/tst-gets.c: Likewise.
5616 * stdio-common/tst-obprintf.c: Likewise.
5617 * stdio-common/tst-perror.c: Likewise.
5618 * stdio-common/tst-sprintf2.c: Likewise.
5619 * stdio-common/tst-sprintf3.c: Likewise.
5620 * stdio-common/tst-sprintf.c: Likewise.
5621 * stdio-common/tst-swprintf.c: Likewise.
5622 * stdio-common/tst-tmpnam.c: Likewise.
5623 * stdio-common/tst-unbputc.c: Likewise.
5624 * stdio-common/tst-wc-printf.c: Likewise.
5625 * stdlib/tst-environ.c: Likewise.
5626 * stdlib/tst-fmtmsg.c: Likewise.
5627 * stdlib/tst-limits.c: Likewise.
5628 * stdlib/tst-rand48-2.c: Likewise.
5629 * stdlib/tst-rand48.c: Likewise.
5630 * stdlib/tst-random2.c: Likewise.
5631 * stdlib/tst-random.c: Likewise.
5632 * stdlib/tst-strtol.c: Likewise.
5633 * stdlib/tst-strtoll.c: Likewise.
5634 * stdlib/tst-tls-atexit.c: Likewise.
5635 * stdlib/tst-xpg-basename.c: Likewise.
5636 * string/test-ffs.c: Likewise.
5637 * string/tst-bswap.c: Likewise.
5638 * string/tst-inlcall.c: Likewise.
5639 * string/tst-strtok.c: Likewise.
5640 * string/tst-strxfrm.c: Likewise.
5641 * sysdeps/x86_64/tst-audit10.c: Likewise.
5642 * sysdeps/x86_64/tst-audit3.c: Likewise.
5643 * sysdeps/x86_64/tst-audit4.c: Likewise.
5644 * sysdeps/x86_64/tst-audit5.c: Likewise.
5645 * time/tst-ftime_l.c: Likewise.
5646 * time/tst-getdate.c: Likewise.
5647 * time/tst-mktime3.c: Likewise.
5648 * time/tst-mktime.c: Likewise.
5649 * time/tst-posixtz.c: Likewise.
5650 * time/tst-strptime2.c: Likewise.
5651 * time/tst-strptime3.c: Likewise.
5652 * wcsmbs/tst-btowc.c: Likewise.
5653 * wcsmbs/tst-mbrtowc.c: Likewise.
5654 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5655 * wcsmbs/tst-wchar-h.c: Likewise.
5656 * wcsmbs/tst-wcpncpy.c: Likewise.
5657 * wcsmbs/tst-wcrtomb.c: Likewise.
5658 * wcsmbs/tst-wcsnlen.c: Likewise.
5659 * wcsmbs/tst-wcstof.c: Likewise.
5660
2004e7fb
JM
56612014-11-04 Joseph Myers <joseph@codesourcery.com>
5662
ab97ee8f
JM
5663 [BZ #14132]
5664 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5665 INTDEF.
5666 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5667 declaration.
5668 (_dl_mcount): Use rtld_hidden_proto.
5669 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5670 _dl_mcount.
5671 * elf/rtld.c (_rtld_global_ro): Likewise.
5672
c5684fdb
JM
5673 [BZ #14132]
5674 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5675 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5676 of _dl_init_internal.
5677 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5678 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5679 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5680 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5681 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5682 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5683 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5684 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5685 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5686 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5687 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5688 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5689 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5690 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5691 * sysdeps/tile/dl-start.S (_start): Likewise.
5692 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5693 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5694
4243cbea
JM
5695 [BZ #14132]
5696 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5697 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5698 (rtld_progname): Make macro definition unconditional.
5699 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5700 INTDEF.
5701 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5702 (dl_main): Likewise.
5703 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5704 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5705 instead of _dl_argv_internal.
5706 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5707 __GI__dl_argv instead of INTUSE(_dl_argv).
5708 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5709 __GI__dl_argv instead of _dl_argv_internal.
5710
2004e7fb
JM
5711 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5712 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5713 macro.
5714 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5715 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5716 New macro.
5717 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5718 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5719 macro.
5720 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5721 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5722
97827bfc
AS
57232014-11-04 Andreas Schwab <schwab@suse.de>
5724
5725 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5726
5e4df284
AZ
57272014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5728
5729 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5730 mtvsrd instruction in binary form.
5731
04b76b5a
AS
57322014-11-03 Andreas Schwab <schwab@suse.de>
5733
5734 [BZ #17522]
5735 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5736 for less than MB_LEN_MAX use a local buffer of that size.
5737 * libio/tst-fputws.c: New file.
5738 * libio/Makefile (tests): Add tst-fputws.
5739
4c6da7da
JM
57402014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5741
5742 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5743 the size of the fpu_fr.fpu_dregs[] array.
5744
1679ba8e
JM
57452014-11-01 Joseph Myers <joseph@codesourcery.com>
5746
5747 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5748 (__nanosleep): Do not define as alias.
5749 (nanosleep): Define as alias of __nanosleep.
5750 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5751 __libc_nanosleep name.
5752
2626c183
JM
57532014-10-31 Joseph Myers <joseph@codesourcery.com>
5754
5755 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5756 install.texi in comment.
5757
7f981fc2
TR
57582014-10-31 Torvald Riegel <triegel@redhat.com>
5759
5760 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5761 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5762 ... add here and use lwsync or sync ...
5763 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5764 ... and add here using lwsync.
5765
d6f373d2
MF
57662014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5767
5768 * elf/dl-machine-reject-phdr.h: New file.
5769 * elf/dl-load.c: #include that.
5770 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5771 if that returned true.
5772
67c37987
RM
57732014-10-31 Roland McGrath <roland@hack.frob.com>
5774
5775 [BZ #17496]
5776 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5777 gen-as-const-headers chunk. Add a big scare comment after the last
5778 safe place to touch before-compile.
5779
94a42455 57802014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5781
f3f5d895
JM
5782 * manual/install.texi (Tools for Compilation): Update autoconf
5783 version requirements.
5784 * INSTALL: Regenerated.
5785
f62ff286
JM
5786 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5787 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5788 (__libc_pselect): Likewise.
94a42455
JM
5789
5790 [BZ #14138]
5791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5795
ff9dbdc0
TR
57962014-10-31 Torvald Riegel <triegel@redhat.com>
5797
5798 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5799 correct barrier instruction.
5800 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5801 Likewise.
5802 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5803 Likewise.
5804
b4f66884
RM
58052014-10-30 Roland McGrath <roland@hack.frob.com>
5806
5807 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5808 after defining inlines. Instead, just use parens to defeat macro
5809 expansion of __isctype in its declaration.
5810
e19c95fd
JM
58112014-10-30 Joseph Myers <joseph@codesourcery.com>
5812
5813 * include/sys/uio.h (__libc_readv): Remove declaration.
5814 (__libc_writev): Likewise.
5815 * misc/readv.c (__libc_readv): Rename to __readv.
5816 (__readv): Do not define as alias.
5817 (readv): Define as alias of __readv.
5818 * misc/writev.c (__libc_writev): Rename to __writev.
5819 (__writev): Do not define as alias.
5820 (writev): Define as alias of __writev.
5821 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5822 (__readv): Do not define as alias.
5823 (readv): Define unconditionally as alias of __readv.
5824 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5825 (__writev): Do not define as alias.
5826 (writev): Define unconditionally as alias of __writev.
5827 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5828 name.
5829 (writev): Do not define __libc_writev name.
5830
65b00b6c
RM
58312014-10-30 Roland McGrath <roland@hack.frob.com>
5832
5833 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5834 (convert_charseq): New function, broken out of ...
5835 (use_from_charmap): ... here. Call it.
5836 (use_to_charmap): Use convert_charseq and free instead of duplicating
5837 its code with a variable-length stack struct.
5838
d4e157aa
JM
58392014-10-30 Joseph Myers <joseph@codesourcery.com>
5840
5841 * include/fcntl.h (__libc_creat): Remove declaration.
5842 * io/creat.c (__libc_creat): Rename to creat.
5843 (creat): Do not define as alias.
5844 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5845 of creat instead of __libc_creat.
5846 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5847 to creat.
5848 (creat): Do not define as alias.
5849 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5850 __libc_creat.
5851 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5852 __libc_creat name.
5853 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5854 Likewise.
5855
0c6891a0
CD
58562014-10-29 Carlos O'Donell <carlos@redhat.com>
5857
5858 * manual/llio.texi: Add comments discussing why write() may be
5859 considered MT-unsafe on Linux.
5860
cc00cece
CD
58612014-10-28 Carlos O'Donell <carlos@redhat.com>
5862
5863 * dl-load.c (local_strdup): Remove.
5864 (expand_dynamic_string_token): Use __strdup.
5865 (decompose_rpath): Likewise.
5866 (_dl_map_object): Likewise.
5867
51e623f2
JM
58682014-10-28 Joseph Myers <joseph@codesourcery.com>
5869
5870 [BZ #14132]
5871 * sysdeps/generic/unwind-dw2-fde.c
5872 (__register_frame_info_bases_internal): Do not declare.
5873 (__register_frame_info_table_bases_internal): Likewise.
5874 (__deregister_frame_info_bases_internal): Likewise.
5875 (__register_frame_info_bases): Declare and use hidden_proto before
5876 definition. Use hidden_def instead of INTDEF.
5877 (__register_frame_info_table_bases): Likewise.
5878 (__deregister_frame_info_bases): Likewise.
5879 (__register_frame_info): Do not use INTUSE.
5880 (__register_frame): Likewise.
5881 (__register_frame_info_table): Likewise.
5882 (__register_frame_table): Likewise.
5883 (__deregister_frame_info): Likewise.
5884 (__deregister_frame): Likewise.
5885
03d41216
GC
58862014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5887
5888 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5889 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5890 not undefine.
5891 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5892 Likewise.
5893 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5894 Likewise.
5895
a4b3624d
JM
58962014-10-27 Joseph Myers <joseph@codesourcery.com>
5897
5898 [BZ #14138]
5899 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5900 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5901 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5902 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5903 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5904 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5905 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5906 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5907 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5908 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5909 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5910 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5911 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5912 syscall.
5913 (setfsuid): Likewise.
5914 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5915 (setfsuid): Likewise.
5916 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5917 (setfsuid): Likewise.
5918 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5919 Likewise.
5920 (setfsuid): Likewise.
5921 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5922 (setfsuid): Likewise.
5923 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5924 Likewise.
5925 (setfsuid): Likewise.
5926
3574f2fd
AS
59272014-10-27 Andreas Schwab <schwab@suse.de>
5928
5929 [BZ #17501]
5930 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5931 check for Slow_SSE4_2 feature bit.
5932 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5933 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5934 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5935 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5936
70996a37
RM
59372014-10-24 Roland McGrath <roland@hack.frob.com>
5938
461a7b1e
RM
5939 * configure.ac: Validate compiler version with a empirical test of
5940 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5941 $CC -v output.
5942 * configure: Regenerated.
5943
70996a37
RM
5944 * inet/htons.c (htons): Prototypify.
5945 * inet/htonl.c (htonl): Likewise.
5946
e80514b5
WD
59472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5948
5949 * string/strncat.c (strncat): Improve performance by using strlen.
5950
6e46de42
WD
59512014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5952
5953 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5954
6a9ad2fa
WD
59552014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5956
5957 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5958 Call libc_fetestexcept_aarch64.
5959
1c8810ed
WD
59602014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5961
5962 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5963 Call libc_feholdexcept_aarch64.
5964
8b1af712
WD
59652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5966
5967 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5968 Call get_rounding_mode.
5969
a7b00c11
WD
59702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5971
5972 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5973 Simplify logic.
5974
3a84f1a6
WD
59752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5976
5977 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5978 Simplify logic.
5979
48eb7a94
JM
59802014-10-24 Joseph Myers <joseph@codesourcery.com>
5981
c8bc4038
JM
5982 [BZ #14138]
5983 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5984 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5985 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5986 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5987 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5988 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5989 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5990 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5991 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5992 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5993 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5994 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5995 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5996 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5997 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5998 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5999 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6000 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6001 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6002 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6003 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6004 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6005 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6006 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6007 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6008 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6009 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6010 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6011 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6012 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6013 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6014 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6015 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6016 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6017 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6018 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6019 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6020 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6022 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6023 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6024 syscall.
6025 (geteuid): Likewise.
6026 (getgid): Likewise.
6027 (getuid): Likewise.
6028 (getresgid): Likewise.
6029 (getresuid): Likewise.
6030 (getgroups): Likewise.
6031 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6032 (geteuid): Likewise.
6033 (getgid): Likewise.
6034 (getuid): Likewise.
6035 (getresgid): Likewise.
6036 (getresuid): Likewise.
6037 (getgroups): Likewise.
6038 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6039 (geteuid): Likewise.
6040 (getgid): Likewise.
6041 (getuid): Likewise.
6042 (getresgid): Likewise.
6043 (getresuid): Likewise.
6044 (getgroups): Likewise.
6045 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6046 Likewise.
6047 (geteuid): Likewise.
6048 (getgid): Likewise.
6049 (getuid): Likewise.
6050 (getresgid): Likewise.
6051 (getresuid): Likewise.
6052 (getgroups): Likewise.
6053 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6054 (geteuid): Likewise.
6055 (getgid): Likewise.
6056 (getuid): Likewise.
6057 (getresgid): Likewise.
6058 (getresuid): Likewise.
6059 (getgroups): Likewise.
6060 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6061 Likewise.
6062 (geteuid): Likewise.
6063 (getgid): Likewise.
6064 (getuid): Likewise.
6065 (getgroups): Likewise.
6066
48eb7a94
JM
6067 [BZ #14138]
6068 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6069 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6070 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6071 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6072 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6073 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6074 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6075 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6076 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6077 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6078 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6079 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6080 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6081 __chown.
6082 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6083 (lchown): Likewise.
6084 (fchown): Likewise.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6086 Likewise.
6087 (lchown): Likewise.
6088 (fchown): Likewise.
6089 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6090 (lchown): Likewise.
6091 (fchown): Likewise.
6092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6093 Likewise.
6094 (lchown): Likewise.
6095 (fchown): Likewise.
6096
ea9a7c8b
WD
60972014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6098
6099 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6100 Simplify logic.
6101
e226de33
WD
61022014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6103
6104 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6105 Cleanup logic.
6106
6e3d8ed3
WD
61072014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6108
6109 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6110 Remove unused include.
6111
eb04247d
WD
61122014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6113
6114 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6115 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6116 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6117 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6118
13d84554
CD
61192014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6120 Helge Deller <deller@gmx.de>
6121
6122 [BZ #17508]
6123 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6124 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6125 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6126
15f9c5df
JM
61272014-10-23 Joseph Myers <joseph@codesourcery.com>
6128
6129 [BZ #14132]
6130 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6131 Remove macro definition.
6132 (__ashrdi3_v_glibc20): Likewise.
6133 (__lshrdi3_v_glibc20): Likewise.
6134 (__cmpdi2_v_glibc20): Likewise.
6135 (__ucmpdi2_v_glibc20): Likewise.
6136 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6137 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6138 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6139 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6140 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6141 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6142
c6dfed24
RM
61432014-10-22 Roland McGrath <roland@hack.frob.com>
6144
6145 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6146 old GNU extension [0] syntax.
6147 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6148 alloca rather than an array member with variable length.
6149 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6150 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6151 (parse_opt): ... here. Likewise use alloca there.
6152 Validate the -i argument before checking for rootness.
6153 (send_shutdown): New function, broken out of ...
6154 (parse_opt): ... here.
6155
8c2b1ed8
RM
61562014-10-22 Roland McGrath <roland@hack.frob.com>
6157
6158 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6159 macro to get at the _rt_local_ro field.
6160 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6161 ([PIC] case) or _dl_hwcap ([!PIC] case).
6162 * sysdeps/arm/setjmp.S: Likewise.
6163
6164 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6165 * sysdeps/arm/configure.ac: New check to define it.
6166 * sysdeps/arm/configure: Regenerated.
6167 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6168 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6169 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6170 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6171 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6172 Use move/movt pair instead of a load.
6173 (LDST_GLOBAL): Macro removed.
6174 (LDR_GLOBAL): New macro replaces it.
6175 (LDR_HIDDEN): New macro.
6176 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6177 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6178
6179 * setjmp/tst-setjmp-static.c: New file.
6180 * setjmp/Makefile (tests): Add it.
6181 (tests-static): New variable.
6182
b5af9297
MR
61832014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6184
6185 [BZ #17485]
6186 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6187
a13d0d74
JM
61882014-10-21 Joseph Myers <joseph@codesourcery.com>
6189
6190 [BZ #14132]
6191 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6192
f05e73f6
RM
61932014-10-21 Roland McGrath <roland@hack.frob.com>
6194
6195 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6196
6ab1d1ea
RM
61972014-10-20 Roland McGrath <roland@hack.frob.com>
6198
6199 * io/fts.c (dirent_not_directory): New function.
6200 (fts_build): Call it.
6201
ab49e763
RM
62022014-10-20 Roland McGrath <roland@hack.frob.com>
6203
e436eb79
RM
6204 * nptl/version.c (__nptl_main): Use normal __write rather than
6205 INTERNAL_SYSCALL.
6206 (banner): Update copyright years.
6207
6af246cf
RM
6208 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6209 gettimeofday.
6210 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6211 * nptl/pthread_cond_timedwait.c: Likewise.
6212 * nptl/pthread_mutex_timedlock.c: Likewise.
6213 * nptl/sem_timedwait.c: Likewise.
6214
ab49e763
RM
6215 * sysdeps/nptl/bits/libc-lock.h
6216 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6217 (__libc_lock_init_recursive): Return void, not 0.
6218 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6219 (__libc_rwlock_init): Likewise.
6220 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6221
f50277c1
TR
62222014-10-20 Torvald Riegel <triegel@redhat.com>
6223
6224 [BZ #15215]
6225 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6226 (__pthread_once_slow): ... here.
6227 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6228 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6229
63668b70
TR
62302014-10-20 Torvald Riegel <triegel@redhat.com>
6231
6232 [BZ #15215]
6233 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6234 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6235 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6236 * nptl/pthread_once.c (__pthread_once): Likewise.
6237 Update comments.
6238
42b7f5d4
JM
62392014-10-20 Joseph Myers <joseph@codesourcery.com>
6240
6241 [BZ #14138]
6242 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6243 name.
6244 (writev): Use __libc_writev as strong name.
6245 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6246 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6247
b0643088
RM
62482014-10-17 Roland McGrath <roland@hack.frob.com>
6249
114c4e09
RM
6250 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6251
674b8978
RM
6252 * sysdeps/i386/nptl/tls.h
6253 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6254 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6255 New macros.
6256 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6257 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6258 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6259 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6260 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6261 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6262
184ee940
RM
6263 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6264 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6265 on [__NR_futex].
6266 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6267 broken out of ...
6268 (__pthread_mutex_init): ... here. Call it.
6269 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6270 Conditionalize PI cases on [__NR_futex].
6271 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6272 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6273 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6274
327ae257
RM
6275 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6276 conditional on [SIGSETXID].
6277 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6278 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6279 is defined. Likewise for SIGSETXID.
6280 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6281 Conditionalize definitions on [SIGSETXID].
6282 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6283 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6284 unblocking on [SIGCANCEL].
6285
b0643088
RM
6286 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6287 [__NR_set_robust_list].
6288
33cc770b
SP
62892014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6290
6291 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6292 (do_compare): Likewise.
6293
0742aef6
LH
62942014-10-17 Leonhard Holz <leonhard.holz@web.de>
6295
6296 [BZ #15884]
6297 * string/strcoll_l.c: Don't include stdio.h.
6298 (coll_seq): Remove members idxarr and rulearr.
6299 (get_next_seq_cached): Remove function.
6300 (get_next_seq): Likewise.
6301 (get_next_seq_nocache): Rename to get_next_seq.
6302 (do_compare): Remove function.
6303 (do_compare_nocache): Rename to do_compare.
6304 (STRCOLL): Remove weight and rules cache.
6305
ee54ce44
RM
63062014-10-16 Roland McGrath <roland@hack.frob.com>
6307
6308 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6309 * sysdeps/arm/sfp-machine.h: ... to here.
6310 * sysdeps/arm/Implies: Remove arm/soft-fp.
6311
a75d3b02
JM
63122014-10-14 Joseph Myers <joseph@codesourcery.com>
6313
6314 * conform/data/sys/utsname.h-data (*_t): Allow.
6315 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6316 [POSIX] (WEXITED): Do not expect constant.
6317 [POSIX] (WSTOPPED): Likewise.
6318 [POSIX] (WNOHANG): Likewise.
6319 [POSIX] (WNOWAIT): Likewise.
6320 [POSIX] (siginfo_t): Do not expect type or elements.
6321 [POSIX] (pid_t): Do not expect type.
6322 [POSIX] (signal.h): Do not allow header.
6323 [POSIX] (sys/resource.h): Likewise.
6324 [POSIX] (si_*): Do not allow pattern.
6325 [POSIX] (W*): Likewise.
6326 [POSIX] (P_*): Likewise.
6327 [POSIX] (BUS_*): Likewise.
6328 [POSIX] (CLD_*): Likewise.
6329 [POSIX] (FPE_*): Likewise.
6330 [POSIX] (ILL_*): Likewise.
6331 [POSIX] (POLL_*): Likewise.
6332 [POSIX] (SEGV_*): Likewise.
6333 [POSIX] (SI_*): Likewise.
6334 [POSIX] (TRAP_*): Likewise.
6335 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6336 variable.
6337
fda389c8
SP
63382014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6339
6340 [BZ #12926]
6341 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6342 infinite loop when __recvmsg returns 0.
6343
6bc6bd3b
JM
63442014-10-10 Joseph Myers <joseph@codesourcery.com>
6345
fcb32af1
JM
6346 * CANCEL-FCT-WAIVE: Remove file.
6347 * CANCEL-FILE-WAIVE: Likewise.
6348
6bc6bd3b
JM
6349 [BZ #14132]
6350 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6351 instead of INTVARDEF.
6352 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6353 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6354 rtld_hidden_data_def instead of INTVARDEF.
6355 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6356 * elf/dl-deps.c (expand_dst): Likewise.
6357 * elf/dl-load.c (_dl_dst_count): Likewise.
6358 (_dl_dst_substitute): Likewise.
6359 (decompose_rpath): Likewise.
6360 (_dl_init_paths): Likewise.
6361 (open_path): Likewise.
6362 (_dl_map_object): Likewise.
6363 * elf/rtld.c (dl_main): Likewise.
6364 (process_dl_audit): Likewise.
6365 (process_envvars): Likewise.
6366 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6367 Remove declaration.
6368 (__libc_enable_secure): Use rtld_hidden_proto.
6369
b8c80a7e
KS
63702014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6371
6372 * elf/dl-load.c
6373 (add_path): New function broken out of _dl_rtld_di_serinfo.
6374 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6375
ff12c11f
JM
63762014-10-09 Joseph Myers <joseph@codesourcery.com>
6377
5c0508a3
JM
6378 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6379 parentheses around macro arguments.
6380 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6381 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6382 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6383 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6384 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6385 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6386 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6387 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6390 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6391 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6392 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6393 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6394 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6395 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6396 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6398 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6399 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6400 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6401 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6402 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6405 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6408 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6409 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6410 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6411 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6412 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6413 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6414 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6415 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6416 Likewise.
6417 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6418 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6419 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6420 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6421 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6422 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6423 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6424 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6425 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6426 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6427 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6428 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6429 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6430 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6431 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6433 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6434 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6435 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6436 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6437 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6438 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6439 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6440 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6441 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6442 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6443 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6444 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6445 (_FP_FRAC_SRS_1): Likewise.
6446 (_FP_FRAC_CLZ_1): Likewise.
6447 (_FP_MUL_MEAT_1_imm): Likewise.
6448 (_FP_MUL_MEAT_1_wide): Likewise.
6449 (_FP_MUL_MEAT_1_hard): Likewise.
6450 (_FP_SQRT_MEAT_1): Likewise.
6451 (_FP_FRAC_ASSEMBLE_1): Likewise.
6452 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6453 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6454 (__FP_CLZ_2): Likewise.
6455 (_FP_MUL_MEAT_2_wide): Likewise.
6456 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6457 (_FP_MUL_MEAT_2_gmp): Likewise.
6458 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6459 (_FP_SQRT_MEAT_2): Likewise.
6460 (_FP_FRAC_ASSEMBLE_2): Likewise.
6461 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6462 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6463 (_FP_FRAC_CLZ_4): Likewise.
6464 (_FP_MUL_MEAT_4_wide): Likewise.
6465 (_FP_MUL_MEAT_4_gmp): Likewise.
6466 (_FP_SQRT_MEAT_4): Likewise.
6467 (_FP_FRAC_ASSEMBLE_4): Likewise.
6468 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6469 * soft-fp/op-common.h (_FP_CMP): Likewise.
6470 (_FP_CMP_EQ): Likewise.
6471 (_FP_CMP_UNORD): Likewise.
6472 (_FP_TO_INT): Likewise.
6473 (_FP_FROM_INT): Likewise.
6474 [!__FP_CLZ] (__FP_CLZ): Likewise.
6475 (_FP_DIV_HELP_imm): Likewise.
6476 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6477 Likewise.
6478 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6479 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6480 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6481 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6482 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6483 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6484 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6485 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6486 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6487 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6488 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6489 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6490 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6491 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6492 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6493 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6494 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6495 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6496 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6497 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6499 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6500 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6501 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6502 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6503 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6504 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6505 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6506 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6507 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6508 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6509 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6510 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6511 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6512 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6513 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6514 (FP_UNPACK_RAW_SP): Likewise.
6515 (FP_PACK_RAW_S): Likewise.
6516 (FP_PACK_RAW_SP): Likewise.
6517 (FP_UNPACK_S): Likewise.
6518 (FP_UNPACK_SP): Likewise.
6519 (FP_UNPACK_SEMIRAW_S): Likewise.
6520 (FP_UNPACK_SEMIRAW_SP): Likewise.
6521 (FP_PACK_S): Likewise.
6522 (FP_PACK_SP): Likewise.
6523 (FP_PACK_SEMIRAW_S): Likewise.
6524 (FP_PACK_SEMIRAW_SP): Likewise.
6525 (_FP_SQRT_MEAT_S): Likewise.
6526 (FP_CMP_S): Likewise.
6527 (FP_CMP_EQ_S): Likewise.
6528 (FP_CMP_UNORD_S): Likewise.
6529 (FP_TO_INT_S): Likewise.
6530 (FP_FROM_INT_S): Likewise.
6531
a736ec37
JM
6532 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6533
ff12c11f
JM
6534 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6535 (FP_EX_INVALID_IMZ): Likewise.
6536 (FP_EX_INVALID_IMZ_FMA): Likewise.
6537 (FP_EX_INVALID_ISI): Likewise.
6538 (FP_EX_INVALID_ZDZ): Likewise.
6539 (FP_EX_INVALID_IDI): Likewise.
6540 (FP_EX_INVALID_SQRT): Likewise.
6541 (FP_EX_INVALID_CVI): Likewise.
6542 (FP_EX_INVALID_VC): Likewise.
6543 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6544 "invalid" exceptions.
6545 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6546 (_FP_ADD_INTERNAL): Likewise.
6547 (_FP_MUL): Likewise.
6548 (_FP_FMA): Likewise.
6549 (_FP_DIV): Likewise.
6550 (_FP_CMP_CHECK_NAN): Likewise.
6551 (_FP_SQRT): Likewise.
6552 (_FP_TO_INT): Likewise.
6553 (FP_EXTEND): Likewise.
6554
b6dcfe8c
AM
65552014-10-09 Allan McRae <allan@archlinux.org>
6556
6557 * po/fr.po: Update French translation from translation project.
6558
2d6a47ba
JM
65592014-10-09 Joseph Myers <joseph@codesourcery.com>
6560
cb831245
JM
6561 [BZ #14132]
6562 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6563 of INTDEF.
6564 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6565 (__cxa_atexit): Use libc_hidden_proto.
6566 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6567
5deeb190
JM
6568 [BZ #14132]
6569 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6570 declaration.
6571 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6572 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6573 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6574 [!_ISOMAC] (__iswctype_internal): Likewise.
6575 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6576 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6577 alias.
6578 (fcntl): Remove __fcntl_internal alias.
6579 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6580 __connect_internal alias.
6581 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6582 Likewise.
6583
454ac701
JM
6584 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6585 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6586 FP_DENORM_ZERO.
6587 (_FP_CHECK_FLUSH_ZERO): New macro.
6588 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6589 (_FP_CMP): Likewise.
6590 (_FP_CMP_EQ): Likewise.
6591 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6592 FP_DENORM_ZERO.
6593 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6594 (FP_TRUNC): Likewise.
6595
0022e688
JM
6596 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6597 treated as invalid conversion, not as normal exponent.
6598
73e28d9c
JM
6599 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6600 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6601 (_FP_CMP_EQ): Likewise.
6602 (_FP_CMP_UNORD): Likewise.
6603 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6604 (FP_CMP_EQ_D): Likewise.
6605 (FP_CMP_UNORD_D): Likewise.
6606 * soft-fp/extended.h (FP_CMP_E): Likewise.
6607 (FP_CMP_EQ_E): Likewise.
6608 (FP_CMP_UNORD_E): Likewise.
6609 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6610 (FP_CMP_EQ_Q): Likewise.
6611 (FP_CMP_UNORD_Q): Likewise.
6612 * soft-fp/single.h (FP_CMP_S): Likewise.
6613 (FP_CMP_EQ_S): Likewise.
6614 (FP_CMP_UNORD_S): Likewise.
6615 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6616 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6617 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6618 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6619 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6620 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6621 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6622 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6623 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6624 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6625 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6626 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6627 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6628 to FP_CMP_Q.
6629 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6630 FP_CMP_Q.
6631 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6632 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6633 FP_CMP_EQ_Q.
6634 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6635 FP_CMP_Q.
6636 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6637 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6638 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6639 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6640 FP_CMP_EQ_Q.
6641 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6642 FP_CMP_Q.
6643 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6644 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6645 FP_CMP_EQ_Q.
6646 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6647 FP_CMP_Q.
6648 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6649 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6650 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6651 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6652 FP_CMP_EQ_Q.
6653
43059f42
JM
6654 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6655 a subnormal result, set the underflow exception if trapping on
6656 underflow is enabled.
6657 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6658 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6659 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6660 redefine to 0.
6661 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6662 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6663 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6664 * soft-fp/extendxftf2.c (__extendxftf2): Use
6665 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6666
2d6a47ba
JM
6667 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6668 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6669 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6670 FP_HANDLE_EXCEPTIONS.
6671 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6672 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6673 FP_HANDLE_EXCEPTIONS.
6674 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6675 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6676 FP_HANDLE_EXCEPTIONS.
6677 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6678 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6679 FP_HANDLE_EXCEPTIONS.
6680
620f462e
JM
66812014-10-08 Joseph Myers <joseph@codesourcery.com>
6682
6683 [BZ #14132]
6684 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6685 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6686 use INTUSE.
6687 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6688 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6689 Remove alias.
6690 (__adjtimex): Define using libc_hidden_ver.
6691 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6692 Remove declaration.
6693 (ntp_gettime): Call __adjtimex directly.
6694 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6695 Remove declaration.
6696 (ntp_gettimex): Call __adjtimex directly.
6697 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6698 __adjtimex_internal alias.
6699
c763c5d2
RM
67002014-10-08 Roland McGrath <roland@hack.frob.com>
6701
6702 [BZ #17460]
6703 * nscd/nscd.c (more_help): Rewrite list of tables collection
6704 using xstrdup and asprintf.
6705
6706 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6707
7b8fb2b8
RM
67082014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6709 Roland McGrath <roland@hack.frob.com>
6710
6711 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6712 (do_lookup_unique): ... local function 'enter' here; update callers.
6713
abb280f7
JM
67142014-10-06 Joseph Myers <joseph@codesourcery.com>
6715
f7b42517
JM
6716 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6717 compat_symbol calls on [SHARED].
6718 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6719 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6720 Remove.
6721 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6722 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6723 (oldsetrlimit): Remove.
6724 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6726 (lchown): New syscall entry.
6727 (oldsetrlimit): Remove.
6728 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6729 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6730 (oldsetrlimit): Remove.
6731 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6732
abb280f7
JM
6733 [BZ #14138]
6734 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6735 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6736 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6737 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6738 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6739 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6740 (fchown): Likewise.
6741 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6742 (fchown): Likewise.
6743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6744 Likewise.
6745
47d46237
AZ
67462014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6747
6748 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6749 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6750 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6751 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6752 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6753 Likewise.
6754 (__old_sem_post): Likewise.
6755
67562014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6757
845a7343
CM
6758 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6759 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6760 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6761 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6762 Use INLINE_VSYSCALL macro.
6763 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6764 __vdso_clock_gettime.
6765 * sysdeps/unix/sysv/linux/tile/init-first.c
6766 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6767 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6768 __vdso_clock_gettime.
6769
83d641ef
CM
6770 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6771 to set up frame more cleanly.
6772
d9cd52e6
CM
6773 * sysdeps/tile/memcmp.c: New file.
6774
4b68ea11
CM
6775 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6776
c86f7b80
CM
6777 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6778 * sysdeps/tile/tilegx/strcasestr.c: New file.
6779 * sysdeps/tile/tilegx/strnlen.c: New file.
6780 * sysdeps/tile/tilegx/strstr.c: New file.
6781
1c4c1a6f
CM
6782 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6783
99d86ea3
AS
67842014-10-06 Arjun Shankar <arjun.is@lostca.se>
6785
6786 * nptl/tst-setuid3.c: Write errors to stdout.
6787
06210a44
KS
67882014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6789
6790 * elf/dl-deps.c
6791 (preload): New functions broken out of _dl_map_object_deps.
6792 (_dl_map_object_deps): Remove a nested function. Update call sites.
6793
6268f532
JM
67942014-10-01 Joseph Myers <joseph@codesourcery.com>
6795
6796 [BZ #14138]
6797 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6798 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6799
b925285f
SE
68002014-10-01 Steve Ellcey <sellcey@mips.com>
6801
6802 * sysdeps/mips/strcmp.S: New.
6803
754a15c6
JM
68042014-09-30 Joseph Myers <joseph@codesourcery.com>
6805
6806 [BZ #14138]
6807 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6808 (linkat): Likewise.
6809 (mkdirat): Likewise.
6810 (readlinkat): Likewise.
6811 (renameat): Likewise.
6812 (symlinkat): Likewise.
6813 (unlinkat): Likewise.
6814 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6815 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6816 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6817 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6818 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6819 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6820 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6821
85bb81c9
WN
68222014-09-30 Will Newton <will.newton@linaro.org>
6823
dc6fe23b
WN
6824 * math/math.h: Define long double math functions if
6825 _LIBC_TEST is defined.
6826 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6827
85bb81c9
WN
6828 * localedata/Makefile: Move assignment to tests-special
6829 into an ifdef testing run-built-tests.
6830 * timezone/Makefile: Likewise.
6831
b7e02da4
JM
68322014-09-29 Joseph Myers <joseph@codesourcery.com>
6833
6834 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6835 with $(BASH) not $(SHELL).
6836
62058ce6
CD
68372014-09-29 Carlos O'Donell <carlos@redhat.com>
6838 Matthew LeGendre <legendre1@llnl.gov>
6839
6840 [BZ #17411]
6841 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6842 l_reloc_result.
6843
8e257a29
KS
68442014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6845
6846 * stdio-common/printf_fp.c
6847 (hack_digit): New function, broken out of ...
6848 (__printf_fp): ... local function here. Update call sites.
6849 hack_digit now takes an additional parameter that is a pointer
6850 to a struct of the referenced locals. Those locals moved inside
6851 the struct and references updated.
6852
f4a58f0d
L
68532014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6854
6855 * aclocal.m4: Require autoconf 2.69.
6856 * configure: Regenerated.
6857 * sysdeps/aarch64/configure: Likewise.
6858 * sysdeps/alpha/configure: Likewise.
6859 * sysdeps/arm/armv7/configure: Likewise.
6860 * sysdeps/arm/configure: Likewise.
6861 * sysdeps/ia64/configure: Likewise.
6862 * sysdeps/mach/configure: Likewise.
6863 * sysdeps/mips/configure: Likewise.
6864 * sysdeps/s390/configure: Likewise.
6865 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6867
6868 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6869 file.
6870 * sysdeps/ia64/configure.ac: Likewise.
6871
93ae1eba
JM
68722014-09-26 Joseph Myers <joseph@codesourcery.com>
6873
1810d3ab
JM
6874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6875 specify symbol version for ld.so. Do not include entry for
6876 libpthread.
6877 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6878 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6879 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6880
93ae1eba
JM
6881 [BZ #14171]
6882 * Makeconfig [$(build-shared) = yes]
6883 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6884 makefiles.
6885 [$(build-shared) = yes && $(soversions.mk-done) = t]
6886 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6887 [$(build-shared) = yes && $(soversions.mk-done) = t]
6888 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6889 to Makerules.
6890 [$(build-shared) = yes && $(soversions.mk-done) = t]
6891 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6892 here.
6893 [$(build-shared) = yes && $(soversions.mk-done) = t]
6894 (common-generated): Don't append gnu/lib-names.h and
6895 gnu/lib-names.stmp here.
6896 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6897 (lib-names-h-abi): New variable.
6898 [$(build-shared) = yes && $(soversions.mk-done) = t]
6899 (lib-names-stmp-abi): Likewise.
6900 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6901 abi-variants] (before-compile): Append
6902 $(common-objpfx)$(lib-names-h-abi).
6903 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6904 abi-variants] (common-generated): Append gnu/lib-names.h.
6905 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6906 abi-variants] (install-others-nosubdir): Depend on
6907 $(inst_includedir)/$(lib-names-h-abi).
6908 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6909 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6910 [$(build-shared) = yes && $(soversions.mk-done) = t]
6911 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6912 [$(build-shared) = yes && $(soversions.mk-done) = t]
6913 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6914 [$(build-shared) = yes && $(soversions.mk-done) = t]
6915 (common-generated): Append $(lib-names-h-abi) and
6916 $(lib-names-stmp-abi).
6917 * scripts/lib-names.awk: Do not handle multi being set.
6918 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6919 Remove variable.
6920 (abi-lp64_be-ld-soname): Likewise.
6921 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6922 Likewise.
6923 (abi-hard-ld-soname): Likewise.
6924 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6925 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6926 Remove variable.
6927 (abi-o32_hard-ld-soname): Likewise.
6928 (abi-o32_soft_2008-ld-soname): Likewise.
6929 (abi-o32_hard_2008-ld-soname): Likewise.
6930 (abi-n32_soft-ld-soname): Likewise.
6931 (abi-n32_hard-ld-soname): Likewise.
6932 (abi-n32_soft_2008-ld-soname): Likewise.
6933 (abi-n32_hard_2008-ld-soname): Likewise.
6934 (abi-n64_soft-ld-soname): Likewise.
6935 (abi-n64_hard-ld-soname): Likewise.
6936 (abi-n64_soft_2008-ld-soname): Likewise.
6937 (abi-n64_hard_2008-ld-soname): Likewise.
6938 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6939 Likewise.
6940 (abi-64-v2-ld-soname): Likewise.
6941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6942 ld.so entries.
6943 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6944 variable.
6945 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6946 entry.
6947 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6948 variable.
6949 (abi-64-ld-soname): Likewise.
6950 (abi-x32-ld-soname): Likewise.
6951 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6952 entry.
6953 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6954
68870f12
JM
69552014-09-23 Joseph Myers <joseph@codesourcery.com>
6956
6957 [BZ #14138]
6958 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6959 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6960 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6961 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6962 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6963 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6964 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6965 syscall entry for GLIBC_2.2 symbol version.
6966 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6967 Likewise.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6969 (setrlimit): Likewise.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6971 Likewise.
6972
ea58f202
WN
69732014-09-23 Will Newton <will.newton@linaro.org>
6974
6975 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6976 _LINUX_ARM_SYSDEP_H include guard too.
6977 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6978 define.
6979
69eb9a18
RV
69802014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6981
6982 * sysdeps/unix/sysv/linux/eventfd.c:
6983 Make first argument unsigned.
6984 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6985 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6986
20e5a5f7
OB
69872014-09-20 Ondřej Bílka <neleai@seznam.cz>
6988
6989 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6990 * socket/sys/socket.h: Likewise
6991 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6992
d3c827e7
AK
69932014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6994
6995 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6996
fe1cc35a
AS
69972014-09-17 Arjun Shankar <arjun.is@lostca.se>
6998
6999 * time/tst-ftime.c: New test.
7000 * time/Makefile (tests): Add tst-ftime.
7001
4e8afe69
JM
70022014-09-17 Joseph Myers <joseph@codesourcery.com>
7003
c4fe3ea7
JM
7004 * soft-fp/extended.h: Fix comment formatting.
7005 * soft-fp/op-1.h: Likewise.
7006 * soft-fp/op-2.h: Likewise.
7007 * soft-fp/op-4.h: Likewise.
7008 * soft-fp/op-8.h: Likewise.
7009 * soft-fp/op-common.h: Likewise.
7010 * soft-fp/soft-fp.h: Likewise.
7011
4e8afe69
JM
7012 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7013
af296fcd
JM
70142014-09-16 Joseph Myers <joseph@codesourcery.com>
7015
7016 [BZ #6652]
7017 * Makeconfig (soversions-default-setname): Remove variable.
7018 ($(common-objpfx)soversions.i): Don't pass default_setname to
7019 soversions.awk.
7020 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7021 oldest_abi to abi-versions.awk.
7022 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7023 * config.make.in (oldest-abi): Remove variable.
7024 * configure.ac (--enable-oldest-abi): Remove configure option.
7025 * configure: Regenerated.
7026 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7027 text.
7028 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7029 * scripts/soversions.awk: Do not handle default_setname variable.
7030 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7031 variable.
7032 * sysdeps/mach/hurd/configure: Regenerated.
7033 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7034 variable.
7035 * sysdeps/unix/sysv/linux/configure: Regenerated.
7036
545583d6
SP
70372014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7038
d330b980
SP
7039 * elf/Makefile (CFLAGS-interp.c): Remove.
7040 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7041 path string.
7042 * elf/interp.c: Include generated runtime-linker.h
7043
02657da2
SP
7044 * Makerules (lib%.so): Don't include $(+interp) in
7045 prerequisites.
7046 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7047 * dlfcn/eval.c: Remove file.
7048
653b1080
SP
7049 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7050 macros.
7051
602f80ec
SP
7052 [BZ #17266]
7053 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7054 4.2 and newer.
7055
545583d6
SP
7056 [BZ #17370]
7057 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7058
884ddc50
SP
70592014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7060 Jakub Jelinek <jakub@redhat.com>
7061
7062 [BZ #17266]
7063 * libio/stdio.h: Check definition of __fortify_function
7064 instead of __extern_always_inline to include bits/stdio2.h.
7065 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7066 check if __extern_always_inline is defined.
7067 [__USE_MISC || __USE_XOPEN]: Likewise.
7068 [__USE_ISOC99] Likewise.
7069 * misc/sys/cdefs.h (__fortify_function): Define only if
7070 __extern_always_inline is defined.
7071 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7072 __extern_always_inline and __extern_inline only for g++-4.3
7073 and newer or a compatible gcc.
7074
a7b87268
AS
70752014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7076
7077 [BZ #17371]
7078 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7079 last change to handle zero prefix length.
7080
3f41521d
SP
70812014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7082
61fe374a
SP
7083 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7084 _SC_REGEX_VERSION.
7085
3f41521d
SP
7086 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7087 _POSIX_RAW_SOCKETS.
7088
d8f879ee
AM
70892014-09-13 Allan McRae <allan@archlinux.org>
7090
7091 * po/ru.po: Update Russian translation from translation project.
7092
c079afb7
RM
70932014-09-12 Roland McGrath <roland@hack.frob.com>
7094
a62b3c15
RM
7095 * locale/programs/locale.c (show_locale_vars): Inline local function
7096 into its sole call site. Clean up some style nits.
7097 (print_item): New function, broken out of ...
7098 (show_info): ... local function here. Clean up style nits.
7099
d7e49b19
RM
7100 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7101 out of ...
7102 (set_class_defaults): ... local function set_default here.
7103 Define set_default as a macro locally to pass constant parameters.
7104 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7105 rather than a shared local.
7106
c079afb7
RM
7107 * stdlib/rpmatch.c (try): New function, broken out of ...
7108 (rpmatch): ... local function here. Also, prototypify definition.
7109
0bd72468
JM
71102014-09-12 Joseph Myers <joseph@codesourcery.com>
7111
ba90e050
JM
7112 * scripts/soversions.awk: Do not handle configuration names.
7113 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7114 vendor and os variables to soversions.awk.
7115 * configure.ac: Do not modify gnu-* host_os.
7116 * configure: Regenerated
7117 * shlib-versions: Remove first column with configuration names.
7118 * nptl/shlib-versions: Likewise.
7119 * nptl_db/shlib-versions: Likewise.
7120 * sysdeps/hppa/shlib-versions: Likewise.
7121 * sysdeps/m68k/shlib-versions: Likewise.
7122 * sysdeps/mach/hurd/shlib-versions: Likewise.
7123 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7124 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7125 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7126 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7127 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7128 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7129 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7130 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7132 Likewise.
7133 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7134 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7135 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7136 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7137 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7138 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7139 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7140 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7141
73a39112
JM
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7143 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7145 Regenerated.
7146 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7148 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7149
c729e7c1
JM
7150 * shlib-versions: Remove OS-specific entries. Moved to files in
7151 sysdeps.
7152 * sysdeps/mach/hurd/shlib-versions: New file.
7153 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7154
dc932a24
JM
7155 * nptl/shlib-versions: Remove architecture-specific entries.
7156 Moved to files in sysdeps.
7157 * shlib-versions: Likewise.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7159 file.
7160 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7161 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7162 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7163 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7164
0bd72468
JM
7165 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7166 (UDP_NO_CHECK6_RX): Likewise.
7167
920238e0
SP
71682014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7169
7170 * sysdeps/posix/sysconf.c (__sysconf): Spell
7171 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7172
ba7b4d29
FW
71732014-08-12 Florian Weimer <fweimer@redhat.com>
7174
7175 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7176 loading.
7177 * iconv/Versions (__gconv_transliterate): Export for use from
7178 gconv modules.
7179 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7180 (struct __gconv_trans_data, __gconv_trans_fct,
7181 __gconv_trans_context_fct, __gconv_trans_query_fct,
7182 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7183 definitions.
7184 (struct __gconv_step_data): Remove __trans member.
7185 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7186 longer hidden. Remove unused trans_data argument.
7187 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7188 (__gconv_translit_find): Remove declaration.
7189 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7190 prototype.
7191 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7192 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7193 trans_data argument. Add hidden definition.
7194 (__gconv_translit_find): Remove.
7195 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7196 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7197 * iconv/skeleton.c: Remove transliteration initialization.
7198 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7199 __gconv_step_data initialization.
7200 * libio/iofwide.c (__libio_translit_): Remove.
7201 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7202 * wcsmbs/btowc.c (__btowc): Likewise.
7203 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7204 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7205 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7206 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7207 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7208 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7209 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7210 * wcsmbs/wctob.c (wctob): Likewise.
7211
5379aebd
SP
72122014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7213
7214 [BZ #16194]
7215 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7216 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7217 register usage.
7218 * sysdeps/x86/Makefile: Adjust.
7219
8c0ab919
RM
72202014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7221 Roland McGrath <roland@hack.frob.com>
7222
7223 * locale/weight.h: Add include guard.
7224 (findidx): Make static rather than auto; take new parameters
7225 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7226 * locale/weightwc.h: Likewise.
7227 * posix/fnmatch_loop.c
7228 (FCT): Change type of EXTRA from int32_t to wint_t.
7229 Don't include either header inside the function.
7230 Call FINDIDX rather than findidx, and pass new arguments.
7231 #undef FINDIDX at the end of the file.
7232 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7233 FINDIDX before including fnmatch_loop.c for the non-wide version.
7234 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7235 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7236 for the wide version.
7237 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7238 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7239 Pass new arguments to findidx.
7240 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7241 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7242 Don't #include it inside the function. Pass new arguments to findidx.
7243 * posix/regex_internal.h
7244 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7245 (re_string_elem_size_at): Don't #include it inside the function.
7246 Pass new arguments to findidx.
7247 * string/strcoll_l.c: #include WEIGHT_H at top level.
7248 (get_next_seq): Don't #include it inside the function.
7249 Pass new arguments to findidx.
7250 (get_next_seq_nocache): Likewise.
7251 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7252 (STRXFRM): Don't #include it inside the function.
7253 Pass new arguments to findidx.
7254
52ffbdf2
FW
72552014-09-11 Florian Weimer <fweimer@redhat.com>
7256
7257 [BZ #17344]
7258 * malloc/malloc.c (unlink): Turn asserts into a call to
7259 malloc_printerr.
7260
984c0ea9
TL
72612014-09-11 Tim Lammens <tim.lammens@gmail.com>
7262
7263 [BZ #17370]
7264 * libio/wfileops (do_ftell_wide): Free OUT.
7265
3daee107
CM
72662014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7267
7268 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7269
58b930ae
SP
72702014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7271
7272 [BZ #17363]
7273 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7274 group if the current group is empty.
7275
3b473fec
AZ
72762014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7277
71ae8647
AZ
7278 * benchtests/bench-memset.c (test_main): Add more test from size
7279 from 32 to 512 bytes.
7280 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7281 Add POWER8 memset object.
7282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7283 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7284 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7285 implementation.
7286 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7287 Likewise.
7288 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7289 multiarch POWER8 memset optimization.
7290 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7291 POWER8 memset optimization.
7292
3b473fec
AZ
7293 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7294 Remove bzero multiarch objects.
7295 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7296 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7297 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7298 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7299 Remove define.
7300 [__bzero]: Redefine to specific name.
7301 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7302 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7303 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7304 define.
7305 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7306 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7307
e6fb9587
FW
73082014-09-10 Florian Weimer <fweimer@redhat.com>
7309
7310 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7311 warnings into errors.
7312
7313 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7314 __cxa_thread_atexit_impl prototype.
7315
9d3a350b
SE
73162014-09-09 Steve Ellcey <sellcey@mips.com>
7317
7318 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7319 Fix capitalization of error message.
7320
0febba23
SE
73212014-09-09 Steve Ellcey <sellcey@mips.com>
7322
7323 * sysdeps/mips/preconfigure: Modify ABI tests.
7324
645a0e9c
CD
73252014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7326
7327 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7328
d83f0734
CD
73292014-09-07 Roland McGrath <roland@hack.frob.com>
7330 Carlos O'Donell <carlos@systemhalted.org>
7331
7332 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7333 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7334 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7335 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7336 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7337 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7338 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7339 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7340 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7341 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7342 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7343 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7344 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7345 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7346 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7347 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7348 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7349 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7350 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7351 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7352 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7353 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7354 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7355 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7356 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7357 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7358 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7359 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7360 Deconditionalize the code that was previously under [RESET_PID].
7361 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7362 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7363 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7364 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7365 include sysdep.h.
7366
21c83793
AM
73672014-09-08 Allan McRae <allan@archlinux.org>
7368
7369 * version.h (RELEASE): Set to "development".
7370 (VERSION): Set to "2.20.90"
7371
1cd9b65c
AM
73722014-09-07 Allan McRae <allan@archlinux.org
7373
b8079dd0
AM
7374 * version.h (RELEASE): Set to "stable".
7375 (VERSION): Set to "2.20"
7376 * include/features.h (__GLIBC_MINOR__): Set to 20.
7377
c46303ef
AM
7378 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7379 Liebler.
7380
1cd9b65c
AM
7381 * po/ko.po: Update Korean translation from translation project.
7382
8622092d
CM
73832014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7384
7385 [BZ #17354]
7386 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7387 macro for handling signed relocations.
7388
41488498
FW
73892014-09-03 Florian Weimer <fweimer@redhat.com>
7390
7391 [BZ #17325]
7392 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7393 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7394 assert.
7395 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7396 * iconvdata/ibm935.c (BODY): Likewise.
7397 * iconvdata/ibm937.c (BODY): Likewise.
7398 * iconvdata/ibm939.c (BODY): Likewise.
7399 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7400 assert.
7401 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7402 script.
7403 * iconvdata/run-iconv-test.sh: New test loop for checking for
7404 decoder crashers.
7405
a78b712d
KR
74062014-09-02 Khem Raj <raj.khem@gmail.com>
7407
7408 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7409 libm_hidden_ver.
7410
cb08abc6
AM
74112014-09-01 Allan McRae <allan@archlinux.org>
7412
2c31e102
AM
7413 * po/eo.po: Update Esperanto translation from translation project.
7414
cb08abc6
AM
7415 * po/ca.po: Update Catalan translation from translation project.
7416
17a62de1
ST
74172014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7418
7419 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7420 __proc_dostop call.
7421
9570bc53
MW
74222014-08-27 Mark Wielaard <mjw@redhat.com>
7423
7424 [BZ #17319]
7425 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7426 to call set_thread_area instead of hand written asm.
7427 (__NR_set_thread_area): Removed define.
7428 (TLS_FLAG_WRITABLE): Likewise.
7429 (__ASSUME_SET_THREAD_AREA): Remove check.
7430 (TLS_EBX_ARG): Remove define.
7431 (TLS_LOAD_EBX): Likewise.
7432
b0f955c9
ST
74332014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7434
7435 Simplify atomicity of socket creation in bind.
7436
7437 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7438 looking up the name after linking the file.
7439
529bf515
AM
74402014-08-27 Allan McRae <allan@archlinux.org>
7441
7442 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7443
a1a6a401
FW
74442014-08-26 Florian Weimer <fweimer@redhat.com>
7445
7446 [BZ #17187]
7447 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7448 trans_compare, open_translit, __gconv_translit_find):
7449 Remove module loading code.
7450
686ab290
AM
74512014-08-26 Allan McRae <allan@archlinux.org>
7452
e4e7cfd2
AM
7453 * po/vi.po: Update Vietnamese translation from translation project.
7454
6aa09f71
AM
7455 * po/uk.po: Update Ukrainian translation from translation project.
7456
edc0660e
AM
7457 * po/fr.po: Update French translation from translation project.
7458
7eea72ac
AM
7459 * po/ru.po: Update Russian translation from translation project.
7460
93c49eff
AM
7461 * po/pl.po: Update Polish translation from translation project.
7462
46acaf63
AM
7463 * po/cs.po: Update Czech translation from translation project.
7464
a9f5ce98
AM
7465 * po/de.po: Update German translation from translation project.
7466
373f2b78
AM
7467 * po/bg.po: Update Bulgarian translation from translation project.
7468
e7548bd8
AM
7469 * po/sv.po: Update Sweedish translation from translation project.
7470
c526bf4d
AM
7471 * po/nl.po: Update Dutch translation from translation project.
7472
686ab290
AM
7473 * po/es.po: Update Spanish translation from translation project.
7474
eb72478a
SP
74752014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7476
dd763fdb
SP
7477 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7478
318c7a58
SP
7479 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7480 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7481 (CPPFLAGS-iconvconfig): Likewise.
7482 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7483
eb72478a
SP
7484 * include/libc-symbols.h: Remove unnecessary check for
7485 NOT_IN_libc.
7486 * nptl/pthreadP.h: Likewise.
7487 * sysdeps/aarch64/setjmp.S: Likewise.
7488 * sysdeps/alpha/setjmp.S: Likewise.
7489 * sysdeps/arm/sysdep.h: Likewise.
7490 * sysdeps/i386/setjmp.S: Likewise.
7491 * sysdeps/m68k/setjmp.c: Likewise.
7492 * sysdeps/posix/getcwd.c: Likewise.
7493 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7494 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7495 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7496 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7497 * sysdeps/sh/sh3/setjmp.S: Likewise.
7498 * sysdeps/sh/sh4/setjmp.S: Likewise.
7499 * sysdeps/unix/alpha/sysdep.h: Likewise.
7500 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7501 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7502 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7503 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7508 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7511 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7513 * sysdeps/x86_64/setjmp.S: Likewise.
7514
d44a052c
JM
75152014-08-13 Joseph Myers <joseph@codesourcery.com>
7516
7517 [BZ #17263]
7518 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7519 <stdint.h>.
7520 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7521 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7522
508ce3ac
SP
75232014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7524
e44c8b0e
SP
7525 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7526
508ce3ac
SP
7527 [BZ #17262]
7528 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7529 and __x86_64__ when disabling x87 inline functions.
7530
b4acef1f
L
75312014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7532
7533 [BZ #17259]
7534 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7535 asm statement with __cpuid_count.
7536
61b1ef6e
MF
75372014-08-12 Mike Frysinger <vapier@gentoo.org>
7538
7539 * configure.ac: Change __ehdr_start code to dereference the struct.
7540 Run readelf on the output to look for relocations.
7541 * configure: Regenerated.
7542
898c62f4
JM
75432014-08-12 Joseph Myers <joseph@codesourcery.com>
7544
7545 [BZ #17261]
7546 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7547 value to 0.
7548 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7549
9a8a5720
RM
75502014-08-12 Roland McGrath <roland@hack.frob.com>
7551
7552 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7553
4e75751c
BO
75542014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7555
7556 [BZ #16892]
7557 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7558 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7559
bb2ce416
SA
75602014-08-12 Sean Anderson <seanga2@gmail.com>
7561
7562 * malloc/malloc.c: Fix typo in comment.
7563
7950a4ee
AM
75642014-08-09 Allan McRae <allan@archlinux.org>
7565
7566 * Regenerate libc.po.
7567
f469c49f
MF
75682014-08-08 Mike Frysinger <vapier@gentoo.org>
7569
7570 * intl/tst-gettext2.sh: Check every lang file for creation.
7571
656b84c2
WD
75722014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7573
7574 * sysdeps/aarch64/fpu/math_private.h
7575 (libc_feholdsetround_noex_aarch64_ctx): New function.
7576
538e9e45
W
75772014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7578
7579 * sysdeps/arm/armv6/strcpy.S (strcpy):
7580 Fix performance issue in misaligned cases.
7581
d4795e4a
AZ
75822014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7583
7584 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7585 Move definition from termios.h.
7586 (struct termio): Likewise.
7587 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7588 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7589 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7590 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7591 Likewise.
7592 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7593 Move definition to ioctl-types.h
7594 (struct termio): Likewise.
7595 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7596 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7597 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7598 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7599 Likewise.
7600
64accb62
RH
76012014-08-05 Richard Henderson <rth@redhat.com>
7602
27bb6dc0
RH
7603 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7604 exceptions.
7605 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7606 Add fraiseexcpt.
7607 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7608 Use __feraiseexcept.
7609 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7610 Protect libm symbols with IS_IN_libm.
7611
64accb62
RH
7612 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7613
e5292691
BO
76142014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7615
7616 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7617
5b4bd2d4
WN
76182014-08-04 Will Newton <will.newton@linaro.org>
7619
7620 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7621 file.
7622
fcadaeef
MF
76232014-08-04 Mike Frysinger <vapier@gentoo.org>
7624
7625 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7626 variants for each function.
7627
43a94c64
RM
76282014-08-04 Roland McGrath <roland@hack.frob.com>
7629
7630 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7631 appended ...
7632 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7633 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7634 appended ...
7635 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7636 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7637 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7638 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7639 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7640 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7641 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7642 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7643 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7644 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7645 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7646 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7647 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7648 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7649 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7650 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7651 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7652 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7653 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7654 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7655 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7656 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7657 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7658 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7659 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7660 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7661 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7662 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7663 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7664 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7665 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7666 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7667 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7668 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7669 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7670 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7671 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7672 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7673 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7674 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7675 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7676 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7677 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7678 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7679 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7680 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7681 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7682 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7683 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7684 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7685 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7686 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7687 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7688 Update #include.
7689 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7690 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7691
8f3c1fa4
RM
76922014-08-04 Roland McGrath <roland@hack.frob.com>
7693
7694 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7695 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7696 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7697 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7698 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7699 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7700
ca08746f
RM
77012014-08-04 Roland McGrath <roland@hack.frob.com>
7702
7703 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7704 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7705 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7706 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7707
9c925ff9
RM
77082014-08-04 Roland McGrath <roland@hack.frob.com>
7709
7710 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7711 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7712 (__libc_vfork): Define function under this name.
7713 (__vfork): Define as an alias.
7714 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7715 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7716
e641054c
RM
77172014-08-04 Roland McGrath <roland@hack.frob.com>
7718
7719 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7720 that was previously under [RESET_PID].
7721 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7722
dacdc867
AS
77232014-08-04 Andreas Schwab <schwab@suse.de>
7724
7725 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7726
41f725ff
MF
77272014-08-03 Mike Frysinger <vapier@gentoo.org>
7728
7729 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7730 (main): Likewise.
7731
277cfb31
RM
77322014-08-01 Roland McGrath <roland@hack.frob.com>
7733
7734 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7735
4896f049
RH
77362014-08-01 Richard Henderon <rth@redhat.com>
7737
7738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7739 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7740 typo in exact zero test.
7741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7742 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7744
6f64e7d7
RM
77452014-08-01 Roland McGrath <roland@hack.frob.com>
7746
7747 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7748 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7749 * sysdeps/arm/sysdep.h: ... here.
7750 [!__ASSEMBLER__]: Include <stdint.h>.
7751
3f3dd810
SP
77522014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7753
a476ac4b
SP
7754 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7755 (HAVE_WCTYPE_H): Likewise.
7756 (HAVE_ISWCTYPE): Likewise.
7757 (ENABLE_NLS): Likewise.
7758 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7759 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7760
78dd658a
SP
7761 * posix/regex_internal.c: Check if DEBUG is defined and is
7762 set.
7763
3f3dd810
SP
7764 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7765 (HAVE_MBSRTOWCS): Likewise.
7766 * posix/fnmatch.c: Include string.h unconditionally.
7767
95ee7fb1
SL
77682014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7769
7770 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7771 reversal.
7772
23fe486b
RM
77732014-07-31 Roland McGrath <roland@hack.frob.com>
7774
f61a113f
RM
7775 * sysdeps/generic/safe-fatal.h: New file.
7776 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7777 * nptl/forward.c: Include it.
7778 (__pthread_unwind): Use __safe_fatal as default action, rather
7779 than a bogus use of INTERNAL_SYSCALL that could never work.
7780
9fe7e787
RM
7781 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7782 * configure.ac (libc_cv_builtin_trap): New test.
7783 * configure: Regenerated.
7784 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7785 (ABORT_INSTRUCTION): Define using __builtin_trap.
7786
23fe486b
RM
7787 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7788 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7789 * sysdeps/nptl/nptl-signals.h: New file.
7790 * nptl/pthreadP.h: Include <nptl-signals.h>.
7791
f349489e
SL
77922014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7793
7794 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7795 (ONE_DIRECTION): Define.
7796 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7797 (ONE_DIRECTION): Define.
7798 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7799 (ONE_DIRECTION): Define.
7800
2f438e20
SL
78012014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7802
7803 * sysdeps/s390/Makefile: Delete file.
7804 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7805 * sysdeps/s390/__longjmp.c: Delete file.
7806 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7807 Remove fields __flags and __reserved.
7808 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7809 and add versioning.
7810 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7811 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7812 * sysdeps/s390/rtld-setjmp.S: Likewise.
7813 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7814 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7815 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7816 * sysdeps/s390/s390-32/setjmp.S: ... here.
7817 Add versioning.
7818 (__sigsetjmp): Remove setting __flags field.
7819 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7820 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7821 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7822 * sysdeps/s390/s390-64/setjmp.S: ... here.
7823 Add versioning.
7824 (__sigsetjmp): Remove setting __flags field.
7825 * sysdeps/s390/setjmp.S: Delete file.
7826 * sysdeps/s390/sigjmp.c: Likewise.
7827 * sysdeps/s390/v1-longjmp.c: Likewise.
7828 * sysdeps/s390/v1-setjmp.h: Likewise.
7829 * sysdeps/s390/v1-sigjmp.c: Likewise.
7830 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7831 Remove v1-longjmp_chk.
7832 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7833 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7834 Include debug/longjmp_chk.c and add versioning.
7835 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7836 Include nptl/pt-longjmp.c and add versioning.
7837 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7838 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7839 Include __longjmp.c.
7840 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7841 Move to ...
7842 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7843 (__getcontext): Remove setting __flags field.
7844 Add versioning.
7845 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7846 Don't restore upper high grps.
7847 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7848 Likewise.
7849 (__swapcontext): Remove setting uc_flags field.
7850 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7851 Delete file.
7852 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7853 Include __longjmp.c.
7854 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7855 Move to ...
7856 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7857 (__getcontext): Remove setting __flags field.
7858 Add versioning.
7859 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7860 (__swapcontext): Remove setting uc_flags field.
7861 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7863 Remove fields uc_high_gprs and __reserved.
7864 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7865 New file with reverted content.
7866 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7868 Regenerated.
7869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7870 Regenerated.
7871
6c9578a2
AS
78722014-07-31 Andreas Schwab <schwab@suse.de>
7873
7874 * config.h.in (HAVE_IFUNC): Define to 0.
7875 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7876 definedness.
7877
05f3633d
LM
78782014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7879
7880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7881 memmove-avx-unaligned, memcpy-avx-unaligned and
7882 mempcpy-avx-unaligned.
7883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7884 Add tests for AVX memcpy functions.
7885 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7886 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7887 memcpy_chk.
7888 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7889 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7890 memmove_chk.
7891 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7892 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7893 mempcpy_chk.
7894 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7895 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7896 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7897
a53fbd8e
AZ
78982013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7899
7900 [BZ #17213]
7901 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7902 powerpc64le.
7903
0961f7e1
JL
79042014-07-29 Jeff Layton <jlayton@poochiereds.net>
7905
7906 [BZ #16839]
7907 * manual/llio.texi: Add section about open file description locks.
7908 * manual/examples/ofdlocks.c: Example of open file description
7909 lock usage.
7910 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7911 F_OFD_SETLK, and F_OFD_SETLKW.
7912
cc5fb300
AM
79132014-07-23 Allan McRae <allan@archlinux.org>
7914
7915 * po/es.po: Update Spanish translation from translation project.
7916
23329dca
AS
79172014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7918
7919 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7920
9c82da17
MR
79212014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7922
7923 [BZ #17078]
7924 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7925 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7926 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7927
29c4f53e
JM
79282014-07-17 Joseph Myers <joseph@codesourcery.com>
7929
831b9896
JM
7930 [BZ #17088]
7931 * math/fesetenv.c (__fesetenv)
7932 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7933 * math/feupdateenv.c (__feupdateenv)
7934 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7935
b21c2d50
JM
7936 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7937 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7938 (__ASSUME_SOCKETCALL): Do not define.
7939
067764ef
JM
7940 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7941 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7942 (__ASSUME_SOCKETCALL): Do not define.
7943 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7944 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7945 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7946 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7947 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7948 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7949 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7950 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7951
642530c1
JM
7952 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7953 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7954 (__ASSUME_SOCKETCALL): Do not define.
7955 (__ASSUME_IPC64): Define unconditionally.
7956 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7957 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7958 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7959 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7960 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7961 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7962 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7963 Likewise.
7964
03f77315
JM
7965 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7966 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7967 (__ASSUME_SOCKETCALL): Do not define.
7968 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7969 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7970 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7971 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7972 (__ASSUME_REQUEUE_PI): Define unconditionally.
7973 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7974 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7975 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7976 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7977 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7978 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7979
083b1f7c
JM
7980 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7981 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7982 (__ASSUME_SOCKETCALL): Do not define.
7983 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7984 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7985 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7986 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7987 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7988 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7989
5be44ea6
JM
7990 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7991 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7992 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7993 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7994 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7995 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7996 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7997 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7998 (__ASSUME_GETCPU_SYSCALL): Likewise.
7999
d95ffd4c
JM
8000 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8001 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8002 cases for individual architectures.
8003 * sysdeps/gnu/configure: Regenerated.
8004 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8005 LIBC_SLIBDIR_RTLDDIR.
8006 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8007 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8008 LIBC_SLIBDIR_RTLDDIR.
8009 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8011 LIBC_SLIBDIR_RTLDDIR.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8013 Regenerated.
8014 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8015 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8016 file.
8017 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8018 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8019 file.
8020 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8021 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8022 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8023 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8024
29c4f53e
JM
8025 * sysdeps/aarch64/shlib-versions: Move to ...
8026 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8027 * sysdeps/alpha/shlib-versions: Move to ...
8028 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8029 * sysdeps/arm/shlib-versions: Move to ...
8030 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8031 * sysdeps/hppa/shlib-versions: Move all contents except for
8032 libgcc_s entry to ...
8033 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8034 entry from ...
8035 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8036 * sysdeps/ia64/shlib-versions: Move to ...
8037 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8038 entry from ...
8039 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8040 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8041 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8042 * sysdeps/microblaze/shlib-versions: Move to ...
8043 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8044 * sysdeps/mips/shlib-versions: Move to ...
8045 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8046 entry from ...
8047 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8048 * sysdeps/tile/shlib-versions: Move to ...
8049 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8050 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8051 from ...
8052 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8053 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8054 entry from ...
8055 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8056
32bead5b
WN
80572014-07-17 Will Newton <will.newton@linaro.org>
8058
57977c4b
WN
8059 * sysdeps/arm/bits/atomic.h
8060 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8061 (__arch_compare_and_exchange_bool_16_int): Likewise.
8062 (__arch_compare_and_exchange_bool_64_int): Likewise.
8063
32bead5b
WN
8064 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8065 into an #else block.
8066
37fccd41
RM
80672014-07-16 Roland McGrath <roland@hack.frob.com>
8068
8069 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8070 just Linux configurations. Test empirically that the compiler sets
8071 __ARM_EABI__, rather than using the tuple to decide.
8072 * sysdeps/arm/preconfigure: Regenerated.
8073 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8074 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8075 contents appended ...
8076 * sysdeps/arm/configure.ac: ... here.
8077 * sysdeps/arm/configure: Regenerated.
8078
b365f3ec
RM
80792014-07-15 Roland McGrath <roland@hack.frob.com>
8080
8badf496
RM
8081 * nptl/pthread_kill.c: New file.
8082 * nptl/pthread_sigmask.c: New file.
8083 * nptl/pthread_sigqueue.c: New file.
8084
3df6f22e
RM
8085 * sysdeps/nptl/lowlevellock.h: New file.
8086 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8087 * sysdeps/nptl/lowlevellock-futex.h: New file.
8088
b365f3ec
RM
8089 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8090 Remove dead declarations.
8091
f2fef657
L
80922014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8093
8094 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8095 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8096 config-cflags-avx2.
8097 * sysdeps/x86_64/configure.ac: Likewise.
8098 * sysdeps/i386/configure: Regenerated.
8099 * sysdeps/x86_64/configure: Likewise.
8100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8101 memset-avx2 only if config-cflags-avx2 is yes.
8102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8103 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8104 defined.
8105 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8106 only if HAVE_AVX2_SUPPORT is defined.
8107 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8108
f6c44d47
AM
81092014-07-14 Alan Modra <amodra@gmail.com>
8110
8111 [BZ #17153]
8112 * elf/elf.h (DT_PPC64_NUM): Correct value.
8113 * NEWS: Add to fixed bug list.
8114
7ee03f00
JM
81152014-07-13 Jim Meyering <meyering@fb.com>
8116
8117 [BZ 17150]
8118 regex: don't deref NULL upon heap allocation failure
8119 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8120 failure in one more place.
8121 To trigger the segfault, configure grep -with-included-regex,
8122 build it, and run these commands:
8123 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8124
9d39d517
AS
81252014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8126
8127 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8128
a75b89b7
RH
81292014-07-11 Richard Henderson <rth@redhat.com>
8130
8131 * sysdeps/aarch64/libm-test-ulps: Update.
8132
771eb141
FW
81332014-07-10 Florian Weimer <fweimer@redhat.com>
8134
8135 [BZ #17135]
8136 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8137 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8138 (__nptl_setxid): Initialize error member. Call
8139 __nptl_setxid_error.
8140 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8141 * nptl/descr.h (struct xid_command): Add error member.
8142 * nptl/tst-setuid3.c: New file.
8143 * nptl/Makefile (tests): Add it.
8144
bc1da176
AZ
81452014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8146
8147 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8148 New define.
8149 (__lll_trylock): Use __lll_base_trylock.
8150 (__lll_cond_trylock): Likewise.
8151
887865fc
RM
81522014-07-10 Roland McGrath <roland@hack.frob.com>
8153
c0c6bac9
RM
8154 * nptl/pthread_create.c (start_thread): Use atomic_or and
8155 lll_futex_wake directly rather than lll_robust_dead.
8156 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8157 (lll_robust_dead): Macro removed.
6a42be57 8158 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8159 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8160 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8161 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8162 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8163 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8164 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8165 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8166 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8167 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8168 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8169 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8170 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8171 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8172 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8173
887865fc
RM
8174 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8175 Use atomic_compare_and_exchange_val_acq directly rather than
8176 lll_robust_trylock.
8177 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8178 (__lll_robust_trylock, lll_robust_trylock): Removed.
8179 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8180 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8181 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8182 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8183 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8184 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8185 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8186 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8187 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8188 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8189 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8190 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8191 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8193
58536726
FW
81942014-07-02 Florian Weimer <fweimer@redhat.com>
8195
8196 * manual/locale.texi (Locale Names): New section documenting
8197 locale name syntax. Adjust menu and node chaining accordingly.
8198 (Choosing Locale): Reference Locale Names, Locale Categories.
8199 Mention setting LC_ALL=C. Reflect that name syntax is now
8200 documented.
8201 (Locale Categories): New section title. Reference Locale Names.
8202 LC_ALL is an environment variable, but not a category.
8203 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8204 description, now in Locale Name. Reference that section. Locale
8205 name syntax is now documented.
8206
4e8f95a0
FW
82072014-07-02 Florian Weimer <fweimer@redhat.com>
8208
8209 [BZ #17137]
8210 * locale/findlocale.c (name_present, valid_locale_name): New
8211 functions.
8212 (_nl_find_locale): Use the loc_name variable to store name
8213 candidates. Call name_present and valid_locale_name to check and
8214 validate locale names. Return an error if the locale is invalid.
8215
d1836456
FW
82162014-07-02 Florian Weimer <fweimer@redhat.com>
8217
8218 * locale/setlocale.c (setlocale): Use strdup for allocating
8219 composite name copy.
8220
d69b7f5a
SP
82212014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8222
888c679b
SP
8223 Sync up with gnulib.
8224 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8225 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8226 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8227 and _GL_ARG_NONNULL.
8228 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8229 [!_LIBC]: Include code for Windows and Cygwin.
8230 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8231 Include prototype for int strerror_r.
8232 [!_LIBC] (is_open): New function.
8233 (flush_stdout): New function.
8234 (print_errno_message): Use it.
8235 (error): Likewise.
8236 (error_at_line): Likewise.
8237 (error_tail) Add function attribute macros. Use
8238 __builtin_expect.
8239
180e0e4b
SP
8240 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8241
d22f1fe2
SP
8242 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8243
12f2254b
SP
8244 * io/ftw.c: Include sys/param.h unconditionally.
8245
c3c7c360
SP
8246 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8247
d62aa75a
SP
8248 [BZ #17125]
8249 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8250 libc_freeres_ptr.
8251 (freecache): New function to free CACHE on exit.
8252
d69b7f5a
SP
8253 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8254 initialization.
8255
5efe06a1
DM
82562014-07-09 David S. Miller <davem@davemloft.net>
8257
8258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8259
7000d82e
DM
8260 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8261 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8262 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8263 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8264 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8265 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8266 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8267 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8268 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8269 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8270 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8271 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8272 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8273
c213442d
AS
82742014-07-09 Andreas Schwab <schwab@suse.de>
8275
4a2552c3
AS
8276 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8277 output.
8278 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8279 (do_test): Likewise.
8280
c213442d
AS
8281 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8282
82374e65
WN
82832014-07-09 Will Newton <will.newton@linaro.org>
8284
8285 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8286 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8287 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8288 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8289 * sysdeps/hppa/start.S (_start): Likewise.
8290
6680738a
SP
82912014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8292
6ee3eab4
SP
8293 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8294
6680738a
SP
8295 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8296 defined.
8297
80b5c505
SP
82982014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8299
e35c53e3
SP
8300 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8301 after checking that it is non-NULL.
8302
80b5c505
SP
8303 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8304
91f4b564
AZ
83052014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8306
27b75f56
AZ
8307 * sysdeps/powerpc/memmove.c: Remove file.
8308 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8309 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8310 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8311 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8312 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8313 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8314 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8315 string memmove instead of removed powerpc one.
8316
e7f95bb5
AZ
8317 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8318 [weak_alias]: Fix compiler warning due trailing data.
8319 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8320 [weak_alias]: Likewise.
8321 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8322 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8323
91f4b564
AZ
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8325 (__libc_ifunc_impl_list): Add memmove functions.
8326
7c33f1e5
SP
83272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8328
8329 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8330 Remove code.
8331 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8332 Likewise
8333 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8334 Likewise
8335 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8336 Likewise
8337 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8338 Likewise
8339 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8340 Likewise
8341 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8342 Likewise
8343 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8344 Likewise
8345 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8346 Likewise
8347 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8348 Likewise
8349 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8350 Likewise
8351 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8352 Likewise
8353 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8354 Likewise
8355 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8356 Likewise
8357 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8358 Likewise
8359 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8360 Likewise
8361 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8362 Likewise
8363
3f17b03b
AZ
83642014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8365
87868c24
AZ
8366 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8367 to avoid alignment traps in non-cacheable memory.
8368 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8369
07aedd78
AZ
8370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8371 multiarch objects.
8372 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8373 file: multiarch power7 memmove.
8374 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8375 multiarch default memmove.
8376 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8377 multiarch memove for powerpc32/power4.
8378
17762f66
AZ
8379 * string/bcopy.c: Use full path to include memmove.c.
8380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8381 multiarch objects.
8382 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8383 bcopy for powerpc64.
8384 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8385 bcopy for powerpc64.
8386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8387 and memmove implementations.
8388 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8389 optimized multiarch memmove for POWER7/powerpc64.
8390 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8391 default multiarch memmove for powerpc64.
8392 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8393 multiarch for powerpc64.
8394 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8395 for POWER7/powerpc64.
8396 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8397 memmove for POWER7/powerpc64.
8398
d6f68bbe
AZ
8399 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8400 glibc default one.
8401
3f17b03b
AZ
8402 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8403 __ELF_NATIVE_CLASS equal to 64.
8404
08192659
RM
84052014-07-07 Roland McGrath <roland@hack.frob.com>
8406
f4c4021b
RM
8407 * sysdeps/nptl/lowlevellock.h: File removed.
8408
f083450f
RM
8409 * NEWS: NPTL is no longer an add-on!
8410 * nptl/internaltypes.h: Moved ...
8411 * sysdeps/nptl/internaltypes.h: ... here.
8412 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8413 * sysdeps/nptl/fork.c: Likewise.
8414 * sysdeps/nptl/gai_misc.h: Likewise.
8415 * sysdeps/nptl/librt-cancellation.c: Likewise.
8416 * sysdeps/nptl/jmp-unwind.c: Likewise.
8417 * sysdeps/nptl/setxid.h: Likewise.
8418 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8419 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8420 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8421 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8422 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8423 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8424 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8425 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8426 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8427 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8428 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8429 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8430 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8431 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8432 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8433 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8434 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8435 * nptl/Makeconfig: Moved ...
8436 * sysdeps/nptl/Makeconfig: ... here.
8437 * nptl/configure: File removed.
8438 * nptl/ANNOUNCE: File removed.
8439 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8440 * sysdeps/unix/sysv/linux/configure: Regenerated.
8441
08192659
RM
8442 * nptl/Makefile (routines): Add libc_pthread_init,
8443 libc_multiple_threads, register-atfork and unregister-atfork.
8444 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8445 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8446 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8447 pthread-pi-defines.sym, structsem.sym.
8448 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8449 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8450 [$(subdir) = nptl] (tests): Add tst-setgetname.
8451 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8452 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8453 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8454 [!LIBC_SIGACTION]: Remove aliases.
8455 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8456 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8457 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8458 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8459 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8460 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8461 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8463 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8464 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8465 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8466 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8467 __libc_allocate_rtsig_private.
8468 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8469 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8470 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8471 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8472 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8473 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8474 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8475 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8476 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8477 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8478 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8479 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8480 * nptl/internaltypes.h: ... here.
8481 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8482 * sysdeps/nptl/jmp-unwind.c: ... here.
8483 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8484 * nptl/libc-lowlevellock.c: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8486 * nptl/libc_multiple_threads.c: ... here.
8487 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8488 * nptl/libc_pthread_init.c: ... here.
8489 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8490 * nptl/lowlevelbarrier.sym: ... here.
8491 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8492 * nptl/lowlevelcond.sym: ... here.
8493 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8494 * nptl/lowlevellock.c: ... here.
8495 * nptl/lowlevellock.h: Moved ...
8496 * sysdeps/nptl/lowlevellock.h: ... here.
8497 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8498 * nptl/lowlevelrobustlock.c: ... here.
8499 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8500 * nptl/lowlevelrobustlock.sym: ... here.
8501 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8502 * nptl/lowlevelrwlock.sym: ... here.
8503 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8504 * nptl/pt-fork.c: ... here.
8505 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8506 * nptl/pthread-pi-defines.sym: ... here.
8507 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8508 * nptl/pthread_attr_getaffinity.c: ... here.
8509 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8510 * nptl/pthread_attr_setaffinity.c: ... here.
8511 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8512 * nptl/pthread_mutex_cond_lock.c: ... here.
8513 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8514 Update #include.
8515 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8516 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8517 * nptl/pthread_once.c: ... here, replacing old file.
8518 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8519 * nptl/pthread_yield.c: ... here.
8520 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8521 * nptl/register-atfork.c: ... here.
8522 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8523 * nptl/sem_post.c: ... here.
8524 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8525 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8526 * nptl/sem_timedwait.c: ... here.
8527 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8528 * nptl/sem_trywait.c: ... here.
8529 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8530 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8531 * nptl/sem_wait.c: ... here.
8532 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8533 * nptl/structsem.sym: ... here.
8534 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8535 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8536 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8537 * nptl/unregister-atfork.c: ... here.
8538 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8539 * nptl/unwindbuf.sym: ... here.
8540 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8541 * sysdeps/nptl/fork.c: ... here.
8542 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8543 * sysdeps/nptl/fork.h: ... here.
8544 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8545 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8546 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8547 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8548 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8549 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8550 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8551 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8552 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8553 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8554 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8555 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8556 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8557 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8558 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8559 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8560 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8561 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8562 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8563 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8564 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8565 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8566 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8567 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8568 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8569 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8570 * sysdeps/unix/sysv/linux/raise.c: ... here.
8571 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8572 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8573 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8574 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8575 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8576 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8577 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8578 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8579 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8580 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8581 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8582 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8583 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8584 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8585 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8586
96baf6ff
SP
85872014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8588
8589 * sysdeps/generic/memcopy.h: Add comment for
8590 MEMCPY_OK_FOR_FWD_MEMMOVE.
8591
6b7b14b2
WN
85922014-07-04 Will Newton <will.newton@linaro.org>
8593
1570a72b
WN
8594 * string/memchr.c: Merge from gnulib.
8595 [_LIBC]: Remove conditionals.
8596 (__ptr_t): Remove define.
8597 (LONG_MAX_32_BITS): Likewise.
8598 (LONG_MAX): Likewise.
8599 (MEMCHR): Use ANSI prototype and optimize algorithm.
8600
6b7b14b2
WN
8601 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8602
38851324
SP
86032014-07-03 Roland McGrath <roland@hack.frob.com>
8604
3d9eb57c
RM
8605 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8606 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8607
78b984ae
RM
8608 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8609 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8610 in a bare environment with no <stdlib.h> installed.
8611 * sysdeps/nptl/configure: Regenerated.
8612
2d5976a5
RM
8613 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8614
c1f5acd4
RM
8615 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8616 AC_EGREP_CPP for kernel header checks, so they only succeed if
8617 including <linux/version.h> actually works right.
8618 * sysdeps/unix/sysv/linux/configure: Regenerated.
8619
4d614fe5
RM
8620 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8621 value so it's not diagnosed as unused.
8622
38851324
SP
8623 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8624 thing) with "ifeq ($(subdir),rt)".
8625
b3ec00e5
RH
86262014-07-03 Richard Henderson <rth@redhat.com>
8627
69862e25
RH
8628 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8629 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8630 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8631
d5e16ade
RH
8632 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8633 (math_force_eval): New.
8634
ca7b945c
RH
8635 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8636 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8637
cd1175a3
RH
8638 * sysdeps/alpha/fpu/s_round.c: Remove file.
8639 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8640
b3ec00e5
RH
8641 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8642 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8643 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8644 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8645 (_dl_start, print_statistics): Likewise.
8646 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8647 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8648
8649 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8650 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8651 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8652 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8654 (HP_SMALL_TIMING_AVAIL): Define.
8655 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8656 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8657 (HP_SMALL_TIMING_AVAIL): Define.
8658 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8659 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8660
8661 * sysdeps/aarch64/hp-timing.h: New file.
8662
8663 * sysdeps/generic/hp-timing.h: Remove dead comment.
8664 * sysdeps/generic/hp-timing-common.h: New file.
8665 * sysdeps/alpha/hp-timing.h: Include it.
8666 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8667 * sysdeps/i386/i686/hp-timing.h: Likewise.
8668 * sysdeps/ia64/hp-timing.h: Likewise.
8669 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8670 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8671 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8672 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8673 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8674 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8675 (hp_timing_t): New.
8676
8677 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8678 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8679 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8680 * elf/rtld.c (_dl_start_final): Likewise.
8681 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8682 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8683 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8684 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8685 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8686 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8687 (HP_TIMING_DIFF_INIT): Remove.
8688 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8689 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8690 (HP_TIMING_DIFF_INIT): Remove.
8691 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8692 * sysdeps/i386/i686/hp-timing.c: Remove file.
8693 * sysdeps/x86_64/hp-timing.c: Remove file.
8694 * sysdeps/ia64/hp-timing.c: Remove file.
8695 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8696 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8697 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8698 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8699
8700 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8701 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8702 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8703 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8704 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8705 (HP_TIMING_ACCUM): Remove.
8706 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8707 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8708 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8709
8710 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8711 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8712 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8713 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8715 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8716 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8717 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8718
8719 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8720
225f410f
MR
87212014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8722
8723 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8724
3247f285
SP
87252014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8726
8727 Sync up with gettext.
8728 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8729 [_MSC_VER]: Include malloc.h
8730 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8731 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8732 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8733 TEMP_FAILURE_RETRY. Cast return of alloca.
8734 [!_LIBC] Call gl_rwlock_init.
8735 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8736
d12704c7
SP
87372014-07-02 Roland McGrath <roland@hack.frob.com>
8738
8739 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8740 before checking its value.
8741
99f8dc92
SP
87422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8743
05fdac77
SP
8744 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8745
99f8dc92
SP
8746 * debug/memcpy_chk.c: Don't include pagecopy.h.
8747 * debug/mempcpy_chk.c: Likewise.
8748 * string/memcpy.c: Likewise.
8749 * string/memmove.c: Likewise.
8750 * sysdeps/powerpc/memmove.c: Likewise.
8751 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8752 definition of PAGE_COPY_FWD_MAYBE here...
8753 * sysdeps/generic/pagecopy.h: ... from here.
8754 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8755
bc8ea385
VR
87562014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8757 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8758
8759 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8761 optimizations.
8762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8763 (__libc_ifunc_impl_list): Likewise.
8764 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8765 multiarch strcat for PPC64.
8766 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8767 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8768
fe5f34e4
RM
87692014-07-02 Roland McGrath <roland@hack.frob.com>
8770
8771 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8772
256aa665
SP
87732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8774
d4eb8195
SP
8775 * intl/loadmsgcat.c: Remove declaration of
8776 get_sysdep_segment_value.
8777 (get_sysdep_segment_value): Use ISO C style.
8778 (_nl_load_domain): Use ISO C style. Get rid of redundant
8779 semicolon. Fix typo and formatting in comment.
8780 (_nl_unload_domain): Use ISO C style.
8781
256aa665
SP
8782 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8783
b100f9aa
WN
87842014-07-02 Will Newton <will.newton@linaro.org>
8785
8786 * malloc/obstack.c: Merge from gnulib master.
8787 [HAVE_CONFIG_H]: Remove conditional code.
8788 [!_LIBC]: Include config.h.
8789 [!ELIDE_CODE]: Don't include inttypes.h, include
8790 stdint.h unconditionally.
8791 (print_and_abort): Mark as _Noreturn.
8792 (_obstack_allocated_p): Mark as __attribute_pure__.
8793 (obstack_free): Rename to __obstack_free.
8794 [!__attribute__]: Remove conditional code.
8795 * malloc/obstack.h: Merge from gnulib master.
8796 [__cplusplus]: Move conditional down.
8797 [!__attribute_pure__]: Define __attribute_pure__ here
8798 if it is not already defined.
8799 (_obstack_memory_used): Mark as __attribute_pure__.
8800 [!__obstack_free]: Define as obstack_free.
8801 [__GNUC__]: Remove check for ancient NeXT gcc.
8802
c4c41244
PE
88032014-07-02 Will Newton <will.newton@linaro.org>
8804 Paul Eggert <eggert@cs.ucla.edu>
8805
8806 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8807
e1e041c4
SP
88082014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8809
8810 * resolv/gethnamaddr.c: Add comment warning that the file is
8811 not maintained.
8812
ccf431ff
CD
88132014-07-01 Carlos O'Donell <carlos@redhat.com>
8814
d34570a6
CD
8815 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8816 entries.
8817
ccf431ff
CD
8818 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8819 entry for aio_cancel and aio_cancel64.
8820 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8821 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8822 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8823 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8824 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8825 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8826 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8827 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8828 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8829 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8830 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8831 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8832 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8833
ca06321d
RM
88342014-07-01 Roland McGrath <roland@hack.frob.com>
8835
8836 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8837 * nptl/pthread_mutex_lock.c: Likewise.
8838 * nptl/pthread_mutex_timedlock.c: Likewise.
8839 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8840
a1ac3184
RH
88412014-07-01 Richard henderson <rth@redhat.com>
8842
631021e0
RH
8843 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8844 (__isnan, __isnanl): Remove.
8845 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8846
a1ac3184
RH
8847 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8848
0c1d731f
SL
88492014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8850
8851 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8852
76985d3e
SP
88532014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8854
8855 * resolv/nss_dns/dns-host.c (getanswer_r)
8856 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8857
b0cb3096
JM
88582014-07-01 Joseph Myers <joseph@codesourcery.com>
8859
8860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8861 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8862 undefine.
8863 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8864 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8865
4d76cb39
RM
88662014-07-01 Roland McGrath <roland@hack.frob.com>
8867
8868 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8869 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8870
8871 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8872 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8873
8874 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8875 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8876 ... here.
8877 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8878 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8879
8880 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8881 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8882 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8883 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8884
8885 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8886 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8887 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8888 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8889 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8890 Moved ...
8891 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8892 ... here.
8893 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8894 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8895 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8896 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8897 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8898 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8899 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8900 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8901 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8904 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8913 ... here.
8914 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8915 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8916 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8917 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8918 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8919 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8920 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8921 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8922
0cdcad17
DH
89232014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8924
8925 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8926 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8927 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8928 Add sysdep.
8929
9b71d0e3
AZ
89302014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931
8932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8933
665390c2
JM
89342014-06-30 Joseph Myers <joseph@codesourcery.com>
8935
ae05a9d7
JM
8936 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8937 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8938
a7672a2f
JM
8939 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8940
665390c2
JM
8941 * sysdeps/arm/libm-test-ulps: Regenerated.
8942
d7a05d07
MR
89432014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8944 Roland McGrath <roland@hack.frob.com>
8945
8946 * test-skeleton.c (signal_handler): Kill the whole process group
8947 before killing the child individually.
8948 (main): Report any failure on `setpgid'.
8949
46f1d8a6
RM
89502014-06-30 Roland McGrath <roland@hack.frob.com>
8951
8952 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8953 from _TLS_H to _ARM_NPTL_TLS_H.
8954 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8955 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8956
9c37ec0b
JM
89572014-06-30 Joseph Myers <joseph@codesourcery.com>
8958
ce9c5b3e
JM
8959 [BZ #16539]
8960 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8961 (__expm1l): Return argument unchanged when small but not
8962 subnormal.
8963
3a6e9887
JM
8964 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8965 include macro name.
8966 (_FP_UNPACK_RAW_1_P): Likewise.
8967 (_FP_PACK_RAW_1): Likewise.
8968 (_FP_PACK_RAW_1_P): Likewise.
8969 (_FP_MUL_MEAT_1_wide): Likewise.
8970 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8971 (_FP_MUL_MEAT_1_hard): Likewise.
8972 (_FP_DIV_MEAT_1_imm): Likewise.
8973 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8974 (_FP_DIV_MEAT_1_udiv): Likewise.
8975 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8976 (_FP_UNPACK_RAW_2): Likewise.
8977 (_FP_UNPACK_RAW_2_P): Likewise.
8978 (_FP_PACK_RAW_2): Likewise.
8979 (_FP_PACK_RAW_2_P): Likewise.
8980 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8981 (_FP_MUL_MEAT_2_wide): Likewise.
8982 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8983 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8984 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8985 (_FP_MUL_MEAT_2_gmp): Likewise.
8986 (_FP_DIV_MEAT_2_udiv): Likewise.
8987 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8988 (_FP_FRAC_SRL_4): Likewise.
8989 (_FP_FRAC_SRST_4): Likewise.
8990 (_FP_FRAC_SRS_4): Likewise.
8991 (_FP_UNPACK_RAW_4): Likewise.
8992 (_FP_UNPACK_RAW_4_P): Likewise.
8993 (_FP_PACK_RAW_4): Likewise.
8994 (_FP_PACK_RAW_4_P): Likewise.
8995 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8996 (_FP_MUL_MEAT_4_wide): Likewise.
8997 (_FP_MUL_MEAT_4_gmp): Likewise.
8998 (umul_ppppmnnn): Likewise.
8999 (_FP_DIV_MEAT_4_udiv): Likewise.
9000 (__FP_FRAC_ADD_4): Likewise.
9001 (__FP_FRAC_SUB_3): Likewise.
9002 (__FP_FRAC_SUB_4): Likewise.
9003 (__FP_FRAC_DEC_3): Likewise.
9004 (__FP_FRAC_DEC_4): Likewise.
9005 (__FP_FRAC_ADDI_4): Likewise.
9006 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9007 (_FP_FRAC_SRL_8): Likewise.
9008 (_FP_FRAC_SRS_8): Likewise.
9009
9c37ec0b
JM
9010 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9011 include macro name.
9012 (FP_UNPACK_RAW_EP): Likewise.
9013 (FP_PACK_RAW_E): Likewise.
9014 (FP_PACK_RAW_EP): Likewise.
9015 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9016 (_FP_ISSIGNAN): Likewise.
9017 (_FP_ADD_INTERNAL): Likewise.
9018 (_FP_FMA): Likewise.
9019 (_FP_CMP): Likewise.
9020 (_FP_SQRT): Likewise.
9021 (_FP_TO_INT): Likewise.
9022 (_FP_FROM_INT): Likewise.
9023 (FP_EXTEND): Likewise.
9024 (_FP_DIV_MEAT_N_loop): Likewise.
9025
2125f674
MR
90262014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9027
9028 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9029 throughout.
9030
edea4028
JM
90312014-06-29 Joseph Myers <joseph@codesourcery.com>
9032
9033 [BZ #17097]
9034 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9035 result with correct sign in case of exponents that produce
9036 overflow except for X very close to 1.
9037
dd0ba018
PE
90382014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9039
9040 mktime: merge #if/#ifdef usage from glibc
9041 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9042 as that works with both Glibc's and Gnulib's style.
9043 See thread starting at Siddhesh Poyarekar's bug report at:
9044 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9045
64df73c2
SP
90462014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9047
9048 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9049 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9050 * sysdeps/tile/tilegx/memmove.c: Remove file.
9051
f1eafb41
JM
90522014-06-27 Joseph Myers <joseph@codesourcery.com>
9053
9054 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9055 abi-name definition.
9056 * scripts/soversions.awk: Do not handle or generate ABI lines.
9057 * shlib-versions: Remove ABI entries.
9058 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9059 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9060
58eb0862
RM
90612014-06-27 Roland McGrath <roland@hack.frob.com>
9062
37caf178
RM
9063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9064 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9065 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9066 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9068 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9070 Moved ...
9071 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9072 ... here.
9073 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9074 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9075 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9076 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9078 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9080 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9081 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9082 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9083 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9084 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9085 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9086 Moved ...
9087 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9089 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9090 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9091 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9092 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9093 Moved ...
9094 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9096 Moved ...
9097 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9099 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9101 Moved ...
9102 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9103 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9104 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9106 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9108 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9110 Moved ...
9111 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9113 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9114 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9115 Moved ...
9116 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9117 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9118 Moved ...
9119 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9121 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9122 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9123 Moved ...
9124 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9125 ... here.
9126 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9127 Identical file removed.
9128 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9129 Moved ...
9130 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9131 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9132 Identical file removed.
9133 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9134 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9136 Moved ...
9137 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9139 Identical file removed.
9140 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9141 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9142 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9143 Identical file removed.
9144 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9145 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9146 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9147 Identical file removed.
9148 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9149 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9151 Identical file removed.
9152 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9153 Moved ...
9154 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9155 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9156 Identical file removed.
9157 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9158 Moved ...
9159 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9161 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9163 Identical file removed.
9164 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9165 Moved ...
9166 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9167 ... here.
9168 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9169 Identical file removed.
9170 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9171 Moved ...
9172 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9173 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9174 Identical file removed.
9175 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9176 Moved ...
9177 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9178 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9179 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9180 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9181 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9182 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9183 Moved ...
9184 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9186 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9187
58eb0862
RM
9188 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9189 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9190 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9191 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9192 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9193
6f12d062
AS
91942014-06-27 Arjun Shankar <arjun.is@lostca.se>
9195
9196 [BZ #17092]
9197 * nscd/nscd.c (monitor_child): Return exit status of child
9198 instead of return value from wait syscall.
9199
be254932
JM
92002014-06-27 Joseph Myers <joseph@codesourcery.com>
9201
cb403c34
JM
9202 * configure.ac (libc_commonpagesize): Remove variable.
9203 (libc_relro_required): Likewise.
9204 (libc_cv_z_relro): Remove configure test.
9205 * configure: Regenerated.
9206 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9207 variable.
9208 (libc_relro_required): Likewise.
9209 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9210 (libc_relro_required): Likewise.
9211 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9212 (libc_relro_required): Likewise.
9213 * sysdeps/arm/preconfigure: Regenerated.
9214 * sysdeps/ia64/preconfigure: Remove file.
9215 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9216 variable.
9217 (libc_relro_required): Likewise.
9218
be254932
JM
9219 [BZ #16561]
9220 [BZ #16562]
9221 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9222 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9223 recompute overflowing results in original rounding mode.
9224 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9225 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9226 recompute overflowing results in original rounding mode.
9227 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9228 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9229 recompute overflowing results in original rounding mode.
9230 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9231 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9232 recompute overflowing results in original rounding mode.
9233 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9234 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9235 recompute overflowing results in original rounding mode.
9236 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9237 (libc_feholdsetround_ctx): New macro.
9238 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9239 * sysdeps/i386/fpu/libm-test-ulps: Update.
9240 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9241
b351d85a
JM
92422014-06-26 Joseph Myers <joseph@codesourcery.com>
9243
9244 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9245 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9246 corresponding .cpsetup call.
9247
3cb4de47
RM
92482014-06-26 Roland McGrath <roland@hack.frob.com>
9249
9250 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9251 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9252 * sysdeps/arm/Makefile [$(subdir) = csu]
9253 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9254 (static-only-routines): Add aeabi_read_tp here.
9255 (shared-only-routines): Add libc-aeabi_read_tp here.
9256 (CFLAGS-libc-start.c): Add -fexceptions here.
9257 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9258 (sysdep_routines, static-only-routines, shared-only-routines):
9259 Don't add to these here.
9260 (CFLAGS-libc-start.c): Likewise.
9261
9262 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9263 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9264 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9265 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9266 * sysdeps/arm/Makefile [$(subdir) = rt]
9267 (librt-sysdep_routines, librt-shared-only-routines):
9268 Append rt-aeabi_unwind_cpp_pr1 here.
9269 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9270 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9271 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9272 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9273 Append nptl-aeabi_unwind_cpp_pr1 here.
9274 (tests): Filter out tst-cleanupx4 here.
9275 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9276 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9277 Don't do those here.
9278
354426bb
JM
92792014-06-26 Joseph Myers <joseph@codesourcery.com>
9280
9281 * scripts/list-sources.sh: Do not handle ports specially.
9282
28b0a8c9
RM
92832014-06-26 Roland McGrath <roland@hack.frob.com>
9284
a3dd035d
RM
9285 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9286 * sysdeps/arm/feupdateenv.c: Likewise.
9287
28b0a8c9
RM
9288 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9289
e66a8203
JM
92902014-06-26 Joseph Myers <joseph@codesourcery.com>
9291
9292 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9293 trailing whitespace removed.
9294 * scripts/config.guess: Update to version 2014-03-23.
9295 * scripts/config.sub: Update to version 2014-05-01
9296 * scripts/install-sh: Update to version 2013-12-25.23.
9297 * scripts/move-if-change: Update from gnulib.
9298
74171115
SP
92992014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9300
b97c9ce5
SP
9301 * debug/memmove_chk.c: Remove pagecopy.h include.
9302
4000f892
SP
93032014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9304
74171115
SP
9305 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9306 identical to gnulib mktime.
9307
a8779c28
JM
93082014-06-26 Joseph Myers <joseph@codesourcery.com>
9309
e64708de
JM
9310 * configure.ac: Do not test for machine being rs6000. Do not test
9311 for powerpc*-*soft.
9312 * configure: Regenerated.
9313
a8779c28
JM
9314 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9315 test.
9316 * configure: Regenerated.
9317 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9318 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9319 Remove configure test.
9320 * sysdeps/arm/configure: Regenerated.
9321 * sysdeps/nptl/configure.ac: Do not check
9322 libc_cv_asm_cfi_directives.
9323 * sysdeps/nptl/configure: Regenerated.
9324 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9325 * sysdeps/x86_64/nptl/configure: Remove generated file.
9326 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9327 unconditional.
9328 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9329
2aac0a86
SP
93302014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9331
059bf913
SP
9332 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9333 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9334 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9335 it is defined.
9336
4cf5b6d0
SP
9337 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9338 instead of whether it is defined.
9339 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9340 * sysdeps/hppa/dl-machine.h: Likewise.
9341 * sysdeps/ia64/dl-machine.h: Likewise.
9342 * sysdeps/m68k/dl-machine.h: Likewise.
9343 * sysdeps/microblaze/dl-machine.h: Likewise.
9344 * sysdeps/mips/dl-machine.: Likewise.
9345 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9346 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9347 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9348 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9349 * sysdeps/sh/dl-machine.h: Likewise.
9350 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9351 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9352 * sysdeps/tile/dl-machine.h: Likewise.
9353 * sysdeps/x86_64/dl-machine.h: Likewise.
9354
2aac0a86
SP
9355 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9356 code.
9357 (verify_persistent_db): Likewise.
9358
6ad2df0b
RM
93592014-06-26 Roland McGrath <roland@hack.frob.com>
9360
d8a483f3
RM
9361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9362 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9364 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9366 Moved ...
9367 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9368 ... here.
9369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9370 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9372 Identical file removed.
9373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9374 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9376 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9378 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9380 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9382 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9384 Moved ...
9385 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9387 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9389 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9391 Moved ...
9392 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9394 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9396 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9398 Identical file removed.
9399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9400 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9402 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9404 Moved ...
9405 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9406 ... here.
9407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9408 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9410 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9412 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9414 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9416 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9418 Moved ...
9419 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9421 Moved ...
9422 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9424 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9426 Moved ...
9427 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9429 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9430
52ae23b4
RM
9431 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9432 folded into ...
9433 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9434 * sysdeps/unix/sysv/linux/s390/Versions
9435 (libpthread: GLIBC_2.19): New version set.
9436 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9437 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9438 (librt: GLIBC_2.3.3): New version set.
9439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9440 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9441 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9442 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9443 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9444 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9445 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9446 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9447 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9448 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9449 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9450 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9451 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9452 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9453 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9454 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9455 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9456 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9457 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9458 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9459 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9460 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9461 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9462 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9463 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9464 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9465 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9466 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9467 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9468 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9469 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9470 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9472 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9473 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9474 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9475 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9477 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9478 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9479 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9481 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9483 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9484
39507e4a
RM
9485 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9486 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9487 (__libc_vfork): Define the function under this name.
9488 [!NOT_IN_libc] (__vfork): Make this an alias.
9489 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9491 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9492 (__libc_vfork): Define the function under this name.
9493 [!NOT_IN_libc] (__vfork): Make this an alias.
9494 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9495 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9496 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9498 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9499 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9500
e549ee56
RM
9501 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9502 code that was previously under [RESET_PID].
9503 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9504 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9506
6ad2df0b
RM
9507 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9508 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9509 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9510 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9511 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9512 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9513 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9514 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9515 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9516 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9517 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9518 Moved ...
9519 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9520 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9521 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9522 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9523 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9524 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9525 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9526 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9527 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9528 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9530 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9531 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9532 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9533 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9534 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9535 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9536 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9537 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9538 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9539 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9540 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9541 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9542 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9543 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9544 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9545 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9546 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9547 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9548
7c1c1d8e
RM
95492014-06-25 Roland McGrath <roland@hack.frob.com>
9550
9551 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9552 that was previously under [RESET_PID].
9553 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9554
3e239be6
JM
95552014-06-25 Joseph Myers <joseph@codesourcery.com>
9556
74385da5
JM
9557 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9558 not undefine and redefine.
9559 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9560 [O_CLOEXEC]: Make code unconditional.
9561 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9562 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9563 <kernel-features.h>.
9564 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9565 conditional variable definition.
9566 (shm_open) [O_CLOEXEC]: Make code unconditional.
9567 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9568 code.
9569
c2570a0b
JM
9570 * configure.ac (USE_REGPARMS): Don't define here.
9571 * configure: Regenerated.
9572 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9573 * sysdeps/i386/configure: Regenerated.
9574
11b076bb
JM
9575 * nptl/createthread.c: Don't include kernel-features.h.
9576 * nptl/pthread_cancel.c: Likewise.
9577 * nptl/pthread_condattr_setclock.c: Likewise.
9578 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9579 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9580 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9581 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9582 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9583 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9584 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9586 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9587 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9588 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9589 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9590 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9591 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9592 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9593 * nscd/gai.c: Likewise.
9594 * nss/nss_db/db-open.c: Likewise.
9595 * sysdeps/generic/ldsodefs.h: Likewise.
9596 * sysdeps/sh/nptl/tls.h: Likewise.
9597 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9598 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9599 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9600 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9601 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9602 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9603 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9604 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9605 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9606 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9607 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9608 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9609 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9610 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9611 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9612 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9613 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9614 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9615 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9616 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9617 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9618 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9619 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9620 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9621 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9622 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9623 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9624 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9625 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9626 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9627 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9628 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9629 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9630 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9631 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9632 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9633 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9634 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9635 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9636 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9637 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9638 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9639 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9640 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9641 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9642 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9643 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9644 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9645 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9646 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9647 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9648 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9649 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9650 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9651 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9652 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9653 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9654 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9677 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9678 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9679 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9680 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9681 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9682 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9683 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9684 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9685 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9686 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9687 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9688 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9689 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9690 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9691 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9692 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9694 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9695 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9696 * sysdeps/unix/sysv/linux/system.c: Likewise.
9697 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9698 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9699 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9700 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9701 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9702 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9703 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9704
92072d57
JM
9705 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9706 * configure: Regenerated.
9707 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9708
3e239be6
JM
9709 * configure.ac (base_machine): Do not set specially for particular
9710 machines here.
9711 * configure: Regenerated.
9712 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9713 settings from configure.ac.
9714 * sysdeps/i386/preconfigure: New file.
9715 * sysdeps/s390/preconfigure: Likewise.
9716 * sysdeps/sh/preconfigure: Likewise.
9717 * sysdeps/sparc/preconfigure: Likewise.
9718
06d50baa
RM
97192014-06-25 Roland McGrath <roland@hack.frob.com>
9720
74836003
RM
9721 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9722 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9723 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9724 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9725 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9726 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9727 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9728 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9729 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9730 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9731 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9732 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9733 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9734 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9735 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9736 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9737 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9738 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9739 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9740
9741 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9742 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9743 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9744 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9745 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9746 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9747 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9748 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9749 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9750 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9751 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9752 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9753 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9754 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9755 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9756 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9757 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9758 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9759 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9760 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9761 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9762 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9763 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9764 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9765 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9766 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9767 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9768 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9769 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9770 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9771 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9772 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9773 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9774 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9775 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9776 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9777 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9778 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9779
06d50baa
RM
9780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9781 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9783 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9785 Moved ...
9786 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9787 ... here.
9788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9793 Moved ...
9794 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9796 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9798 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9800 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9802 Moved ...
9803 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9805 Moved ...
9806 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9808 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9810 Moved ...
9811 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9815 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9817 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9819 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9821 Moved ...
9822 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9823 ... here.
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9825 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9827 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9829 Moved ...
9830 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9832 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9834 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9836 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9838 Moved ...
9839 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9841 Moved ...
9842 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9844 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9846 Moved ...
9847 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9851 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9852
a4ccbc9b
JM
98532014-06-25 Joseph Myers <joseph@codesourcery.com>
9854
0828edbf
JM
9855 * timezone/checktab.awk: Update from tzcode 2014e.
9856 * timezone/private.h: Likewise.
9857 * timezone/tzfile.h: Likewise.
9858 * timezone/zdump.c: Likewise.
9859 * timezone/zic.c: Likewise.
9860
a4ccbc9b
JM
9861 * sysdeps/unix/sysv/linux/kernel-features.h
9862 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9864 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9865 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9866 Remove conditional code.
9867
9aea0cb8
WN
98682014-06-25 Will Newton <will.newton@linaro.org>
9869
9870 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9871 (_dl_arm_cap_flags): Add HWCAP2 values.
9872 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9873 (_DL_HWCAP_COUNT): Increase to 37.
9874 (_DL_HWCAP_LAST): New define.
9875 (_DL_HWCAP2_LAST): New define.
9876 (_dl_procinfo): Add support for printing
9877 AT_HWCAP2 entries.
9878 (_dl_string_hwcap): Use _dl_hwcap_string.
9879
6eaa65ce
AZ
98802014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9881
9882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9883
0f5b7185
JM
98842014-06-25 Joseph Myers <joseph@codesourcery.com>
9885
cfd2ea50
JM
9886 * README: Do not mention ports directory.
9887
cecf2ed4
JM
9888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9889 Remove macro.
9890 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9891 <kernel-features.h>.
9892 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9893 conditional variable definition.
9894 (__futimes): Update comment.
9895 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9896 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9897
a638de82
JM
9898 [BZ #16560]
9899 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9900 arguments close to 0.
9901 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9902 Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9904 Likewise.
9905 * math/auto-libm-test-in: Add more tests of exp10.
9906 * math/auto-libm-test-out: Regenerated.
9907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9908
0f5b7185
JM
9909 * sysdeps/unix/sysv/linux/kernel-features.h
9910 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9911 * sysdeps/unix/sysv/linux/readv.c: Do not include
9912 <kernel-features.h>.
9913 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9914 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9915 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9916 unconditional.
9917 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9918 conditional code.
9919 * sysdeps/unix/sysv/linux/writev.c: Do not include
9920 <kernel-features.h>.
9921 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9922 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9923 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9924 unconditional.
9925 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9926 conditional code.
9927
c7aec4be
WN
99282014-06-25 Will Newton <will.newton@linaro.org>
9929
9930 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9931 comment changes throughout the file. Remove checks
9932 for HAVE_*_H definitions that are not required.
9933 (__gen_tempname): Call abort if an unknown kind value is
9934 passed.
9935
c5241f95
AS
99362014-06-25 Andreas Schwab <schwab@suse.de>
9937
9938 [BZ #17086]
9939 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9940 scalbln, scalblnf, scalblnl in libc.
9941
911422da
SP
99422014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9943
9944 [BZ #17086]
9945 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9946 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9947 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9948
0d749bbe
RM
99492014-06-24 Roland McGrath <roland@hack.frob.com>
9950
9951 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9952 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9953 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9954 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9955 Update #include.
9956 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9957 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9958 Update #include.
9959 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9960 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9961 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9962 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9963 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9964 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9965 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9966 * sysdeps/x86/bits/semaphore.h: ... here.
9967 * sysdeps/x86/nptl/elide.h: Moved ...
9968 * sysdeps/x86/elide.h: ... here.
9969 * sysdeps/x86_64/nptl/Implies: File removed.
9970 * sysdeps/i386/nptl/Implies: File removed.
9971
0ea5d373
JM
99722014-06-24 Joseph Myers <joseph@codesourcery.com>
9973
4060283d
JM
9974 [BZ #16539]
9975 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9976 return the argument for normal arguments with exponent below -64.
9977 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9978 Likewise.
9979 * math/auto-libm-test-in: Add another test of expm1.
9980 * math/auto-libm-test-out: Regenerated.
9981
e7dd3c8c
JM
9982 [BZ #16287]
9983 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9984 calling __erfcl for arguments at least 16.
9985 * math/auto-libm-test-in: Add more tests of erf.
9986 * math/auto-libm-test-out: Regenerated.
9987
0ea5d373
JM
9988 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9989 individual architectures.
9990 * sysdeps/unix/sysv/linux/configure: Regenerated.
9991 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9992 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9993 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9994 (ldd_rewrite_script): Define variable.
9995 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9997 file.
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9999 generated file.
10000 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10001 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10002 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10003 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10004 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10005 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10006 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10007 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10008
2307e126
SP
100092014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10010
10011 [BZ #17084]
10012 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10013 Rename member __data.d to __data.__elision_data.
10014
c0a4ed77
W
100152014-06-24 Wilco <wdijkstr@arm.com>
10016
10017 * NEWS: Add 16918 to fixed bug list.
10018
b8c00573
W
100192014-06-24 Wilco <wdijkstr@arm.com>
10020
10021 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10022
b5570d92
W
100232014-06-24 Wilco <wdijkstr@arm.com>
10024
10025 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10026 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10027 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10028 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10029 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10030 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10031 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10032 Use _FPU_MASK_RM.
10033
947bdca2
W
100342014-06-24 Wilco <wdijkstr@arm.com>
10035
10036 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10037
00f669ed
W
100382014-06-24 Wilco <wdijkstr@arm.com>
10039
10040 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10041 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10042 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10043 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10044
db59bad3
W
100452014-06-24 Wilco <wdijkstr@arm.com>
10046
10047 [BZ #16918]
10048 * sysdeps/arm/feupdateenv.c (feupdateenv):
10049 Rewrite to reduce FPSCR accesses and fix return value.
10050
001f7b77
W
100512014-06-24 Wilco <wdijkstr@arm.com>
10052
10053 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10054 Optimize to avoid unnecessary FPSCR writes.
10055 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10056 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10057 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10058 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10059
4841e6a6
W
100602014-06-24 Wilco <wdijkstr@arm.com>
10061
10062 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10063 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10064 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10065 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10066 Call libc_fetestexcept_vfp.
10067 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10068 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10069 __SOFTFP__ ifdef so that they can be built for softfp.
10070
0813022c
SP
100712014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10072
08e5862f
SP
10073 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10074 argument type signed char.
10075
0813022c
SP
10076 * Makerules (check-abi): Dump diff of symlist if the test
10077 fails.
10078
3fc7236a
RM
100792014-06-23 Roland McGrath <roland@hack.frob.com>
10080
aba8ef95
RM
10081 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10082 using abort.
10083
3fc7236a
RM
10084 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10085 Remove unused variable ST.
10086
4da6db51
JM
100872014-06-23 Joseph Myers <joseph@codesourcery.com>
10088
4648909d
JM
10089 [BZ #16354]
10090 [BZ #17061]
10091 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10092 small arguments before calling __expm1.
10093 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10094 small arguments before calling __expm1f.
10095 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10096 small arguments before calling __expm1l.
10097 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10098 Likewise.
10099 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10100 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10101 spurious underflow for some cosh tests.
10102 * math/auto-libm-test-out: Regenerated.
10103 * sysdeps/i386/fpu/libm-test-ulps: Update.
10104
46a3d3c7
JM
10105 [BZ #17050]
10106 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10107 (__ieee754_y1): Set errno if return value overflows.
10108 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10109 (__ieee754_y1f): Set errno if return value overflows.
10110 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10111 (__ieee754_y1l): Set errno if return value overflows.
10112 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10113 (__ieee754_y1l): Set errno if return value overflows.
10114 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10115 * math/auto-libm-test-out: Regenerated.
10116
863893ec
JM
10117 * math/gen-auto-libm-tests.c: Document use of
10118 ignore-zero-inf-sign.
10119 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10120 (input_flags): Add ignore-zero-inf-sign.
10121 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10122 * math/gen-libm-test.pl (generate_testfile): Handle
10123 ignore-zero-inf-sign.
10124 * math/auto-libm-test-in: Mark some cpow tests with
10125 ignore-zero-inf-sign and some with xfail-rounding.
10126 * math/auto-libm-test-out: Regenerated.
10127 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10128 * sysdeps/i386/fpu/libm-test-ulps: Update.
10129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10130
4da6db51
JM
10131 [BZ #16315]
10132 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10133 overflowing or underflowing operations take place with sign of
10134 result.
10135 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10136 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10137 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10138 (__ieee754_pow): Recompute overflowing and underflowing results in
10139 original rounding mode.
10140 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10141 (__powl_helper): Allow negative argument X and scale negated value
10142 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10143 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10144 overflowing or underflowing operations take place with sign of
10145 result.
10146 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10147 Include <math.h>.
10148 * math/auto-libm-test-in: Add more tests of pow.
10149 * math/auto-libm-test-out: Regenerated.
10150 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10151 (pow_tonearest_test_data): Remove.
10152 (pow_test_tonearest): Likewise.
10153 (pow_towardzero_test_data): Likewise.
10154 (pow_test_towardzero): Likewise.
10155 (pow_downward_test_data): Likewise.
10156 (pow_test_downward): Likewise.
10157 (pow_upward_test_data): Likewise.
10158 (pow_test_upward): Likewise.
10159 (main): Don't call removed functions.
10160 * sysdeps/i386/fpu/libm-test-ulps: Update.
10161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10162
5686b236
RM
101632014-06-23 Roland McGrath <roland@hack.frob.com>
10164
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10166 Moved ...
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10169 Moved ...
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10172 Moved ...
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10175 Moved ...
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10178 File removed.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10180 File removed.
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10182 File removed.
10183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10184 File removed.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10186 File removed.
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10188 File removed.
10189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10190 File removed.
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10192 File removed.
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10194 File removed.
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10196 File removed.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10198 File removed.
10199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10200 File removed.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10202 Moved ...
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10205 Moved ...
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10207 ... here.
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10209 Moved ...
10210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10212 Moved ...
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10215 Moved ...
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10218 Moved ...
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10221 Moved ...
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10224 Moved ...
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10227 Moved ...
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10231 ... here.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10233 Moved ...
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10236 Moved ...
10237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10238 ... here.
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10240 Moved ...
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10242 ... here.
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10244 Moved ...
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10246 ... here.
10247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10248 Moved ...
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10251 Moved ...
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10256 Moved ...
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10258 ... here.
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10260 Moved ...
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10262 ... here.
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10264 Moved ...
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10267 Moved ...
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10270 Moved ...
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10273 Moved ...
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10276 Moved ...
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10278 ... here.
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10280 Moved ...
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10283 Moved ...
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10286 Moved ...
10287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10289 Moved ...
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10294 Moved ...
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10297 Moved ...
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10300 Moved ...
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10302 ... here.
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10304 Moved ...
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10306 ... here.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10308 Moved ...
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10310 ... here.
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10312 Moved ...
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10315 Moved ...
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10318 Moved ...
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10321 Moved ...
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10323 ... here.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10325 Moved ...
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10327 ... here.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10329 Moved ...
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10331 ... here.
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10333 Moved ...
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10336 Moved ...
10337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10338
e6d90d67
WD
103392014-06-23 Will Newton <will.newton@linaro.org>
10340 Wilco <wdijkstr@arm.com>
10341
10342 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10343 implementation. Include get-rounding-mode.h.
10344 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10345 [!libc_feholdsetround_noex_ctx]: Define
10346 libc_feholdsetround_noex_ctx.
10347 [!libc_feholdsetround_noexf_ctx]: Define
10348 libc_feholdsetround_noexf_ctx.
10349 [!libc_feholdsetround_noexl_ctx]: Define
10350 libc_feholdsetround_noexl_ctx.
10351 (libc_feholdsetround_ctx): New function.
10352 (libc_feresetround_ctx): New function.
10353 (libc_feholdsetround_noex_ctx): New function.
10354 (libc_feresetround_noex_ctx): New function.
10355
d42df555
RM
103562014-06-23 Roland McGrath <roland@hack.frob.com>
10357
88a46474
RM
10358 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10359 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10360 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10361 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10362 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10363 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10364
15bed472
RM
10365 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10366 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10367 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10368 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10369 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10370 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10371 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10372 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10373 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10374 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10375 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10376 Moved ...
10377 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10378 ... here.
10379 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10380 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10381 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10382 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10383 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10384 Moved ...
10385 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10393 Moved ...
10394 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10395 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10396 Moved ...
10397 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10398 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10399 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10401 Moved ...
10402 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10404 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10405 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10406 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10407 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10408 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10409 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10410 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10411 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10412 Moved ...
10413 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10414 ... here.
10415 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10416 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10417 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10418 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10420 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10421 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10422 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10423 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10424 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10425 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10426 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10427 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10428 Moved ...
10429 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10431 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10433 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10435 Moved ...
10436 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10438 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10439 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10440 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10441
d42df555
RM
10442 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10443 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10444 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10445 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10447 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10448 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10449 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10451 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10452 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10453 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10454 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10455 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10456 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10457 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10458 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10459 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10460 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10461 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10462 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10463 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10464 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10465 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10466 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10467 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10468 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10469 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10470
76e5216e
JM
104712014-06-23 Joseph Myers <joseph@codesourcery.com>
10472
10473 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10474 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10475 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10476 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10477 (IPV6_PMTUDISC_INTERFACE): Likewise.
10478 (IPV6_PMTUDISC_OMIT): Likewise.
10479
7a81cbcc
AS
104802014-06-23 Andreas Schwab <schwab@suse.de>
10481
10482 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10483 Remove unused errout label.
10484
db224009
AZ
104852014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10486
10487 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10488 macro: hardware supports Vector Crypto instructions.
10489
f393b4aa
WN
104902014-06-23 Will Newton <will.newton@linaro.org>
10491
cc7d0447
WN
10492 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10493 rather than __builtin_expect.
10494
d6d06225
WN
10495 * elf/dl-lookup.c (undefined_msg): Remove variable.
10496 (_dl_lookup_symbol_x): Replace undefined_msg with string
10497 literal.
10498
f393b4aa
WN
10499 * elf/dl-lookup.c (do_lookup_unique): New function.
10500 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10501 to a separate function.
10502
ac60763e
AS
105032014-06-23 Andreas Schwab <schwab@suse.de>
10504
10505 [BZ #17079]
10506 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10507 before reading the next line.
10508
c5c13355
WN
105092014-06-23 Will Newton <will.newton@linaro.org>
10510
10511 * test-skeleton.c (signal_handler): Use printf and %m
10512 rather than perror. Use printf rather than fprintf to
10513 stderr. Use puts rather than fputs to stderr.
10514 (main): Likewise.
10515
bd3675f9
LC
105162014-06-22 Ludovic Courtès <ludo@gnu.org>
10517
10518 * nscd/nscd.c (thread_info_t): Remove typedef.
10519 (thread_info): Remove variable.
10520
d03efb2f
AM
105212014-06-21 Allan McRae <allan@archlinux.org>
10522
10523 * NEWS: Mention CVE-2014-4043.
10524
bc4a86fa
RM
105252014-06-20 Roland McGrath <roland@hack.frob.com>
10526
dc9a54f8
RM
10527 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10528 * nptl/smp.h: ... here.
10529
bd7022c4
RM
10530 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10531
26ffd5e6
RM
10532 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10533 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10534 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10535 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10536
93a6d082
RM
10537 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10538 * nptl/stack-aliasing.h: New file.
10539 * sysdeps/i386/i686/stack-aliasing.h: New file.
10540 * sysdeps/i386/i686/nptl/Makefile: File removed.
10541 * sysdeps/x86_64/stack-aliasing.h: New file.
10542 * sysdeps/x86_64/nptl/Makefile
10543 (CFLAGS-pthread_create.c): Variable removed.
10544
bc4a86fa
RM
10545 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10546 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10547 old file.
10548 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10549 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10550 old file.
10551
2272ffc1
JM
105522014-06-21 Joseph Myers <joseph@codesourcery.com>
10553
10554 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10555 (__ASSUME_SIGFRAME_V2): Remove macro.
10556 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10557 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10558 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10559 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10560 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10561 Declare as function. Remove conditional macro definitions.
10562 (__default_rt_sa_restorer): Likewise.
10563 (__default_sa_restorer_v1): Remove declaration.
10564 (__default_sa_restorer_v2): Likewise.
10565 (__default_rt_sa_restorer_v1): Likewise.
10566 (__default_rt_sa_restorer_v2): Likewise.
10567 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10568 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10569 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10570
4b88139b
RM
105712014-06-20 Roland McGrath <roland@hack.frob.com>
10572
10573 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10574 (libpthread-routines): Add sysdep.
10575 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10576 * sysdeps/unix/sysv/linux/sparc/Versions
10577 (libpthread: GLIBC_2.3.3): New version set.
10578 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10579 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10580 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10581 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10582 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10583 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10584 Moved ...
10585 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10586 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10587 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10588 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10589 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10590 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10591 * sysdeps/sparc/nptl/sem_init.c: ... here.
10592 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10593 * sysdeps/sparc/nptl/sem_post.c: ... here.
10594 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10595 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10596 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10597 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10598 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10599 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10600 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10601 (libpthread-routines): Add cpu_relax.
10602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10603 File removed.
10604 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10605 (librt: GLIBC_2.3.3): New version set.
10606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10607 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10608 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10609 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10612 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10614 Moved ...
10615 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10617 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10619 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10621 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10623 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10625 Moved ...
10626 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10627 Update #include.
10628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10629 Moved ...
10630 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10631 Update #include.
10632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10633 Moved ...
10634 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10635 Update #include.
10636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10637 Moved ...
10638 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10639 Update #include.
10640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10641 Moved ...
10642 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10643 Update #include.
10644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10645 Moved ...
10646 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10647 Update #include.
10648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10649 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10655 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10657 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10659 Moved ...
10660 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10662 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10664 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10665
d7109027
JM
106662014-06-20 Joseph Myers <joseph@codesourcery.com>
10667
9bc6103d
JM
10668 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10669 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10670 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10671 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10672 * nscd/nscd.c: Likewise.
10673 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10674 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10675 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10676 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10677
d7109027
JM
10678 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10679 <kernel-features.h>.
10680 (init_mq_netlink): Remove conditional have_sock_cloexec
10681 definitions. Remove code conditional on have_sock_cloexec < 0.
10682 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10683 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10684 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10685 <kernel-features.h>.
10686 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10687 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10688
d92d8f8a
L
106892014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10690
10691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10692 Add tests for memset_chk and memset.
10693
10694 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10695 with AVX2_Usable.
10696
4e6d2347
MR
106972014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10698
257ce712
MR
10699 [BZ #16046]
10700 * elf/tst-dl-iter-static.c: New file.
10701 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10702
4e6d2347
MR
10703 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10704 error.
10705
a2a76afe
JM
107062014-06-20 Joseph Myers <joseph@codesourcery.com>
10707
7fd00f99
JM
10708 * sysdeps/unix/sysv/linux/kernel-features.h
10709 (__ASSUME_F_GETOWN_EX): Remove macro.
10710 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10711 <kernel-features.h>.
10712 (miss_F_GETOWN_EX): Remove variable or macro.
10713 (do_fcntl): Do not check miss_F_GETOWN_EX.
10714 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10715
4a103975
JM
10716 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10717 Remove macro.
10718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10719 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10720 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10721
a2a76afe
JM
10722 * sysdeps/unix/sysv/linux/kernel-features.h
10723 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10724 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10725 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10726 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10727
90e5dd48
MR
107282014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10729
10730 [BZ #17075]
10731 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10732 Fix calculation of the symbol's value.
10733 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10734 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10735 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10736 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10737 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10738 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10739 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10740 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10741 (modules-names): Add `tst-armtlsdescmod',
10742 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10743 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10744 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10745 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10746 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10747 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10748 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10749 ($(objpfx)tst-armtlsdescloc): New dependency.
10750 ($(objpfx)tst-armtlsdescextnow): Likewise.
10751 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10752 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10753 TLS scheme support.
10754 * sysdeps/arm/configure: Regenerate.
10755
809fdf0d
JM
107562014-06-20 Joseph Myers <joseph@codesourcery.com>
10757
10758 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10759 (__atfct_seterrno_2): Likewise.
10760 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10761 <kernel-features.h>.
10762 (__ASSUME_ATFCTS): Do not undefine and redefine.
10763 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10764 (__have_atfcts): Remove conditional definition.
10765 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10766 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10767 unreachable if [__ASSUME_ATFCTS].
10768 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10769 not undefine and redefine.
10770 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10771 <kernel-features.h>.
10772 (faccessat) [__NR_faccessat]: Make code unconditional.
10773 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10774 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10775 <kernel-features.h>.
10776 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10777 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10778 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10779 <kernel-features.h>.
10780 (fchownat) [__NR_fchownat]: Make code unconditional.
10781 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10782 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10783 <kernel-features.h>.
10784 (futimesat) [__NR_futimesat]: Make code unconditional.
10785 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10786 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10787 <kernel-features.h>.
10788 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10789 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10790 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10791 <kernel-features.h>.
10792 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10793 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10794 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10795 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10796 <kernel-features.h>.
10797 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10798 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10799 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10800 <kernel-features.h>.
10801 (linkat) [__NR_linkat]: Make code unconditional.
10802 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10803 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10804 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10805 <kernel-features.h>.
10806 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10807 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10808 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10809 <kernel-features.h>.
10810 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10811 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10812 * sysdeps/unix/sysv/linux/openat.c: Do not include
10813 <kernel-features.h>.
10814 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10815 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10816 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10817 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10818 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10819 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10820 <kernel-features.h>.
10821 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10822 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10823 result of INLINE_SYSCALL directly, not via int variable.
10824 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10825 <kernel-features.h>.
10826 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10827 (renameat) [__NR_renameat]: Make code unconditional.
10828 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10829 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10830 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10831 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10832 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10833 (__ASSUME_ATFCTS): Do not undefine and redefine.
10834 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10835 <kernel-features.h>.
10836 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10837 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10838 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10839 <kernel-features.h>.
10840 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10841 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10842 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10843 (__ASSUME_ATFCTS): Do not undefine and redefine.
10844 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10845 <kernel-features.h>.
10846 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10847 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10848 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10849 <kernel-features.h>.
10850 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10851 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10852
224c6c51
L
108532014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10854
10855 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10856
aa6ec754
AS
108572014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10858
10859 [BZ #17069]
10860 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10861 constructed tree before returning error.
10862 * posix/bug-regexp36.c: Expand test case.
10863
d8c2869d
SL
108642014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10865
3ef6b850
SL
10866 [BZ #6803]
10867 * math/libm-test.inc (scalbln_test_date):
10868 Add errno expectations.
10869 * math/w_scalblnf.c: New File.
10870 Add wrapper which checks for setting errno to ERANGE.
10871 Add weak_alias for corresponding scalbln function.
10872 * math/w_scalbln.c: Likewise.
10873 * math/w_scalblnl.c: Likewise.
10874 * math/Makefile (libm-calls): Add w_scalbln.
10875 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10876 Remove weak_alias for corresponding scalbln function.
10877 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10879 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10881 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10882 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10883 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10884 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10885 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10886 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10887 Remove long_double_symbol for scalblnl function in libm, libc.
10888 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10889 Add wrapper which checks for setting errno to ERANGE.
10890 Add long_double_symbol for scalblnl function in libm, libc.
10891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10892 Remove long_double_symbol for scalblnl in libm.
10893 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10894 Add wrapper which checks for setting errno to ERANGE.
10895 Add long_double_symbol for scalblnl function in libm.
10896 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10897 Do not use wrapper because of own implementation.
10898
c8daec5c
L
108992014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10902 3 bytes for __pad1 for x32.
10903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10904
5c74e47c
LM
109052014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10906 H.J. Lu <hongjiu.lu@intel.com>
10907
10908 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10909 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10910 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10911 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10912 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10913
4d43ef1e
AS
109142014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10915
10916 [BZ #17069]
10917 * posix/regcomp.c (parse_expression): Deallocate partially
10918 constructed tree before returning error.
10919 * posix/Makefile.c (tests): Add bug-regex36.
10920 (generated): Add bug-regex36.mtrace.
10921 (tests-special): Add $(objpfx)bug-regex36-mem.out
10922 (bug-regex36-ENV): New variable.
10923 ($(objpfx)bug-regex36-mem.out): New rule.
10924 * posix/bug-regex36.c: New file.
10925
51a7380b
WN
109262014-06-19 Will Newton <will.newton@linaro.org>
10927
10928 * malloc/malloc.c (systrim): If extra is zero then return
10929 early.
10930
91b84fe5
SP
109312014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10932
10933 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10934
f940b965
RE
109352014-06-19 Richard Earnshaw <rearnsha@arm.com>
10936
10937 * sysdeps/aarch64/strchr.S: New file.
10938
4ba7a00f
JM
109392014-06-18 Joseph Myers <joseph@codesourcery.com>
10940
10941 [BZ #17022]
10942 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10943 from arguments -2 or below.
10944 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10945 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10946
b3a9f56b
AS
109472014-06-18 Andreas Schwab <schwab@suse.de>
10948
10949 [BZ #17062]
10950 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10951 of a bracket expr not to run off the end of the string.
10952 * posix/Makefile (tests): Add tst-fnmatch3.
10953 * posix/tst-fnmatch3.c: New file.
10954
85d89278
JM
109552014-06-18 Joseph Myers <joseph@codesourcery.com>
10956
10957 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10958 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10959 [$(cross-compiling) = no]: Likewise.
10960 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10961 [$(cross-compiling) = no]: Likewise.
10962
754c5a08
RS
109632014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10964
10965 [BZ #17031]
10966 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10967 double, adjusted for any remainder from the high double.
10968 * math/libm-test.inc (nearbyint): Add tests.
10969 (rint): Likewise.
10970
556f529d
AZ
109712014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10972
10973 * nptl/sysdeps/powerpc/Makefile: Moved ...
10974 * sysdeps/powerpc/nptl/Makefile: ... here.
10975 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10976 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10977 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10978 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10979 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10980 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10981 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10982 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10983 * nptl/sysdeps/powerpc/tls.h: Moved ...
10984 * sysdeps/powerpc/nptl/tls.h: ... here.
10985
91c03c53
JM
109862014-06-16 Joseph Myers <joseph@codesourcery.com>
10987
10988 [BZ #16681]
10989 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10990 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10991 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10992 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10993 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10994 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10995 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10996 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10997 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10998
a76e63c5
AS
109992014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11000
11001 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11002
f2f6d82f
AS
110032014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11004
ea8a15f6
AS
11005 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11006 defined operator.
11007
f2f6d82f
AS
11008 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11009 $TIMEOUTFACTOR.
11010
a7291117
FW
110112014-06-16 Florian Weimer <fweimer@redhat.com>
11012
11013 [BZ #17058]
11014 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11015 non-executed part of the test.
11016
3d7c00e3
AS
110172014-06-16 Andreas Schwab <schwab@suse.de>
11018
11019 * string/bits/string2.h (strdup, strndup): Update feature guard.
11020
6957fb31
DM
110212014-06-14 David S. Miller <davem@davemloft.net>
11022
11023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11024
11b9e55b
AS
110252014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11026
1d2a0492
AS
11027 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11028 that was previously under [RESET_PID].
11029 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11030
11b9e55b
AS
11031 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11032 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11033 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11034 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11035 (__libc_vfork): New strong alias.
11036 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11037
0f6901d0
AK
110382014-06-14 Andi Kleen <ak@linux.intel.com>
11039
11040 * sysdeps/generic/elide.h: New file.
11041
38bbbb9f
SL
110422014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11043
11044 * Makefile (installed-headers): Adjust path of pthread.h header.
11045
45193bb8
RM
110462014-06-13 Roland McGrath <roland@hack.frob.com>
11047
9a25fd1e
RM
11048 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11049 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11050 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11051 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11052
4004f7e4
RM
11053 * nptl/sysdeps/s390/Makefile: Moved ...
11054 * sysdeps/s390/nptl/Makefile: ... here.
11055 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11056 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11057 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11058 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11059 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11060 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11061 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11062 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11063 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11064 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11065 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11066 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11067 * nptl/sysdeps/s390/tls.h: Moved ...
11068 * sysdeps/s390/nptl/tls.h: ... here.
11069
45193bb8
RM
11070 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11071 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11072
f6fdf533
DM
110732014-06-13 David S. Miller <davem@davemloft.net>
11074
11075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11078 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11082 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11083 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11084 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11085 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11086 Remove RESET_PID cpp guards.
11087 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11088 Remove RESET_PID cpp guards.
11089 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11090
f5d71e14
AS
110912014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11092
11093 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11094 __sp to uintptr_t.
11095
b7aa8caa
AK
110962014-06-13 Andi Kleen <ak@linux.intel.com>
11097
4b266200
AZ
11098 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11099 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11100 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11101 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11102 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11103 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11104 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11105 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11106 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11107 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11108 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11109 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11110 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11111 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11112 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11113 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11114 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11115 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11116 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11117 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11118
11119 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11120 (pthread_rwlock_rdlock): Add elision.
11121 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11122 (pthread_rwlock_wrlock): Add elision.
11123 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11124 (pthread_rwlock_trywrlock): Add elision.
11125 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11126 (pthread_rwlock_tryrdlock): Add elision.
11127 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11128 (pthread_rwlock_tryrdlock): Add elision unlock.
11129 * nptl/sysdeps/pthread/pthread.h:
11130 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11131 (PTHREAD_RWLOCK_INITIALIZER,
11132 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11133 Handle new elision field.
11134 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11135 * sysdeps/arm/nptl/bits/pthreadtypes.h
11136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11137 * sysdeps/sh/nptl/bits/pthreadtypes.h
11138 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11139 * sysdeps/tile/nptl/bits/pthreadtypes.h
11140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11141 * sysdeps/a/nptl/bits/pthreadtypes.h
11142 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11143 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11145 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11146 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11147 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11149 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11151 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11152 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11153 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11154 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11155 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11157 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11158 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11159 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11160 (elision_init): Set try_xbegin to zero when no RTM.
11161 * sysdeps/x86/nptl/bits/pthreadtypes.h
11162 (pthread_rwlock_t): Change __pad1 to __rwelision.
11163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11164
a832bdd3
AK
111652014-06-13 Andi Kleen <ak@linux.intel.com>
11166
11167 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11168 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11169 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11170 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11171
995a46bb
MI
111722014-06-13 Meador Inge <meadori@codesourcery.com>
11173
11174 [BZ #16996]
03ed7738 11175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11176 that the cached result has been set before returning it.
11177
45262aee
RM
111782014-06-12 Roland McGrath <roland@hack.frob.com>
11179
febf6cc5
RM
11180 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11181 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11182 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11183 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11184 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11185 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11186
e2682246
RM
11187 * nptl/sysdeps/sparc/Makefile: Moved ...
11188 * sysdeps/sparc/nptl/Makefile: ... here.
11189 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11190 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11191 * nptl/sysdeps/sparc/tls.h: Moved ...
11192 * sysdeps/sparc/nptl/tls.h: ... here.
11193 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11194 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11195 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11196 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11197 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11198 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11199 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11200 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11201 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11202 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11203 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11204 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11205 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11206 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11207 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11208 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11209 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11210 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11211 Update #include.
11212 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11213 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11214 Update #include.
11215 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11216 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11217 Update #include.
11218 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11219 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11220 Update #include.
11221
b0725f43
RM
11222 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11223
b14368b8
RM
11224 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11225 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11226
c5620eb3
RM
11227 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11228 (struct list_links): Type removed.
11229 (struct thread_node, struct timer_node): Replace struct list_links
11230 with struct list_head.
11231 (list_unlink_ip): Likewise.
11232 * sysdeps/pthread/timer_routines.c
11233 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11234 (list_append, list_insbefore): Likewise.
11235 (list_init): Function removed.
11236 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11237 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11238 * sysdeps/pthread/Makefile: ... here, new file.
11239
11240 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11241 * sysdeps/nptl/Implies: ... here.
11242 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11243 * nptl/sysdeps/pthread/list.h: Moved ...
11244 * include/list.h: ... here.
11245 * nptl/sysdeps/pthread/createthread.c: Moved ...
11246 * nptl/createthread.c: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11248 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11249 * nptl/pt-longjmp.c: ... here.
11250 * nptl/sysdeps/pthread/Makefile: Moved ...
11251 * sysdeps/nptl/Makefile: ... here.
11252 * nptl/sysdeps/pthread/Subdirs: Moved ...
11253 * sysdeps/nptl/Subdirs: ... here.
11254 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11255 * sysdeps/nptl/aio_misc.h: ... here.
11256 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11257 * sysdeps/nptl/bits/libc-lock.h: ... here.
11258 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11259 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11260 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11261 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11262 * nptl/sysdeps/pthread/configure: Moved ...
11263 * sysdeps/nptl/configure: ... here.
11264 * nptl/sysdeps/pthread/configure.ac: Moved ...
11265 * sysdeps/nptl/configure.ac: ... here.
11266 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11267 * sysdeps/nptl/gai_misc.h: ... here.
11268 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11269 * sysdeps/nptl/librt-cancellation.c: ... here.
11270 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11271 * sysdeps/nptl/malloc-machine.h: ... here.
11272 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11273 * sysdeps/nptl/pthread-functions.h: ... here.
11274 * nptl/sysdeps/pthread/pthread.h: Moved ...
11275 * sysdeps/nptl/pthread.h: ... here.
11276 * nptl/sysdeps/pthread/setxid.h: Moved ...
11277 * sysdeps/nptl/setxid.h: ... here.
11278 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11279 * sysdeps/nptl/sigfillset.c: ... here.
11280 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11281 * sysdeps/nptl/tcb-offsets.h: ... here.
11282 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11283 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11284 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11285 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11286 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11287 * sysdeps/pthread/allocalim.h: ... here.
11288 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11289 * sysdeps/pthread/bits/sigthread.h: ... here.
11290 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11291 * sysdeps/pthread/flockfile.c: ... here.
11292 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11293 * sysdeps/pthread/ftrylockfile.c: ... here.
11294 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11295 * sysdeps/pthread/funlockfile.c: ... here.
11296 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11297 * sysdeps/pthread/posix-timer.h: ... here.
11298 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11299 * sysdeps/pthread/timer_create.c: ... here.
11300 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11301 * sysdeps/pthread/timer_delete.c: ... here.
11302 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11303 * sysdeps/pthread/timer_getoverr.c: ... here.
11304 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11305 * sysdeps/pthread/timer_gettime.c: ... here.
11306 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11307 * sysdeps/pthread/timer_routines.c: ... here.
11308 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11309 * sysdeps/pthread/timer_settime.c: ... here.
11310 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11311 * sysdeps/pthread/tst-timer.c: ... here.
11312 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11313 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11314
e876b090
RM
11315 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11316 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11317
f6b07b3d
RM
11318 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11319 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11320 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11321 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11322 Update #include target.
11323 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11324 * sysdeps/i386/i686/nptl/Makefile: ... here.
11325 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11326 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11327 Update #include target.
11328 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11329 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11330 * nptl/sysdeps/i386/Makefile: Moved ...
11331 * sysdeps/i386/nptl/Makefile: ... here.
11332 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11333 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11334 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11335 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11336 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11337 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11338 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11339 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11340 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11341 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11342 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11343 * nptl/sysdeps/i386/tls.h: Moved ...
11344 * sysdeps/i386/nptl/tls.h: ... here.
11345
45262aee
RM
11346 * sysdeps/sh/Makefile [$(subdir) = csu]
11347 (gen-as-const-headers): Add tcb-offsets.sym.
11348 * nptl/sysdeps/sh/Makefile: File removed.
11349 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11350 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11351 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11352 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11353 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11354 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11355 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11356 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11357 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11358 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11359 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11360 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11361 * nptl/sysdeps/sh/tls.h: Moved ...
11362 * sysdeps/sh/nptl/tls.h: ... here.
11363 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11364 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11365 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11366 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11367 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11368 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11369 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11370 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11371 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11372 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11373 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11374 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11375 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11376 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11377 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11378 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11379 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11380 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11381 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11382 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11383 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11384 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11385 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11386 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11387 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11388 Moved ...
11389 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11391 Moved ...
11392 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11393 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11394 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11395 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11396 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11397 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11398 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11399 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11400 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11401 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11402 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11403 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11404 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11405 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11406 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11407 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11408 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11409 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11410 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11411
35a5e3e3
SL
114122014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11413
11414 * posix/spawn_faction_addopen.c: Include string.h.
11415
14642b85
RM
114162014-06-11 Roland McGrath <roland@hack.frob.com>
11417
11418 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11419 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11420 * nptl/sysdeps/x86_64/Makefile: Moved ...
11421 * sysdeps/x86_64/nptl/Makefile: ... here.
11422 * nptl/sysdeps/x86_64/configure: Moved ...
11423 * sysdeps/x86_64/nptl/configure: ... here.
11424 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11425 * sysdeps/x86_64/nptl/configure.ac: ... here.
11426 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11427 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11428 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11429 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11430 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11431 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11432 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11433 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11434 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11435 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11436 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11437 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11438 * nptl/sysdeps/x86_64/tls.h: Moved ...
11439 * sysdeps/x86_64/nptl/tls.h: ... here.
11440 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11441 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11442 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11443 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11444
11445 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11446
31c44fea
AZ
114472014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11448
11449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11450
e81a4f9a
JM
114512014-06-11 Joseph Myers <joseph@codesourcery.com>
11452
11453 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11454 type.
11455 [POSIX] (off_t): Likewise.
11456 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11457 [POSIX] (S_ISBLK): Require macro.
11458 [POSIX] (S_ISCHR): Likewise.
11459 [POSIX] (S_ISDIR): Likewise.
11460 [POSIX] (S_ISFIFO): Likewise.
11461 [POSIX] (S_ISREG): Likewise.
11462 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11463 optional-macro.
11464 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11465 type.
11466 [POSIX] (time_t): Likewise.
11467 [POSIX] (timer_t): Likewise.
11468
89e435f3
FW
114692014-06-11 Florian Weimer <fweimer@redhat.com>
11470
11471 [BZ #17048]
11472 * posix/spawn_int.h (struct __spawn_action): Make the path string
11473 non-const to support deallocation.
11474 * posix/spawn_faction_addopen.c
11475 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11476 * posix/spawn_faction_destroy.c
11477 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11478 path in all spawn_do_open actions.
11479 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11480 posix_spawn_file_actions_addopen.
11481
c3a2ebe1
CM
114822014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11483
11484 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11485 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11486 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11487 conditional code always true.
11488 (__libc_vfork): New alias.
11489
9503784a
RM
114902014-06-11 Roland McGrath <roland@hack.frob.com>
11491
c9cab3d2
RM
11492 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11493 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11494
d3996c79
RM
11495 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11496
ba5ec611
RM
11497 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11498 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11499
f12b4814
RM
11500 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11501 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11502
9503784a
RM
11503 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11504 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11505
e23d3d26
VR
115062014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11507
11508 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11509 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11510 multiarch strcmp for PPC64.
11511 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11514 multiarch optimizations.
11515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11516 (__libc_ifunc_impl_list): Likewise.
11517
42b1161e
SP
115182014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11519
11520 * benchtests/scripts/validate_benchout.py: New script.
11521 * benchtests/Makefile (bench-func): Call it.
11522 * benchtests/scripts/benchout.schema.json: New file.
11523
2d0fc4dc
CM
115242014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11525
4a594c34
AZ
11526 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11527 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11528 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11529 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11530 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11531 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11532 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11533 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11534 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11535 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11536 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11537 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11538 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11539 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11540 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11541 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11543 Moved ...
4a594c34 11544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11545 ... here.
4a594c34 11546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11547 Moved ...
4a594c34
AZ
11548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11550 Moved ...
4a594c34 11551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11552 ... here.
4a594c34 11553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11554 Moved ...
4a594c34 11555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11556 ... here.
4a594c34 11557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11558 Moved ...
4a594c34
AZ
11559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11561 Moved ...
4a594c34 11562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11563 ... here.
4a594c34 11564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11565 Moved ...
4a594c34 11566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11567 ... here.
4a594c34 11568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11569 Moved ...
4a594c34
AZ
11570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11572 Moved ...
4a594c34 11573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11574 ... here.
4a594c34 11575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11576 Moved ...
4a594c34 11577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11578 ... here.
4a594c34 11579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11580 Moved ...
4a594c34 11581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11582 ... here.
4a594c34 11583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11584 Moved ...
4a594c34
AZ
11585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11587 Moved ...
4a594c34 11588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11589 ... here.
4a594c34 11590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11591 Moved ...
4a594c34 11592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11593 ... here.
4a594c34 11594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11595 Moved ...
4a594c34 11596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11597 ... here.
4a594c34 11598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11599 Moved ...
4a594c34
AZ
11600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11602 Moved ...
4a594c34 11603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11604 ... here.
4a594c34 11605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11606 Moved ...
4a594c34 11607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11608 ... here.
4a594c34 11609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11610 Moved ...
4a594c34
AZ
11611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11613 Moved ...
4a594c34 11614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11615 ... here.
4a594c34 11616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11617 Moved ...
4a594c34
AZ
11618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11620 Moved ...
4a594c34
AZ
11621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11623 Moved ...
4a594c34 11624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11625 ... here.
4a594c34 11626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11627 Moved ...
4a594c34 11628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11629 ... here.
4a594c34 11630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11631 Moved ...
4a594c34 11632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11633 ... here.
4a594c34 11634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11635 Moved ...
4a594c34
AZ
11636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11638 Moved ...
4a594c34 11639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11640 ... here.
4a594c34 11641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11642 Moved ...
4a594c34 11643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11644 ... here.
4a594c34
AZ
11645 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11646 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11647 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11648 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11649 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11650 Moved ...
4a594c34 11651 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11652 ... here.
4a594c34
AZ
11653 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11654 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11655 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11656 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11658 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11659 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11660 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11661 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11662 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11663 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11664 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11666 Moved ...
4a594c34
AZ
11667 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11669 Moved ...
4a594c34
AZ
11670 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11671 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11672 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11673 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11674 Moved ...
4a594c34
AZ
11675 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11677 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11678 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11679 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11680 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11681 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11682
0570cfed
W
116832014-06-10 Wilco <wdijkstr@arm.com>
11684
11685 * math/test-fenv-return.c: New file.
11686 * math/Makefile: Add new test test-fenv-return.
11687
f8ba1b56
JM
116882014-06-10 Joseph Myers <joseph@codesourcery.com>
11689
11690 [BZ #17042]
11691 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11692 when x - 1 is zero.
11693 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11694 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11695 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11696 0.0L for an argument of 1.0L.
11697 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11698 Likewise.
11699 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11700 value when x - 1 is zero.
11701 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11702 * sysdeps/i386/fpu/libm-test-ulps: Update.
11703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11704
2c3520d9
BO
117052014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11706
11707 [BZ #15119]
11708 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11709
acaa4d24
RM
117102014-06-09 Roland McGrath <roland@hack.frob.com>
11711
11712 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11713 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11714
962b744d
RM
117152014-06-09 Roland McGrath <roland@hack.frob.com>
11716
d752f0cc
RM
11717 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11718 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11719
34eda6d1
RM
11720 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11721 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11722
50f0a637
RM
11723 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11724 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11725
08f41f04
RM
11726 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11727 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11728
962b744d
RM
11729 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11730 if not already defined.
11731 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11732 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11733 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11734 (TLS_INIT_TP): Use it.
11735 (TLS_DEFINE_INIT_TP): New macro.
11736 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11737
09f19b05
JM
117382014-06-09 Joseph Myers <joseph@codesourcery.com>
11739
11740 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11741 constant.
11742 [POSIX] (IXANY): Likewise.
11743 [POSIX] (OLCUC): Likewise.
11744 [POSIX || POSIX2008] (CBAUD): Do not allow.
11745 [POSIX || POSIX2008] (DEFECHO): Likewise.
11746 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11747 [POSIX || POSIX2008] (ECHOKE): Likewise.
11748 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11749 [POSIX || POSIX2008] (EXTA): Likewise.
11750 [POSIX || POSIX2008] (EXTB): Likewise.
11751 [POSIX || POSIX2008] (FLUSHO): Likewise.
11752 [POSIX || POSIX2008] (LOBLK): Likewise.
11753 [POSIX || POSIX2008] (PENDIN): Likewise.
11754 [POSIX || POSIX2008] (SWTCH): Likewise.
11755 [POSIX || POSIX2008] (VDISCARD): Likewise.
11756 [POSIX || POSIX2008] (VDSUSP): Likewise.
11757 [POSIX || POSIX2008] (VLNEXT): Likewise.
11758 [POSIX || POSIX2008] (VREPRINT): Likewise.
11759 [POSIX || POSIX2008] (VSTATUS): Likewise.
11760 [POSIX || POSIX2008] (VWERASE): Likewise.
11761 (B*): Change to B[0123456789]*.
11762 * conform/data/time.h-data [POSIX || UNIX98]
11763 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11764 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11765 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11766 [POSIX] (tm_*): Do not allow.
11767
686554bf
JM
117682014-06-07 Joseph Myers <joseph@codesourcery.com>
11769
11770 * Makefile (install): Don't set LANGUAGE.
11771 * Makefile.in (install): Likewise.
11772 * assert/Makefile (test-assert-ENV): Remove variable.
11773 (test-assert-perr-ENV): Likewise.
11774 * elf/Makefile (neededtest4-ENV): Likewise.
11775 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11776 [$(cross-compiling) = no]: Don't set LANGUAGE.
11777 * io/ftwtest-sh (LANG): Remove variable.
11778 * libio/Makefile (tst-widetext-ENV): Likewise.
11779 * manual/install.texi (Running make install): Don't refer to
11780 environment settings for make install.
11781 * INSTALL: Regenerated.
11782 * nptl/tst-tls6.sh: Don't set LANG.
11783 * posix/globtest.sh (LANG): Remove variable.
11784 * string/Makefile (tester-ENV): Likewise.
11785 (inl-tester-ENV): Likewise.
11786 (noinl-tester-ENV): Likewise.
11787 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11788 [$(cross-compiling) = no]: Don't set LANGUAGE.
11789 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11790 without explicit environment settings.
11791
68e6b6b1
RM
117922014-06-06 Roland McGrath <roland@hack.frob.com>
11793
11794 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11795 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11796 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11797 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11798
4d3ae034
CM
117992014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11800
11801 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11802 other files in the crypt directory.
11803 * crypt/crypt.c: Remove duplicate includes.
11804 * crypt/crypt-entry.c: Likewise.
11805 * crypt/crypt_util.c: Likewise.
11806
8540f6d2
JM
118072014-06-06 Joseph Myers <joseph@codesourcery.com>
11808
11809 * Makeconfig (run-program-env): New variable.
11810 (run-program-prefix-before-env): Likewise.
11811 (run-program-prefix-after-env): Likewise.
11812 (run-program-prefix): Define in terms of new variables.
11813 (built-program-cmd-before-env): New variable.
11814 (built-program-cmd-after-env): Likewise.
11815 (built-program-cmd): Define in terms of new variables.
11816 (test-program-prefix-before-env): New variable.
11817 (test-program-prefix-after-env): Likewise.
11818 (test-program-prefix): Define in terms of new variables.
11819 (test-program-cmd-before-env): New variable.
11820 (test-program-cmd-after-env): Likewise.
11821 (test-program-cmd): Define in terms of new variables.
11822 * Rules (make-test-out): Use $(run-program-env).
11823 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11824 (help): Do not mention environment variables. Mention
11825 --timeoutfactor option.
11826 (timeoutfactor): New variable.
11827 (blacklist_exports): Remove function.
11828 (exports): Remove variable.
11829 (command): Do not include ${exports}.
11830 * manual/install.texi (Configuring and compiling): Do not mention
11831 test wrappers preserving environment variables. Mention that last
11832 assignment to a variable must take precedence.
11833 * INSTALL: Regenerated.
11834 * benchtests/Makefile (run-bench): Use $(run-program-env).
11835 * catgets/Makefile ($(objpfx)test1.cat): Use
11836 $(built-program-cmd-before-env), $(run-program-env) and
11837 $(built-program-cmd-after-env).
11838 ($(objpfx)test2.cat): Do not specify environment variables
11839 explicitly.
11840 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11841 $(run-program-env) and $(built-program-cmd-after-env).
11842 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11843 $(run-program-env) and $(test-program-cmd-after-env).
11844 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11845 explicitly.
11846 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11847 run_program_env and test_program_cmd_after_env arguments.
11848 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11849 * elf/tst-pathopt.sh: Use run_program_env argument.
11850 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11851 $(test-wrapper-env) and $(run-program-env).
11852 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11853 run_program_env arguments.
11854 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11855 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11856 $(test-program-prefix-before-env), $(run-program-env) and
11857 $(test-program-prefix-after-env).
11858 ($(objpfx)tst-gettext2.out): Likewise.
11859 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11860 run_program_env and test_program_prefix_after_env arguments.
11861 * intl/tst-gettext2.sh: Likewise.
11862 * intl/tst-gettext4.sh: Do not set environment variables
11863 explicitly.
11864 * intl/tst-gettext6.sh: Likewise.
11865 * intl/tst-translit.sh: Likewise.
11866 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11867 $(test-program-prefix-before-env), $(run-program-env) and
11868 $(test-program-prefix-after-env).
11869 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11870 run_program_env and test_program_prefix_after_env arguments.
11871 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11872 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11873 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11874 explicitly with each use of ${test_wrapper_env}.
11875 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11876 $(test-program-prefix-before-env), $(run-program-env) and
11877 $(test-program-prefix-after-env).
11878 * posix/tst-getconf.sh: Do not set environment variables
11879 explicitly.
11880 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11881 run_program_env and test_program_prefix_after_env arguments.
11882 * stdio-common/tst-printf.sh: Do not set environment variables
11883 explicitly.
11884 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11885 $(test-program-prefix-before-env), $(run-program-env) and
11886 $(test-program-prefix-after-env).
11887 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11888 run_program_env and test_program_prefix_after_env arguments.
11889 Split $test calls into $test_pre and $test.
11890 * timezone/Makefile (build-testdata): Use
11891 $(built-program-cmd-before-env), $(run-program-env) and
11892 $(built-program-cmd-after-env).
11893
ed36bfa1
AZ
118942014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11895
11896 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11897 strlen for non SHARED builds.
11898
fc75bf46
SP
118992014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11900
11901 * nptl/allocatestack.c (check_list): Inlined function...
11902 (__reclaim_stacks): ... here.
11903
d89b3d80
OB
119042014-06-05 Ondřej Bílka <neleai@seznam.cz>
11905
11906 [BZ #15698]
11907 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11908 memory overrun.
11909
2bf18041
JM
119102014-06-05 Joseph Myers <joseph@codesourcery.com>
11911
11912 * Rules (make-test-out): Include
11913 LOCPATH=$(common-objpfx)localedata in default environment.
11914 * debug/Makefile (tst-chk1-ENV): Remove variable.
11915 (tst-chk2-ENV): Likewise.
11916 (tst-chk3-ENV): Likewise.
11917 (tst-chk4-ENV): Likewise.
11918 (tst-chk5-ENV): Likewise.
11919 (tst-chk6-ENV): Likewise.
11920 (tst-lfschk1-ENV): Likewise.
11921 (tst-lfschk2-ENV): Likewise.
11922 (tst-lfschk3-ENV): Likewise.
11923 (tst-lfschk4-ENV): Likewise.
11924 (tst-lfschk5-ENV): Likewise.
11925 (tst-lfschk6-ENV): Likewise.
11926 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11927 (tst-iconv7-ENV): Likewise.
11928 * intl/Makefile (LOCPATH-ENV): Likewise.
11929 (tst-codeset-ENV): Likewise.
11930 (tst-gettext3-ENV): Likewise.
11931 (tst-gettext5-ENV): Likewise.
11932 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11933 (tst-fopenloc-ENV): Likewise.
11934 (tst-fgetws-ENV): Remove variable.
11935 (tst-ungetwc1-ENV): Likewise.
11936 (tst-ungetwc2-ENV): Likewise.
11937 (bug-ungetwc2-ENV): Likewise.
11938 (tst-swscanf-ENV): Likewise.
11939 (bug-ftell-ENV): Likewise.
11940 (tst-fgetwc-ENV): Likewise.
11941 (tst-fseek-ENV): Likewise.
11942 (tst-ftell-partial-wide-ENV): Likewise.
11943 (tst-ftell-active-handler-ENV): Likewise.
11944 (tst-ftell-append-ENV): Likewise.
11945 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11946 (tst-regexloc-ENV): Likewise.
11947 (bug-regex1-ENV): Likewise.
11948 (tst-regex-ENV): Likewise.
11949 (tst-regex2-ENV): Likewise.
11950 (bug-regex5-ENV): Likewise.
11951 (bug-regex6-ENV): Likewise.
11952 (bug-regex17-ENV): Likewise.
11953 (bug-regex18-ENV): Likewise.
11954 (bug-regex19-ENV): Likewise.
11955 (bug-regex20-ENV): Likewise.
11956 (bug-regex22-ENV): Likewise.
11957 (bug-regex23-ENV): Likewise.
11958 (bug-regex25-ENV): Likewise.
11959 (bug-regex26-ENV): Likewise.
11960 (bug-regex30-ENV): Likewise.
11961 (bug-regex32-ENV): Likewise.
11962 (bug-regex33-ENV): Likewise.
11963 (bug-regex34-ENV): Likewise.
11964 (bug-regex35-ENV): Likewise.
11965 (tst-rxspencer-ENV): Likewise.
11966 (tst-rxspencer-no-utf8-ENV): Likewise.
11967 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11968 (tst-sscanf-ENV): Likewise.
11969 (tst-swprintf-ENV): Likewise.
11970 (tst-swscanf-ENV): Likewise.
11971 (test-vfprintf-ENV): Likewise.
11972 (scanf13-ENV): Likewise.
11973 (bug14-ENV): Likewise.
11974 (tst-grouping-ENV): Likewise.
11975 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11976 (tst-strtod3-ENV): Likewise.
11977 (tst-strtod4-ENV): Likewise.
11978 (tst-strtod5-ENV): Likewise.
11979 (testmb2-ENV): Likewise./
11980 * string/Makefile (tst-strxfrm-ENV): Likewise.
11981 (tst-strxfrm2-ENV): Likewise.
11982 (bug-strcoll1-ENV): Likewise.
11983 (test-strcasecmp-ENV): Likewise.
11984 (test-strncasecmp-ENV): Likewise.
11985 * time/Makefile (tst-strptime-ENV): Likewise.
11986 (tst-ftime_l-ENV): Likewise.
11987 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11988 (tst-mbrtowc-ENV): Likewise.
11989 (tst-wcrtomb-ENV): Likewise.
11990 (tst-mbrtowc2-ENV): Likewise.
11991 (tst-c16c32-1-ENV): Likewise.
11992 (tst-mbsnrtowcs-ENV): Likewise.
11993
cd1fb604
OB
119942014-06-05 Ondřej Bílka <neleai@seznam.cz>
11995
11996 * manual/resource.texi (How to get information about the memory
11997 subsystem?): Fix typo.
11998 Reported by Peon de la Parra Ivan <peon@keba.com>
11999
b42eca7d
GY
120002014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12001
12002 [BZ #16882]
12003 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12004 (pthread_spin_lock): Branch out of spin loop to proper location.
12005 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12006 (pthread_spin_lock): Likewise.
12007
902b71f9
DM
12008 * nptl/tst-spin4.c: New test.
12009 * nptl/Makefile (tests): Add tst-spin4.
12010
f9d2d032
AS
120112014-06-03 Andreas Schwab <schwab@suse.de>
12012
12013 [BZ #15946]
12014 * resolv/res_send.c (send_dg): Reload file descriptor after
12015 calling reopen.
12016
cf7bfd28
SL
120172014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12018
12019 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12020
111cc714
RH
120212014-06-03 Richard Henderson <rth@redhat.com>
12022
89b4bd6b
RH
12023 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12024 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12025 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12026 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12027 in the SAVE_PID block.
12028 (__libc_vfork): New alias.
71840409 12029 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12030
111cc714
RH
12031 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12032 child in registers, not on the stack. Remove RESET_PID conditionals.
12033 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12034
ccc39911
MS
120352014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12036
12037 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12038
693096cc
W
120392014-06-03 Wilco <wdijkstr@arm.com>
12040
12041 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12042 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12043 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12044 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12045 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12046 Likewise.
12047
0b4366bc
W
120482014-06-03 Wilco <wdijkstr@arm.com>
12049
12050 * sysdeps/aarch64/fpu/math_private.h
12051 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12052 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12053 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12054 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12055 Fix declarations.
12056
8747cd03
KS
120572014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12058
12059 * crypt/crypt-private.h: Include ufc-crypt.h.
12060 (__b64_from_24bit): Declare extern.
12061 * crypt/crypt_util.c(__b64_from_24bit): New function.
12062 (b64t): New static const variable.
12063 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12064 (b64t): Remove variable.
12065 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12066 * crypt/sha256-crypt.c: Include crypt-private.h.
12067 (b64t): Remove variable.
12068 (__sha256_crypt_r): Remove b64_from_24bit and replace
12069 with __b64_from_24bit.
12070 * crypt/sha512-crypt.c: Likewise.
12071
d936d379
RM
120722014-06-02 Roland McGrath <roland@hack.frob.com>
12073
12074 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12075 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12076 Label the code __libc_vfork rather than __vfork.
12077 [!NOT_IN_libc] (vfork): Define as weak alias.
12078 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12079 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12080 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12081
9fa76613
SP
120822014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12083
12084 * malloc/malloc.c (malloc_info): Fix format specifier for
12085 n_mmaps.
12086
a88dadbe
W
120872014-06-02 Wilco <wdijkstr@arm.com>
12088
12089 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12090 FPCR write.
12091
c95b3011
W
120922014-06-02 Wilco <wdijkstr@arm.com>
12093
12094 [BZ #17009]
12095 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12096 Rewrite to reduce FPCR/FPSR accesses.
12097
6b4d7a90
DM
120982014-06-01 David S. Miller <davem@davemloft.net>
12099
12100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12101
30f3d07c
DM
121022014-05-31 David S. Miller <davem@davemloft.net>
12103
12104 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12105 to occur in round to nearest mode when |x| >= 2.0
12106
74f31c18
RH
121072014-05-30 Richard Henderson <rth@twiddle.net>
12108
f0712b54
RH
12109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12110 (PSEUDO_RET_NOERRNO): Remove.
12111 (ret): Don't redefine.
12112 (ret_NOERRNO): Define in terms of ret.
12113 (ret_ERRVAL): Likewise.
12114
74f31c18
RH
12115 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12116 use of PSEUDO_RET; perform the error check directly.
12117
30477995
MM
121182014-05-30 Marko Myllynen <myllynen@redhat.com>
12119
12120 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12121 with __int128_t.
12122
62a58816
SP
121232014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12124
12125 * malloc/malloc (malloc_info): Fix formatting.
12126
4d653a59
SP
121272014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12128 Roland McGrath <roland@hack.frob.com>
12129
12130 * malloc/malloc (malloc_info): Also print mmapped statistics.
12131
5190c17f
RM
121322014-05-30 Roland McGrath <roland@hack.frob.com>
12133
12134 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12135 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12136
987c0269
OB
121372014-05-30 Ondřej Bílka <neleai@seznam.cz>
12138
12139 * malloc/malloc.c (malloc_info): Inline mi_arena.
12140
af4e8ef9
RH
121412014-05-29 Richard Henderson <rth@twiddle.net>
12142
1670e207
RH
12143 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12144 Remove comma before expanding ASM_ARGS_##nr.
12145 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12146 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12147 of ASM_ARGS_##nr.
12148 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12149 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12150 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12151 (ASM_ARGS_1): Add leading comma.
12152
11a28aee
RH
12153 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12154 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12155 to __errno_location.
12156 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12157 Remove the expected plt for __errno_location.
12158
a17e5ffb 12159 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12160 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12161 call to __read_tp.
12162
b5be4597
RH
12163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12164 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12165 it and break it down.
12166 (DOCARGS_0, DOCARGS_1): Do nothing.
12167 (DOCARGS_2): Update to store into the new stack frame.
12168 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12169 (UNDOCARGS_1): Update to restore from the new stack frame.
12170 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12171 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12172
645d44ab
RH
12173 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12174 (SINGLE_THREAD_P): New parameter for result regno.
12175 (PSEUDO): Update to match; use cbz instead of beq.
12176
a8b4f04a
RH
12177 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12178 Use ENTRY to define the _nocancel entry point. Share the syscall
12179 and syscall error check paths with the cancel path.
12180 (PSEUDO_END): New.
12181
af4e8ef9
RH
12182 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12183 whitespace; tabs before and after asm mnemonics.
12184
26b0d2e1
EW
121852014-05-29 Eric Wong <normalperson@yhbt.net>
12186
12187 [BZ #15132]
12188 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12189 Call fstat64 or stat64 internally, depending on arguments passed.
12190 Replace stat buffer argument with file descriptor argument.
12191 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12192 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12193 Pass fd to __internal_statvfs instead of calling fstat64.
12194 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12195 Pass fd to __internal_statvfs64 instead of calling fstat64.
12196 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12197 Pass -1 to __internal_statvfs instead of calling stat64.
12198 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12199 Pass -1 to __internal_statvfs64 instead of calling stat64.
12200
1efe2bd9
RM
122012014-05-28 Roland McGrath <roland@hack.frob.com>
12202
0d3b7a19
RM
12203 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12204 that was previously under [RESET_PID].
12205 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12206
1efe2bd9
RM
12207 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12208 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12209
a6bea3ca
RM
122102014-05-27 Roland McGrath <roland@hack.frob.com>
12211
30b6629e
RM
12212 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12213
a6bea3ca
RM
12214 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12215 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12216
3dfb9a5c
OB
122172014-05-27 Ondřej Bílka <neleai@seznam.cz>
12218
12219 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12220
774f9285
AS
122212014-05-27 Andreas Schwab <schwab@suse.de>
12222
12223 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12224 TLS_INIT_TP macro.
12225 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12226 * elf/rtld.c (init_tls, dl_main): Likewise.
12227 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12228 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12229 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12230 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12231 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12232 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12233 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12234 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12235 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12236 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12237 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12238 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12239 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12240 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12241 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12242 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12243 * sysdeps/generic/tls.h: Update description.
12244
36ffe739
WN
122452014-05-27 Will Newton <will.newton@linaro.org>
12246
12247 [BZ #16990]
12248 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12249 and restore r2 rather than just restoring.
12250
2482ae43
SP
122512014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12252
12253 [BZ #16724]
12254 * libio/tst-ftell-append.c: New test case.
12255 * libio/Makefile (tests): Add test case.
12256 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12257 append mode.
12258 * libio/wfileops.c (do_ftell_wide): Likewise.
12259
3d1024e8
AZ
122602014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12261
bab90016
AZ
12262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12263
c7a8d667
AZ
12264 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12265 ...
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12268 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12269 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12270 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12271 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12272 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12273 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12275 Moved ...
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12278 Moved ...
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12280 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12281 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12282 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12283 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12284 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12285 ...
12286 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12287 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12288 Moved ...
12289 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12290 here.
12291 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12292 ...
12293 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12294 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12295 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12296
daee7851
AZ
12297 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12298 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12299 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12300 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12301
50a40819
AZ
12302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12303 merge into ...
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12306 ...
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12309 ...
12310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12312 Moved ...
12313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12314 here.
12315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12316 Moved ...
12317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12319 Moved ...
12320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12321
8464c2a1
AZ
12322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12323 conditional [RESET_PID].
12324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12326 removed.
12327 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12328 removed.
12329
3d1024e8
AZ
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12331 <tcb-offsets.h>.
12332 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12333 (__libc_vfork): New strong alias.
12334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12335 removed.
12336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12337 Removed.
12338
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12340 <tcb-offsets.h>.
12341 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12342 (__libc_vfork): New strong alias.
12343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12344 removed.
12345 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12346 removed.
12347
fdfd175d
CD
123482014-05-26 Carlos O'Donell <carlos@redhat.com>
12349
12350 * malloc/malloc.c (mi_arena): New function.
12351 (malloc_info): Remove nested function mi_arena. Call non-nosted
12352 function mi_arena.
12353
d298c416
AZ
123542014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12355
12356 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12357 by insrwi.
12358 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12359 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12360 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12361 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12362 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12363 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12364 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12365
b60ea6ff
AS
123662014-05-26 Andreas Schwab <schwab@suse.de>
12367
12368 [BZ #16984]
12369 * locale/programs/repertoire.c (repertoire_read): Add slash
12370 between I18NPATH element and file name.
12371 * locale/programs/locfile.c (locfile_read): Likewise.
12372
67365926
SL
123732014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12374
12375 * nptl/pthread_mutexattr_settype.c
12376 (__pthread_mutexattr_settype):
12377 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12378
f8bdf1f0
SL
123792014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12380
12381 * nptl/tst-mutex5 (do_test):
12382 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12383
15eaf6ff
SP
123842014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12385
12386 * benchtests/README: Document 'init' directive.
12387 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12388 BENCH_INIT.
12389 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12390 (parse_file): Recognize 'init' directive.
12391
75f11331
KM
123922014-05-26 Kyle McMartin <kyle@redhat.com>
12393
12394 [BZ #16796]
12395 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12396 alignment of struct pthread.
12397
c3ec475c
SP
123982014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12399
12400 [BZ #16878]
12401 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12402 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12403 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12404 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12405
82aab97c
RH
124062014-05-25 Richard Henderson <rth@twiddle.net>
12407
aa2f176d
RH
12408 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12409 (SINGLE_THREAD_P_PIC): Remove.
12410 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12411 (SINGLE_THREAD_P_PIC): Remove.
12412
ca3cfa40
RH
12413 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12414 branch to syscall error ...
12415 (PSEUDO): ... here.
12416 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12417 from __local_syscall_error to .Lsyscall_error.
12418 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12419 (SYSCALL_ERROR): Update label name.
12420
6e6c2d01
RH
12421 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12422 Do not use DOARGS/UNDOARGS.
12423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12424 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12425 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12426 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12427 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12428
c69abcee
RH
12429 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12430 block comment.
12431
82aab97c
RH
12432 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12433 define if !NOT_IN_libc.
12434 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12435 define with non-default symbol versions.
12436
8820e3ac
RH
124372014-05-23 Richard Henderson <rth@twiddle.net>
12438
900e445f
RH
12439 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12440 (vfork, __vfork): Define via compat_symbol.
12441
8820e3ac
RH
12442 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12443 [!HAVE_IFUNC] (vfork_compat): Remove.
12444 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12445
e59252a5
JM
124462014-05-23 Joseph Myers <joseph@codesourcery.com>
12447
12448 [BZ #16978]
12449 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12450 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12451 variable.
12452
132c7f5f
RH
124532014-05-23 Richard Henderson <rth@twiddle.net>
12454
bc89e962
RH
12455 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12456 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12457 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12458 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12459
12460 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12461 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12462 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12463 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12464 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12465 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12466 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12467 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12468 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12469 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12470 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12471 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12472 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12473 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12474 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12475 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12476 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12477 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12478 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12479 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12480 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12481 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12482 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12483 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12484 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12485 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12486 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12487 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12488 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12489 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12490 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12491 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12492 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12493 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12494 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12495 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12496 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12497 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12498 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12499 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12500 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12501 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12502 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12503 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12504 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12505 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12507 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12508 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12509 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12510 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12511 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12513 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12514 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12515 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12516
e2fa4bc2
RH
12517 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12518 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12519 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12520 before exiting on error.
12521 (__libc_vfork): New strong alias.
12522 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12523 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12524
279b24e2
RH
12525 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12526 that was previously under [RESET_PID].
12527 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12528
132c7f5f
RH
12529 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12530
b72592e7
JM
125312014-05-23 Joseph Myers <joseph@codesourcery.com>
12532
12533 [BZ #16977]
12534 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12535 value when x - 1 is zero.
12536 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12537 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12538 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12539 0.0L for an argument of 1.0L.
12540 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12541 Likewise.
12542 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12543 value when x - 1 is zero.
12544 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12545 * sysdeps/i386/fpu/libm-test-ulps: Update.
12546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12547
2302d679
RV
125482014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12549
12550 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12551 alphasort and versionsort.
12552
32999d63
AZ
125532014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12554
12555 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12556 macro.
12557 [copysignf]: Likewise.
12558
019324d0
SP
125592014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12560
12561 * crypt/md5-crypt.c: Fix formatting.
12562
34fff5c2
KS
125632014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12564
12565 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12566 (b64_from_24bit): New function.
12567
3d2badac
AZ
125682014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12569
12570 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12571 libc_hidden_builtin_def to ifunc.
12572 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12573 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12574
f7bb179f 125752014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12576
12577 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12578 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12579
4134b50d
JM
125802014-05-21 Joseph Myers <joseph@codesourcery.com>
12581
bb7d0337
JM
12582 * nscd/Depend (linuxthreads): Remove.
12583 (nptl): Add.
12584 * resolv/Depend (linuxthreads): Remove.
12585 * rt/Depend (linuxthreads): Remove.
12586
4134b50d
JM
12587 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12588 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12589 $(common-objpfx)elf/.
12590 (link-libc-before-gnulib): Likewise.
12591 (elfobjdir): Remove variable.
12592 * Makefile (install): Use $(elf-objpfx) instead of
12593 $(common-objpfx)elf/.
12594 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12595 $(elfobjdir)/.
12596 (link-libc-deps): Likewise.
12597 ($(common-objpfx)libc.so): Likewise.
12598 ($(common-objpfx)linkobj/libc.so): Likewise.
12599 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12600 instead of $(common-objpfx)elf/.
12601 (symbolic-link-list): Likewise.
12602 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12603 [$(cross-compiling) = no]: Likewise.
12604 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12605 $(elfobjdir)/.
12606 (static-gnulib-arch): Likewise.
12607 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12608 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12609 $(common-objpfx)elf/.
12610
3612eb8f
RH
126112014-05-21 Richard Henderson <rth@redhat.com>
12612
a6b3657b
RH
12613 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12614 (SINGLE_THREAD_P): Use the correct width load. Fold
12615 into the ldr offset.
12616
3612eb8f
RH
12617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12618 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12619
175cef41
JM
126202014-05-20 Joseph Myers <joseph@codesourcery.com>
12621
12622 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12623 (libgcc_s_resume): Use __attribute_used__.
12624 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12625 Likewise.
12626
e13bccd3
AZ
126272014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12628
12629 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12630 optimization when used with float constants.
12631
7c112a38
AZ
12632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12633
ae75a883
AJ
126342014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12635
12636 [BZ #16915]
12637 * locale/nl_langinfo_l.c: Make direct reference to every
12638 _nl_current_CATEGORY symbol.
12639 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12640 (tests-static): Add tst-langinfo-static.
12641 (tests-special): Add tst-langinfo-static.out.
12642 ($(objpfx)tst-langinfo.out): Redirect output.
12643 ($(objpfx)tst-langinfo-static.out): New.
12644 * localedata/tst-langinfo.sh: Send output to stdout.
12645 * localedata/tst-langinfo-static.c: New file.
12646
4406c41c
AJ
12647 [BZ #16965]
12648 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12649 when the shift amount is modulo the limb size.
12650
4c0a1e63
RH
126512014-05-20 Richard Henderson <rth@redhat.com>
12652
de9d8f20
RH
12653 [BZ #16967]
12654 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12655 Change type of sa_flags from unsigned int to int.
12656
4c0a1e63
RH
12657 [BZ #16966]
12658 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12659
12660 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12661
a60339aa
WN
126622014-05-20 Will Newton <will.newton@linaro.org>
12663
12664 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12665 Test the return value of the system call in the nocancel case.
12666
7d05a816
YR
126672014-05-20 Will Newton <will.newton@linaro.org>
12668 Yvan Roux <yvan.roux@linaro.org>
12669
12670 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12671 #include of asm/ptrace.h.
12672 (PTRACE_GET_THREAD_AREA): Remove #undef.
12673 (PTRACE_GETHBPREGS): Likewise.
12674 (PTRACE_SETHBPREGS): Likewise.
12675 (struct user_regs_struct): New structure.
12676 (struct user_fpsimd_struct): New structure.
12677 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12678 #include of asm/ptrace.h and second #include of sys/user.h.
12679 (PTRACE_GET_THREAD_AREA): Remove #undef.
12680 (PTRACE_GETHBPREGS): Likewise.
12681 (PTRACE_SETHBPREGS): Likewise.
12682 (ELF_NGREG): Use new struct user_regs_struct.
12683 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12684
af121e37
AZ
126852014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12686
12687 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12688 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12689
834caf06
JM
126902014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12691
12692 [BZ #16958]
12693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12694 membar to avoid block loads/stores to overlap previous stores.
12695
e184a918
RH
126962014-05-17 Richard Henderson <rth@redhat.com>
12697
12698 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12699 Create the __##syscall_name##_nocancel entry point.
12700 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12701 Remove; let the sysdep-cancel.h code create it.
12702
f56c7a6a
DM
127032014-05-17 David S. Miller <davem@davemloft.net>
12704
12705 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12706 Protect with __USE_GNU.
12707 (TIOCSET_TEMPT): Likewise.
12708 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12709 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12710 these are already provided in bits/ioctl-types.h
12711
f75616b2
RM
127122014-05-16 Roland McGrath <roland@hack.frob.com>
12713
3edeca86
RM
12714 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12715 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12716
f75616b2
RM
12717 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12718 Use wait4 regardless of [__NR_waitpid].
12719
deb0f7f6
MR
127202014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12721
12722 PR libgcc/60166
12723 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12724 (_FP_NANSIGN_Q): Set the quiet bit.
12725
79520f4b
JM
127262014-05-16 Joseph Myers <joseph@codesourcery.com>
12727
12728 * benchtests/Makefile
12729 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12730 not $(common-objpfx)math/libm.so.
12731 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12732 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12733 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12734 $(common-objpfx)dlfcn/libdl.so.
12735 ($(objpfx)tst-audit8): Depend on $(libm), not
12736 $(common-objpfx)math/libm.so.
12737 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12738 not $(common-objpfx)dlfcn/libdl.so.
12739 * math/Makefile
12740 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12741 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12742 [$(build-shared) = yes].
12743 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12744 $(common-objpfx)nptl/libpthread.so.
12745 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12746 $(common-objpfx)math/libm.so$(libm.so-version) or
12747 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12748 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12749 $(common-objpfx)dlfcn/libdl.so.
12750 * setjmp/Makefile (link-libm): Remove variable.
12751 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12752 * stdio-common/Makefile (link-libm): Remove variable.
12753 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12754 * stdlib/Makefile (link-libm): Remove variable.
12755 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12756 ($(objpfx)tst-strtod-round): Likewise.
12757 ($(objpfx)tst-tininess): Likewise.
12758 ($(objpfx)tst-strtod-underflow): Likewise.
12759 ($(objpfx)tst-strtod6): Likewise.
12760 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12761 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12762 $(common-objpfx)dlfcn/libdl.so.
12763
026b0fe4
AZ
127642014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12765
12766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12767 BSD terminal modes definitions.
12768
def4bcb2
RM
127692014-05-16 Roland McGrath <roland@hack.frob.com>
12770
fe39b021
RM
12771 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12772 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12773
1d1fc46e 12774 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12775 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12776 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12777 Don't do #include_next.
12778 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12779 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12780 Don't do #include_next.
12781 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12782 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12783 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12784 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12785
c72399fb
AM
127862014-05-16 Allan McRae <allan@archlinux.org>
12787
d51d659d
AM
12788 * po/sv.po: Update Swedish translation from translation project.
12789
c72399fb
AM
12790 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12791 in sed expression.
12792
d0583c40
AJ
127932014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12794
12795 [BZ #16917]
12796 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12797 errno if the TIOCGPTN ioctl fails with an error different than
12798 EINVAL.
12799 * login/tst-ptsname.c: New file.
12800 * login/Makefile (tests): Add tst-ptsname.
12801
d16e6ec7
AJ
12802 [BZ #16943]
12803 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12804 and prlimit64.
12805
cf26a0cb
SP
128062014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12807
12808 [BZ #16849]
12809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12810 herrno to return EAI_AGAIN.
12811
5675da1e
RM
128122014-05-14 Roland McGrath <roland@hack.frob.com>
12813
a5d87b3d
RM
12814 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12815 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12816 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12817 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12818 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12819 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12820 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12821 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12823 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12824 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12825 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12826 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12827 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12828 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12829 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12830 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12831 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12832 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12833 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12834 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12835 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12836 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12837 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12838 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12839 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12840 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12841 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12842 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12843 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12845 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12847 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12849 Moved ...
12850 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12852 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12854 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12856 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12858 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12860 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12862 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12864 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12866 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12868 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12870 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12872 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12874 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12876 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12878 Moved ...
12879 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12881 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12883 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12885 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12887 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12889 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12891 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12893 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12895 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12897 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12899 Moved ...
12900 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12902 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12903
039890a6
RM
12904 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12905 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12906 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12907 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12908 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12909 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12910 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12911 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12912 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12913 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12914 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12915 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12916 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12917 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12918 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12919 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12920 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12921 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12922 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12923 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12924 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12925 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12926 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12927 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12928 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12929 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12930 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12931 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12932 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12933 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12934 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12935
65c89320
RM
12936 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12937 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12938
348f8e8c
RM
12939 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12940 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12941 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12942 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12943 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12944 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12945 Moved ...
12946 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12947 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12948 Moved ...
12949 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12950 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12951 Moved ...
12952 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12953 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12954 Moved ...
12955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12956 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12957 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12958 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12959 Moved ...
12960 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12961 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12962 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12963 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12964 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12965 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12966 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12967 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12968 Moved ...
12969 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12970 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12971 Moved ...
12972 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12973 ... here.
12974 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12975 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12977 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12979 Moved ...
12980 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12981 ... here.
12982 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12983 Moved ...
12984 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12985 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12986 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12987 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12988 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12989 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12990 Moved ...
12991 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12992 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12993 Moved ...
12994 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12995 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12996 Moved ...
12997 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12998 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12999 Moved ...
13000 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13001 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13002 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13003 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13004 Moved ...
13005 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13006 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13007 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13008 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13009 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13010 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13011 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13012 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13013 Moved ...
13014 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13015 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13016 Moved ...
13017 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13018 ... here.
13019 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13020 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13021 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13022 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13024 Moved ...
13025 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13026 ... here.
13027 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13028 Moved ...
13029 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13030 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13031 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13032 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13033 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13034 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13035 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13036 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13037 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13039 Moved ...
13040 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13041 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13042 Moved ...
13043 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13044 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13045 Moved ...
13046 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13047 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13048 Moved ...
13049 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13050 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13051 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13052 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13053 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13054 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13055 Moved ...
13056 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13057 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13058 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13060 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13061 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13062 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13063 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13064 Moved ...
13065 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13066 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13067 Moved ...
13068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13069 ... here.
13070 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13071 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13072 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13073 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13074 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13075 Moved ...
13076 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13077 ... here.
13078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13079 Moved ...
13080 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13081 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13082 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13083 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13084 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13085 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13086 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13087 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13088 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13089 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13090 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13091
5085af05
RM
13092 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13093 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13094
708f0813
RM
13095 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13096 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13097
c96067bc
RM
13098 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13099 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13100 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13101 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13102 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13103 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13104 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13105 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13106 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13107 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13108 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13109 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13110 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13111 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13112 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13114 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13115 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13116 Moved ...
13117 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13119 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13121 Moved ...
13122 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13124 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13126 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13128 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13130 Moved ...
13131 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13132 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13133 Moved ...
13134 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13136 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13137 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13140 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13141 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13142 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13143 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13144 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13145 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13146 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13147 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13148 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13149 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13150 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13151
ec136444
RM
13152 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13153 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13154 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13155 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13156 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13157
2fbdf533
RM
13158 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13159 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13160 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13161 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13162 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13163 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13164 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13165 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13166 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13167 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13168
4c68138b
RM
13169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13170 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13171
4eaae765
RM
13172 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13173 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13174 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13175 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13176 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13177 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13178 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13179 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13180 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13181 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13182 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13183 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13184 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13185 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13187 Update #include.
13188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13189 Likewise.
13190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13191 Likewise.
13192 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13193 Likewise.
13194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13195 Likewise.
13196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13197 Likewise.
13198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13199 Likewise.
13200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13201 Likewise.
13202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13203 Likewise.
13204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13205 Likewise.
4ef6befa
RM
13206 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13208 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13210 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13211 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13212 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13213 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13214 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13215 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13216 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13217 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13218 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13219 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13220 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13221
941d7dfd
RM
13222 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13223 that was previously under [RESET_PID].
13224 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13225 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13226 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13227
1b731c35
RM
13228 * sysdeps/i386/nptl/Implies: New file.
13229 * sysdeps/x86_64/nptl/Implies: New file.
13230 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13231 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13232 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13233 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13234
e2787137
RM
13235 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13236 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13237 (__libc_vfork): New strong alias.
13238 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13239 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13240
13241 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13242 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13243 (__libc_vfork): New strong alias.
13244 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13245 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13246
5675da1e
RM
13247 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13248 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13249 (__libc_vfork): New strong alias.
13250 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13251 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13252 * nptl/pt-vfork.c: New file.
13253 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13254 (libpthread: GLIBC_2.20): New version set (empty).
13255
4f02e2b8
WN
132562014-05-14 Will Newton <will.newton@linaro.org>
13257
13258 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13259 rather than #if.
13260
0bf061d3
JM
132612014-05-14 Joseph Myers <joseph@codesourcery.com>
13262
1a84c3d6
JM
13263 [BZ #16564]
13264 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13265 arguments with exponent 65 or above.
13266 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13267 arguments 0x1p113L or above.
13268 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13269 to arguments 0x1p107L or above.
13270 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13271 positive arguments with exponent 65 or above.
13272 * math/auto-libm-test-in: Add more tests of log1p.
13273 * math/auto-libm-test-out: Regenerated.
13274
01dbacd2
JM
13275 [BZ #16928]
13276 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13277 non-finite arguments is +0.
13278 * math/s_cacosf.c (__cacosf): Likewise.
13279 * math/s_cacosl.c (__cacosl): Likewise.
13280 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13281 * sysdeps/i386/fpu/libm-test-ulps: Update.
13282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13283
913d03c8
JM
13284 [BZ #16927]
13285 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13286 value.
13287 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13288 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13289 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13290 for explicit high bit of mantissa when testing for argument equal
13291 to 1.
13292 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13293 * sysdeps/i386/fpu/libm-test-ulps: Update.
13294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13295
0bf061d3
JM
13296 [BZ #16516]
13297 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13298 (__erf): Scale by 16 instead of 8 in potentially underflowing
13299 case. Ensure exception if result actually underflows.
13300 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13301 (__erff): Scale by 16 instead of 8 in potentially underflowing
13302 case. Ensure exception if result actually underflows.
13303 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13304 (efx8): Remove variable.
13305 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13306 case. Ensure exception if result actually underflows.
13307 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13308 (efx8): Remove variable.
13309 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13310 case. Ensure exception if result actually underflows.
13311 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13312 (efx8): Remove variable.
13313 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13314 case. Ensure exception if result actually underflows.
13315 * math/auto-libm-test-in: Add more tests of erf.
13316 * math/auto-libm-test-out: Regenerated.
13317
73ba67cb
AS
133182014-05-14 Andreas Schwab <schwab@suse.de>
13319
3d8c8bff
AS
13320 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13321 Remove code conditionalized on USE___THREAD.
13322
73ba67cb
AS
13323 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13324 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13325 not definedness.
13326
5c521ecd
JM
133272014-05-14 Joseph Myers <joseph@codesourcery.com>
13328
5e7698c6
JM
13329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13330 Define unconditionally.
13331 (__ASSUME_O_CLOEXEC): Likewise.
13332 (__ASSUME_SOCK_CLOEXEC): Likewise.
13333 (__ASSUME_IN_NONBLOCK): Likewise.
13334 (__ASSUME_PIPE2): Likewise.
13335 (__ASSUME_EVENTFD2): Likewise.
13336 (__ASSUME_SIGNALFD4): Likewise.
13337 (__ASSUME_DUP3): Likewise.
13338 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13339 (__ASSUME_DUP3): Do not define.
13340 (__ASSUME_EVENTFD2): Likewise.
13341 (__ASSUME_IN_NONBLOCK): Likewise.
13342 (__ASSUME_O_CLOEXEC): Likewise.
13343 (__ASSUME_PIPE2): Likewise.
13344 (__ASSUME_SIGNALFD4): Likewise.
13345 (__ASSUME_SOCK_CLOEXEC): Likewise.
13346 (__ASSUME_UTIMES): Undefine.
13347 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13348 (__ASSUME_UTIMES): Do not define.
13349 (__ASSUME_O_CLOEXEC): Likewise.
13350 (__ASSUME_SOCK_CLOEXEC): Likewise.
13351 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13352 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13353 0x020621].
13354 (__ASSUME_PIPE2): Likewise.
13355 (__ASSUME_EVENTFD2): Likewise.
13356 (__ASSUME_SIGNALFD4): Likewise.
13357 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13358 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13359 Do not define.
13360 (__ASSUME_EVENTFD2): Likewise.
13361 (__ASSUME_SIGNALFD4): Likewise.
13362 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13363 (__ASSUME_32BITUIDS): Likewise.
13364 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13365 (__ASSUME_IPC64): Likewise.
13366 (__ASSUME_ST_INO_64_BIT): Likewise.
13367 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13368 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13370 (__ASSUME_UTIMES): Do not define.
13371 (__ASSUME_PSELECT): Likewise.
13372 (__ASSUME_PPOLL): Likewise.
13373 (__ASSUME_O_CLOEXEC): Likewise.
13374 (__ASSUME_SOCK_CLOEXEC): Likewise.
13375 (__ASSUME_IN_NONBLOCK): Likewise.
13376 (__ASSUME_PIPE2): Likewise.
13377 (__ASSUME_EVENTFD2): Likewise.
13378 (__ASSUME_SIGNALFD4): Likewise.
13379 (__ASSUME_DUP3): Likewise.
13380 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13381 (__ASSUME_UTIMES): Likewise.
13382 (__ASSUME_O_CLOEXEC): Likewise.
13383 (__ASSUME_SOCK_CLOEXEC): Likewise.
13384 (__ASSUME_IN_NONBLOCK): Likewise.
13385 (__ASSUME_PIPE2): Likewise.
13386 (__ASSUME_EVENTFD2): Likewise.
13387 (__ASSUME_SIGNALFD4): Likewise.
13388 (__ASSUME_DUP3): Likewise.
13389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13390 (__ASSUME_UTIMES): Likewise.
13391 (__ASSUME_O_CLOEXEC): Likewise.
13392 (__ASSUME_SOCK_CLOEXEC): Likewise.
13393 (__ASSUME_IN_NONBLOCK): Likewise.
13394 (__ASSUME_PIPE2): Likewise.
13395 (__ASSUME_EVENTFD2): Likewise.
13396 (__ASSUME_SIGNALFD4): Likewise.
13397 (__ASSUME_DUP3): Likewise.
13398 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13399 Likewise.
13400 (__ASSUME_UTIMES): Likewise.
13401 (__ASSUME_EVENTFD2): Likewise.
13402 (__ASSUME_SIGNALFD4): Likewise.
13403 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13404 (__ASSUME_O_CLOEXEC): Likewise.
13405 (__ASSUME_SOCK_CLOEXEC): Likewise.
13406 (__ASSUME_IN_NONBLOCK): Likewise.
13407 (__ASSUME_PIPE2): Likewise.
13408 (__ASSUME_EVENTFD2): Likewise.
13409 (__ASSUME_SIGNALFD4): Likewise.
13410 (__ASSUME_DUP3): Likewise.
13411 (__ASSUME_UTIMES): Undefine.
13412
5c521ecd
JM
13413 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13414 feclearexcept. Remove symbol versioning code.
13415 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13416 symbol versioning code.
13417 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13418 symbol versioning code.
13419 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13420 feupdateenv. Remove symbol versioning code.
13421 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13422 fegetexceptflag. Remove symbol versioning code.
13423 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13424 fesetexceptflag. Remove symbol versioning code.
13425 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13426 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13427 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13428 (__posix_fadvise64_l32): Remove prototype.
13429 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13430 code.
13431
5da9dfad
RM
134322014-05-13 Roland McGrath <roland@hack.frob.com>
13433
13434 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13435 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13436 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13437 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13438
893b4f37
SK
134392014-05-13 Sami Kerola <kerolasa@iki.fi>
13440
13441 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13442 current working directory
13443
e0db6517
RM
134442014-05-13 Roland McGrath <roland@hack.frob.com>
13445
58aa195d
RM
13446 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13447 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13448 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13449 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13450 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13451 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13452 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13453 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13454 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13455 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13456 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13457 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13458 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13459 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13460 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13461 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13462 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13463 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13464 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13465 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13466 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13467 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13468 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13469 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13470 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13471 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13472 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13473 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13474 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13475 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13476 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13477 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13478 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13479 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13480 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13481 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13482 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13483 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13484 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13485 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13486 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13487 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13488
8c6d01f0
RM
13489 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13490 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13491
13492 * sysdeps/unix/sysv/linux/arm/Makefile
13493 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13494 Add rt-aeabi_unwind_cpp_pr1.
13495 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13496 Add nptl-aeabi_unwind_cpp_pr1.
13497 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13498 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13499 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13500 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13501 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13502 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13503
13504 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13505 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13506 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13507 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13508
bba6da4e
RM
13509 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13510 Deconditionalize the code that was previously under [RESET_PID].
13511 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13512
e0db6517
RM
13513 * sysdeps/generic/exit-thread.h: New file.
13514 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13515 * include/unistd.h (__exit_thread): Remove declaration.
13516 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13517 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13518 * csu/libc-start.c: Include <exit-thread.h>.
13519 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13520 * nptl/pthread_create.c: Include <exit-thread.h>.
13521 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13522 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13523 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13524 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13525 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13526 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13527 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13528 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13529 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13530 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13531 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13532 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13533 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13534 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13535 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13536 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13537 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13538
01eb16fd
AS
135392014-05-13 Andreas Schwab <schwab@suse.de>
13540
13541 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13542
637461d9
JM
135432014-05-12 Joseph Myers <joseph@codesourcery.com>
13544
13545 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13546 (__ASSUME_UTIMES): Do not condition on kernel version.
13547 (__ASSUME_PSELECT): Define unconditionally.
13548 (__ASSUME_PPOLL): Likewise.
13549 (__ASSUME_ATFCTS): Likewise.
13550 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13551 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13552 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13553 (__ASSUME_UTIMENSAT): Define unconditionally.
13554 (__ASSUME_PRIVATE_FUTEX): Likewise.
13555 (__ASSUME_FALLOCATE): Likewise.
13556 (__ASSUME_O_CLOEXEC): Likewise.
13557 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13558 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13559 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13560 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13561 (__ASSUME_IN_NONBLOCK): Likewise.
13562 (__ASSUME_PIPE2): Likewise.
13563 (__ASSUME_EVENTFD2): Likewise.
13564 (__ASSUME_SIGNALFD4): Likewise.
13565 (__ASSUME_DUP3): Likewise.
13566 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13567 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13568 (__ASSUME_AT_RANDOM): Likewise.
13569 (__ASSUME_PREADV): Likewise.
13570 (__ASSUME_PWRITEV): Likewise.
13571 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13572 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13573 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13574 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13575 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13577 (__ASSUME_O_CLOEXEC): Define unconditionally.
13578 (__ASSUME_PSELECT): Do not undefine conditionally.
13579 (__ASSUME_PPOLL): Likewise.
13580 (__ASSUME_ATFCTS): Likewise.
13581 (__ASSUME_SET_ROBUST_LIST): Likewise.
13582 (__ASSUME_UTIMENSAT): Likewise.
13583 (__ASSUME_FDATASYNC): Define unconditionally.
13584 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13585 (__ASSUME_SIGFRAME_V2): Likewise.
13586 )__ASSUME_EVENTFD2): Likewise.
13587 (__ASSUME_SIGNALFD4): Likewise.
13588 (__ASSUME_PSELECT): Do not undefine conditionally.
13589 (__ASSUME_PPOLL): Likewise.
13590 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13591 (__ASSUME_PSELECT): Define unconditionally.
13592 (__ASSUME_PPOLL): Likewise.
13593 (__ASSUME_O_CLOEXEC): Likewise.
13594 (__ASSUME_SOCK_CLOEXEC): Likewise.
13595 (__ASSUME_IN_NONBLOCK): Likewise.
13596 (__ASSUME_PIPE2): Likewise.
13597 (__ASSUME_EVENTFD2): Likewise.
13598 (__ASSUME_SIGNALFD4): Likewise.
13599 (__ASSUME_DUP3): Likewise.
13600 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13601 (__ASSUME_O_CLOEXEC): Likewise.
13602 (__ASSUME_SOCK_CLOEXEC): Likewise.
13603 (__ASSUME_IN_NONBLOCK): Likewise.
13604 (__ASSUME_PIPE2): Likewise.
13605 (__ASSUME_EVENTFD2): Likewise.
13606 (__ASSUME_SIGNALFD4): Likewise.
13607 (__ASSUME_DUP3): Likewise.
13608 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13609 (__ASSUME_EVENTFD2): Likewise.
13610 (__ASSUME_SIGNALFD4): Likewise.
13611 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13612
315eb1d8
AS
136132014-05-12 Andreas Schwab <schwab@suse.de>
13614
13615 [BZ #16932]
13616 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13617 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13618 than maximum RPC packet size.
13619 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13620 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13621 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13622 (_nss_nis_getservbyport_r): Likewise.
13623
91df99f7
WN
136242014-05-12 Will Newton <will.newton@linaro.org>
13625
13626 * malloc/Makefile (tests): Add tst-mallopt.
13627 * malloc/tst-mallopt.c: New file.
13628
0a982a29
RM
136292014-05-09 Roland McGrath <roland@hack.frob.com>
13630
13631 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13632 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13633
0ded08a5
AZ
136342014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13635
13636 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13637 (tst-tlsmod6.so): Likewise.
13638
55d4d550
RM
136392014-05-09 Roland McGrath <roland@hack.frob.com>
13640
13641 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13642
77d08aca
JM
136432014-05-09 Joseph Myers <joseph@codesourcery.com>
13644
13645 [BZ #16064]
13646 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13647 and <dl-procinfo.h>.
13648 (__fegetenv): Save SSE state in envp->__eip if supported.
13649 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13650 envp->__eip if supported.
13651 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13652 and <dl-procinfo.h>.
13653 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13654 __data_offset and __data_selector in environment to 0. Set SSE
13655 state if supported.
13656 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13657 test-fenv-sse.
13658 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13659 -mfpmath=sse.
13660 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13661
28162f4d
WN
136622014-05-09 Will Newton <will.newton@linaro.org>
13663
13664 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13665 and libc_relro_required for ARM.
13666 * sysdeps/arm/preconfigure: Regenerate.
13667
5a414ff7
DV
136682014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13669 Stefan Liebler <stli@linux.vnet.ibm.com>
13670
13671 * config.make.in (enable-lock-elision): New Makefile variable.
13672 * configure.ac: Likewise.
13673 * configure: Regenerate.
13674 * sysdeps/s390/configure.ac:
13675 Add check for gcc transactions support.
13676 * sysdeps/s390/configure: Regenerate.
13677 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13678 Build elision files if enabled.
13679 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13680 Add lock elision support for s390.
13681 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13682 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13683 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13684 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13685 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13686 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13687 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13688 Likewise.
13689 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13690 Likewise.
13691 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13692 Likewise.
13693 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13694 Likewise.
13695 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13696 (__lll_timedlock_elision, __lll_lock_elision)
13697 (__lll_unlock_elision, __lll_trylock_elision)
13698 (lll_timedlock_elision, lll_lock_elision)
13699 (lll_unlock_elision, lll_trylock_elision): Add.
13700 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13701 (pthread_mutex_t): Add lock elision support for s390.
13702
1a2f40e5
W
137032014-05-14 Wilco <wdijkstr@arm.com>
13704
13705 * sysdeps/arm/fclrexcpt.c: Cleanup.
13706 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13707 * sysdeps/arm/feenablxcpt.c: Cleanup.
13708 * sysdeps/arm/fegetenv.c: Cleanup.
13709 * sysdeps/arm/fegetexcept.c: Cleanup.
13710 * sysdeps/arm/fegetround.c: Cleanup.
13711 * sysdeps/arm/feholdexcpt.c: Cleanup.
13712 * sysdeps/arm/fesetenv.c: Cleanup.
13713 * sysdeps/arm/fesetround.c: Cleanup.
13714 * sysdeps/arm/feupdateenv.c: Cleanup.
13715 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13716 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13717 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13718 * sysdeps/arm/ftestexcept.c: Cleanup.
13719 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13720 * sysdeps/arm/setfpucw.c: Cleanup.
13721
f63c86fe
WN
137222014-05-09 Will Newton <will.newton@linaro.org>
13723
13724 * sysdeps/arm/armv7/strcmp.S: New file.
13725 * NEWS: Mention addition of ARMv7 optimized strcmp.
13726
7a1a51b5
RM
137272014-05-08 Roland McGrath <roland@hack.frob.com>
13728
95afbbe5
RM
13729 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13730 look for %.ac rather than %.in.
13731
13732 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13733 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13734 * sysdeps/mach/hurd/configure: Regenerated.
13735 * sysdeps/unix/sysv/linux/configure: Regenerated.
13736
7a1a51b5
RM
13737 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13738
5057ad3b
SE
137392014-05-07 Steve Ellcey <sellcey@mips.com>
13740
13741 [BZ# 16922]
13742 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13743 (LONG_SUB): Ditto.
13744 (PTR_SUB): Ditto.
13745
8dc97517
AS
137462014-05-07 Andreas Schwab <schwab@suse.de>
13747
13748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13749 when skipping over non-matching result from nscd.
13750
ce0c5b8f
OB
137512014-05-07 Ondřej Bílka <neleai@seznam.cz>
13752
13753 [BZ #16876]
13754 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13755
a1189263
OB
13756 [BZ #16877]
13757 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13758 nscd security class.
ce0c5b8f 13759
0f58d252
RM
137602014-05-06 Roland McGrath <roland@hack.frob.com>
13761
13762 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13763 * sysdeps/arm/unwind.h: ... here.
13764
83df9ad0
AJ
137652014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13766
ce0c5b8f
OB
13767 [BZ# 16916]
13768 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13769 Define.
83df9ad0 13770
f360f94a
VR
137712014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13772
13773 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13774 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13775 multiarch strncpy for PPC64.
13776 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13777 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13779 multiarch optimizations.
13780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13781 (__libc_ifunc_impl_list): Likewise.
13782 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13783 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13784 multiarch stpncpy for PPC64.
13785 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13787
978a41c3
AS
137882014-05-06 Andreas Schwab <schwab@suse.de>
13789
13790 [BZ #16912]
13791 * gmon/mcount.c (_MCOUNT_DECL): Use
13792 atomic_compare_and_exchange_bool_acq instead of
13793 catomic_compare_and_exchange_bool_acq.
13794
eb1ed03d
RM
137952014-05-05 Roland McGrath <roland@hack.frob.com>
13796
fe658845
RM
13797 * elf/Makefile (others, install-bin): Remove pldd.
13798 (pldd-modules): Variable removed.
13799 ($(objpfx)pldd): Target removed.
13800 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13801 (others, install-bin): Append pldd here.
13802 ($(objpfx)pldd): New target.
13803
eb1ed03d
RM
13804 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13805 to 0, so the first #if test emitted later doesn't see it undefined.
13806 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13807 * sysdeps/gnu/errlist.c: Regenerated.
13808
19c4bec0
AZ
138092014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13810
13811 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13812 [libc_hidden_builtin_def]: Define to empty value.
13813 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13814 [libc_hidden_builtin_def]: Likewise.
13815 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13816 [libc_hidden_builtin_def]: Likewise.
13817 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13818 [libc_hidden_builtin_def]: Likewise.
13819 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13820 __redirect_memcpy and define ifunc as default hidden symbol.
13821 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13822 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13823
7776e669
AC
138242014-05-04 Adam Conrad <adconrad@0c3.net>
13825
13826 * locale/iso-4217.def: Reintroduce XDR currency.
13827
d69aeb12
AM
138282014-05-04 Allan McRae <allan@archlinux.org>
13829
13830 * po/eo.po: Update Esperanto translation from translation project.
13831
8f1df5cf
CD
138322014-05-02 Carlos O'Donell <carlos@redhat.com>
13833
13834 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13835 and FEATURE_INDEX_MAX to 1.
13836 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13837
13e402e7
SE
138382014-05-01 Steve Ellcey <sellcey@mips.com>
13839
13840 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13841 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13842 * iconvdata/big5.c (ONE_DIRECTION): Define.
13843 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13844 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13845 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13846 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13847 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13848 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13849 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13850 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13851 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13852 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13853 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13854 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13855 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13856 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13857 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13858 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13859 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13860 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13861 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13862 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13863 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13864 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13865 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13866 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13867 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13868 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13869 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13870 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13871 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13872 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13873 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13874 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13875 * iconvdata/johab.c (ONE_DIRECTION): Define.
13876 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13877 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13878 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13879 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13880 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13881 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13882 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13883 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13884 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13885 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13886
c727f032
RM
138872014-05-01 Roland McGrath <roland@hack.frob.com>
13888
8f2f08d0
RM
13889 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13890 (_IO_JUMPS_OFFSET): Define to 0.
13891
c727f032
RM
13892 * nptl/sysdeps/pthread/bits/libc-lock.h
13893 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13894 (__libc_lock_define_initialized_recursive): Always define using
13895 initializer. Modern compilers treat uninitialized (implicit zero) and
13896 explicit zero initializers the same (i.e. put the datum in bss).
13897
a849e800
AS
138982014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13899
13900 * nscd/nscd-client.h: Include <string.h>.
13901
5331255b
DM
139022014-05-01 David S. Miller <davem@davemloft.net>
13903
13904 [BZ #16885]
13905 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13906 multiple zero bytes exist at the end of a string.
13907 Reported by Aurelien Jarno <aurelien@aurel32.net>
13908
13909 * string/test-strcmp.c (check): Add explicit test for situations where
13910 there are multiple zero bytes after the first.
13911
4fdfe821
AS
139122014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13913
13914 [BZ #16890]
13915 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13916 when compiling wprintf.
13917 * stdio-common/tstdiomisc.c (t3): New function.
13918 (main): Call it.
13919
0cdddc25
SE
139202014-05-01 Steve Ellcey <sellcey@mips.com>
13921
13922 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13923 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13924 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13925 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13926
6426d77e
SE
139272014-05-01 Steve Ellcey <sellcey@mips.com>
13928
13929 * stdlib/longlong.h: Updated from GCC.
13930
6d96f5e4
WN
139312014-05-01 Will Newton <will.newton@linaro.org>
13932 Bernard Ogden <bernie.ogden@linaro.org>
13933
7470db0c
WN
13934 * NEWS: Update fixed bug list.
13935
6d96f5e4
WN
13936 [BZ #15119]
13937 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13938
211d653c
DM
139392014-04-30 David S. Miller <davem@davemloft.net>
13940
4fa262fa
DM
13941 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13942 (libc_feholdexcept_setround_sparc_ctx): New function.
13943 (libc_fesetenv_sparc_ctx): Likewise.
13944 (libc_feupdateenv_sparc_ctx): Likewise.
13945 (libc_feholdsetround_sparc_ctx): Likewise.
13946 (libc_feholdexcept_setround_ctx): Define.
13947 (libc_feholdexcept_setroundf_ctx): Likewise.
13948 (libc_feholdexcept_setroundl_ctx): Likewise.
13949 (libc_fesetenv_ctx): Likewise.
13950 (libc_fesetenvf_ctx): Likewise.
13951 (libc_fesetenvl_ctx): Likewise.
13952 (libc_feupdateenv_ctx): Likewise.
13953 (libc_feupdateenvf_ctx): Likewise.
13954 (libc_feupdateenvl_ctx): Likewise.
13955 (libc_feresetround_ctx): Likewise.
13956 (libc_feresetroundf_ctx): Likewise.
13957 (libc_feresetroundl_ctx): Likewise.
13958 (libc_feholdsetround_ctx): Likewise.
13959 (libc_feholdsetroundf_ctx): Likewise.
13960 (libc_feholdsetroundl_ctx): Likewise.
13961
1d3d93ef
DM
13962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13963 with __USE_GNU instead of XOPEN cpp guards.
13964
8aa583c3
DM
13965 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13966 0.
13967
211d653c
DM
13968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13969 with XOPEN cpp guards.
13970
60c8f1f6
JB
139712014-04-30 Julian Brown <julian@codesourcery.com>
13972
13973 [BZ #16888]
13974 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13975 handling.
13976
9a461d46
JM
139772014-04-30 Joseph Myers <joseph@codesourcery.com>
13978
d0f5b3f8
JM
13979 [BZ #9894]
13980 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13981 Change to 2.6.32.
13982 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13983 * sysdeps/unix/sysv/linux/configure: Regenerated.
13984 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13985 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13986 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13987 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13988 * README: Update reference to required Linux kernel version.
13989 * manual/install.texi (Linux): Update reference to required Linux
13990 kernel headers version.
13991 * INSTALL: Regenerated.
13992
9a461d46
JM
13993 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13994 header inclusion.
13995 [POSIX] (limits.h): Likewise.
13996 [POSIX] (math.h): Likewise.
13997 [POSIX] (sys/wait.h): Likewise.
13998 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13999 function.
14000 [POSIX] (stddef.h): Do not allow header inclusion.
14001
1775babf
AZ
140022014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14003
57f41c40 14004 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14005
8f630cca
YY
140062014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14007
14008 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14009 Return immediately after lll_futex_wake.
14010
1cdeb237
SP
140112014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14012
bc8f194c
SP
14013 [BZ #16791]
14014 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14015 structure.
14016 (datahead_init_pos): Call datahead_init_common early.
14017 (datahead_init_neg): Likewise.
14018
1cdeb237
SP
14019 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14020 datahead_init_neg): New functions.
14021 * nscd/aicache.c (addhstaiX): Use them.
14022 * nscd/grpcache.c (cache_addgr): Likewise.
14023 * nscd/hstcache.c (cache_addhst): Likewise.
14024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14025 * nscd/netgroupcache.c (do_notfound): Likewise.
14026 (addgetnetgrentX): Likewise.
14027 (addinnetgrX): Likewise.
14028 * nscd/pwdcache.c (cache_addpw): Likewise.
14029 * nscd/servicescache.c (cache_addserv): Likewise.
14030
16b293a7
SP
140312014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14032 Atsushi Onoe <atsushi@onoe.org>
14033
14034 [BZ #14308]
14035 [BZ #12994]
14036 [BZ #13651]
14037 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14038 one response is valid.
14039 * resolv/res_send.c (send_dg): Check for validity of other
14040 response if the current response is a referral.
14041
a28a9b94
SE
140422014-04-29 Steve Ellcey <sellcey@mips.com>
14043
14044 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14045
2ca180e9
SL
140462014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14047
14048 [BZ #16823]
14049 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14050 Always divide by positive zero when computing -Inf result.
14051 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14052 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14053
18f2945a
AZ
140542014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14055
14056 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14057 FPSCR if value do not change.
14058 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14059 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14060 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14062 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14063 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14064 function.
14065
5abebba4
CD
140662014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14067
14068 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14069 * sysdeps/unix/sysv/linux/hppa: Move directory from
14070 ports/systeps/unix/sysv/linux/hppa.
14071 * README: Update listing for hppa-*-linux-gnu.
14072
f7ed60c2
OB
140732014-04-28 Ondřej Bílka <neleai@seznam.cz>
14074
fff763a5
OB
14075 [BZ #16754]
14076 * manual/stdio.texi (Hook functions): Fix types of stream hook
14077 functions.
f7ed60c2
OB
14078 [BZ #16854]
14079 * socket/sys/socket.h: Fix typo in comment.
14080
df639d73
WD
140812014-04-28 Wilco <wdijkstr@arm.com>
14082
f7ed60c2 14083 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14084 * sysdeps/arm/math_private.h: New file.
14085 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14086
48332d82
L
140872014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14088
14089 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14090 with __int128_t.
14091 (La_x86_64_retval): Likewise.
14092
e5e0d9a4
IB
140932014-04-24 Ian Bolton <ian.bolton@arm.com>
14094
14095 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14096 fpsr if value didn't change.
14097 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14098 to fpcr if value didn't change.
14099 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14100 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14101 fpsr or fpcr if value didn't change.
14102 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14103 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14104 fpcr if value didn't change.
14105 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14106 to fpsr if value didn't change.
14107
bacc75f7
SP
141082014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14109
14110 * nptl/tst-sem3.c: Use test-skeleton.c
14111 (main): Rename to do_test. Use return instead of
14112 exit.
14113 * nptl/tst-sem4.c: Use test-skeleton.c
14114 (main): Rename to do_test.
14115
a059d359
DM
141162014-04-22 David S. Miller <davem@davemloft.net>
14117
14118 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14119 (struct sigaction): New struct member __glibc_reserved0, change
14120 type of sa_flags to int.
14121
ea6c92f3
YZ
141222014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14123
14124 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14125 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14126
766c4a36
SP
141272014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14128
14129 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14130 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14131
140cc7ab
VK
141322014-04-22 Will Newton <will.newton@linaro.org>
14133 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14134
14135 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14136 (__longjmp): Add longjmp and longjmp_target SystemTap
14137 probes.
14138 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14139 (__sigsetjmp): Add setjmp SystemTap probe.
14140
c54e5cf7
CD
141412014-04-17 Carlos O'Donell <carlos@redhat.com>
14142
14143 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14144 match manual order.
14145
75ffb047
AZ
141462014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14147
14148 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14149
2cd925f7
AZ
14150 * sysdeps/powerpc/fpu/fenv_private.h
14151 (libc_feholdexcept_setroundl_ctx): Define to
14152 libc_feholdexcept_setround_ppc_ctx.
14153 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14154 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14155 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14156 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14157
39e6cd8d
IB
141582014-04-17 Ian Bolton <ian.bolton@arm.com>
14159
14160 * sysdeps/aarch64/math-tests.h: New file.
14161
f9281df9
SY
141622014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14163
14164 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14165 New.
14166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14167 Check and set bit_AVX2_Usable.
14168 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14169 macro.
14170 (bit_AVX2): Likewise.
14171 (index_AVX2_Usable): Likewise.
14172 (CPUID_AVX2): Likewise.
14173 (HAS_AVX2): Likewise.
14174
37d35007
WN
141752014-04-17 Will Newton <will.newton@linaro.org>
14176
7c677662
WN
14177 * manual/setjmp.texi (System V contexts): Add note that
14178 calling setcontext on a context created by a call to a
14179 signal handler is undefined. Update text to note that
14180 setcontext from a signal handler is possible but not
14181 recommended.
14182
37d35007 14183 [BZ #16629]
e04a4e9d
WN
14184 * stdlib/tst-setcontext.c: Include signal.h.
14185 (main): Check that the signal stack before and
14186 after swapcontext is the same.
14187
37d35007
WN
14188 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14189 Re-implement to restore registers in user code and avoid
14190 rt_sigreturn system call.
14191
423a7160
W
141922014-04-17 Wilco <wdijkstr@arm.com>
14193
14194 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14195 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14196 * math/test-fenv.c: Skip exception trap tests on targets which only
14197 support non-stop mode.
14198
bc93ab29
IB
141992014-04-17 Ian Bolton <ian.bolton@arm.com>
14200 Wilco Dijkstra <wilco.dijkstra@arm.com>
14201
14202 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14203 (libc_feholdsetround_aarch64_ctx)
14204 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14205 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14206 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14207 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14208 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14209 (libc_feresetround_noexl_ctx): Define.
14210
95fc5fa3
RH
142112014-04-16 Richard Henderson <rth@redhat.com>
14212
ddb04724
RH
14213 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14214
d77c0899
RH
14215 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14216 unwind tables.
14217
a3df56fc
RH
14218 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14219 const from the non-libc, non-ldso copy.
14220
95fc5fa3
RH
14221 * sysdeps/alpha/libm-test-ulps: Regenerate.
14222
7e0b6763
IB
142232014-04-16 Ian Bolton <ian.bolton@arm.com>
14224 Wilco Dijkstra <wilco.dijkstra@arm.com>
14225
14226 * sysdeps/aarch64/fpu/math_private.h: New file.
14227
a9ea2e0c
MS
142282014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14229
14230 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14231
ea8ba7cd
IZ
142322014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14233
7e54fd04 14234 [BZ #16275]
ea8ba7cd
IZ
14235 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14236 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14238 Intel MPX bound registers before _dl_profile_fixup.
14239 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14240 registers after _dl_profile_fixup. Save and restore bound
14241 registers bnd0/bnd1 when calling _dl_call_pltexit.
14242 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14243 (LR_BND_OFFSET): Likewise.
14244 (LRV_BND0_OFFSET): Likewise.
14245 (LRV_BND1_OFFSET): Likewise.
14246
9f2a4fbc
ST
142472014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14248
14249 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14250 to...
14251 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14252 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14253 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14254 fields.
9f2a4fbc 14255
fd15a59b
ST
142562014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14257
14258 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14259
f19dfa0a
SL
142602014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14261
14262 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14263
4fa8bc3b
SL
142642014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14265
14266 [BZ #14770]
14267 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14268 * sysdeps/s390/configure: Regenerate.
14269
8ea587db
SL
14270 [BZ #16824]
14271 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14272 Set round-to-nearest internally to reduce error accumulation.
14273
aa5f0ff1
AM
142742014-04-16 Alan Modra <amodra@gmail.com>
14275
14276 [BZ #16740]
14277 [BZ #16619]
14278 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14279 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14280 * NEWS: Update fixed bug list.
aa5f0ff1 14281
bb9c256f
SP
142822014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14283
14284 * benchtests/Makefile: Depend on libraries in build directory.
14285 (bench-math): Separate out math tests.
14286 (bench-pthread): Separate out pthread tests.
14287 (bench): Include math and pthread tests.
14288
f737dfd0
CD
142892014-04-14 Carlos O'Donell <carlos@redhat.com>
14290
14291 [BZ #16831]
14292 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14293 _dl_debug_initialize.
14294
0699f766
CD
14295 * configure.ac: Remove SELinux header check.
14296 * configure: Regenerate.
14297 * nscd/selinux.c (perms): Array of const char* to permission names.
14298 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14299 default policy. Call string_to_security_class and string_to_av_perm to
14300 translate strings. Enforce default policy and call avs_has_perm with
14301 results of translated strings.
14302
809bd45f
DM
143032014-04-13 David S. Miller <davem@davemloft.net>
14304
14305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14306
89e691f2
AM
143072014-04-12 Allan McRae <allan@archlinux.org>
14308
14309 [BZ #16838]
14310 * manual/string.texi (Collation Functions): Fix qsort argument
14311 order in example.
14312 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14313
9c9daaeb
CM
143142014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14315
14316 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14317 Make the test a no-op if there are no exceptions defined.
14318
95561fb9
PP
143192014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14320
fe8d072c 14321 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14322 enable-hardcoded-path-in-tests
14323
970c602a
WN
143242014-04-11 Will Newton <will.newton@linaro.org>
14325
14326 * benchtests/Makefile (extra-objs): Add json-lib.o.
14327 (bench-func): Tidy up JSON output.
14328 * benchtests/bench-skeleton.c: Include json-lib.h.
14329 (main): Use JSON library functions to do output of
14330 benchmark results.
14331 * benchtests/bench-timing-type.c (main): Output the
14332 timing type simply, leaving formatting to the user.
14333 * benchtests/json-lib.c: New file.
14334 * benchtests/json-lib.h: Likewise.
14335
36875b06
TR
143362014-04-11 Torvald Riegel <triegel@redhat.com>
14337
14338 [BZ #15215]
14339 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14340 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14341 memory barriers. Add comments.
14342 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14343 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14344 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14345 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14346 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14347 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14348
579db35a
SL
143492014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14350
14351 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14352 * sysdeps/s390/s390-64/configure.ac: ... this ...
14353 * sysdeps/s390/configure.ac: ... to here.
14354 * sysdeps/s390/s390-32/configure: Delete file.
14355 * sysdeps/s390/s390-64/configure: Delete file.
14356 * sysdeps/s390/configure: Regenerate.
14357
c12e9f37
JAPH
143582014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14359
14360 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14361
439bda32
WN
143622014-04-11 Will Newton <will.newton@linaro.org>
14363
14364 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14365 to zero if it is not defined elsewhere. (mtrim): Test
14366 the value of MALLOC_DEBUG with #if rather than #ifdef.
14367
6a5d6ea1
TR
143682014-04-10 Torvald Riegel <triegel@redhat.com>
14369
14370 * benchtests/pthread_once-inputs: New file.
14371 * benchtests/pthread_once-source.c: New file.
14372 * benchtests/README: Update documentation.
14373
a4c75cfd
IZ
143742014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14375 H.J. Lu <hongjiu.lu@intel.com>
14376
7e54fd04 14377 [BZ #16275]
a4c75cfd
IZ
14378 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14379 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14380 * sysdeps/x86_64/configure: Regenerated.
14381 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14382 macro.
14383 (REGISTER_SAVE_RAX): Likewise.
14384 (REGISTER_SAVE_RCX): Likewise.
14385 (REGISTER_SAVE_RDX): Likewise.
14386 (REGISTER_SAVE_RSI): Likewise.
14387 (REGISTER_SAVE_RDI): Likewise.
14388 (REGISTER_SAVE_R8): Likewise.
14389 (REGISTER_SAVE_R9): Likewise.
14390 (REGISTER_SAVE_BND0): Likewise.
14391 (REGISTER_SAVE_BND1): Likewise.
14392 (REGISTER_SAVE_BND2): Likewise.
14393 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14394 bound registers when calling _dl_fixup.
14395
27822ce6
AZ
143962014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14397
14398 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14399 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14400 of its definition.
27822ce6
AZ
14401 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14402 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14403 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14404 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14405 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14406 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14407 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14408
a88ddc90
PTB
144092014-04-09 Peter Brett <peter@peter-b.co.uk>
14410
14411 [BZ #15514]
14412 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14413 pathconf(_PC_NAME_MAX).
14414
01f8eac2
AZ
144152014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14416
14417 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14418 Remove macro usage.
14419 (__PTHREAD_SPINS): Move definition to ...
14420 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14421 (__PTHREAD_SPINS): ... here.
14422 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14423 (__PTHREAD_SPIN): Likewise.
14424 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14425 (__PTHREAD_SPIN): Likewise.
14426 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14427 (__PTHREAD_SPIN): Likewise.
14428 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14429 (__PTHREAD_SPIN): Likewise.
14430 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14431 (__PTHREAD_SPIN): Likewise.
14432 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14433 (__PTHREAD_SPIN): Likewise.
14434 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14435 (__PTHREAD_SPIN): Likewise.
14436 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14437 (__PTHREAD_SPIN): Likewise.
14438 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14439 (__PTHREAD_SPIN): Likewise.
14440 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14441 (__PTHREAD_SPIN): Likewise.
14442 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14443 (__PTHREAD_SPIN): Likewise.
14444 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14445 (__PTHREAD_SPIN): Likewise.
14446
de21c33c
AZ
14447 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14448 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14449 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14450 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14451 imply folder.
14452 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14453 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14454 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14455 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14456 correct imply path.
14457 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14458 strlen symbol for non multi-arch builds.
14459 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14460 missing hidden_def and weak_alias.
14461
862c472e
CD
144622014-04-08 Carlos O'Donell <carlos@redhat.com>
14463
14464 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14465
8667f90e
WN
144662014-04-07 Will Newton <will.newton@linaro.org>
14467
14468 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14469 and contents. [!_LIBC] Remove #ifndef and contents.
14470 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14471 * string/memccpy.c (__memccpy): Use ANSI prototype.
14472 * string/memfrob.c (memfrob): Likewise.
14473 * string/strcoll.c (STRCOLL): Likewise.
14474 * string/strlen.c (strlen): Likewise.
14475 * string/strtok.c (STRTOK): Likewise.
14476 * string/strcat.c: Remove unused #include of memcopy.h.
14477 (strcat): Use ANSI prototype.
14478 * string/strchr.c: Remove unused #include of memcopy.h.
14479 (strchr): Use ANSI prototype.
14480 * string/strcmp.c: Remove unused #include of memcopy.h.
14481 (strcmp): Use ANSI prototype.
14482 * string/strcpy.c: Remove unused #include of memcopy.h.
14483 (strcpy): Use ANSI prototype.
14484
7ffa9423
AZ
144852014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14486
14487 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14488 * config.make.in (config-extra-cppflags): Set it from
14489 libc_extra_cppflags.
14490 * configure.ac (libc_extra_cflags): Make it accumulate over
14491 configure fragments.
14492 (libc_extra_cppflags): New flag.
14493 * configure. Regenerate.
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14495 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14496 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14498
8bd70862
AZ
14499 [BZ #16815]
14500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14501 result for FE_DOWNWARD rounding mode.
14502 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14503 Likewise.
14504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14505
d42f3448
CM
145062014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14507
14508 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14509 in function argument name.
14510
1c21d115
DS
145112014-04-03 David Svoboda <svoboda@cert.org>
14512
14513 [BZ #5666]
14514 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14515 explicitly.
14516
fcccd512
RM
145172014-04-03 Roland McGrath <roland@hack.frob.com>
14518
14519 * elf/dl-unmap-segments.h: New file.
14520 * sysdeps/generic/ldsodefs.h
14521 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14522 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14523 * elf/dl-fptr.c: Likewise.
14524 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14525 * sysdeps/aarch64/tlsdesc.c: Likewise.
14526 * sysdeps/arm/tlsdesc.c: Likewise.
14527 * sysdeps/i386/tlsdesc.c: Likewise.
14528 * sysdeps/tile/dl-runtime.c: Likewise.
14529 * sysdeps/x86_64/tlsdesc.c: Likewise.
14530 * elf/dl-load.h: New file.
14531 * elf/dl-load.c: Include it.
14532 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14533 Macros moved to dl-load.h.
14534 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14535 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14536 Use _dl_unmap_segments in place of __munmap.
14537 Break out segment-mapping loop into ...
14538 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14539
f6488e2b
WN
145402014-04-03 Will Newton <will.newton@linaro.org>
14541
14542 * elf/dl-lookup.c (do_lookup_x): Remove comment
14543 referring to nested function and move variable
14544 declarations down to before first use.
14545
6f05bafe
JM
145462014-04-02 Joseph Myers <joseph@codesourcery.com>
14547
a84e78c8
JM
14548 [BZ #16799]
14549 [BZ #16800]
14550 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14551 with 0 numerator.
14552 * math/s_catanf.c (__catanf): Likewise.
14553 * math/s_catanh.c (__catanh): Likewise.
14554 * math/s_catanhf.c (__catanhf): Likewise.
14555 * math/s_catanhl.c (__catanhl): Likewise.
14556 * math/s_catanl.c (__catanl): Likewise.
14557 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14558 by positive zero when computing -Inf result.
14559 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14560 (catanh_test): Likewise.
14561 * sysdeps/i386/fpu/libm-test-ulps: Update.
14562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14563
6f05bafe
JM
14564 [BZ #16789]
14565 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14566 instead of using underflowing value in computing result.
14567 * math/s_clog10.c (__clog10): Likewise.
14568 * math/s_clog10f.c (__clog10f): Likewise.
14569 * math/s_clog10l.c (__clog10l): Likewise.
14570 * math/s_clogf.c (__clogf): Likewise.
14571 * math/s_clogl.c (__clogl): Likewise.
14572 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14573 (clog10_test): Likewise.
14574 * sysdeps/i386/fpu/libm-test-ulps: Update.
14575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14576
b0abbc21
AM
145772014-04-02 Alan Modra <amodra@gmail.com>
14578
14579 [BZ #16739]
14580 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14581 output when value is near a power of two. Use int64_t for lx and
14582 remove casts. Use decimal rather than hex exponent constants.
14583 Don't use long double multiplication when double will suffice.
14584 * math/libm-test.inc (nextafter_test_data): Add tests.
14585 * NEWS: Add 16739 and 16786 to bug list.
14586
af6b1797
AM
14587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14588
483818d7
AM
14589 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14590
f6c55796
WN
145912014-04-01 Will Newton <will.newton@linaro.org>
14592
14593 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14594 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14595
13f7fe35
FW
145962014-04-01 Florian Weimer <fweimer@redhat.com>
14597
14598 [BZ #13347]
14599 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14600 * nptl/tst-setuid2.c: New file.
14601 * nptl/Makefile (xtests): Add tst-setuid2.
14602
c859b32e
AM
146032014-04-01 Alan Modra <amodra@gmail.com>
14604
14605 [BZ #16786]
14606 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14607
54fa2475
JM
146082014-03-31 Joseph Myers <joseph@codesourcery.com>
14609
8795b4a4
JM
14610 [BZ #6803]
14611 [BZ #6804]
14612 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14613 set errno as appropriate.
14614 * math/w_scalbf.c (__scalbf): Likewise.
14615 * math/w_scalbl.c (__scalbl): Likewise.
14616 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14617 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14618 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14619 Add more NaN tests.
14620
54fa2475
JM
14621 [BZ #16349]
14622 * math/w_atan2.c: Include <errno.h>.
14623 (__atan2): Set errno for result underflowing to zero.
14624 * math/w_atan2f.c: Include <errno.h>.
14625 (__atan2f): Set errno for result underflowing to zero.
14626 * math/w_atan2l.c: Include <errno.h>.
14627 (__atan2l): Set errno for result underflowing to zero.
14628 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14629 tests.
14630 * math/auto-libm-test-out: Regenerated.
14631
757d9dd5
AZ
146322014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14633
14634 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14635 Encode instruction correctly in little endian.
14636 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14637 Likewise.
14638 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14639 Likewise.
14640 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14641 Likewise.
14642 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14643 Likewise.
14644
d7a68734
JM
146452014-03-31 Joseph Myers <joseph@codesourcery.com>
14646
47c5adeb
JM
14647 [BZ #9894]
14648 * sysdeps/unix/sysv/linux/kernel-features.h
14649 [__sparc__ && !__arch64__ && !__sparc_v9__]
14650 (__ASSUME_SET_ROBUST_LIST): Do not define.
14651 [__sparc__ && !__arch64__ && !__sparc_v9__]
14652 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14653 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14654 Likewise.
14655 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14656 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14657 (__ASSUME_REQUEUE_PI): Likewise.
14658 (__ASSUME_SET_ROBUST_LIST): Likewise.
14659 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14660 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14661 Undefine.
14662 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14663 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14664 Likewise.
14665 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14666 Likewise.
14667 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14668 Likewise.
14669 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14670 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14671 Undefine.
14672 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14673 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14674 Likewise.
14675
d7a68734
JM
14676 [BZ #16648]
14677 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14678 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14679 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14680
c760f5c2
WN
146812014-03-31 Will Newton <will.newton@linaro.org>
14682
14683 * benchtests/Makefile (bench): Add ffs and ffsll to list
14684 of tests.
14685 * benchtests/ffs-inputs: New file.
14686 * benchtests/ffsll-inputs: Likewise.
14687
ea6029b1
JM
146882014-03-29 Joseph Myers <joseph@codesourcery.com>
14689
14690 [BZ #16770]
14691 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14692 too large before casting to int.
14693 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14694 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14695 * math/libm-test.inc (scalb_test_data): Add more tests.
14696
cf806aff
SP
146972014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14698
56737508
SP
14699 * benchtests/Makefile (DETAILED_OPT): New make option.
14700 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14701 set.
14702 * benchtests/bench-skeleton.c: Include stdbool.h.
14703 (main): Store and print timings per input.
14704 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14705 member to each argument value.
14706 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14707 (_print_arg_data): Initialize per-input timing to 0.
14708
cb5e4aad
SP
14709 * benchtests/Makefile (timing-type): New binary.
14710 (bench-clean): Also remove bench-timing-type.
14711 (bench): New target for timing-type.
14712 (bench-func): Print output in JSON format.
14713 * benchtests/bench-skeleton.c (main): Print output in JSON
14714 format.
14715 * benchtests/bench-timing-type.c: New file.
14716 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14717 (TIMING_PRINT_STATS): Remove.
14718 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14719 name separately.
14720
cf806aff
SP
14721 * benchtests/bench-modf.c: Remove.
14722 * benchtests/modf-inputs: New inputs file.
14723
289e0779
JM
147242014-03-28 Joseph Myers <joseph@codesourcery.com>
14725
14726 [BZ #16362]
14727 * math/s_clog10.c (M_PI_LOG10E): New macro.
14728 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14729 imaginary parts are 0.
14730 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14731 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14732 imaginary parts are 0.
14733 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14734 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14735 imaginary parts are 0.
14736 * math/libm-test.inc (clog10_test_data): Update expected results
14737 for when real and imaginary parts are 0.
14738
277ae3f1
PP
147392014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14740
14741 * elf/dl-load.c: Finish conversion of __builtin_expect into
14742 __glibc_{un}likely.
14743
03a7091f
JM
147442014-03-27 Joseph Myers <joseph@codesourcery.com>
14745
14746 [BZ #16348]
14747 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14748 1+x for argument with exponent below -67.
14749 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14750 Likewise.
14751 * math/auto-libm-test-in: Add more tests of exp.
14752 * math/auto-libm-test-out: Regenerated.
14753
ea7d8b95
SP
147542014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14755
dd3022d7
SP
14756 [BZ #16759]
14757 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14758 (nscd_getnetgrent): Use it.
14759
ea7d8b95
SP
14760 [BZ #16760]
14761 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14762 of stpcpy.
14763
df5b85da
AK
147642014-03-27 Andi Kleen <ak@linux.intel.com>
14765
57f41c40
AS
14766 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14767 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14768 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14769 (lll_robust_unlock): Remove out of line section. Use cfi
14770 intrinsics.
df5b85da 14771 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14772 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14773 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14774 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14775 (lll_robust_unlock): Remove out of line section. Use cfi
14776 intrinsics.
df5b85da
AK
14777 (LLL_STUB_UNWIND_INFO*): Remove.
14778
fbd6b5a4
SP
147792014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14780
14781 [BZ #16758]
14782 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14783 blank values.
14784
1b26b855
PP
147852014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14786
14787 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14788
9be36fb8
JM
147892014-03-26 Joseph Myers <joseph@codesourcery.com>
14790
14791 [BZ #16198]
14792 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14793 fnstenv.
14794 * math/test-fenv-preserve.c: New file.
14795 * math/Makefile (tests): Add test-fenv-preserve.
14796
60a2f3c1
WN
147972014-03-26 Will Newton <will.newton@linaro.org>
14798
14799 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14800
a5e5f1e2
RM
148012014-03-25 Roland McGrath <roland@hack.frob.com>
14802
14803 * scripts/versionlist.awk: Partition the version sets and emit all
14804 GLIBC_* (sorted) before all others (sorted).
14805
00f4012a
JM
148062014-03-25 Joseph Myers <joseph@codesourcery.com>
14807
14808 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14809 GLIBC_2.2.5 version.
14810
7bc5a741
AZ
148112014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14812
14813 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14814 calls.
14815
7578473b
AZ
14816 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14817 previous change.
14818
f3f1dab3
AZ
14819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14820
6da36183
AS
148212014-03-25 Andreas Schwab <schwab@suse.de>
14822
14823 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14824 label to be used after in6ailist is initialized.
14825
f3f1dab3 148262014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14827
7578473b 14828 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14829 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14830
046651c1
JM
148312014-03-25 Joseph Myers <joseph@codesourcery.com>
14832
14833 [BZ #16357]
14834 [BZ #16599]
14835 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14836 min_plus_half.
14837 (fp_formats): Update initializers.
14838 (init_fp_formats): Initialize new field.
14839 (output_for_one_input_case): Allow underflow for results up to
14840 min_plus_half.
14841 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14842 * math/auto-libm-test-in: Don't mark some underflows from asin and
14843 atanh as spurious.
14844 * math/auto-libm-test-out: Regenerated.
14845 * sysdeps/i386/fpu/libm-test-ulps: Update.
14846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14847
003e49ed
AS
148482014-03-25 Andreas Schwab <schwab@suse.de>
14849
14850 * libio/Makefile (tst-ftell-partial-wide-ENV)
14851 (tst-ftell-active-handler-ENV): Define.
14852
de031874
SL
148532014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14854
14855 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14856
55a81e3b
PP
148572014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14858
14859 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14860
f3426898
JM
148612014-03-24 Joseph Myers <joseph@codesourcery.com>
14862
14863 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14864 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14865 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14866
a42faf59
PP
148672014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14868
14869 [BZ #16634]
a42faf59 14870 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14871 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14872 (open_path): Change from boolean 'secure' to complete flag 'mode'
14873 (_dl_map_object): Adjust.
a42faf59
PP
14874 * elf/Makefile (tests): Add tst-dlopen-aout.
14875 * elf/tst-dlopen-aout.c: New test.
14876
50936127
SL
148772014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14878
14879 [BZ #16714]
14880 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14881 (struct stat): Rename member pad0 to __glibc_reserved0.
14882
26011b5c
SL
14883 [BZ #16712]
14884 * sysdeps/s390/s390-32/bits/wordsize.h
14885 (__WORDSIZE32_SIZE_ULONG): New define.
14886 * sysdeps/s390/s390-64/bits/wordsize.h
14887 (__WORDSIZE32_SIZE_ULONG): Likewise.
14888 * sysdeps/generic/stdint.h (SIZE_MAX):
14889 Define as UL if __WORDSIZE32_SIZE_ULONG.
14890
a2d86bf1
SL
14891 [BZ #16713]
14892 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14893 (__glibc_reserved0): New variable.
14894 (sa_flags): Change type to int.
14895
78b6eebc
SL
14896 * posix/Makefile (before-compile): Use += before-compile instead
14897 of a :=.
14898
f1399b5a
SL
14899 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14900 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14901
a071766e
AS
149022014-03-20 Andreas Schwab <schwab@suse.de>
14903
14904 [BZ #16743]
14905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14906 non-matching result from nscd.
14907
27c673b8
SP
149082014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14909
14910 * scripts/bench.py: Moved to ...
14911 * benchtests/scripts/bench.py: ... here.
14912 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14913
44152e4b
AS
149142014-03-24 Andreas Schwab <schwab@suse.de>
14915
14916 [BZ #16002]
14917 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14918 alloca_account and account alloca use for struct in6ailist.
14919
b376a11a
JM
149202014-03-24 Joseph Myers <joseph@codesourcery.com>
14921
14922 [BZ #16284]
14923 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14924 rounding mode to recompute results that overflow to infinity or
14925 underflow to zero.
14926 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14927 bug 16284.
14928 * math/auto-libm-test-out: Regenerated.
14929 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14930 (ccosh_test): Likewise.
14931 (csin_test_data): Use plus_oflow.
14932 (csin_test): Use ALL_RM_TEST.
14933 (csinh_test_data): Use plus_oflow.
14934 (csinh_test): Use ALL_RM_TEST.
14935 * sysdeps/i386/fpu/libm-test-ulps: Update.
14936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14937
f7be7376
JM
149382014-03-21 Joseph Myers <joseph@codesourcery.com>
14939
1ca2d03e
JM
14940 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14941 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14942 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14943
f7be7376
JM
14944 [BZ #16731]
14945 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14946 when x - 1 is zero.
14947 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14948 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14949 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14950 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14951 argument is 1.
14952 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14953 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14954 zero.
14955 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14956 * sysdeps/i386/fpu/libm-test-ulps: Update.
14957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14958
fdf4534d
SP
149592014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14960
df26ea53
SP
14961 * scripts/bench.pl: Remove file.
14962 * scripts/bench.py: New benchmark script.
14963 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14964 * benchtests/README: Mention python dependency.
14965 * scripts/pylintrc: New file.
14966 * scripts/pylint: New file.
14967
fdf4534d
SP
14968 * bits/mathdef.h: Use #ifdef instead of #if.
14969 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14970 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14971 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14972 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14973 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14974 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14975
6f23d093
AZ
149762014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14977 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14978
14979 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14981 and strpbrk-ppc64 objects.
14982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14983 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14984 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14985 multiarch strpbrk for POWER7.
14986 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14987 multiarch strpbrk for PPC64.
14988 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14989 ifunc selector.
14990 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14991 strpbrk for POWER7.
14992
8c92dfff
JM
149932014-03-20 Joseph Myers <joseph@codesourcery.com>
14994
14995 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14996 (atan_test): Likewise.
14997 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14998 (atanh_test): Use ALL_RM_TEST.
14999 (atan2_test_data): Likewise.
15000 (cabs_test): Likewise.
15001 (cacosh_test): Likewise.
15002 (carg_test): Likewise.
15003 (casin_test): Likewise.
15004 (casinh_test): Likewise.
15005 (cbrt_test): Likewise.
15006 (csqrt_test): Likewise.
15007 (erf_test): Likewise.
15008 (erfc_test): Likewise.
15009 (pow10_test): Likewise.
15010 (exp2_test): Likewise.
15011 (hypot_test): Likewise.
15012 (j0_test): Likewise.
15013 (j1_test): Likewise.
15014 (lgamma_test): Likewise.
15015 (gamma_test): Likewise.
15016 (sincos_test): Likewise.
15017 (tanh_test): Likewise.
15018 (y0_test): Likewise.
15019 (y1_test): Likewise.
15020 * sysdeps/i386/fpu/libm-test-ulps: Update.
15021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15022
6eaf95cb
AZ
150232014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15024
a387428c
SP
15025 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15027 and strcspn-ppc64 objects.
15028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15029 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15030 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15031 multiarch strcspn for POWER7.
15032 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15033 multiarch strcspn for PPC64.
15034 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15035 ifunc selector.
15036 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15037 strcspn for POWER7.
15038
ae3a5dff
JM
150392014-03-20 Joseph Myers <joseph@codesourcery.com>
15040
15041 * math/gen-libm-test.pl (generate_testfile): Expect only function
15042 name as argument to AUTO_TESTS_* and pass results for all rounding
15043 modes to parse_args.
15044 (parse_auto_input): Separate inputs of automatic tests from
15045 outputs before storing in %auto_tests.
15046 * math/libm-test.inc (acos_test_data): Update call to
15047 AUTO_TESTS_f_f.
15048 (acos_test): Use ALL_RM_TEST.
15049 (acos_tonearest_test_data): Remove.
15050 (acos_test_tonearest): Likewise.
15051 (acos_towardzero_test_data): Likewise.
15052 (acos_test_towardzero): Likewise.
15053 (acos_downward_test_data): Likewise.
15054 (acos_test_downward): Likewise.
15055 (acos_upward_test_data): Likewise.
15056 (acos_test_upward): Likewise.
15057 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15058 (asin_test_data): Likewise.
15059 (asin_test): Use ALL_RM_TEST.
15060 (asin_tonearest_test_data): Remove.
15061 (asin_test_tonearest): Likewise.
15062 (asin_towardzero_test_data): Likewise.
15063 (asin_test_towardzero): Likewise.
15064 (asin_downward_test_data): Likewise.
15065 (asin_test_downward): Likewise.
15066 (asin_upward_test_data): Likewise.
15067 (asin_test_upward): Likewise.
15068 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15069 (atan_test_data): Likewise.
15070 (atanh_test_data): Likewise.
15071 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15072 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15073 (carg_test_data): Likewise.
15074 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15075 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15076 (ccosh_test_data): Likewise.
15077 (cexp_test_data): Likewise.
15078 (clog_test_data): Likewise.
15079 (clog10_test_data): Likewise.
15080 (cos_test_data): Update call to AUTO_TESTS_f_f.
15081 (cos_test): Use ALL_RM_TEST.
15082 (cos_tonearest_test_data): Remove.
15083 (cos_test_tonearest): Likewise.
15084 (cos_towardzero_test_data): Likewise.
15085 (cos_test_towardzero): Likewise.
15086 (cos_downward_test_data): Likewise.
15087 (cos_test_downward): Likewise.
15088 (cos_upward_test_data): Likewise.
15089 (cos_test_upward): Likewise.
15090 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15091 (cosh_test): Use ALL_RM_TEST.
15092 (cosh_tonearest_test_data): Remove.
15093 (cosh_test_tonearest): Likewise.
15094 (cosh_towardzero_test_data): Likewise.
15095 (cosh_test_towardzero): Likewise.
15096 (cosh_downward_test_data): Likewise.
15097 (cosh_test_downward): Likewise.
15098 (cosh_upward_test_data): Likewise.
15099 (cosh_test_upward): Likewise.
15100 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15101 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15102 (ctan_test_data): Likewise.
15103 (ctan_test): Use ALL_RM_TEST.
15104 (ctan_tonearest_test_data): Remove.
15105 (ctan_test_tonearest): Likewise.
15106 (ctan_towardzero_test_data): Likewise.
15107 (ctan_test_towardzero): Likewise.
15108 (ctan_downward_test_data): Likewise.
15109 (ctan_test_downward): Likewise.
15110 (ctan_upward_test_data): Likewise.
15111 (ctan_test_upward): Likewise.
15112 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15113 (ctanh_test): Use ALL_RM_TEST.
15114 (ctanh_tonearest_test_data): Remove.
15115 (ctanh_test_tonearest): Likewise.
15116 (ctanh_towardzero_test_data): Likewise.
15117 (ctanh_test_towardzero): Likewise.
15118 (ctanh_downward_test_data): Likewise.
15119 (ctanh_test_downward): Likewise.
15120 (ctanh_upward_test_data): Likewise.
15121 (ctanh_test_upward): Likewise.
15122 (erf_test_data): Update call to AUTO_TESTS_f_f.
15123 (erfc_test_data): Likewise.
15124 (exp_test_data): Likewise.
15125 (exp_test): Use ALL_RM_TEST.
15126 (exp_tonearest_test_data): Remove.
15127 (exp_test_tonearest): Likewise.
15128 (exp_towardzero_test_data): Likewise.
15129 (exp_test_towardzero): Likewise.
15130 (exp_downward_test_data): Likewise.
15131 (exp_test_downward): Likewise.
15132 (exp_upward_test_data): Likewise.
15133 (exp_test_upward): Likewise.
15134 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15135 (exp10_test): Use ALL_RM_TEST.
15136 (exp10_tonearest_test_data): Remove.
15137 (exp10_test_tonearest): Likewise.
15138 (exp10_towardzero_test_data): Likewise.
15139 (exp10_test_towardzero): Likewise.
15140 (exp10_downward_test_data): Likewise.
15141 (exp10_test_downward): Likewise.
15142 (exp10_upward_test_data): Likewise.
15143 (exp10_test_upward): Likewise.
15144 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15145 (expm1_test_data): Likewise.
15146 (expm1_test): Use ALL_RM_TEST.
15147 (expm1_tonearest_test_data): Remove.
15148 (expm1_test_tonearest): Likewise.
15149 (expm1_towardzero_test_data): Likewise.
15150 (expm1_test_towardzero): Likewise.
15151 (expm1_downward_test_data): Likewise.
15152 (expm1_test_downward): Likewise.
15153 (expm1_upward_test_data): Likewise.
15154 (expm1_test_upward): Likewise.
15155 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15156 (fma_test): Use ALL_RM_TEST.
15157 (fma_towardzero_test_data): Remove.
15158 (fma_test_towardzero): Likewise.
15159 (fma_downward_test_data): Likewise.
15160 (fma_test_downward): Likewise.
15161 (fma_upward_test_data): Likewise.
15162 (fma_test_upward): Likewise.
15163 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15164 (j0_test_data): Update call to AUTO_TESTS_f_f.
15165 (j1_test_data): Likewise.
15166 (jn_test_data): Update call to AUTO_TESTS_if_f.
15167 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15168 (log_test_data): Update call to AUTO_TESTS_f_f.
15169 (log10_test_data): Likewise.
15170 (log1p_test_data): Likewise.
15171 (log2_test_data): Likewise.
15172 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15173 (pow_tonearest_test_data): Likewise.
15174 (sin_test_data): Update call to AUTO_TESTS_f_f.
15175 (sin_test): Use ALL_RM_TEST.
15176 (sin_tonearest_test_data): Remove.
15177 (sin_test_tonearest): Likewise.
15178 (sin_towardzero_test_data): Likewise.
15179 (sin_test_towardzero): Likewise.
15180 (sin_downward_test_data): Likewise.
15181 (sin_test_downward): Likewise.
15182 (sin_upward_test_data): Likewise.
15183 (sin_test_upward): Likewise.
15184 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15185 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15186 (sinh_test): Use ALL_RM_TEST.
15187 (sinh_tonearest_test_data): Remove.
15188 (sinh_test_tonearest): Likewise.
15189 (sinh_towardzero_test_data): Likewise.
15190 (sinh_test_towardzero): Likewise.
15191 (sinh_downward_test_data): Likewise.
15192 (sinh_test_downward): Likewise.
15193 (sinh_upward_test_data): Likewise.
15194 (sinh_test_upward): Likewise.
15195 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15196 (sqrt_test): Use ALL_RM_TEST.
15197 (sqrt_tonearest_test_data): Remove.
15198 (sqrt_test_tonearest): Likewise.
15199 (sqrt_towardzero_test_data): Likewise.
15200 (sqrt_test_towardzero): Likewise.
15201 (sqrt_downward_test_data): Likewise.
15202 (sqrt_test_downward): Likewise.
15203 (sqrt_upward_test_data): Likewise.
15204 (sqrt_test_upward): Likewise.
15205 (tan_test_data): Update call to AUTO_TESTS_f_f.
15206 (tan_test): Use ALL_RM_TEST.
15207 (tan_tonearest_test_data): Remove.
15208 (tan_test_tonearest): Likewise.
15209 (tan_towardzero_test_data): Likewise.
15210 (tan_test_towardzero): Likewise.
15211 (tan_downward_test_data): Likewise.
15212 (tan_test_downward): Likewise.
15213 (tan_upward_test_data): Likewise.
15214 (tan_test_upward): Likewise.
15215 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15216 (tgamma_test_data): Likewise.
15217 (y0_test_data): Likewise.
15218 (y1_test_data): Likewise.
15219 (yn_test_data): Update call to AUTO_TESTS_if_f.
15220 (main): Do not call removed functions.
15221
d71aeee8
JM
152222014-03-19 Joseph Myers <joseph@codesourcery.com>
15223
15224 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15225 (ldexp_test_data): Remove.
15226 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15227 scalbn_test_data.
15228 (scalb_test): Use ALL_RM_TEST.
15229
baaf1ded
AS
152302014-03-19 Andreas Schwab <schwab@suse.de>
15231
15232 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15233
b1115e91
JM
152342014-03-19 Joseph Myers <joseph@codesourcery.com>
15235
15236 [BZ #16649]
15237 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15238 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15239 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15240 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15241 (__ASSUME_PREADV): Undefine.
15242 (__ASSUME_PWRITEV): Likewise.
15243
0283ecca
RM
152442014-03-18 Roland McGrath <roland@hack.frob.com>
15245
7d375303
RM
15246 * bits/mman-linux.h: Add comment about non-Linux use.
15247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15248 bits/mman-linux.h resting place.
15249
0283ecca
RM
15250 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15251 * bits/mman-linux.h: ... here.
15252
aebe1003
AZ
152532014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15254
15255 * conform/conformtest.pl: Add standard definition when calling C
15256 preprocessor on data files.
15257 (checknamespace): Remove unused variable.
15258
b29b6bb8
JM
152592014-03-18 Joseph Myers <joseph@codesourcery.com>
15260
15261 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15262 minus_oflow, plus_uflow and minus_uflow in expected results.
15263 * math/libm-test.inc (scalbn_test_data): Add more tests of
15264 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15265 minus_uflow.
15266 (scalbn_test): Use ALL_RM_TEST.
15267 (scalbln_test_data): Add more tests of negative arguments. Use
15268 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15269 (scalbln_test): Use ALL_RM_TEST.
15270
c8f8fa15
RM
152712014-03-18 Roland McGrath <roland@hack.frob.com>
15272
15273 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15274
fede7a5f
WN
152752014-03-18 Will Newton <will.newton@linaro.org>
15276
15277 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15278 inaccurate comment.
15279
80cf0a58
JM
152802014-03-18 Joseph Myers <joseph@codesourcery.com>
15281
15282 * Makerules [!subdir] (check-abi): Exit with error status if a
15283 test failed.
15284
b3620862
JM
152852014-03-17 Joseph Myers <joseph@codesourcery.com>
15286
15287 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15288 for rint. Include results for all rounding modes.
15289 (nearbyint_test): Use ALL_RM_TEST.
15290 (rint_test_data): Include all tests used for nearbyint.
15291
788bba36
WN
152922014-03-17 Will Newton <will.newton@linaro.org>
15293
04ec140a
WN
15294 * nptl/sysdeps/pthread/pthread.h: Revert previous
15295 change.
15296
7579d8d5
WN
15297 * sysdeps/generic/ldsodefs.h: Revert previous
15298 change.
15299
c15cf13a
WN
15300 * libio/genops.c: Revert previous change.
15301 * libio/libioP.h: Likewise.
15302 * stdio-common/vfprintf.c: Likewise.
15303
d0ac1324
WN
15304 * sysdeps/generic/math_private.h: Revert previous
15305 change.
15306
9290130a
WN
15307 * sysdeps/generic/math_private.h: Check whether
15308 HAVE_RM_CTX is defined with #ifdef rather
15309 than #if.
15310
afb466fc
WN
15311 * argp/argp-fmtstream.h: Check whether
15312 __STRICT_ANSI__ is defined with #ifdef rather
15313 than #if.
15314 * argp/argp.h: Likewise.
15315
f7efd7c3
WN
15316 * libio/genops.c: Check whether
15317 _IO_JUMPS_OFFSET is defined with #ifdef rather
15318 than #if.
15319 * libio/libioP.h: Likewise.
15320 * stdio-common/vfprintf.c: Likewise.
15321
53f1bed3
WN
15322 * sysdeps/generic/ldsodefs.h: Check whether
15323 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15324 than #if.
15325
788bba36
WN
15326 * nptl/sysdeps/pthread/pthread.h: Check
15327 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15328 its value.
15329
fcd89ebe
SP
153302014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15331
ae42bbc5
SP
15332 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15333 setting O_APPEND.
15334 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15335 test case.
15336
ea33158c
SP
15337 [BZ #16680]
15338 * libio/fileops.c (_IO_file_open): Seek to end of file but
15339 don't cache the offset.
15340 (get_file_offset): Remove function.
15341 (do_ftell): Use cached offset when available.
15342 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15343 don't cache the offset.
15344 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15345 case.
15346 (do_one_test): Call it.
15347 (do_ftell_test): Fix up expected old offset for a+ mode.
15348 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15349 available.
15350
b1dbb426
SP
15351 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15352 up test status with function return status.
15353 (do_write_test): Likewise.
15354 (do_append_test): Likewise.
15355
fcd89ebe
SP
15356 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15357 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15358 Remove.
15359
9962a2d3
JM
153602014-03-17 Joseph Myers <joseph@codesourcery.com>
15361
15362 * math/gen-libm-test.pl (parse_args): Handle results specified for
15363 each rounding mode separately.
15364 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15365 tests and results from lrint_tonearest_test_data,
15366 lrint_towardzero_test_data, lrint_downward_test_data and
15367 lrint_upward_test_data.
15368 (lrint_test): Use ALL_RM_TEST.
15369 (lrint_tonearest_test_data): Remove.
15370 (lrint_test_tonearest): Likewise.
15371 (lrint_towardzero_test_data): Likewise.
15372 (lrint_test_towardzero): Likewise.
15373 (lrint_downward_test_data): Likewise.
15374 (lrint_test_downward): Likewise.
15375 (lrint_upward_test_data): Likewise.
15376 (lrint_test_upward): Likewise.
15377 (llrint_test_data): Merge in per-rounding-mode tests and results
15378 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15379 llrint_downward_test_data and llrint_upward_test_data.
15380 (llrint_test): Use ALL_RM_TEST.
15381 (llrint_tonearest_test_data): Remove.
15382 (llrint_test_tonearest): Likewise.
15383 (llrint_towardzero_test_data): Likewise.
15384 (llrint_test_towardzero): Likewise.
15385 (llrint_downward_test_data): Likewise.
15386 (llrint_test_downward): Likewise.
15387 (llrint_upward_test_data): Likewise.
15388 (llrint_test_upward): Likewise.
15389 (rint_test_data): Merge in per-rounding-mode tests and results
15390 from rint_tonearest_test_data, rint_towardzero_test_data,
15391 rint_downward_test_data and rint_upward_test_data. Add
15392 per-rounding-mode results for tests not in those arrays.
15393 (rint_test): Use ALL_RM_TEST.
15394 (rint_tonearest_test_data): Remove.
15395 (rint_test_tonearest): Likewise.
15396 (rint_towardzero_test_data): Likewise.
15397 (rint_test_towardzero): Likewise.
15398 (rint_downward_test_data): Likewise.
15399 (rint_test_downward): Likewise.
15400 (rint_upward_test_data): Likewise.
15401 (rint_test_upward): Likewise.
15402 (main): Don't call removed functions.
15403
5006148e
RM
154042014-03-14 Roland McGrath <roland@hack.frob.com>
15405
15406 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15407 "Compiled on ..." crapola. It is anti-useful.
15408
d6fe5e58
JM
154092014-03-14 Joseph Myers <joseph@codesourcery.com>
15410
15411 * scripts/evaluate-test.sh: Handle fourth argument to determine
15412 whether test run should stop on failure.
15413 * Makeconfig (stop-on-test-failure): New variable.
15414 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15415 $(stop-on-test-failure).
15416 * Makefile (tests): Give a summary of results from testing and
15417 exit with failure status if they include an ERROR or FAIL.
15418 (xtests): Likewise.
15419 * manual/install.texi (Configuring and compiling): Mention
15420 stop-on-test-failure=y.
15421 * INSTALL: Regenerated.
15422
498a2233
RM
154232014-03-14 Roland McGrath <roland@hack.frob.com>
15424
22dbc19d
RM
15425 * scripts/versionlist.awk: New file.
15426 * Makerules [$(build-shared) = yes]
15427 (postclean-generated): Add Versions.def, not Versions.def.v and
15428 Versions.def.v.i.
15429 ($(common-objpfx)Versions.def.v.i): Target removed.
15430 ($(common-objpfx)Versions.def): New target.
15431 ($(common-objpfx)Versions.all): Depend on that rather that
15432 $(common-objpfx)Versions.def.v.
15433 * Versions.def: File removed.
15434
498a2233
RM
15435 * Makeconfig (+gccwarn): Add -Wundef.
15436 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15437 a dl-sysdep.h breaking its contract.
15438 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15439 * include/stackinfo.h: New file.
15440 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15441 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15442 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15443 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15444 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15445 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15446 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15447 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15448 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15449 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15450 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15451 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15452 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15453 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15454 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15455
c7de5025
AZ
154562014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15457
15458 [BZ #16707]
15459 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15460 implementation.
15461 * math/libm-test.inc (round_test_data): Add more tests.
15462
98fb27a3
AZ
15463 [BZ #16706]
15464 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15465 implementation.
15466 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15467
374f7f61
AZ
15468 [BZ #16701]
15469 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15470 implementation.
15471 * math/libm-test.inc (ceil_test_data): Add more tests.
15472
4655c291
AZ
15473 * math/libm-test.inc (trunc_test_data): Add more tests related to
15474 BZ#16414.
15475
d7329d4b
RM
154762014-03-14 Roland McGrath <roland@hack.frob.com>
15477
15478 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15479 with #if rather than #ifdef.
15480 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15481
aa4de9ce
L
154822014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15483
15484 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15485 first. Disable AVX-512 GCC support if assembler doesn't support
15486 it.
15487 * sysdeps/x86_64/configure: Regenerated.
15488
2e03fae7
CD
154892014-03-13 Carlos O'Donell <carlos@redhat.com>
15490
15491 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15492 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15493 (__old_pthread_attr_setstack): Likewise.
15494 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15495 [!_STACK_GROWS_DOWN]: Likewise.
15496
43ca83ec
MF
154972014-03-13 Mike Frysinger <vapier@gentoo.org>
15498
15499 * config.make.in (have-bash2): Delete.
15500 * configure.ac (libc_cv_have_bash2): Delete.
15501 * configure: Regenerate.
15502 * elf/Makefile (common-ldd-rewrite): Rename to ...
15503 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15504 (sh-ldd-rewrite): Delete.
15505 (bash-ldd-rewrite): Delete.
15506 (have-bash2): Delete checks.
57f41c40
AS
15507 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15508 ldd-rewrite.
c66e48b4
MF
15509
15510 * config.make.in (have-ksh): Delete.
15511 (KSH): Delete.
15512 * configure.ac (libc_cv_have_ksh): Delete.
15513 * configure: Regenerate.
15514
b93834ef
MF
15515 * elf/Makefile: Delete $(have-ksh) check.
15516 ($(objpfx)sotruss): Change KSH to BASH.
15517 * elf/sotruss.ksh: Rename to ...
15518 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15519 function style to match POSIX. Drop ksh vim mode setting.
15520
f3a4632a
MF
15521 * manual/time.texi (Specifying the Time Zone with TZ): Change
15522 Tuesday to Thursday.
15523
5896c8bd
MF
15524 * debug/tst-longjmp_chk2.c: Update header comment.
15525 (stackoverflow_handler): Add comment. Call assert on pass value.
15526
2d63a517
IZ
155272014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15528
7e54fd04 15529 [BZ #16194]
2d63a517
IZ
15530 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15531 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15532 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15533 (La_x86_64_vector): Add zmm.
15534 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15535 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15536 ($(objpfx)tst-audit10): New target.
15537 ($(objpfx)tst-audit10.out): Likewise.
15538 (tst-audit10-ENV): New.
15539 (AVX512-CFLAGS): Likewise.
15540 (CFLAGS-tst-audit10.c): Likewise.
15541 (CFLAGS-tst-auditmod10a.c): Likewise.
15542 (CFLAGS-tst-auditmod10b.c): Likewise.
15543 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15544 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15545 * sysdeps/x86_64/configure: Regenerated.
15546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15547 AVX-512 zmm register support.
15548 (_dl_x86_64_save_sse): Likewise.
15549 (_dl_x86_64_restore_sse): Likewise.
15550 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15551 size vector registers.
15552 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15553 (ZMM_SIZE): Likewise.
15554 * sysdeps/x86_64/tst-audit10.c: New file.
15555 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15556 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15557
44c4e5d5
RM
155582014-03-13 Roland McGrath <roland@hack.frob.com>
15559
15560 * configure.ac (HAVE_EHDR_START): New check.
15561 * configure: Regenerated.
15562 * config.h.in (HAVE_EHDR_START): New #undef.
15563 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15564 assuming the lowest-addressed segment maps the start of the file.
15565
acd6e389
JM
155662014-03-13 Joseph Myers <joseph@codesourcery.com>
15567
15568 * INSTALL: Regenerated.
15569
6f918f36
WN
155702014-03-13 Will Newton <will.newton@linaro.org>
15571
15572 * manual/setjmp.texi (System V contexts): Improve
15573 clarity and grammar of documentation.
15574
798212a0
PP
155752014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15576
15577 [BZ #16381]
798212a0 15578 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15579 (tests-pie): Add tst-pie2.
798212a0
PP
15580 * elf/tst-pie2.c: New file.
15581 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15582 for ET_EXEC.
15583 * elf/rtld.c (map_doit): Load executable as lt_executable.
15584 (dl_main): Likewise.
15585
abe6d90c
JM
155862014-03-12 Joseph Myers <joseph@codesourcery.com>
15587
15588 [BZ #16642]
15589 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15590 (__ASSUME_PSELECT): Undefine.
15591
dd3946c6
AZ
155922014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15593
15594 [BZ #16689]
15595 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15596 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15597 static build.
15598 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15599 selector for static builds.
15600
c44496df
SP
156012014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15602
15603 [BZ #16695]
15604 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15605 key in the buffer.
15606
27c7220a
AZ
156072014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15608
57f41c40
AS
15609 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15610 IFUNC selector for static builds.
27c7220a 15611
600fa361
JM
156122014-03-11 Joseph Myers <joseph@codesourcery.com>
15613
76c96cf7
JM
15614 * sysdeps/mips/math_private.h [__mips_hard_float]
15615 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15616 libc_feresetround_mips_ctx.
15617 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15618 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15619 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15620
600fa361
JM
15621 [BZ #16677]
15622 * math/s_nextafter.c (__nextafter): Do not return value from
15623 overflowing computation.
15624 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15625 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15626 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15627 Likewise.
15628 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15629 Likewise.
15630 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15631 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15632
d7706c32
RM
156332014-03-11 Roland McGrath <roland@hack.frob.com>
15634
15635 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15636 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15637 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15638 the new mov targetting sp.
15639
4facea47
AZ
156402014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15641
15642 [BZ #16683]
15643 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15644 Define it for static builds as well.
15645 (NO_BZERO_IMPL): Likewise.
15646
e65caf1f
VR
156472014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15648
15649 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15650 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15651 multiarch strspn for PPC64.
15652 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15653 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15655 (__libc_ifunc_impl_list): Likewise.
15656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15657 multiarch optimizations
15658 * string/strspn.c (strspn): Using macro to redefine symbol name.
15659
ba9cc071
AZ
156602014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15661 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15662
15663 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15664 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15665 multiarch strncat for PPC64.
15666 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15667 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15669 (__libc_ifunc_impl_list): Likewise.
15670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15671 multiarch optimizations
15672
8b4ff974
SP
156732014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15674
15675 [BZ #16639]
15676 * nscd/nscd.service: Make service type forking.
15677
54b46a4b
AZ
156782014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15679
15680 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15681 sign in non default rounding modes.
15682 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15683
e9996ef7
JM
156842014-03-08 Joseph Myers <joseph@codesourcery.com>
15685
15686 * math/libm-test.inc (ALL_RM_TEST): New macro.
15687 (ceil_test): Use ALL_RM_TEST.
15688 (cimag_test): Likewise.
15689 (conj_test): Likewise.
15690 (copysign_test): Likewise.
15691 (cproj_test): Likewise.
15692 (creal_test): Likewise.
15693 (fabs_test): Likewise.
15694 (floor_test): Likewise.
15695 (fmax_test): Likewise.
15696 (fmin_test): Likewise.
15697 (fmod_test): Likewise.
15698 (fpclassify_test): Likewise.
15699 (frexp_test): Likewise.
15700 (ilogb_test): Likewise.
15701 (isfinite_test): Likewise.
15702 (finite_test): Likewise.
15703 (isgreater_test): Likewise.
15704 (isgreaterequal_test): Likewise.
15705 (isinf_test): Likewise.
15706 (isless_test): Likewise.
15707 (islessequal_test): Likewise.
15708 (islessgreater_test): Likewise.
15709 (isnan_test): Likewise.
15710 (isnormal_test): Likewise.
15711 (issignaling_test): Likewise.
15712 (isunordered_test): Likewise.
15713 (logb_test): Likewise.
15714 (logb_downward_test_data): Remove.
15715 (logb_test_downward): Likewise.
15716 (lround_test): Use ALL_RM_TEST.
15717 (llround_test): Likewise.
15718 (modf_test): Likewise.
15719 (nexttoward_test): Likewise.
15720 (remainder_test): Likewise.
15721 (drem_test): Likewise.
15722 (remainder_tonearest_test_data): Likewise.
15723 (remainder_test_tonearest): Likewise.
15724 (drem_test_tonearest): Likewise.
15725 (remainder_towardzero_test_data): Likewise.
15726 (remainder_test_towardzero): Likewise.
15727 (drem_test_towardzero): Likewise.
15728 (remainder_downward_test_data): Likewise.
15729 (remainder_test_downward): Likewise.
15730 (drem_test_downward): Likewise.
15731 (remainder_upward_test_data): Likewise.
15732 (remainder_test_upward): Likewise.
15733 (drem_test_upward): Likewise.
15734 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15735 (round_test): Use ALL_RM_TEST.
15736 (signbit_test): Likewise.
15737 (trunc_test): Likewise.
15738 (significand_test): Likewise.
15739 (main): Don't call removed functions.
15740
bc61d27c
JM
157412014-03-07 Joseph Myers <joseph@codesourcery.com>
15742
5c780849
JM
15743 [BZ #16674]
15744 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15745 || __USE_XOPEN2K8].
15746 (ILL_ILLOPN): Likewise.
15747 (ILL_ILLADR): Likewise.
15748 (ILL_ILLTRP): Likewise.
15749 (ILL_PRVOPC): Likewise.
15750 (ILL_PRVREG): Likewise.
15751 (ILL_COPROC): Likewise.
15752 (ILL_BADSTK): Likewise.
15753 (FPE_INTDIV): Likewise.
15754 (FPE_INTOVF): Likewise.
15755 (FPE_FLTDIV): Likewise.
15756 (FPE_FLTOVF): Likewise.
15757 (FPE_FLTUND): Likewise.
15758 (FPE_FLTRES): Likewise.
15759 (FPE_FLTINV): Likewise.
15760 (FPE_FLTSUB): Likewise.
15761 (SEGV_MAPERR): Likewise.
15762 (SEGV_ACCERR): Likewise.
15763 (BUS_ADRALN): Likewise.
15764 (BUS_ADRERR): Likewise.
15765 (BUS_OBJERR): Likewise.
15766 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15767 (TRAP_TRACE): Likewise.
15768 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15769 __USE_XOPEN2K8].
15770 (CLD_KILLED): Likewise.
15771 (CLD_DUMPED): Likewise.
15772 (CLD_TRAPPED): Likewise.
15773 (CLD_STOPPED): Likewise.
15774 (CLD_CONTINUED): Likewise.
15775 (POLL_IN): Likewise.
15776 (POLL_OUT): Likewise.
15777 (POLL_MSG): Likewise.
15778 (POLL_ERR): Likewise.
15779 (POLL_PRI): Likewise.
15780 (POLL_HUP): Likewise.
15781 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15782 Likewise.
15783 (ILL_ILLOPN): Likewise.
15784 (ILL_ILLADR): Likewise.
15785 (ILL_ILLTRP): Likewise.
15786 (ILL_PRVOPC): Likewise.
15787 (ILL_PRVREG): Likewise.
15788 (ILL_COPROC): Likewise.
15789 (ILL_BADSTK): Likewise.
15790 (FPE_INTDIV): Likewise.
15791 (FPE_INTOVF): Likewise.
15792 (FPE_FLTDIV): Likewise.
15793 (FPE_FLTOVF): Likewise.
15794 (FPE_FLTUND): Likewise.
15795 (FPE_FLTRES): Likewise.
15796 (FPE_FLTINV): Likewise.
15797 (FPE_FLTSUB): Likewise.
15798 (SEGV_MAPERR): Likewise.
15799 (SEGV_ACCERR): Likewise.
15800 (BUS_ADRALN): Likewise.
15801 (BUS_ADRERR): Likewise.
15802 (BUS_OBJERR): Likewise.
15803 (BUS_MCEERR_AR): Likewise.
15804 (BUS_MCEERR_AO): Likewise.
15805 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15806 (TRAP_TRACE): Likewise.
15807 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15808 __USE_XOPEN2K8].
15809 (CLD_KILLED): Likewise.
15810 (CLD_DUMPED): Likewise.
15811 (CLD_TRAPPED): Likewise.
15812 (CLD_STOPPED): Likewise.
15813 (CLD_CONTINUED): Likewise.
15814 (POLL_IN): Likewise.
15815 (POLL_OUT): Likewise.
15816 (POLL_MSG): Likewise.
15817 (POLL_ERR): Likewise.
15818 (POLL_PRI): Likewise.
15819 (POLL_HUP): Likewise.
15820 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15821 (ILL_ILLOPN): Likewise.
15822 (ILL_ILLADR): Likewise.
15823 (ILL_ILLTRP): Likewise.
15824 (ILL_PRVOPC): Likewise.
15825 (ILL_PRVREG): Likewise.
15826 (ILL_COPROC): Likewise.
15827 (ILL_BADSTK): Likewise.
15828 (FPE_INTDIV): Likewise.
15829 (FPE_INTOVF): Likewise.
15830 (FPE_FLTDIV): Likewise.
15831 (FPE_FLTOVF): Likewise.
15832 (FPE_FLTUND): Likewise.
15833 (FPE_FLTRES): Likewise.
15834 (FPE_FLTINV): Likewise.
15835 (FPE_FLTSUB): Likewise.
15836 (SEGV_MAPERR): Likewise.
15837 (SEGV_ACCERR): 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 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15846 __USE_XOPEN2K8].
15847 (CLD_KILLED): Likewise.
15848 (CLD_DUMPED): Likewise.
15849 (CLD_TRAPPED): Likewise.
15850 (CLD_STOPPED): Likewise.
15851 (CLD_CONTINUED): Likewise.
15852 (POLL_IN): Likewise.
15853 (POLL_OUT): Likewise.
15854 (POLL_MSG): Likewise.
15855 (POLL_ERR): Likewise.
15856 (POLL_PRI): Likewise.
15857 (POLL_HUP): Likewise.
15858 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15859 Likewise.
15860 (ILL_ILLOPN): Likewise.
15861 (ILL_ILLADR): Likewise.
15862 (ILL_ILLTRP): Likewise.
15863 (ILL_PRVOPC): Likewise.
15864 (ILL_PRVREG): Likewise.
15865 (ILL_COPROC): Likewise.
15866 (ILL_BADSTK): Likewise.
15867 (ILL_BADIADDR): Likewise.
15868 (ILL_BREAK): Likewise.
15869 (FPE_INTDIV): Likewise.
15870 (FPE_INTOVF): Likewise.
15871 (FPE_FLTDIV): Likewise.
15872 (FPE_FLTOVF): Likewise.
15873 (FPE_FLTUND): Likewise.
15874 (FPE_FLTRES): Likewise.
15875 (FPE_FLTINV): Likewise.
15876 (FPE_FLTSUB): Likewise.
15877 (FPE_DECOVF): Likewise.
15878 (FPE_DECDIV): Likewise.
15879 (FPE_DECERR): Likewise.
15880 (FPE_INVASC): Likewise.
15881 (FPE_INVDEC): Likewise.
15882 (SEGV_MAPERR): Likewise.
15883 (SEGV_ACCERR): Likewise.
15884 (SEGV_PSTKOVF): Likewise.
15885 (BUS_ADRALN): Likewise.
15886 (BUS_ADRERR): Likewise.
15887 (BUS_OBJERR): Likewise.
15888 (BUS_MCEERR_AR): Likewise.
15889 (BUS_MCEERR_AO): Likewise.
15890 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15891 (TRAP_TRACE): Likewise.
15892 (TRAP_BRANCH): Likewise.
15893 (TRAP_HWBKPT): Likewise.
15894 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15895 __USE_XOPEN2K8].
15896 (CLD_KILLED): Likewise.
15897 (CLD_DUMPED): Likewise.
15898 (CLD_TRAPPED): Likewise.
15899 (CLD_STOPPED): Likewise.
15900 (CLD_CONTINUED): Likewise.
15901 (POLL_IN): Likewise.
15902 (POLL_OUT): Likewise.
15903 (POLL_MSG): Likewise.
15904 (POLL_ERR): Likewise.
15905 (POLL_PRI): Likewise.
15906 (POLL_HUP): Likewise.
15907 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15908 (ILL_ILLOPN): Likewise.
15909 (ILL_ILLADR): Likewise.
15910 (ILL_ILLTRP): Likewise.
15911 (ILL_PRVOPC): Likewise.
15912 (ILL_PRVREG): Likewise.
15913 (ILL_COPROC): Likewise.
15914 (ILL_BADSTK): Likewise.
15915 (FPE_INTDIV): Likewise.
15916 (FPE_INTOVF): Likewise.
15917 (FPE_FLTDIV): Likewise.
15918 (FPE_FLTOVF): Likewise.
15919 (FPE_FLTUND): Likewise.
15920 (FPE_FLTRES): Likewise.
15921 (FPE_FLTINV): Likewise.
15922 (FPE_FLTSUB): Likewise.
15923 (SEGV_MAPERR): Likewise.
15924 (SEGV_ACCERR): Likewise.
15925 (BUS_ADRALN): Likewise.
15926 (BUS_ADRERR): Likewise.
15927 (BUS_OBJERR): Likewise.
15928 (BUS_MCEERR_AR): Likewise.
15929 (BUS_MCEERR_AO): Likewise.
15930 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15931 (TRAP_TRACE): Likewise.
15932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15933 __USE_XOPEN2K8].
15934 (CLD_KILLED): Likewise.
15935 (CLD_DUMPED): Likewise.
15936 (CLD_TRAPPED): Likewise.
15937 (CLD_STOPPED): Likewise.
15938 (CLD_CONTINUED): Likewise.
15939 (POLL_IN): Likewise.
15940 (POLL_OUT): Likewise.
15941 (POLL_MSG): Likewise.
15942 (POLL_ERR): Likewise.
15943 (POLL_PRI): Likewise.
15944 (POLL_HUP): Likewise.
15945 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15946 (ILL_ILLOPN): Likewise.
15947 (ILL_ILLADR): Likewise.
15948 (ILL_ILLTRP): Likewise.
15949 (ILL_PRVOPC): Likewise.
15950 (ILL_PRVREG): Likewise.
15951 (ILL_COPROC): Likewise.
15952 (ILL_BADSTK): Likewise.
15953 (FPE_INTDIV): Likewise.
15954 (FPE_INTOVF): Likewise.
15955 (FPE_FLTDIV): Likewise.
15956 (FPE_FLTOVF): Likewise.
15957 (FPE_FLTUND): Likewise.
15958 (FPE_FLTRES): Likewise.
15959 (FPE_FLTINV): Likewise.
15960 (FPE_FLTSUB): Likewise.
15961 (SEGV_MAPERR): Likewise.
15962 (SEGV_ACCERR): Likewise.
15963 (BUS_ADRALN): Likewise.
15964 (BUS_ADRERR): Likewise.
15965 (BUS_OBJERR): Likewise.
15966 (BUS_MCEERR_AR): Likewise.
15967 (BUS_MCEERR_AO): Likewise.
15968 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15969 (TRAP_TRACE): Likewise.
15970 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15971 __USE_XOPEN2K8].
15972 (CLD_KILLED): Likewise.
15973 (CLD_DUMPED): Likewise.
15974 (CLD_TRAPPED): Likewise.
15975 (CLD_STOPPED): Likewise.
15976 (CLD_CONTINUED): Likewise.
15977 (POLL_IN): Likewise.
15978 (POLL_OUT): Likewise.
15979 (POLL_MSG): Likewise.
15980 (POLL_ERR): Likewise.
15981 (POLL_PRI): Likewise.
15982 (POLL_HUP): Likewise.
15983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15984 (ILL_ILLOPN): Likewise.
15985 (ILL_ILLADR): Likewise.
15986 (ILL_ILLTRP): Likewise.
15987 (ILL_PRVOPC): Likewise.
15988 (ILL_PRVREG): Likewise.
15989 (ILL_COPROC): Likewise.
15990 (ILL_BADSTK): Likewise.
15991 (FPE_INTDIV): Likewise.
15992 (FPE_INTOVF): Likewise.
15993 (FPE_FLTDIV): Likewise.
15994 (FPE_FLTOVF): Likewise.
15995 (FPE_FLTUND): Likewise.
15996 (FPE_FLTRES): Likewise.
15997 (FPE_FLTINV): Likewise.
15998 (FPE_FLTSUB): Likewise.
15999 (SEGV_MAPERR): Likewise.
16000 (SEGV_ACCERR): Likewise.
16001 (BUS_ADRALN): Likewise.
16002 (BUS_ADRERR): Likewise.
16003 (BUS_OBJERR): Likewise.
16004 (BUS_MCEERR_AR): Likewise.
16005 (BUS_MCEERR_AO): Likewise.
16006 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16007 (TRAP_TRACE): Likewise.
16008 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16009 __USE_XOPEN2K8].
16010 (CLD_KILLED): Likewise.
16011 (CLD_DUMPED): Likewise.
16012 (CLD_TRAPPED): Likewise.
16013 (CLD_STOPPED): Likewise.
16014 (CLD_CONTINUED): Likewise.
16015 (POLL_IN): Likewise.
16016 (POLL_OUT): Likewise.
16017 (POLL_MSG): Likewise.
16018 (POLL_ERR): Likewise.
16019 (POLL_PRI): Likewise.
16020 (POLL_HUP): Likewise.
16021 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16022 (ILL_ILLOPN): Likewise.
16023 (ILL_ILLADR): Likewise.
16024 (ILL_ILLTRP): Likewise.
16025 (ILL_PRVOPC): Likewise.
16026 (ILL_PRVREG): Likewise.
16027 (ILL_COPROC): Likewise.
16028 (ILL_BADSTK): Likewise.
16029 (ILL_DBLFLT): Likewise.
16030 (ILL_HARDWALL): Likewise.
16031 (FPE_INTDIV): Likewise.
16032 (FPE_INTOVF): Likewise.
16033 (FPE_FLTDIV): Likewise.
16034 (FPE_FLTOVF): Likewise.
16035 (FPE_FLTUND): Likewise.
16036 (FPE_FLTRES): Likewise.
16037 (FPE_FLTINV): Likewise.
16038 (FPE_FLTSUB): Likewise.
16039 (SEGV_MAPERR): Likewise.
16040 (SEGV_ACCERR): Likewise.
16041 (BUS_ADRALN): Likewise.
16042 (BUS_ADRERR): Likewise.
16043 (BUS_OBJERR): Likewise.
16044 (BUS_MCEERR_AR): Likewise.
16045 (BUS_MCEERR_AO): Likewise.
16046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16047 (TRAP_TRACE): Likewise.
16048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16049 __USE_XOPEN2K8].
16050 (CLD_KILLED): Likewise.
16051 (CLD_DUMPED): Likewise.
16052 (CLD_TRAPPED): Likewise.
16053 (CLD_STOPPED): Likewise.
16054 (CLD_CONTINUED): Likewise.
16055 (POLL_IN): Likewise.
16056 (POLL_OUT): Likewise.
16057 (POLL_MSG): Likewise.
16058 (POLL_ERR): Likewise.
16059 (POLL_PRI): Likewise.
16060 (POLL_HUP): Likewise.
16061 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16062 (ILL_ILLOPN): Likewise.
16063 (ILL_ILLADR): Likewise.
16064 (ILL_ILLTRP): Likewise.
16065 (ILL_PRVOPC): Likewise.
16066 (ILL_PRVREG): Likewise.
16067 (ILL_COPROC): Likewise.
16068 (ILL_BADSTK): Likewise.
16069 (FPE_INTDIV): Likewise.
16070 (FPE_INTOVF): Likewise.
16071 (FPE_FLTDIV): Likewise.
16072 (FPE_FLTOVF): Likewise.
16073 (FPE_FLTUND): Likewise.
16074 (FPE_FLTRES): Likewise.
16075 (FPE_FLTINV): Likewise.
16076 (FPE_FLTSUB): Likewise.
16077 (SEGV_MAPERR): Likewise.
16078 (SEGV_ACCERR): Likewise.
16079 (BUS_ADRALN): Likewise.
16080 (BUS_ADRERR): Likewise.
16081 (BUS_OBJERR): Likewise.
16082 (BUS_MCEERR_AR): Likewise.
16083 (BUS_MCEERR_AO): Likewise.
16084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16085 (TRAP_TRACE): Likewise.
16086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16087 __USE_XOPEN2K8].
16088 (CLD_KILLED): Likewise.
16089 (CLD_DUMPED): Likewise.
16090 (CLD_TRAPPED): Likewise.
16091 (CLD_STOPPED): Likewise.
16092 (CLD_CONTINUED): Likewise.
16093 (POLL_IN): Likewise.
16094 (POLL_OUT): Likewise.
16095 (POLL_MSG): Likewise.
16096 (POLL_ERR): Likewise.
16097 (POLL_PRI): Likewise.
16098 (POLL_HUP): Likewise.
16099 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16100 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16101
bc61d27c
JM
16102 [BZ #16670]
16103 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16104 before #include of <time.h>.
16105 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16106 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16107 (test-xfail-UNIX98/sched.h/conform): Likewise.
16108
302949e2
MS
161092014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16110
16111 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16112 error absence of trapping exception support.
16113 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16114
a00f522a
JM
161152014-03-07 Joseph Myers <joseph@codesourcery.com>
16116
6f99f280
JM
16117 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16118 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16119 * timezone/Makefile (testdata): Move definition above include of
16120 Rules.
16121 (test-zones): New variable.
16122 (tests-special): Add zone files.
16123 (build-testdata): Use $(evaluate-test).
16124
0b20a9e8
JM
16125 * elf/Makefile (tests-special): Rename tests to end with .out.
16126 ($(objpfx)noload-mem): Likewise.
16127 ($(objpfx)tst-leaks1-mem): Likewise.
16128 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16129 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16130 $(objpfx)test-iconvconfig.out.
16131 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16132 set -e inside subshell and redirect output to file.
16133 * iconvdata/Makefile (generated): Rename tests to end with .out.
16134 Correct type.
16135 (tests-special): Rename tests to end with .out.
16136 ($(objpfx)mtrace-tst-loading): Likewise.
16137 * intl/Makefile (generated): Likewise.
16138 (tests-special): Likewise.
16139 ($(objpfx)mtrace-tst-gettext): Likewise.
16140 * misc/Makefile (generated): Likewise.
16141 (tests-special): Likewise.
16142 ($(objpfx)tst-error1-mem): Likewise.
16143 * nptl/Makefile (tests-special): Likewise.
16144 ($(objpfx)tst-stack3-mem): Likewise.
16145 (generated): Likewise.
16146 * posix/Makefile (generated): Likewise.
16147 (tests-special): Likewise.
16148 (xtests-special): Likewise.
16149 ($(objpfx)tst-fnmatch-mem): Likewise.
16150 ($(objpfx)bug-regex2-mem): Likewise.
16151 ($(objpfx)bug-regex14-mem): Likewise.
16152 ($(objpfx)bug-regex21-mem): Likewise.
16153 ($(objpfx)bug-regex31-mem): Likewise.
16154 ($(objpfx)tst-vfork3-mem): Likewise.
16155 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16156 ($(objpfx)tst-pcre-mem): Likewise.
16157 ($(objpfx)tst-boost-mem): Likewise.
16158 ($(objpfx)bug-ga2-mem): Likewise.
16159 ($(objpfx)bug-glob2-mem): Likewise.
16160 * resolv/Makefile (generate): Likewise.
16161 (tests-special): Likewise.
16162 (xtests-special): Likewise.
16163 (generated): Likewise.
16164 ($(objpfx)mtrace-tst-leaks): Likewise.
16165 ($(objpfx)mtrace-tst-leaks2): Likewise.
16166
265d52ab
JM
16167 * scripts/merge-test-results.sh: New file.
16168 * Makefile (tests-special-notdir): New variable.
16169 (tests): Run merge-test-results.sh.
16170 (xtests): Likewise.
16171 * Rules (tests-special-notdir): New variable.
16172 (xtests-special-notdir): Likewise.
16173 (tests): Run merge-test-results.sh
16174 (xtests): Likewise.
16175
54ee292d
JM
16176 * Makeconfig (test-xfail-name): New variable.
16177 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16178 compute variable name for expected failures.
16179 * conform/Makefile (conformtest-headers-data): New variable.
16180 (conformtest-standards): Likewise.
16181 (conformtest-headers-ISO): Likewise.
16182 (conformtest-headers-ISO99): Likewise.
16183 (conformtest-headers-ISO11): Likewise.
16184 (conformtest-headers-POSIX): Likewise.
16185 (conformtest-headers-XPG3): Likewise.
16186 (conformtest-headers-XPG4): Likewise.
16187 (conformtest-headers-UNIX98): Likewise.
16188 (conformtest-headers-XOPEN2K): Likewise.
16189 (conformtest-headers-POSIX2008): Likewise.
16190 (conformtest-headers-XOPEN2K8): Likewise.
16191 (conformtest-header-list-base): Likewise.
16192 (conformtest-header-list-tests): Likewise.
16193 (conformtest-header-base): Likewise.
16194 (conformtest-header-tests): Likewise.
16195 (tests-special): Add $(conformtest-header-list-tests). If
16196 [$(fast-check) && !$(cross-compiling)], add
16197 $(conformtest-header-tests) instead of
16198 $(objpfx)run-conformtest.out.
16199 (generated): Add $(conformtest-header-list-base). If
16200 [$(fast-check) && !$(cross-compiling)], add
16201 $(conformtest-header-base). Remove previous setting.
16202 ($(conformtest-header-list-tests)): New target.
16203 (test-xfail-run-conformtest): Remove variable.
16204 ($(objpfx)run-conformtest.out): Remove target.
16205 (test-xfail-ISO11/complex.h/conform): New variable.
16206 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16207 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16208 (test-xfail-XPG3/varargs.h/conform): Likewise.
16209 (test-xfail-XPG4/varargs.h/conform): Likewise.
16210 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16211 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16212 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16213 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16214 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16215 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16216 (test-xfail-XPG3/ftw.h/conform): Likewise.
16217 (test-xfail-XPG3/grp.h/conform): Likewise.
16218 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16219 (test-xfail-XPG3/limits.h/conform): Likewise.
16220 (test-xfail-XPG3/pwd.h/conform): Likewise.
16221 (test-xfail-XPG3/search.h/conform): Likewise.
16222 (test-xfail-XPG3/signal.h/conform): Likewise.
16223 (test-xfail-XPG3/stdio.h/conform): Likewise.
16224 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16225 (test-xfail-XPG3/string.h/conform): Likewise.
16226 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16227 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16228 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16229 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16230 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16231 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16232 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16233 (test-xfail-XPG3/termios.h/conform): Likewise.
16234 (test-xfail-XPG3/time.h/conform): Likewise.
16235 (test-xfail-XPG3/unistd.h/conform): Likewise.
16236 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16237 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16238 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16239 (test-xfail-XPG4/netdb.h/conform): Likewise.
16240 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16241 (test-xfail-XPG4/signal.h/conform): Likewise.
16242 (test-xfail-XPG4/stdio.h/conform): Likewise.
16243 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16244 (test-xfail-XPG4/stropts.h/conform): Likewise.
16245 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16246 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16247 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16248 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16249 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16250 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16251 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16252 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16253 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16254 (test-xfail-XPG4/termios.h/conform): Likewise.
16255 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16256 (test-xfail-XPG4/unistd.h/conform): Likewise.
16257 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16258 (test-xfail-POSIX/sched.h/conform): Likewise.
16259 (test-xfail-POSIX/signal.h/conform): Likewise.
16260 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16261 (test-xfail-POSIX/tar.h/conform): Likewise.
16262 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16263 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16264 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16265 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16266 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16267 (test-xfail-UNIX98/sched.h/conform): Likewise.
16268 (test-xfail-UNIX98/signal.h/conform): Likewise.
16269 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16270 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16271 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16272 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16273 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16274 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16275 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16276 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16277 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16278 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16279 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16280 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16281 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16282 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16283 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16284 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16285 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16286 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16287 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16288 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16289 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16290 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16291 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16292 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16293 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16294 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16295 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16296 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16297 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16298 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16299 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16300 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16301 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16302 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16303 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16304 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16305 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16306 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16307 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16308 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16309 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16310 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16311 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16312 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16313 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16314 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16315 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16316 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16317 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16318 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16319 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16320 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16321 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16322 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16323 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16324 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16325 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16326 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16327 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16328 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16329 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16330 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16331 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16332 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16333 (conformtest-cc-flags): Likewise.
16334 ($(conformtest-header-tests): New target.
16335 * conform/check-header-lists.sh: New file.
16336 * conform/run-conformtest.sh: Remove.
16337
a00f522a
JM
16338 * conform/conformtest.pl: Allow ' and \ in values given for
16339 constants.
16340 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16341 inclusion.
16342 [POSIX] (sys/types.h): Likewise.
16343 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16344 inclusion.
16345 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16346 inclusion.
16347 * conform/data/signal.h-data (SIGIO): Remove expectation.
16348 [XPG3] (SIGBUS): Do not expect.
16349 [POSIX || XPG3] (SIGPOLL): Likewise.
16350 [POSIX || XPG3] (SIGPROF): Likewise.
16351 [POSIX || XPG3] (SIGSYS): Likewise.
16352 [XPG3] (SIGTRAP): Likewise.
16353 [POSIX || XPG3] (SIGURG): Likewise.
16354 [POSIX || XPG3] (SIGVTALRM): Likewise.
16355 [POSIX || XPG3] (SIGXCPU): Likewise.
16356 [POSIX || XPG3] (SIGXFSZ): Likewise.
16357 [POSIX] (SA_SIGINFO): Expect.
16358 [XPG3] (siginfo_t): Do not expect type or contents.
16359 [POSIX] (si_pid): Do not expect element.
16360 [POSIX] (si_uid): Likewise.
16361 [POSIX] (si_addr): Likewise.
16362 [POSIX] (si_status): Likewise.
16363 [POSIX] (si_band): Likewise.
16364 [XPG4] (si_value): Likewise.
16365 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16366 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16367 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16368 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16369 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16370 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16371 [POSIX || XPG3] (ILL_COPROC): Likewise.
16372 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16373 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16374 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16375 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16376 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16377 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16378 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16379 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16380 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16381 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16382 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16383 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16384 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16385 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16386 [POSIX || XPG3] (CLD_EXITED): Likewise.
16387 [POSIX || XPG3] (CLD_KILLED): Likewise.
16388 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16389 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16390 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16391 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16392 [POSIX || XPG3] (POLL_IN): Likewise.
16393 [POSIX || XPG3] (POLL_OUT): Likewise.
16394 [POSIX || XPG3] (POLL_MSG): Likewise.
16395 [POSIX || XPG3] (POLL_ERR): Likewise.
16396 [POSIX || XPG3] (POLL_PRI): Likewise.
16397 [POSIX || XPG3] (POLL_HUP): Likewise.
16398 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16399 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16400 (SIG*): Do not allow.
16401 [XPG3] (si_*): Likewise.
16402 [XPG3] (SI_*): Likewise.
16403 [XPG3 || XPG4] (sigev_*): Likewise.
16404 [XPG3 || XPG4] (SIGEV_*): Likewise.
16405 [XPG3 || XPG4] (sival_*): Likewise.
16406 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16407 [POSIX || XPG3] (BUS_*): Likewise.
16408 [POSIX || XPG3] (CLD_*): Likewise.
16409 [POSIX || XPG3] (FPE_*): Likewise.
16410 [POSIX || XPG3] (ILL_*): Likewise.
16411 [POSIX || XPG3] (POLL_*): Likewise.
16412 [POSIX || XPG3] (SEGV_*): Likewise.
16413 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16414 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16415 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16416 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16417 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16418 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16419 Specify type and value.
16420 (TVERSLEN): Likewise.
16421 (REGTYPE): Likewise.
16422 (AREGTYPE): Likewise.
16423 (LNKTYPE): Likewise.
16424 (SYMTYPE): Likewise.
16425 (CHRTYPE): Likewise.
16426 (BLKTYPE): Likewise.
16427 (DIRTYPE): Likewise.
16428 (FIFOTYPE): Likewise.
16429 (CONTTYPE): Likewise.
16430 (TSUID): Likewise.
16431 (TSGID): Likewise.
16432 (TSVTX): Likewise.
16433 (TUREAD): Likewise.
16434 (TUWRITE): Likewise.
16435 (TUEXEC): Likewise.
16436 (TGREAD): Likewise.
16437 (TGWRITE): Likewise.
16438 (TGEXEC): Likewise.
16439 (TOREAD): Likewise.
16440 (TOWRITE): Likewise.
16441 (TOEXEC): Likewise.
16442 [POSIX] (TSVTX): Expect constant.
16443
aa97dee1
JM
164442014-03-06 Joseph Myers <joseph@codesourcery.com>
16445
f214606a
JM
16446 * Makefile (tests): Change dependencies to ....
16447 (tests-special): ... additions to this variable.
16448 (tests): Depend on $(tests-special).
16449 * Makerules (check-abi-list): New variable.
16450 (check-abi): Depend on $(check-abi-list).
16451 [$(subdir) = elf] (tests-special): Add
16452 $(objpfx)check-abi-libc.out.
16453 [$(build-shared) = yes && subdir] (tests-special): Add
16454 $(check-abi-list).
16455 [$(build-shared) = yes && subdir] (tests): Do not depend on
16456 check-abi.
16457 * Rules (tests): Depend on $(tests-special).
16458 (xtests): Depend on $(xtests-special).
16459 * catgets/Makefile (tests): Change dependencies to ....
16460 (tests-special): ... additions to this variable.
16461 * conform/Makefile (tests): Change dependencies to ....
16462 (tests-special): ... additions to this variable.
16463 * elf/Makefile (tests): Change dependencies to ....
16464 (tests-special): ... additions to this variable.
16465 * grp/Makefile (tests): Change dependencies to ....
16466 (tests-special): ... additions to this variable.
16467 * iconv/Makefile (xtests): Change dependencies to ....
16468 (xtests-special): ... additions to this variable.
16469 * iconvdata/Makefile (tests): Change dependencies to ....
16470 (tests-special): ... additions to this variable.
16471 * intl/Makefile (tests): Change dependencies to ....
16472 (tests-special): ... additions to this variable. Also add
16473 $(objpfx)tst-gettext.out.
16474 * io/Makefile (tests): Change dependencies to ....
16475 (tests-special): ... additions to this variable.
16476 * libio/Makefile (tests): Change dependencies to ....
16477 (tests-special): ... additions to this variable.
16478 * malloc/Makefile (tests): Change dependencies to ....
16479 (tests-special): ... additions to this variable.
16480 * misc/Makefile (tests): Change dependencies to ....
16481 (tests-special): ... additions to this variable.
16482 * nptl/Makefile (tests): Change dependencies to ....
16483 (tests-special): ... additions to this variable.
16484 * nptl_db/Makefile (tests): Change dependencies to ....
16485 (tests-special): ... additions to this variable.
16486 * posix/Makefile (tests): Change dependencies to ....
16487 (tests-special): ... additions to this variable.
16488 (xtests): Change dependencies to ....
16489 (xtests-special): ... additions to this variable.
16490 * resolv/Makefile (tests): Change dependencies to ....
16491 (tests-special): ... additions to this variable.
16492 (xtests): Change dependencies to ....
16493 (xtests-special): ... additions to this variable.
16494 * stdio-common/Makefile (tests): Change dependencies to ....
16495 (tests-special): ... additions to this variable.
16496 (do-tst-unbputc): Remove target.
16497 (do-tst-printf): Likewise.
16498 * stdlib/Makefile (tests): Change dependencies to ....
16499 (tests-special): ... additions to this variable.
16500 * string/Makefile (tests): Change dependencies to ....
16501 (tests-special): ... additions to this variable.
16502 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16503 (tests-special): ... additions to this variable.
16504
81700b53
JM
16505 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16506 whole file.
16507 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16508 whole file.
16509 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16510 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16511
2ea18461
JM
16512 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16513 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16514 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16515 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16516 * conform/data/libgen.h-data [XPG3]: Likewise.
16517 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16518 * conform/data/ndbm.h-data [XPG3]: Likewise.
16519 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16520 * conform/data/netdb.h-data [XPG3]: Likewise.
16521 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16522 * conform/data/poll.h-data [XPG3]: Likewise.
16523 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16524 * conform/data/strings.h-data [XPG3]: Likewise.
16525 * conform/data/stropts.h-data [XPG3]: Likewise.
16526 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16527 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16528 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16529 Likewise.
16530 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16531 * conform/data/sys/time.h-data [XPG3]: Likewise.
16532 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16533 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16534 * conform/data/sys/un.h-data [XPG3]: Likewise.
16535 * conform/data/syslog.h-data [XPG3]: Likewise.
16536 * conform/data/ucontext.h-data [XPG3]: Likewise.
16537 * conform/data/utmpx.h-data [XPG3]: Likewise.
16538 * conform/data/varargs.h-data [UNIX98]: Enable file.
16539
355bc986
JM
16540 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16541
215db402
JM
16542 * math/libm-test.inc (struct test_f_f_data): Move expected results
16543 into structure for each rounding mode.
16544 (struct test_ff_f_data): Likewise.
16545 (struct test_ff_f_data_nexttoward): Likewise.
16546 (struct test_fi_f_data): Likewise.
16547 (struct test_fl_f_data): Likewise.
16548 (struct test_if_f_data): Likewise.
16549 (struct test_fff_f_data): Likewise.
16550 (struct test_c_f_data): Likewise.
16551 (struct test_f_f1_data): Likewise.
16552 (struct test_fF_f1_data): Likewise.
16553 (struct test_ffI_f1_data): Likewise.
16554 (struct test_c_c_data): Likewise.
16555 (struct test_cc_c_data): Likewise.
16556 (struct test_f_i_data): Likewise.
16557 (struct test_ff_i_data): Likewise.
16558 (struct test_f_l_data): Likewise.
16559 (struct test_f_L_data): Likewise.
16560 (struct test_fFF_11_data): Likewise.
16561 (RM_): New macro.
16562 (RM_FE_DOWNWARD): Likewise.
16563 (RM_FE_TONEAREST): Likewise.
16564 (RM_FE_TOWARDZERO): Likewise.
16565 (RM_FE_UPWARD): Likewise.
16566 (RUN_TEST_LOOP_f_f): Update references to expected results.
16567 (RUN_TEST_LOOP_2_f): Likewise.
16568 (RUN_TEST_LOOP_fff_f): Likewise.
16569 (RUN_TEST_LOOP_c_f): Likewise.
16570 (RUN_TEST_LOOP_f_f1): Likewise.
16571 (RUN_TEST_LOOP_fF_f1): Likewise.
16572 (RUN_TEST_LOOP_fI_f1): Likewise.
16573 (RUN_TEST_LOOP_ffI_f1): Likewise.
16574 (RUN_TEST_LOOP_c_c): Likewise.
16575 (RUN_TEST_LOOP_cc_c): Likewise.
16576 (RUN_TEST_LOOP_f_i): Likewise.
16577 (RUN_TEST_LOOP_f_i_tg): Likewise.
16578 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16579 (RUN_TEST_LOOP_f_b): Likewise.
16580 (RUN_TEST_LOOP_f_b_tg): Likewise.
16581 (RUN_TEST_LOOP_f_l): Likewise.
16582 (RUN_TEST_LOOP_f_L): Likewise.
16583 (RUN_TEST_LOOP_fFF_11): Likewise.
16584 * math/gen-libm-test.pl (parse_args): Output four copies of
16585 expected results for each test.
16586
67737b8f
JM
16587 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16588 (__ASSUME_UTIMES): Remove.
16589 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16590 (__ASSUME_UTIMES): Likewise.
16591
aa97dee1
JM
16592 * math/gen-auto-libm-tests.c: Update comment on output format.
16593 (output_for_one_input_case): Generate before-rounding and
16594 after-rounding information as conditions on output flags not
16595 floating-point format.
16596 * math/auto-libm-test-out: Regenerated.
16597 * math/gen-libm-test.pl (cond_value): New function.
16598 (or_cond_value): Use cond_value.
16599 (generate_testfile): Handle conditional exceptions.
16600
e6b6a857
JM
166012014-03-05 Joseph Myers <joseph@codesourcery.com>
16602
2f0a0f44
JM
16603 * math/libm-test.inc (max_valid_error): New variable.
16604 (init_max_error): Take new argument specifying whether function
16605 results are exactly determined. Set max_valid_error and bound
16606 other variables for errors based on this argument.
16607 (set_max_error): Do not record results above max_valid_error.
16608 (check_float_internal): Only accept errors of up to 0.5ulps if
16609 also at most max_valid_error.
16610 (START): Take new argument EXACT and pass it to init_max_error.
16611 (acos_test): Update call to START.
16612 (acos_test_tonearest): Likewise.
16613 (acos_test_towardzero): Likewise.
16614 (acos_test_downward): Likewise.
16615 (acos_test_upward): Likewise.
16616 (acosh_test): Likewise.
16617 (asin_test): Likewise.
16618 (asin_test_tonearest): Likewise.
16619 (asin_test_towardzero): Likewise.
16620 (asin_test_downward): Likewise.
16621 (asin_test_upward): Likewise.
16622 (asinh_test): Likewise.
16623 (atan_test): Likewise.
16624 (atanh_test): Likewise.
16625 (atan2_test): Likewise.
16626 (cabs_test): Likewise.
16627 (cacos_test): Likewise.
16628 (cacosh_test): Likewise.
16629 (carg_test): Likewise.
16630 (casin_test): Likewise.
16631 (casinh_test): Likewise.
16632 (catan_test): Likewise.
16633 (catanh_test): Likewise.
16634 (cbrt_test): Likewise.
16635 (ccos_test): Likewise.
16636 (ccosh_test): Likewise.
16637 (ceil_test): Likewise.
16638 (cexp_test): Likewise.
16639 (cimag_test): Likewise.
16640 (clog_test): Likewise.
16641 (clog10_test): Likewise.
16642 (conj_test): Likewise.
16643 (copysign_test): Likewise.
16644 (cos_test): Likewise.
16645 (cos_test_tonearest): Likewise.
16646 (cos_test_towardzero): Likewise.
16647 (cos_test_downward): Likewise.
16648 (cos_test_upward): Likewise.
16649 (cosh_test): Likewise.
16650 (cosh_test_tonearest): Likewise.
16651 (cosh_test_towardzero): Likewise.
16652 (cosh_test_downward): Likewise.
16653 (cosh_test_upward): Likewise.
16654 (cpow_test): Likewise.
16655 (cproj_test): Likewise.
16656 (creal_test): Likewise.
16657 (csin_test): Likewise.
16658 (csinh_test): Likewise.
16659 (csqrt_test): Likewise.
16660 (ctan_test): Likewise.
16661 (ctan_test_tonearest): Likewise.
16662 (ctan_test_towardzero): Likewise.
16663 (ctan_test_downward): Likewise.
16664 (ctan_test_upward): Likewise.
16665 (ctanh_test): Likewise.
16666 (ctanh_test_tonearest): Likewise.
16667 (ctanh_test_towardzero): Likewise.
16668 (ctanh_test_downward): Likewise.
16669 (ctanh_test_upward): Likewise.
16670 (erf_test): Likewise.
16671 (erfc_test): Likewise.
16672 (exp_test): Likewise.
16673 (exp_test_tonearest): Likewise.
16674 (exp_test_towardzero): Likewise.
16675 (exp_test_downward): Likewise.
16676 (exp_test_upward): Likewise.
16677 (exp10_test): Likewise.
16678 (exp10_test_tonearest): Likewise.
16679 (exp10_test_towardzero): Likewise.
16680 (exp10_test_downward): Likewise.
16681 (exp10_test_upward): Likewise.
16682 (pow10_test): Likewise.
16683 (exp2_test): Likewise.
16684 (expm1_test): Likewise.
16685 (expm1_test_tonearest): Likewise.
16686 (expm1_test_towardzero): Likewise.
16687 (expm1_test_downward): Likewise.
16688 (expm1_test_upward): Likewise.
16689 (fabs_test): Likewise.
16690 (fdim_test): Likewise.
16691 (floor_test): Likewise.
16692 (fma_test): Likewise.
16693 (fma_test_towardzero): Likewise.
16694 (fma_test_downward): Likewise.
16695 (fma_test_upward): Likewise.
16696 (fmax_test): Likewise.
16697 (fmin_test): Likewise.
16698 (fmod_test): Likewise.
16699 (fpclassify_test): Likewise.
16700 (frexp_test): Likewise.
16701 (hypot_test): Likewise.
16702 (ilogb_test): Likewise.
16703 (isfinite_test): Likewise.
16704 (finite_test): Likewise.
16705 (isgreater_test): Likewise.
16706 (isgreaterequal_test): Likewise.
16707 (isinf_test): Likewise.
16708 (isless_test): Likewise.
16709 (islessequal_test): Likewise.
16710 (islessgreater_test): Likewise.
16711 (isnan_test): Likewise.
16712 (isnormal_test): Likewise.
16713 (issignaling_test): Likewise.
16714 (isunordered_test): Likewise.
16715 (j0_test): Likewise.
16716 (j1_test): Likewise.
16717 (jn_test): Likewise.
16718 (ldexp_test): Likewise.
16719 (lgamma_test): Likewise.
16720 (gamma_test): Likewise.
16721 (lrint_test): Likewise.
16722 (lrint_test_tonearest): Likewise.
16723 (lrint_test_towardzero): Likewise.
16724 (lrint_test_downward): Likewise.
16725 (lrint_test_upward): Likewise.
16726 (llrint_test): Likewise.
16727 (llrint_test_tonearest): Likewise.
16728 (llrint_test_towardzero): Likewise.
16729 (llrint_test_downward): Likewise.
16730 (llrint_test_upward): Likewise.
16731 (log_test): Likewise.
16732 (log10_test): Likewise.
16733 (log1p_test): Likewise.
16734 (log2_test): Likewise.
16735 (logb_test): Likewise.
16736 (logb_test_downward): Likewise.
16737 (lround_test): Likewise.
16738 (llround_test): Likewise.
16739 (modf_test): Likewise.
16740 (nearbyint_test): Likewise.
16741 (nextafter_test): Likewise.
16742 (nexttoward_test): Likewise.
16743 (pow_test): Likewise.
16744 (pow_test_tonearest): Likewise.
16745 (pow_test_towardzero): Likewise.
16746 (pow_test_downward): Likewise.
16747 (pow_test_upward): Likewise.
16748 (remainder_test): Likewise.
16749 (drem_test): Likewise.
16750 (remainder_test_tonearest): Likewise.
16751 (drem_test_tonearest): Likewise.
16752 (remainder_test_towardzero): Likewise.
16753 (drem_test_towardzero): Likewise.
16754 (remainder_test_downward): Likewise.
16755 (drem_test_downward): Likewise.
16756 (remainder_test_upward): Likewise.
16757 (drem_test_upward): Likewise.
16758 (remquo_test): Likewise.
16759 (rint_test): Likewise.
16760 (rint_test_tonearest): Likewise.
16761 (rint_test_towardzero): Likewise.
16762 (rint_test_downward): Likewise.
16763 (rint_test_upward): Likewise.
16764 (round_test): Likewise.
16765 (scalb_test): Likewise.
16766 (scalbn_test): Likewise.
16767 (scalbln_test): Likewise.
16768 (signbit_test): Likewise.
16769 (sin_test): Likewise.
16770 (sin_test_tonearest): Likewise.
16771 (sin_test_towardzero): Likewise.
16772 (sin_test_downward): Likewise.
16773 (sin_test_upward): Likewise.
16774 (sincos_test): Likewise.
16775 (sinh_test): Likewise.
16776 (sinh_test_tonearest): Likewise.
16777 (sinh_test_towardzero): Likewise.
16778 (sinh_test_downward): Likewise.
16779 (sinh_test_upward): Likewise.
16780 (sqrt_test): Likewise.
16781 (sqrt_test_tonearest): Likewise.
16782 (sqrt_test_towardzero): Likewise.
16783 (sqrt_test_downward): Likewise.
16784 (sqrt_test_upward): Likewise.
16785 (tan_test): Likewise.
16786 (tan_test_tonearest): Likewise.
16787 (tan_test_towardzero): Likewise.
16788 (tan_test_downward): Likewise.
16789 (tan_test_upward): Likewise.
16790 (tanh_test): Likewise.
16791 (tgamma_test): Likewise.
16792 (trunc_test): Likewise.
16793 (y0_test): Likewise.
16794 (y1_test): Likewise.
16795 (yn_test): Likewise.
16796 (significand_test): Likewise.
16797
e6b6a857
JM
16798 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16799 individual tests in comment.
16800 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16801 (prev_max_error): New variable.
16802 (prev_real_max_error): Likewise.
16803 (prev_imag_max_error): Likewise.
16804 (compare_ulp_data): Don't refer to test names in comment.
16805 (find_test_ulps): Remove function.
16806 (find_function_ulps): Likewise.
16807 (find_complex_function_ulps): Likewise.
16808 (init_max_error): Take function name as argument. Look up ulps
16809 for that function.
16810 (print_ulps): Remove function.
16811 (print_max_error): Use prev_max_error instead of calling
16812 find_function_ulps.
16813 (print_complex_max_error): Use prev_real_max_error and
16814 prev_imag_max_error instead of calling find_complex_function_ulps.
16815 (check_float_internal): Take max_ulp parameter instead of calling
16816 find_test_ulps. Don't call print_ulps.
16817 (check_float): Update call to check_float_internal.
16818 (check_complex): Update calls to check_float_internal.
16819 (START): Pass argument to init_max_error.
16820 * math/gen-libm-test.pl (%results): Don't include "kind"
16821 information.
16822 (parse_ulps): Don't handle ulps of individual tests.
16823 (print_ulps_file): Likewise.
16824 (output_ulps): Likewise.
16825 * math/README.libm-test: Update.
16826 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16827 individual tests.
16828 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16829 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16830 * sysdeps/arm/libm-test-ulps: Likewise.
16831 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16832 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16833 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16834 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16835 * sysdeps/microblaze/libm-test-ulps: Likewise.
16836 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16837 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16838 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16839 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16840 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16841 * sysdeps/sh/libm-test-ulps: Likewise.
16842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16843 * sysdeps/tile/libm-test-ulps: Likewise.
16844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16845
45adef3c
JM
168462014-03-04 Joseph Myers <joseph@codesourcery.com>
16847
16848 * math/libm-test.inc (print_complex_max_error): Check separately
16849 whether real and imaginary errors are within allowed range and
16850 pass 0 to print_complex_function_ulps instead of value within
16851 allowed range.
16852
000232b9
SP
168532014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16854
d4b17258
SP
16855 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16856 formatting.
16857 (get_handles_fopen): Likewise.
16858 (do_write_test): Likewise.
16859
091eff71
SP
16860 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16861
fa3cd248
SP
16862 * libio/fileops.c (do_ftell): Use cached offset when
16863 available.
16864 * libio/iofwide.c (do_ftell_wide): Likewise.
16865 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16866 _IO_file_attach.
16867 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16868
000232b9
SP
16869 [BZ #16532]
16870 * libio/libioP.h (get_file_offset): New function.
16871 * libio/fileops.c (get_file_offset): Likewise.
16872 (do_ftell): Likewise.
16873 (_IO_new_file_seekoff): Split out ftell logic.
16874 * libio/wfileops.c (do_ftell_wide): Likewise.
16875 (_IO_wfile_seekoff): Split out ftell logic.
16876 * libio/tst-ftell-active-handler.c: New test case.
16877 * libio/Makefile (tests): Add it.
16878
116f4d1a
RM
168792014-03-03 Roland McGrath <roland@hack.frob.com>
16880
16881 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16882 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16883
532a6035
SP
168842014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16885
16886 [BZ #16639]
16887 * nscd/connections.c (nscd_init): Call do_exit.
16888 (start_threads): Call do_exit and notify_parent.
16889 (begin_drop_privileges): Call do_exit.
16890 (finish_drop_privileges): Likewise.
16891 * nscd/selinux.c (preserve_capabilities): Likewise.
16892 (install_real_capabilities): Likewise.
16893 (nscd_selinux_enabled): Likewise.
16894 (avc_create_thread): Likewise.
16895 (avc_alloc_lock): Likewise.
16896 (nscd_avc_init): Likewise.
16897 * nscd/nscd.c (parent_fd): New static variable.
16898 (main): Create a pipe between parent and child processes.
16899 Skip closing parent_fd.
16900 (monitor_child): New function.
16901 (do_exit): Likewise.
16902 (notify_parent): Likewise.
16903 * nscd/nscd.h (notify_parent): Likewise.
16904 (do_exit): Likewise.
16905
d6285c9f
CD
169062014-03-03 Carlos O'Donell <carlos@redhat.com>
16907
16908 * malloc/malloc.c (__libc_calloc): Revert last change.
16909
2b85d2a0
AZ
169102014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16911
16912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16913
c7debbdf
RS
169142014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16915
16916 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16918 implementation.
16919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16920 (__libc_ifunc_impl_list): Likewise.
16921 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16922 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16923 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16924 * string/strrchr.c: Define STRRCHR.
16925
235eed86
OB
169262014-02-28 Ondřej Bílka <neleai@seznam.cz>
16927
16928 * benchtest/bench-strtok.c (simple_strtok): Delete.
16929 (strtok_string): Use as benchmark.
16930 * string/strtok (STRTOK): New macro.
16931
8e25d1e7
CD
169322014-02-28 Carlos O'Donell <carlos@redhat.com>
16933
ef563f92
CD
16934 * manual/threads.texi: Add header and standard comments to all
16935 functions.
16936
8e25d1e7
CD
16937 * elf/dl-lookup.c (check_match): New function.
16938 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16939 (do_lookup_x): Remove nested function check_match. Use non-nested
16940 function check_match.
16941
ff71cc37
RM
169422014-02-28 Roland McGrath <roland@hack.frob.com>
16943
f08e9a26
RM
16944 * csu/Makefile (generated, before-compile): Use += rather than =.
16945 * catgets/Makefile (generated, generated-dirs): Likewise.
16946 * debug/Makefile (generated): Likewise.
16947 * dlfcn/Makefile (generated): Likewise.
16948 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16949 * iconvdata/Makefile (before-compile, generated): Likewise.
16950 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16951 * libio/Makefile (generated): Likewise.
16952 * malloc/Makefile (generated): Likewise.
16953 * manual/Makefile (generated, generated-dirs): Likewise.
16954 * misc/Makefile (generated): Likewise.
16955 * posix/Makefile (generated): Likewise.
16956 * resolv/Makefile (generated): Likewise.
16957 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16958 * timezone/Makefile (generated, generated-dirs): Likewise.
16959
ff71cc37
RM
16960 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16961
fe13a20c
AZ
169622014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16963
57f41c40
AS
16964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16965 power8 implementation.
16966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16967 file: POWER8 llround ifunc implementation.
16968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16969 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16970 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16971 POWER8 llround implementation.
16972
57f41c40
AS
16973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16974 power8 implementation.
16975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16976 file: POWER8 llrint ifunc implementation.
16977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16978 Add POWER8 implementation.
1ad8950a
AZ
16979 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16980 POWER8 llrint implementation.
16981
57f41c40
AS
16982 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16983 power8 implementation.
16984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16985 file: POWER8 finite ifunc implementation.
16986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16987 Add POWER8 implementation.
cac626d6
AZ
16988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16989 Likewise.
16990 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16991 POWER8 finite implementation.
16992 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16993
57f41c40
AS
16994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16995 power8 implementation.
16996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16997 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16999 POWER8 implementation.
17000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17001 Likewise.
57f41c40
AS
17002 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17003 isinf implementation.
4393fc11
AZ
17004 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17005
57f41c40
AS
17006 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17007 (INIT_ARCH): Add hwcap2 initialization.
17008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17009 power8 implementation.
17010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17011 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17013 POWER8 implementation.
17014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17015 Likewise.
57f41c40
AS
17016 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17017 isnan implementation.
487972ae
AZ
17018 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17019
7d92b787
JY
170202014-02-27 Joey Ye <joey.ye@arm.com>
17021
17022 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17023 (_FP_NANFRAC_Q): Set to zero.
17024
1cadc858
SP
170252014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17026
17027 [BZ #16623]
17028 * math/auto-libm-test-in: New test inputs.
17029 * math/auto-libm-test-out: Regenerate.
17030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17031 and DA.
17032 (__cos): Likewise.
17033 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17034
f8c17e79
JM
170352014-02-27 Joseph Myers <joseph@codesourcery.com>
17036
17037 * scripts/evaluate-test.sh: Take new argument indicating whether
17038 failure is expected.
17039 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17040 indicating whether failure is expected.
17041 * conform/Makefile (test-xfail-run-conformtest): New variable.
17042 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17043 level.
17044 * posix/Makefile (test-xfail-annexc): New variable.
17045 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17046
a5f891ac
JM
170472014-02-26 Joseph Myers <joseph@codesourcery.com>
17048
17049 * argp/Makefile: Include Makeconfig immediately after defining
17050 subdir.
17051 * assert/Makefile: Likewise.
17052 * benchtests/Makefile: Likewise.
17053 * catgets/Makefile: Likewise.
17054 * conform/Makefile: Likewise.
17055 * crypt/Makefile: Likewise.
17056 * csu/Makefile: Likewise.
17057 (all): Remove target.
17058 * ctype/Makefile: Include Makeconfig immediately after defining
17059 subdir.
17060 * debug/Makefile: Likewise.
17061 * dirent/Makefile: Likewise.
17062 * dlfcn/Makefile: Likewise.
17063 * gmon/Makefile: Likewise.
17064 * gnulib/Makefile: Likewise.
17065 * grp/Makefile: Likewise.
17066 * gshadow/Makefile: Likewise.
17067 * hesiod/Makefile: Likewise.
17068 * hurd/Makefile: Likewise.
17069 (all): Remove target.
17070 * iconvdata/Makefile: Include Makeconfig immediately after
17071 defining subdir.
17072 * inet/Makefile: Likewise.
17073 * intl/Makefile: Likewise.
17074 * io/Makefile: Likewise.
17075 * libio/Makefile: Likewise.
17076 (all): Remove target.
17077 * locale/Makefile: Include Makeconfig immediately after defining
17078 subdir.
17079 * login/Makefile: Likewise.
17080 * mach/Makefile: Likewise.
17081 (all): Remove target.
17082 * malloc/Makefile: Include Makeconfig immediately after defining
17083 subdir.
17084 (all): Remove target.
17085 * manual/Makefile: Include Makeconfig immediately after defining
17086 subdir.
17087 * math/Makefile: Likewise.
17088 * misc/Makefile: Likewise.
17089 * nis/Makefile: Likewise.
17090 * nss/Makefile: Likewise.
17091 * po/Makefile: Likewise.
17092 (all): Remove target.
17093 * posix/Makefile: Include Makeconfig immediately after defining
17094 subdir.
17095 * pwd/Makefile: Likewise.
17096 * resolv/Makefile: Likewise.
17097 * resource/Makefile: Likewise.
17098 * rt/Makefile: Likewise.
17099 * setjmp/Makefile: Likewise.
17100 * shadow/Makefile: Likewise.
17101 * signal/Makefile: Likewise.
17102 * socket/Makefile: Likewise.
17103 * soft-fp/Makefile: Likewise.
17104 * stdio-common/Makefile: Likewise.
17105 * stdlib/Makefile: Likewise.
17106 * streams/Makefile: Likewise.
17107 * string/Makefile: Likewise.
17108 * sunrpc/Makefile: Likewise.
17109 (all): Remove target.
17110 * sysvipc/Makefile: Include Makeconfig immediately after defining
17111 subdir.
17112 * termios/Makefile: Likewise.
17113 * time/Makefile: Likewise.
17114 * timezone/Makefile: Likewise.
17115 (all): Remove target.
17116 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17117 subdir.
17118 * wctype/Makefile: Likewise.
17119
5b456e9d
SE
171202014-02-26 Steve Ellcey <sellcey@mips.com>
17121
17122 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17123 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17124 (libc_feholdexcept_setround_mips): Ditto.
17125 (libc_feholdsetround): New.
17126 (libc_feholdsetroundf): New.
17127 (libc_feholdsetroundl): New.
17128 (libc_feupdateenv_test_mips): New.
17129 (libc_feupdateenv_test): New.
17130 (libc_feupdateenv_testf): New.
17131 (libc_feupdateenv_testl): New.
17132 (libc_feresetround): New.
17133 (libc_feresetroundf): New.
17134 (libc_feresetroundl): New.
17135 (libc_fetestexcept_mips): New.
17136 (libc_fetestexcept): New.
17137 (libc_fetestexceptf): New.
17138 (libc_fetestexceptl): New.
17139 (HAVE_RM_CTX): New.
17140 (libc_feholdexcept_setround_mips_ctx): New.
17141 (libc_feholdexcept_setround_ctx): New.
17142 (libc_feholdexcept_setroundf_ctx): New.
17143 (libc_feholdexcept_setroundl_ctx): New.
17144 (libc_fesetenv_mips_ctx): New.
17145 (libc_fesetenv_ctx): New.
17146 (libc_fesetenv_ctxf): New.
17147 (libc_fesetenv_ctxl): New.
17148 (libc_feupdateenv_mips_ctx): New.
17149 (libc_feupdateenv_ctx): New.
17150 (libc_feupdateenvf_ctx): New.
17151 (libc_feupdateenvl_ctx): New.
17152 (libc_feholdsetround_mips_ctx): New.
17153 (libc_feholdsetround_ctx): New.
17154 (libc_feholdsetroundf_ctx): New.
17155 (libc_feholdsetroundl_ctx): New.
17156 (libc_feresetround_mips_ctx): New.
17157 (libc_feresetround_ctx): New.
17158 (libc_feresetroundf_ctx): New.
17159 (libc_feresetroundl_ctx): New.
17160
085d0e35
CD
171612014-02-26 Carlos O'Donell <carlos@redhat.com>
17162
f067bf1f
CD
17163 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17164
085d0e35
CD
17165 * manual/ipc.texi: New file.
17166 * manual/Makefile (chapters): Add ipc.
17167 * manual/job.texi: Add "Inter-Process Communication" to next.
17168 * manual/process.texi: Add "Inter-Process Communication" to prev.
17169
86e58c08
AZ
171702014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17171
17172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17173
4248f0da
OB
171742014-02-26 Ondřej Bílka <neleai@seznam.cz>
17175
17176 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17177
cf822e3c
OB
17178 * manual/arith.texi: Fix spaces after sentences.
17179 * manual/charset.texi: Likewise.
17180 * manual/errno.texi: Likewise.
17181 * manual/install.texi: Likewise.
17182 * manual/llio.texi: Likewise.
17183 * manual/locale.texi: Likewise.
17184 * manual/maint.texi: Likewise.
17185 * manual/math.texi: Likewise.
17186 * manual/memory.texi: Likewise.
17187 * manual/message.texi: Likewise.
17188 * manual/probes.texi: Likewise.
17189 * manual/resource.texi: Likewise.
17190 * manual/signal.texi: Likewise.
17191 * manual/socket.texi: Likewise.
17192 * manual/stdio.texi: Likewise.
17193 * manual/string.texi: Likewise.
17194 * manual/time.texi: Likewise.
17195 * manual/users.texi: Likewise.
17196
ade40b10
CD
171972014-02-25 Carlos O'Donell <carlos@redhat.com>
17198
17199 [BZ #16632]
17200 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17201 _DEFAULT_SOURCE is defined.
17202
d0503676
CD
172032014-02-25 Ulrich Drepper <drepper@gmail.com>
17204 Carlos O'Donell <carlos@redhat.com>
17205
17206 [BZ #16613]
17207 * elf/dl-tls.c (_dl_count_modids): New function.
17208 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17209 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17210 audit library and increment generation counter.
17211 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17212 * elf/tst-audit9.c: New file.
17213 * elf/tst-auditmod9a.c: New file.
17214 * elf/tst-auditmod9b.c: New file.
17215 * elf/Makefile: Add rules to build and run tst-audit9.
17216
4cbf380c
FW
172172014-02-25 Florian Weimer <fweimer@redhat.com>
17218
17219 [BZ #15347]
17220 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17221
80a56cc3
WN
172222014-02-25 Will Newton <will.newton@linaro.org>
17223
17224 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17225 (__longjmp): Restore sp and lr before restoring callee
17226 saved registers. Add longjmp and longjmp_target
17227 SystemTap probe point.
17228 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17229 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17230 Define to zero to match jmpbuf layout.
17231 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17232 (__sigsetjmp): Save sp and lr before saving callee
17233 saved registers. Add setjmp SystemTap probe point.
17234
3ea0f74e
SL
172352014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17236
17237 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17238
b04acb26
AS
172392014-02-24 Andreas Schwab <schwab@suse.de>
17240
17241 [BZ #15804]
17242 * elf/pldd.c (wait_for_ptrace_stop): New function.
17243 (main): Call it after attaching.
17244
098ad55c
RM
172452014-02-22 Roland McGrath <roland@hack.frob.com>
17246
d4ec6ae1
RM
17247 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17248 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17249 Versions files is now verboten.
17250 * hurd/Versions (libc: GLIBC_2.0):
17251 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17252 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17253 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17254 * mach/Versions: Likewise.
17255
098ad55c
RM
17256 * csu/Versions: Remove unused %include.
17257 * resolv/Versions: Likewise.
17258
acd7f096
JM
172592014-02-21 Joseph Myers <joseph@codesourcery.com>
17260
f0881698
JM
17261 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17262 ($(objpfx)check-local-headers.out): Likewise.
17263 ($(objpfx)begin-end-check.out): Likewise.
17264 * Makerules (check-abi-%.out): Likewise.
17265 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17266 ($(objpfx)test2.cat): Likewise.
17267 ($(objpfx)de/libc.cat): Likewise.
17268 ($(objpfx)test-gencat.out): Likewise.
17269 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17270 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17271 ($(objpfx)noload-mem): Likewise.
17272 ($(objpfx)tst-pathopt.out): Likewise.
17273 ($(objpfx)tst-rtld-load-self.out): Likewise.
17274 ($(objpfx)tst-array1-cmp.out): Likewise.
17275 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17276 ($(objpfx)tst-array2-cmp.out): Likewise.
17277 ($(objpfx)tst-array3-cmp.out): Likewise.
17278 ($(objpfx)tst-array4-cmp.out): Likewise.
17279 ($(objpfx)tst-array5-cmp.out): Likewise.
17280 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17281 ($(objpfx)check-textrel.out): Likewise.
17282 ($(objpfx)check-execstack.out): Likewise.
17283 ($(objpfx)check-localplt.out): Likewise.
17284 ($(objpfx)order2-cmp.out): Likewise.
17285 ($(objpfx)tst-leaks1-mem): Likewise.
17286 ($(objpfx)tst-leaks1-static-mem): Likewise.
17287 ($(objpfx)tst-initorder-cmp.out): Likewise.
17288 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17289 ($(objpfx)tst-unused-dep.out): Likewise.
17290 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17291 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17292 * iconv/Makefile (test-iconvconfig): Likewise.
17293 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17294 ($(objpfx)iconv-test.out): Likewise.
17295 ($(objpfx)tst-tables.out): Likewise.
17296 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17297 ($(objpfx)tst-gettext.out): Likewise.
17298 ($(objpfx)tst-translit.out): Likewise.
17299 ($(objpfx)tst-gettext2.out): Likewise.
17300 ($(objpfx)tst-gettext4.out): Likewise.
17301 ($(objpfx)tst-gettext6.out): Likewise.
17302 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17303 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17304 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17305 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17306 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17307 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17308 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17309 ($(objpfx)wordexp-tst.out): Likewise.
17310 ($(objpfx)annexc.out): Likewise.
17311 ($(objpfx)tst-fnmatch-mem): Likewise.
17312 ($(objpfx)bug-regex2-mem): Likewise.
17313 ($(objpfx)bug-regex14-mem): Likewise.
17314 ($(objpfx)bug-regex21-mem): Likewise.
17315 ($(objpfx)bug-regex31-mem): Likewise.
17316 ($(objpfx)tst-vfork3-mem): Likewise.
17317 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17318 ($(objpfx)tst-pcre-mem): Likewise.
17319 ($(objpfx)tst-boost-mem): Likewise.
17320 ($(objpfx)tst-getconf.out): Likewise.
17321 ($(objpfx)bug-ga2-mem): Likewise.
17322 ($(objpfx)bug-glob2-mem): Likewise.
17323 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17324 ($(objpfx)mtrace-tst-leaks2): Likewise.
17325 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17326 ($(objpfx)tst-printf.out): Likewise.
17327 ($(objpfx)tst-setvbuf1.out): Likewise.
17328 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17329 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17330 ($(objpfx)tst-fmtmsg.out): Likewise.
17331 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17332 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17333
acd7f096
JM
17334 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17335 * bits/sigaction.h [__USE_MISC]: Likewise.
17336 * bits/waitstatus.h: Update #endif comments.
17337 * ctype/ctype.h: Likewise.
17338 * dirent/dirent.h: Likewise.
17339 [__USE_MISC]: Remove redundant conditionals.
17340 * grp/grp.h: Update #endif comments.
17341 [__USE_GNU]: Remove redundant conditionals.
17342 [__USE_MISC]: Likewise.
17343 * inet/netinet/in.h [__USE_GNU]: Likewise.
17344 * io/sys/stat.h [__USE_MISC]: Likewise.
17345 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17346 * libio/bits/stdio.h: Update #endif comments.
17347 [__USE_MISC]: Remove redundant conditionals.
17348 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17349 * libio/stdio.h: Update #endif comments.
17350 [__USE_MISC]: Remove redundant conditionals.
17351 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17352 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17353 * math/math.h: Update #else and #endif comments.
17354 [__USE_MISC]: Remove redundant conditionals.
17355 * misc/sys/uio.h: Update #endif comments.
17356 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17357 * posix/glob.h [__USE_MISC]: Likewise.
17358 * posix/sys/types.h: Update #endif comments.
17359 [__USE_MISC]: Remove redundant conditionals.
17360 * posix/sys/wait.h: Update #endif comments.
17361 [__USE_MISC]: Remove redundant conditionals.
17362 * posix/unistd.h: Update #endif comments.
17363 [__USE_MISC]: Remove redundant conditionals.
17364 * pwd/pwd.h [__USE_GNU]: Likewise.
17365 [__USE_MISC]: Likewise.
17366 * resolv/netdb.h [__USE_GNU]: Likewise.
17367 * signal/signal.h: Update #endif comments.
17368 [__USE_MISC]: Remove redundant conditionals.
17369 * stdlib/stdlib.h: Update #else and #endif comments.
17370 [__USE_MISC]: Remove redundant conditionals.
17371 [__USE_GNU]: Likewise.
17372 * string/bits/string2.h [__USE_MISC]: Likewise.
17373 * string/string.h: Update #endif comments.
17374 [__USE_MISC]: Remove redundant conditionals.
17375 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17376 Likewise.
17377 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17378 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17379 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17380 Likewise.
17381 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17382 Likewise.
17383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17384 comments.
17385 [__USE_MISC]: Remove redundant conditionals.
17386 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17387 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17388 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17389 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17390 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17391 Likewise.
17392 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17393 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17394 Likewise.
17395 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17396 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17397 Likewise.
17398 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17399 Likewise.
17400 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17401 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17402 Likewise.
17403 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17404 Likewise.
17405 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17406 * sysdeps/x86/bits/string.h: Update #endif comments.
17407 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17408 conditionals.
17409 * time/sys/time.h: Update #endif comments.
17410 * time/time.h: Likewise.
17411 [__USE_MISC]: Remove redundant conditionals.
17412
a5d82e4e
YG
174132014-02-21 Yury Gribov <y.gribov@samsung.com>
17414
17415 [BZ #16600]
17416 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17417
9a80491d
AS
174182014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17419
17420 * Versions.def (librt): Add GLIBC_2.17.
17421
105fa381
AC
174222014-02-21 Adam Conrad <adconrad@0c3.net>
17423
17424 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17425 synonym for _SYS_AUXV_H to allow direct inclusion.
17426 * sysdeps/sparc/bits/hwcap.h: Likewise.
17427 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17428 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17429 * sysdeps/sparc/sysdep.h: Likewise.
17430
b8cd1c4e
SP
174312014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17432
17433 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17434
bd939d23
RS
174352014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17436
17437 * benchtests/bench-strrchr.c: Print length instead of position.
17438
5d7b57ca
JM
174392014-02-20 Joseph Myers <joseph@codesourcery.com>
17440
bc688c10
JM
17441 [BZ #16611]
17442 * sysdeps/unix/sysv/linux/kernel-features.h
17443 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17444 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17445 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17446 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17447 Likewise.
17448 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17449 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17450 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17451 (__ASSUME_SENDMMSG): Define instead of using previous
17452 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17453 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17454 (__ASSUME_SENDMMSG_SYSCALL): Define.
17455 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17456 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17457 Likewise.
17458 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17459 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17460 Likewise.
17461 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17462 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17463 Likewise.
17464 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17465 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17466 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17467 [__ASSUME_SENDMMSG]: Change conditionals to
17468 [__ASSUME_SENDMMSG_SOCKETCALL].
17469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17470 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17471 Define.
17472 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17473 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17474 Likewise.
17475 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17476 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17477 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17478 [!__ASSUME_SENDMMSG]: Change conditional to
17479 [!__ASSUME_SENDMMSG_SOCKETCALL].
17480 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17481 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17482 Define.
17483
0e31b18c
JM
17484 [BZ #16610]
17485 * sysdeps/unix/sysv/linux/kernel-features.h
17486 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17487 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17488 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17489 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17490 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17491 [__i386__ || __sparc__]
17492 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17493 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17494 (__ASSUME_RECVMMSG): Define instead of using previous
17495 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17496 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17497 (__ASSUME_RECVMMSG_SYSCALL): Define.
17498 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17499 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17500 Likewise.
17501 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17503 Likewise.
17504 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17505 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17506 Likewise.
17507 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17508 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17509 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17510 [__ASSUME_RECVMMSG]: Change condition to
17511 [__ASSUME_RECVMMSG_SOCKETCALL].
17512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17513 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17514 Define.
17515 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17516 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17517 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17518 Likewise.
17519 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17520 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17521 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17522 [!__ASSUME_RECVMMSG]: Change condition to
17523 [!__ASSUME_RECVMMSG_SOCKETCALL].
17524 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17525 (__ASSUME_RECVMMSG_SYSCALL): Define.
17526
dd481ccf
JM
17527 [BZ #16609]
17528 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17529 __powerpc__ || __s390__ || __sh__ || __sparc__]
17530 (__ASSUME_SOCKETCALL): Define.
17531 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17532 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17533 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17534 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17535 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17536 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17537 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17538 (__ASSUME_ACCEPT4): Define instead of using previous
17539 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17540 __powerpc__ || __sparc__ || __s390__)] condition.
17541 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17542 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17543 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17544 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17545 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17546 [!__ASSUME_ACCEPT4]: Change condition to
17547 [!__ASSUME_ACCEPT4_SOCKETCALL].
17548 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17549 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17550 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17551 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17552 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17553 __ASSUME_ACCEPT4_SYSCALL.
17554 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17555 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17556 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17557 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17558 __ASSUME_ACCEPT4_SYSCALL.
17559 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17560 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17561 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17562 [__ASSUME_ACCEPT4]: Change condition to
17563 [__ASSUME_ACCEPT4_SOCKETCALL].
17564 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17565 (__ASSUME_SOCKETCALL): Define.
17566 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17568 (__ASSUME_SOCKETCALL): Define.
17569 (__ASSUME_ACCEPT4): Remove.
17570 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17571 Define.
17572 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17573 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17574 Likewise.
17575 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17576 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17577
5d7b57ca
JM
17578 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17579 macro.
17580 (HWCAP_ARM_LPAE): Likewise.
17581 (HWCAP_ARM_EVTSTRM): Likewise.
17582 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17583 Add vpfd32, lpae and evtstrm.
17584 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17585 Increase to 22.
17586
63689d61
JM
175872014-02-19 Joseph Myers <joseph@codesourcery.com>
17588
17589 * math/auto-libm-test-in: Add tests of clog10.
17590 * math/auto-libm-test-out: Regenerated.
17591 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17592 * sysdeps/i386/fpu/libm-test-ulps: Update.
17593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17594
ab09bf61
AS
175952014-02-18 Andreas Schwab <schwab@suse.de>
17596
17597 [BZ #16574]
17598 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17599 Store non-zero if the second buffer was newly allocated.
17600 (send_dg): Likewise.
17601 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17602 to send_vc and send_dg.
17603 (res_nsend): Pass NULL for ansp2_malloced.
17604 * resolv/res_query.c (__libc_res_nquery): Add parameter
17605 answerp2_malloced and pass it down to __libc_res_nsend.
17606 (res_nquery): Pass additional NULL to __libc_res_nquery.
17607 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17608 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17609 second answer buffer if answerp2_malloced was set.
17610 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17611 (__libc_res_nquerydomain): Add parameter
17612 answerp2_malloced and pass it down to __libc_res_nquery.
17613 (res_nquerydomain): Pass additional NULL to
17614 __libc_res_nquerydomain.
17615 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17616 additional NULL to __libc_res_nsend and __libc_res_nquery.
17617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17618 additional NULL to __libc_res_nsearch.
17619 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17620 parameter of __libc_res_nsearch to check for separately allocated
17621 second buffer.
17622 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17623 __libc_res_nquery.
17624 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17625 additional NULL to __libc_res_nquery.
17626 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17627 __libc_res_nsearch.
17628 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17629 * include/resolv.h: Update prototypes of __libc_res_nquery,
17630 __libc_res_nsearch, __libc_res_nsend.
17631
a4fb7861
JM
176322014-02-18 Joseph Myers <joseph@codesourcery.com>
17633
c6af2d89
JM
17634 * math/auto-libm-test-in: Add tests of fma.
17635 * math/auto-libm-test-out: Regenerated.
17636 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17637 (fma_towardzero_test_data): Likewise.
17638 (fma_downward_test_data): Likewise.
17639 (fma_upward_test_data): Likewise.
17640 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17641 mpc_mode.
17642 (rounding_modes): Add values for new field.
17643 (func_calc_method): Add value mpfr_fff_f.
17644 (func_calc_desc): Add mpfr_fff_f union field.
17645 (test_function): Add field exact_args.
17646 (FUNC): Add macro argument EXACT_ARGS.
17647 (FUNC_mpfr_f_f): Update call to FUNC.
17648 (FUNC_mpfr_f_f): Likewise.
17649 (FUNC_mpfr_ff_f): Likewise.
17650 (FUNC_mpfr_if_f): Likewise.
17651 (FUNC_mpc_c_f): Likewise.
17652 (FUNC_mpc_c_c): Likewise.
17653 (test_functions): Add fma. Update calls to FUNC.
17654 (handle_input_arg): Add argument exact_args.
17655 (add_test): Update call to handle_input_arg.
17656 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17657 (output_for_one_input_case): Update call to calc_generic_results.
17658 Recalculate exact zero results in each rounding mode.
17659
a4fb7861
JM
17660 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17661 non-negative before setting low bit.
17662 * math/auto-libm-test-in: Mark one asin test possibly having
17663 spurious underflow.
17664 * math/auto-libm-test-out: Regenerated.
17665 * sysdeps/i386/fpu/libm-test-ulps: Update.
17666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17667
ef114eaf
DH
176682014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17669
2b7f4f2c
SP
17670 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17671 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17672 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17673 * README: Add missing listing for microblaze*-*-linux-gnu.
17674
8125aedc
AM
176752014-02-16 Ondřej Bílka <neleai@seznam.cz>
17676
17677 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17678 duplicate code
17679
c70a4b1d
MF
176802014-02-16 Mike Frysinger <vapier@gentoo.org>
17681
17682 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17683 * sysdeps/unix/sysv/linux/ia64: Move directory from
17684 ports/sysdeps/unix/sysv/linux/ia64.
17685 * README: Update listing for ia64-*-linux-gnu.
17686
591aeaf7
TD
176872014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17688 Joseph Myers <joseph@codesourcery.com>
17689
17690 * Makeconfig (test-name): New variable.
17691 (evaluate-test): Likewise.
17692 * Makerules (do-test-clean): Remove .test-result files.
17693 (common-mostlyclean): Likewise.
17694 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17695 * scripts/evaluate-test.sh: New file.
17696
6e89caf1
JM
176972014-02-14 Joseph Myers <joseph@codesourcery.com>
17698
7f98f180
JM
17699 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17700 separate $(objpfx)tst-fopenloc-cmp.out and
17701 $(objpfx)tst-fopenloc-mem.out targets.
17702 (tests): Update dependencies.
17703 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17704 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17705 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17706 (tst-rxspencer-no-utf8-ARGS): New variable.
17707 (tst-rxspencer-no-utf8-ENV): Likewise.
17708 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17709 instead of $(objpfx)tst-rxspencer-mem.
17710 ($(objpfx)tst-rxspencer-mem): Change target to
17711 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17712 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17713 * posix/tst-rxspencer-no-utf8.c: New file.
17714
6e89caf1
JM
17715 * elf/Makefile ($(objpfx)order.out): Remove rule.
17716 [$(run-built-tests) = yes] (tests): Depend on
17717 $(objpfx)order-cmp.out.
17718 ($(objpfx)order-cmp.out): New rule.
17719 [$(run-built-tests) = yes] (tests): Depend on
17720 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17721 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17722 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17723 $(objpfx)tst-array5-static-cmp.out.
17724 ($(objpfx)tst-array1.out): Remove rule.
17725 ($(objpfx)tst-array1-cmp.out): New rule.
17726 ($(objpfx)tst-array1-static.out): Remove rule.
17727 ($(objpfx)tst-array1-static-cmp.out): New rule.
17728 ($(objpfx)tst-array2.out): Remove rule.
17729 ($(objpfx)tst-array2-cmp.out): New rule.
17730 ($(objpfx)tst-array3.out): Remove rule.
17731 ($(objpfx)tst-array3-cmp.out): New rule.
17732 ($(objpfx)tst-array4.out): Remove rule.
17733 ($(objpfx)tst-array4-cmp.out): New rule.
17734 ($(objpfx)tst-array5.out): Remove rule.
17735 ($(objpfx)tst-array5-cmp.out): New rule.
17736 ($(objpfx)tst-array5-static.out): Remove rule.
17737 ($(objpfx)tst-array5-static-cmp.out): New rule.
17738 [$(run-built-tests) = yes] (tests): Depend on
17739 $(objpfx)order2-cmp.out.
17740 ($(objpfx)order2.out): Remove rule.
17741 ($(objpfx)order2-cmp.out): New rule.
17742 ($(objpfx)tst-initorder.out): Remove rule.
17743 [$(run-built-tests) = yes] (tests): Depend on
17744 $(objpfx)tst-initorder-cmp.out.
17745 ($(objpfx)tst-initorder-cmp.out): New rule.
17746 ($(objpfx)tst-initorder2.out): Remove rule.
17747 [$(run-built-tests) = yes] (tests): Depend on
17748 $(objpfx)tst-initorder2-cmp.out.
17749 ($(objpfx)tst-initorder2-cmp.out): New rule.
17750 [$(run-built-tests) = yes] (tests): Depend on
17751 $(objpfx)tst-unused-dep-cmp.out.
17752 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17753 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17754 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17755 on $(objpfx)tst-setvbuf1-cmp.out.
17756 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17757 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17758 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17759 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17760 ($(objpfx)tst-svc.out): Remove rule.
17761 ($(objpfx)tst-svc-cmp.out): New rule.
17762
ed9a38e2
JM
177632014-02-13 Joseph Myers <joseph@codesourcery.com>
17764
17765 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17766 * ctype/ctype.h [__USE_MISC]: Likewise.
17767 * dirent/dirent.h [__USE_MISC]: Likewise.
17768 * grp/grp.h [__USE_MISC]: Likewise.
17769 * io/fcntl.h [__USE_MISC]: Likewise.
17770 * io/sys/stat.h [__USE_MISC]: Likewise.
17771 * libio/stdio.h [__USE_MISC]: Likewise.
17772 * posix/unistd.h [__USE_MISC]: Likewise.
17773 * pwd/pwd.h [__USE_MISC]: Likewise.
17774 * stdlib.h [__USE_MISC]: Likewise.
17775 * string/bits/string2.h [__USE_MISC]: Likewise.
17776 * string/string.h [__USE_MISC]: Likewise.
17777 * time/time.h [__USE_MISC]: Likewise.
17778
d6680619
AS
177792014-02-13 Andreas Schwab <schwab@suse.de>
17780
17781 [BZ #16574]
17782 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17783 second answer buffer if it was separately allocated.
17784
ace614b8
JM
177852014-02-12 Joseph Myers <joseph@codesourcery.com>
17786
743151ae
JM
17787 * sysdeps/mips/math-tests.h: Include <features.h>.
17788 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17789 (ROUNDING_TESTS_long_double): Do not define.
17790 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17791 (EXCEPTION_TESTS_long_double): Likewise.
17792 * sysdeps/mips/mips64/libm-test-ulps: Update.
17793
498afc54
JM
17794 * include/features.h (__USE_BSD): Remove macro definitions.
17795 (__USE_SVID): Likewise.
17796 (_BSD_SOURCE): Likewise.
17797 (_SVID_SOURCE): Likewise.
17798 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17799 from definition of _DEFAULT_SOURCE.
17800 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17801 [_DEFAULT_SOURCE].
17802 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17803 * bits/mman.h [__USE_BSD]: Likewise.
17804 * bits/termios.h [__USE_BSD]: Likewise.
17805 * bits/waitstatus.h [__USE_BSD]: Likewise.
17806 * ctype/ctype.h [__USE_SVID]: Likewise.
17807 * dirent/dirent.h [__USE_BSD]: Likewise.
17808 * grp/grp.h [__USE_SVID]: Likewise.
17809 [__USE_BSD]: Likewise.
17810 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17811 * io/fcntl.h [__USE_BSD]: Likewise.
17812 * io/ftw.h [__USE_BSD]: Likewise.
17813 * io/sys/stat.h [__USE_BSD]: Likewise.
17814 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17815 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17816 * libio/stdio.h [__USE_SVID]: Likewise.
17817 [__USE_BSD]: Likewise.
17818 * math/math.h [__USE_SVID]: Likewise.
17819 [__USE_BSD]: Likewise.
17820 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17821 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17822 * misc/search.h [__USE_SVID]: Likewise.
17823 * misc/sys/mman.h [__USE_BSD]: Likewise.
17824 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17825 * misc/sys/uio.h [__USE_BSD]: Likewise.
17826 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17827 * posix/glob.h [__USE_BSD]: Likewise.
17828 * posix/regex.h [__USE_BSD]: Likewise.
17829 * posix/sys/types.h [__USE_BSD]: Likewise.
17830 [__USE_SVID]: Likewise.
17831 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17832 * posix/sys/wait.h [__USE_BSD]: Likewise.
17833 [__USE_SVID]: Likewise.
17834 * posix/unistd.h [__USE_BSD]: Likewise.
17835 [__USE_SVID]: Likewise.
17836 * pwd/pwd.h [__USE_SVID]: Likewise.
17837 * resolv/netdb.h [__USE_BSD]: Likewise.
17838 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17839 * signal/signal.h [__USE_BSD]: Likewise.
17840 [__USE_SVID]: Likewise.
17841 * socket/sys/socket.h [__USE_BSD]: Likewise.
17842 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17843 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17844 [__USE_SVID]: Likewise.
17845 * string/bits/string2.h [__USE_BSD]: Likewise.
17846 [__USE_SVID]: Likewise.
17847 * string/bits/string3.h [__USE_BSD]: Likewise.
17848 * string/endian.h [__USE_BSD]: Likewise.
17849 * string/string.h [__USE_SVID]: Likewise.
17850 [__USE_BSD]: Likewise.
17851 * string/strings.h [__USE_BSD]: Likewise.
17852 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17853 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17854 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17855 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17856 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17857 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17858 Likewise.
17859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17860 Likewise.
17861 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17862 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17863 Likewise.
17864 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17865 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17866 Likewise.
17867 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17868 Likewise.
17869 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17870 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17871 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17872 Likewise.
17873 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17874 Likewise.
17875 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17876 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17877 * termios/termios.h [__USE_BSD]: Likewise.
17878 * time/sys/time.h [__USE_BSD]: Likewise.
17879 * time/time.h [__USE_BSD]: Likewise.
17880 [__USE_SVID]: Likewise.
17881
dd7b064c
JM
17882 * Makefile (subdir_targets): Remove subdir_lint.out.
17883
a2c4c199
JM
17884 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17885 (do-tst-printf): Likewise.
17886 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17887 $(objpfx)tst-printf.out.
17888
8756f740
JM
17889 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17890
1b6dd3f1
JM
17891 * Makerules (check-abi-%): Change target to
17892 $(objpfx)check-abi-%.out.
17893 (check-abi target): Update dependencies.
17894 (check-abi-pattern variable): Redirect output of diff to $@.
17895 (check-abi variable): Likewise.
17896 * elf/Makefile (check-abi): Update dependencies.
17897
ace614b8
JM
17898 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17899 unused.
17900 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17901 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17902 subnormal range.
17903 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17904 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17905 value has largest subnormal exponent.
17906 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17907 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17908 * sysdeps/aarch64/soft-fp/sfp-machine.h
17909 (_FP_TININESS_AFTER_ROUNDING): New macro.
17910 * sysdeps/alpha/soft-fp/sfp-machine.h
17911 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17912 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17913 Likewise.
17914 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17915 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17916 * sysdeps/mips/soft-fp/sfp-machine.h
17917 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17918 * sysdeps/powerpc/soft-fp/sfp-machine.h
17919 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17920 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17921 Likewise.
17922 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17923 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17924 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17925 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17926 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17927 Likewise.
17928
fbfdf9cb
DAS
179292014-02-12 Dylan Alex Simon <dylan@dylex.net>
17930
17931 [BZ #16545]
17932 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17933 model 1.
17934
68b7efaa
RH
179352014-02-12 Richard Henderson <rth@redhat.com>
17936
c70a4b1d 17937 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17938 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17939 * sysdeps/unix/sysv/linux/alpha: Move directory from
17940 ports/sysdeps/unix/sysv/linux/alpha.
17941 * README: Update listing for alpha-*-linux-gnu.
17942
cb4a2928
JM
179432014-02-11 Joseph Myers <joseph@codesourcery.com>
17944
c941736c
JM
17945 * include/features.h: Update comment documenting feature test
17946 macros.
17947 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17948 _DEFAULT_SOURCE.
17949 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17950 (_SVID_SOURCE): Likewise.
17951 (_DEFAULT_SOURCE): Update description of default features.
17952 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17953 with _GNU_SOURCE.
17954 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17955 (S_ISVTX): Likewise.
17956 * manual/math.texi (Mathematical Constants): Likewise.
17957 * manual/signal.texi (Interrupted Primitives): Likewise.
17958 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17959 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17960 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17961 Don't refer to _SVID_SOURCE in warning text.
17962
e8d8d7ec
JM
17963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17964
cb4a2928
JM
17965 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17966 already defined.
17967 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17968 * sysdeps/mips/dl-lookup.c: Remove.
17969 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17970
7e6424e3
AK
179712014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17972
17973 [BZ #16447]
17974 * math/auto-libm-test-in: Add testcase for expl.
17975 * math/auto-libm-test-out: Regenerate.
17976 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17977 calculation of unsafe.
17978 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17979
75eff3fe
MS
179802014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17981
17982 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17983 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17984 ports/sysdeps/unix/sysv/linux/aarch64.
17985 * README: Update listing for aarch64*-*-linux-gnu.
17986
d35f1e80
WN
179872014-02-11 Will Newton <will.newton@linaro.org>
17988
17989 * manual/probes.texi (Mathematical Function Probes): Use
17990 "triggered" instead of "hit".
17991
7b3436d4
WN
17992 * manual/probes.texi (Internal Probes): Add documentation
17993 of setjmp, longjmp and longjmp_target probes.
17994
b4f12ca3
WN
17995 * include/stap-probe.h: Add comment about probe argument
17996 format.
17997
c13a72b7
WN
17998 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17999 definition. (tr_where, tr_freehook, tr_mallochook,
18000 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18001
195b8165
DM
180022014-02-11 David S. Miller <davem@davemloft.net>
18003
18004 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18005 processing int_tests.
18006
2ad7600b
JM
180072014-02-10 Joseph Myers <joseph@codesourcery.com>
18008
18009 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18010 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18011 * sysdeps/unix/sysv/linux/mips: Move directory from
18012 ports/sysdeps/unix/sysv/linux/mips.
18013 * README: Update listing for mips-*-linux-gnu and
18014 mips64-*-linux-gnu.
18015
73588a72
AS
180162014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18017
18018 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18019 * sysdeps/unix/sysv/linux/m68k: Move directory from
18020 ports/sysdeps/unix/sysv/linux/m68k.
18021 * README: Update listing for m68k-*-linux-gnu.
18022
4372980f
CM
180232014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18024
18025 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18026 * sysdeps/unix/sysv/linux/generic: Move directory from
18027 ports/sysdeps/unix/sysv/linux/generic.
18028 * sysdeps/unix/sysv/linux/tile: Move directory from
18029 ports/sysdeps/unix/sysv/linux/tile.
18030 * README: Update listing for tile*-*-linux-gnu.
18031
a1ffb40e
OB
180322014-02-10 Ondřej Bílka <neleai@seznam.cz>
18033
57f41c40
AS
18034 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18035 __builtin_expect.
a1ffb40e
OB
18036 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18037 * catgets/open_catalog.c (__open_catalog): Likewise.
18038 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18039 * debug/confstr_chk.c: Likewise.
18040 * debug/fread_chk.c (__fread_chk): Likewise.
18041 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18042 * debug/getgroups_chk.c: Likewise.
18043 * debug/mbsnrtowcs_chk.c: Likewise.
18044 * debug/mbsrtowcs_chk.c: Likewise.
18045 * debug/mbstowcs_chk.c: Likewise.
18046 * debug/memcpy_chk.c: Likewise.
18047 * debug/memmove_chk.c: Likewise.
18048 * debug/mempcpy_chk.c: Likewise.
18049 * debug/memset_chk.c: Likewise.
18050 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18051 * debug/strcat_chk.c (__strcat_chk): Likewise.
18052 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18053 * debug/strncat_chk.c (__strncat_chk): Likewise.
18054 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18055 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18056 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18057 * debug/wcpncpy_chk.c: Likewise.
18058 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18059 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18060 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18061 * debug/wcsncpy_chk.c: Likewise.
18062 * debug/wcsnrtombs_chk.c: Likewise.
18063 * debug/wcsrtombs_chk.c: Likewise.
18064 * debug/wcstombs_chk.c: Likewise.
18065 * debug/wmemcpy_chk.c: Likewise.
18066 * debug/wmemmove_chk.c: Likewise.
18067 * debug/wmempcpy_chk.c: Likewise.
18068 * debug/wmemset_chk.c: Likewise.
18069 * dirent/scandirat.c (SCANDIRAT): Likewise.
18070 * dlfcn/dladdr1.c (dladdr1): Likewise.
18071 * dlfcn/dladdr.c (dladdr): Likewise.
18072 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18073 * dlfcn/dlerror.c (__dlerror): Likewise.
18074 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18075 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18076 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18077 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18078 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18079 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18080 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18081 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18082 Likewise.
18083 * elf/dl-conflict.c: Likewise.
18084 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18085 * elf/dl-dst.h: Likewise.
18086 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18087 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18088 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18089 * elf/dl-init.c (call_init, _dl_init): Likewise.
18090 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18091 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18092 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18093 Likewise.
a1ffb40e
OB
18094 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18095 Likewise.
18096 * elf/dl-minimal.c (__libc_memalign): Likewise.
18097 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18098 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18099 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18100 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18101 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18102 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18103 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18104 * elf/dl-writev.h (_dl_writev): Likewise.
18105 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18106 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18107 (dl_main): Likewise.
a1ffb40e
OB
18108 * elf/setup-vdso.h (setup_vdso): Likewise.
18109 * grp/compat-initgroups.c (compat_call): Likewise.
18110 * grp/fgetgrent.c (fgetgrent): Likewise.
18111 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18112 * grp/putgrent.c (putgrent): Likewise.
18113 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18114 Likewise.
18115 * hurd/hurdinit.c: Likewise.
18116 * iconvdata/8bit-gap.c (struct): Likewise.
18117 * iconvdata/ansi_x3.110.c : Likewise.
18118 * iconvdata/big5.c : Likewise.
18119 * iconvdata/big5hkscs.c : Likewise.
18120 * iconvdata/cp1255.c: Likewise.
18121 * iconvdata/cp1258.c : Likewise.
18122 * iconvdata/cp932.c : Likewise.
18123 * iconvdata/euc-cn.c: Likewise.
18124 * iconvdata/euc-jisx0213.c : Likewise.
18125 * iconvdata/euc-jp.c: Likewise.
18126 * iconvdata/euc-jp-ms.c : Likewise.
18127 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18128 * iconvdata/gb18030.c : Likewise.
18129 * iconvdata/gbbig5.c (const): Likewise.
18130 * iconvdata/gbgbk.c: Likewise.
18131 * iconvdata/gbk.c : Likewise.
18132 * iconvdata/ibm1364.c : Likewise.
18133 * iconvdata/ibm930.c : Likewise.
18134 * iconvdata/ibm932.c: Likewise.
18135 * iconvdata/ibm933.c : Likewise.
18136 * iconvdata/ibm935.c : Likewise.
18137 * iconvdata/ibm937.c : Likewise.
18138 * iconvdata/ibm939.c : Likewise.
18139 * iconvdata/ibm943.c: Likewise.
18140 * iconvdata/iso_11548-1.c: Likewise.
18141 * iconvdata/iso-2022-cn.c : Likewise.
18142 * iconvdata/iso-2022-cn-ext.c : Likewise.
18143 * iconvdata/iso-2022-jp-3.c: Likewise.
18144 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18145 * iconvdata/iso-2022-kr.c : Likewise.
18146 * iconvdata/iso646.c (gconv_end): Likewise.
18147 * iconvdata/iso_6937-2.c : Likewise.
18148 * iconvdata/iso_6937.c : Likewise.
18149 * iconvdata/iso8859-1.c: Likewise.
18150 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18151 * iconvdata/shift_jisx0213.c : Likewise.
18152 * iconvdata/sjis.c : Likewise.
18153 * iconvdata/t.61.c : Likewise.
18154 * iconvdata/tcvn5712-1.c : Likewise.
18155 * iconvdata/tscii.c: Likewise.
18156 * iconvdata/uhc.c : Likewise.
18157 * iconvdata/unicode.c (gconv_end): Likewise.
18158 * iconvdata/utf-16.c (gconv_end): Likewise.
18159 * iconvdata/utf-32.c (gconv_end): Likewise.
18160 * iconvdata/utf-7.c (base64): Likewise.
18161 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18162 * iconv/gconv_close.c (__gconv_close): Likewise.
18163 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18164 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18165 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18166 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18167 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18168 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18169 * iconv/iconv.c (iconv): Likewise.
18170 * iconv/iconv_close.c: Likewise.
18171 * iconv/loop.c (SINGLE): Likewise.
18172 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18173 * include/atomic.h: Likewise.
18174 * inet/inet6_option.c (option_alloc): Likewise.
18175 * intl/bindtextdom.c (set_binding_values): Likewise.
18176 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18177 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18178 * intl/localealias.c (read_alias_file): Likewise.
18179 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18180 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18181 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18182 * libio/fmemopen.c (fmemopen): Likewise.
18183 * libio/iofgets.c (_IO_fgets): Likewise.
18184 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18185 * libio/iofgetws.c (fgetws): Likewise.
18186 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18187 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18188 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18189 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18190 * locale/findlocale.c (_nl_find_locale): Likewise.
18191 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18192 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18193 Likewise.
18194 * locale/setlocale.c (setlocale): Likewise.
18195 * login/programs/pt_chown.c (main): Likewise.
18196 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18197 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18198 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18199 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18200 * math/e_exp2l.c: Likewise.
18201 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18202 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18203 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18204 * math/s_catan.c (__catan): Likewise.
18205 * math/s_catanf.c (__catanf): Likewise.
18206 * math/s_catanh.c (__catanh): Likewise.
18207 * math/s_catanhf.c (__catanhf): Likewise.
18208 * math/s_catanhl.c (__catanhl): Likewise.
18209 * math/s_catanl.c (__catanl): Likewise.
18210 * math/s_ccosh.c (__ccosh): Likewise.
18211 * math/s_ccoshf.c (__ccoshf): Likewise.
18212 * math/s_ccoshl.c (__ccoshl): Likewise.
18213 * math/s_cexp.c (__cexp): Likewise.
18214 * math/s_cexpf.c (__cexpf): Likewise.
18215 * math/s_cexpl.c (__cexpl): Likewise.
18216 * math/s_clog10.c (__clog10): Likewise.
18217 * math/s_clog10f.c (__clog10f): Likewise.
18218 * math/s_clog10l.c (__clog10l): Likewise.
18219 * math/s_clog.c (__clog): Likewise.
18220 * math/s_clogf.c (__clogf): Likewise.
18221 * math/s_clogl.c (__clogl): Likewise.
18222 * math/s_csin.c (__csin): Likewise.
18223 * math/s_csinf.c (__csinf): Likewise.
18224 * math/s_csinh.c (__csinh): Likewise.
18225 * math/s_csinhf.c (__csinhf): Likewise.
18226 * math/s_csinhl.c (__csinhl): Likewise.
18227 * math/s_csinl.c (__csinl): Likewise.
18228 * math/s_csqrt.c (__csqrt): Likewise.
18229 * math/s_csqrtf.c (__csqrtf): Likewise.
18230 * math/s_csqrtl.c (__csqrtl): Likewise.
18231 * math/s_ctan.c (__ctan): Likewise.
18232 * math/s_ctanf.c (__ctanf): Likewise.
18233 * math/s_ctanh.c (__ctanh): Likewise.
18234 * math/s_ctanhf.c (__ctanhf): Likewise.
18235 * math/s_ctanhl.c (__ctanhl): Likewise.
18236 * math/s_ctanl.c (__ctanl): Likewise.
18237 * math/w_pow.c: Likewise.
18238 * math/w_powf.c: Likewise.
18239 * math/w_powl.c: Likewise.
18240 * math/w_scalb.c (sysv_scalb): Likewise.
18241 * math/w_scalbf.c (sysv_scalbf): Likewise.
18242 * math/w_scalbl.c (sysv_scalbl): Likewise.
18243 * misc/error.c (error_tail): Likewise.
18244 * misc/pselect.c (__pselect): Likewise.
18245 * nis/nis_callback.c (__nis_create_callback): Likewise.
18246 * nis/nis_call.c (__nisfind_server): Likewise.
18247 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18248 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18249 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18250 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18251 * nis/nis_lookup.c (nis_lookup): Likewise.
18252 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18253 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18254 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18255 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18256 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18257 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18258 * nis/nss_compat/compat-initgroups.c (add_group)
18259 (internal_getgrent_r): Likewise.
18260 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18261 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18262 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18263 (internal_getspnam_r): Likewise.
18264 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18265 (_nss_nis_getaliasbyname_r): Likewise.
18266 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18267 (_nss_nis_getntohost_r): Likewise.
18268 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18269 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18270 (_nss_nis_getgrgid_r): Likewise.
18271 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18272 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18273 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18274 (_nss_nis_gethostbyname4_r): Likewise.
18275 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18276 (initgroups_netid): Likewise.
a1ffb40e 18277 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18278 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18279 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18280 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18281 (_nss_nis_getprotobynumber_r): Likewise.
18282 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18283 (_nss_nis_getsecretkey): Likewise.
18284 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18285 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18286 (_nss_nis_getpwuid_r): Likewise.
18287 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18288 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18289 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18290 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18291 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18292 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18293 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18294 Likewise.
57f41c40
AS
18295 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18296 (_nss_nisplus_getntohost_r): Likewise.
18297 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18298 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18299 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18300 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18301 Likewise.
57f41c40
AS
18302 * nis/nss_nisplus/nisplus-initgroups.c
18303 (_nss_nisplus_initgroups_dyn): Likewise.
18304 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18305 (_nss_nisplus_getnetbyaddr_r): Likewise.
18306 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18307 (_nss_nisplus_getprotobynumber_r): Likewise.
18308 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18309 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18310 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18311 Likewise.
57f41c40
AS
18312 * nis/nss_nisplus/nisplus-service.c
18313 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18314 (_nss_nisplus_getservbyport_r): Likewise.
18315 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18316 (_nss_nisplus_getspnam_r): Likewise.
18317 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18318 Likewise.
a1ffb40e
OB
18319 * nscd/aicache.c (addhstaiX): Likewise.
18320 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18321 * nscd/connections.c (register_traced_file, send_ro_fd)
18322 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18323 (main_loop_epoll): Likewise.
a1ffb40e
OB
18324 * nscd/grpcache.c (addgrbyX): Likewise.
18325 * nscd/hstcache.c (addhstbyX): Likewise.
18326 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18327 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18328 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18329 (addinnetgrX): Likewise.
18330 * nscd/nscd-client.h (__nscd_acquire_maplock)
18331 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18332 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18333 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18335 Likewise.
18336 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18337 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18338 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18339 (__nscd_get_map_ref): Likewise.
a1ffb40e 18340 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18341 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18342 Likewise.
a1ffb40e
OB
18343 * nscd/pwdcache.c (addpwbyX): Likewise.
18344 * nscd/selinux.c (preserve_capabilities): Likewise.
18345 * nscd/servicescache.c (addservbyX): Likewise.
18346 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18347 * posix/fnmatch.c (fnmatch): Likewise.
18348 * posix/getopt.c (_getopt_internal_r): Likewise.
18349 * posix/glob.c (glob, glob_in_dir): Likewise.
18350 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18351 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18352 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18353 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18354 * resolv/res_init.c: Likewise.
18355 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18356 * resolv/res_query.c (__libc_res_nquery): Likewise.
18357 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18358 Likewise.
18359 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18360 * stdio-common/perror.c (perror): Likewise.
18361 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18362 * stdio-common/tmpnam.c (tmpnam): Likewise.
18363 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18364 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18365 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18366 Likewise.
a1ffb40e
OB
18367 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18368 * stdlib/putenv.c (putenv): Likewise.
18369 * stdlib/setenv.c (__add_to_environ): Likewise.
18370 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18371 * stdlib/strtol_l.c (INTERNAL): Likewise.
18372 * string/memmem.c (memmem): Likewise.
18373 * string/strerror.c (strerror): Likewise.
18374 * string/strnlen.c (__strnlen): Likewise.
18375 * string/test-memmem.c (simple_memmem): Likewise.
18376 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18377 * sunrpc/pm_getport.c (__get_socket): Likewise.
18378 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18379 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18380 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18381 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18382 Likewise.
18383 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18385 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18386 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18387 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18388 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18389 Likewise.
18390 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18391 Likewise.
a1ffb40e
OB
18392 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18393 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18394 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18395 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18396 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18398 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18399 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18400 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18401 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18402 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18403 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18404 Likewise.
18405 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18406 Likewise.
18407 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18408 Likewise.
18409 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18411 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18412 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18413 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18414 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18415 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18416 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18418 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18419 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18421 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18422 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18424 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18425 Likewise.
a1ffb40e
OB
18426 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18427 Likewise.
18428 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18429 Likewise.
18430 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18431 Likewise.
18432 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18433 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18434 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18435 Likewise.
18436 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18437 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18438 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18439 * sysdeps/posix/sleep.c: Likewise.
18440 * sysdeps/posix/tempname.c: Likewise.
18441 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18442 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18443 Likewise.
57f41c40
AS
18444 * sysdeps/powerpc/powerpc32/dl-machine.h
18445 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18446 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18448 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18449 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18450 Likewise.
18451 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18452 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18453 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18454 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18455 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18456 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18457 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18458 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18459 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18460 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18462 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18463 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18465 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18466 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18467 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18468 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18469 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18470 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18471 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18472 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18474 Likewise.
18475 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18476 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18477 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18478 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18479 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18480 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18481 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18482 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18483 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18484 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18485 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18486 Likewise.
18487 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18488 (__posix_fallocate64_l64): Likewise.
18489 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18490 (posix_fallocate): Likewise.
57f41c40
AS
18491 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18492 Likewise.
a1ffb40e 18493 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18494 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18495 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18496 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18497 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18498 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18499 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18500 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18501 (__posix_fallocate64_l64): Likewise.
18502 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18503 Likewise.
18504 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18505 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18506 (__get_clockfreq): Likewise.
a1ffb40e
OB
18507 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18508 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18509 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18511 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18512 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18513 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18514 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18515 Likewise.
18516 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18517 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18518 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18519 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18520 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18521 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18522 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18523 Likewise.
18524 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18525 (posix_fallocate): Likewise.
18526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18527 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18528 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18529 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18530 (elf_machine_rela, elf_machine_rela_relative)
18531 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18532 * time/asctime.c (asctime_internal): Likewise.
18533 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18534 * time/tzset.c (__tzset_parse_tz): Likewise.
18535 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18536 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18537 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18538 * wcsmbs/wcsmbsload.h: Likewise.
18539
f3d338c9
OB
18540 [BZ #15894]
18541 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18542
57f41c40
AS
18543 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18544 (arena_get2): Remove THREAD_STATS conditionals.
18545 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18546 (__malloc_stats, int): Likewise.
bdfe308a 18547
d674667c
MF
185482014-02-08 Mike Frysinger <vapier@gentoo.org>
18549
18550 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18551 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18552
6349768c
MF
18553 * manual/setjmp.texi: Fix typos/grammar errors.
18554
0b7c7473
MF
18555 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18556 Only return early when n is <= 0. Delete unused return statement.
18557
ac8cc9e3
MF
18558 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18559 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18560 * debug/tst-longjmp_chk3.c: New file.
18561
c5bb8e23
MF
18562 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18563 (test_main): Replace code with set_fortify_handler call.
18564 * debug/test-strcpy_chk.c: Likewise.
18565 * debug/tst-chk1.c: Likewise.
18566 * debug/tst-longjmp_chk.c: Likewise.
18567 * test-skeleton.c: Include fcntl.h & paths.h
18568 (set_fortify_handler): Define.
18569
10444e42
MF
18570 * debug/tst-longjmp_chk.c: Add header comment and include
18571 ../test-skeleton.c.
18572 (do_test): Mark static.
18573 (TEST_FUNCTION): Define.
18574
1e805e8d
MF
18575 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18576 (IP_PMTUDISC_INTERFACE): Likewise.
18577 (IP_MULTICAST_IF): Likewise.
18578 (IP_MULTICAST_TTL): Likewise.
18579 (IP_MULTICAST_LOOP): Likewise.
18580 (IP_ADD_MEMBERSHIP): Likewise.
18581 (IP_DROP_MEMBERSHIP): Likewise.
18582 (IP_UNBLOCK_SOURCE): Likewise.
18583 (IP_BLOCK_SOURCE): Likewise.
18584 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18585 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18586 (IP_MSFILTER): Likewise.
18587 (MCAST_JOIN_GROUP): Likewise.
18588 (MCAST_BLOCK_SOURCE): Likewise.
18589 (MCAST_UNBLOCK_SOURCE): Likewise.
18590 (MCAST_LEAVE_GROUP): Likewise.
18591 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18592 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18593 (MCAST_MSFILTER): Likewise.
18594 (IP_MULTICAST_ALL): Likewise.
18595 (IP_UNICAST_IF): Likewise.
18596
73f79bb7
MF
18597 * timezone/Makefile: Delete $(have-ksh) check.
18598 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18599 * timezone/tzselect.ksh: Add +x mode bits.
18600
8da79b60
MF
18601 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18602 (ANON_INODE_FS_MAGIC): Likewise.
18603 (BDEVFS_MAGIC): Likewise.
18604 (BINFMTFS_MAGIC): Likewise.
18605 (BTRFS_TEST_MAGIC): Likewise.
18606 (CRAMFS_MAGIC_WEND): Likewise.
18607 (DEBUGFS_MAGIC): Likewise.
18608 (ECRYPTFS_SUPER_MAGIC): Likewise.
18609 (EXT3_SUPER_MAGIC): Likewise.
18610 (EXT4_SUPER_MAGIC): Likewise.
18611 (FUTEXFS_SUPER_MAGIC): Likewise.
18612 (HOSTFS_SUPER_MAGIC): Likewise.
18613 (HUGETLBFS_MAGIC): Likewise.
18614 (MINIX3_SUPER_MAGIC): Likewise.
18615 (MTD_INODE_FS_MAGIC): Likewise.
18616 (NILFS_SUPER_MAGIC): Likewise.
18617 (OPENPROM_SUPER_MAGIC): Likewise.
18618 (PIPEFS_MAGIC): Likewise.
18619 (PSTOREFS_MAGIC): Likewise.
18620 (QNX6_SUPER_MAGIC): Likewise.
18621 (RAMFS_MAGIC): Likewise.
18622 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18623 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18624 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18625 (SECURITYFS_MAGIC): Likewise.
18626 (SELINUX_MAGIC): Likewise.
18627 (SMACK_MAGIC): Likewise.
18628 (SOCKFS_MAGIC): Likewise.
18629 (SQUASHFS_MAGIC): Likewise.
18630 (STACK_END_MAGIC): Likewise.
18631 (TMPFS_MAGIC): Likewise.
18632 (USBDEVICE_SUPER_MAGIC): Likewise.
18633 (V9FS_MAGIC): Likewise.
18634 (XENFS_SUPER_MAGIC): Likewise.
18635 (CRAMFS_MAGIC): Fix typo in comment.
18636 (EXT2_SUPER_MAGIC): Update comment.
18637 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18638
464263cc
JM
186392014-02-08 Joseph Myers <joseph@codesourcery.com>
18640
c6bfe5c4
JM
18641 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18642 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18643 * sysdeps/unix/sysv/linux/arm: Move directory from
18644 ports/sysdeps/unix/sysv/linux/arm.
18645 * README: Update listing for arm-*-linux-gnueabi.
18646
464263cc
JM
18647 * README: Remove mention of am33.
18648
32749f6c
RM
186492014-02-07 Roland McGrath <roland@hack.frob.com>
18650
18651 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18652 than the comma operator, to avoid "rhs of comma has no effect"
18653 compiler warnings.
18654 (__sigfillset, __sigandset, __sigorset): Likewise.
18655 * include/signal.h (__sigemptyset): Likewise.
18656 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18657
d5b396c1
AM
186582014-02-07 Allan McRae <allan@archlinux.org>
18659
18660 * version.h (RELEASE): Set to "development".
18661 (VERSION): Set to "2.19.90"
18662 * NEWS: Add 2.20 section.
18663
3bfff2ed
CD
186642014-02-06 Carlos O'Donell <carlos@redhat.com>
18665
18666 [BZ #16529]
18667 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18668
ee7cc385
SP
186692014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18670
18671 * manual/contrib.texi: Update entry for Carlos O'Donell,
18672 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18673
f877c4f2
CD
186742014-02-05 Carlos O'Donell <carlos@rehdat.com>
18675
27e839f6
CD
18676 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18677
f877c4f2
CD
18678 * sysdeps/unix/sysv/linux/kernel-features.h
18679 [__LINUX_KERNEL_VERSION >= 0x020621]
18680 (__ASSUME_PROC_PID_TASK_COMM): Define.
18681
68159946
SP
186822014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18683
ba17cdbd
SP
18684 [BZ #16398]
18685 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18686 conversion when destination buffer does not have enough space.
18687 * libio/tst-ftell-partial-wide.c: New test case.
18688 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18689
68159946
SP
18690 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18691 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18692 Leonard and Allan McRae.
18693
2b528732
DM
186942014-02-04 David S. Miller <davem@davemloft.net>
18695
18696 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18697 32-bit.
18698
0ff82463
AZ
186992014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18700
57f41c40
AS
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18702 New file
c01603f7
AZ
18703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18704 New file
57f41c40
AS
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18706 New file.
18707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18708 New file.
c01603f7
AZ
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18710 New file.
57f41c40
AS
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18712 New file.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18714 New file.
c01603f7
AZ
18715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18716 New file.
18717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18718 New file.
18719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18720 New file.
18721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18722 New file.
18723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18724 New file.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18726 New file.
18727
187282014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18729
0ff82463
AZ
18730 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18731 * shlib-versions: Likewise.
18732
1695c773
AZ
187332014-02-04 Roland McGrath <roland@hack.frob.com>
18734 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18735
18736 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18737 (abilist-pattern): New variable, set to %-le.abilist.
18738
18739 * Makerules (abilist-pattern): New variable.
18740 (vpath): Use $(abilist-pattern) in place of %.abilist.
18741 (check-abi-% pattern rule): Likewise.
18742 (check-abi, update-abi): Likewise.
18743
6c0ce4b4
EW
187442014-02-04 Eric Wong <normalperson@yhbt.net>
18745
18746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18747
481e3524
CD
187482014-02-03 Carlos O'Donell <carlos@redhat.com>
18749
18750 * manual/startup.texi: Add next, previous, and top entries for
18751 the `Program Arguments' and `Environment Variables' nodes.
18752
375592d3
AO
187532014-02-03 Alexandre Oliva <aoliva@redhat.com>
18754
18755 * manual/macros.texi: Add comments before MTASC-safety macros.
18756
f54838ba
AO
18757 * manual/users.texi: Document MTASC-safety properties.
18758
57f41c40
AS
18759 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18760 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18761 @deftypefun, and add @safety note.
18762 * manual/signal.texi: Move comments that analyze the above
18763 functions to their home place.
18764
fd3daba4
AM
187652014-02-03 Allan McRae <allan@archlinux.org>
18766
18767 * po/sl.po: Update Slovenian translation from translation project.
18768
597636d7
AO
187692014-02-02 Alexandre Oliva <aoliva@redhat.com>
18770
18771 * manual/time.texi (timegm): Add missing blank after @c.
18772 Reported by Joseph Myers <joseph@codesourcery.com>.
18773
ee196e3c
AO
187742014-02-01 Alexandre Oliva <aoliva@redhat.com>
18775
18776 * manual/check-safety.sh: New.
18777 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18778
f8d529d5
AO
18779 * manual/terminal.texi: Document MTASC-safety properties.
18780
de55fdf4
AO
18781 * manual/filesys.texi: Document MTASC-safety properties.
18782
c3299c08
AO
18783 * manual/errno.texi: Document MTASC-safety properties.
18784
06e90b14
AO
18785 * manual/intro.texi: Document safety identifiers and
18786 conditionals.
18787
1acd4371
AO
18788 * manual/string.texi (wcstok): Fix prototype.
18789 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18790
23e5b8cb
AO
18791 * manual/time.texi: Document MTASC-safety properties.
18792
11087373
AO
18793 * manual/string.texi: Document MTASC-safety properties.
18794
5da2c93d
AO
18795 * manual/threads.texi: Document MTASC-safety properties.
18796
171e9210
AO
18797 * manual/stdio.texi: Document MTASC-safety properties.
18798
d9e02532
AO
18799 * manual/syslog.texi: Document MTASC-safety properties.
18800
6af8bab7
AO
18801 * manual/sysinfo.texi: Document MTASC-safety properties.
18802
663b02d7
AO
18803 * manual/startup.texi: Document MTASC-safety properties.
18804
973f180b
AO
18805 * manual/socket.texi: Document MTASC-safety properties.
18806
8f3c25c8
AO
18807 * manual/signal.texi: Document MTASC-safety properties.
18808
542210fb
AO
188092014-01-31 Alexandre Oliva <aoliva@redhat.com>
18810
18811 * manual/setjmp.texi: Document MTASC-safety properties.
18812
433c45a2
AO
18813 * manual/search.texi: Document MTASC-safety properties.
18814
c8ce789c
AO
18815 * manual/resource.texi: Document MTASC-safety properties.
18816
19f5d29c
AO
18817 * manual/process.texi: Document MTASC-safety properties.
18818
e2dfb7f4
AO
18819 * manual/platform.texi: Document MTASC-safety properties.
18820
8c1413f5
AO
18821 * manual/pipe.texi: Document MTASC-safety properties.
18822
03483ada
AO
18823 * manual/pattern.texi: Document MTASC-safety properties.
18824
29e7e2df
AO
18825 * manual/message.texi: Document MTASC-safety properties.
18826
9f529d7c
AO
18827 [BZ #12751]
18828 * manual/memory.texi: Document MTASC-safety properties.
18829
27aaa791
AO
18830 * manual/math.texi: Document MTASC-safety properties.
18831
f2d58726
AO
18832 * manual/locale.texi: Document MTASC-safety properties.
18833
2cc3615c
AO
18834 * manual/llio.texi: Document MTASC-safety properties.
18835
d9f0ec97
AO
18836 * manual/libdl.texi: New.
18837
e7c4409a
AO
18838 * manual/lang.texi: Document MTASC-safety properties.
18839
27bdc63c
AO
18840 * manual/job.texi: Document MTASC-safety properties.
18841
a7b90ea9
AO
18842 * manual/getopt.texi: Document MTASC-safety properties.
18843
c49130e3
AO
18844 * manual/ctype.texi: Document MTASC-safety properties.
18845
0d23a5c1
MR
188462014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18847
18848 [BZ #16046]
18849 * csu/libc-tls.c (static_map): Remove variable.
18850 (__libc_setup_tls): Use main executable's link map for TLS data.
18851 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18852 casing for LM_ID_BASE and GL(dl_nns).
18853 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18854 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18855 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18856 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18857 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18858 member.
18859 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18860 l_phnum members.
18861
0037bb60
AO
188622014-01-30 Alexandre Oliva <aoliva@redhat.com>
18863
18864 * manual/debug.texi: Document MTASC-safety properties.
18865
409e00bd
L
188662014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18867
18868 [BZ #16510]
18869 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18870 of __x86_64__ when disabling x87 inline functions.
18871
86e60666
AO
188722014-01-29 Alexandre Oliva <aoliva@redhat.com>
18873
18874 * manual/charset.texi: Document MTASC-safety properties.
18875
76167637
AO
18876 * manual/crypt.texi: Document MTASC-safety properties.
18877
e567f2a0
AO
18878 * manual/conf.texi: Document MTASC-safety properties.
18879
b719dafd
AO
18880 * manual/arith.texi: Document MTASC-safety properties.
18881
4a16c662
AO
18882 * manual/argp.texi: Document MTASC-safety properties.
18883
0a57b83e
AO
18884 * manual/macros.texi: Introduce macros to document multi
18885 thread, asynchronous signal and asynchronous cancellation
18886 safety properties.
18887 * manual/intro.texi: Introduce the properties themselves.
18888
feab2397
KK
188892014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18890
18891 * sysdeps/sh/sh4/Makefile: New file.
18892
1c0d11bc
AS
188932014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18894
18895 * math/gen-libm-test.pl ($srcdir): New variable.
18896 ($auto_input): Use it.
18897
af37a8a3
SP
188982014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18899
d7b00f98
SP
18900 [BZ #16506]
18901 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18902 access beyond array bounds when parsing netgroups file.
18903
af37a8a3
SP
18904 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18905 the old buffer before realloc.
18906
0c00f062
AM
189072014-01-27 Allan McRae <allan@archlinux.org>
18908
18909 * po/fr.po: Update French translation from translation project.
18910
7d69a1b0
KK
189112014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18912
18913 * sysdeps/sh/libm-test-ulps: Regenerate.
18914
6e697ff7
DM
189152014-01-24 David S. Miller <davem@davemloft.net>
18916
18917 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18918
9cadb35c
KK
189192014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18920
18921 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18922 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18923
5d41dadf
SP
189242013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18925
18926 [BZ #16474]
18927 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18928 string pointers after reallocation.
18929
0bad441c
KK
189302014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18931
18932 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18933 __SH4A__ instead of __SH_FPU_ANY__.
18934
7007c661
KK
189352014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18936
18937 * sysdeps/sh/fpu_control.h: New file.
18938 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18939 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18940 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18941 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18942 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18943 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18944 * sysdeps/sh/sys/ucontext.h: Remove.
18945 * sysdeps/sh/sys: Remove directory.
18946
0f0c35e4
AK
189472014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18948
18949 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18950 s390/sys/ucontext.h.
18951 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18952 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18953
4959e284
L
189542014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18955
18956 [BZ #15605]
18957 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18958
d98720e0
AZ
189592014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18960
18961 [BZ#16431]
18962 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18963 Adjust the vDSO correctly for internal calls.
18964 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18965
91cbd0bc
AM
189662014-01-20 Allan McRae <allan@archlinux.org>
18967
18968 * po/ca.po: Update Catalan translation from translation project.
18969
7a02cfad
MF
189702014-01-16 Mike Frysinger <vapier@gentoo.org>
18971
18972 * sysdeps/s390/sotruss-lib.c: New file.
18973
736c304a
AZ
189742014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18975
18976 [BZ#16430]
6e077ee5 18977 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18978 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18979 local calls issues by not having a PLT stub required for IFUNC calls.
18980 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18981
94d0cea0
JM
189822014-01-16 Joseph Myers <joseph@codesourcery.com>
18983
18984 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18985 * math/test-fpucw-static.c: Likewise.
18986
980cb518
SP
189872013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18988
18989 [BZ #16453]
18990 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18991
2393fc01
AZ
189922014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18993
18994 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18995 implementation for powerpc.
18996
d359bcc2
OB
189972014-01-15 Ondřej Bílka <neleai@seznam.cz>
18998
18999 [BZ #14782]
19000 * sysdeps/posix/system.c (__libc_system): Do not enable
19001 asynchronous cancellation.
19002
7beb48cb
AK
190032014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19004
19005 [BZ #16427]
19006 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19007 handling only for numbers special also in the IEEE case.
19008
c20d5bf5
AK
190092014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19010
19011 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19012
e83bd4ee
AM
190132014-01-11 Allan McRae <allan@archlinux.org>
19014
76d0ea69
AM
19015 * po/bg.po: Update Bulgarian translation from translation project.
19016
e83bd4ee
AM
19017 * po/de.po: Update German translation from translation project.
19018
bc2ba20a
RM
190192014-01-10 Roland McGrath <roland@hack.frob.com>
19020
19021 * sysdeps/generic/gcc-compat.h: New file.
19022
649ecea2
SP
190232014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19024
19025 * benchtests/asin-inputs: Correct slow inputs.
19026 * benchtests/acos-inputs: Likewise.
19027
1b19c006
AM
190282014-01-10 Allan McRae <allan@archlinux.org>
19029
a46dab08
AM
19030 * po:sv.po: Update Swedish translation from translation project.
19031
421df74a
AM
19032 * po/vi.po: Update Vietnamese translation from translation project.
19033
d61c51a7
AM
19034 * po/eo.po: Update Esperanto translation from translation project.
19035
0339a319
AM
19036 * po/cs.po: Update Czech translation from translation project.
19037
94ad3e99
AM
19038 * po/nl.po: Update Dutch translation from translation project.
19039
e349ca71
AM
19040 * po/pl.po: Update Polish translation from translation project.
19041
ddf930c1
AM
19042 * po/ru.po: Update Russian translation from translation project.
19043
1b19c006
AM
19044 * po/uk.po: Update Ukrainian translation from translation project.
19045
9f236c49
BM
190462014-01-08 Brooks Moses <bmoses@google.com>
19047
19048 * elf/dl-load.c: Fix comment typo.
19049
cd6701cf
CD
190502014-01-08 Carlos O'Donell <carlos@redhat.com>
19051
19052 * po/header.pot: Rename to...
19053 * po/pot.header: ... this.
19054 * po/Makefile: Use pot.header.
19055
66671c84
YK
190562014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19057 Maxim Kuvyrkov <maxim@kugelworks.com>
19058
19059 [BZ #16394]
cd6701cf
CD
19060 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19061 SRC and DEST against LEN.
66671c84 19062
38f34581
AZ
190632014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19064
19065 [BZ #16414]
19066 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19067 implementation.
19068 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19069
190702014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19071
19072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19073
4c327f2a
JM
190742014-01-08 Joseph Myers <joseph@codesourcery.com>
19075
19076 [BZ #16408]
19077 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19078 for large positive arguments.
19079
b821f414
JM
190802014-01-07 Joseph Myers <joseph@codesourcery.com>
19081
1f0f2067
JM
19082 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19083
a5a326f6
JM
19084 * math/auto-libm-test-in: Mark various tests with
19085 xfail-rounding:ldbl-128ibm.
19086 * math/auto-libm-test-out: Regenerated.
19087
b821f414
JM
19088 [BZ #16407]
19089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19090 Increase overflow threshold.
19091
94c8a4bc
OB
190922014-01-07 Ondřej Bílka <neleai@seznam.cz>
19093
19094 [BZ #14286]
19095 * stdio-common/vfprintf.c: Check for integer overflow.
19096
87ded0c3
AK
190972014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19098
19099 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19100 the first argument and return value of __tls_get_addr_internal.
19101
c5eebdd0
AK
191022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19103
19104 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19105 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19106
05d138ef
AK
191072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19108
19109 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19110 * sysdeps/s390/rtld-global-offsets.sym: New file.
19111 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19112 GLIBC_2.19 symbol.
19113 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19115 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19116 ... this.
19117 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19118 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19119 ... this.
19120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19121 Regenerate.
19122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19123 Regenerate.
19124 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19125 halfs of GPRs for high_gprs contexts.
19126 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19127 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19128 field.
19129 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19130 uc_flags field.
19131 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19132 64 bit versions:
19133 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19134 for high GPRs (uc_high_gprs) and for future extensions
19135 (__reserved).
19136 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19137 for future extensions (__reserved).
19138 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19139 64 bit versions:
19140 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19141 SC_HIGHGPRS offset definition.
19142 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19143 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19144
93a45ff1
AK
19145 * Versions.def: Add GLIBC_2.19 for libpthread.
19146 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19147 siglongjmp for libpthread with GLIBC_2.19 symver.
19148 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19149 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19150 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19151 * sysdeps/s390/__longjmp.c: New file.
19152 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19153 * sysdeps/s390/longjmp.c: New file.
19154 * sysdeps/s390/setjmp.S: New file.
19155 * sysdeps/s390/sigjmp.S: New file.
19156 * sysdeps/s390/v1-longjmp.c: New file.
19157 * sysdeps/s390/v1-setjmp.h: New file.
19158 * sysdeps/s390/v1-sigjmp.c: New file.
19159 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19160 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19161 GLIBC_2.19 version.
19162 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19163 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19164 versioned symbols for ____longjmp_chk.
19165 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19166 Likewise.
19167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19168 Regenerate.
19169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19170 Regenerate.
19171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19172 Regenerate.
19173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19174 Regenerate.
19175 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19176 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19177 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19178 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19179 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19180 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19181 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19182 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19183 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19184 * sysdeps/s390/rtld-__longjmp.c: New file.
19185 * sysdeps/s390/rtld-setjmp.S: New file.
19186
eb3fc44b
JM
191872014-01-06 Joseph Myers <joseph@codesourcery.com>
19188
19189 [BZ #16400]
19190 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19191 Return -__logl (x) for small positive arguments without evaluating
19192 a polynomial.
19193
9341dde4
MF
191942014-01-06 Mike Frysinger <vapier@gentoo.org>
19195
19196 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19197 Rename to ...
19198 (__ptrace_peeksiginfo_args): ... this.
19199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19200 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19201 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19202
4cff0293
AM
192032014-01-06 Allan McRae <allan@archlinux.org>
19204
19205 * inet/netinet/in.h: Fix typo in comment.
19206
75595dcf
AJ
192072014-01-05 Andreas Jaeger <aj@suse.de>
19208
19209 * sysdeps/i386/fpu/libm-test-ulps: Update.
19210
79c1e109
AM
192112014-01-05 Allan McRae <allan@archlinux.org>
19212
dd804818
AM
19213 * po/libc.pot: Regenerated.
19214
79c1e109
AM
19215 * malloc/memusagestat.c: Fix gettext call formatting.
19216
0c813d1f
SK
192172014-01-04 Sami Kerola <kerolasa@iki.fi>
19218
19219 * nscd/nscd.c: Improve usage() output.
19220
20f4a8d9
MF
192212014-01-04 Mike Frysinger <vapier@gentoo.org>
19222
19223 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19224 * sysdeps/unix/sysv/linux/configure: Regenerated.
19225 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19226 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19227
22562bb2
JM
192282014-01-03 Joseph Myers <joseph@codesourcery.com>
19229
19230 [BZ #16390]
19231 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19232 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19233
d7ad2d9b
AZ
192342014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19235
19236 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19237 extra tokens at end of #undef directive.
19238 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19239 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19240 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19241
7dd009d8
JM
192422014-01-03 Joseph Myers <joseph@codesourcery.com>
19243
24db925a
JM
19244 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19245
7dd009d8
JM
19246 * math/auto-libm-test-in: Mark various tests with
19247 xfail-rounding:ldbl-128ibm.
19248 * math/auto-libm-test-out: Regenerated.
19249
396e3ecf
JM
192502014-01-02 Joseph Myers <joseph@codesourcery.com>
19251
819e5d50
JM
19252 [BZ #16386]
19253 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19254 numbers with subnormal high part when calculating exponent.
19255
90b6a1e5
JM
19256 [BZ #16385]
19257 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19258 fabs.
19259
396e3ecf
JM
19260 [BZ #16384]
19261 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19262 M_LN2l.
19263 (__ieee754_acoshl): Use __log1pl not __log1p.
19264
6c8dbf00
OB
192652013-01-02 Ondřej Bílka <neleai@seznam.cz>
19266
57f41c40
AS
19267 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19268 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19269 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19270 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19271 (reused_arena, arena_get2): Convert to GNU style.
19272 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19273 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19274 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19275 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19276 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19277 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19278 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19279 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19280 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19281 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19282 * malloc/malloc.h: Likewise.
57f41c40
AS
19283 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19284 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19285 * malloc/mcheck.h: Likewise.
57f41c40
AS
19286 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19287 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19288 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19289 * malloc/morecore.c (__default_morecore): Likewise.
19290 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19291 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19292 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19293 (print_and_abort): Likewise.
6c8dbf00
OB
19294 * malloc/obstack.h: Likewise.
19295 * malloc/set-freeres.c (__libc_freeres): Likewise.
19296 * malloc/tst-mallocstate.c (main): Likewise.
19297 * malloc/tst-mtrace.c (main): Likewise.
19298 * malloc/tst-realloc.c (do_test): Likewise.
19299
d4124212
SP
193002013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19301
9a3c6a6f
SP
19302 [BZ #16366]
19303 * nscd/netgroupcache.c (do_notfound): New function.
19304 (addgetnetgrentX): Use it.
19305
d4124212
SP
19306 [BZ # 16365]
19307 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19308 NSS_STATUS_NOTFOUND.
19309
97b9a009
JM
193102014-01-01 Joseph Myers <joseph@codesourcery.com>
19311
19312 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19314
d4697bc9
AM
193152014-01-01 Allan McRae <allan@archlinux.org>
19316
ddb3687f
AM
19317 * scripts/update-copyrights: Update configure input file suffix.
19318
88726d48
AM
19319 * NEWS: Update copyright year.
19320 * catgets/gencat.c: Likewise.
19321 * csu/version.c: Likewise.
19322 * debug/catchsegv.sh: Likewise.
19323 * debug/pcprofiledump.c: Likewise.
19324 * debug/xtrace.sh: Likewise.
19325 * elf/ldconfig.c: Likewise.
19326 * elf/ldd.bash.in: Likewise.
19327 * elf/pldd.c: Likewise.
19328 * elf/sotruss.ksh: Likewise.
19329 * elf/sprof.c: Likewise.
19330 * iconv/iconv_prog.c: Likewise.
19331 * iconv/iconvconfig.c: Likewise.
19332 * locale/programs/locale.c: Likewise.
19333 * locale/programs/localedef.c: Likewise.
19334 * login/programs/pt_chown.c: Likewise.
19335 * malloc/memusage.sh: Likewise.
19336 * malloc/memusagestat.c: Likewise.
19337 * malloc/mtrace.pl: Likewise.
19338 * manual/libc.texinfo: Likewise.
19339 * nscd/nscd.c: Likewise.
19340 * nss/getent.c: Likewise.
19341 * nss/makedb.c: Likewise.
19342 * posix/getconf.c: Likewise.
19343 * scripts/test-installation.pl: Likewise.
19344
d4697bc9
AM
19345 * All files with FSF copyright notices: Update copyright dates
19346 using scripts/update-copyrights.
19347 * intl/plural.c: Regenerated.
19348 * locale/programs/charmap-kw.h: Likewise.
19349 * locale/programs/locfile-kw.h: Likewise.
19350
c8590f9d
MF
193512013-12-31 Mike Frysinger <vapier@gentoo.org>
19352
19353 * sysdeps/unix/sysv/linux/configure: Regenerated.
19354 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19355 the linux/fanotify.h header.
19356 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19357 HAVE_LINUX_FANOTIFY_H is defined.
19358
b19221b9
SP
193592013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19360
dd1d85e5
SP
19361 * benchtests/cos-inputs: New inputs.
19362 * benchtests/sin-inputs: Likewise.
19363
1acbb90f
SP
19364 * benchtests/atan-inputs: New inputs. Fix name of multiple
19365 precision fallback inputs.
19366
4c012ed3
SP
19367 * benchtests/atanh-inputs: New inputs.
19368 * benchtests/tanh-inputs: Likewise.
19369
eff98324
SP
19370 * benchtests/acosh-inputs: New inputs.
19371 * benchtests/asinh-inputs: Likewise.
19372
ce641152
SP
19373 * benchtests/cosh-inputs: New inputs.
19374 * benchtests/sinh-inputs: Likewise.
19375
b19221b9
SP
19376 * benchtests/acos-inputs: Add more inputs.
19377 * benchtests/asin-inputs: Likewise.
19378
030a4976 193792013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19380
030a4976 19381 [BZ #16375]
9dcc8f11
VS
19382 * manual/arith.texi: Fix spelling.
19383 * manual/charset.texi: Likewise.
19384 * manual/errno.texi: Likewise.
19385 * manual/filesys.texi: Likewise.
19386 * manual/lang.texi: Likewise.
19387 * manual/llio.texi: Likewise.
19388 * manual/locale.texi: Likewise.
19389 * manual/message.texi: Likewise.
19390 * manual/resource.texi: Likewise.
19391 * manual/search.texi: Likewise.
19392 * manual/setjmp.texi: Likewise.
19393 * manual/stdio.texi: Likewise.
19394 * manual/string.texi: Likewise.
19395 * manual/sysinfo.texi: Likewise.
19396 * manual/time.texi: Likewise.
19397
11520a57
CD
193982013-12-27 Carlos O'Donell <carlos@redhat.com>
19399
19400 * po/sl.po: New file.
19401
471103ae
MF
194022013-12-27 Mike Frysinger <vapier@gentoo.org>
19403
19404 * .gitignore: Add core/.gdbinit/.gdb_history.
19405
6c9642ed
AM
194062013-12-27 Allan McRae <allan@archlinux.org>
19407
19408 [BZ #16369]
19409 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19410 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19411
3f637079
BM
194122013-12-24 Brooks Moses <bmoses@google.com>
19413
19414 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19415 all compilers that claim C++98 compliance, not just GCC.
19416 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19417 Likewise.
19418
abc26e99
MK
194192013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19420
19421 * NEWS: Restore accidentally deleted bug-fix entries.
19422
362b47fe
MK
194232013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19424 Ondřej Bílka <neleai@seznam.cz>
19425
19426 [BZ #15073]
19427 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19428 have_lock.
362b47fe 19429
b9bcbbcb
OB
194302013-12-23 Ondřej Bílka <neleai@seznam.cz>
19431
19432 [BZ #12986]
19433 * manual/stdio.texi (String Input Conversions): Clarify that character
19434 classes are not supported.
19435
fb55fcd2
AZ
194362013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19437
19438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19439
ef7344f0
JM
194402013-12-22 Joseph Myers <joseph@codesourcery.com>
19441
4f40e4b3
JM
19442 [BZ #16337]
19443 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19444 Calculate results for small negative arguments directly rather
19445 than using reflection formula with special underflow handling.
19446
ef7344f0
JM
19447 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19448 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19449 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19450 (fchflags): Likewise.
19451 (revoke): Likewise.
19452 (setlogin): Likewise.
19453 (sigaltstack): Likewise.
19454 (wait4): Likewise.
19455 (sigblock): Remove.
19456 (sigsetmask): Likewise.
19457 (wait3): Likewise.
19458 (waitpid): Likewise.
19459 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19460 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19461 file.
19462 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19463 * sysdeps/unix/bsd/Makefile: ... here.
19464 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19465 * sysdeps/unix/bsd/Versions: ... here.
19466 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19467 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19468 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19469 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19470 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19471 * sysdeps/unix/bsd/sigblock.c: ... here.
19472 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19473 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19474 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19475 * sysdeps/unix/bsd/sigvec.c: ... here.
19476 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19477 * sysdeps/unix/bsd/tcdrain.c: ... here.
19478 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19479 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19480 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19481 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19482 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19483 * sysdeps/unix/bsd/wait.c: ... here.
19484 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19485 * sysdeps/unix/bsd/wait3.c: ... here.
19486 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19487 * sysdeps/unix/bsd/waitpid.c: ... here.
19488
5b0626b9
JM
194892013-12-21 Joseph Myers <joseph@codesourcery.com>
19490
19491 [BZ #16356]
19492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19493 round-to-nearest for [!USE_AS_EXPM1L].
19494 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19495 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19496 more tests of exp and exp10. Expect some exp10 tests to miss
19497 exceptions or fail in directed rounding modes.
19498 * math/auto-libm-test-out: Regenerated.
19499 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19500 (exp10_test_tonearest): New function.
19501 (exp10_towardzero_test_data): New array.
19502 (exp10_test_towardzero): New function.
19503 (exp10_downward_test_data): New array.
19504 (exp10_test_downward): New function.
19505 (exp10_upward_test_data): New array.
19506 (exp10_test_upward): New function.
19507 (main): Call the new functions.
19508 * sysdeps/i386/fpu/libm-test-ulps: Update.
19509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19510
7fda5682
JM
195112013-12-20 Joseph Myers <joseph@codesourcery.com>
19512
31e3a405
JM
19513 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19514 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19515 * math/auto-libm-test-out: Regenerated.
19516 * math/libm-test.inc (acosh_test_data): Add more tests.
19517 (atanh_test_data): Likewise.
19518 (ceil_test_data): Likewise.
19519 (copysign_test_data): Likewise.
19520 * sysdeps/i386/fpu/libm-test-ulps: Update.
19521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19522
85bff96a
JM
19523 * timezone/checktab.awk: Update from tzcode 2013i.
19524 * timezone/private.h: Likewise.
19525 * timezone/scheck.c: Likewise.
19526 * timezone/tzfile.h: Likewise.
19527 * timezone/tzselect.ksh: Likewise.
19528 * timezone/zdump.c: Likewise.
19529 * timezone/zic.c: Likewise.
19530
b7867a3b
JM
19531 * math/auto-libm-test-in: Add tests of cpow.
19532 * math/auto-libm-test-out: Regenerated.
19533 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19534 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19535 mpc_cc_c.
19536 (func_calc_desc): Add mpc_cc_c union field.
19537 (test_functions): Add cpow.
19538 (special_fill_2pi): New function.
19539 (special_real_inputs): Add 2pi.
19540 (calc_generic_results): Handle mpc_cc_c.
19541 * sysdeps/i386/fpu/libm-test-ulps: Update.
19542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19543
7fda5682
JM
19544 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19545 csqrt, ctan and ctanh.
19546 * math/auto-libm-test-out: Regenerated.
19547 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19548 (TEST_COND_x86): Likewise.
19549 (ccos_test_data): Use AUTO_TESTS_c_c.
19550 (ccosh_test_data): Likewise.
19551 (cexp_test_data): Likewise.
19552 (clog_test_data): Likewise.
19553 (csqrt_test_data): Likewise.
19554 (ctan_test_data): Likewise.
19555 (ctan_tonearest_test_data): Likewise.
19556 (ctan_towardzero_test_data): Likewise.
19557 (ctan_downward_test_data): Likewise.
19558 (ctan_upward_test_data): Likewise.
19559 (ctanh_test_data): Likewise.
19560 (ctanh_tonearest_test_data): Likewise.
19561 (ctanh_towardzero_test_data): Likewise.
19562 (ctanh_downward_test_data): Likewise.
19563 (ctanh_upward_test_data): Likewise.
19564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19565 mpc_c_c.
19566 (func_calc_desc): Add mpc_c_c union field.
19567 (FUNC_mpc_c_c): New macro.
19568 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19569 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19570 ctanh.
19571 (special_fill_min_subnorm_p120): New function.
19572 (special_real_inputs): Add min_subnorm_p120.
19573 (calc_generic_results): Handle mpc_c_c.
19574 * sysdeps/i386/fpu/libm-test-ulps: Update.
19575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19576
5ff8d60e
SP
195772013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19578
57f41c40
AS
19579 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19580 (do_sin_slow): New functions.
19581 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19582 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19583
84ba214c
SP
19584 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19585 Use M to change sign of result instead of X. Assume X is
19586 positive.
19587 (csloww1): Likewise.
19588 (__sin): Adjust.
19589 (__cos): Adjust.
19590
975195e4
SP
19591 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19592 arguments A and DA.
19593 (__sin): Adjust.
19594 (__cos): Likewise.
19595
5ff8d60e
SP
19596 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19597 (__cos): Likewise.
19598 (sloww1): Don't adjust sign of DX.
19599 (csloww1): Likewise.
19600 (sloww2): Use X directly and don't adjust sign of DX.
19601 (csloww2): Likewise.
19602
eb983568
JM
196032013-12-19 Joseph Myers <joseph@codesourcery.com>
19604
64a17f1a
JM
19605 * math/auto-libm-test-in: Add tests of cabs and carg.
19606 * math/auto-libm-test-out: Regenerated.
19607 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19608 (carg_test_data): Likewise.
19609 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19610 mpc_c_f.
19611 (func_calc_desc): Add mpc_c_f union field.
19612 (test_functions): Add cabs and carg.
19613 (calc_generic_results): Handle mpc_c_f.
19614
eb983568
JM
19615 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19616 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19617 as a macro and a compat symbol.
19618 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19619 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19620 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19621 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19622 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19623 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19624 not use .hidden.
19625 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19626 Likewise.
19627 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19628 Likewise.
19629 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19630 Likewise.
19631 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19632 Likewise.
19633 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19634 Likewise.
19635 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19636 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19637 from GLIBC_2.3.2.
19638
6eeb678a
AZ
196392013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19640
19641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19642
6f6fc482
JM
196432013-12-19 Joseph Myers <joseph@codesourcery.com>
19644
21fea2e2
JM
19645 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19646 trailing whitespace removed.
19647 * scripts/config.guess: Update to version 2013-11-29.
19648 * scripts/config.sub: Update to version 2013-10-01.
19649
6f6fc482
JM
19650 * math/auto-libm-test-in: Add tests of sincos.
19651 * math/auto-libm-test-out: Regenerated.
19652 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19653 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19654 mpfr_f_11.
19655 (func_calc_desc): Add mpfr_f_11 union field.
19656 (test_functions): Add sincos.
19657 (calc_generic_results): Handle mpfr_f_11.
19658 * sysdeps/i386/fpu/libm-test-ulps: Update.
19659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19660
83f5c32d
AS
196612013-12-19 Andreas Schwab <schwab@suse.de>
19662
19663 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19664 CALL_MCOUNT.
19665 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19666 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19667 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19668
c688b419
JM
196692013-12-19 Joseph Myers <joseph@codesourcery.com>
19670
335ee092
JM
19671 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19672 * sysdeps/i386/fpu/libm-test-ulps: Update.
19673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19674
f88acd39
JM
19675 [BZ #16293]
19676 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19677 round-to-nearest mode when using frndint.
19678 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19679 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19680 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19681 Likewise.
19682 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19683 sinh test to fail.
19684 * math/auto-libm-test-out: Regenerated.
19685 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19686 (TEST_COND_x86): Likewise.
19687 (expm1_tonearest_test_data): New array.
19688 (expm1_test_tonearest): New function.
19689 (expm1_towardzero_test_data): New array.
19690 (expm1_test_towardzero): New function.
19691 (expm1_downward_test_data): New array.
19692 (expm1_test_downward): New function.
19693 (expm1_upward_test_data): New array.
19694 (expm1_test_upward): New function.
19695 (main): Run the new test functions.
19696 * sysdeps/i386/fpu/libm-test-ulps: Update.
19697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19698
c688b419
JM
19699 * include/features.h: Update comment documenting feature test
19700 macros. Mention _DEFAULT_SOURCE in comment.
19701 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19702 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19703 _BSD_SOURCE and _SVID_SOURCE.
19704 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19705 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19706 !_SVID_SOURCE]: Likewise.
19707 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19708 (__USE_POSIX_IMPLICITLY): Define.
19709 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19710 (_POSIX_SOURCE): Undefine and redefine.
19711 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19712 (_POSIX_C_SOURCE): Likewise.
19713 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19714 (Feature Test Macros): Update documentation of default features.
19715
9f6e964c
RS
197162013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19717
19718 * benchtests/Makefile: Add bench-strtok.
19719 * benchtests/bench-strtok.c: New file: strtok benchtest.
19720
ee0a148a
AM
197212013-12-19 Allan McRae <allan@archlinux.org>
19722
19723 * manual/install.texi: Suppress menu for plain text output.
19724 * INSTALL: Regenerated.
19725
b9ab448f
BM
197262013-12-18 Brooks Moses <bmoses@google.com>
19727
19728 [BZ #15846]
19729 * misc/getauxval.c: Include errno.h.
19730 (__getauxval): Set errno to ENOENT if the requested type is not
19731 found.
19732 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19733 don't declare with __attribute_const__.
19734 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19735 * manual/startup.texi: Document that getauxval sets errno.
19736
23776487
JM
197372013-12-18 Joseph Myers <joseph@codesourcery.com>
19738
f889953b
JM
19739 * math/auto-libm-test-in: Add tests of jn and yn.
19740 * math/auto-libm-test-out: Regenerated.
19741 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19742 (yn_test_data): Likewise.
19743 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19744 mpfr_if_f.
19745 (func_calc_desc): Add mpfr_if_f union field.
19746 (FUNC_mpfr_if_f): New macro.
19747 (test_functions): Add jn and yn.
19748 (calc_generic_results): Assert type of second input for
19749 mpfr_ff_f. Handle mpfr_if_f.
19750 (output_for_one_input_case): Disable all checking for arguments
19751 fitting floating-point types in case of an integer argument.
19752 * sysdeps/i386/fpu/libm-test-ulps: Update.
19753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19754
23776487
JM
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19756 Don't expect fegetround reference in libm.so.
19757
cb756c6d
MS
197582013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19759
19760 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19761 $(config-cflags-nofma).
19762
2dec468f
JM
197632013-12-18 Joseph Myers <joseph@codesourcery.com>
19764
5953eb3a
JM
19765 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19766 * math/auto-libm-test-out: Regenerated.
19767
2dec468f
JM
19768 [BZ #16338]
19769 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19770 to determine exponent and adjust argument to have exponent of -1.
19771 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19772 log2.
19773 * math/auto-libm-test-out: Regenerated.
19774 * sysdeps/i386/fpu/libm-test-ulps: Update.
19775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19776
4d84e6ad
OB
197772013-12-18 Ondřej Bílka <neleai@seznam.cz>
19778
19779 * manual/probes.texi: Remove cases when per-thread arenas are
19780 disabled.
19781
1818483b
AS
197822013-12-18 Andreas Schwab <schwab@suse.de>
19783
19784 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19785 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19786 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19787 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19788 * sysdeps/i386/i686/multiarch/Makefile: Update.
19789 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19790
25de95bf
JM
197912013-12-17 Joseph Myers <joseph@codesourcery.com>
19792
19793 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19794 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19795
674762d9
PE
197962013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19797
ed27ed83 19798 [BZ #15968]
0748546f
PE
19799 Support TZ transition times < 00:00:00.
19800 This is needed for version-3 tz-format files; it supports time
19801 stamps past 2037 for America/Godthab (the only entry in the tz
19802 database for which this change is relevant).
19803 * manual/time.texi (TZ Variable): Document transition times
19804 from -167:59:59 through -00:00:01.
19805 * time/tzset.c (tz_rule): Time of day is now signed.
19806 (__tzset_parse_tz): Parse negative time of day.
19807
4480e934
PE
19808 Document TZ transition times >= 25:00:00.
19809 * manual/time.texi (TZ Variable): Document transition times from
19810 25:00:00 through 167:59:59. These are already supported, and this
19811 support will help with version-3 tz-format files.
19812
69947401
PE
19813 * manual/time.texi (TZ Variable): Modernize North America example
19814 to reflect current (i.e., 2007-and-later) daylight saving rules.
19815
674762d9
PE
19816 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19817
7011c262
JM
198182013-12-17 Joseph Myers <joseph@codesourcery.com>
19819
2fc6557e
JM
19820 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19821 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19824 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19825 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19826 * sysdeps/unix/bsd/clock.c: Likewise.
19827 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19828 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19829 * sysdeps/unix/bsd/init-posix.c: Likewise.
19830 * sysdeps/unix/bsd/poll.c: Likewise.
19831 * sysdeps/unix/bsd/ptsname.c: Likewise.
19832 * sysdeps/unix/bsd/seekdir.c: Likewise.
19833 * sysdeps/unix/bsd/setegid.c: Likewise.
19834 * sysdeps/unix/bsd/seteuid.c: Likewise.
19835 * sysdeps/unix/bsd/setgid.c: Likewise.
19836 * sysdeps/unix/bsd/setrgid.c: Likewise.
19837 * sysdeps/unix/bsd/setruid.c: Likewise.
19838 * sysdeps/unix/bsd/setsid.c: Likewise.
19839 * sysdeps/unix/bsd/setuid.c: Likewise.
19840 * sysdeps/unix/bsd/sigaction.c: Likewise.
19841 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19842 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19843 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19844 * sysdeps/unix/bsd/telldir.c: Likewise.
19845 * sysdeps/unix/bsd/times.c: Likewise.
19846 * sysdeps/unix/bsd/usleep.c: Likewise.
19847
029c7b25
JM
19848 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19849 ($(objpfx)libbsd-compat.a): Remove rule.
19850
7011c262
JM
19851 * include/features.h (__FAVOR_BSD): Do not define.
19852 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19853 features conflicting with POSIX.
19854 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19855 (_BSD_SOURCE): Remove description of not being a subset of other
19856 feature test macros.
19857 * manual/job.texi (getpgrp): Do not document BSD version.
19858 (getpgid): Do not document by reference to BSD getpgrp.
19859 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19860 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19861 * signal/signal.h [__FAVOR_BSD]: Likewise.
19862 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19863 instead of making contents conditional on [__FAVOR_BSD].
19864 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19865
affb6f78
AZ
198662013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19867
19868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19869
c88769dd
JM
198702013-12-17 Joseph Myers <joseph@codesourcery.com>
19871
6432a540
JM
19872 [BZ #16314]
19873 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19874 values below 2**-450, not 2**-500.
19875 * math/auto-libm-test-in: Don't allow spurious underflow from
19876 hypot.
19877 * math/auto-libm-test-out: Regenerated.
19878
c88769dd
JM
19879 [BZ #16316]
19880 [BZ #16330]
19881 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19882 values of ha and hb and sort them after adjusting subnormal
19883 arguments.
19884 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19885 Likewise.
19886 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19887 values of ea and eb and sort them after adjusting subnormal
19888 arguments.
19889 * math/auto-libm-test-in: Do not expect some hypot tests of
19890 subnormals to fail. Add more hypot tests.
19891 * math/auto-libm-test-out: Regenerated.
19892
29618f6b
KK
198932013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19894
19895 [BZ #13304]
19896 * sysdeps/sh/s_fma.c: New file.
19897 * sysdeps/sh/s_fmaf.c: New file.
19898 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19899 version.
19900 * sysdeps/sh/Implies: Add sh/soft-fp.
19901
eacfdfbf
RM
199022013-12-16 Roland McGrath <roland@hack.frob.com>
19903
19904 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19905 level of indirection to members `objname', `errstring', `malloced'.
19906 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19907 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19908 it as the __longjmp argument (just pass 1 instead).
19909 (_dl_catch_error): Initialize C with argument pointers and address of
19910 volatile local ERRCODE rather than copying values out of C at return.
19911
ff362e5b
JM
199122013-12-16 Joseph Myers <joseph@codesourcery.com>
19913
19914 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19915 * math/auto-libm-test-out: Regenerated.
19916 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19917 (hypot_test_data): Likewise.
19918 (pow_test_data): Likewise.
19919 (pow_tonearest_test_data): Likewise.
19920 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19921 mpfr_ff_f.
19922 (func_calc_desc): Add mpfr_ff_f union field.
19923 (FUNC_mpfr_ff_f): New macro.
19924 (test_functions): Add atan2, hypot and pow.
19925 (special_fill_min): New function.
19926 (special_fill_minus_min): Likewise.
19927 (special_fill_min_subnorm): Likewise.
19928 (special_fill_minus_min_subnorm): Likewise.
19929 (special_real_inputs): Add min, -min, min_subnorm and
19930 -min_subnorm.
19931 (calc_generic_results): Handle mpfr_ff_f.
19932 * sysdeps/i386/fpu/libm-test-ulps: Update.
19933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19934
5764c27f
WN
199352013-12-16 Will Newton <will.newton@linaro.org>
19936
19937 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19938 (Aligned Memory Blocks): Add documentation for aligned_alloc
19939 and suggest it as an alternative to posix_memalign.
19940 (Hooks for Malloc): Document __memalign_hook is also called
19941 for aligned_alloc. (Summary of Malloc): Add summary for
19942 aligned alloc. Document __memalign_hook is also called
19943 for aligned_alloc.
19944
0a096e44
WN
199452013-12-16 Will Newton <will.newton@linaro.org>
19946
19947 * manual/memory.texi (Malloc Examples): Clarify default
19948 alignment documentation. Suggest posix_memalign rather
19949 than memalign or valloc.
19950 (Aligned Memory Blocks): Remove suggestion to use memalign
19951 or valloc. Remove obsolete comment about BSD.
19952 Document memalign errno values and mark the function obsolete.
19953 Document posix_memalign returned error codes. Mark valloc
19954 as obsolete. (Hooks for Malloc): __memalign_hook is also
19955 called for posix_memalign and valloc.
19956 (Summary of Malloc): Add posix_memalign to function summary.
19957 __memalign_hook is also called for posix_memalign and valloc.
19958
8d561986
SP
199592013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19960
19961 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19962 TAYLOR_SIN.
19963 (__sin): Adjust.
19964 (__cos): Likewise.
19965 (sloww): Use mynumber union. Expand ternary operator into
19966 if-else statements.
19967 (cslow): use mynumber union.
19968
73616a74
AM
199692013-12-16 Allan McRae <allan@archlinux.org>
19970
9e8ac24b
AM
19971 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19972 * configure: Regenerated.
19973
6f8e37eb
AM
19974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19975
8894bad3
AM
19976 [BZ #14120]
19977 * configure.ac: Added --enable-maintainer-mode. Check for
19978 autoconf when enabled.
19979 * configure: Regenerated.
19980
73616a74
AM
19981 * nscd/nscd.service: New file.
19982 * nscd/nscd.tmpfiles: New file.
19983
584b18eb
OB
199842013-12-14 Ondřej Bílka <neleai@seznam.cz>
19985
19986 [BZ #12100]
19987 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19988 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19989 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19990 (strstr): Add __strstr_sse2_unaligned ifunc.
19991 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19992 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19993 (strcasestr): Remove __strcasestr_sse42 ifunc.
19994 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19997
8a5c7897
KK
199982013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19999
20000 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20001 * sysdeps/sh/bits/fenv.h: ... here.
20002 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20003
fd712ef3
AZ
200042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20005
20006 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20007
42fcb46c
AZ
20008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20009 hypotf multiarch implementations.
20010 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20011 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20012 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20013 multiarch hypot for PPC64.
20014 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20015 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20016 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20017 multiarch hypotf for PPC64.
20018
83efded4
AZ
20019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20020 modff multiarch implementations.
20021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20024 multiarch modf for PPC64.
20025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20028 multiarch modff for PPC64.
20029
43e246d2
AZ
20030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20031 and logl multiarch implementations.
20032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20035 multiarch logb for PPC64.
20036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20039 multiarch logb for PPC64.
20040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20043 multiarch logb for PPC64.
20044
8fdad123
AZ
20045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20046 isinff multiarch implementation.
20047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20048 file.
20049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20051 multiarch isinf for PPC64.
20052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20053 file.
20054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20055 multiarch isinff for PPC64.
20056
1481d706
AZ
20057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20058 finitef multiarch implementation.
20059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20060 file.
20061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20063 multiarch finite for PPC64.
20064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20065 file.
20066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20067 multiarch finitef for PPC64.
20068
5ccd5fc8
AZ
20069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20070 lrint multiarch implementation.
20071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20072 file.
20073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20075 multiarch llrint for PPC64.
20076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20077 multiarch lrint for PPC64.
20078
2568f3fa
AZ
20079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20080 copysignf multiarch implementation.
20081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20082 file.
20083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20084 file.
20085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20086 multiarch copysign for PPC64.
20087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20088 multiarch copysignf for PPC64.
20089
1cb341fd
AZ
20090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20091 multiarch implementation.
20092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20093 file.
20094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20095 file.
20096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20097 file.
20098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20099 file.
20100 multiarch llround for PPC64.
20101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20102 multiarch trunc for PPC64.
20103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20104 multiarch truncf for PPC64.
20105
59a3e194
AZ
20106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20107 multiarch implementation.
20108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20109 file.
20110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20111 file.
20112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20113 file.
20114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20115 file.
20116 multiarch llround for PPC64.
20117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20118 multiarch round for PPC64.
20119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20120 multiarch roundf for PPC64.
20121
357fd3b4
AZ
20122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20123 multiarch implementation.
20124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20125 file.
20126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20127 file.
20128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20129 file.
20130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20131 file.
20132 multiarch llround for PPC64.
20133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20134 multiarch floor for PPC64.
20135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20136 multiarch floorf for PPC64.
20137
96770f12
AZ
20138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20139 multiarch implementation.
20140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20141 file.
20142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20143 file.
20144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20145 file.
20146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20147 file.
20148 multiarch llround for PPC64.
20149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20150 multiarch ceil for PPC64.
20151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20152 multiarch ceilf for PPC64.
20153
c3627f6e
AZ
20154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20155 multiarch implementation.
20156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20157 file.
20158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20159 file.
20160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20161 file.
20162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20163 multiarch llround for PPC64.
20164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20165 multiarch lround for PPC64.
20166
b2284ad7
AZ
20167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20168 multiarch implementation.
20169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20172 file.
20173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20176 multiarch isnan for PPC64.
20177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20178 multiarch isnanf for PPC64.
20179
69bbc63d
AZ
20180 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20181 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20182 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20183 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20184 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20186
c24517c9
AZ
20187 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20188 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20191
a52374e8
AZ
20192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20193 multiarch implementations.
20194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20195 (__libc_ifunc_impl_list): Likewise.
20196 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20197 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20198 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20199 multiarch stpcpy for PPC64.
20200
7f5ec113
AZ
20201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20202 multiarch implementations.
20203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20204 (__libc_ifunc_impl_list): Likewise.
20205 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20206 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20207 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20208 multiarch strcpy for PPC64.
20209
e28bcd42
AZ
20210 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20211 redefine function name.
20212 (_wordcopy_fwd_dest_aligned): Likewise.
20213 (_wordcopy_bwd_aligned): Likewise.
20214 (_wordcopy_bwd_dest_aligned): Likewise.
20215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20216 multiarch implementations.
20217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20218 (__libc_ifunc_impl_list): Likewise.
20219 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20220 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20221 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20222 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20223 multiarch wcscpy for PPC64.
20224
92cacfce
AZ
20225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20226 multiarch implementations.
20227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20228 (__libc_ifunc_impl_list): Likewise.
20229 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20230 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20231 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20232 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20233 multiarch wcscpy for PPC64.
20234
7b714620
AZ
20235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20236 multiarch implementations.
20237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20238 (__libc_ifunc_impl_list): Likewise.
20239 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20240 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20241 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20242 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20243 multiarch wcsrchr for PPC64.
20244
16fd2ae3
AZ
20245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20246 multiarch implementations.
20247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20248 (__libc_ifunc_impl_list): Likewise.
20249 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20250 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20251 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20252 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20253 multiarch wcschr for PPC64.
20254
9ee2969b
AZ
20255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20256 multiarch implementations.
20257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20258 (__libc_ifunc_impl_list): Likewise.
20259 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20260 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20261 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20262 multiarch strchrnul for PPC64.
20263
372dc060
AZ
20264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20265 implementations.
20266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20267 (__libc_ifunc_impl_list): Likewise.
20268 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20269 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20270 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20271 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20272 strchr for PPC64.
20273
24c2c3b9
AZ
20274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20275 implementations.
20276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20277 (__libc_ifunc_impl_list): Likewise.
20278 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20279 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20280 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20281 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20282 strncmp for PPC64.
20283
1c92d9a0
AZ
20284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20285 multiarch implementations.
20286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20287 (__libc_ifunc_impl_list): Likewise.
20288 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20289 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20290 strncasecmp for PPC64.
20291 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20292 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20293 multiarch strncasecmp_l for PPC64.
20294
17de3ee3
AZ
20295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20296 multiarch implementations.
20297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20298 (__libc_ifunc_impl_list): Likewise.
20299 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20301 multiarch strcasecmp for PPC64.
20302 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20303 file.
20304 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20305 multiarch strcasecmp_l for PPC64.
20306
62982bf9
AZ
20307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20308 implementations.
20309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20310 (__libc_ifunc_impl_list): Likewise.
20311 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20312 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20313 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20314 strnlen for PPC64.
20315
a65f4904
AZ
20316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20317 implementations.
20318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20319 (__libc_ifunc_impl_list): Likewise.
20320 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20321 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20322 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20323 strlen for PPC64.
20324
1fd005ad
AZ
20325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20326 implementations.
20327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20328 (__libc_ifunc_impl_list): Likewise.
20329 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20330 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20331 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20332 rawmemrchr for PPC64.
20333
cd05ba91
AZ
20334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20335 implementation.
20336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20337 (__libc_ifunc_impl_list): Likewise.
20338 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20339 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20340 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20341 memrchr for PPC64.
20342
870f8676
AZ
20343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20344 implementation.
20345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20346 (__libc_ifunc_impl_list): Likewise.
20347 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20348 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20349 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20350 memchr for PPC64.
20351
f00be62b
AZ
20352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20353 implementation.
20354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20355 (__libc_ifunc_impl_list): Likewise.
20356 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20357 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20358 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20359 mempcpy for PPC64.
20360
8a29a3d0
AZ
20361 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20362 avoid cretion of __bzero symbol.
20363 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20364 Likewise.
20365 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20366 Likewise.
20367 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20368 Likewise.
20369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20370 multiarch implementations.
20371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20372 (__libc_ifunc_impl_list): Likewise.
20373 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20374 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20375 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20376 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20377 bzero for PPC32.
20378 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20379 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20380 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20381 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20382 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20383 memset for PPC64.
20384 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20385
07253fcf
AZ
20386 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20388 implementations.
20389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20390 (__libc_ifunc_impl_list): Likewise.
20391 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20392 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20393 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20394 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20395 memcmp for PPC64.
20396
b5beafbc
AZ
20397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20398 multiarch for POWER/PPC64.
20399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20400 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20401 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20402 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20403 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20404 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20405 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20406 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20407 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20408 memcpy for PPC64.
20409
5e6a4d4b
AZ
20410 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20411 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20412 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20413 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20414 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20415 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20416 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20417 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20418 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20419 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20420 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20421 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20422 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20423 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20424 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20432
ddfab6dc
KK
204332013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20434
20435 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20436
19b5525e
SP
204372013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20438
20439 * benchtests/Makefile (bench): Add exp2 and log2.
20440 (LDLIBS-bench-exp2): Add -lm.
20441 (LDLIBS-bench-log2): Likewise.
20442 * benchtests/exp2-inputs: New inputs file.
20443 * benchtests/log2-inputs: New inputs file.
20444 * benchtests/log-inputs: Add new inputs.
20445 * benchtests/tan-inputs: Likewise.
20446
196f7f5d
SP
204472013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20448
7a74607f
SP
20449 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20450 definition...
57f41c40
AS
20451 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20452 (csloww2): ... from here.
7a74607f 20453
196f7f5d
SP
20454 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20455 instead of structures.
20456 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20457 (POLYNOMIAL): Likewise.
20458 (TAYLOR_SLOW): Likewise.
20459 (__sin): Likewise.
20460 (__cos): Likewise.
20461 (slow1): Likewise.
20462 (slow2): Likewise.
20463 (sloww): Likewise.
20464 (sloww1); Likewise.
20465 (sloww2): Likewise.
20466 (bsloww1): Likewise.
20467 (bsloww2): Likewise.
20468 (cslow2): Likewise.
20469 (csloww): Likewise.
20470 (csloww1): Likewise.
20471 (csloww2): Likewise.
20472
0dfa665c
OB
204732013-12-10 Ondřej Bílka <neleai@seznam.cz>
20474
20475 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20476 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20477 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20478 * malloc/hooks.c (realloc_check): Likewise.
20479
5782a80f
OB
20480 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20481 * malloc/arena.c: Remove PER_THREAD conditional.
20482 [!PER_THREAD]: Remove code.
20483 (ptmalloc_unlock_all2): Likewise.
20484 (ptmalloc_init): Likewise.
20485 (_int_new_arena): Likewise.
20486 (arena_get2): Likewise.
20487 * malloc/hooks.c (__malloc_get_state): Likewise.
20488 (__malloc_set_state): Likewise.
20489 * malloc/malloc.c: Likewise.
20490 (struct malloc_state): Likewise.
20491 (struct malloc_par): Likewise.
20492 (__libc_realloc): Likewise.
20493 (__libc_mallopt): Likewise.
20494
aeb95445
AZ
204952013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20496
20497 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20498
e8349efd
OB
204992013-12-09 Ondřej Bílka <neleai@seznam.cz>
20500
20501 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20502 macro to a function. Check for zero perturb_byte.
20503 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20504
f3eeb3fc 20505 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20506 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20507 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20508 force_reg by atomic_forced_read.
20509 * malloc/arena.c (ptmalloc_init): Likewise.
20510 * malloc/hooks.c (top_check): Likewise.
20511
be2f9009
AZ
205122013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20513
20514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20515
e7b914bd
MT
205162013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20517
20518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20519
9f0be4f8
JM
205202013-12-08 Joseph Myers <joseph@codesourcery.com>
20521
20522 * math/auto-libm-test-in: Add tests of lgamma.
20523 * math/auto-libm-test-out: Regenerated.
20524 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20525 (M_LOG_2_SQRT_PIl): Likewise.
20526 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20527 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20528 mpfr_f_f1.
20529 (func_calc_desc): Add mpfr_f_f1 union field.
20530 (ARGS1): New macro.
20531 (ARGS2): Likewise.
20532 (ARGS3): Likewise.
20533 (ARGS4): Likewise.
20534 (RET1): Likewise.
20535 (RET2): Likewise.
20536 (CALC): Likewise.
20537 (FUNC): Likewise.
20538 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20539 (test_functions): Add lgamma.
20540 (calc_generic_results): Handle mpfr_f_f1.
20541 * sysdeps/i386/fpu/libm-test-ulps: Update.
20542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20543
24eeafdb
AZ
205442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20545
20546 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20547 __mpn_add_n for PowerPC64/POWER7.
20548 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20549 __mpn_sub_n for PowerPC64/POWER7.
20550
4a2c0fd4
AZ
20551 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20552 __mpn_addmul_1 for PowerPC64.
20553 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20554 __mpn_submul_1 for PowerPC64.
20555 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20556 for PowerPC64.
20557 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20558 for PowerPC64.
20559
4b5b548c
FS
205602013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20561
20562 [BZ #15089]
20563 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20564
0a3ac0aa
AZ
205652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20566
20567 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20568
ccdc8438
AZ
20569 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20570 add multiarch folders.
20571 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20572 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20573 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20574 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20575 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20576 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20577 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20578 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20579 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20580 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20581 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20588
2e973d99
AZ
20589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20590 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20592 New file.
20593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20594 New file.
20595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20596 multiarch __ieee754_hypot for PowerPC32.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20598 New file.
20599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20600 New file.
20601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20602 multiarch __ieee754_hypotf for PowerPC32.
20603
2d9470b2
AZ
20604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20605 long_double_symbol only if __logbl is defined.
20606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20607 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20609 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20610 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20611 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20613 path for implementation.
20614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20617 logb, and logbl multiarch implementations for PowerPC32.
20618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20619 file.
20620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20621 file.
20622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20623 multiarch logb for PowerPC32.
20624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20625 file.
20626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20627 file.
20628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20629 multiarch logbf for PowerPC32.
20630 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20632 file.
20633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20634 multiarch logbl implementation for PowerPC32.
20635
5212ffce
AZ
20636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20637 and modff multiarch implementations.
20638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20639 New file.
20640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20641 New file.
20642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20643 multiarch modf for PowerPC32.
20644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20645 New file.
20646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20647 New file.
20648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20649 multiarch modff for PowerPC32.
20650
79dccf31
AZ
20651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20652 and lrintf multiarch implementations.
20653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20654 New file.
20655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20656 New file.
20657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20658 multiarch lrint for PowerPC32.
20659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20660 file: multiarch lrintf for PowerPC32.
20661
deb66480
AZ
20662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20663 and lroundf multiarch implementations.
20664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20665 New file.
20666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20667 New file.
20668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20669 New file.
20670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20671 multiarch lround for PowerPC32.
20672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20673 file: multiarch lroundf for PowerPC32.
20674
264b036b
AZ
20675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20676 copysign and copysignf multiarch implementations.
20677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20678 New file.
20679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20680 New file.
20681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20682 file: multiarch copysign for PowerPC32.
20683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20684 file: multiarch copysignf for PowerPC32.
20685
d47db6c9
AZ
20686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20687 and truncf multiarch implementations.
20688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20689 New file.
20690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20691 file.
20692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20693 multiarch trunc for PowerPC32.
20694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20695 New file.
20696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20697 New file.
20698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20699 multiarch truncf for PowerPC32.
20700
ddb60b5a
AZ
20701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20702 and roundf multiarch implementations.
20703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20704 New file.
20705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20706 file.
20707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20708 multiarch round for PowerPC32.
20709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20710 New file.
20711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20712 New file.
20713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20714 multiarch roundf for PowerPC32.
20715
bedcf49b
AZ
20716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20717 and floorf multiarch implementations.
20718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20719 New file.
20720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20721 file.
20722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20723 multiarch floor for PowerPC32.
20724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20725 New file.
20726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20727 New file.
20728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20729 multiarch floorf for PowerPC32.
20730
35ae5b40
AZ
20731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20732 and ceilf multiarch implementations.
20733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20734 New file.
20735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20736 file.
20737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20738 multiarch ceil for PowerPC32.
20739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20740 New file.
20741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20742 file.
20743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20744 multiarch ceilf for PowerPC32.
20745
ae1a4cd9
AZ
20746 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20747 is defined.
20748 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20749 FINITEF is defined.
20750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20751 and finitef multiarch implementations.
20752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20753 New file.
20754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20755 file.
20756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20757 multiarch finite for PowerPC32.
20758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20759 New file.
20760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20761 file: multiarch finitef for PowerPC32.
20762
64fffd65
AZ
20763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20764 and isinff multiarch implementations.
20765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20766 file.
20767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20768 file.
20769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20770 multiarch isinf for PowerPC32.
20771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20772 New file.
20773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20774 multiarch isinff for PowerPC32.
20775
8e4e7ba2
AZ
20776 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20777 alias when __isnan is defined.
20778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20779 and isnanf multiarch implementations.
20780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20781 file.
20782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20783 file.
20784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20785 file.
20786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20787 file.
20788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20789 multiarch isnan for PowerPC32.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20791 New file.
20792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20793 New file.
20794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20795 multiarch isnanf for PowerPC32.
20796
ddba588e
AZ
20797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20798 and sqrtf multiarch implementations.
20799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20800 file.
20801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20802 file.
20803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20804 multiarch sqrt for PowerPC32.
20805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20806 file.
20807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20808 file.
20809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20810 multiarch sqrtf for PowerPC32.
20811
0f96a2f0
AZ
20812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20813 and llroundf multiarch implementations.
20814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20815 New file.
20816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20817 New file.
20818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20819 New file.
20820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20821 file: multiarch llround for PowerPC32.
20822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20823 file: multiarch llroundf for PowerPC32.
20824
c9b5d79e
AZ
20825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20826 multiarch PowerPC32 fpu implementations.
20827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20828 New file.
20829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20830 New file.
20831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20832 multiarch llrint for PowerPC32.
20833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20834 New file.
20835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20836 New file.
20837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20838 file.
20839
9cbb3aab
AZ
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20841
ea5a72f8
AZ
20842 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20843 file.
20844 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20845 file.
20846 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20847 file.
20848 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20849 multiarch wordcopy for PPC32.
20850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20851 wordcopy objects.
20852 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20853 (__libc_ifunc_impl_list): Likewise.
20854 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20855 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20856 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20857 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20858 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20859 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20860
93be09e7
AZ
20861 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20863 file.
20864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20865 file.
20866 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20867 file.
20868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20869 multiarch wcscpy for PPC32.
20870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20871 multiarch objects.
20872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20873 (__libc_ifunc_impl_list): Likewise.
20874 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20875 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20876 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20877 sysdeps/powerpc/power6/wcscpy.c.
20878
bb04e529
AZ
20879 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20880 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20881 file.
20882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20883 file.
20884 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20885 file.
20886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20887 multiarch wcsrchr for PPC32.
20888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20889 multiarch objects.
20890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20891 (__libc_ifunc_impl_list): Likewise.
20892 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20893 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20894 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20895 sysdeps/powerpc/power6/wcsrchr.c.
20896
05b5cd1c
AZ
20897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20898 file.
20899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20900 file.
20901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20902 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20903 multiarch wcschr for PPc32.
20904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20905 multiarch objects.
20906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20907 (__libc_ifunc_impl_list): Likewise.
20908 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20909 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20910 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20911 sysdeps/powerpc/power6/wcschr.c.
20912
ba964147
AZ
20913 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20914 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20915 file.
20916 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20917 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20918 file: multiarch strchr for PPC32.
20919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20920 multiarch objects.
20921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20922 (__libc_ifunc_impl_list): Likewise.
20923
31c81aaa
AZ
20924 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20925 name.
20926 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20927 file.
20928 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20929 file.
20930 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20931 multiarch strchrnul for PPC32.
20932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20933 multiarch objects.
20934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20935 (__libc_ifunc_impl_list): Likewise.
20936
0d0607d9
AZ
20937 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20938 file.
20939 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20940 multiarch strncasecmp for PPC32.
20941 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20942 file.
20943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20944 multiarch strncasecmp_l for PPC32.
20945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20946 strncasecmp multiarch objects.
20947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20948 (__libc_ifunc_impl_list): Likewise.
20949
4dfd5c86
AZ
20950 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20951 file.
20952 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20953 multiarch strncasecmp for PPC32.
20954 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20955 New file.
20956 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20957 multiarch strcasecmp_l for PPC32.
20958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20959 multiarch objects.
20960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20961 (__libc_ifunc_impl_list): Likewise.
20962
a19e01a3
AZ
20963 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20964 file.
20965 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20966 file.
20967 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20968 multiarch strncmp for PPC32.
20969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20970 multiarch objects.
20971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20972 (__libc_ifunc_impl_list): Likewise.
20973
ae9cf7a2
AZ
20974 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20975 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20976 file.
20977 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20978 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20980 multiarch objects.
20981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20982 (__libc_ifunc_impl_list): Likewise.
20983
3148bb7d
AZ
20984 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20985 file.
20986 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20987 file.
20988 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20990 multiarch objects.
20991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20992 (__libc_ifunc_impl_list): Likewise.
20993
7af8b946
AZ
20994 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20995 file.
20996 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20997 file.
20998 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20999 multiarch rawmemchr for PPC32.
21000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21001 multiarch objects.
21002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21003 (__libc_ifunc_impl_list): Likewise.
21004
03a6aa6a
AZ
21005 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21006 file.
21007 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21008 file.
21009 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21010 file: memrchr multiarch for PPC32.
21011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21012 multiarch objects.
21013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21014 (__libc_ifunc_impl_list): Likewise.
21015
1c62e6d9
AZ
21016 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21017 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21018 file.
21019 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21020 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21021 multiarch memchr for PPC32.
21022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21023 multiarch objects.
21024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21025 (__libc_ifunc_impl_list): Likewise.
21026
87da8bdb
AZ
21027 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21028 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21029 file.
21030 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21031 file.
21032 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21033 file: multiarch mempcpy for PPC32.
21034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21035 multiarch objects.
21036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21037 (__libc_ifunc_impl_list): Likewise.
21038
20ed4714
AZ
21039 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21040 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21041 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21042 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21043 multiarch bzero for PPC32.
21044 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21045 file.
21046 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21047 file.
21048 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21049 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21050 file: multiarch memset for PPC32.
21051 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21053 memset multiarch objects.
21054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21055 (__libc_ifunc_impl_list): Likewise.
21056
ab3e3a46
AZ
21057 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21058 file.
21059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21060 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21061 memcmp for PPC32.
21062 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21064 multiarch objects.
21065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21066 (__libc_ifunc_impl_list): Likewise.
21067
930de6f0
AZ
21068 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21069 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21071 file.
21072 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21073 file.
21074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21075 file.
21076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21077 multiarch memcpy for PPC32.
21078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21079 multiarch objects.
21080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21081 (__libc_ifunc_impl_list): Likewise.
21082
4c628e00
AZ
21083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21084 support multiarch for POWER/PPC32.
21085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21086 Likewise.
21087 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21089 Implies file to make multiarch folder appers before the fpu and
21090 default folder for power4 configuration.
21091
f4479220
SP
210922013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21093
21094 * scripts/bench.pl: Append volatile keyword to type.
21095
8517800f
KK
210962013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21097
21098 * sysdeps/sh/sotruss-lib.c: New file.
21099 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21100
180138f1
AZ
211012013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21102
21103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21104
bbf37bdc
JM
211052013-12-05 Joseph Myers <joseph@codesourcery.com>
21106
e47cc4e0
JM
21107 [BZ #6810]
21108 * math/w_tgamma.c: Include <errno.h>.
21109 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21110 * math/w_tgammaf.c: Include <errno.h>.
21111 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21112 * math/w_tgammal.c: Include <errno.h>.
21113 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21114 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21115 underflow. Add more tgamma tests.
21116 * math/auto-libm-test-out: Regenerated.
21117 * sysdeps/i386/fpu/libm-test-ulps: Update.
21118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21119
bbf37bdc
JM
21120 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21121 sin, sinh, tan, tanh, tgamma, y0 and y1.
21122 * math/auto-libm-test-out: Regenerated.
21123 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21124 (TEST_COND_x86): Likewise.
21125 (M_E2l): Remove macro.
21126 (M_E3l): Likewise.
21127 (M_2_SQRT_PIl): Likewise.
21128 (M_SQRT_PIl): Likewise.
21129 (M_1_DIV_El): Likewise.
21130 (log_test_data): Use AUTO_TESTS_f_f.
21131 (log10_test_data): Likewise.
21132 (log1p_test_data): Likewise.
21133 (log2_test_data): Likewise.
21134 (sin_test_data): Likewise.
21135 (sin_tonearest_test_data): Likewise.
21136 (sin_towardzero_test_data): Likewise.
21137 (sin_downward_test_data): Likewise.
21138 (sin_upward_test_data): Likewise.
21139 (sinh_test_data): Likewise.
21140 (sinh_tonearest_test_data): Likewise.
21141 (sinh_towardzero_test_data): Likewise.
21142 (sinh_downward_test_data): Likewise.
21143 (sinh_upward_test_data): Likewise.
21144 (tan_test_data): Likewise.
21145 (tan_tonearest_test_data): Likewise.
21146 (tan_towardzero_test_data): Likewise.
21147 (tan_downward_test_data): Likewise.
21148 (tan_upward_test_data): Likewise.
21149 (tanh_test_data): Likewise.
21150 (tgamma_test_data): Likewise.
21151 (y0_test_data): Likewise.
21152 (y1_test_data): Likewise.
21153 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21154 (special_real_inputs): Add pi/4.
21155 * sysdeps/i386/fpu/libm-test-ulps: Update.
21156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21157
eb5ad6b9
AZ
211582013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21159
21160 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21161 "longjmp_target" static probes.
21162 (__longjmp): Rename to __longjmp_symbol.
21163 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21164 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21165 on which longjmp to generate.
21166 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21167 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21168 probe.
21169 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21170 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21171 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21172 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21173 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21174 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21176 __longjmp_symbol based on which __longjmp to generate.
21177 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21178 probe.
21179 (setjmp): Rename to setjmp_symbol.
21180 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21181 (_setjmp): Rename to _setjmp_symbol.
21182 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21183 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21184 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21185 which setjmp to generate.
21186 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21187 "longjmp_target" static probes.
21188
d136c6dc
SP
211892013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21190
9298ecba
SP
21191 * benchtests/README: Add note about output arguments.
21192 * benchtests/bench-sincos.c: Remove file.
21193 * benchtests/sincos-inputs: New file.
21194 * scripts/bench.pl: Identify output arguments and define
21195 static variables for them.
21196
232983e9
SP
21197 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21198
d136c6dc
SP
21199 [BZ #15941]
21200 * Makefile (INSTALL): Add install-plain.texi as the primary
21201 dependency.
21202 * manual/install-plain.texi: New file.
21203 * manual/install.texi: Include node directive only for
21204 non-plaintext output.
21205
699ff837
JM
212062013-12-04 Joseph Myers <joseph@codesourcery.com>
21207
ab07cea8
JM
21208 * stdlib/longlong.h: Update from GCC.
21209
699ff837
JM
21210 [BZ #6807]
21211 [BZ #15901]
21212 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21213 * math/w_j0f.c (y0f): Likewise.
21214 * math/w_j0l.c (__y0l): Likewise.
21215 * math/w_j1.c (y1): Likewise.
21216 * math/w_j1f.c (y1f): Likewise.
21217 * math/w_j1l.c (__y1l): Likewise
21218 * math/w_jn.c (yn): Likewise.
21219 * math/w_jnf.c (ynf): Likewise.
21220 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21221 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21222 value for Bessel function domain errors outside _SVID_ mode.
21223 Adjust sign of return value for yn (negative integer, 0).
21224 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21225 by zero in return for negative x and set sign appropriately for
21226 negative n.
21227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21228 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21229 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21230 expectations in error cases.
21231 (y1_test_data): Likewise.
21232 (yn_test_data): Likewise.
21233 * sysdeps/i386/fpu/libm-test-ulps: Update.
21234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21235
5b118558
UW
212362013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21237
21238 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21239 "64" to "64-v1". Add "64-v2".
21240 (abi-64-options): Rename to ...
21241 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21242 (abi-64-condition): Rename to ...
21243 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21244 (abi-64-ld-soname): Rename to ...
21245 (abi-64-v1-ld-soname): ... this.
21246 (abi-64-v2-options): Define.
21247 (abi-64-v2-condition): Likewise.
21248 (abi-64-v2-ld-soname): Likewise.
21249 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21250 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21254
61cd8fe4
UW
212552013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21256 Alan Modra <amodra@gmail.com>
21257
21258 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21259 New versions for use with the ELFv2 ABI.
21260 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21261 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21262 declaration.
21263 (struct La_ppc64v2_retval): Likewise.
21264 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21265 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21266 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21267 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21268 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21269 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21270 Do not save or restore CR.
21271 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21272 (_dl_profile_resolve): Do no save or restore CR. Support extended
21273 return values for ELFv2 ABI. Fix location of FPR return registers.
21274 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21275 updated values for _CALL_ELF == 2.
21276 (La_regs, La_retval, int_retval): Likewise.
21277
8b8a692c
UW
212782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21279
21280 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21281 (FRAME_MIN_SIZE_PARM): Likewise.
21282 (FRAME_BACKCHAIN): Likewise.
21283 (FRAME_CR_SAVE): Likewise.
21284 (FRAME_LR_SAVE): Likewise.
21285 (FRAME_TOC_SAVE): Likewise.
21286 (FRAME_PARM_SAVE): Likewise.
21287 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21288 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21289 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21290 (call_mcount_parm_offset): New macro.
21291 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21292 (PROF): Use symbolic stack frame offsets.
21293 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21294 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21295 Redefine in terms of FRAME_MIN_SIZE.
21296 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21297 (_dl_profile_resolve): Likewise. Update comment.
21298 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21299 symbols stack frame offsets.
21300 (__sigsetjmp): Likewise.
21301 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21302 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21303 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21304 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21305
21306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21307 (FRAME_BACKCHAIN): Remove.
21308 (FRAME_CR_SAVE): Likewise.
21309 (FRAME_LR_SAVE): Likewise.
21310 (FRAME_COMPILER_DW): Likewise.
21311 (FRAME_LINKER_DW): Likewise.
21312 (FRAME_TOC_SAVE): Likewise.
21313 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21314 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21315 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21316 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21318 (CHECK_SP): Use symbolic stack frame offsets.
21319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21320 zone" instead of caller's parameter save area for temp storage.
21321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21322 Likewise. Also, use symbolic stack frame offsets.
21323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21324 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21325 our own stack frame instead of the caller's.
21326 (__socket): Use symbolic stack frame offsets.
21327
122b66de
UW
213282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21329 Alan Modra <amodra@gmail.com>
21330
21331 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21332 Define.
57f41c40
AS
21333 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21334 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21335 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21336 New function.
21337 (elf_machine_fixup_plt): Call it.
21338 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21339 reloc arguments.
21340 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21341 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21342 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21343 r2 before calling target.
21344
696caf1d
UW
213452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21346 Alan Modra <amodra@gmail.com>
21347
21348 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21349 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21350 versions of macros to support ELFv2 ABI.
21351 (LOCALENTRY): New macro.
21352 (ENTRY, EALIGN): Use it.
21353 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21354 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21355 fall through into ENTRY entry point.
21356 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21357 Only define if _CALL_ELF != 2.
21358
21359 (elf_machine_matches_host): Verify ABI version matches.
21360 (RTLD_START): Use LOCALENTRY.
21361 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21362 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21363 (PLT_ENTRY_WORDS): New macro.
21364 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21365 (elf_machine_runtime_setup): Support ELFv2 ABI.
21366 (elf_machine_fixup_plt): Likewise.
21367 (elf_machine_plt_conflict): Likewise.
21368 (resolve_ifunc): Likewise.
21369 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21370 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21371 Likewise.
21372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21373 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21375 (makecontext): Support ELFv2 ABI.
21376 * elf/elf.h (EF_PPC64_ABI): Define.
21377
d31beafa
UW
213782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21379
57f41c40
AS
21380 * sysdeps/powerpc/powerpc64/sysdep.h
21381 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21382 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21383 (ENTRY) [ASSEMBLER]: ... but instead here ...
21384 (EALIGN) [ASSEMBLER]: ... and here.
21385 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21386 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21387 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21388 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21389 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21390 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21391 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21392 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21394 Use PPC64_LOAD_FUNCPTR.
21395
b525166b
UW
21396 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21397
7ec07d9a
AM
213982013-12-04 Alan Modra <amodra@gmail.com>
21399
21400 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21401 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21402 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21403 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21404
21405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21406 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21407 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21408 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21409 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21410 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21411
5162e7dd
UW
214122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21413
21414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21415 (__makecontext): Fix incorrect CFI when backtracing out of
21416 context created via makecontext.
21417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21418 (__setcontext): Fix incorrect CFI during switch to new context.
21419 (__novec_setcontext): Likewise.
21420
19e3372b
OB
214212013-12-04 Ondřej Bílka <neleai@seznam.cz>
21422
21423 [BZ #4772]
21424 * time/strptime_l.c (__strptime_internal): Allow modifiers
21425 in strptime.
21426 * time/tst-strptime.c (day_tests): Add testcase.
21427
ecaf142d
SP
214282013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21429
21430 * scripts/bench.pl: Skip over blank lines.
21431
fbf964ae
PE
214322013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21433
21434 [BZ #926]
21435 * manual/time.texi (Calendar Time): Clarify what timezone functions
21436 use.
21437
fa60a674
AZ
214382013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21439
21440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21441
d674f0ef
OB
214422013-12-04 Ondřej Bílka <neleai@seznam.cz>
21443
21444 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21445 implementation.
21446 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21447 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21448 * debug/memset_chk.c (__memset_chk): Likewise.
21449 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21450 * debug/strncpy_chk.c: Likewise.
21451
17dea188
JM
214522013-12-03 Joseph Myers <joseph@codesourcery.com>
21453
749008ff
JM
21454 [BZ #15268]
21455 [BZ #15425]
21456 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21457 (__ieee754_exp): For possibly underflowing results, check size of
21458 result and force underflow exception if required.
21459 * math/auto-libm-test-in: Add more tests of exp.
21460 * math/auto-libm-test-out: Regenerated.
21461 * sysdeps/i386/fpu/libm-test-ulps: Update.
21462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21463
17dea188
JM
21464 [BZ #16283]
21465 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21466 * math/w_exp2f.c (__exp2f): Likewise.
21467 * math/w_exp2l.c (__exp2l): Likewise.
21468 * math/auto-libm-test-in: Do not allow missing errno on exp2
21469 underflow.
21470 * math/auto-libm-test-out: Regenerated.
21471
b20de2c3
OB
214722013-12-03 Ondřej Bílka <neleai@seznam.cz>
21473
21474 [BZ #16274]
21475 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21476 handle filename validation.
21477 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21478 (do_open): Delete.
21479
d8e2dbe3
JM
214802013-12-03 Joseph Myers <joseph@codesourcery.com>
21481
34e16df5
JM
21482 [BZ #6786]
21483 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21484 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21485 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21486 <float.h>.
21487 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21488 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21489 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21490 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21491 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21492 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21493 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21494 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21495 Add more erfc tests.
21496 * math/auto-libm-test-out: Regenerated.
21497 * sysdeps/i386/fpu/libm-test-ulps: Update.
21498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21499
d8e2dbe3
JM
21500 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21501 exp2, expm1, j0 and j1.
21502 * math/auto-libm-test-out: Regenerated.
21503 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21504 (erfc_test_data): Likewise.
21505 (exp_test_data): Likewise.
21506 (exp_tonearest_test_data): Likewise.
21507 (exp_towardzero_test_data): Likewise.
21508 (exp_downward_test_data): Likewise.
21509 (exp_upward_test_data): Likewise.
21510 (exp10_test_data): Likewise.
21511 (exp2_test_data): Likewise.
21512 (expm1_test_data): Likewise.
21513 (j0_test_data): Likewise.
21514 (j1_test_data): Likewise.
21515 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21516 (input_flag_type): Add flag_xfail_rounding.
21517 (input_flags): Add xfail-rounding.
21518 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21519 (output_for_one_input_case): Handle flag_xfail_rounding.
21520 * sysdeps/i386/fpu/libm-test-ulps: Update.
21521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21522
18d14251
AJ
215232013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21524
3d2e6075 21525 [BZ #16289]
18d14251
AJ
21526 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21527 division by 0.
21528
520d437b
SP
215292013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21530
21531 [BZ #16195]
21532 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21533 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21534 (STAP_PROBE0): New macro.
21535 (STAP_PROBE1): Likewise.
21536 (STAP_PROBE2): Likewise.
21537 (STAP_PROBE3): Likewise.
21538 (STAP_PROBE4): Likewise.
21539
416e0145
OB
215402013-12-02 Ondřej Bílka <neleai@seznam.cz>
21541
21542 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21543
9d17796a
SE
215442013-12-02 Steve Ellcey <sellcey@mips.com>
21545
21546 * benchtests/Makefile (bench): Add sqrt.
21547 (LDLIBS-bench-sqrt): New.
21548 * benchtests/sqrt-input: New.
21549
f524d6a8
PS
215502013-12-02 Pavel Simerda <psimerda@redhat.com>
21551
639a0ef8
PS
21552 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21553 (GAIH_EAI): Likewise.
21554 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21555 (gaih_inet): Likewise.
21556 (getaddrinfo): Don't use GAIH_EAI.
21557
f524d6a8
PS
21558 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21559 (struct gaih): Remove definition.
21560
df3aedaf
SP
215612013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21562
21563 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21564 Use HERRNOP directly.
21565
1ab19dec
AZ
215662013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21567
b42ad38d 21568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21569
176b0c79
JM
215702013-11-30 Joseph Myers <joseph@codesourcery.com>
21571
21572 * math/gen-auto-libm-tests.c (test_functions): Add more
21573 single-argument functions.
21574 (special_fill_pi_2): New function.
21575 (special_fill_minus_pi_2): Likewise.
21576 (special_fill_pi_6): Likewise.
21577 (special_fill_minus_pi_6): Likewise.
21578 (special_fill_pi_3): Likewise.
21579 (special_fill_2pi_3): Likewise.
21580 (special_fill_e): Likewise.
21581 (special_fill_1_e): Likewise.
21582 (special_fill_e_minus_1): Likewise.
21583 (special_real_inputs): Add more special inputs.
21584 (output_for_one_input_case): Do not require ERANGE on underflow to
21585 zero if round-to-nearest result does not underflow to zero, unless
21586 exact results required.
21587 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21588 atan, atanh, cbrt, cos and cosh.
21589 * math/auto-libm-test-out: Regenerated.
21590 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21591 (acos_tonearest_test_data): Likewise.
21592 (acos_towardzero_test_data): Likewise.
21593 (acos_downward_test_data): Likewise.
21594 (acos_upward_test_data): Likewise.
21595 (acosh_test_data): Likewise.
21596 (asin_test_data): Likewise.
21597 (asin_tonearest_test_data): Likewise.
21598 (asin_towardzero_test_data): Likewise.
21599 (asin_upward_test_data): Likewise.
21600 (asinh_test_data): Likewise.
21601 (atan_test_data): Likewise.
21602 (atanh_test_data): Likewise.
21603 (cbrt_test_data): Likewise.
21604 (cos_test_data): Likewise.
21605 (cos_tonearest_test_data): Likewise.
21606 (cos_towardzero_test_data): Likewise.
21607 (cos_downward_test_data): Likewise.
21608 (cos_upward_test_data): Likewise.
21609 (cosh_test_data): Likewise.
21610 (cosh_tonearest_test_data): Likewise.
21611 (cosh_towardzero_test_data): Likewise.
21612 (cosh_downward_test_data): Likewise.
21613 (cosh_upward_test_data): Likewise.
21614 * sysdeps/i386/fpu/libm-test-ulps: Update.
21615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21616
ffb536d0
JM
216172013-11-29 Joseph Myers <joseph@codesourcery.com>
21618
2a77a467
JM
21619 [BZ #6787]
21620 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21621 * math/w_exp10f.c (__exp10f): Likewise.
21622 * math/w_exp10l.c (__exp10l): Likewise.
21623 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21624 errno settings in existing tests.
21625
ea3bc4e8
JM
21626 [BZ #14032]
21627 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21628 precision control set to double precision.
21629 * sysdeps/i386/fpu/w_sqrt.c: New file.
21630 * math/auto-libm-test-in: Add more tests.
21631 * math/auto-libm-test-out: Update.
21632
0712c9d8
JM
21633 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21634 (sqrt_test_tonearest): New function.
21635 (sqrt_towardzero_test_data): New variable.
21636 (sqrt_test_towardzero): New function.
21637 (sqrt_downward_test_data): New variable.
21638 (sqrt_test_downward): New function.
21639 (sqrt_upward_test_data): New variable.
21640 (sqrt_test_upward): New function.
21641 (main): Call the new functions.
21642
ffb536d0
JM
21643 * math/gen-auto-libm-tests.c: New file.
21644 * math/auto-libm-test-in: Likewise.
21645 * math/auto-libm-test-out: New generated file.
21646 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21647 variables.
21648 (%beautify): Add generated representations of zero.
21649 (top level): Set $auto_input and call parse_auto_input.
21650 (beautify): Remove trailing "f" from hex float constants.
21651 (parse_args): Handle XFAIL_TEST.
21652 (convert_condition): New function.
21653 (or_value): Likewise.
21654 (or_cond_value): Likewise.
21655 (generate_testfile): Handle AUTO_TESTS_* lines.
21656 (parse_auto_input): New function.
21657 * math/libm-test.inc (XFAIL_TEST): New macro.
21658 (ERRNO_UNCHANGED): Update value.
21659 (ERRNO_EDOM): Likewise.
21660 (ERRNO_ERANGE): Likewise.
21661 (IGNORE_RESULT): Likewise.
21662 (TEST_COND_flt_32): New macro.
21663 (TEST_COND_dbl_64): Likewise.
21664 (TEST_COND_ldbl_96_intel): Likewise.
21665 (TEST_COND_ldbl_96_m68k): Likewise.
21666 (TEST_COND_ldbl_128): Likewise.
21667 (TEST_COND_ldbl_128ibm): Likewise.
21668 (TEST_COND_long32): Likewise.
21669 (TEST_COND_long64): Likewise.
21670 (TEST_COND_before_rounding): Likewise.
21671 (TEST_COND_after_rounding): Likewise.
21672 (enable_test): Handle XFAIL_TEST flag.
21673 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21674 with finite results.
21675 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21676 auto-libm-test-out.
21677
acd98a8e
AK
216782013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21679 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21680
21681 [BZ #16214]
21682 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21683 __tls_get_addr_internal instead of __tls_get_offset in order to
21684 avoid GOT pointer dependency. Make rtld export
21685 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21686 __tls_get_addr since we are a __tls_get_offset platform.
21687 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21688 GOT pointer being set up before.
21689 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21690
3c1c46a6
JM
216912013-11-28 Joseph Myers <joseph@codesourcery.com>
21692
7475aef5
JM
21693 * manual/math.texi (Errors in Math Functions): Document accuracy
21694 goals.
21695
8bca7cd8
JM
21696 [BZ #15004]
21697 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21698 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21700 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21701 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21702 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21703 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21709 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21710 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21713
91a1f3fe
JM
21714 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21715 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21716 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21717 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21718 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21719 Likewise.
21720 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21721 Likewise.
21722 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21723 Likewise.
21724 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21725 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21726 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21727 atomic-feupdateenv and flt-rounds.
21728 * sysdeps/powerpc/nofpu/Versions (libc): Add
21729 __atomic_feholdexcept, __atomic_feclearexcept,
21730 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21731 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21732 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21733 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21734 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21735 here.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21737 Update.
21738
c5df7609
JM
21739 * manual/arith.texi (FP Exceptions): Document that exceptions may
21740 not be raised when matherr is used.
21741 (Math Error Reporting): Document overflow in directed rounding
21742 modes. Document that errno may not be set when finite values are
21743 returned on overflow. Document intent to set errno on underflow
21744 only for underflow to zero.
21745
3c1c46a6
JM
21746 [BZ #16271]
21747 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21748 round-to-nearest then adjust result for other rounding modes.
21749 * include/fenv.h (fegetround): Use libm_hidden_proto.
21750 * math/fegetround.c (fegetround): Use libm_hidden_def.
21751 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21752 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21753 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21754 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21755 Likewise.
21756 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21757 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21758 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21759 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21760
5a4c6d53
SP
217612013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21762
21763 [BZ #16077]
21764 * nss/Versions (libnss_files): Add
21765 _nss_files_gethostbyname3_r.
21766 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21767 New function.
21768 (HOST_DB_LOOKUP): Remove macro.
21769 (_nss_files_gethostbyname_r): Implement function without the
21770 HOST_DB_LOOKUP macro.
21771 (_nss_files_gethostbyname2_r): Likewise.
21772
897b98ba
OB
217732013-11-28 Ondřej Bílka <neleai@seznam.cz>
21774
21775 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21776
6f476861
UB
217772013-11-26 Uros Bizjak <ubizjak@gmail.com>
21778
21779 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21780 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21781 warning.
21782
bd12ab55
AZ
217832013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21784
21785 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21786 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21787 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21788 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21789 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21790 __fe_nomask_env_priv and attribute_hidden.
21791 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21792 (libc_feupdateenv_test_ppc): Likewise.
21793 (libc_feresetround_ppc): Likewise.
21794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21795 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21796 compat_symbol macro.
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21798 (__fe_nomask_env): Likewise.
21799 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21800
52bb6543
OB
218012013-11-26 Ondřej Bílka <neleai@seznam.cz>
21802
21803 * string/Makefile: Remove ifunc tests.
21804 * string/test-string.h: Define TEST_IFUNC.
21805 * string/test-bcopy-ifunc.c: Remove.
21806 * string/test-bzero-ifunc.c: Likewise.
21807 * string/test-memccpy-ifunc.c: Likewise.
21808 * string/test-memchr-ifunc.c: Likewise.
21809 * string/test-memcmp-ifunc.c: Likewise.
21810 * string/test-memcpy-ifunc.c: Likewise.
21811 * string/test-memmem-ifunc.c: Likewise.
21812 * string/test-memmove-ifunc.c: Likewise.
21813 * string/test-mempcpy-ifunc.c: Likewise.
21814 * string/test-memrchr-ifunc.c: Likewise.
21815 * string/test-memset-ifunc.c: Likewise.
21816 * string/test-rawmemchr-ifunc.c: Likewise.
21817 * string/test-stpcpy-ifunc.c: Likewise.
21818 * string/test-stpncpy-ifunc.c: Likewise.
21819 * string/test-strcasecmp-ifunc.c: Likewise.
21820 * string/test-strcasestr-ifunc.c: Likewise.
21821 * string/test-strcat-ifunc.c: Likewise.
21822 * string/test-strchr-ifunc.c: Likewise.
21823 * string/test-strchrnul-ifunc.c: Likewise.
21824 * string/test-strcmp-ifunc.c: Likewise.
21825 * string/test-strcpy-ifunc.c: Likewise.
21826 * string/test-strcspn-ifunc.c: Likewise.
21827 * string/test-strlen-ifunc.c: Likewise.
21828 * string/test-strncasecmp-ifunc.c: Likewise.
21829 * string/test-strncat-ifunc.c: Likewise.
21830 * string/test-strncmp-ifunc.c: Likewise.
21831 * string/test-strncpy-ifunc.c: Likewise.
21832 * string/test-strnlen-ifunc.c: Likewise.
21833 * string/test-strpbrk-ifunc.c: Likewise.
21834 * string/test-strrchr-ifunc.c: Likewise.
21835 * string/test-strspn-ifunc.c: Likewise.
21836 * string/test-strstr-ifunc.c: Likewise.
21837
ab260039 218382013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21839
21840 * benchtests/Makefile: Remove ifunc tests.
21841 * benchtests/bench-string.h: Define TEST_IFUNC.
21842 * benchtests/bench-bcopy-ifunc.c: Remove.
21843 * benchtests/bench-bzero-ifunc.c: Likewise.
21844 * benchtests/bench-memccpy-ifunc.c: Likewise.
21845 * benchtests/bench-memchr-ifunc.c: Likewise.
21846 * benchtests/bench-memcmp-ifunc.c: Likewise.
21847 * benchtests/bench-memcpy-ifunc.c: Likewise.
21848 * benchtests/bench-memmem-ifunc.c: Likewise.
21849 * benchtests/bench-memmove-ifunc.c: Likewise.
21850 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21851 * benchtests/bench-memrchr-ifunc.c: Likewise.
21852 * benchtests/bench-memset-ifunc.c: Likewise.
21853 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21854 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21855 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21856 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21857 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21858 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21859 * benchtests/bench-strcat-ifunc.c: Likewise.
21860 * benchtests/bench-strchr-ifunc.c: Likewise.
21861 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21862 * benchtests/bench-strcmp-ifunc.c: Likewise.
21863 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21864 * benchtests/bench-strcpy-ifunc.c: Likewise.
21865 * benchtests/bench-strcspn-ifunc.c: Likewise.
21866 * benchtests/bench-strlen-ifunc.c: Likewise.
21867 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21868 * benchtests/bench-strncat-ifunc.c: Likewise.
21869 * benchtests/bench-strncmp-ifunc.c: Likewise.
21870 * benchtests/bench-strncpy-ifunc.c: Likewise.
21871 * benchtests/bench-strnlen-ifunc.c: Likewise.
21872 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21873 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21874 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21875 * benchtests/bench-strspn-ifunc.c: Likewise.
21876 * benchtests/bench-strstr-ifunc.c: Likewise.
21877
218782013-11-26 Ondřej Bílka <neleai@seznam.cz>
21879
ab260039
OB
21880 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21881
d1d9eaf4 218822013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21883
d1d9eaf4
OB
21884 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21885 * rt/aio.h: Likewise.
21886 * sysdeps/gnu/bits/utmp.h: Likewise.
21887 * sysdeps/gnu/bits/utmpx.h: Likewise.
21888 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21889 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21890 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21891 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21892 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21893 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21894 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21895 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21896 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21897 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21898 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21899 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21900 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21902 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21903 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21904 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21905 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21906 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21907 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21908 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21909 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21910 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21911 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21912 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21914 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21915 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21916 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21917 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21918 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21919 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21920 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21921 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21922 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21923 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21924 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21925 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21926 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21927 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21928 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21929 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21930
a7624ed9
CD
219312013-11-25 Carlos O'Donell <carlos@redhat.com>
21932
21933 [BZ #16245]
21934 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21935 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21936
63cfe52b
JM
219372013-11-25 Joseph Myers <joseph@codesourcery.com>
21938
21939 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21940 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21941 Likewise.
21942
41e8926a
AZ
219432013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21944
21945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21946 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21947 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21948 (__fesetround): Remove define.
21949 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21950 rounding and exceptions handling.
21951 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21952 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21953 (__fe_nomask_env): Likewise.
21954 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21955 __fegetround instead of fegetround.
21956 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21957 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21958
6851bd4d
RM
219592013-11-21 Roland McGrath <roland@hack.frob.com>
21960
070906ff
RM
21961 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21962 it's there.
21963
6851bd4d
RM
21964 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21965
84ae135d
MI
219662013-11-21 Meador Inge <meadori@codesourcery.com>
21967
21968 [BZ #11157]
21969 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21970 (encrypt_r): Likewise.
21971 * malloc/obstack.h (obstack_free): Likewise.
21972 * posix/unistd.h (encrypt): Likewise.
21973
daf75146
GM
219742013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21975
21976 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21977 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21978 DL_CALL_DT_FINI() that call the functions directly.
21979 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21980 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21981 * elf/dl-fini.c: Likewise.
21982
10ad46bc
OB
219832013-11-20 Ondřej Bílka <neleai@seznam.cz>
21984
21985 * malloc/hooks.c (memalign_check): Add alignment rounding.
21986 * malloc/malloc.c (_mid_memalign): New function.
21987 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21988 Implement by calling _mid_memalign.
21989 * manual/probes.texi (Memory Allocation Probes): Remove
21990 memory_valloc_retry and memory_pvalloc_retry.
21991
f3fd2628
SP
219922013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21993
4712799f
SP
21994 * locale/programs/locarchive.c (open_archive): Add const
21995 qualifier to ARCHIVEFNAME and copy default fname to
21996 DEFAULT_FNAME.
21997
0417b20f
SP
21998 [BZ #15601]
21999 * libio/tst-widetext.input: Rename Oriya to Odia.
22000 * locale/iso-639.def: Likewise.
22001
f3fd2628
SP
22002 * manual/probes.texi (Mathematical Function Probes): Add
22003 documentation for sin, cos, asin and acos probes.
22004 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22005 (__sin32): Add slowasin probe.
22006 (__cos32): Add slowacos probe.
22007 (__mpsin): Add slowsin probe.
22008 (__mpcos): Add slowcos probe.
22009
73c1ce4f
JM
220102013-11-19 Joseph Myers <joseph@codesourcery.com>
22011
22012 [BZ #15483]
22013 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22014 thread-local __sim_exceptions_thread and global
22015 __sim_exceptions_global.
22016 (__sim_disabled_exceptions): Change to thread-local
22017 __sim_disabled_exceptions_thread and global
22018 __sim_disabled_exceptions_global.
22019 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22020 and global __sim_round_mode_global.
22021 (__simulate_exceptions): Use thread-local floating-point state and
22022 set global state from it as needed.
22023 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22024 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22025 __sim_round_mode_thread.
22026 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22027 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22028 and global __sim_exceptions_global.
22029 (__sim_disabled_exceptions): Change to thread-local
22030 __sim_disabled_exceptions_thread and global
22031 __sim_disabled_exceptions_global.
22032 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22033 and global __sim_round_mode_global.
22034 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22035 (SIM_SET_GLOBAL): Likewise.
22036 * sysdeps/powerpc/soft-fp/sfp-machine.h
22037 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22038 __sim_round_mode_thread.
22039 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22040 __sim_disabled_exceptions_thread.
22041 (__sim_exceptions): Change to __sim_exceptions_thread.
22042 (__sim_disabled_exceptions): Change to
22043 __sim_disabled_exceptions_thread.
22044 (__sim_round_mode): Change to __sim_round_mode_thread.
22045 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22046 thread-local floating-point state and set global state from it as
22047 needed.
22048 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22049 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22050 (__sim_disabled_exceptions): Remove extern declaration.
22051 (feenableexcept): Use thread-local floating-point state and set
22052 global state from it as needed.
22053 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22054 extern declaration.
22055 (__sim_disabled_exceptions): Likewise.
22056 (__sim_round_mode): Likewise.
22057 (__fegetenv): Use thread-local floating-point state.
22058 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22059 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22060 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22061 floating-point state and set global state from it as needed.
22062 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22063 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22064 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22065 Likewise.
22066 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22067 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22068 Likewise.
22069 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22070 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22071 Use __sim_round_mode_thread.
22072 * math/test-fenv-tls.c: New file.
22073 * math/Makefile (tests): Add test-fenv-tls.
22074 ($(objpfx)test-fenv-tls): Depend on
22075 $(common-objpfx)nptl/libpthread.so.
22076
b5449b12
AS
220772013-11-19 Andreas Schwab <schwab@suse.de>
22078
22079 * locale/programs/locale.c (show_info): Decode wordarray elements.
22080 * locale/categories.def (LC_MONETARY): Add element for
22081 _NL_MONETARY_CRNCYSTR.
22082 * locale/C-monetary.c (conversion_rate): New variable.
22083 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22084 element.
22085
e186536b
CM
220862013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22087
22088 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22089 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22090
5c349950
PP
220912013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22092
22093 * elf/Makefile (tst-auxv): New test.
22094 * elf/tst-auxv.c: New
22095 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22096
699df45b
JM
220972013-11-18 Joseph Myers <joseph@codesourcery.com>
22098
22099 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22100 (hidden_proto): Caller changed.
22101 (hidden_tls_proto): New macro.
22102 (libc_hidden_tls_proto): Likewise.
22103 (rtld_hidden_tls_proto): Likewise.
22104 (libm_hidden_tls_proto): Likewise.
22105 (libresolv_hidden_tls_proto): Likewise.
22106 (librt_hidden_tls_proto): Likewise.
22107 (libdl_hidden_tls_proto): Likewise.
22108 (libnss_files_hidden_tls_proto): Likewise.
22109 (libnsl_hidden_tls_proto): Likewise.
22110 (libnss_nisplus_hidden_tls_proto): Likewise.
22111 (libutil_hidden_tls_proto): Likewise.
22112
b7589107
OB
221132013-11-18 Ondřej Bílka <neleai@seznam.cz>
22114
22115 [BZ #10253]
22116 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22117 (decompose_rpath): Defer expansion to fillin_rpath.
22118 (_dl_init_paths): Pass linkmap to fillin_rpath.
22119
250c23bd
RS
221202013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22121
22122 * benchtests/Makefile: Add strsep.
22123 * benchtests/bench-strsep.c: New file: strsep benchtest.
22124 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22125
a7931fcf
AS
221262013-11-18 Andreas Schwab <schwab@suse.de>
22127
22128 * locale/programs/locale.c (show_info) [case byte]: Check for
22129 '\377' instead of '\177'.
22130 * locale/C-monetary.c (not_available): Always use "\377".
22131 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22132 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22133 detect unavailable sign_posn locale elements.
22134 * locale/localeconv.c (__localeconv): For grouping and
22135 mon_grouping handle "\177" and "\377" like no grouping.
22136 (INT_ELEM): New macro. Use it to set all numeric members.
22137 * locale/programs/ld-monetary.c (monetary_read)
22138 <tok_mon_grouping>: Normalize single -1 to the empty string.
22139 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22140 Likewise.
22141
728dab0e
OB
221422013-11-07 Ondřej Bílka <neleai@seznam.cz>
22143
22144 [BZ #16055]
22145 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22146 when we match (nil).
22147 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22148
66294491
JM
221492013-11-16 Joseph Myers <joseph@codesourcery.com>
22150
ce665817
JM
22151 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22152 (NO_TEST_INLINE): Update value.
22153 (ERRNO_UNCHANGED): Likewise.
22154 (ERRNO_EDOM): Likewise.
22155 (ERRNO_ERANGE): Likewise.
22156 (IGNORE_RESULT): Likewise.
22157 (check_float_internal): Check signs of NaN results if
22158 TEST_NAN_SIGN used.
22159 (check_complex): Pass TEST_NAN_SIGN flag through to second
22160 check_float_internal call.
22161 (copysign_test_data): Add tests with quiet NaNs as second
22162 argument. Use TEST_NAN_SIGN.
22163 (fabs_test_data): Add test of negative quiet NaN argument. Use
22164 TEST_NAN_SIGN.
22165 (signbit_test_data): Add tests of quiet NaN argument.
22166 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22167
ee1466a9
JM
22168 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22169 $ignore_result.
22170 (parse_args): Handle function results specified as IGNORE.
22171 * math/libm-test.inc (IGNORE_RESULT): New macro.
22172 (check_float_internal): Do not check numerical result if flag
22173 IGNORE_RESULT set.
22174 (check_complex): Pass through IGNORE_RESULT to second
22175 check_float_internal call.
22176 (check_int): Do not check numerical result if flag IGNORE_RESULT
22177 set.
22178 (check_long): Likewise.
22179 (check_bool): Likewise.
22180 (check_longlong): Likewise.
22181 (lrint_test_data): Add tests of infinite and NaN arguments.
22182 (lrint_tonearest_test_data): Likewise.
22183 (lrint_towardzero_test_data): Likewise.
22184 (lrint_downward_test_data): Likewise.
22185 (lrint_upward_test_data): Likewise.
22186 (llrint_test_data): Likewise.
22187 (llrint_tonearest_test_data): Likewise.
22188 (llrint_towardzero_test_data): Likewise.
22189 (llrint_downward_test_data): Likewise.
22190 (llrint_upward_test_data): Likewise.
22191 (lround_test_data): Likewise.
22192 (llround_test_data): Likewise.
22193
14407b7e
JM
22194 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22195 (ERRNO_UNCHANGED): Update value.
22196 (ERRNO_EDOM): Likewise.
22197 (ERRNO_ERANGE): Likewise.
22198 (NO_TEST_INLINE_FLOAT): New macro.
22199 (NO_TEST_INLINE_DOUBLE): Likewise.
22200 (enable_test): New function.
22201 (RUN_TEST_f_f): Check enable_test before running test.
22202 (RUN_TEST_2_f): Likewise.
22203 (RUN_TEST_fff_f): Likewise.
22204 (RUN_TEST_c_f): Likewise.
22205 (RUN_TEST_f_f1): Likewise.
22206 (RUN_TEST_fF_f1): Likewise.
22207 (RUN_TEST_fI_f1): Likewise.
22208 (RUN_TEST_ffI_f1): Likewise.
22209 (RUN_TEST_c_c): Likewise.
22210 (RUN_TEST_cc_c): Likewise.
22211 (RUN_TEST_f_i): Likewise.
22212 (RUN_TEST_f_i_tg): Likewise.
22213 (RUN_TEST_ff_i_tg): Likewise.
22214 (RUN_TEST_f_b): Likewise.
22215 (RUN_TEST_f_b_tg): Likewise.
22216 (RUN_TEST_f_l): Likewise.
22217 (RUN_TEST_f_L): Likewise.
22218 (RUN_TEST_fFF_11): Likewise.
22219 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22220 conditionals.
22221 (cosh_test_data): Likewise.
22222 (exp_test_data): Likewise.
22223 (expm1_test_data): Likewise.
22224 (hypot_test_data): Likewise.
22225 (pow_test_data): Likewise.
22226 (sinh_test_data): Likewise.
22227 (tanh_test_data): Likewise.
22228 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22229 flags argument.
22230
ca07f197
JM
22231 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22232 tests with quiet NaN input and output.
22233 (acosh_test_data): Likewise.
22234 (asin_test_data): Likewise.
22235 (asinh_test_data): Likewise.
22236 (atan_test_data): Likewise.
22237 (atanh_test_data): Likewise.
22238 (atan2_test_data): Likewise.
22239 (cbrt_test_data): Likewise.
22240 (cos_test_data): Likewise.
22241 (cosh_test_data): Likewise.
22242 (erf_test_data): Likewise.
22243 (erfc_test_data): Likewise.
22244 (exp_test_data): Likewise.
22245 (exp10_test_data): Likewise.
22246 (exp2_test_data): Likewise.
22247 (expm1_test_data): Likewise.
22248 (hypot_test_data): Likewise.
22249 (j0_test_data): Likewise.
22250 (j1_test_data): Likewise.
22251 (jn_test_data): Likewise.
22252 (lgamma_test_data): Likewise.
22253 (log_test_data): Likewise.
22254 (log10_test_data): Likewise.
22255 (log1p_test_data): Likewise.
22256 (log2_test_data): Likewise.
22257 (pow_test_data): Likewise.
22258 (scalb_test_data): Likewise.
22259 (sin_test_data): Likewise.
22260 (sincos_test_data): Likewise.
22261 (sinh_test_data): Likewise.
22262 (tan_test_data): Likewise.
22263 (tanh_test_data): Likewise.
22264 (tgamma_test_data): Likewise.
22265 (y0_test_data): Likewise.
22266 (y1_test_data): Likewise.
22267 (yn_test_data): Likewise.
22268
66294491
JM
22269 [BZ #16167]
22270 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22271 argument being NaN and avoid computations with second argument in
22272 that case.
22273 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22274 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22275 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22276
1820b143
CL
222772013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22278
22279 * locale/iso-639.def: Add Chitwani Tharu (the).
22280
714bd261
AS
222812013-11-14 Andreas Schwab <schwab@suse.de>
22282
22283 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22284 word instead of empty string.
22285
7ab44563
AZ
222862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22287
22288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22289 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22291 (__fe_nomask_env): Likewise.
22292
e8470ea2
SE
222932013-11-13 Steve Ellcey <sellcey@mips.com>
22294
22295 * benchtests/bench-timing.h: Include time.h.
22296
17c1d9f0
L
222972013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 [BZ #15997]
22300 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22301 to 3.4.0 for x32.
22302 * sysdeps/unix/sysv/linux/configure: Regenerated.
22303
9310c284
JM
223042013-11-13 Joseph Myers <joseph@codesourcery.com>
22305
22306 [BZ #16151]
22307 * stdlib/strtod_l.c (round_and_return): Do not consider
22308 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22309 exponent one less than half the least subnormal exponent.
22310 * stdlib/test-strtod-round-data: Add more tests.
22311 * stdlib/tst-strtod-round.c (tests): Regenerated.
22312
7a2ad8cf
AZ
223132013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22314
22315 [BZ #14143]
22316 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22317 (__fe_mask_env): Likewise.
22318 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22319 libm_hidden_proto and add function prototype.
22320 (__fe_mask_env): Add function prototype.
22321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22322 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22324 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22326 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22327
50727aa7
MS
223282013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22329
b2f386c1 22330 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22331 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22332
a615be46
MS
223332013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22334
22335 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22336 of htab_find_slot().
22337
7ddace62
DM
223382013-11-11 David S. Miller <davem@davemloft.net>
22339
22340 [BZ #16150]
22341 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22342 symbol in the non-vis3 case in static builds.
22343 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22344 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22345 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22346 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22347
9182aa67
JK
223482013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22349
22350 [BZ #387]
22351 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22352 it is empty.
22353
450a2e2d
AZ
223542013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22355
b2f386c1
SP
22356 * benchtests/Makefile: Add bench-strtod.
22357 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22358
8ec3f656
AS
223592013-11-11 Andreas Schwab <schwab@suse.de>
22360
22361 [BZ #16153]
22362 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22363 terminating NUL in key length.
22364
76a9b998
AZ
223652013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22366
22367 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22368 Add artificial ODP entry for vDSO symbol for PPC64.
22369 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22370 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22371
e4368156
OB
223722013-11-07 Ondřej Bílka <neleai@seznam.cz>
22373
22374 [BZ #15374]
22375 * nss/getent.c (services_keys): Recognize services starting with digit.
22376
8d6bb57c
DM
223772013-11-06 David S. Miller <davem@davemloft.net>
22378
22379 [BZ #15985]
22380 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22381 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22382
e256c421
WN
223832013-11-06 Will Newton <will.newton@linaro.org>
22384
22385 * manual/memory.texi (Malloc Examples): Remove register
22386 keyword from examples.
22387
f6e12daa 223882013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22389
f6e12daa 22390 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22391
9d880655
AS
223922013-11-04 Joseph Myers <joseph@codesourcery.com>
22393
fd2f9486 22394 [BZ #6981]
9d880655
AS
22395 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22396 depending on [__GCC_IEC_559 > 0].
22397 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22398 depending on [__GCC_IEC_559_COMPLEX > 0].
22399
ae129d3c
CL
224002013-11-03 Chris Leonard <cjl@sugarlabs.org>
22401
22402 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22403 to iso-639.def.
22404
4a15c2a4 224052013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22406
22407 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22408
8b35e35d
OB
224092013-11-01 Ondřej Bílka <neleai@seznam.cz>
22410
22411 [BZ #16112]
22412 * malloc/malloc (malloc_info): Do not handle first bin as
22413 special case.
22414
1d70fd6c
CL
224152013-11-01 Chris Leonard <cjl@sugarlabs.org>
22416
22417 * locale/iso-639.def: Add Central Nahuatl (nhn).
22418
8c5c2600
BH
224192013-11-01 Bruno Haible <bruno@clisp.org>
22420
22421 [BZ #7003]
22422 * manual/math.texi (BSD Random): Specify range upper bound as
22423 in POSIX.
22424
da5579c2
CL
224252013-10-31 Chris Leonard <cjl@sugarlabs.org>
22426
22427 * locale/iso-639.def: Add Meadow Mari (mhr).
22428
5d30d853
OB
224292013-10-31 Ondřej Bílka <neleai@seznam.cz>
22430
22431 [BZ #14752], [BZ #15763]
22432 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22433 Validate name.
22434 * rt/tst_shm.c: Add test for escaping directory.
22435
a4966c61
AS
224362013-10-31 Andreas Schwab <schwab@suse.de>
22437
8a43e768 22438 [BZ #15917]
a4966c61
AS
22439 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22440 followed by 'x' as part of digit sequence.
22441 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22442
28d708c4
MAP
224432013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22444
22445 [BZ #16037]
22446 * configure.ac: allow GNU Make 4.0 and greater.
22447 * configure: Regenerated.
22448
a56ee40b
WN
224492013-10-30 Will Newton <will.newton@linaro.org>
22450
22451 [BZ #16038]
22452 * malloc/hooks.c (memalign_check): Limit alignment to the
22453 maximum representable power of two.
22454 * malloc/malloc.c (__libc_memalign): Likewise.
22455 * malloc/tst-memalign.c (do_test): Add test for very
22456 large alignment values.
22457 * malloc/tst-posix_memalign.c (do_test): Likewise.
22458
c6e4925d
OB
224592013-10-30 Ondřej Bílka <neleai@seznam.cz>
22460
22461 [BZ #11087]
22462 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22463 (munmap_chunk): Likewise.
22464 (mremap_chunk): Likewise.
22465
224662013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22467
8a43e768 22468 [BZ #15799]
bbea82f7
OB
22469 * stdlib/div.c (div): Remove obsolete code.
22470 * stdlib/ldiv.c (ldiv): Likewise.
22471 * stdlib/lldiv.c (lldiv): Likewise.
22472
977f4b31
SP
224732013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22474
22475 [BZ #16071]
22476 * nss/nss_files/files-XXX.c (get_contents_ret): New
22477 enumerator.
22478 (get_contents): New function.
22479 (internal_getent): Use it. Expand size of LINEBUFLEN.
22480
cb8a6dbd
MF
224812013-10-30 Mike Frysinger <vapier@gentoo.org>
22482
22483 * configure.in: Moved to ...
22484 * configure.ac: ... here. Change reference to configure.in
22485 to configure.ac.
22486 * sysdeps/arm/preconfigure.ac: ... here.
22487 configure.in to configure.ac.
22488 * sysdeps/gnu/configure.in: Moved to ...
22489 * sysdeps/gnu/configure.ac: ... here.
22490 * sysdeps/i386/configure.in: Moved to ...
22491 * sysdeps/i386/configure.ac: ... here.
22492 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22493 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22494 * sysdeps/mach/configure.in: Moved to ...
22495 * sysdeps/mach/configure.ac: ... here.
22496 * sysdeps/mach/hurd/configure.in: Moved to ...
22497 * sysdeps/mach/hurd/configure.ac: ... here.
22498 * sysdeps/powerpc/configure.in: Moved to ...
22499 * sysdeps/powerpc/configure.ac: ... here.
22500 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22501 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22502 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22503 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22504 * sysdeps/s390/s390-32/configure.in: Moved to ...
22505 * sysdeps/s390/s390-32/configure.ac: ... here.
22506 * sysdeps/s390/s390-64/configure.in: Moved to ...
22507 * sysdeps/s390/s390-64/configure.ac: ... here.
22508 * sysdeps/sh/configure.in: Moved to ...
22509 * sysdeps/sh/configure.ac: ... here.
22510 * sysdeps/sparc/configure.in: Moved to ...
22511 * sysdeps/sparc/configure.ac: ... here.
22512 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22513 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22514 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22515 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22516 * sysdeps/x86_64/configure.in: Moved to ...
22517 * sysdeps/x86_64/configure.ac: ... here.
22518 * sysdeps/x86_64/preconfigure.in: Moved to ...
22519 * sysdeps/x86_64/preconfigure.ac: ... here.
22520 * aclocal.m4: Change reference to configure.in to configure.ac.
22521 * config.h.in: Likewise.
22522 * manual/install.texi: Likewise.
22523 * manual/maint.texi: Likewise.
22524 * Makefile: Likewise.
22525 * malloc/Makefile: Likewise.
22526 * nscd/Makefile: Likewise.
22527 * Makeconfig: Change reference to configure.in and
22528 preconfigure.in to configure.ac and preconfigure.ac
22529 respectively.
22530 * INSTALL: Regenerated.
22531 * configure: Likewise.
22532 * sysdeps/gnu/configure: Likewise.
22533 * sysdeps/i386/configure: Likewise.
22534 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22535 * sysdeps/mach/configure: Likewise.
22536 * sysdeps/mach/hurd/configure: Likewise.
22537 * sysdeps/powerpc/configure: Likewise.
22538 * sysdeps/powerpc/powerpc32/configure: Likewise.
22539 * sysdeps/powerpc/powerpc64/configure: Likewise.
22540 * sysdeps/s390/s390-32/configure: Likewise.
22541 * sysdeps/s390/s390-64/configure: Likewise.
22542 * sysdeps/sh/configure: Likewise.
22543 * sysdeps/sparc/configure: Likewise.
22544 * sysdeps/unix/sysv/linux/configure: Likewise.
22545 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22546 * sysdeps/x86_64/configure: Likewise.
22547 * sysdeps/x86_64/preconfigure: Likewise.
22548
36a4953a
AS
225492013-10-29 Andreas Schwab <schwab@suse.de>
22550
22551 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22552
c79a1204
SP
225532013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22554
dfa1b402
SP
22555 * benchtests/pow-inputs: Add new inputs.
22556
54f73d9c
SP
22557 * benchtests/exp-inputs: Add new inputs.
22558
c79a1204
SP
22559 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22560 conditional check for return value.
22561 (__cos32): Likewise.
22562
67beb545 225632013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22564
22565 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22566 to provide a boost for large inputs with word alignment.
22567 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22568 implementation based on optimized PPC64 strcpy.
22569 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22570 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22571 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22572 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22573
151659f6
OB
225742013-10-25 Ondřej Bílka <neleai@seznam.cz>
22575
482a077e 22576 [BZ #2801]
151659f6
OB
22577 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22578
10b0f26b
OB
225792013-10-25 Ondřej Bílka <neleai@seznam.cz>
22580
22581 [BZ #14876]
22582 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22583 * time/tst-strptime.c (day_tests): Add testcase.
22584
ca42d35e
OB
225852013-10-25 Ondřej Bílka <neleai@seznam.cz>
22586
482a077e 22587 [BZ #14029]
ca42d35e
OB
22588 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22589
52e6d801
FB
225902013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22591
22592 [BZ #16074]
22593 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22594 MAP_FAILED on error.
22595
7cbcdb36
SP
225962013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22597
22598 [BZ #16072]
22599 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22600 heap for large requests.
22601
894f3f10
AM
226022013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22603
22604 [BZ #9954]
22605 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22606 result if the result has no associated interface.
22607 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22608 interface for all 127.X.Y.Z addresses.
22609
b85545a6
CL
226102013-10-24 Chris Leonard <cjl@sugarlabs.org>
22611
22612 * locale/iso-639.def: Add Ligurian (lij)
22613
d1f23d46
OB
226142013-10-21 Ondřej Bílka <neleai@seznam.cz>
22615
22616 [BZ #15825]
22617 * sunrpc/rpc_main.c: Document rpcgen -5.
22618
4db5b08f
MS
226192013-10-19 Michael Stahl <mstahl@redhat.com>
22620
22621 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22622
a471e96a
OB
226232013-10-19 Ondřej Bílka <neleai@seznam.cz>
22624
d1f23d46 22625 [BZ #10278]
a471e96a
OB
22626 * posix/glob.c: Match only directories when trailing slash is present.
22627 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22628 (main): Add testcase.
22629
45c30c61
OB
226302013-10-19 Ondřej Bílka <neleai@seznam.cz>
22631
22632 [BZ #15670]
22633 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22634
484c12fb
CD
226352013-10-18 Carlos O'Donell <carlos@redhat.com>
22636
3d7dc513
CD
22637 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22638 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22639 AUTH_DES and cindex for FIPS 140-2.
22640 (DES Encryption): Add cindex FIPS 46-3.
22641
484c12fb
CD
22642 * locale/locarchive.h (struct locarhandle): Add fname.
22643 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22644 if an optional argument was specified to --list-archive,
22645 otherwise NULL.
22646 * locale/programs/locarchive.c (show_archive_content): Take new
22647 argument fname and pass it via ah.fname to open_archive.
22648 * locale/programs/localedef.h: Update decl.
22649 (open_archive): If AH->fname is non-null, open that file
22650 rather than the default file name, and don't ignore ENOENT.
22651 (create_archive): Set AH.fname to NULL.
22652 (delete_locales_from_archive): Likewise.
22653 (add_locales_to_archive): Likewise.
22654 * locale/programs/locfile.c (write_all_categories): Likewise.
22655
3c8325fb
JM
226562013-10-18 Joseph Myers <joseph@codesourcery.com>
22657 Aldy Hernandez <aldyh@redhat.com>
22658
22659 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22660 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22661 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22662 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22663 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22664 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22665 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22666 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22667 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22668 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22669 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22670 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22671 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22672 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22673 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22674 Likewise.
22675 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22676 Likewise.
22677 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22678 Likewise.
22679 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22680 Likewise.
22681 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22682 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22683 Likewise.
22684 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22685 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22686 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22687 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22688 Likewise.
22689 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22690 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22691 * sysdeps/powerpc/preconfigure: Likewise.
22692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22693 Likewise.
22694 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22695 Replace contents of file by #include of <fenv_libc.h>.
22696 * sysdeps/powerpc/soft-fp/sfp-machine.h
22697 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22698 and <sys/prctl.h>.
22699 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22700 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22701 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22702 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22703 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22704 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22706 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22712 Allow copysignl PLT reference to be missing.
22713
5abe0682
RS
227142013-10-18 Richard Sandiford <richard@codesourcery.com>
22715 Joseph Myers <joseph@codesourcery.com
22716
22717 [BZ #15948]
22718 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22719 single character.
22720 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22721
c7738d08
SP
227222013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22723
22724 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22725 * elf/tst-tls1.c: Likewise.
22726 * elf/tst-tls10.h: Likewise.
22727 * elf/tst-tls14.c: Likewise.
22728 * elf/tst-tls2.c: Likewise.
22729 * elf/tst-tls3.c: Likewise.
22730 * elf/tst-tls4.c: Likewise.
22731 * elf/tst-tls5.c: Likewise.
22732 * elf/tst-tls6.c: Likewise.
22733 * elf/tst-tls7.c: Likewise.
22734 * elf/tst-tls8.c: Likewise.
22735 * elf/tst-tls9.c: Likewise.
22736 * elf/tst-tlsmod1.c: Likewise.
22737 * elf/tst-tlsmod13.c: Likewise.
22738 * elf/tst-tlsmod13a.c: Likewise.
22739 * elf/tst-tlsmod14a.c: Likewise.
22740 * elf/tst-tlsmod16a.c: Likewise.
22741 * elf/tst-tlsmod16b.c: Likewise.
22742 * elf/tst-tlsmod2.c: Likewise.
22743 * elf/tst-tlsmod3.c: Likewise.
22744 * elf/tst-tlsmod4.c: Likewise.
22745 * elf/tst-tlsmod5.c: Likewise.
22746 * elf/tst-tlsmod6.c: Likewise.
22747
0bfcf2c7
OB
227482013-10-18 Ondřej Bílka <neleai@seznam.cz>
22749
22750 [BZ #12486]
22751 * malloc/malloc.c: remove checks for statistics.
22752
264aad1e
OB
227532013-10-17 Ondřej Bílka <neleai@seznam.cz>
22754
22755 [BZ #15277]
22756 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22757 * inet/tst-network.c: Add testcase.
22758
b957ced8
AS
227592013-10-17 Andreas Schwab <schwab@suse.de>
22760
22761 [BZ #15218]
22762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22763 to determine canonical name.
22764
c5d5d574
OB
227652013-10-17 Ondřej Bílka <neleai@seznam.cz>
22766
22767 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22768 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22782 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22786 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22787 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22790 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22791 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22792 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22793 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22794 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22797 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22802 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22804 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22805 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22807 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22808 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22809 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22810 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22812 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22815 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22816 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22817 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22818 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22819 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22820 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22822 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22825
e5c2c2d0
JM
228262013-10-17 Joseph Myers <joseph@codesourcery.com>
22827
22828 [BZ #16041]
22829 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22830 make result into a quiet NaN.
22831
51ca9e29
JM
228322013-10-16 Joseph Myers <joseph@codesourcery.com>
22833
22834 * soft-fp/adddf3.c: Fix horizontal whitespace.
22835 * soft-fp/addsf3.c: Likewise.
22836 * soft-fp/addtf3.c: Likewise.
22837 * soft-fp/divdf3.c: Likewise.
22838 * soft-fp/divsf3.c: Likewise.
22839 * soft-fp/divtf3.c: Likewise.
22840 * soft-fp/double.h: Likewise.
22841 * soft-fp/eqdf2.c: Likewise.
22842 * soft-fp/eqsf2.c: Likewise.
22843 * soft-fp/eqtf2.c: Likewise.
22844 * soft-fp/extenddftf2.c: Likewise.
22845 * soft-fp/extended.h: Likewise.
22846 * soft-fp/extendsfdf2.c: Likewise.
22847 * soft-fp/extendsftf2.c: Likewise.
22848 * soft-fp/extendxftf2.c: Likewise.
22849 * soft-fp/fixdfdi.c: Likewise.
22850 * soft-fp/fixdfsi.c: Likewise.
22851 * soft-fp/fixdfti.c: Likewise.
22852 * soft-fp/fixsfdi.c: Likewise.
22853 * soft-fp/fixsfsi.c: Likewise.
22854 * soft-fp/fixsfti.c: Likewise.
22855 * soft-fp/fixtfdi.c: Likewise.
22856 * soft-fp/fixtfsi.c: Likewise.
22857 * soft-fp/fixtfti.c: Likewise.
22858 * soft-fp/fixunsdfdi.c: Likewise.
22859 * soft-fp/fixunsdfsi.c: Likewise.
22860 * soft-fp/fixunsdfti.c: Likewise.
22861 * soft-fp/fixunssfdi.c: Likewise.
22862 * soft-fp/fixunssfsi.c: Likewise.
22863 * soft-fp/fixunssfti.c: Likewise.
22864 * soft-fp/fixunstfdi.c: Likewise.
22865 * soft-fp/fixunstfsi.c: Likewise.
22866 * soft-fp/fixunstfti.c: Likewise.
22867 * soft-fp/floatdidf.c: Likewise.
22868 * soft-fp/floatdisf.c: Likewise.
22869 * soft-fp/floatditf.c: Likewise.
22870 * soft-fp/floatsidf.c: Likewise.
22871 * soft-fp/floatsisf.c: Likewise.
22872 * soft-fp/floatsitf.c: Likewise.
22873 * soft-fp/floattidf.c: Likewise.
22874 * soft-fp/floattisf.c: Likewise.
22875 * soft-fp/floattitf.c: Likewise.
22876 * soft-fp/floatundidf.c: Likewise.
22877 * soft-fp/floatundisf.c: Likewise.
22878 * soft-fp/floatunditf.c: Likewise.
22879 * soft-fp/floatunsidf.c: Likewise.
22880 * soft-fp/floatunsisf.c: Likewise.
22881 * soft-fp/floatunsitf.c: Likewise.
22882 * soft-fp/floatuntidf.c: Likewise.
22883 * soft-fp/floatuntisf.c: Likewise.
22884 * soft-fp/floatuntitf.c: Likewise.
22885 * soft-fp/fmadf4.c: Likewise.
22886 * soft-fp/fmasf4.c: Likewise.
22887 * soft-fp/fmatf4.c: Likewise.
22888 * soft-fp/gedf2.c: Likewise.
22889 * soft-fp/gesf2.c: Likewise.
22890 * soft-fp/getf2.c: Likewise.
22891 * soft-fp/ledf2.c: Likewise.
22892 * soft-fp/lesf2.c: Likewise.
22893 * soft-fp/letf2.c: Likewise.
22894 * soft-fp/muldf3.c: Likewise.
22895 * soft-fp/mulsf3.c: Likewise.
22896 * soft-fp/multf3.c: Likewise.
22897 * soft-fp/negdf2.c: Likewise.
22898 * soft-fp/negsf2.c: Likewise.
22899 * soft-fp/negtf2.c: Likewise.
22900 * soft-fp/op-1.h: Likewise.
22901 * soft-fp/op-2.h: Likewise.
22902 * soft-fp/op-4.h: Likewise.
22903 * soft-fp/op-8.h: Likewise.
22904 * soft-fp/op-common.h: Likewise.
22905 * soft-fp/quad.h: Likewise.
22906 * soft-fp/single.h: Likewise.
22907 * soft-fp/soft-fp.h: Likewise.
22908 * soft-fp/sqrtdf2.c: Likewise.
22909 * soft-fp/sqrtsf2.c: Likewise.
22910 * soft-fp/sqrttf2.c: Likewise.
22911 * soft-fp/subdf3.c: Likewise.
22912 * soft-fp/subsf3.c: Likewise.
22913 * soft-fp/subtf3.c: Likewise.
22914 * soft-fp/truncdfsf2.c: Likewise.
22915 * soft-fp/trunctfdf2.c: Likewise.
22916 * soft-fp/trunctfsf2.c: Likewise.
22917 * soft-fp/trunctfxf2.c: Likewise.
22918 * soft-fp/unorddf2.c: Likewise.
22919 * soft-fp/unordsf2.c: Likewise.
22920 * soft-fp/unordtf2.c: Likewise.
22921
9ebb0332
JM
229222013-10-15 Joseph Myers <joseph@codesourcery.com>
22923
22924 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22925 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22926
4b1a6d8b
OB
229272013-10-15 Ondřej Bílka <neleai@seznam.cz>
22928
22929 * elf/dl-libc.c: Clear initfini list after freeing.
22930
1e145589
JM
229312013-10-14 Joseph Myers <joseph@codesourcery.com>
22932
22933 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22934 * soft-fp/addsf3.c: Likewise.
22935 * soft-fp/addtf3.c: Likewise.
22936 * soft-fp/divdf3.c: Likewise.
22937 * soft-fp/divsf3.c: Likewise.
22938 * soft-fp/divtf3.c: Likewise.
22939 * soft-fp/double.h: Likewise.
22940 * soft-fp/eqdf2.c: Likewise.
22941 * soft-fp/eqsf2.c: Likewise.
22942 * soft-fp/eqtf2.c: Likewise.
22943 * soft-fp/extenddftf2.c: Likewise.
22944 * soft-fp/extended.h: Likewise.
22945 * soft-fp/extendsfdf2.c: Likewise.
22946 * soft-fp/extendsftf2.c: Likewise.
22947 * soft-fp/extendxftf2.c: Likewise.
22948 * soft-fp/fixdfdi.c: Likewise.
22949 * soft-fp/fixdfsi.c: Likewise.
22950 * soft-fp/fixdfti.c: Likewise.
22951 * soft-fp/fixsfdi.c: Likewise.
22952 * soft-fp/fixsfsi.c: Likewise.
22953 * soft-fp/fixsfti.c: Likewise.
22954 * soft-fp/fixtfdi.c: Likewise.
22955 * soft-fp/fixtfsi.c: Likewise.
22956 * soft-fp/fixtfti.c: Likewise.
22957 * soft-fp/fixunsdfdi.c: Likewise.
22958 * soft-fp/fixunsdfsi.c: Likewise.
22959 * soft-fp/fixunsdfti.c: Likewise.
22960 * soft-fp/fixunssfdi.c: Likewise.
22961 * soft-fp/fixunssfsi.c: Likewise.
22962 * soft-fp/fixunssfti.c: Likewise.
22963 * soft-fp/fixunstfdi.c: Likewise.
22964 * soft-fp/fixunstfsi.c: Likewise.
22965 * soft-fp/fixunstfti.c: Likewise.
22966 * soft-fp/floatdidf.c: Likewise.
22967 * soft-fp/floatdisf.c: Likewise.
22968 * soft-fp/floatditf.c: Likewise.
22969 * soft-fp/floatsidf.c: Likewise.
22970 * soft-fp/floatsisf.c: Likewise.
22971 * soft-fp/floatsitf.c: Likewise.
22972 * soft-fp/floattidf.c: Likewise.
22973 * soft-fp/floattisf.c: Likewise.
22974 * soft-fp/floattitf.c: Likewise.
22975 * soft-fp/floatundidf.c: Likewise.
22976 * soft-fp/floatundisf.c: Likewise.
22977 * soft-fp/floatunsidf.c: Likewise.
22978 * soft-fp/floatunsisf.c: Likewise.
22979 * soft-fp/floatuntidf.c: Likewise.
22980 * soft-fp/floatuntisf.c: Likewise.
22981 * soft-fp/floatuntitf.c: Likewise.
22982 * soft-fp/fmadf4.c: Likewise.
22983 * soft-fp/fmasf4.c: Likewise.
22984 * soft-fp/fmatf4.c: Likewise.
22985 * soft-fp/gedf2.c: Likewise.
22986 * soft-fp/gesf2.c: Likewise.
22987 * soft-fp/getf2.c: Likewise.
22988 * soft-fp/ledf2.c: Likewise.
22989 * soft-fp/lesf2.c: Likewise.
22990 * soft-fp/letf2.c: Likewise.
22991 * soft-fp/muldf3.c: Likewise.
22992 * soft-fp/mulsf3.c: Likewise.
22993 * soft-fp/multf3.c: Likewise.
22994 * soft-fp/negdf2.c: Likewise.
22995 * soft-fp/negsf2.c: Likewise.
22996 * soft-fp/negtf2.c: Likewise.
22997 * soft-fp/op-1.h: Likewise.
22998 * soft-fp/op-2.h: Likewise.
22999 * soft-fp/op-4.h: Likewise.
23000 * soft-fp/op-8.h: Likewise.
23001 * soft-fp/op-common.h: Likewise.
23002 * soft-fp/quad.h: Likewise.
23003 * soft-fp/single.h: Likewise.
23004 * soft-fp/soft-fp.h: Likewise.
23005 * soft-fp/sqrtdf2.c: Likewise.
23006 * soft-fp/sqrtsf2.c: Likewise.
23007 * soft-fp/sqrttf2.c: Likewise.
23008 * soft-fp/subdf3.c: Likewise.
23009 * soft-fp/subsf3.c: Likewise.
23010 * soft-fp/subtf3.c: Likewise.
23011 * soft-fp/truncdfsf2.c: Likewise.
23012 * soft-fp/trunctfdf2.c: Likewise.
23013 * soft-fp/trunctfsf2.c: Likewise.
23014 * soft-fp/trunctfxf2.c: Likewise.
23015 * soft-fp/unorddf2.c: Likewise.
23016 * soft-fp/unordsf2.c: Likewise.
23017 * soft-fp/unordtf2.c: Likewise.
23018
17c48a60
OB
230192013-10-14 Ondřej Bílka <neleai@seznam.cz>
23020
23021 [BZ #15672]
23022 * misc/error.c (error_tail): Fix possible buffer overflow.
23023
cabba934
OB
230242013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23025
23026 [BZ #13028]
23027 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23028 address.
23029
94bf958a
PM
230302013-10-14 P. J. McDermott <pj@pehjota.net>
23031
23032 [BZ #832]
23033 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23034 testing pipefail option.
23035
71b4dea7
JM
230362013-10-12 Joseph Myers <joseph@codesourcery.com>
23037
23038 * soft-fp/double.h: Indent preprocessor directives inside #if.
23039 * soft-fp/extended.h: Likewise.
23040 * soft-fp/op-2.h: Likewise.
23041 * soft-fp/op-4.h: Likewise.
23042 * soft-fp/op-common.h: Likewise.
23043 * soft-fp/quad.h: Likewise.
23044 * soft-fp/single.h: Likewise.
23045 * soft-fp/soft-fp.h: Likewise.
23046
55602758
YC
230472013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23048
23049 * iconv/iconv_prog.c: Fix typos.
23050 * stdio-common/psiginfo-data.h: Likewise.
23051
9cd83302
RT
230522013-10-12 Reuben Thomas <rrt@sc3d.org>
23053
23054 [BZ #15764]
23055 * locale/setlocale.c: Fix typo.
23056
99fd9f47
JM
230572013-10-12 Joseph Myers <joseph@codesourcery.com>
23058
b7ea74f0
JM
23059 [BZ #16036]
23060 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23061 signaling NaN arguments.
23062 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23063 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23064
8a509447
JM
23065 [BZ #14910]
23066 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23067 unordered operands.
23068 * soft-fp/gesf2.c (__gesf2): Likewise.
23069 * soft-fp/getf2.c (__getf2): Likewise.
23070 * soft-fp/ledf2.c (__ledf2): Likewise.
23071 * soft-fp/lesf2.c (__lesf2): Likewise.
23072 * soft-fp/letf2.c (__letf2): Likewise.
23073
98998e9f
JM
23074 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23075 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23076 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23077 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23078 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23079 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23080 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23081 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23082 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23083 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23084 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23085 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23086 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23087 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23088 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23089 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23090 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23091 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23092 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23093 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23094 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23095 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23096 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23097 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23098 * soft-fp/floattidf.c (__floattidf): Likewise.
23099 * soft-fp/floattisf.c (__floattisf): Likewise.
23100 * soft-fp/floattitf.c (__floattitf): Likewise.
23101 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23102 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23103 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23104 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23105 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23106 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23107 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23108 * soft-fp/gesf2.c (__gesf2): Likewise.
23109 * soft-fp/getf2.c (__getf2): Likewise.
23110 * soft-fp/ledf2.c (__ledf2): Likewise.
23111 * soft-fp/lesf2.c (__lesf2): Likewise.
23112 * soft-fp/letf2.c (__letf2): Likewise.
23113
8edc4a11
JM
23114 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23115 Undefine and redefine.
23116 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23117 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23118 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23119 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23120 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23121 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23122 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23123 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23124 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23125 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23126 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23127 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23128 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23129 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23130 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23131
8399acaf
JM
23132 [BZ #16032]
23133 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23134 without decrementing exponent if mantissa >= that for the
23135 denominator, not >.
23136 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23137 denominator, not >. Decrement exponent in < case instead of
23138 incrementing in >= case.
23139 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23140 without decrementing exponent if mantissa >= that for the
23141 denominator, not >.
23142
99fd9f47
JM
23143 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23144 computing saturated result for unsigned overflow.
23145
10e1cf6b
SP
231462013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23147 Jeff Law <law@redhat.com>
23148
23149 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23150 (atan2Mp): Add systemtap probe marker.
23151 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23152 (__ieee754_log): Add systemtap probe marker.
23153 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23154 (atanMp): Add systemtap probe marker.
23155 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23156 (tanMp): Add systemtap probe marker.
23157 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23158 (__slowexp): Add systemtap probe marker.
23159 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23160 (__slowpow): Add systemtap probe marker.
23161 * manual/probes.texi: Document probes.
23162
3d110c7c
EB
231632013-10-11 Eric Biggers <ebiggers3@gmail.com>
23164
23165 [BZ #15362]
23166 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23167 written.
23168 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23169 written.
23170 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23171 written to buffer but not flushed.
23172 * libio/iofwrite_u.c: Likewise.
23173 * libio/iopadn.c: Return bytes returned even if EOF was
23174 encountered.
23175 * libio/iowpadn.c: Likewise.
23176 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23177 if _IO_padn does not write the whole buffer.
23178 [!COMPILE_WPRINTF] (PAD): Likewise.
23179
75b4202a
DM
231802013-10-10 David S. Miller <davem@davemloft.net>
23181
23182 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23183 directory block.
23184
6c6352e6
JM
231852013-10-10 Joseph Myers <joseph@codesourcery.com>
23186
33b853c3
JM
23187 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23188 instead of FSF address.
23189 * soft-fp/fixdfti.c: Likewise.
23190 * soft-fp/fixsfti.c: Likewise.
23191 * soft-fp/fixtfti.c: Likewise.
23192 * soft-fp/fixunsdfti.c: Likewise.
23193 * soft-fp/fixunssfti.c: Likewise.
23194 * soft-fp/fixunstfti.c: Likewise.
23195 * soft-fp/floattidf.c: Likewise.
23196 * soft-fp/floattisf.c: Likewise.
23197 * soft-fp/floattitf.c: Likewise.
23198 * soft-fp/floatuntidf.c: Likewise.
23199 * soft-fp/floatuntisf.c: Likewise.
23200 * soft-fp/floatuntitf.c: Likewise.
23201 * soft-fp/trunctfxf2.c: Likewise.
23202
6c6352e6
JM
23203 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23204 * soft-fp/fixdfti.c: Likewise.
23205 * soft-fp/fixsfti.c: Likewise.
23206 * soft-fp/fixtfti.c: Likewise.
23207 * soft-fp/fixunsdfti.c: Likewise.
23208 * soft-fp/fixunssfti.c: Likewise.
23209 * soft-fp/fixunstfti.c: Likewise.
23210 * soft-fp/floattidf.c: Likewise.
23211 * soft-fp/floattisf.c: Likewise.
23212 * soft-fp/floattitf.c: Likewise.
23213 * soft-fp/floatuntidf.c: Likewise.
23214 * soft-fp/floatuntisf.c: Likewise.
23215 * soft-fp/floatuntitf.c: Likewise.
23216 * soft-fp/trunctfxf2.c: Likewise.
23217
3bf78b71
DM
232182013-10-10 David S. Miller <davem@davemloft.net>
23219
23220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23221
6f10289e
JM
232222013-10-10 Joseph Myers <joseph@codsourcery.com>
23223
bd878fc0
JM
23224 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23225 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23226 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23227 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23228 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23229 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23230 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23231
6f10289e
JM
23232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23233 for NaNs before doing comparisons on argument.
23234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23235 Likewise.
23236
321e2684
WN
232372013-10-10 Will Newton <will.newton@linaro.org>
23238
23239 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23240 passed to _int_memalign does not overflow.
23241
40fefba1
TR
232422013-10-10 Torvald Riegel <triegel@redhat.com>
23243
23244 * scripts/bench.pl: Add include-sources directive.
23245 * benchtests/README: Update documentation.
23246
2ae21ed2
JM
232472013-10-10 Joseph Myers <joseph@codesourcery.com>
23248
dcc2dd3f
JM
23249 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23250 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23251 instead of FP_INIT_ROUNDMODE.
23252 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23253 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23254
2ae21ed2
JM
23255 [BZ #16034]
23256 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23257 copy class of input value.
23258 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23259 not handle exceptions.
23260 * soft-fp/negsf2.c (__negsf2): Likewise.
23261 * soft-fp/negtf2.c (__negtf2): Likewise.
23262 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23263
cb8f9562
JM
232642013-10-09 Joseph Myers <joseph@codesourcery.com>
23265
23266 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23267 semicolon. From Linux kernel.
23268
5b60c59d
AB
232692013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23270
23271 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23272
b86835ca
YC
232732013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23274
23275 [BZ #156]
23276 * manual/socket.texi: Added statement about buffer
23277 for gethostbyname2_r.
23278
e7044ea7
OB
232792013-10-08 Ondřej Bílka <neleai@seznam.cz>
23280
23281 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23282 Use .p2align directive instead, throughout.
23283 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23284 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23285 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23286 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23287 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23288 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23289 * sysdeps/x86_64/strchr.S: Likewise.
23290 * sysdeps/x86_64/strrchr.S: Likewise.
23291
09544cbc
SP
232922013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23293
88576635
SP
23294 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23295
e7b2d1dd
SP
23296 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23297
09544cbc
SP
23298 * sysdeps/generic/math_private.h (__mpsin1): Remove
23299 declaration.
23300 (__mpcos1): Likewise.
23301 (__mpsin): New argument __range_reduce.
23302 (__mpcos): Likewise.
23303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23304 (slow): Use __mpsin and __mpcos.
23305 (slow1): Likewise.
23306 (slow2): Likewise.
23307 (sloww): Likewise.
23308 (sloww1): Likewise.
23309 (sloww2): Likewise.
23310 (bsloww): Likewise.
23311 (bsloww1): Likewise.
23312 (bsloww2): Likewise.
23313 (cslow2): Likewise.
23314 (csloww): Likewise.
23315 (csloww1): Likewise.
23316 (csloww2): Likewise.
23317 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23318 range_reduce. Merge in __mpsin1.
23319 (__mpcos): Likewise.
23320 (__mpsin1): Remove.
23321 (__mpcos1): Likewise.
23322
7602d070
JM
233232013-10-07 Joseph Myers <joseph@codesourcery.com>
23324
23325 * locale/loadlocale.c (_nl_intern_locale_data): Use
23326 LOCFILE_ALIGNED_P.
23327 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23328 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23329 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23330 obstack data is appropriately aligned.
23331 (obstack_int32_grow_fast): Likewise.
23332 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23333 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23334 (add_locale_uint32_array): Likewise.
23335
a357259b
SP
233362013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23337
23338 * benchtests/Makefile: Remove ARGLIST and RET variables.
23339 ($(objpfx)bench-%.c): Pass only function name to the script.
23340 * benchtests/README: Update documentation.
23341 * benchtests/acos-inputs: Add new directives.
23342 * benchtests/acosh-inputs: Likewise.
23343 * benchtests/asin-inputs: Likewise.
23344 * benchtests/asinh-inputs: Likewise.
23345 * benchtests/atan-inputs: Likewise.
23346 * benchtests/atanh-inputs: Likewise.
23347 * benchtests/cos-inputs: Likewise.
23348 * benchtests/cosh-inputs: Likewise.
23349 * benchtests/exp-inputs: Likewise.
23350 * benchtests/log-inputs: Likewise.
23351 * benchtests/pow-inputs: Likewise.
23352 * benchtests/rint-inputs: Likewise.
23353 * benchtests/sin-inputs: Likewise.
23354 * benchtests/sinh-inputs: Likewise.
23355 * benchtests/tan-inputs: Likewise.
23356 * benchtests/tanh-inputs: Likewise.
23357 * scripts/bench.pl: Add support for new directives.
23358
9ec1b13d
AM
233592013-10-07 Alan Modra <amodra@gmail.com>
23360
23361 * README: Fix careless merge.
23362
8b7d57cd
AM
233632013-10-05 Alan Modra <amodra@gmail.com>
23364
23365 * NEWS: Mention powerpc64le support and bugs fixed.
23366 * README: Both big-endian and little-endian powerpc64 supported.
23367
7b7bab13
ST
233682013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23369
57f41c40
AS
23370 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23371 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23372 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23373 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23374
d39baad1
RA
233752013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23376
23377 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23378 match prototype.
23379
cd78f7e7
JM
233802013-10-04 Joseph Myers <joseph@codesourcery.com>
23381
29d73d86
JM
23382 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23383 Move -mhard-float appending from
23384 ports/sysdeps/powerpc/powerpc32/Makefile.
23385 [$(with-fp) = yes] (ASFLAGS): Likewise.
23386 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23387 * sysdeps/powerpc/nofpu: Move directory from
23388 ports/sysdeps/powerpc/nofpu.
23389 * sysdeps/powerpc/soft-fp: Move directory from
23390 ports/sysdeps/powerpc/soft-fp.
23391 * sysdeps/powerpc/powerpc32/405: Move directory from
23392 ports/sysdeps/powerpc/powerpc32/405.
23393 * sysdeps/powerpc/powerpc32/440: Move directory from
23394 ports/sysdeps/powerpc/powerpc32/440.
23395 * sysdeps/powerpc/powerpc32/464: Move directory from
23396 ports/sysdeps/powerpc/powerpc32/464.
23397 * sysdeps/powerpc/powerpc32/476: Move directory from
23398 ports/sysdeps/powerpc/powerpc32/476.
23399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23400 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23402 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23404 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23406 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23408 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23409 * README: Update for powerpc-*-linux-gnu software floating point
23410 support in libc.
23411
e246b347
JM
23412 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23413 case to powerpc/powerpc32*.
23414 * sysdeps/unix/sysv/linux/configure: Regenerated.
23415
89c2003e
JM
23416 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23417 (_FPU_MASK_OM): Define as 0x04.
23418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23420 0x00c10080.
23421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23422 0x0000003c.
23423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23424
cd78f7e7
JM
23425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23426 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23427 getcontext_e500.
23428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23429 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23430 setcontext_e500.
23431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23432 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23433 and setcontext_e500.
23434
c755294d
CL
234352013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23436
23437 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23438
e16d221c
SP
234392013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23440
23441 * manual/threads.texi (Default Thread Attributes): Fix typo.
23442
215c7d43
WN
234432013-10-04 Will Newton <will.newton@linaro.org>
23444
23445 * malloc/Makefile: Add tst-memalign.
23446 * malloc/tst-memalign.c: New file.
23447
27d0461b
WN
23448 * malloc/tst-posix_memalign.c: Add comments.
23449 (do_test): Add comments and call free on all potentially
23450 allocated pointers. Add space after cast.
23451
1bc92709
WN
23452 * malloc/tst-pvalloc.c: Add comments.
23453 (do_test): Add comments and call free on all potentially
23454 allocated pointers. Remove duplicate check for NULL pointer.
23455 Add space after cast.
23456
66a9be9d
WN
23457 * malloc/tst-valloc.c: Add comments.
23458 (do_test): Add comments and call free on all potentially
23459 allocated pointers. Remove duplicate check for NULL pointer.
23460 Add space after cast.
23461
4cb81307
AM
234622013-10-04 Alan Modra <amodra@gmail.com>
23463
23464 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23465 Use stdint types in rather than __attribute__((mode())).
23466 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23467
f8e3e9f3
AM
234682013-10-04 Alan Modra <amodra@gmail.com>
23469
23470 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23471 Correct handling of unaligned relocs for little-endian.
23472 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23473
8f9ebb08
AM
234742013-10-04 Alan Modra <amodra@gmail.com>
23475
23476 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23477 * configure: Regenerate.
23478 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23479 * shlib-versions: Likewise.
23480
0edf96c2
AM
234812013-10-04 Alan Modra <amodra@gmail.com>
23482
23483 * string/tester.c (test_memrchr): Increment reported test cycle.
23484
e0f7a380
AM
234852013-10-04 Alan Modra <amodra@gmail.com>
23486
23487 * string/test-memcpy.c (do_one_test): When reporting errors, print
23488 string address and don't overrun end of string.
23489
466b0393
AM
234902013-10-04 Alan Modra <amodra@gmail.com>
23491
23492 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23493 insrdi. Make better use of reg selection to speed exit slightly.
23494 Schedule entry path a little better. Remove useless "are we done"
23495 checks on entry to main loop. Handle wrapping around zero address.
23496 Correct main loop count. Handle single left-over word from main
23497 loop inline rather than by using loop_small. Remove extra word
23498 case in loop_small caused by wrong loop count. Add little-endian
23499 support.
23500 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23501 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23502 cache hint.
23503 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23504 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23505 support. Avoid rlwimi.
23506 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23507
3be87c77
AM
235082013-10-04 Alan Modra <amodra@gmail.com>
23509
23510 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23511 insrdi. Formatting.
3be87c77
AM
23512 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23513 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23514 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23515 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23516 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23517 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23518
759cfef3
AM
235192013-10-04 Alan Modra <amodra@gmail.com>
23520
23521 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23522 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23523 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23524 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23525 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23526 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23527 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23528 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23529 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23530 use of regs. Use power7 mtocrf. Tidy function tails.
23531
fe6e95d7
AM
235322013-10-04 Alan Modra <amodra@gmail.com>
23533
23534 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23535 Formatting. Consistently use rXXX register defines or rN defines.
23536 Use early exit labels that avoid restoring unused non-volatile regs.
23537 Make cr field use more consistent with rWORDn compares. Rename
23538 regs used as shift registers for unaligned loop, using rN defines
23539 for short lifetime/multiple use regs.
23540 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23541 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23542 addi 1,1,64 to pop stack frame. Simplify return value code.
23543 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23544
664318c3
AM
235452013-10-04 Alan Modra <amodra@gmail.com>
23546
23547 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23548 support. Correct typos, formatting. Optimize tail. Use insrdi
23549 rather than rlwimi.
23550 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23551 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23552 little-endian support. Correct typos.
23553 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23554 rather than rlwimi.
23555 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23556 in loop and entry code to keep "and." results.
23557 (strchr): Add little-endian support. Comment. Move cntlzd
23558 earlier in tail.
23559 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23560
43b84013
AM
235612013-10-04 Alan Modra <amodra@gmail.com>
23562
23563 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23564 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23565 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23566 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23567
8a7413f9
AM
235682013-10-04 Alan Modra <amodra@gmail.com>
23569
23570 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23571 (rTMP): Define as r11.
23572 (strcmp): Add little-endian support. Optimise tail.
23573 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23574 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23575 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23576 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23577 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23579 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23580
33ee81de
AM
235812013-10-04 Alan Modra <amodra@gmail.com>
23582
23583 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23584 little-endian support. Remove unnecessary "are we done" tests.
23585 Handle "s" wrapping around zero and extremely large "size".
23586 Correct main loop count. Handle single left-over word from main
23587 loop inline rather than by using small_loop. Correct comments.
23588 Delete "zero" tail, use "end_max" instead.
23589 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23590
db9b4570
AM
235912013-10-04 Alan Modra <amodra@gmail.com>
23592
23593 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23594 support. Don't branch over align.
23595 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23596 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23597 support. Rearrange tmp reg use to suit. Comment.
23598 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23599
f7c399cf
AM
236002013-10-04 Alan Modra <amodra@gmail.com>
23601
23602 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23603
0b2c2ace
AM
236042013-10-04 Alan Modra <amodra@gmail.com>
23605
23606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23607 conditional form of branch and link when obtaining pc.
23608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23609
02f04a6c
AM
236102013-10-04 Alan Modra <amodra@gmail.com>
23611
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23613 HIWORD/LOWORD.
23614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23616
9b874b2f
AM
236172013-10-04 Alan Modra <amodra@gmail.com>
23618
23619 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23620 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23621 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23622 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23623 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23624 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23625 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23626 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23627 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23628 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23629
be1e5d31
AB
236302013-10-04 Anton Blanchard <anton@au1.ibm.com>
23631 Alistair Popple <alistair@ozlabs.au.ibm.com>
23632 Alan Modra <amodra@gmail.com>
23633
23634 [BZ #15723]
23635 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23636 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23637 _dl_hwcap access for little-endian.
23638 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23639 destroy vmx regs when saving unaligned.
23640 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23641 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23642 destroy vmx regs when saving unaligned.
23643
fef13a78
AM
236442013-10-04 Alan Modra <amodra@gmail.com>
23645
23646 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23647 Don't use a union to pack hi/low value.
23648
76a66d51
AB
236492013-10-04 Anton Blanchard <anton@au1.ibm.com>
23650
23651 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23652 for little-endian.
23653 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23655 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23656 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23657 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23658
6a31fe7f
AM
236592013-10-04 Alan Modra <amodra@gmail.com>
23660
23661 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23662 constants to usual value for .cst8 section, and remove redundant
23663 high address load.
23664 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23665 constant for 0x1p52. Load little-endian words of double from
23666 correct stack offsets.
23667
7b88401f
AM
236682013-10-04 Alan Modra <amodra@gmail.com>
23669
23670 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23671 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23672 words of double from correct stack offsets.
23673 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23674 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23675 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23676 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23677 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23680 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23681 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23682 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23683 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23684 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23685 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23686 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23687 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23688 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23689 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23690
9c008155
AM
236912013-10-04 Alan Modra <amodra@gmail.com>
23692
23693 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23694 64-bit int/double union.
23695 (_FPU_SETCW): Likewise.
23696 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23697 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23698
da13146d
AM
236992013-10-04 Alan Modra <amodra@gmail.com>
23700
23701 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23702 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23703
603e8410
AM
237042013-10-04 Alan Modra <amodra@gmail.com>
23705
23706 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23707 use vector int constants.
23708 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23709
4a28b3ca
AB
237102013-10-04 Anton Blanchard <anton@au1.ibm.com>
23711
23712 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23713 array with long long.
23714 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23715 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23716 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23717 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23718 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23719 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23720 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23721 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23722 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23723 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23724 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23725 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23726 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23727
2ca85d2b
AB
237282013-10-04 Anton Blanchard <anton@au1.ibm.com>
23729
23730 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23731 (__signbit): Likewise. Correct for little-endian.
23732 (__signbitl): Call __signbit.
23733 (lrint): Correct for little-endian.
23734 (lrintf): Call lrint.
23735
62a728ae
AM
237362013-10-04 Alan Modra <amodra@gmail.com>
23737
23738 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23739 union 32-bit int array member with 64-bit int array.
23740 (t515, tm256): Double rather than long double.
23741 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23742
32c301df
AM
237432013-10-04 Alan Modra <amodra@gmail.com>
23744
23745 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23746 Delete.
23747 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23748 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23749 version of math_ldbl.h.
23750
650ef4bd
AM
237512013-10-04 Alan Modra <amodra@gmail.com>
23752
23753 [BZ #15734], [BZ #15735]
23754 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23755 all uses of ieee875 long double macros and unions. Simplify test
23756 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23757 ldbl_extract_mantissa value for ix,iy exponents. Properly
23758 normalize after ldbl_extract_mantissa, and don't add hidden bit
23759 already handled. Don't treat low word of ieee854 mantissa like
23760 low word of IBM long double and mask off bit when testing for
23761 zero.
23762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23763 all uses of ieee875 long double macros and unions. Simplify tests
23764 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23765 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23766 two1022, instead use their values. Recognise that tests for large
23767 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23768 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23769 Rewrite all uses of ieee875 long double macros and unions. Simplify
23770 test for 0.0L and nan. Correct negation.
23771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23772 ieee875 long double macros and unions. Correct output for large
23773 magnitude x. Correct absolute value calculation.
23774 (__erfcl): Likewise.
23775 * math/libm-test.inc: Add tests for errors discovered in IBM long
23776 double versions of fmodl, remainderl, erfl and erfcl.
23777
765714ca
AM
237782013-10-04 Alan Modra <amodra@gmail.com>
23779
23780 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23781 all uses of ieee854 long double macros and unions. Simplify tests
23782 for long doubles that are fully specified by the high double.
23783 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23784 Likewise.
23785 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23786 Remove dead code too.
23787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23788 (__ieee754_ynl): Likewise.
23789 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23790 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23791 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23792 Remove dead code too.
23793 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23794 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23795 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23796 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23797 Simplify.
23798 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23799 Simplify.
23800 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23801 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23802 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23803 Comment on variable precision.
23804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23805 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23806 Likewise.
23807 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23810 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23811 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23812
4ebd120c
AM
238132013-10-04 Alan Modra <amodra@gmail.com>
23814
23815 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23816 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23817 all uses of ieee854 long double macros and unions.
23818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23820 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23821 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23822 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23823 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23824 Likewise.
23825 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23826 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23827 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23828 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23829 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23830 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23831 Simplify sign and nan test too.
23832 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23833 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23834 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23835 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23836 Likewise.
23837 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23838 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23839 Likewise.
23840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23841 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23842 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23843 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23844 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23846
1b6adf88
AM
238472013-10-04 Alan Modra <amodra@gmail.com>
23848
23849 * stdio-common/printf_size.c (__printf_size): Don't use
23850 union ieee854_long_double in fpnum union.
23851 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23852 signbit macro to retrieve sign from long double.
23853 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23854 retrieve sign from long double.
23855 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23856 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23857 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23858 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23859 * math/test-misc.c (main): Don't use union ieee854_long_double.
23860
4cf69995
AM
238612013-10-04 Alan Modra <amodra@gmail.com>
23862
23863 [BZ #15680]
23864 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23865 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23866 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23867 calculation. Remove unnecessary test for denormal exponent.
23868 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23869 Correct handling of denormals. Avoid undefined shift behaviour.
23870 Correct normalisation of low mantissa when low double is denormal.
23871 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23872 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23873 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23874 Correct normalisation of low mantissa. Test for overflow of high
23875 mantissa and normalise.
23876 (ldbl_nearbyint): Use more readable constant for two52.
23877 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23878 (__mpn_construct_long_double): Fix test for overflow of high
23879 mantissa and correct normalisation. Avoid undefined shift.
23880
9605ca6c
AM
238812013-10-04 Alan Modra <amodra@gmail.com>
23882
23883 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23884 (union ibm_extended_long_double): Define as an array of ieee754_double.
23885 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23886 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23887 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23888 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23892 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23896
975569d0
JM
238972013-10-03 Joseph Myers <joseph@codesourcery.com>
23898
d3d23756
JM
23899 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23900 page size instead of calling getpagesize.
23901
975569d0
JM
23902 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23903 (LOCFILE_ALIGN_MASK): Likewise.
23904 (LOCFILE_ALIGN_UP): Likewise.
23905 (LOCFILE_ALIGNED_P): Likewise.
23906 * locale/programs/ld-collate.c (collate_output): Use the new
23907 macros instead of __alignof__ (int32_t).
23908 * locale/weight.h (findidx): Likewise.
23909
b1fe1f2b
OB
239102013-10-03 Ondřej Bílka <neleai@seznam.cz>
23911
23912 [BZ #431]
23913 * manual/string.texi: Fix strncat and wcsncat.
23914
5f855e35
BM
239152013-10-03 Brooks Moses <bmoses@google.com>
23916
23917 [BZ #15915]
23918 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23919 * Makerules: ...here, and adjust associated comments.
23920
3cef6009
WN
239212013-10-02 Will Newton <will.newton@linaro.org>
23922
23923 * malloc/Makefile: Add tst-pvalloc.
23924 * malloc/tst-pvalloc.c: New file.
23925
7815420b
WN
239262013-10-02 Will Newton <will.newton@linaro.org>
23927
23928 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23929 improve test coverage.
23930
4868b204
WN
239312013-10-02 Will Newton <will.newton@linaro.org>
23932
23933 * malloc/Makefile: Add tst-posix_memalign.
23934 * malloc/tst-posix_memalign.c: New file.
23935
29c793b3
EB
239362013-10-01 Eric Blake <eblake@redhat.com>
23937
23938 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23939 Use __THROWNL rather than __THROW on static functions.
23940
fd967522
PM
239412013-09-30 Petr Machata <pmachata@redhat.com>
23942
23943 * elf/elf.h (R_AARCH64_ABS16): New macro.
23944 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23945 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23946 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23947 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23948 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23949 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23950 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23951 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23952 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23953 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23954 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23955 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23956 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23957 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23958 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23959 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23960 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23961 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23962 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23963 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23964 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23965 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23966 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23967 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23968 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23969 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23970 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23971 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23972 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23973 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23974 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23975 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23976 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23977 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23978 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23979 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23980 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23981 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23982 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23983 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23984 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23985 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23986 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23987 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23988 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23989 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23990 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23991 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23992 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23993 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23994 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23995 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23996 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23997 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23998 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23999 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24000 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24001 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24002 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24003 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24004 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24005 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24006 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24007 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24008 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24009 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24010 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24011 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24012 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24013 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24014 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24015 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24016 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24017 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24018 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24019 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24020 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24021 (R_AARCH64_TLSDESC_LDR): Likewise.
24022 (R_AARCH64_TLSDESC_ADD): Likewise.
24023 (R_AARCH64_TLSDESC_CALL): Likewise.
24024
b2179107
AS
240252013-09-30 Andreas Schwab <schwab@suse.de>
24026
24027 [BZ #15048]
24028 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24029 the nss database lookup.
24030 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24032
47f28d0a
MF
240332013-09-28 Mike Frysinger <vapier@gentoo.org>
24034
24035 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24036
240372013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24038
24039 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24040 ${Bash-specific parameter/pattern/string} parameter expansion.
24041 * sysdeps/unix/make-syscalls.sh: Likewise.
24042
f4518a17
KK
240432013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24044
24045 * sysdeps/sh/stackguard-macros.h: New file.
24046
dc1a95c7
OB
240472013-09-26 Ondřej Bílka <neleai@seznam.cz>
24048
24049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24051 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24052 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24054 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24055
5ebbff8f
AZ
240562013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24057
24058 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24059 Fix thread ID register.
24060
4fd2cf9f
JM
240612013-09-25 Joseph Myers <joseph@codesourcery.com>
24062
24063 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24064 [POSIX || UNIX98]: Require rather than permitting all symbols from
24065 <time.h>.
24066 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24067 element of struct sched_param.
24068 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24069 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24070 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24071 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24072 constant.
24073
12c22bc4
OL
240742013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24075
24076 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24077 argument calculation.
24078
a03d8ea7
JM
240792013-09-24 Joseph Myers <joseph@codesourcery.com>
24080
24081 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24082 Expect macro.
24083 [POSIX] (pthread_attr_t): Do not require type.
24084 [POSIX] (pthread_cond_t): Likewise.
24085 [POSIX] (pthread_condattr_t): Likewise.
24086 [POSIX] (pthread_key_t): Likewise.
24087 [POSIX] (pthread_mutex_t): Likewise.
24088 [POSIX] (pthread_mutexattr_t): Likewise.
24089 [POSIX] (pthread_once_t): Likewise.
24090 [POSIX] (pthread_t): Likewise.
24091 [POSIX-based standards] (pthread_atfork): Expect function.
24092
6055173a
JM
240932013-09-24 Joseph Myers <joseph@codesourcery.com>
24094 Richard Sandiford <richard@codesourcery.com>
24095
24096 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24097 (swap_endianness_p): New extern variable.
24098 (set_big_endian): New inline function.
24099 (maybe_swap_uint32): Likewise.
24100 (maybe_swap_uint32_array): Likewise.
24101 (maybe_swap_uint32_obstack): Likewise.
24102 * locale/programs/locfile.c: Include <stdbool.h>.
24103 (swap_endianness_p): New variable.
24104 (add_locale_uint32): Call maybe_swap_uint32.
24105 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24106 (write_locale_data): Call maybe_swap_uint32_array.
24107 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24108 maybe_swap_uint32.
24109 (obstack_int32_grow_fast): Likewise.
24110 (output_weightwc): Call maybe_swap_uint32_obstack.
24111 (collate_output): Likewise.
24112 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24113 (OPT_LITTLE_ENDIAN): Likewise.
24114 (options): Add --little-endian and --big-endian options.
24115 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24116 * locale/programs/locarchive.c: Include "locfile.h".
24117 (GET): New macro.
24118 (SET): Likewise.
24119 (INC): Likewise.
24120 (create_archive): Use the new macros to access fields of
24121 structures directly mapped from or written to locale archives.
24122 (oldlocrecentcmp): Likewise.
24123 (enlarge_archive): Likewise.
24124 (insert_name): Likewise.
24125 (add_alias): Likewise.
24126 (add_locale): Likewise.
24127 (delete_locales_from_archive): Likewise.
24128 (show_archive_content): Likewise.
24129 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24130 locale data.
24131
39bf0bb4
RM
241322013-09-24 Roland McGrath <roland@hack.frob.com>
24133
24134 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24135 http://www.gnu.org/doc/freemanuals.texi.
24136 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24137
f02eed10
WN
241382013-09-24 Will Newton <will.newton@linaro.org>
24139
24140 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24141 macro.
24142
a3a6c312
JM
241432013-09-23 Joseph Myers <joseph@codesourcery.com>
24144
24145 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24146 unsigned char.
24147
107375ac
MR
241482013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24149
24150 * manual/threads.texi (POSIX Threads): Fix a typo.
24151
141f3a77
SP
241522013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24153
303e567a
SP
24154 [BZ #14547]
24155 * string/tst-strcoll-overflow.c: New test case.
24156 * string/Makefile (xtests): Add tst-strcoll-overflow.
24157 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24158 cache if string sizes may cause integer overflow.
24159
141f3a77
SP
24160 [BZ #14547]
24161 * string/strcoll_l.c (coll_seq): New members rule, idx,
24162 save_idx and back_us.
24163 (get_next_seq_nocache): New function.
24164 (do_compare_nocache): New function.
24165 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24166 when malloc fails.
24167
c61b4d41
CD
241682013-09-23 Carlos O'Donell <carlos@redhat.com>
24169
0b1f8e35
CD
24170 [BZ #15754]
24171 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24172 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24173 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24174
c61b4d41
CD
24175 [BZ #15754]
24176 * elf/Makefile (tests): Add tst-ptrguard1.
24177 (tests-static): Add tst-ptrguard1-static.
24178 (tst-ptrguard1-ARGS): Define.
24179 (tst-ptrguard1-static-ARGS): Define.
24180 * elf/tst-ptrguard1.c: New file.
24181 * elf/tst-ptrguard1-static.c: New file.
24182 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24183 * sysdeps/i386/stackguard-macros.h: Likewise.
24184 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24185 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24186 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24187 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24188 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24189 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24190
241912013-09-23 Hector Marco <hecmargi@upv.es>
24192 Ismael Ripoll <iripoll@disca.upv.es>
24193 Carlos O'Donell <carlos@redhat.com>
24194
24195 [BZ #15754]
24196 * sysdeps/generic/stackguard-macros.h: Define
24197 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24198 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24199 Define __pointer_chk_guard_local.
24200 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24201 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24202
f5f4e7b4
VV
242032013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24204
24205 [BZ #15859]
24206 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24207
5bb43a43
AS
242082013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24209
24210 * include/string.h (__ffs): Declare as hidden.
24211 * string/ffs.c (__ffs): Define as hidden.
24212 * sysdeps/i386/ffs.c (__ffs): Likewise.
24213 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24214 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24215 * sysdeps/s390/ffs.c (__ffs): Likewise.
24216 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24217
3ea5be54
AO
242182013-09-20 Alexandre Oliva <aoliva@redhat.com>
24219
ffb89e53
AO
24220 * NEWS: Mention malloc probes.
24221
322dea08
AO
24222 * malloc/arena.c (new_heap): New memory_heap_new probe.
24223 (grow_heap): New memory_heap_more probe.
24224 (shrink_heap): New memory_heap_less probe.
24225 (heap_trim): New memory_heap_free probe.
24226 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24227 (systrim): New memory_sbrk_less probe.
24228 * manual/probes.texi: Document them.
24229
655673f3
AO
24230 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24231 * manual/probes.texi: Document it.
24232
35fed6f1
AO
24233 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24234 (__libc_realloc): Add memory_realloc_retry probe.
24235 (__libc_memalign): Add memory_memalign_retry probe.
24236 (__libc_valloc): Add memory_valloc_retry probe.
24237 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24238 (__libc_calloc): Add memory_calloc_retry probe.
24239 * manual/probes.texi: Document them.
24240
6999d38c
AO
24241 * malloc/arena.c (get_free_list): Add probe
24242 memory_arena_reuse_free_list.
24243 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24244 and memory_arena_reuse.
24245 (arena_get2) [!PER_THREAD]: Likewise.
24246 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24247 memory_arena_reuse_realloc.
24248 * manual/probes.texi: Document them.
24249
0653427f
AO
24250 * malloc/malloc.c (__libc_free): Add
24251 memory_mallopt_free_dyn_thresholds probe.
24252 (__libc_mallopt): Add multiple memory_mallopt probes.
24253 * manual/probes.texi: Document them.
24254
3ea5be54
AO
24255 * malloc/malloc.c: Include stap-probe.h.
24256 (__libc_mallopt): Add memory_mallopt probe.
24257 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24258 * manual/probes.texi: New.
24259 * manual/Makefile (chapters): Add probes.
24260 * manual/threads.texi: Set next node.
24261
e35696c3 242622013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24263
e35696c3
CL
24264 [BZ #15963, #13985]
24265 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24266 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24267 Add `Chinese' to `nan' entry name.
24268
4aafb73c
SP
242692013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24270
24271 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24272 (POLYNOMIAL): Likewise.
24273 (TAYLOR_SINCOS): Likewise.
24274 (TAYLOR_SLOW): Likewise.
24275 (__sin): Use TAYLOR_SINCOS.
24276 (__cos): Likewise.
24277 (slow): Use TAYLOR_SLOW.
24278 (sloww): Likewise.
24279 (bsloww): Likewise.
24280 (csloww): Likewise.
24281
d84f25c7
LD
242822013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24283
24284 * stdlib/strtod_l.c: Fix buffer overrun.
24285
5eea0404
SP
242862013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24287
7849ff93
SP
24288 * benchtests/Makefile (bench): Add sincos.
24289 * benchtests/bench-sincos.c: New file.
24290
cfa3c886
SP
24291 * math/libm-test.inc (cos_test_data): New test inputs.
24292 (sin_test_data): Likewise.
24293
b348e1e3
SP
24294 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24295 macro.
24296 (__sin): Use it.
24297 (__cos): Likewise.
24298 (slow1): Likewise.
24299 (slow2): Likewise.
24300 (sloww1): Likewise.
24301 (sloww2): Likewise.
24302 (bsloww1): Likewise.
24303 (bsloww2): Likewise.
24304 (cslow2): Likewise.
24305 (csloww1): Likewise.
24306 (csloww2): Likewise.
24307
6cce25f8
SP
24308 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24309 function.
24310 (__sin): Use it.
24311 (__cos): Likewise.
24312
5eea0404
SP
24313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24314 gotos.
24315 (__cos): Likewise.
24316
9c21573c
MR
243172013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24318
24319 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24320 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24321 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24322 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24323 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24324 * elf/cache.c (print_entry): Handle the new cache flags.
24325
24d22e65
JM
243262013-09-18 Joseph Myers <joseph@codesourcery.com>
24327 Aldy Hernandez <aldyh@redhat.com>
24328
24329 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24330 Change condition to [_SOFT_FLOAT].
24331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24343 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24346 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24347 declaration.
24348
d13ef066
JM
243492013-09-18 Joseph Myers <joseph@codesourcery.com>
24350
2e071de0
JM
24351 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24352 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24353 (__longjmp): Use LOAD_GP to load saved GPRs.
24354 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24355 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24356 (__sigsetjmp): Use SAVE_GP to save GPRs.
24357
d13ef066
JM
24358 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24359 Do not append -msoft-float.
24360 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24361
97a0650b
SP
243622013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24363
24364 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24365
11ca09e9
JM
243662013-09-17 Joseph Myers <joseph@codesourcery.com>
24367
24368 [BZ #15966]
24369 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24370 (_FPU_GETCW): Use initial "__" on variable and field names but not
24371 on macro parameter name.
24372 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24373 parentheses around reference to macro parameter.
24374
08ffcf34
RS
243752013-09-13 Richard Sandiford <richard@codesourcery.com>
24376
24377 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24378 prototype.
24379 (ctype_startup): Use uint32_t in cast and sizeof for
24380 ctype->charnames.
24381
ae7080d3
JL
243822013-09-11 Jia Liu <proljc@gmail.com>
24383
24384 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24385 __daddr_t_defined.
24386 [__FreeBSD__]: Likewise.
24387
5905e7b3
OB
243882013-09-11 Ondřej Bílka <neleai@seznam.cz>
24389
24390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24391 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24392 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24393 (strchr): Remove __strchr_sse42 ifunc selection.
24394 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24395 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24396
b987c776
WN
243972013-09-11 Will Newton <will.newton@linaro.org>
24398
24399 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24400 parameter to RES. Remove hardcoded 1000 value.
24401 * benchtests/bench-skeleton.c (main): Pass RES parameter
24402 to TIMING_INIT and multiply result by 1000.
24403
ddf985af
AZ
244042013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24405
24406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24407
ffdd3181
AS
244082013-09-11 Andreas Schwab <schwab@suse.de>
24409
24410 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24411 if not defined.
24412 (O_TMPFILE) [__USE_GNU]: Define.
24413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24414 Define.
24415
b73ed247
WN
244162013-09-11 Will Newton <will.newton@linaro.org>
24417
24418 [BZ #15857]
24419 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24420 does not overflow.
24421
55e17aad
WN
244222013-09-11 Will Newton <will.newton@linaro.org>
24423
24424 [BZ #15856]
24425 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24426 does not overflow.
24427
1159a193
WN
244282013-09-11 Will Newton <will.newton@linaro.org>
24429
24430 [BZ #15855]
24431 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24432 does not overflow.
24433
5905e7b3 244342013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24435
24436 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24437 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24438 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24439 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24440 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24441
cdfc721b
AM
244422013-09-10 Allan McRae <allan@archlinux.org>
24443
aa04af00
AM
24444 [BZ #15748]
24445 * manual/arith.texi (Parsing of Floats): Clarify
24446 cross-reference.
24447
cdfc721b
AM
24448 [BZ #15849]
24449 * manual/install.texi (Running make install): Mention
24450 --enable-pt-chown.
24451 * INSTALL: Regenerated.
24452
95e7cf29
MR
244532013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24454
24455 * csu/init-first.c (_init): Remove the !SHARED condition around
24456 FPU control word initialization.
24457 * elf/dl-support.c (_dl_fpu_control): New variable.
24458 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24459 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24460 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24461 * math/test-fpucw-static.c: New file.
24462 * math/test-fpucw-ieee.c: New file.
24463 * math/test-fpucw-ieee-static.c: New file.
24464 * math/Makefile (tests): Add `test-fpucw-ieee' and
24465 `$(tests-static)'.
24466 (tests-static): New variable.
24467 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24468 dependency to...
24469 [($(build-shared),yes)]
24470 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24471 ... this.
24472 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24473 New dependency.
24474
83e43bf0
AM
244752013-09-09 Allan McRae <allan@archlinux.org>
24476
a9f5ce09
AM
24477 [BZ #15939]
24478 * manual/string.texi (Collation Functions): Fix typo in
24479 strcoll example.
24480 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24481
34829bc2
AM
24482 [BZ #15893]
24483 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24484
3932737d
AM
24485 [BZ #15892]
24486 * libio/memstream.c (open_memstream): Fix memory leak.
24487 * libio/wmemstream.c (open_wmemstream): Likewise.
24488
83e43bf0
AM
24489 [BZ #15895]
24490 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24491
0c66b8e9
WN
244922013-09-09 Will Newton <will.newton@linaro.org>
24493
24494 * malloc/Makefile: Add tst-realloc to tests.
24495 * malloc/tst-realloc.c: New file.
24496
f6b00fd1
AM
244972013-09-09 Allan McRae <allan@archlinux.org>
24498
24499 [BZ #15844]
24500 * COPYING: Update from GNU website to fix FSF address.
24501 * COPYING.LIB: Likewise.
24502
eec55e16
DM
245032013-09-06 David S. Miller <davem@davemloft.net>
24504
24505 * po/zh_TW.po: Update Chinese (traditional) translation from
24506 translation project.
24507
1ecbb381
RS
245082013-09-06 Richard Sandiford <richard@codesourcery.com>
24509 Joseph Myers <joseph@codesourcery.com>
24510
24511 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24512 "localeinfo.h".
24513 (obstack_chunk_alloc): New macro.
24514 (obstack_chunk_free): Likewise.
24515 (record_offset): New function.
24516 (init_locale_data): Likewise.
24517 (align_locale_data): Likewise.
24518 (add_locale_empty): Likewise.
24519 (add_locale_raw_data): Likewise.
24520 (add_locale_raw_obstack): Likewise.
24521 (add_locale_string): Likewise.
24522 (add_locale_wstring): Likewise.
24523 (add_locale_uint32): Likewise.
24524 (add_locale_uint32_array): Likewise.
24525 (add_locale_char): Likewise.
24526 (start_locale_structure): Likewise.
24527 (end_locale_structure): Likewise.
24528 (start_locale_prelude): Likewise.
24529 (end_locale_prelude): Likewise.
24530 (write_locale_data): Take locale_file structure rather than an
24531 iovec.
24532 * locale/programs/locfile.h: Include "obstack.h".
24533 (struct locale_file): Change to store locale file contents instead
24534 of header.
24535 (init_locale_data): New prototype.
24536 (align_locale_data): Likewise.
24537 (add_locale_empty): Likewise.
24538 (add_locale_raw_data): Likewise.
24539 (add_locale_raw_obstack): Likewise.
24540 (add_locale_string): Likewise.
24541 (add_locale_wstring): Likewise.
24542 (add_locale_uint32): Likewise.
24543 (add_locale_uint32_array): Likewise.
24544 (add_locale_char): Likewise.
24545 (start_locale_structure): Likewise.
24546 (end_locale_structure): Likewise.
24547 (start_locale_prelude): Likewise.
24548 (end_locale_prelude): Likewise.
24549 (write_locale_data): Update prototype.
24550 * locale/programs/3level.h (struct TABLE): Remove result field.
24551 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24552 Use new locale_file interface.
24553 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24554 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24555 * locale/programs/ld-address.c (address_output): Use new
24556 locale_file interface.
24557 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24558 NO_ADD_LOCALE.
24559 (collate_finish): Don't call collseq_table_finalize.
24560 (collate_output): Use new locale_file interface.
24561 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24562 in file.
24563 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24564 (TABLE): Move defines earlier in file.
24565 (ELEMENT): Likewise.
24566 (DEFAULT): Likewise.
24567 (wctrans_table_add): Move macro and inline function earlier in
24568 file.
24569 (struct wctype_table): Move type earlier in file.
24570 (add_locale_wctype_table): New static prototype.
24571 (struct locale_ctype_t): Use logical types instead of struct iovec
24572 pointers for members.
24573 (ctype_output): Use new locale_file interface.
24574 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24575 new locale_file interface.
24576 (allocate_arrays): Update for use of new locale_file interface.
24577 * locale/programs/ld-identification.c (identification_output): Use
24578 new locale_file interface.
24579 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24580 * locale/programs/ld-messages.c (messages_output): Likewise.
24581 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24582 * locale/programs/ld-name.c (name_output): Likewise.
24583 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24584 * locale/programs/ld-paper.c (paper_output): Likewise.
24585 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24586 * locale/programs/ld-time.c (time_output): Likewise.
24587
e029e2e5
AZ
245882013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24589
24590 * benchtests/Makefile: Add memrchr benchmark.
24591 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24592 benchmark as memrchr.
24593 * benchtests/bench-memrchr-ifunc.c: New file.
24594 * benchtests/bench-memrchr.c: New file.
24595
bbf6e8e4
WN
245962013-09-06 Will Newton <will.newton@linaro.org>
24597
24598 * benchtests/Makefile (string-bench): Add memcpy.
24599
6c82a2f8
CD
246002013-09-05 Carlos O'Donell <carlos@redhat.com>
24601 Cong Wang <amwang@redhat.com>
24602
e732c5f0 24603 [BZ #15850]
6c82a2f8
CD
24604 * sysdeps/unix/sysv/linux/bits/in.h
24605 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24606 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24607 before __USE_KERNEL_IPV6_DEFS uses.
24608 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24609 IPPROTO_BEETPH.
24610 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24611 sockaddr_in6, or ipv6_mreq.
24612
5430fc65
AZ
246132013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24614
24615 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24616 memory access for final bytes in some large inputs.
24617 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24618
4660856c
AZ
246192013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24620
24621 * string/test-memrchr.c: New file.
24622 * string/test-memrchr-ifunc.c: New file.
24623 * string/Makefile: Add new memrchr testcase.
24624
bb8ea713
MF
246252013-09-05 Mike Frysinger <vapier@gentoo.org>
24626
24627 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24628 fanotify_init returns EPERM.
24629
b92a20b5
JM
246302013-09-04 Joseph Myers <joseph@codesourcery.com>
24631
24632 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24633 errors.
24634 (top level): Treat second token from macro or constant entries for
24635 allowed headers as allowed.
24636 * include/complex.h: Condition internal declarations on
24637 [!_ISOMAC].
24638 * include/fenv.h: Condition include of <stdbool.h> and internal
24639 declarations on [!_ISOMAC].
7447ccd9
CL
24640
246412013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24642
3e181dda 24643 [BZ #15923]
7447ccd9
CL
24644 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24645
3f2e46a4
JM
246462013-09-04 Joseph Myers <joseph@codesourcery.com>
24647
24648 * configure.in (--enable-versioning): Remove configure option.
24649 (libc_cv_asm_symver_directive): Remove configure test.
24650 (libc_cv_ld_version_script_option): Likewise.
24651 (VERSIONING): Remove variable and AC_SUBST.
24652 (DO_VERSIONING): Remove AC_DEFINE.
24653 * configure: Regenerated.
24654 * config.h.in (DO_VERSIONING): Remove macro.
24655 * Makerules [$(versioning) = yes]: Change conditionals to
24656 [$(build-shared) = yes].
24657 * config.make.in (versioning): Remove variable.
24658 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24659 [$(build-shared) = yes].
24660 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24661 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24662 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24663 [$(build-shared) = yes].
24664 * extra-lib.mk [$(versioning) = yes]: Likewise.
24665 * hurd/Makefile [$(versioning) = yes]: Likewise.
24666 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24667 [SHARED].
24668 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24669 [SHARED].
24670 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24671 [SHARED && !NO_HIDDEN].
24672 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24673 [SHARED].
24674 [SHARED && DO_VERSIONING]: Likewise..
24675 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24676 [$(build-shared) = yes].
24677 * manual/install.texi (--disable-versioning): Remove
24678 documentation.
24679 * INSTALL: Regenerated.
24680 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24681 to [SHARED].
24682 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24683 [$(build-shared) = yes].
24684 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24685 * sysdeps/i386/i686/multiarch/strstr-c.c
24686 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24687 [SHARED && !NO_HIDDEN].
24688 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24689 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24690 * sysdeps/powerpc/powerpc32/dl-machine.c
24691 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24692 * sysdeps/powerpc/powerpc32/sysdep.h
24693 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24694 to [SHARED && PIC && !NO_HIDDEN].
24695 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24696 conditional to [SHARED].
24697
44558701
WN
246982013-09-04 Will Newton <will.newton@linaro.org>
24699
24700 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24701 * benchtests/bench-string.h: Include bench-timing.h instead
24702 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24703 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24704 call to HP_TIMING_DIFF_INIT.
24705 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24706 instead of hp-timing.h macros.
24707 * benchtests/bench-memchr.c: Likewise.
24708 * benchtests/bench-memcmp.c: Likewise.
24709 * benchtests/bench-memcpy.c: Likewise.
24710 * benchtests/bench-memmem.c: Likewise.
24711 * benchtests/bench-memmove.c: Likewise.
24712 * benchtests/bench-memset.c: Likewise.
24713 * benchtests/bench-rawmemchr.c: Likewise.
24714 * benchtests/bench-strcasecmp.c: Likewise.
24715 * benchtests/bench-strcasestr.c: Likewise.
24716 * benchtests/bench-strcat.c: Likewise.
24717 * benchtests/bench-strchr.c: Likewise.
24718 * benchtests/bench-strcmp.c: Likewise.
24719 * benchtests/bench-strcpy.c: Likewise.
24720 * benchtests/bench-strcpy_chk.c: Likewise.
24721 * benchtests/bench-strlen.c: Likewise.
24722 * benchtests/bench-strncasecmp.c: Likewise.
24723 * benchtests/bench-strncat.c: Likewise.
24724 * benchtests/bench-strncmp.c: Likewise.
24725 * benchtests/bench-strncpy.c: Likewise.
24726 * benchtests/bench-strnlen.c: Likewise.
24727 * benchtests/bench-strpbrk.c: Likewise.
24728 * benchtests/bench-strrchr.c: Likewise.
24729 * benchtests/bench-strspn.c: Likewise.
24730 * benchtests/bench-strstr.c: Likewise.
24731
cae16d66
WN
247322013-09-04 Will Newton <will.newton@linaro.org>
24733
24734 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24735
ffa3cd7f
JM
247362013-09-03 Joseph Myers <joseph@codesourcery.com>
24737
24738 [BZ #15427]
24739 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24740 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24741 * math/libm-test.inc (lgamma_test_data): Add more tests.
24742 * sysdeps/i386/fpu/libm-test-ulps: Update.
24743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24744
8f02859f
OB
247452013-09-03 Ondřej Bílka <neleai@seznam.cz>
24746
24747 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24748 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24749 Add ifunc.
24750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24751 Add strcmp-sse2-unaligned
24752 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24753
18d43716
MF
247542013-09-02 Mike Frysinger <vapier@gentoo.org>
24755
24756 * Versions.def (libc): Add GLIBC_2.19.
24757
ac444012
MF
247582013-09-02 Mike Frysinger <vapier@gentoo.org>
24759
24760 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24761 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24762
b7835e32
JM
247632013-09-02 Joseph Myers <joseph@codesourcery.com>
24764
24765 [BZ #14155]
24766 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24767 intermediate calculations in recurrence.
24768 (__ieee754_ynf): Likewise.
24769 * math/libm-test.inc (jn_test_data): Do not allow spurious
24770 underflow exception. Add more tests.
24771 (yn_test_data): Add more tests.
24772 * sysdeps/i386/fpu/libm-test-ulps: Update.
24773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24774
8220f4f0
OB
247752013-09-02 Ondřej Bílka <neleai@seznam.cz>
24776
24777 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24778
f24a6d08
OB
247792013-08-30 Ondřej Bílka <neleai@seznam.cz>
24780
24781 * csu/init-first.c: Fix then/than typos.
24782 * locale/programs/ld-collate.c: Likewise.
24783 * locale/programs/linereader.h: Likewise.
24784 * manual/charset.texi: Likewise.
24785 * manual/filesys.texi: Likewise.
24786 * manual/stdio.texi: Likewise.
24787 * manual/string.texi: Likewise.
24788 * stdlib/fmtmsg.c: Likewise.
24789 * sysdeps/i386/stpncpy.S: Likewise.
24790 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24791 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24792 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24793 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24794
382466e0
OB
247952013-08-30 Ondřej Bílka <neleai@seznam.cz>
24796
24797 * elf/dl-open.c: Fix typos.
24798 * iconvdata/gbbig5.c: Likewise.
24799 * iconvdata/iso-2022-jp.c: Likewise.
24800 * iconv/gconv_int.h: Likewise.
24801 * iconv/loop.c: Likewise.
24802 * nis/rpcsvc/nis.h: Likewise.
24803 * resolv/ns_name.c: Likewise.
24804 * stdio-common/vfscanf.c: Likewise.
24805 * streams/stropts.h: Likewise.
24806 * sunrpc/rpc_thread.c: Likewise.
24807 * sysdeps/i386/strpbrk.S: Likewise.
24808 * sysdeps/ieee754/k_standard.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24811 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24812 * sysdeps/mach/hurd/profil.c: Likewise.
24813 * sysdeps/s390/dl-procinfo.h: Likewise.
24814 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24815 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24816 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24817 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24818 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24819
0186c6e9
OB
248202013-08-30 Ondřej Bílka <neleai@seznam.cz>
24821
24822 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24824
d4e16af1
OB
248252013-08-29 Ondřej Bílka <neleai@seznam.cz>
24826
24827 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24828 aix specific files.
24829 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24830 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24831 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24832 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24833 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24834 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24835 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24836 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24837
88335980
TS
248382013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24839 Roland McGrath <roland@hack.frob.com>
24840
24841 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24842 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24843
ed479b02
ST
248442013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24845
24846 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24847 __executable_start symbol instead of _start.
24848
f1cc4c86
TS
248492013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24850
d821f07c
TS
24851 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24852 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24853 Move macros to...
24854 * sysdeps/gnu/ldsodefs.h: ... this new file.
24855
c54290cf
TS
24856 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24857 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24858 instead of ELFOSABI_LINUX.
24859
0007fc9b 24860 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24861 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24862 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24863 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24864 Likewise.
24865 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24866 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24867 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24868 Likewise.
24869 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24870 (ibm_extended_long_double): Add ieee_nan member.
24871 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24872 (do_test): New function.
24873
f1cc4c86
TS
24874 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24875 TEST_TRUNC.
24876 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24877 functions, renamed from truncdfsf_test, trunctfsf_test,
24878 trunctfdf_test.
24879 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24880 functions.
24881 (do_test): Run all these.
24882
6f65e668
OB
248832013-08-29 Ondřej Bílka <neleai@seznam.cz>
24884
24885 * argp/argp-help.c: Fix typos.
24886 * argp/argp-parse.c: Likewise.
24887 * debug/backtracesyms.c: Likewise.
24888 * elf/elf.h: Likewise.
24889 * malloc/malloc.c: Likewise.
24890 * nis/nis_print.c: Likewise.
24891 * resolv/res_comp.c: Likewise.
24892 * stdlib/stdlib.h: Likewise.
24893 * sunrpc/clnt_tcp.c: Likewise.
24894 * sunrpc/clnt_udp.c: Likewise.
24895 * sunrpc/clnt_unix.c: Likewise.
24896 * sysdeps/unix/bsd/ptsname.c: Likewise.
24897 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24898 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24900 Likewise.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24902 Likewise.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24904 Likewise.
6f65e668
OB
24905 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24906
3a309239
SP
249072013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24908
24909 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24911
3b813b29
MF
249122013-08-27 Mike Frysinger <vapier@gentoo.org>
24913
24914 [BZ #15897]
24915 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24916 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24917 ($(objpfx)bug-dl-leaf): New rule.
24918 ($(objpfx)bug-dl-leaf.so): Likewise.
24919 ($(objpfx)bug-dl-leaf.out): Likewise.
24920 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24921 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24922 * dlfcn/bug-dl-leaf.c: New test.
24923 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24924 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24925 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24926 (dlclose): Likewise.
24927 (dlmopen): Likewise.
24928
8cc3269f
RM
249292013-08-27 Roland McGrath <roland@hack.frob.com>
24930
7f9d0034
RM
24931 * include/netdb.h [!_ISOMAC]:
24932 Don't include <tls.h>.
24933 (h_errno, __libc_h_errno): Move declaration and macros out of
24934 [_LIBC_REENTRANT].
24935
fb431262
RM
24936 * include/resolv.h [_RESOLV_H_]:
24937 Don't include <tls.h>.
24938 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24939 * resolv/res_libc.c: Don't include <tls.h>.
24940 (_res): Use __attribute__ ((nocommon)) in place of
24941 __attribute__ ((section (".bss"))).
24942
bd81123a
RM
24943 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24944 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24945
c4e42566
RM
24946 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24947
f890a59b
RM
24948 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24949 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24950
24951 * resolv/res_mkquery.c: Include <sys/time.h>.
24952
5d1f0a09
RM
24953 * inet/ifreq.c: Moved to ...
24954 * sysdeps/unix/ifreq.c: ... here.
24955 * inet/ifreq.c: New file, true stub version.
24956
6fcf28b3
RM
24957 * socket/sa_len.c: New file.
24958 * socket/Makefile (aux): Add it.
24959 * sysdeps/unix/sysv/linux/Makefile
24960 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24961 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24962 and #include <socket/sa_len.c>.
24963 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24964 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24965
e041fb8b
RM
24966 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24967 * bits/socket.h: ... here.
24968
8cc3269f
RM
24969 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24970 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24971 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24972
5d228a43
AS
249732013-08-27 Andreas Schwab <schwab@suse.de>
24974
45b8accc
AS
24975 [BZ #15736]
24976 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24977 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24978 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24979 * string/test-strcasecmp.c (test_main): Run tests in several
24980 locales.
24981 * string/test-strncasecmp.c (test_main): Likewise.
24982
5d228a43
AS
24983 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24984 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24985 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24987 (__strncasecmp_ssse3) [PIC]: Likewise.
24988
59d112a4
RM
249892013-08-26 Roland McGrath <roland@hack.frob.com>
24990
53234cc3
RM
24991 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24992
59d112a4
RM
24993 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24994 instead of explicitly declaring xdecrypt.
24995 * nis/nss_nis/nis-publickey.c: Likewise.
24996
595aba70
SP
249972013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24998
24999 [BZ #15890]
25000 * nscd/aicache.c: Include res_hconf.h.
25001 (addhstaiX): Initialize res_hconf.
25002
ffabd393
AS
250032013-08-26 Andreas Schwab <schwab@suse.de>
25004
25005 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25006 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25007
e0a69f5c
SP
250082013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25009
25010 * nscd/aicache.c (addhstaiX): Fix indentation.
25011
8c12f01d
MF
250122013-08-25 Mike Frysinger <vapier@gentoo.org>
25013
25014 * configure.ac: Quote $build_pt_chown test.
25015 * configure: Regenerated.
25016
8fe89494
JM
250172013-08-23 Joseph Myers <joseph@codesourcery.com>
25018
25019 [BZ #15532]
25020 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25021 * math/s_cexpf.c (__cexpf): Likewise.
25022 * math/s_cexpl.c (__cexpl): Likewise.
25023 * math/libm-test.inc (cexp_test_data): Correct expected return
25024 value for NaN + i0. Add another test.
25025
75b181d6
DM
250262013-08-22 David S. Miller <davem@davemloft.net>
25027
25028 * po/ca.po: Update Catalan translation from translation project.
936241e4 25029 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25030
acd06bb1
JM
250312013-08-21 Joseph Myers <joseph@codesourcery.com>
25032
25033 [BZ #15797]
25034 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25035 is infinite, not alongside NaN test.
25036 * math/s_fdimf.c (__fdimf): Likewise.
25037 * math/s_fdiml.c (__fdiml): Likewise.
25038 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25039 errno is unchanged.
25040
c0c3f78a
OB
250412013-08-21 Ondřej Bílka <neleai@seznam.cz>
25042
25043 * argp/argp-help.c: Fix typos.
25044 * crypt/speeds.c: Likewise.
25045 * csu/check_fds.c: Likewise.
25046 * elf/dl-load.c: Likewise.
25047 * elf/dl-open.c: Likewise.
25048 * elf/reldep3.c: Likewise.
25049 * elf/reldep.c: Likewise.
25050 * elf/sprof.c: Likewise.
25051 * iconv/iconv_charmap.c: Likewise.
25052 * iconv/skeleton.c: Likewise.
25053 * iconv/strtab.c: Likewise.
25054 * io/lockf64.c: Likewise.
25055 * libio/libioP.h: Likewise.
25056 * resolv/gai_notify.c: Likewise.
25057 * resolv/ns_name.c: Likewise.
25058 * resolv/ns_samedomain.c: Likewise.
25059 * resolv/res_send.c: Likewise.
25060 * stdlib/random.c: Likewise.
25061 * sunrpc/rpc/xdr.h: Likewise.
25062 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25064 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25065 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25067 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25069 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25070 * sysdeps/mach/hurd/check_fds.c: Likewise.
25071 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25072 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25073 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25074 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25075 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25076 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25077 * sysdeps/pthread/aio_notify.c: Likewise.
25078 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25079 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25080 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25081 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25082 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25083
46ed1038
LD
250842013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25085
25086 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25087 version if bit_Slow_SSE4_2 is set.
25088 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25089 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25090
d400dcac
AZ
250912013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25092
25093 [BZ #15867]
25094 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25095 trampoline stack frame information.
25096 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25097 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25098 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25099 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25100 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25101 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25102 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25103 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25104 sa_flags value.
25105 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25106 interrupting a syscall and set with option SA_SIGINFO.
25107
42c8fdd8
JM
251082013-08-20 Joseph Myers <joseph@codesourcery.com>
25109
c980f2f4
JM
25110 [BZ #15531]
25111 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25112 argument is infinite.
25113 * math/s_cprojf.c (__cprojf): Likewise.
25114 * math/s_cprojl.c (__cprojl): Likewise.
25115 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25116 * math/libm-test.inc (cproj_test_data): Add more tests.
25117
0716c4fc
JM
25118 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25119
42c8fdd8
JM
25120 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25121 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25122 size. Use __ffs to determine corresponding shift.
25123
b31469d0
JM
251242013-08-20 Joseph Myers <joseph@codesourcery.com>
25125 Roland McGrath <roland@hack.frob.com>
25126
25127 * Makefile (INSTALL): Remove trailing blank lines from output of
25128 makeinfo.
25129
4e39af6e
AK
251302013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25131
25132 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25133 Align 32 bit compat elf_greg to 8 bytes.
25134
f315524e
AA
251352013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25136
25137 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25138
1326ba1a
SP
251392013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25140
25141 * string/strcoll_l.c (coll_seq): New structure.
25142 (get_next_seq_cached): New function.
25143 (get_next_seq): New function.
25144 (do_compare): New function.
25145 (STRCOLL): Use GNU style definition. Simplify implementation
25146 by using get_next_seq, get_next_seq_cached and do_compare.
25147
91ce4085
FW
251482013-08-16 Florian Weimer <fweimer@redhat.com>
25149
25150 [BZ #14699]
25151 CVE-2013-4237
25152 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25153 member.
25154 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25155 member.
25156 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25157 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25158 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25159 conditional.
25160 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25161 GETDENTS_64BIT_ALIGNED.
25162 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25163 * manual/filesys.texi (Reading/Closing Directory): Document
25164 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25165 strongly.
25166 * manual/conf.texi (Limits for Files): Add portability note to
25167 NAME_MAX, PATH_MAX.
25168 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25169
ca0a6bc4
AS
251702013-08-13 Andreas Schwab <schwab@suse.de>
25171
25172 [BZ #15749]
25173 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25174 of fabs.
25175 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25176 LDBL_MAX_EXP >= 16384]: Add tests for it.
25177
6c1fd795
DM
251782013-08-12 David S. Miller <davem@davemloft.net>
25179
25180 * version.h (RELEASE): Set to "development".
25181 (VERSION): Set to "2.18.90".
25182 * NEWS: Add 2.19 section.
25183
31ad488d
DM
251842013-08-03 David S. Miller <davem@davemloft.net>
25185
25186 * po/ko.po: Update Korean translation from translation project.
25187
db24e684
DM
251882013-08-01 David S. Miller <davem@davemloft.net>
25189
25190 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25191 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25192 Bilka.
25193
f723285b
DM
251942013-07-30 David S. Miller <davem@davemloft.net>
25195
25196 * po/fr.po: Update French translation from translation project.
25197
3cbc52db
DM
251982013-07-28 David S. Miller <davem@davemloft.net>
25199
30bbc0cc
DM
25200 * po/cs.po: Update Czech translation from translation project.
25201
3cbc52db
DM
25202 * po/sv.po: Update Swedish translation from translation project.
25203
d492e6d0
DM
252042013-07-27 David S. Miller <davem@davemloft.net>
25205
f1a7f492
DM
25206 * po/eo.po: Update Esperanto translation from translation project.
25207
90e62a4a
DM
25208 * po/vi.po: Update Vietnamese translation from translation project.
25209
d492e6d0
DM
25210 * po/de.po: Update German translation from translation project.
25211
d4baa62d
DM
252122013-07-26 David S. Miller <davem@davemloft.net>
25213
641aa7b4
DM
25214 * po/bg.po: Update Bulgarian translation from translation project.
25215
d4baa62d
DM
25216 * po/nl.po: Update Dutch translation from translation project.
25217 * po/pl.po: Update Polish translation from translation project.
25218 * po/ru.po: Update Russian translation from translation project.
25219
61a9dcb9
DM
252202013-07-24 David S. Miller <davem@davemloft.net>
25221
25222 * po/libc.pot: Update.
25223
7b1f8b58
AZ
252242013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25225
25226 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25227 variable page size.
25228 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25229 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25230 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25231
a8fc7a03
AK
252322013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25233
25234 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25235
e4608715
CD
252362013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25237 Andreas Schwab <schwab@suse.de>
25238 Roland McGrath <roland@hack.frob.com>
25239 Joseph Myers <joseph@codesourcery.com>
25240 Carlos O'Donell <carlos@redhat.com>
25241
25242 [BZ #15755]
25243 * config.h.in: Define HAVE_PT_CHOWN.
25244 * config.make.in (build-pt-chown): New variable.
25245 * configure.in (--enable-pt_chown): New configure option.
25246 * configure: Regenerate.
25247 * login/Makefile: Include Makeconfig. Build pt_chown only if
25248 build-pt-chown is enabled.
25249 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25250 pt_chown to fix pty ownership.
25251 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25252 CLOSE_ALL_FDS.
25253 * manual/install.texi (Configuring and compiling): Mention
25254 --enable-pt_chown. Add @findex for grantpt.
25255 * INSTALL: Regenerate.
25256
da2d62df
DM
252572013-07-20 David S. Miller <davem@davemloft.net>
25258
25259 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25260 difference between 32-bit and 64-bit.
25261
d7e06450
CD
252622013-07-15 Carlos O'Donell <carlos@redhat.com>
25263
25264 [BZ #15711]
25265 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25266 Avoid system header dependency with -ffreestanding.
25267 ($(objpfx)bits/syscall%d): Likewise.
25268
f959cfd7
DM
252692013-07-13 David S. Miller <davem@davemloft.net>
25270
25271 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25272 underflows from atanl/atan2l due to bug 15319.
25273 (casinh_test_data): Likewise.
25274
c61f8513
DM
252752013-07-07 David S. Miller <davem@davemloft.net>
25276
25277 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25278
72c90ed0
JA
252792013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25280
25281 * sysdeps/i386/fpu/libm-test-ulps: Update.
25282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25283
52dfbe13
SP
252842013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25285
25286 * configure.in (--enable-lock-elision): Fix message text.
25287 * INSTALL: Regenerate.
25288 * configure: Regenerate.
25289
3f169543
AZ
252902013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25291
25292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25293
521c6785
AJ
252942013-07-03 Andreas Jaeger <aj@suse.de>
25295
25296 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25297 define.
25298 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25299 (ptrace_peeksiginfo_args): Add.
25300 (__ptrace_peeksiginfo_flags): Add.
25301 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25302 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25303 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25304
d2cc15cb
AM
253052013-07-03 Allan McRae <allan@archlinux.org>
25306
25307 * sysdeps/i386/fpu/libm-test-ulps: Update.
25308
3aaeeca7
DM
253092013-07-02 David S. Miller <davem@davemloft.net>
25310
25311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25312
5314ed1a
MT
253132013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25314
25315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25316
67338156
JM
253172013-07-02 Joseph Myers <joseph@codesourcery.com>
25318
25319 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25321
1717da59
AK
253222013-07-02 Andi Kleen <ak@linux.intel.com>
25323
25324 * config.h.in (ENABLE_LOCK_ELISION): Add.
25325 * configure.in (--enable-lock-elision): Add option.
25326 * manual/install.texi: Document --enable lock elision.
25327 * configure: Regenerate
25328 * INSTALL: Regenerate.
25329
1c81621c
L
253302013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25331
25332 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25333 SSE4.2 strcasecmp for libc.a.
25334 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25335
77f01ab5
JM
253362013-07-02 Joseph Myers <joseph@codesourcery.com>
25337
25338 [BZ #13304]
25339 * soft-fp/op-common.h (_FP_FMA): New macro.
25340 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25341 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25342 (_FP_MUL_MEAT_1_imm): ... here.
25343 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25344 (_FP_MUL_MEAT_1_wide): ... here.
25345 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25346 (_FP_MUL_MEAT_1_hard): ... here.
25347 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25348 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25349 (_FP_MUL_MEAT_2_wide): ... here.
25350 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25351 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25352 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25353 (_FP_MUL_MEAT_2_gmp): ... here.
25354 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25355 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25356 (_FP_MUL_MEAT_4_wide): ... here.
25357 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25358 (_FP_MUL_MEAT_4_gmp): ... here.
25359 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25360 (_FP_WFRACBITS_DW_S): Likewise.
25361 (_FP_WFRACXBITS_DW_S): Likewise.
25362 (_FP_HIGHBIT_DW_S): Likewise.
25363 (FP_FMA_S): Likewise.
25364 (_FP_FRAC_HIGH_DW_S): Likewise.
25365 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25366 (_FP_WFRACBITS_DW_D): Likewise.
25367 (_FP_WFRACXBITS_DW_D): Likewise.
25368 (_FP_HIGHBIT_DW_D): Likewise.
25369 (FP_FMA_D): Likewise.
25370 (_FP_FRAC_HIGH_DW_D): Likewise.
25371 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25372 (_FP_WFRACBITS_DW_E): Likewise.
25373 (_FP_WFRACXBITS_DW_E): Likewise.
25374 (_FP_HIGHBIT_DW_E): Likewise.
25375 (FP_FMA_E): Likewise.
25376 (_FP_FRAC_HIGH_DW_E): Likewise.
25377 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25378 (_FP_WFRACBITS_DW_Q): Likewise.
25379 (_FP_WFRACXBITS_DW_Q): Likewise.
25380 (_FP_HIGHBIT_DW_Q): Likewise.
25381 (FP_FMA_Q): Likewise.
25382 (_FP_FRAC_HIGH_DW_Q): Likewise.
25383 * soft-fp/fmasf4.c: New file.
25384 * soft-fp/fmadf4.c: Likewise.
25385 * soft-fp/fmatf4.c: Likewise.
25386
6308fd9a
LD
253872013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25388
25389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25390 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25391 Silvermont.
25392 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25393 macro.
25394 (index_Slow_SSE4_2): Likewise.
25395 (index_Prefer_PMINUB_for_stringop): Likewise.
25396 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25397 bit_Slow_SSE4_2 is set.
25398 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25399 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25400
89cd9569
RA
254012013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25402
25403 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25404 rtld_global._dl_hwcap2.
25405 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25406 POWER8.
25407 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25408 POWER8 feature descriptions defined in _dl_hwcap2.
25409 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25410 string handling for POWER8 feature bits.
25411 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25412 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25413 _dl_powerpc_cap_flags.
25414 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25415 * sysdeps/powerpc/rtld-global-offsets.sym
25416 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25417 _dl_hwcap2 in the rtld_global_ro structure.
25418
1ae8bfe0
RA
254192013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25420
25421 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25422 hardware capabilities in support of AT_HWCAP2.
25423 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25424 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25425 GLRO(dl_hwcap2).
25426 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25427 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25428 explicitly the unknown a_type display mechanism is used.
25429 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25430 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25431 struct member.
25432 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25433 to macro prototype for AT_HWCAP2 support.
25434 * sysdeps/i386/dl-procinfo.h: Likewise.
25435 * sysdeps/s390/dl-procinfo.h: Likewise.
25436 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25437 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25438 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25439 return -1 for unknown a_type display fallback.
25440 * sysdeps/sparc/dl-procinfo.h: Likewise.
25441 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25442 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25443
8fbec010
JM
254442013-06-28 Joseph Myers <joseph@codesourcery.com>
25445
25446 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25447 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25448
0432680e
PY
254492013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25450
25451 [BZ #12492]
25452 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25453 mprotect making __stack_prot writable.
25454
ce61a2ad
NF
254552013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25456 Joseph Myers <joseph@codesourcery.com>
25457
25458 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25459 as being properly aligned.
25460
f91f1c0f
MR
254612013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25462
3d0f5d0c
MR
25463 * dlfcn/modstatic5.c: New file.
25464 * dlfcn/tststatic5.c: New file.
25465 * dlfcn/Makefile (tests): Add tststatic5.
25466 (tests-static): Likewise.
25467 (modules-names): Add modstatic5.
25468 (tststatic5-ENV): New variable.
25469 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25470
f91f1c0f
MR
25471 [BZ #15022]
25472 * elf/dl-support.c (_dl_main_map): New variable.
25473 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25474 (_dl_nns, _dl_load_adds): Set to 1.
25475 (_dl_initial_searchlist): Refer to _dl_main_map.
25476 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25477 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25478 call to _dl_get_origin.
25479 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25480 around call_map.
25481 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25482 * dlfcn/modstatic3.c: New file.
25483 * dlfcn/tststatic3.c: New file.
25484 * dlfcn/tststatic4.c: New file.
25485 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25486 (tests-static): Likewise.
25487 (modules-names): Add modstatic3.
25488 (tststatic3-ENV, tststatic4-ENV): New variables.
25489 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25490 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25491
cbe7d24b
JM
254922013-06-26 Joseph Myers <joseph@codesourcery.com>
25493
25494 * configure.in (CC): Require GCC version 4.4 or later.
25495 * configure: Regenerated.
25496 * manual/install.texi (Tools for Compilation): Update GCC version
25497 requirement.
25498 * INSTALL: Regenerated.
25499
11b8a0e1
LD
255002013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25501
25502 [BZ #15674]
bb5bb87c
L
25503 * string/test-memcmp.c (check2): New.
25504 (main): Call check2.
25505
11b8a0e1
LD
25506 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25507
b0037103
MR
255082013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25509
25510 [BZ #15022]
25511 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25512 over to...
25513 (dl_open_worker) [!SHARED]: ... here.
25514
c18c701d
RA
255152013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25516
25517 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25518
1d17fa5f
RH
255192013-06-25 Richard Henderson <rth@redhat.com>
25520
25521 * locale/programs/locarchive.c: Include <libc-internal.h>
25522
8fcb833a
JM
255232013-06-25 Joseph Myers <joseph@codesourcery.com>
25524
25525 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25526 trailing whitespace removed.
25527
17db6e8d
MF
255282013-06-24 Mike Frysinger <vapier@gentoo.org>
25529
25530 [BZ #10283]
17db6e8d
MF
25531 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25532 * locale/programs/locarchive.c: Include libc-mmap.h.
25533 (prepare_address_space): Take two new outputs (the mmap base and len).
25534 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25535 values.
25536 (create_archive): Declare new mmap base and len values for
25537 prepare_address_space, and store the result in ah.
25538 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25539 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25540 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25541 Declare new mmap base and len values for
25542 prepare_address_space, and store the result in new_ah.
25543 (open_archive): Declare new mmap base and len values for
25544 prepare_address_space, and store the result in ah.
25545 (close_archive): If ah->mmap_base is not NULL, use that and
25546 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25547 * sysdeps/generic/libc-mmap.h: New file.
25548
d605071e
MF
255492013-06-24 Mike Frysinger <vapier@gentoo.org>
25550
25551 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25552 (ALIGN_UP): Likewise.
25553 (PTR_ALIGN_DOWN): Likewise.
25554 (PTR_ALIGN_UP): Likewise.
25555
2f063a6e
RA
255562013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25557
25558 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25559 entry mapped to PPC_PLATFORM_POWER8.
25560 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25561 POWER8.
25562 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25563 (_dl_string_platform): Add case for exporting platform position for
25564 POWER8.
25565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25566 search path to sysdeps/powerpc/powerpc32/power8 directory.
25567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25568 search path to sysdeps/powerpc/powerpc64/power8 directory.
25569 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25570 power7 directories.
25571 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25572 power7 directories.
25573
a31ee4b3
SP
255742013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25575
a74ca98f
SP
25576 * INSTALL: Regenerate.
25577
a31ee4b3
SP
25578 * nscd/connections.c (nscd_init): Fix comment.
25579
695c378f
JM
255802013-06-22 Joseph Myers <joseph@codesourcery.com>
25581
d8412221
JM
25582 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25583
695c378f
JM
25584 [BZ #15667]
25585 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25586 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25587
d1d54715
MR
255882013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25589
25590 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25591 DL_DST_REQ_STATIC.
25592 (DL_DST_REQ_STATIC): Remove macro.
25593
8fdda7af
JM
255942013-06-21 Joseph Myers <joseph@codesourcery.com>
25595
25596 [BZ #7006]
25597 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25598 with a shift of 0 bits.
25599
f3bc5e5a
MR
256002013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25601
25602 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25603 $(tststatic-ENV).
25604
be09e8c9
KK
256052013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25606
25607 [BZ #15655]
25608 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25609
85c2e611
AZ
256102013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25611
25612 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25613 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25614 accepts -fno-tree-loop-distribute-patterns.
25615 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25616 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25617 recursive call.
25618 * string/memset.c (memset): Likewise.
25619 * string/test-memmove.c (simple_memmove): Disable loop transformation
25620 to library calls.
25621 * string/test-memset.c (simple_memset): Likewise.
25622 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25623 * benchtests/bench-memset.c (simple_memset): Likewise.
25624 * configure: Regenerated.
25625
c91e0825
JM
256262013-06-20 Joseph Myers <joseph@codesourcery.com>
25627
b8c792af
JM
25628 * math/test-misc.c (main): Ignore fesetround failure when failures
25629 of subsequent rounding tests would be ignored.
25630
c91e0825
JM
25631 [BZ #15654]
25632 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25633 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25634 * math/fegetenv.c (__fegetenv): Return 0.
25635 * math/fegetexcept.c (fegetexcept): Return 0.
25636 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25637 FE_TONEAREST.
25638 * math/feholdexcpt.c (feholdexcept): Return 0.
25639 * math/fesetenv.c (__fesetenv): Return 0.
25640 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25641 argument FE_TONEAREST.
25642 * math/feupdateenv.c (__feupdateenv): Return 0.
25643 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25644
bfcacbde
RM
256452013-06-18 Roland McGrath <roland@hack.frob.com>
25646
25647 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25648 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25649 ($(objpfx)rtld-%.os rules): Use them.
25650
e55a9b25
AZ
256512013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25652
25653 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25654 fields.
25655
346d65b3
RM
256562013-06-17 Roland McGrath <roland@hack.frob.com>
25657
12086fb4
RM
25658 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25659 length of target pattern, then descending length of dependency pattern.
25660 * configure.in (AWK): Require gawk 3.1.2 or newer.
25661 * manual/install.texi (Tools for Compilation): Say that we do.
25662 * configure: Regenerated.
25663
346d65b3
RM
25664 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25665 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25666 * scripts/sysd-rules.awk: ... this new script.
25667 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25668 than a glob-style pattern.
25669
1a846317
JM
256702013-06-17 Joseph Myers <joseph@codesourcery.com>
25671
25672 * math/test-misc.c (main): Do not treat incorrectly rounded
25673 conversions as failure unless ROUNDING_TESTS passes.
25674
8fc75e6f
JM
256752013-06-15 Joseph Myers <joseph@codesourcery.com>
25676
3711a167
JM
25677 [BZ #15631]
25678 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25679 restore exception state around main square root computation, then
25680 check for inexactness explicitly.
25681
8fc75e6f
JM
25682 * math/libm-test.inc (fma_test_data): Add another test.
25683
61dd6208
SP
256842013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25685
adf23d2c
SP
25686 * manual/threads.texi (Non-POSIX Extensions): New document
25687 node. Document pthread_getattr_default_np and
25688 pthread_setattr_default_np.
25689
61dd6208
SP
25690 * Versions.def (libpthread): Add GLIBC_2.18.
25691 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25693 Likewise.
25694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25695 Likewise.
25696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25697 Likewise.
25698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25699 Likewise.
25700 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25701 Likewise.
25702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25703 Likewise.
25704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25705 Likewise.
25706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25707 Likewise.
25708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25709 Likewise.
25710
d086fc7b
LD
257112013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25712
25713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25714 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25715
747ef469
SP
257162013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25717 H.J. Lu <hjl.tools@gmail.com>
25718
25719 [BZ #15627]
25720 * sysdeps/x86_64/rtld-memset.c: Remove file.
25721 * sysdeps/x86_64/rtld-memset.S: New file.
25722
1b2feed2
JM
257232013-06-14 Joseph Myers <joseph@codesourcery.com>
25724
25725 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25726 (test_in_one_mode): Take arguments for whether the rounding mode
25727 is supported for each floating-point type.
25728 (do_test): Pass new arguments to test_in_one_mode using
25729 ROUNDING_TESTS.
25730
a58ad3f8
RM
257312013-06-13 Roland McGrath <roland@hack.frob.com>
25732
25733 * posix/tst-waitid.c (do_test): Distinguish different instances of
25734 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25735 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25736 before entering the kernel for waitpid.
25737
c204ab28
SP
257382013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25739
25740 * NEWS: Fix note on clock function precision. Text by Roland
25741 McGrath.
25742
f4a29fba
RM
257432013-06-13 Roland McGrath <roland@hack.frob.com>
25744
25745 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25746 it into place only when and if the sanity check passes.
25747
1f24b9ad
JM
257482013-06-13 Joseph Myers <joseph@codesourcery.com>
25749
25750 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25751 output for whether conversion result is exact. Take argument
25752 indicating whether type is IBM long double.
25753 (round_for_all): Change need_exact field to ibm_ld.
25754 * stdlib/tst-strtod-round.c (struct exactness): New type.
25755 (struct test): Change bool ld_ok field to struct exactness exact.
25756 (TEST): Update all definitions for change to field.
25757 (tests): Regenerate array contents.
25758 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25759 field value. Check for IBM long double here.
25760 (do_test): Update calls to test_in_one_mode.
25761
58206c68
SP
257622013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25763
25764 [BZ #12515]
25765 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25766 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25767
2d6f4c5b 257682013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25769
25770 [BZ #15605]
25771 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25772 generated by the compiler on loop optimizations.
25773 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25774 general definitions.
25775
94f2c076
JM
257762013-06-12 Joseph Myers <joseph@codesourcery.com>
25777
25778 * math/bug-nextafter.c: Include <math-tests.h>.
25779 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25780 the relevant type.
25781 * math/bug-nexttoward.c: Include <math-tests.h>.
25782 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25783 the relevant type.
25784 * math/test-misc.c: Include <math-tests.h>.
25785 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25786 the relevant type.
25787
e0e50a0a
AJ
257882013-06-12 Andreas Jaeger <aj@suse.de>
25789
25790 * po/ia.po: Update Interlingua translation from translation
25791 project.
25792
25061094
SP
257932013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25794
25795 * include/fenv.h: Include stdbool.h.
25796 (struct rm_ctx): New structure.
25797 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25798 Define macro.
25799 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25800 (SET_RESTORE_ROUNDF): Likewise.
25801 (SET_RESTORE_ROUNDL): Likewise.
25802 (SET_RESTORE_ROUND_NOEX): Likewise.
25803 (SET_RESTORE_ROUND_NOEXF): Likewise.
25804 (SET_RESTORE_ROUND_NOEXL): Likewise.
25805 (SET_RESTORE_ROUND_53BIT): Likewise.
25806 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25807 (libc_feresetround_noexf_ctx): Likewise.
25808 (libc_feresetround_noexl_ctx): Likewise.
25809 (libc_feholdsetround_53bit_ctx): Likewise.
25810 (libc_feresetround_53bit_ctx): Likewise.
25811 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25812 (libc_feholdexcept_setround_sse_ctx): New function.
25813 (libc_fesetenv_sse_ctx): Likewise.
25814 (libc_feupdateenv_sse_ctx): Likewise.
25815 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25816 (libc_feholdexcept_setround_387_ctx): Likewise.
25817 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25818 (libc_feholdsetround_387_prec_ctx): Likewise.
25819 (libc_feholdsetround_387_ctx): Likewise.
25820 (libc_feholdsetround_387_53bit_ctx): Likewise.
25821 (libc_feholdsetround_sse_ctx): Likewise.
25822 (libc_feresetround_sse_ctx): Likewise.
25823 (libc_feresetround_387_ctx): Likewise.
25824 (libc_feupdateenv_387_ctx): Likewise.
25825 (libc_feholdexcept_setroundf_ctx): Define macro.
25826 (libc_fesetenvf_ctx): Likewise.
25827 (libc_feupdateenvf_ctx): Likewise.
25828 (libc_feholdsetroundf_ctx): Likewise.
25829 (libc_feresetroundf_ctx): Likewise.
25830 (libc_feholdexcept_setround_ctx): Likewise.
25831 (libc_fesetenv_ctx): Likewise.
25832 (libc_feupdateenv_ctx): Likewise.
25833 (libc_feholdsetround_ctx): Likewise.
25834 (libc_feresetround_ctx): Likewise.
25835 (libc_feholdexcept_setroundl_ctx): Likewise.
25836 (libc_feupdateenvl_ctx): Likewise.
25837 (libc_feholdsetroundl_ctx): Likewise.
25838 (libc_feresetroundl_ctx): Likewise.
25839 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25840 (libc_feresetround_53bit_ctx): Likewise.
25841
59b30555
SP
258422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25843
25844 * locale/iso-639.def: Convert to UTF-8.
25845
f1d73d30
JM
258462013-06-11 Joseph Myers <joseph@codesourcery.com>
25847
25848 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25849 (EXCEPTION_TESTS_double): Likewise.
25850 (EXCEPTION_TESTS_long_double): Likewise.
25851 (EXCEPTION_TESTS): Likewise.
25852 * math/libm-test.inc (test_exceptions): Only test exceptions if
25853 EXCEPTION_TESTS (FLOAT).
25854
94aca5e7
SP
258552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25856
25857 * benchtests/Makefile (string-bench): Add strcpy_chk and
25858 stpcpy_chk.
25859 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25860 * benchtests/bench-stpcpy_chk.c: New file.
25861 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25862 * benchtests/bench-strcpy_chk.c: New file.
25863 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25864 code.
25865 (do_test): Likewise.
25866
fac0c5f2
RA
258672013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25868
25869 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25870 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25871 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25872 with tabs where appropriate.
25873 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25874 dl-procinfo.h.
25875 [PPC_PLATFORM_PPC440]: Likewise.
25876 [PPC_PLATFORM_PPC464]: Likewise.
25877 [PPC_PLATFORM_PPC476]: Likewise.
25878 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25879 ppc464, and ppc476 platform strings merging from ports/
25880 dl-procinfo.h.
25881
f22bc486
AS
258822013-06-11 Andreas Schwab <schwab@suse.de>
25883
25884 [BZ #14991]
25885 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25886 (from_ucs4_idx): Regenerate.
25887 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25888 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25889 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25890 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25891 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25892 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25893 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25894 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25895 from FROM_LOOP and TO_LOOP specific macros.
25896 (BODY): Handle combining characters.
25897 * iconvdata/BIG5HKSCS.irreversible: Update.
25898 * iconvdata/BIG5HKSCS.precomposed: New file.
25899 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25900 characters.
25901 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25902
c1f75dc3
SP
259032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25904
4eacded2
SP
25905 * include/sys/time.h: Fix indentation and add copyright header.
25906
fec799f8
SP
25907 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25908 (do_test): Likewise.
25909 * string/test-memchr.c (do_one_test): Likewise.
25910 (do_test): Likewise.
25911 * string/test-memcmp.c (do_one_test): Likewise.
25912 (do_test): Likewise.
25913 * string/test-memcpy.c (do_one_test): Likewise.
25914 (do_test): Likewise.
25915 * string/test-memmem.c (do_one_test): Likewise.
25916 (do_test): Likewise.
25917 (do_random_tests): Likewise.
25918 * string/test-memmove.c (do_one_test): Likewise.
25919 (do_test): Likewise.
25920 * string/test-memset.c (do_one_test): Likewise.
25921 (do_test): Likewise.
25922 * string/test-rawmemchr.c (do_one_test): Likewise.
25923 (do_test): Likewise.
25924 * string/test-strcasecmp.c (do_one_test): Likewise.
25925 (do_test): Likewise.
25926 * string/test-strcasestr.c (do_one_test): Likewise.
25927 (do_test): Likewise.
25928 * string/test-strcat.c (do_one_test): Likewise.
25929 (do_test): Likewise.
25930 * string/test-strchr.c (do_one_test): Likewise.
25931 (do_test): Likewise.
25932 * string/test-strcmp.c (do_one_test): Likewise.
25933 (do_test): Likewise.
25934 * string/test-strcpy.c (do_one_test): Likewise.
25935 (do_test): Likewise.
25936 * string/test-string.h: Likewise.
25937 (test_init): Likewise.
25938 * string/test-strlen.c (do_one_test): Likewise.
25939 (do_test): Likewise.
25940 * string/test-strncasecmp.c (do_one_test): Likewise.
25941 (do_test): Likewise.
25942 * string/test-strncat.c (do_one_test): Likewise.
25943 (do_test): Likewise.
25944 * string/test-strncmp.c (do_one_test): Likewise.
25945 (do_test_limit): Likewise.
25946 (do_test): Likewise.
25947 * string/test-strncpy.c (do_one_test): Likewise.
25948 (do_test): Likewise.
25949 * string/test-strnlen.c (do_one_test): Likewise.
25950 (do_test): Likewise.
25951 * string/test-strpbrk.c (do_one_test): Likewise.
25952 (do_test): Likewise.
25953 * string/test-strrchr.c (do_one_test): Likewise.
25954 (do_test): Likewise.
25955 * string/test-strspn.c (do_one_test): Likewise.
25956 (do_test): Likewise.
25957 * string/test-strstr.c (do_one_test): Likewise.
25958 (do_test): Likewise.
25959
97020474
SP
25960 * benchtests/Makefile (string-bench): Add string benchmarks.
25961 * benchtests/bench-bcopy-ifunc.c: New file.
25962 * benchtests/bench-bcopy.c: New file.
25963 * benchtests/bench-bzero-ifunc.c: New file.
25964 * benchtests/bench-bzero.c: New file.
25965 * benchtests/bench-memccpy-ifunc.c: New file.
25966 * benchtests/bench-memccpy.c: New file.
25967 * benchtests/bench-memchr-ifunc.c: New file.
25968 * benchtests/bench-memchr.c: New file.
25969 * benchtests/bench-memcmp-ifunc.c: New file.
25970 * benchtests/bench-memcmp.c: New file.
25971 * benchtests/bench-memmem-ifunc.c: New file.
25972 * benchtests/bench-memmem.c: New file.
25973 * benchtests/bench-memmove-ifunc.c: New file.
25974 * benchtests/bench-memmove.c: New file.
25975 * benchtests/bench-mempcpy-ifunc.c: New file.
25976 * benchtests/bench-mempcpy.c: New file.
25977 * benchtests/bench-memset-ifunc.c: New file.
25978 * benchtests/bench-memset.c: New file.
25979 * benchtests/bench-rawmemchr-ifunc.c: New file.
25980 * benchtests/bench-rawmemchr.c: New file.
25981 * benchtests/bench-stpcpy-ifunc.c: New file.
25982 * benchtests/bench-stpcpy.c: New file.
25983 * benchtests/bench-stpncpy-ifunc.c: New file.
25984 * benchtests/bench-stpncpy.c: New file.
25985 * benchtests/bench-strcasecmp-ifunc.c: New file.
25986 * benchtests/bench-strcasecmp.c: New file.
25987 * benchtests/bench-strcasestr-ifunc.c: New file.
25988 * benchtests/bench-strcasestr.c: New file.
25989 * benchtests/bench-strcat-ifunc.c: New file.
25990 * benchtests/bench-strcat.c: New file.
25991 * benchtests/bench-strchr-ifunc.c: New file.
25992 * benchtests/bench-strchr.c: New file.
25993 * benchtests/bench-strchrnul-ifunc.c: New file.
25994 * benchtests/bench-strchrnul.c: New file.
25995 * benchtests/bench-strcmp-ifunc.c: New file.
25996 * benchtests/bench-strcmp.c: New file.
25997 * benchtests/bench-strcpy-ifunc.c: New file.
25998 * benchtests/bench-strcpy.c: New file.
25999 * benchtests/bench-strcspn-ifunc.c: New file.
26000 * benchtests/bench-strcspn.c: New file.
26001 * benchtests/bench-strlen-ifunc.c: New file.
26002 * benchtests/bench-strlen.c: New file.
26003 * benchtests/bench-strncasecmp-ifunc.c: New file.
26004 * benchtests/bench-strncasecmp.c: New file.
26005 * benchtests/bench-strncat-ifunc.c: New file.
26006 * benchtests/bench-strncat.c: New file.
26007 * benchtests/bench-strncmp-ifunc.c: New file.
26008 * benchtests/bench-strncmp.c: New file.
26009 * benchtests/bench-strncpy-ifunc.c: New file.
26010 * benchtests/bench-strncpy.c: New file.
26011 * benchtests/bench-strnlen-ifunc.c: New file.
26012 * benchtests/bench-strnlen.c: New file.
26013 * benchtests/bench-strpbrk-ifunc.c: New file.
26014 * benchtests/bench-strpbrk.c: New file.
26015 * benchtests/bench-strrchr-ifunc.c: New file.
26016 * benchtests/bench-strrchr.c: New file.
26017 * benchtests/bench-strspn-ifunc.c: New file.
26018 * benchtests/bench-strspn.c: New file.
26019 * benchtests/bench-strstr-ifunc.c: New file.
26020 * benchtests/bench-strstr.c: New file.
26021
c1f75dc3
SP
26022 * benchtests/Makefile: Disable parallel execution of targets.
26023 (string-bench): Add memcpy.
26024 (benchset): New variable to store a list of benchmark sets.
26025 (bench-func): Renamed from bench.
26026 (bench-set): New target.
26027 (bench): Depend on bench-func and bench-set.
26028 * benchtests/README: Add section on benchmark sets.
26029 * benchtests/bench-memcpy-ifunc.c: New file.
26030 * benchtests/bench-memcpy.c: New file.
26031 * benchtests/bench-string.h: New file.
26032
50fd745b
AS
260332013-06-11 Andreas Schwab <schwab@suse.de>
26034
26035 [BZ #15577]
26036 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26037 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26038 values in the triple.
26039 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26040 terminator in the group key.
26041
3ee7e9fe
AJ
260422013-06-11 Andreas Jaeger <aj@suse.de>
26043
26044 * po/zh_TW.po: Update Chinese (traditional) translation from
26045 translation project.
26046
89fb6835
SP
260472013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26048
26049 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26050 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26051 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26052 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26053 (clock_getcpuclockid): Likewise.
26054 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26055 Add weak_alias and libc_hidden_def.
26056 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26057 * rt/clock_gettime.c (clock_gettime): Rename to
26058 __clock_gettime. Add weak_alias and libc_hidden_def.
26059 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26060 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26061 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26062 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26063 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26064 Likewise.
26065 * rt/clock_settime.c (clock_settime): Rename to
26066 __clock_settime. Add weak_alias and libc_hidden_def.
26067 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26068
0efa6f8b
JM
260692013-06-10 Joseph Myers <joseph@codesourcery.com>
26070
b8c61b4b
JM
26071 * mach/err_boot.sub: Remove trailing whitespace.
26072 * mach/err_ipc.sub: Likewise.
26073 * mach/err_mach.sub: Likewise.
26074
0efa6f8b
JM
26075 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26076 (ROUNDING_TESTS_double): Likewise.
26077 (ROUNDING_TESTS_long_double): Likewise.
26078 (ROUNDING_TESTS): Likewise.
26079 * math/libm-test.inc: Include <math-tests.h>.
26080 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26081 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26082 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26083 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26084
50b818bf
SP
260852013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26086
26087 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26088 of assigning.
26089
60d2f8f3
JM
260902013-06-08 Joseph Myers <joseph@codesourcery.com>
26091
4902d2c3
JM
26092 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26093 otherwise empty TRANS lines.
26094 * sysdeps/gnu/errlist.c: Regenerated.
26095
60d2f8f3
JM
26096 * catgets/gencat.c (error_print): Use (void) in function
26097 definition.
26098 * crypt/crypt_util.c (__init_des): Likewise.
26099 * crypt/speeds.c (Stop): Likewise.
26100 (main): Likewise.
26101 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26102 * inet/ruserpass.c (token): Likewise.
26103 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26104 * intl/localealias.c (extend_alias_table): Likewise.
26105 * intl/plural-exp.c (init_germanic_plural): Likewise.
26106 * libio/fcloseall.c (__fcloseall): Likewise.
26107 * libio/genops.c (_IO_flush_all): Likewise.
26108 (_IO_flush_all_linebuffered): Likewise.
26109 (_IO_cleanup): Likewise.
26110 (_IO_iter_begin): Likewise.
26111 (_IO_iter_end): Likewise.
26112 (_IO_list_lock): Likewise.
26113 (_IO_list_unlock): Likewise.
26114 (_IO_list_resetlock): Likewise.
26115 * libio/getchar.c (getchar): Likewise.
26116 * libio/getchar_u.c (getchar_unlocked): Likewise.
26117 * libio/getwchar.c (getwchar): Likewise.
26118 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26119 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26120 * login/getpt.c (__getpt): Likewise.
26121 * login/tst-utmp.c (main): Likewise.
26122 * malloc/hooks.c (__malloc_check_init): Likewise.
26123 * malloc/malloc.c (__malloc_stats): Likewise.
26124 * malloc/mtrace.c (tr_break): Likewise.
26125 (mtrace): Likewise.
26126 (muntrace): Likewise.
26127 * misc/fstab.c (endfsent): Likewise.
26128 * misc/getclktck.c (__getclktck): Likewise.
26129 * misc/getdtsz.c (__getdtablesize): Likewise.
26130 * misc/gethostid.c (gethostid): Likewise.
26131 * misc/getpagesize.c (__getpagesize): Likewise.
26132 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26133 (__get_nprocs): Likewise.
26134 (__get_phys_pages): Likewise.
26135 (__get_avphys_pages): Likewise.
26136 * misc/getttyent.c (getttyent): Likewise.
26137 (setttyent): Likewise.
26138 (endttyent): Likewise.
26139 * misc/getusershell.c (getusershell): Likewise.
26140 (endusershell): Likewise.
26141 (setusershell): Likewise.
26142 (initshells): Likewise.
26143 * misc/hsearch.c (__hdestroy): Likewise.
26144 * misc/sync.c (sync): Likewise.
26145 * misc/syslog.c (closelog_internal): Likewise.
26146 (closelog): Likewise.
26147 * misc/ttyslot.c (ttyslot): Likewise.
26148 * misc/vhangup.c (vhangup): Likewise.
26149 * posix/fork.c (__fork): Likewise.
26150 * posix/getegid.c (__getegid): Likewise.
26151 * posix/geteuid.c (__geteuid): Likewise.
26152 * posix/getgid.c (__getgid): Likewise.
26153 * posix/getpid.c (__getpid): Likewise.
26154 * posix/getppid.c (__getppid): Likewise.
26155 * posix/getuid.c (__getuid): Likewise.
26156 * posix/pause.c (pause): Likewise.
26157 * posix/setpgrp.c (setpgrp): Likewise.
26158 * posix/setsid.c (__setsid): Likewise.
26159 * posix/test-vfork.c (noop): Likewise.
26160 * resolv/gethnamaddr.c (_endhtent): Likewise.
26161 (_gethtent): Likewise.
26162 (ht_endhostent): Likewise.
26163 (gethostent): Likewise.
26164 (dns_service): Likewise.
26165 * stdlib/drand48.c (drand48): Likewise.
26166 * stdlib/lrand48.c (lrand48): Likewise.
26167 * stdlib/mrand48.c (mrand48): Likewise.
26168 * stdlib/rand.c (rand): Likewise.
26169 * stdlib/random.c (__random): Likewise.
26170 * stdlib/setenv.c (clearenv): Likewise.
26171 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26172 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26173 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26174 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26175 (__get_nprocs): Likewise.
26176 (__get_phys_pages): Likewise.
26177 (__get_avphys_pages): Likewise.
26178 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26179 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26180 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26181 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26182 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26183 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26184 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26185 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26186 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26187 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26188 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26189 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26190 * sysdeps/posix/clock.c (clock): Likewise.
26191 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26192 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26193 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26194 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26195 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26197 (__get_nprocs_conf): Likewise.
26198 (__get_phys_pages): Likewise.
26199 (__get_avphys_pages): Likewise.
26200 * time/clock.c (clock): Likewise.
26201 * time/tzset.c (__tzname_max): Likewise.
26202
2e09a79a
JM
262032013-06-07 Joseph Myers <joseph@codesourcery.com>
26204
26205 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26206 (__bswap_32): Do not use "register".
26207 * crypt/crypt.c (_ufc_doit_r): Likewise.
26208 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26209 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26210 * gmon/gmon.c (__monstartup): Likewise.
26211 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26212 * hurd/hurdmalloc.c (more_memory): Likewise.
26213 (malloc): Likewise.
26214 (free): Likewise.
26215 (realloc): Likewise.
26216 (malloc_fork_prepare): Likewise.
26217 (malloc_fork_parent): Likewise.
26218 (malloc_fork_child): Likewise.
26219 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26220 (_svcauth_des): Likewise.
26221 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26222 * inet/inet_net.c (inet_network): Likewise.
26223 * inet/inet_netof.c (inet_netof): Likewise.
26224 * inet/rcmd.c (__validuser2_sa): Likewise.
26225 * io/fts.c (fts_open): Likewise.
26226 (fts_load): Likewise.
26227 (fts_close): Likewise.
26228 (fts_read): Likewise.
26229 (fts_children): Likewise.
26230 (fts_build): Likewise.
26231 (fts_stat): Likewise.
26232 (fts_sort): Likewise.
26233 (fts_alloc): Likewise.
26234 (fts_lfree): Likewise.
26235 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26236 (_IO_file_xsgetn): Likewise.
26237 (_IO_file_xsgetn_mmap): Likewise.
26238 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26239 (_IO_cookie_write): Likewise.
26240 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26241 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26242 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26243 * malloc/obstack.c (_obstack_begin): Likewise.
26244 (_obstack_begin_1): Likewise.
26245 (_obstack_newchunk): Likewise.
26246 (_obstack_allocated_p): Likewise.
26247 (obstack_free): Likewise.
26248 (_obstack_memory_used): Likewise.
26249 * misc/getttyent.c (getttynam): Likewise.
26250 (getttyent): Likewise.
26251 (skip): Likewise.
26252 (value): Likewise.
26253 * misc/getusershell.c (initshells): Likewise.
26254 * misc/syslog.c (__vsyslog_chk): Likewise.
26255 * misc/ttyslot.c (ttyslot): Likewise.
26256 * nis/nis_hash.c (__nis_hash): Likewise.
26257 * posix/fnmatch_loop.c (FCT): Likewise.
26258 * posix/getconf.c (print_all): Likewise.
26259 (main): Likewise.
26260 * posix/getopt.c (exchange): Likewise.
26261 * posix/glob.c (globfree): Likewise.
26262 (prefix_array): Likewise.
26263 (__glob_pattern_type): Likewise.
26264 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26265 (NS_GET32): Likewise.
26266 (NS_PUT16): Likewise.
26267 (NS_PUT32): Likewise.
26268 * resolv/gethnamaddr.c (getanswer): Likewise.
26269 (gethostbyname2): Likewise.
26270 (gethostbyaddr): Likewise.
26271 (_gethtent): Likewise.
26272 (_gethtbyname2): Likewise.
26273 (_gethtbyaddr): Likewise.
26274 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26275 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26276 * resolv/res_init.c (__res_vinit): Likewise.
26277 (net_mask): Likewise.
26278 * resolv/res_mkquery.c (outchar): Likewise.
26279 (PRINT): Likewise.
26280 * stdio-common/printf_fp.c (outchar): Likewise.
26281 (PRINT): Likewise.
26282 * stdio-common/printf_fphex.c (outchar): Likewise.
26283 (PRINT): Likewise.
26284 * stdio-common/printf_size.c (outchar): Likewise.
26285 (PRINT): Likewise.
26286 * stdio-common/test_rdwr.c (main): Likewise.
26287 * stdio-common/tfformat.c (matches): Likewise.
26288 * stdio-common/vfprintf.c (outchar): Likewise.
26289 (printf_unknown): Likewise.
26290 (buffered_vfprintf): Likewise.
26291 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26292 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26293 (ReadFile): Likewise.
26294 * stdlib/qsort.c (SWAP): Likewise.
26295 (_quicksort): Likewise.
26296 * stdlib/setenv.c (__add_to_environ): Likewise.
26297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26298 * stdlib/strtol_l.c (__strtol_l): Likewise.
26299 * stdlib/tst-strtod.c (main): Likewise.
26300 * stdlib/tst-strtol.c (main): Likewise.
26301 * stdlib/tst-strtoll.c (main): Likewise.
26302 * string/bits/string2.h (__strcmp_cc): Likewise.
26303 (__strcmp_cg): Likewise.
26304 (__strcspn_c1): Likewise.
26305 (__strcspn_c2): Likewise.
26306 (__strcspn_c3): Likewise.
26307 (__strspn_c1): Likewise.
26308 (__strspn_c2): Likewise.
26309 (__strspn_c3): Likewise.
26310 (__strsep_1c): Likewise.
26311 (__strsep_2c): Likewise.
26312 (__strsep_3c): Likewise.
26313 * string/memccpy.c (__memccpy): Likewise.
26314 * string/stpcpy.c (__stpcpy): Likewise.
26315 * string/strcmp.c (strcmp): Likewise.
26316 * string/strrchr.c (strrchr): Likewise.
26317 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26318 Likewise.
26319 * sysdeps/mach/hurd/getcwd.c
26320 (_hurd_canonicalize_directory_name_internal): Likewise.
26321 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26322 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26323 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26324 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26325 Likewise, in both definitions.
26326 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26327 definitions.
26328 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26329 64] (__bswap_64): Likewise.
26330 * time/test_time.c (main): Likewise.
26331 * time/tzfile.c (__tzfile_read): Likewise.
26332 (__tzfile_compute): Likewise.
26333 * time/tzset.c (__tzset_parse_tz): Likewise.
26334 (tzset_internal): Likewise.
26335 (compute_change): Likewise.
26336 * wcsmbs/wcscat.c (__wcscat): Likewise.
26337 * wcsmbs/wcschr.c (wcschr): Likewise.
26338 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26339 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26340 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26341 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26342 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26343 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26344 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26345 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26346 * wcsmbs/wmemset.c (wmemset): Likewise.
26347
9e54314b
JM
263482013-06-06 Joseph Myers <joseph@codesourcery.com>
26349
26350 * scripts/config.guess: Update to version 2013-05-16.
26351 * scripts/config.sub: Update to version 2013-04-24.
26352 * scripts/install-sh: Update to version 2011-11-20.07.
26353 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26354 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26355
350635a5
OB
263562013-06-06 Ondřej Bílka <neleai@seznam.cz>
26357
26358 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26359 * elf/sln.c: Likewise.
26360 * hurd/hurd/ioctl.h: Likewise.
26361 * hurd/hurdmalloc.c: Likewise.
26362 * hurd/xattr.c: Likewise.
26363 * include/shlib-compat.h: Likewise.
26364 * inet/ruserpass.c: Likewise.
26365 * libio/iofgets_u.c: Likewise.
26366 * libio/iofgetws_u.c: Likewise.
26367 * locale/programs/ld-identification.c: Likewise.
26368 * locale/programs/ld-time.c: Likewise.
26369 * mach/msg-destroy.c: Likewise.
26370 * nss/nss_files/files-netgrp.c: Likewise.
26371 * resolv/res_data.c: Likewise.
26372 * soft-fp/op-1.h: Likewise.
26373 * soft-fp/op-2.h: Likewise.
26374 * soft-fp/op-4.h: Likewise.
26375 * soft-fp/op-common.h: Likewise.
26376 * stdio-common/printf_fphex.c: Likewise.
26377 * stdlib/strtod_l.c: Likewise.
26378 * sunrpc/rpc/clnt.h: Likewise.
26379 * sysdeps/generic/framestate.c: Likewise.
26380 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26381 * sysdeps/i386/bsd-setjmp.S: Likewise.
26382 * sysdeps/i386/__longjmp.S: Likewise.
26383 * sysdeps/i386/setjmp.S: Likewise.
26384 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26385 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26386 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26387 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26390 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26391 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26392 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26400 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26402 * sysdeps/ieee754/support.c: Likewise.
26403 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26404 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26405 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26406 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26407 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26408 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26409 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26410 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26411 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26412 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26413 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26414 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26415 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26416 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26417 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26418 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26419 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26421
44a988af
OB
264222013-06-05 Ondřej Bílka <neleai@seznam.cz>
26423
25506f09 26424 * posix/transbug.c: Remove executable mode.
44a988af 26425
9c84384c
JM
264262013-06-05 Joseph Myers <joseph@codesourcery.com>
26427
26428 * crypt/speeds.c: Remove trailing whitespace.
26429 * dlfcn/default.c: Likewise.
26430 * elf/ifuncdep2.c: Likewise.
26431 * elf/ifuncmain1.c: Likewise.
26432 * elf/ifuncmain1vis.c: Likewise.
26433 * elf/testobj.h: Likewise.
26434 * elf/tst-stackguard1.c: Likewise.
26435 * gmon/sys/gmon.h: Likewise.
26436 * hurd/hurdmsg.c: Likewise.
26437 * hurd/new-fd.c: Likewise.
26438 * hurd/ports-get.c: Likewise.
26439 * iconvdata/ibm1008_420.c: Likewise.
26440 * inet/tst-getni1.c: Likewise.
26441 * inet/tst-getni2.c: Likewise.
26442 * libio/ioungetc.c: Likewise.
26443 * libio/wfiledoalloc.c: Likewise.
26444 * manual/libm-err-tab.pl: Likewise.
26445 * math/w_dremf.c: Likewise.
26446 * misc/ftruncate.c: Likewise.
26447 * posix/bug-glob2.c: Likewise.
26448 * posix/tst-pcre.c: Likewise.
26449 * posix/wait4.c: Likewise.
26450 * resolv/README: Likewise.
26451 * resolv/res_debug.h: Likewise.
26452 * resolv/tst-inet_ntop.c: Likewise.
26453 * setjmp/bug269-setjmp.c: Likewise.
26454 * soft-fp/extended.h: Likewise.
26455 * soft-fp/op-1.h: Likewise.
26456 * soft-fp/op-2.h: Likewise.
26457 * soft-fp/op-4.h: Likewise.
26458 * soft-fp/op-8.h: Likewise.
26459 * soft-fp/testit.c: Likewise.
26460 * stdio-common/bug16.c: Likewise.
26461 * stdlib/random.c: Likewise.
26462 * sunrpc/rpcsvc/rquota.x: Likewise.
26463 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26464 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26466 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26467 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26468 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26469 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26470 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26471 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26472 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26473 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26474 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26475 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26479 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26480 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26481 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26484 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26485 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26486 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26487 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26490 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26491 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26492 * sysdeps/ieee754/s_lib_version.c: Likewise.
26493 * sysdeps/mach/hurd/check_fds.c: Likewise.
26494 * sysdeps/mach/hurd/getsockname.c: Likewise.
26495 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26496 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26497 * sysdeps/powerpc/bits/link.h: Likewise.
26498 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26499 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26500 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26501 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26502 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26503 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26504 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26505 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26506 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26507 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26508 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26509 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26510 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26511 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26512 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26513 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26514 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26515 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26517 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26518 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26519 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26521 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26522 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26523 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26524 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26525 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26526 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26527 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26528 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26529 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26530 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26531 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26532 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26533 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26534 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26535 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26536 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26537 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26538 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26539 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26540 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26541 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26542 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26543 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26544 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26545 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26546 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26547 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26550 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26551 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26552 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26553 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26554 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26555 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26556 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26557 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26558 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26559 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26560 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26561 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26562 * sysdeps/powerpc/sysdep.h: Likewise.
26563 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26564 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26565 * sysdeps/sh/dl-trampoline.S: Likewise.
26566 * sysdeps/sh/memset.S: Likewise.
26567 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26568 * sysdeps/sh/strlen.S: Likewise.
26569 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26570 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26571 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26572 * sysdeps/sparc/sparc32/rem.S: Likewise.
26573 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26574 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26575 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26576 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26577 * sysdeps/sparc/sparc32/urem.S: Likewise.
26578 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26579 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26580 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26581 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26582 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26583 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26584 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26585 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26586 * sysdeps/unix/bsd/times.c: Likewise.
26587 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26588 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26592 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26593 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26594 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26595 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26596 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26597 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26598 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26599 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26600 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26601 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26602 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26603 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26604 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26605 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26606 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26607 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26608 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26609 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26610 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26611 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26612 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26613 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26614 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26615 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26616 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26617 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26618 * sysdeps/x86_64/strcspn.S: Likewise.
26619
869378a5
RA
266202013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26621
26622 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26623 generated file. Regenerate properly from gen-translit.pl.
26624 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26625 locale/C-translit.h.
26626
840e2943
AS
266272013-06-05 Andreas Schwab <schwab@suse.de>
26628
26629 [BZ #15100]
26630 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26631 week as 6 instead of -1.
26632 * time/tst-strptime.c (day_tests): Add test case.
26633
4c60cb0c
SP
266342013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26635
26636 * sysdeps/generic/math_private.h
26637 (libc_feholdexcept_setround_53bit): Replace with
26638 libc_feholdsetround_53bit.
26639 (libc_feupdateenv_53bit): Replace with
26640 libc_feresetround_53bit.
26641 (SET_RESTORE_ROUND_53BIT): Adjust.
26642
d180203e
SP
266432013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26644
96df079a
SP
26645 * string/test-strchrnul.c: Add copyright header.
26646
d180203e
SP
26647 * posix/tst-getaddrinfo4.c: Increase test timeout.
26648
8b0ccb2d
CD
266492013-06-03 Carlos O'Donell <carlos@redhat.com>
26650
26651 [BZ #15536]
26652 * math/libm-test.inc (MAX_EXP): Remove
26653 (MIN_EXP): Define.
26654 (ulp): Use MIN_EXP - MANT_DIG.
26655 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26656
3b3c4d40
CD
266572013-05-31 Carlos O'Donell <carlos@redhat.com>
26658
26659 * po/be.po: Revert last change.
26660 * po/zh_CN.po: Likewise.
26661 * po/header.pot: Likewise.
26662
fab7ce3f
JM
266632013-05-31 Joseph Myers <joseph@codesourcery.com>
26664
26665 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26666 link-libc-deps to empty as target-specific variable.
26667 * Makerules (link-libc-args): New variable.
26668 (libc-for-link): Likewise.
26669 (link-libc-deps): Likewise.
26670 (lib%.so): Depend on $(link-libc-deps). Link with
26671 $(link-libc-args).
26672 (build-module): Link with $(link-libc-args).
26673 (build-module-asneeded): Likewise.
26674 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26675 list of objects.
26676 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26677 target-specific variable.
26678 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26679 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26680 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26681 libc.
26682 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26683 libc and ld.so.
26684 ($(objpfx)libpcprofile.so): Likewise.
26685 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26686 libc_nonshared.a.
26687 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26688 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26689 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26690 $(link-libc-deps).
26691 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26692 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26693 * login/Makefile ($(objpfx)libutil.so): Likewise.
26694 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26695 * math/Makefile ($(objpfx)libm.so): Likewise.
26696 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26697 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26698 variable instead of depending directly on libc.
26699 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26700 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26701 $(link-libc-deps).
26702 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26703 libc.
26704 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26705 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26706 ($(objpfx)libanl.so): Likewise.
26707 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26708 ld.so.
26709 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26710 $(link-libc-deps).
26711 * sysdeps/i386/fpu/Makefile: Remove file.
26712 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26713 ($(objpfx)libm.so): Remove dependency on ld.so.
26714
eca5920c
PF
267152013-05-30 Patsy Franklin <pfrankli@redhat.com>
26716
26717 [BZ # 15553]
26718 * nis/yp_xdr.c (XDRMAXNAME): Define.
26719 (XDRMAXRECORD): Define.
26720 (xdr_domainname): Use XDRMAXNAME.
26721 (xdr_mapname): Likewise.
26722 (xdr_peername): Likewise.
26723 (xdr_keydat): Use XDRMAXRECORD.
26724 (xdr_valdat): Likewise.
26725
267262013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26727
26728 [BZ #14256]
26729 * manual/errno.texi (ESTALE): Update to account for more than
26730 just NFS file systems.
26731 * sysdeps/gnu/errlist.c: Regenerated.
26732
b9375348
SP
267332013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26734
26735 [BZ #15465]
26736 * elf/Makefile (tests): Add tst-null-argv.
26737 (modules-names): Add tst-null-argv-lib.
26738 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26739 (tst-null-argv-ENV): Set environment for tst-null-argv.
26740 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26741 (RTLD_PROGNAME): New macro.
26742 * elf/tst-null-argv.c: New test case.
26743 * elf/tst-null-argv-lib.c: Library for test case.
26744 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26745 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26746 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26747 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26748 * elf/dl-init.c (call_init): Likewise.
26749 (_dl_init): Likewise.
26750 * elf/dl-load.c (print_search_path): Likewise.
26751 (_dl_map_object): Likewise.
26752 * elf/dl-lookup.c (do_lookup_x): Likewise.
26753 (add_dependency): Likewise.
26754 (_dl_lookup_symbol_x): Likewise.
26755 (_dl_debug_bindings): Likewise.
26756 * elf/dl-open.c (_dl_show_scope): Likewise.
26757 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26758 * elf/dl-version.c (match_symbol): Likewise.
26759 (_dl_check_map_versions): Likewise.
26760 * elf/rtld.c (dl_main): Likewise.
26761 (print_unresolved): Use RTLD_PROGNAME.
26762 (print_missing_version): Likewise.
26763 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26764 (elf_machine_rela): Likewise.
26765 * sysdeps/powerpc/powerpc32/dl-machine.c
26766 (__process_machine_rela): Likewise.
26767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26768 Likewise.
26769 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26770 Likewise.
26771 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26772 Likewise.
26773 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26775 Likewise.
26776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26777 Likewise.
26778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26779
8a9f20c8
CD
267802013-05-28 Carlos O'Donell <carlos@redhat.com>
26781
26782 * po/be.po: Add descriptive title.
26783 * po/zh_CN.po: Likewise.
26784 * po/header.pot: Likewise.
26785
0e60d68e
MF
267862013-05-28 Mike Frysinger <vapier@gentoo.org>
26787
26788 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26789 error message.
26790 (enlarge_archive): Likewise.
26791
56b672e9
BN
267922013-05-28 Ben North <ben@redfrontdoor.org>
26793
26794 * manual/arith.texi (frexp): It is the magnitude of the return
26795 value which lies in [0.5, 1), not the return value itself.
26796
5e056687
AZ
267972013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26798
26799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26800
2b66ef5d
TS
268012013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26802
528c2405
TS
26803 * stdio-common/bug26.c (main): Correct fscanf template.
26804
07b4c13d
TS
26805 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26806 declare _dl_skip_args.
26807
ec9dd97c
TS
26808 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26809 Don't declare.
26810
2b66ef5d
TS
26811 * manual/platform.texi: Add missing @end deftypefun.
26812
4f8dfe27
JM
268132013-05-24 Joseph Myers <joseph@codesourcery.com>
26814
0323d086
JM
26815 [BZ #15529]
26816 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26817 bit of mantissa of 2^16382.
26818 * math/libm-test.inc (hypot_test_data): Add more tests.
26819
dd4259b9
JM
26820 * math/libm-test.inc: Add drem and pow10 to list of tested
26821 functions.
26822 (pow10_test): New function.
26823 (drem_test): Likewise.
26824 (drem_test_tonearest): Likewise.
26825 (drem_test_towardzero): Likewise.
26826 (drem_test_downward): Likewise.
26827 (drem_test_upward): Likewise.
26828 (main): Call the new functions.
26829
4f8dfe27
JM
26830 * math/libm-test.inc (finite_test_data): Remove.
26831 (finite_test): Run tests from isfinite_test_data.
26832 (gamma_test_data): Remove.
26833 (gamma_test): Run tests from lgamma_test_data.
26834 * sysdeps/i386/fpu/libm-test-ulps: Update.
26835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26836
d116b7c4
AZ
268372013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26838
26839 * manual/platform.texi: Add PowerPC PPR function set documentation.
26840 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26841 implementation.
26842
e96e3767
CD
268432013-05-24 Carlos O'Donell <carlos@redhat.com>
26844
26845 * math/libm-test.inc (MAX_EXP): Define.
26846 (ULPDIFF): Define.
26847 (ulp): New function.
26848 (check_float_internal): Use ULPDIFF.
26849 (cpow_test): Disable failing test.
26850 (check_ulp): Test ulp() implemetnation.
26851 (main): Call check_ulp before starting tests.
26852
b679a606
JM
268532013-05-24 Joseph Myers <joseph@codesourcery.com>
26854
e8bdba36
JM
26855 * math/gen-libm-test.pl (generate_testfile): Do not handle
26856 START_DATA and END_DATA.
26857 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26858 END_DATA.
26859 (acos_tonearest_test_data): Likewise.
26860 (acos_towardzero_test_data): Likewise.
26861 (acos_downward_test_data): Likewise.
26862 (acos_upward_test_data): Likewise.
26863 (acosh_test_data): Likewise.
26864 (asin_test_data): Likewise.
26865 (asin_tonearest_test_data): Likewise.
26866 (asin_towardzero_test_data): Likewise.
26867 (asin_downward_test_data): Likewise.
26868 (asin_upward_test_data): Likewise.
26869 (asinh_test_data): Likewise.
26870 (atan_test_data): Likewise.
26871 (atanh_test_data): Likewise.
26872 (atan2_test_data): Likewise.
26873 (cabs_test_data): Likewise.
26874 (cacos_test_data): Likewise.
26875 (cacosh_test_data): Likewise.
26876 (carg_test_data): Likewise.
26877 (casin_test_data): Likewise.
26878 (casinh_test_data): Likewise.
26879 (catan_test_data): Likewise.
26880 (catanh_test_data): Likewise.
26881 (cbrt_test_data): Likewise.
26882 (ccos_test_data): Likewise.
26883 (ccosh_test_data): Likewise.
26884 (ceil_test_data): Likewise.
26885 (cexp_test_data): Likewise.
26886 (cimag_test_data): Likewise.
26887 (clog_test_data): Likewise.
26888 (clog10_test_data): Likewise.
26889 (conj_test_data): Likewise.
26890 (copysign_test_data): Likewise.
26891 (cos_test_data): Likewise.
26892 (cos_tonearest_test_data): Likewise.
26893 (cos_towardzero_test_data): Likewise.
26894 (cos_downward_test_data): Likewise.
26895 (cos_upward_test_data): Likewise.
26896 (cosh_test_data): Likewise.
26897 (cosh_tonearest_test_data): Likewise.
26898 (cosh_towardzero_test_data): Likewise.
26899 (cosh_downward_test_data): Likewise.
26900 (cosh_upward_test_data): Likewise.
26901 (cpow_test_data): Likewise.
26902 (cproj_test_data): Likewise.
26903 (creal_test_data): Likewise.
26904 (csin_test_data): Likewise.
26905 (csinh_test_data): Likewise.
26906 (csqrt_test_data): Likewise.
26907 (ctan_test_data): Likewise.
26908 (ctan_tonearest_test_data): Likewise.
26909 (ctan_towardzero_test_data): Likewise.
26910 (ctan_downward_test_data): Likewise.
26911 (ctan_upward_test_data): Likewise.
26912 (ctanh_test_data): Likewise.
26913 (ctanh_tonearest_test_data): Likewise.
26914 (ctanh_towardzero_test_data): Likewise.
26915 (ctanh_downward_test_data): Likewise.
26916 (ctanh_upward_test_data): Likewise.
26917 (erf_test_data): Likewise.
26918 (erfc_test_data): Likewise.
26919 (exp_test_data): Likewise.
26920 (exp_tonearest_test_data): Likewise.
26921 (exp_towardzero_test_data): Likewise.
26922 (exp_downward_test_data): Likewise.
26923 (exp_upward_test_data): Likewise.
26924 (exp10_test_data): Likewise.
26925 (exp2_test_data): Likewise.
26926 (expm1_test_data): Likewise.
26927 (fabs_test_data): Likewise.
26928 (fdim_test_data): Likewise.
26929 (finite_test_data): Likewise.
26930 (floor_test_data): Likewise.
26931 (fma_test_data): Likewise.
26932 (fma_towardzero_test_data): Likewise.
26933 (fma_downward_test_data): Likewise.
26934 (fma_upward_test_data): Likewise.
26935 (fmax_test_data): Likewise.
26936 (fmin_test_data): Likewise.
26937 (fmod_test_data): Likewise.
26938 (fpclassify_test_data): Likewise.
26939 (frexp_test_data): Likewise.
26940 (gamma_test_data): Likewise.
26941 (hypot_test_data): Likewise.
26942 (ilogb_test_data): Likewise.
26943 (isfinite_test_data): Likewise.
26944 (isgreater_test_data): Likewise.
26945 (isgreaterequal_test_data): Likewise.
26946 (isinf_test_data): Likewise.
26947 (isless_test_data): Likewise.
26948 (islessequal_test_data): Likewise.
26949 (islessgreater_test_data): Likewise.
26950 (isnan_test_data): Likewise.
26951 (isnormal_test_data): Likewise.
26952 (issignaling_test_data): Likewise.
26953 (isunordered_test_data): Likewise.
26954 (j0_test_data): Likewise.
26955 (j1_test_data): Likewise.
26956 (jn_test_data): Likewise.
26957 (ldexp_test_data): Likewise.
26958 (lgamma_test_data): Likewise.
26959 (lrint_test_data): Likewise.
26960 (lrint_tonearest_test_data): Likewise.
26961 (lrint_towardzero_test_data): Likewise.
26962 (lrint_downward_test_data): Likewise.
26963 (lrint_upward_test_data): Likewise.
26964 (llrint_test_data): Likewise.
26965 (llrint_tonearest_test_data): Likewise.
26966 (llrint_towardzero_test_data): Likewise.
26967 (llrint_downward_test_data): Likewise.
26968 (llrint_upward_test_data): Likewise.
26969 (log_test_data): Likewise.
26970 (log10_test_data): Likewise.
26971 (log1p_test_data): Likewise.
26972 (log2_test_data): Likewise.
26973 (logb_test_data): Likewise.
26974 (logb_downward_test_data): Likewise.
26975 (lround_test_data): Likewise.
26976 (llround_test_data): Likewise.
26977 (modf_test_data): Likewise.
26978 (nearbyint_test_data): Likewise.
26979 (nextafter_test_data): Likewise.
26980 (nexttoward_test_data): Likewise.
26981 (pow_test_data): Likewise.
26982 (pow_tonearest_test_data): Likewise.
26983 (pow_towardzero_test_data): Likewise.
26984 (pow_downward_test_data): Likewise.
26985 (pow_upward_test_data): Likewise.
26986 (remainder_test_data): Likewise.
26987 (remainder_tonearest_test_data): Likewise.
26988 (remainder_towardzero_test_data): Likewise.
26989 (remainder_downward_test_data): Likewise.
26990 (remainder_upward_test_data): Likewise.
26991 (remquo_test_data): Likewise.
26992 (rint_test_data): Likewise.
26993 (rint_tonearest_test_data): Likewise.
26994 (rint_towardzero_test_data): Likewise.
26995 (rint_downward_test_data): Likewise.
26996 (rint_upward_test_data): Likewise.
26997 (round_test_data): Likewise.
26998 (scalb_test_data): Likewise.
26999 (scalbn_test_data): Likewise.
27000 (scalbln_test_data): Likewise.
27001 (signbit_test_data): Likewise.
27002 (sin_test_data): Likewise.
27003 (sin_tonearest_test_data): Likewise.
27004 (sin_towardzero_test_data): Likewise.
27005 (sin_downward_test_data): Likewise.
27006 (sin_upward_test_data): Likewise.
27007 (sincos_test_data): Likewise.
27008 (sinh_test_data): Likewise.
27009 (sinh_tonearest_test_data): Likewise.
27010 (sinh_towardzero_test_data): Likewise.
27011 (sinh_downward_test_data): Likewise.
27012 (sinh_upward_test_data): Likewise.
27013 (sqrt_test_data): Likewise.
27014 (tan_test_data): Likewise.
27015 (tan_tonearest_test_data): Likewise.
27016 (tan_towardzero_test_data): Likewise.
27017 (tan_downward_test_data): Likewise.
27018 (tan_upward_test_data): Likewise.
27019 (tanh_test_data): Likewise.
27020 (tgamma_test_data): Likewise.
27021 (trunc_test_data): Likewise.
27022 (y0_test_data): Likewise.
27023 (y1_test_data): Likewise.
27024 (yn_test_data): Likewise.
27025 (significand_test_data): Likewise.
27026
b679a606
JM
27027 * math/gen-libm-test.pl (@functions): Remove variable.
27028 (generate_testfile): Don't handle START and END lines.
27029 * math/libm-test.inc (START): New macro.
27030 (END): Likewise.
27031 (END_COMPLEX): Likewise.
27032 (acos_test): Use END macro without arguments.
27033 (acos_test_tonearest): Likewise.
27034 (acos_test_towardzero): Likewise.
27035 (acos_test_downward): Likewise.
27036 (acos_test_upward): Likewise.
27037 (acosh_test): Likewise.
27038 (asin_test): Likewise.
27039 (asin_test_tonearest): Likewise.
27040 (asin_test_towardzero): Likewise.
27041 (asin_test_downward): Likewise.
27042 (asin_test_upward): Likewise.
27043 (asinh_test): Likewise.
27044 (atan_test): Likewise.
27045 (atanh_test): Likewise.
27046 (atan2_test): Likewise.
27047 (cabs_test): Likewise.
27048 (cacos_test): Use END_COMPLEX macro without arguments.
27049 (cacosh_test): Likewise.
27050 (carg_test): Use END macro without arguments.
27051 (casin_test): Use END_COMPLEX macro without arguments.
27052 (casinh_test): Likewise.
27053 (catan_test): Likewise.
27054 (catanh_test): Likewise.
27055 (cbrt_test): Use END macro without arguments.
27056 (ccos_test): Use END_COMPLEX macro without arguments.
27057 (ccosh_test): Likewise.
27058 (ceil_test): Use END macro without arguments.
27059 (cexp_test): Use END_COMPLEX macro without arguments.
27060 (cimag_test): Use END macro without arguments.
27061 (clog_test): Use END_COMPLEX macro without arguments.
27062 (clog10_test): Likewise.
27063 (conj_test): Likewise.
27064 (copysign_test): Use END macro without arguments.
27065 (cos_test): Likewise.
27066 (cos_test_tonearest): Likewise.
27067 (cos_test_towardzero): Likewise.
27068 (cos_test_downward): Likewise.
27069 (cos_test_upward): Likewise.
27070 (cosh_test): Likewise.
27071 (cosh_test_tonearest): Likewise.
27072 (cosh_test_towardzero): Likewise.
27073 (cosh_test_downward): Likewise.
27074 (cosh_test_upward): Likewise.
27075 (cpow_test): Use END_COMPLEX macro without arguments.
27076 (cproj_test): Likewise.
27077 (creal_test): Use END macro without arguments.
27078 (csin_test): Use END_COMPLEX macro without arguments.
27079 (csinh_test): Likewise.
27080 (csqrt_test): Likewise.
27081 (ctan_test): Likewise.
27082 (ctan_test_tonearest): Likewise.
27083 (ctan_test_towardzero): Likewise.
27084 (ctan_test_downward): Likewise.
27085 (ctan_test_upward): Likewise.
27086 (ctanh_test): Likewise.
27087 (ctanh_test_tonearest): Likewise.
27088 (ctanh_test_towardzero): Likewise.
27089 (ctanh_test_downward): Likewise.
27090 (ctanh_test_upward): Likewise.
27091 (erf_test): Use END macro without arguments.
27092 (erfc_test): Likewise.
27093 (exp_test): Likewise.
27094 (exp_test_tonearest): Likewise.
27095 (exp_test_towardzero): Likewise.
27096 (exp_test_downward): Likewise.
27097 (exp_test_upward): Likewise.
27098 (exp10_test): Likewise.
27099 (exp2_test): Likewise.
27100 (expm1_test): Likewise.
27101 (fabs_test): Likewise.
27102 (fdim_test): Likewise.
27103 (finite_test): Likewise.
27104 (floor_test): Likewise.
27105 (fma_test): Likewise.
27106 (fma_test_towardzero): Likewise.
27107 (fma_test_downward): Likewise.
27108 (fma_test_upward): Likewise.
27109 (fmax_test): Likewise.
27110 (fmin_test): Likewise.
27111 (fmod_test): Likewise.
27112 (fpclassify_test): Likewise.
27113 (frexp_test): Likewise.
27114 (gamma_test): Likewise.
27115 (hypot_test): Likewise.
27116 (ilogb_test): Likewise.
27117 (isfinite_test): Likewise.
27118 (isgreater_test): Likewise.
27119 (isgreaterequal_test): Likewise.
27120 (isinf_test): Likewise.
27121 (isless_test): Likewise.
27122 (islessequal_test): Likewise.
27123 (islessgreater_test): Likewise.
27124 (isnan_test): Likewise.
27125 (isnormal_test): Likewise.
27126 (issignaling_test): Likewise.
27127 (isunordered_test): Likewise.
27128 (j0_test): Likewise.
27129 (j1_test): Likewise.
27130 (jn_test): Likewise.
27131 (ldexp_test): Likewise.
27132 (lgamma_test): Likewise.
27133 (lrint_test): Likewise.
27134 (lrint_test_tonearest): Likewise.
27135 (lrint_test_towardzero): Likewise.
27136 (lrint_test_downward): Likewise.
27137 (lrint_test_upward): Likewise.
27138 (llrint_test): Likewise.
27139 (llrint_test_tonearest): Likewise.
27140 (llrint_test_towardzero): Likewise.
27141 (llrint_test_downward): Likewise.
27142 (llrint_test_upward): Likewise.
27143 (log_test): Likewise.
27144 (log10_test): Likewise.
27145 (log1p_test): Likewise.
27146 (log2_test): Likewise.
27147 (logb_test): Likewise.
27148 (logb_test_downward): Likewise.
27149 (lround_test): Likewise.
27150 (llround_test): Likewise.
27151 (modf_test): Likewise.
27152 (nearbyint_test): Likewise.
27153 (nextafter_test): Likewise.
27154 (nexttoward_test): Likewise.
27155 (pow_test): Likewise.
27156 (pow_test_tonearest): Likewise.
27157 (pow_test_towardzero): Likewise.
27158 (pow_test_downward): Likewise.
27159 (pow_test_upward): Likewise.
27160 (remainder_test): Likewise.
27161 (remainder_test_tonearest): Likewise.
27162 (remainder_test_towardzero): Likewise.
27163 (remainder_test_downward): Likewise.
27164 (remainder_test_upward): Likewise.
27165 (remquo_test): Likewise.
27166 (rint_test): Likewise.
27167 (rint_test_tonearest): Likewise.
27168 (rint_test_towardzero): Likewise.
27169 (rint_test_downward): Likewise.
27170 (rint_test_upward): Likewise.
27171 (round_test): Likewise.
27172 (scalb_test): Likewise.
27173 (scalbn_test): Likewise.
27174 (scalbln_test): Likewise.
27175 (signbit_test): Likewise.
27176 (sin_test): Likewise.
27177 (sin_test_tonearest): Likewise.
27178 (sin_test_towardzero): Likewise.
27179 (sin_test_downward): Likewise.
27180 (sin_test_upward): Likewise.
27181 (sincos_test): Likewise.
27182 (sinh_test): Likewise.
27183 (sinh_test_tonearest): Likewise.
27184 (sinh_test_towardzero): Likewise.
27185 (sinh_test_downward): Likewise.
27186 (sinh_test_upward): Likewise.
27187 (sqrt_test): Likewise.
27188 (tan_test): Likewise.
27189 (tan_test_tonearest): Likewise.
27190 (tan_test_towardzero): Likewise.
27191 (tan_test_downward): Likewise.
27192 (tan_test_upward): Likewise.
27193 (tanh_test): Likewise.
27194 (tgamma_test): Likewise.
27195 (trunc_test): Likewise.
27196 (y0_test): Likewise.
27197 (y1_test): Likewise.
27198 (yn_test): Likewise.
27199 (significand_test): Likewise.
27200
bae143d2
OB
272012013-05-24 Ondřej Bílka <neleai@seznam.cz>
27202
27203 [BZ #15381]
27204 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27205
9323d39b
EM
272062013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27207
d4ea44a0 27208 [BZ #14894]
9323d39b
EM
27209 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27210 __ppc_mdoio and __ppc_mdoom.
27211 * manual/platform.texi: Document new functions __ppc_yield,
27212 __ppc_mdoio and __ppc_mdoom.
27213
13e23af7
CD
272142013-05-22 Carlos O'Donell <carlos@redhat.com>
27215
27216 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27217 (main): Mention "tls" pseudo-hwcap is legacy.
27218 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27219
351fe550
JM
272202013-05-22 Joseph Myers <joseph@codesourcery.com>
27221
27222 * math/gen-libm-test.pl (parse_args): Output only string of
27223 arguments as text for test name, not full call or descriptions of
27224 tests for extra outputs.
27225 (generate_testfile): Do not pass function name to parse_args.
27226 Generate this_func variable from START.
27227 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27228 field to arg_str.
27229 (struct test_ff_f_data): Likewise.
27230 (test_ff_f_data_nexttoward): Likewise.
27231 (struct test_fi_f_data): Likewise.
27232 (struct test_fl_f_data): Likewise.
27233 (struct test_if_f_data): Likewise.
27234 (struct test_fff_f_data): Likewise.
27235 (struct test_c_f_data): Likewise.
27236 (struct test_f_f1_data): Likewise. Remove field extra_name.
27237 (struct test_fF_f1_data): Likewise.
27238 (struct test_ffI_f1_data): Likewise.
27239 (struct test_c_c_data): Rename test_name field to arg_str.
27240 (struct test_cc_c_data): Likewise.
27241 (struct test_f_i_data): Likewise.
27242 (struct test_ff_i_data): Likewise.
27243 (struct test_f_l_data): Likewise.
27244 (struct test_f_L_data): Likewise.
27245 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27246 and extra2_name.
27247 (COMMON_TEST_SETUP): New macro.
27248 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27249 (COMMON_TEST_CLEANUP): Likewise.
27250 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27251 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27252 macros.
27253 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27254 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27255 macros.
27256 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27257 (RUN_TEST_fff_f): Take argument string. Call new setup and
27258 cleanup macros.
27259 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27260 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27261 macros.
27262 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27263 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27264 macros.
27265 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27266 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27267 cleanup macros.
27268 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27269 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27270 cleanup macros.
27271 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27272 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27273 cleanup macros.
27274 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27275 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27276 macros.
27277 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27278 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27279 macros.
27280 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27281 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27282 macros.
27283 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27284 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27285 cleanup macros.
27286 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27287 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27288 cleanup macros.
27289 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27290 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27291 macros.
27292 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27293 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27294 cleanup macros.
27295 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27296 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27297 macros.
27298 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27299 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27300 macros.
27301 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27302 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27303 cleanup macros.
27304 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27305
85118d4d
EBM
273062013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27307
27308 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27309 to _sifields.sigfault.
27310 (si_addr_lsb): Define new macro.
27311 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27313 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27314
7a44c18f
CD
273152013-05-03 Carlos O'Donell <carlos at redhat.com>
27316
27317 [BZ #15441]
27318 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27319 returns -1.
27320 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27321 null return -1.
27322 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27323 loading the domain.
27324
b50a7181
JM
273252013-05-22 Joseph Myers <joseph@codesourcery.com>
27326
27327 * math/gen-libm-test.pl (parse_args): Do not include expected
27328 result in test name.
27329 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27330 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27331 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27332 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27333 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27335
051063c8
SP
273362013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27337
3ce9e010
SP
27338 * benchtests/Makefile: Sort function entries.
27339
051063c8
SP
27340 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27341 tanh, asinh, acosh, atanh.
27342 * benchtests/acos-inputs: New file.
27343 * benchtests/acosh-inputs: New file.
27344 * benchtests/asin-inputs: New file.
27345 * benchtests/asinh-inputs: New file.
27346 * benchtests/atanh-inputs: New file.
27347 * benchtests/cosh-inputs: New file.
27348 * benchtests/log-inputs: New file.
27349 * benchtests/sinh-inputs: New file.
27350 * benchtests/tanh-inputs: New file.
27351
47c22455
DL
273522013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27353
27354 [BZ #15339]
27355 * posix/tst-getaddrinfo4.c: New test.
27356 * posix/Makefile (tests): Add it.
27357
3d04f5db
SP
273582013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27359
27360 [BZ #15339]
27361 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27362 when no services were used.
27363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27364 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27365
d5dd6189
AS
273662013-05-21 Andreas Schwab <schwab@suse.de>
27367
27368 [BZ #15014]
27369 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27370 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27371 successful.
27372 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27373 redundant variable declarations and reallocation of buffer when
27374 parsing as IPv6 address. Always set NSS status when called from
27375 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27376 buffer too small. Correct computation of needed size.
27377 * nss/Makefile (tests): Add test-digits-dots.
27378 * nss/test-digits-dots.c: New test.
27379
fef94eab
SP
273802013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27381
27382 * benchtests/Makefile: Remove instructions for adding
27383 benchmark tests.
27384 * benchtests/README: New file to explain how to execute and
27385 enhance the benchmark tests.
27386
e39adf43
AS
273872013-05-21 Andreas Schwab <schwab@suse.de>
27388
27389 [BZ #15493]
27390 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27391 * setjmp/tst-sigsetjmp.c: New test.
27392
b2b671b6
OB
273932013-05-20 Ondřej Bílka <neleai@seznam.cz>
27394
27395 * sysdeps/x86_64/memset.S (memset): New implementation.
27396 (__bzero): Likewise.
27397 (__memset_tail): New function.
27398
2d48b41c
OB
273992013-05-20 Ondřej Bílka <neleai@seznam.cz>
27400
27401 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27402 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27403 __memcpy_sse2_unaligned ifunc selection.
27404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27405 Add memcpy-sse2-unaligned.S.
27406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27407 Add: __memcpy_sse2_unaligned.
27408
f16cc3eb
JM
274092013-05-19 Joseph Myers <joseph@codesourcery.com>
27410
3e694268
JM
27411 [BZ #15490]
27412 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27413 math_force_eval before restoring floating-point envrionment.
27414 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27415 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27416 Likewise.
27417 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27418 <math_private.h>.
27419 (__nearbyintl): Use math_force_eval before restoring
27420 floating-point environment.
27421 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27422
db62a907
JM
27423 * math/gen-libm-test.pl (special_functions): Remove.
27424 (parse_args): Don't handle TEST_extra. Handle functions with no
27425 return value.
27426 * math/libm-test.inc (struct test_sincos_data): Replace with
27427 struct test_fFF_11_data.
27428 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27429 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27430 (sincos_test_data): Change element type to struct
27431 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27432 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27433 RUN_TEST_LOOP_sincos.
27434 * math/README.libm-test: Don't mention special handling of
27435 individual functions.
27436 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27437 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27438 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27439 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27440 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27442
f16cc3eb
JM
27443 * math/gen-libm-test.pl (get_variable): Remove function.
27444 (parse_args): Don't show pointer parameters to call in test
27445 names. Use "extra output N" in test names for extra outputs
27446 rather than naming variables.
27447
3779b5b6
JM
274482013-05-18 Joseph Myers <joseph@codesourcery.com>
27449
2ee094ff
JM
27450 [BZ #15488]
27451 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27452 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27453 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27454 double tests.
27455 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27456 disable.
27457 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27458 check_long_double.
27459
3779b5b6
JM
27460 * math/gen-libm-test.pl (@tests): Remove variable.
27461 ($count): Likewise.
27462 (new_test): Remove function.
27463 (show_exceptions): New function.
27464 (special_functions): Use show_exceptions instead of new_test.
27465 (parse_args): Likewise.
27466 (generate_testfile): Pass only function name in generated call to
27467 print_max_error or print_complex_max_error.
27468 (get_ulps): Do not handle complex tests specially.
27469 (output_test): Rename to ...
27470 (get_all_ulps_for_test): ... this. Return a string rather than
27471 printing to a file. Require ulps to be present.
27472 (output_ulps): Generate arrays rather than #defines.
27473 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27474 (struct ulp_data): New type.
27475 (BUILD_COMPLEX_ULP): Remove macro.
27476 (compare_ulp_data): New function.
27477 (find_ulps): Likewise.
27478 (find_test_ulps): Likewise.
27479 (find_function_ulps): Likewise.
27480 (find_complex_function_ulps): Likewise.
27481 (print_max_error): Determine allowed ulps using
27482 find_function_ulps.
27483 (print_complex_max_error): Determine allowed ulps using
27484 find_complex_function_ulps.
27485 (check_float_internal): Determine max ulps using find_test_ulps.
27486 (check_float): Do not take max_ulp parameter. Update call to
27487 check_float_internal.
27488 (check_complex): Likewise.
27489 (check_int): Do not take max_ulp parameter.
27490 (check_long): Likewise.
27491 (check_bool): Likewise.
27492 (check_longlong): Likewise.
27493 (struct test_f_f_data): Remove max_ulp field.
27494 (struct test_ff_f_data): Likewise.
27495 (struct test_ff_f_data_nexttoward): Likewise.
27496 (struct test_fi_f_data): Likewise.
27497 (struct test_fl_f_data): Likewise.
27498 (struct test_if_f_data): Likewise.
27499 (struct test_fff_f_data): Likewise.
27500 (struct test_c_f_data): Likewise.
27501 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27502 (struct test_fF_f1_data): Likewise.
27503 (struct test_ffI_f1_data): Likewise.
27504 (struct test_c_c_data): Remove max_ulp field.
27505 (struct test_cc_c_data): Likewise.
27506 (struct test_f_i_data): Likewise.
27507 (struct test_ff_i_data): Likewise.
27508 (struct test_f_l_data): Likewise.
27509 (struct test_f_L_data): Likewise.
27510 (struct test_sincos_data): Likewise.
27511 (RUN_TEST_f_f): Do not handle ulps.
27512 (RUN_TEST_LOOP_f_f): Likewise.
27513 (RUN_TEST_2_f): Likewise.
27514 (RUN_TEST_LOOP_2_f): Likewise.
27515 (RUN_TEST_fff_f): Likewise.
27516 (RUN_TEST_LOOP_fff_f): Likewise.
27517 (RUN_TEST_c_f): Likewise.
27518 (RUN_TEST_LOOP_c_f): Likewise.
27519 (RUN_TEST_f_f1): Likewise.
27520 (RUN_TEST_LOOP_f_f1): Likewise.
27521 (RUN_TEST_fF_f1): Likewise.
27522 (RUN_TEST_LOOP_fF_f1): Likewise.
27523 (RUN_TEST_fI_f1): Likewise.
27524 (RUN_TEST_LOOP_fI_f1): Likewise.
27525 (RUN_TEST_ffI_f1): Likewise.
27526 (RUN_TEST_LOOP_ffI_f1): Likewise.
27527 (RUN_TEST_c_c): Likewise.
27528 (RUN_TEST_LOOP_c_c): Likewise.
27529 (RUN_TEST_cc_c): Likewise.
27530 (RUN_TEST_LOOP_cc_c): Likewise.
27531 (RUN_TEST_f_i): Likewise.
27532 (RUN_TEST_LOOP_f_i): Likewise.
27533 (RUN_TEST_f_i_tg): Likewise.
27534 (RUN_TEST_LOOP_f_i_tg): Likewise.
27535 (RUN_TEST_ff_i_tg): Likewise.
27536 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27537 (RUN_TEST_f_b): Likewise.
27538 (RUN_TEST_LOOP_f_b): Likewise.
27539 (RUN_TEST_f_b_tg): Likewise.
27540 (RUN_TEST_LOOP_f_b_tg): Likewise.
27541 (RUN_TEST_f_l): Likewise.
27542 (RUN_TEST_LOOP_f_l): Likewise.
27543 (RUN_TEST_f_L): Likewise.
27544 (RUN_TEST_LOOP_f_L): Likewise.
27545 (RUN_TEST_sincos): Likewise.
27546 (RUN_TEST_LOOP_sincos): Likewise.
27547
8269107f
JM
275482013-05-17 Joseph Myers <joseph@codesourcery.com>
27549
bb38759d
JM
27550 [BZ #15480]
27551 [BZ #15485]
27552 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27553 main case of finite arguments, set rounding mode to FE_TONEAREST
27554 and discard exceptions.
27555 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27556 exceptions.
27557 (remainder_tonearest_test_data): New variable.
27558 (remainder_test_tonearest): New function.
27559 (remainder_towardzero_test_data): New variable.
27560 (remainder_test_towardzero): New function.
27561 (remainder_downward_test_data): New variable.
27562 (remainder_test_downward): New function.
27563 (remainder_upward_test_data): New variable.
27564 (remainder_test_upward): New function.
27565 (main): Call the new test functions.
27566
a00bdcf0
JM
27567 * math/libm-test.inc (struct test_f_f1_data): Remove field
27568 extra_init.
27569 (struct test_fF_f1_data): Likewise.
27570 (struct test_ffI_f1_data): Likewise.
27571 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27572 based on value of EXTRA_EXPECTED.
27573 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27574 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27575 EXTRA_VAR based on value of EXTRA_EXPECTED.
27576 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27577 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27578 EXTRA_VAR based on value of EXTRA_EXPECTED.
27579 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27580 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27581 EXTRA_VAR based on value of EXTRA_EXPECTED.
27582 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27583 * math/gen-libm-test.pl (parse_args): Don't output initializers
27584 for extra output values.
27585
de407f79
JM
27586 * math/libm-test.inc (check_int): Expect result to be exactly
27587 equal to expected value and do not handle ulps.
27588 (check_long): Likewise.
27589 (check_longlong): Likewise.
27590
8269107f
JM
27591 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27592 exceptions.
27593 (cimag_test_data): Likewise.
27594 (conj_test_data): Likewise.
27595 (copysign_test_data): Likewise.
27596 (cproj_test_data): Likewise.
27597 (creal_test_data): Likewise.
27598 (fabs_test_data): Likewise.
27599 (fdim_test_data): Likewise.
27600 (finite_test_data): Likewise.
27601 (floor_test_data): Likewise.
27602 (fmax_test_data): Likewise.
27603 (fmin_test_data): Likewise.
27604 (fmod_test_data): Likewise.
27605 (fpclassify_test_data): Likewise.
27606 (frexp_test_data): Likewise.
27607 (ilogb_test_data): Likewise.
27608 (isfinite_test_data): Likewise.
27609 (isgreater_test_data): Likewise.
27610 (isgreaterequal_test_data): Likewise.
27611 (isinf_test_data): Likewise.
27612 (isless_test_data): Likewise.
27613 (islessequal_test_data): Likewise.
27614 (islessgreater_test_data): Likewise.
27615 (isnan_test_data): Likewise.
27616 (isnormal_test_data): Likewise.
27617 (issignaling_test_data): Likewise.
27618 (isunordered_test_data): Likewise.
27619 (ldexp_test_data): Likewise.
27620 (lrint_test_data): Likewise.
27621 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27622 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27623 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27624 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27625 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27626 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27627 test input.
27628 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27629 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27630 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27631 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27632 that test input.
27633 (lrint_downward_test_data): Test for "inexact" exceptions.
27634 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27635 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27636 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27637 test input.
27638 (lrint_upward_test_data): Test for "inexact" exceptions.
27639 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27640 test input.
27641 (llrint_test_data): Test for "inexact" exceptions.
27642 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27643 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27644 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27645 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27646 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27647 (llrint_downward_test_data): Test for "inexact" exceptions.
27648 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27649 (llrint_upward_test_data): Test for "inexact" exceptions.
27650 (logb_test_data): Likewise.
27651 (logb_downward_test_data): Likewise.
27652 (nextafter_test_data): Likewise.
27653 (nexttoward_test_data): Likewise.
27654 (remainder_test_data): Likewise.
27655 (remquo_test_data): Likewise.
27656 (scalbn_test_data): Likewise.
27657 (scalbln_test_data): Likewise.
27658 (signbit_test_data): Likewise.
27659 (sqrt_test_data): Likewise.
27660 (significand_test_data): Likewise.
27661
48a18de1
SP
276622013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27663
27664 [BZ #15424]
27665 * benchtests/bench-modf.c (struct args): Mark arg0 as
27666 volatile.
27667 * scripts/bench.pl: Mark members of struct args as volatile.
27668
13d3b41a
AZ
276692013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27670
68191c1d 27671 [BZ # 15497]
13d3b41a
AZ
27672 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27673 negative infinity on POWER6 or lower.
27674 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27675
2848b105
MR
276762013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27677
27678 [BZ #15442]
27679 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27680 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27681 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27682 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27683 (_FP_SETQNAN): New macro.
27684 (_FP_SETQNAN_SEMIRAW): Likewise.
27685 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27686 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27687 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27688 (FP_EXTEND): Use _FP_FRAC_SNANP.
27689 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27690 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27691 into account.
27692 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27693 New macro.
27694 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27695 Likewise.
27696
323e5cb7
JM
276972013-05-16 Joseph Myers <joseph@codesourcery.com>
27698
c58b274f
JM
27699 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27700 with DIVIDE_BY_ZERO_EXCEPTION.
27701 (gamma_test_data): Likewise.
27702 (lgamma_test_data): Likewise.
27703 (log_test_data): Likewise.
27704 (log10_test_data): Likewise.
27705 (log2_test_data): Likewise.
27706 (tgamma_test_data): Likewise.
27707
0ab34904
JM
27708 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27709 (acos_test_tonearest): Likewise.
27710 (acos_test_towardzero): Likewise.
27711 (acos_test_downward): Likewise.
27712 (acos_test_upward): Likewise.
27713 (acosh_test): Likewise.
27714 (asin_test): Likewise.
27715 (asin_test_tonearest): Likewise.
27716 (asin_test_towardzero): Likewise.
27717 (asin_test_downward): Likewise.
27718 (asin_test_upward): Likewise.
27719 (asinh_test): Likewise.
27720 (atan_test): Likewise.
27721 (atanh_test): Likewise.
27722 (atan2_test): Likewise.
27723 (cabs_test): Likewise.
27724 (cacos_test): Likewise.
27725 (cacosh_test): Likewise.
27726 (casin_test): Likewise.
27727 (casinh_test): Likewise.
27728 (catan_test): Likewise.
27729 (catanh_test): Likewise.
27730 (cbrt_test): Likewise.
27731 (ccos_test): Likewise.
27732 (ccosh_test): Likewise.
27733 (cexp_test): Likewise.
27734 (clog_test): Likewise.
27735 (clog10_test): Likewise.
27736 (cos_test): Likewise.
27737 (cos_test_tonearest): Likewise.
27738 (cos_test_towardzero): Likewise.
27739 (cos_test_downward): Likewise.
27740 (cos_test_upward): Likewise.
27741 (cosh_test): Likewise.
27742 (cosh_test_tonearest): Likewise.
27743 (cosh_test_towardzero): Likewise.
27744 (cosh_test_downward): Likewise.
27745 (cosh_test_upward): Likewise.
27746 (cpow_test): Likewise.
27747 (csin_test): Likewise.
27748 (csinh_test): Likewise.
27749 (csqrt_test): Likewise.
27750 (ctan_test): Likewise.
27751 (ctan_test_tonearest): Likewise.
27752 (ctan_test_towardzero): Likewise.
27753 (ctan_test_downward): Likewise.
27754 (ctan_test_upward): Likewise.
27755 (ctanh_test): Likewise.
27756 (ctanh_test_tonearest): Likewise.
27757 (ctanh_test_towardzero): Likewise.
27758 (ctanh_test_downward): Likewise.
27759 (ctanh_test_upward): Likewise.
27760 (erf_test): Likewise.
27761 (erfc_test): Likewise.
27762 (exp_test): Likewise.
27763 (exp_test_tonearest): Likewise.
27764 (exp_test_towardzero): Likewise.
27765 (exp_test_downward): Likewise.
27766 (exp_test_upward): Likewise.
27767 (exp10_test): Likewise.
27768 (exp2_test): Likewise.
27769 (expm1_test): Likewise.
27770 (fmod_test): Likewise.
27771 (gamma_test): Likewise.
27772 (hypot_test): Likewise.
27773 (j0_test): Likewise.
27774 (j1_test): Likewise.
27775 (jn_test): Likewise.
27776 (lgamma_test): Likewise.
27777 (log_test): Likewise.
27778 (log10_test): Likewise.
27779 (log1p_test): Likewise.
27780 (log2_test): Likewise.
27781 (logb_test_downward): Likewise.
27782 (pow_test): Likewise.
27783 (pow_test_tonearest): Likewise.
27784 (pow_test_towardzero): Likewise.
27785 (pow_test_downward): Likewise.
27786 (pow_test_upward): Likewise.
27787 (remainder_test): Likewise.
27788 (remquo_test): Likewise.
27789 (sin_test): Likewise.
27790 (sin_test_tonearest): Likewise.
27791 (sin_test_towardzero): Likewise.
27792 (sin_test_downward): Likewise.
27793 (sin_test_upward): Likewise.
27794 (sincos_test): Likewise.
27795 (sinh_test): Likewise.
27796 (sinh_test_tonearest): Likewise.
27797 (sinh_test_towardzero): Likewise.
27798 (sinh_test_downward): Likewise.
27799 (sinh_test_upward): Likewise.
27800 (sqrt_test): Likewise.
27801 (tan_test): Likewise.
27802 (tan_test_tonearest): Likewise.
27803 (tan_test_towardzero): Likewise.
27804 (tan_test_downward): Likewise.
27805 (tan_test_upward): Likewise.
27806 (tanh_test): Likewise.
27807 (tgamma_test): Likewise.
27808 (y0_test): Likewise.
27809 (y1_test): Likewise.
27810 (yn_test): Likewise.
27811
323e5cb7
JM
27812 * math/gen-libm-test.pl (adjust_arg): Remove function.
27813 (special_function): Remove argument $in_func. Only handle
27814 generating output for tables of tests, not inside functions.
27815 (parse_args): Likewise.
27816 (generate_testfile): Remove variable $in_func. Update call to
27817 parse_args.
27818 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27819 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27820 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27821 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27822 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27823 (MAX_VALUE_INIT): Rename macro to max_value.
27824 (MIN_VALUE_INIT): Rename macro to min_value.
27825 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27826 (plus_zero): Remove variable.
27827 (minus_zero): Likewise.
27828 (plus_infty): Likewise.
27829 (minus_infty): Likewise.
27830 (qnan_value): Likewise.
27831 (max_value): Likewise.
27832 (min_value): Likewise.
27833 (min_subnorm_value): Likewise.
27834
e054f494
RA
278352013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27836
27837 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27838 uint64_t or uint32_t usage.
27839 * crypt/sha256-block.c: Likewise.
27840 * crypt/sha256-crypt.c: Likewise.
27841 * crypt/sha256.c: Likewise.
27842 * crypt/sha512-block.c: Likewise.
27843 * crypt/sha512-crypt.c: Likewise.
27844 * crypt/sha512.c: Likewise.
27845 * debug/backtrace-tst.c: Likewise.
27846 * debug/pcprofiledump.c: Likewise.
27847 * elf/cache.c: Likewise.
27848 * elf/dl-cache.c: Likewise.
27849 * elf/dl-misc.c: Likewise.
27850 * elf/dl-profile.c: Likewise.
27851 * elf/dl-support.c: Likewise.
27852 * elf/ldconfig.c: Likewise.
27853 * elf/sprof.c: Likewise.
27854 * iconv/dummy-repertoire.c: Likewise.
27855 * iconv/iconv_charmap.c: Likewise.
27856 * iconv/skeleton.c: Likewise.
27857 * iconvdata/8bit-generic.c: Likewise.
27858 * iconvdata/cp737.h: Likewise.
27859 * iconvdata/cp775.h: Likewise.
27860 * iconvdata/ibm1008.h: Likewise.
27861 * iconvdata/ibm1025.h: Likewise.
27862 * iconvdata/ibm1046.h: Likewise.
27863 * iconvdata/ibm1097.h: Likewise.
27864 * iconvdata/ibm1112.h: Likewise.
27865 * iconvdata/ibm1122.h: Likewise.
27866 * iconvdata/ibm1123.h: Likewise.
27867 * iconvdata/ibm1124.h: Likewise.
27868 * iconvdata/ibm1129.h: Likewise.
27869 * iconvdata/ibm1130.h: Likewise.
27870 * iconvdata/ibm1132.h: Likewise.
27871 * iconvdata/ibm1133.h: Likewise.
27872 * iconvdata/ibm1137.h: Likewise.
27873 * iconvdata/ibm1140.h: Likewise.
27874 * iconvdata/ibm1141.h: Likewise.
27875 * iconvdata/ibm1142.h: Likewise.
27876 * iconvdata/ibm1143.h: Likewise.
27877 * iconvdata/ibm1144.h: Likewise.
27878 * iconvdata/ibm1145.h: Likewise.
27879 * iconvdata/ibm1146.h: Likewise.
27880 * iconvdata/ibm1147.h: Likewise.
27881 * iconvdata/ibm1148.h: Likewise.
27882 * iconvdata/ibm1149.h: Likewise.
27883 * iconvdata/ibm1153.h: Likewise.
27884 * iconvdata/ibm1154.h: Likewise.
27885 * iconvdata/ibm1155.h: Likewise.
27886 * iconvdata/ibm1156.h: Likewise.
27887 * iconvdata/ibm1157.h: Likewise.
27888 * iconvdata/ibm1158.h: Likewise.
27889 * iconvdata/ibm1160.h: Likewise.
27890 * iconvdata/ibm1161.h: Likewise.
27891 * iconvdata/ibm1162.h: Likewise.
27892 * iconvdata/ibm1163.h: Likewise.
27893 * iconvdata/ibm1164.h: Likewise.
27894 * iconvdata/ibm1166.h: Likewise.
27895 * iconvdata/ibm1167.h: Likewise.
27896 * iconvdata/ibm12712.h: Likewise.
27897 * iconvdata/ibm1390.h: Likewise.
27898 * iconvdata/ibm1399.h: Likewise.
27899 * iconvdata/ibm16804.h: Likewise.
27900 * iconvdata/ibm4517.h: Likewise.
27901 * iconvdata/ibm4899.h: Likewise.
27902 * iconvdata/ibm4909.h: Likewise.
27903 * iconvdata/ibm4971.h: Likewise.
27904 * iconvdata/ibm5347.h: Likewise.
27905 * iconvdata/ibm803.h: Likewise.
27906 * iconvdata/ibm856.h: Likewise.
27907 * iconvdata/ibm901.h: Likewise.
27908 * iconvdata/ibm902.h: Likewise.
27909 * iconvdata/ibm9030.h: Likewise.
27910 * iconvdata/ibm9066.h: Likewise.
27911 * iconvdata/ibm921.h: Likewise.
27912 * iconvdata/ibm922.h: Likewise.
27913 * iconvdata/ibm9448.h: Likewise.
27914 * iconvdata/isiri-3342.h: Likewise.
27915 * iconvdata/jis0201.h: Likewise.
27916 * include/link.h: Likewise.
27917 * include/netdb.h: Likewise.
27918 * inet/check_native.c: Likewise.
27919 * inet/check_pf.c: Likewise.
27920 * inet/getipv4sourcefilter.c: Likewise.
27921 * inet/getnameinfo.c: Likewise.
27922 * inet/getsourcefilter.c: Likewise.
27923 * inet/htonl.c: Likewise.
27924 * inet/setipv4sourcefilter.c: Likewise.
27925 * inet/setsourcefilter.c: Likewise.
27926 * inet/test-inet6_opt.c: Likewise.
27927 * inet/tst-network.c: Likewise.
27928 * locale/C-collate.c: Likewise.
27929 * locale/C-ctype.c: Likewise.
27930 * locale/C-time.c: Likewise.
27931 * locale/C-translit.h: Likewise.
27932 * locale/loadarchive.c: Likewise.
27933 * locale/programs/3level.h: Likewise.
27934 * locale/programs/charmap.c: Likewise.
27935 * locale/programs/charmap.h: Likewise.
27936 * locale/programs/ld-address.c: Likewise.
27937 * locale/programs/ld-collate.c: Likewise.
27938 * locale/programs/ld-ctype.c: Likewise.
27939 * locale/programs/ld-identification.c: Likewise.
27940 * locale/programs/ld-measurement.c: Likewise.
27941 * locale/programs/ld-messages.c: Likewise.
27942 * locale/programs/ld-monetary.c: Likewise.
27943 * locale/programs/ld-name.c: Likewise.
27944 * locale/programs/ld-numeric.c: Likewise.
27945 * locale/programs/ld-paper.c: Likewise.
27946 * locale/programs/ld-telephone.c: Likewise.
27947 * locale/programs/ld-time.c: Likewise.
27948 * locale/programs/linereader.c: Likewise.
27949 * locale/programs/locale.c: Likewise.
27950 * locale/programs/locarchive.c: Likewise.
27951 * locale/programs/locfile.h: Likewise.
27952 * locale/programs/repertoire.c: Likewise.
27953 * locale/programs/simple-hash.c: Likewise.
27954 * locale/programs/simple-hash.h: Likewise.
27955 * malloc/memusage.c: Likewise.
27956 * malloc/memusagestat.c: Likewise.
27957 * nis/nis_defaults.c: Likewise.
27958 * nis/nis_hash.c: Likewise.
27959 * nis/nis_print.c: Likewise.
27960 * nis/nis_xdr.c: Likewise.
27961 * nscd/connections.c: Likewise.
27962 * nscd/hstcache.c: Likewise.
27963 * nscd/nscd_gethst_r.c: Likewise.
27964 * nscd/nscd_getserv_r.c: Likewise.
27965 * nscd/nscd_helper.c: Likewise.
27966 * nscd/servicescache.c: Likewise.
27967 * nss/makedb.c: Likewise.
27968 * nss/nss_db/db-XXX.c: Likewise.
27969 * nss/nss_db/db-initgroups.c: Likewise.
27970 * nss/nss_db/db-netgrp.c: Likewise.
27971 * nss/nss_files/files-network.c: Likewise.
27972 * nss/nss_files/files-parse.c: Likewise.
27973 * posix/bug-regex5.c: Likewise.
27974 * posix/fnmatch_loop.c: Likewise.
27975 * posix/regcomp.c: Likewise.
27976 * posix/regexec.c: Likewise.
27977 * posix/tst-rfc3484-2.c: Likewise.
27978 * posix/tst-rfc3484-3.c: Likewise.
27979 * posix/tst-rfc3484.c: Likewise.
27980 * resolv/nss_dns/dns-canon.c: Likewise.
27981 * resolv/nss_dns/dns-network.c: Likewise.
27982 * resolv/res_init.c: Likewise.
27983 * resolv/res_mkquery.c: Likewise.
27984 * resolv/tst-aton.c: Likewise.
27985 * stdlib/cxa_atexit.c: Likewise.
27986 * stdlib/cxa_finalize.c: Likewise.
27987 * stdlib/gen-fpioconst.c: Likewise.
27988 * stdlib/strtol_l.c: Likewise.
27989 * string/tst-endian.c: Likewise.
27990 * sunrpc/auth_des.c: Likewise.
27991 * sunrpc/clnt_udp.c: Likewise.
27992 * sunrpc/rtime.c: Likewise.
27993 * sunrpc/svcauth_des.c: Likewise.
27994 * sunrpc/xdr.c: Likewise.
27995 * sunrpc/xdr_intXX_t.c: Likewise.
27996 * sunrpc/xdr_rec.c: Likewise.
27997 * sysdeps/generic/ldconfig.h: Likewise.
27998 * sysdeps/generic/ldsodefs.h: Likewise.
27999 * sysdeps/generic/memusage.h: Likewise.
28000 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28001 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28002 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28003 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28004 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28009 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28010 * sysdeps/posix/getaddrinfo.c: Likewise.
28011 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28012 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28013 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28014 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28015 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28016 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28017 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28018 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28019 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28020 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28021 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28022 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28023 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28024 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28025 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28026 * sysdeps/x86_64/dl-tls.h: Likewise.
28027 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28028 * time/alt_digit.c: Likewise.
28029 * time/era.c: Likewise.
28030 * wcsmbs/tst-c16c32-1.c: Likewise.
28031
8c75f674
JM
280322013-05-16 Joseph Myers <joseph@codesourcery.com>
28033
28034 * math/libm-test.inc (struct test_sincos_data): New type.
28035 (RUN_TEST_LOOP_sincos): New macro.
28036 (sincos_test_data): New variable.
28037 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28038
e6e49e59
RH
280392013-05-16 Richard Henderson <rth@redhat.com>
28040
28041 * math/atest-exp2.c (LIMB64): New macro.
28042 (CONSTSZ): New macro.
28043 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28044 (hexdig): Move ...
28045 (print_mpn_fp): ... to function scope.
28046 (read_mpn_hex): Remove.
28047 (get_log2): Remove.
28048 (exp2_mpn): Use mp_log2.
28049 (main): Use mp_exp1.
28050
15c7c18d
JM
280512013-05-16 Joseph Myers <joseph@codesourcery.com>
28052
105a07df
JM
28053 * math/libm-test.inc: Remove comment about not testing "inexact"
28054 exceptions.
28055 (INEXACT_EXCEPTION): New macro.
28056 (NO_INEXACT_EXCEPTION): Likewise.
28057 (INVALID_EXCEPTION_OK): Update value.
28058 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28059 (OVERFLOW_EXCEPTION_OK): Likewise.
28060 (UNDERFLOW_EXCEPTION_OK): Likewise.
28061 (IGNORE_ZERO_INF_SIGN): Likewise.
28062 (ERRNO_UNCHANGED): Likewise.
28063 (ERRNO_EDOM): Likewise.
28064 (ERRNO_ERANGE): Likewise.
28065 (test_exceptions): Handle testing "inexact" exceptions.
28066 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28067 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28068 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28069 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28070 INEXACT_EXCEPTION.
28071 (rint_towardzero_test_data): Likewise.
28072 (rint_downward_test_data): Likewise.
28073 (rint_upward_test_data): Likewise.
28074
e9eee333
JM
28075 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28076 with OVERFLOW_EXCEPTION.
28077 (exp10_test_data): Likewise.
28078 (exp2_test_data): Likewise.
28079 (expm1_test_data): Likewise.
28080 (lgamma_test_data): Likewise.
28081 (pow_test_data): Likewise.
28082 (tgamma_test_data): Likewise.
28083 (yn_test_data): Remove duplicate test of overflow.
28084
1c38ff73
JM
28085 * math/libm-test.inc (struct test_cc_c_data): New type.
28086 (RUN_TEST_LOOP_cc_c): New macro.
28087 (cpow_test_data): New variable.
28088 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28089
15c7c18d
JM
28090 * math/libm-test.inc (struct test_f_L_data): New type.
28091 (RUN_TEST_LOOP_f_L): New macro.
28092 (llrint_test_data): New variable.
28093 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28094 (llrint_tonearest_test_data): New variable.
28095 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28096 (llrint_towardzero_test_data): New variable.
28097 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28098 (llrint_downward_test_data): New variable.
28099 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28100 (llrint_upward_test_data): New variable.
28101 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28102 (llround_test_data): New variable.
28103 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28104
f137ff13
PC
281052013-05-13 Peter Collingbourne <pcc@google.com>
28106
28107 * math/atest-exp2.c (get_log2): Remove const attribute.
28108
3608cb24
JM
281092013-05-15 Joseph Myers <joseph@codesourcery.com>
28110
28111 * math/libm-test.inc (struct test_f_l_data): New type.
28112 (RUN_TEST_LOOP_f_l): New macro.
28113 (lrint_test_data): New variable.
28114 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28115 (lrint_tonearest_test_data): New variable.
28116 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28117 (lrint_towardzero_test_data): New variable.
28118 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28119 (lrint_downward_test_data): New variable.
28120 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28121 (lrint_upward_test_data): New variable.
28122 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28123 (lround_test_data): New variable.
28124 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28125
39b1f617
PC
281262013-05-15 Peter Collingbourne <pcc@google.com>
28127
1deff3dc
PC
28128 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28129 (EXTRACT_WORDS64) Use where appropriate.
28130 (INSERT_WORDS64) Likewise.
28131
791f3ba0
PC
28132 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28133 constraints with x constraints.
28134 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28135
39b1f617
PC
28136 * malloc/obstack.c (_obstack_compat): Add initializer.
28137
12fba011
EM
281382013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28139
28140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28141 si_trapno and add si_addr_lsb to _sifields.sigfault.
28142 (si_trapno): Remove macro.
28143 (si_addr_lsb): Define new macro.
28144 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28145
d369f531
JM
281462013-05-15 Joseph Myers <joseph@codesourcery.com>
28147
b861c6c4
JM
28148 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28149 instead of TEST_f_l.
28150 (llrint_test_tonearest): Likewise.
28151 (llrint_test_towardzero): Likewise.
28152 (llrint_test_downward): Likewise.
28153 (llrint_test_upward): Likewise.
28154 (llround_test): Likewise.
28155
7abeee12
JM
28156 * math/libm-test.inc (struct test_f_i_data): Add comment.
28157 (RUN_TEST_LOOP_f_b): New macro.
28158 (RUN_TEST_LOOP_f_b_tg): Likewise.
28159 (finite_test_data): New variable.
28160 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28161 (isfinite_test_data): New variable.
28162 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28163 (isinf_test_data): New variable.
28164 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28165 (isnan_test_data): New variable.
28166 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28167 (isnormal_test_data): New variable.
28168 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28169 (issignaling_test_data): New variable.
28170 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28171 (signbit_test_data): New variable.
28172 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28173
cbe8c4d3
JM
28174 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28175 with INVALID_EXCEPTION.
28176 (acosh_test_data): Likewise.
28177 (asin_test_data): Likewise.
28178 (atanh_test_data): Likewise.
28179 (fmod_test_data): Likewise.
28180 (log_test_data): Likewise.
28181 (log10_test_data): Likewise.
28182 (log2_test_data): Likewise.
28183 (pow_test_data): Likewise.
28184 (sqrt_test_data): Likewise.
28185 (y0_test_data): Likewise.
28186 (y1_test_data): Likewise.
28187 (yn_test_data): Likewise.
28188
5575c0e5
JM
28189 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28190 function contents.
28191
d369f531
JM
28192 * math/libm-test.inc (struct test_ff_i_data): New type.
28193 (RUN_TEST_LOOP_ff_i_tg): New macro.
28194 (isgreater_test_data): New variable.
28195 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28196 (isgreaterequal_test_data): New variable.
28197 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28198 (isless_test_data): New variable.
28199 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28200 (islessequal_test_data): New variable.
28201 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28202 (islessgreater_test_data): New variable.
28203 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28204 (isunordered_test_data): New variable.
28205 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28206
781fd748
DM
282072013-05-14 David S. Miller <davem@davemloft.net>
28208
28209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28210
87aa21df
JM
282112013-05-14 Joseph Myers <joseph@codesourcery.com>
28212
5e908270
JM
28213 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28214
f71172e5
JM
28215 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28216 extra_test to int.
28217 (struct test_f_i_data): Change type of max_ulp to int.
28218
8cfa635a
JM
28219 * math/libm-test.inc (test_ffI_f1_data): New type.
28220 (RUN_TEST_LOOP_ffI_f1): New macro.
28221 (remquo_test_data): New variable.
28222 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28223
2bcb36b2
JM
28224 * setjmp/tst-setjmp-fp.c: New file.
28225 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28226 (link-libm): New variable.
28227 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28228
acbd839a
JM
28229 * math/libm-test.inc (struct test_f_i_data): New type.
28230 (RUN_TEST_LOOP_f_i): New macro.
28231 (RUN_TEST_LOOP_f_i_tg): Likewise.
28232 (fpclassify_test_data): New variable.
28233 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28234 (ilogb_test_data): New variable.
28235 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28236
e414d745
JM
28237 * math/libm-test.inc (scalbln_test): Correct function name in END
28238 call.
28239
d9c2a0fd
JM
28240 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28241 (RUN_TEST_LOOP_fI_f1): New macro.
28242 (frexp_test_data): New variable.
28243 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28244
9dc9095d
JM
28245 * math/libm-test.inc (struct test_fF_f1_data): New type.
28246 (RUN_TEST_LOOP_fF_f1): New macro.
28247 (modf_test_data): New variable.
28248 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28249
87aa21df
JM
28250 * math/libm-test.inc (struct test_f_f1_data): New type.
28251 (RUN_TEST_LOOP_f_f1): New macro.
28252 (gamma_test_data): New variable.
28253 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28254 (lgamma_test_data): New variable.
28255 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28256
141af660
CD
282572013-05-13 Carlos O'Donell <carlos@redhat.com>
28258
28259 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28260 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28261 (main): Comment "tls" pseudo-hwcap.
28262
6d33265c
JM
282632013-05-13 Joseph Myers <joseph@codesourcery.com>
28264
68fc074c
JM
28265 * math/libm-test.inc (struct test_fl_f_data): New type.
28266 (RUN_TEST_LOOP_fl_f): New variable.
28267 (scalbln_test_data): New variable.
28268 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28269
243216e1
JM
28270 * math/libm-test.inc (struct test_fi_f_data): New type.
28271 (RUN_TEST_LOOP_fi_f): New macro.
28272 (ldexp_test_data): New variable.
28273 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28274 (scalbn_test_data): New variable.
28275 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28276
6a1992e2
JM
28277 * math/libm-test.inc (struct test_c_f_data): New type.
28278 (RUN_TEST_LOOP_c_f): New macro.
28279 (cabs_test_data): New variable.
28280 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28281 (carg_test_data): New variable.
28282 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28283 (cimag_test_data): New variable.
28284 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28285 (creal_test_data): New variable.
28286 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28287
0e400df5
JM
28288 * math/libm-test.inc (struct test_if_f_data): New type.
28289 (RUN_TEST_LOOP_if_f): New macro.
28290 (jn_test_data): New variable.
28291 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28292 (yn_test_data): New variable.
28293 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28294
6d33265c
JM
28295 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28296
f98ece5f
AZ
282972013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28298
28299 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28300 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28301
0f7d347b
SP
283022013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28303
43fe811b
SP
28304 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28305 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28306 (bench-deps): Add bench-timing.h.
28307 * benchtests-bench-skeleton.c: Include bench-timing.h.
28308 (main): Use TIMING_* macros instead of clock_gettime.
28309 * benchtests/bench-timing.h: New file.
28310
0f7d347b
SP
28311 [BZ #14582]
28312 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28313 Renamed from _LIB_VERSION.
28314 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28315
601a3a5f
JM
283162013-05-12 Joseph Myers <joseph@codesourcery.com>
28317
4f184d30
JM
28318 * math/libm-test.inc (struct test_fff_f_data): New type.
28319 (RUN_TEST_LOOP_fff_f): New macro.
28320 (fma_test_data): New variable.
28321 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28322 (fma_towardzero_test_data): New variable.
28323 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28324 (fma_downward_test_data): New variable.
28325 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28326 (fma_upward_test_data): New variable.
28327 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28328
08198877
JM
28329 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28330 (struct test_c_c_data): New type.
28331 (RUN_TEST_LOOP_c_c): New macro.
28332 (cacos_test_data): New variable.
28333 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28334 (cacosh_test_data): New variable.
28335 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28336 (casin_test_data): New variable.
28337 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28338 (casinh_test_data): New variable.
28339 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28340 (catan_test_data): New variable.
28341 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28342 (catanh_test_data): New variable.
28343 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28344 (ccos_test_data): New variable.
28345 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28346 (ccosh_test_data): New variable.
28347 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28348 (cexp_test_data): New variable.
28349 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28350 (clog_test_data): New variable.
28351 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28352 (clog10_test_data): New variable.
28353 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28354 (conj_test_data): New variable.
28355 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28356 (cproj_test_data): New variable.
28357 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28358 (csin_test_data): New variable.
28359 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28360 (csinh_test_data): New variable.
28361 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28362 (csqrt_test_data): New variable.
28363 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28364 (ctan_test_data): New variable.
28365 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28366 (ctan_tonearest_test_data): New variable.
28367 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28368 (ctan_towardzero_test_data): New variable.
28369 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28370 (ctan_downward_test_data): New variable.
28371 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28372 (ctan_upward_test_data): New variable.
28373 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28374 (ctanh_test_data): New variable.
28375 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28376 (ctanh_tonearest_test_data): New variable.
28377 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28378 (ctanh_towardzero_test_data): New variable.
28379 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28380 (ctanh_downward_test_data): New variable.
28381 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28382 (ctanh_upward_test_data): New variable.
28383 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28384 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28385 of BUILD_COMPLEX.
28386
601a3a5f
JM
28387 * math/libm-test.inc (struct test_ff_f_data): New type.
28388 (struct test_ff_f_data_nexttoward): Likewise.
28389 (RUN_TEST_LOOP_2_f): New macro.
28390 (RUN_TEST_LOOP_ff_f): Likewise.
28391 (atan2_test_data): New variable.
28392 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28393 (copysign_test_data): New variable.
28394 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28395 (fdim_test_data): New variable.
28396 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28397 (fmax_test_data): New variable.
28398 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28399 (fmin_test_data): New variable.
28400 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28401 (fmod_test_data): New variable.
28402 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28403 (hypot_test_data): New variable.
28404 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28405 (nextafter_test_data): New variable.
28406 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28407 (nexttoward_test_data): New variable.
28408 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28409 (pow_test_data): New variable.
28410 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28411 (pow_tonearest_test_data): New variable.
28412 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28413 (pow_towardzero_test_data): New variable.
28414 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28415 (pow_downward_test_data): New variable.
28416 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28417 (pow_upward_test_data): New variable.
28418 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28419 (remainder_test_data): New variable.
28420 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28421 (scalb_test_data): New variable.
28422 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28423 * sysdeps/i386/fpu/libm-test-ulps: Update.
28424
74c57478
JM
284252013-05-11 Joseph Myers <joseph@codesourcery.com>
28426
8329e4da
JM
28427 * math/libm-test.inc (fma_test): Use max_value instead of local
28428 variable fltmax.
28429 (nextafter_test): Likewise.
28430
74c57478
JM
28431 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28432 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28433 (acos_downward_test_data): New variable.
28434 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28435 (acos_upward_test_data): New variable.
28436 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28437 (acosh_test_data): New variable.
28438 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28439 (asin_test_data): New variable.
28440 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28441 (asin_tonearest_test_data): New variable.
28442 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28443 (asin_towardzero_test_data): New variable.
28444 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28445 (asin_downward_test_data): New variable.
28446 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28447 (asin_upward_test_data): New variable.
28448 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28449 (asinh_test_data): New variable.
28450 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28451 (atan_test_data): New variable.
28452 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28453 (atanh_test_data): New variable.
28454 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28455 (cbrt_test_data): New variable.
28456 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28457 (ceil_test_data): New variable.
28458 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28459 (cos_test_data): New variable.
28460 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28461 (cos_tonearest_test_data): New variable.
28462 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28463 (cos_towardzero_test_data): New variable.
28464 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28465 (cos_downward_test_data): New variable.
28466 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28467 (cos_upward_test_data): New variable.
28468 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28469 (cosh_test_data): New variable.
28470 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28471 (cosh_tonearest_test_data): New variable.
28472 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28473 (cosh_towardzero_test_data): New variable.
28474 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28475 (cosh_downward_test_data): New variable.
28476 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28477 (cosh_upward_test_data): New variable.
28478 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28479 (erf_test_data): New variable.
28480 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28481 (erfc_test_data): New variable.
28482 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28483 (exp_test_data): New variable.
28484 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28485 (exp_tonearest_test_data): New variable.
28486 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28487 (exp_towardzero_test_data): New variable.
28488 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28489 (exp_downward_test_data): New variable.
28490 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28491 (exp_upward_test_data): New variable.
28492 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28493 (exp10_test_data): New variable.
28494 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28495 (exp2_test_data): New variable.
28496 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28497 (expm1_test_data): New variable.
28498 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28499 (fabs_test_data): New variable.
28500 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28501 (floor_test_data): New variable.
28502 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28503 (j0_test_data): New variable.
28504 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28505 (j1_test_data): New variable.
28506 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28507 (log_test_data): New variable.
28508 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28509 (log10_test_data): New variable.
28510 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28511 (log1p_test_data): New variable.
28512 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28513 (log2_test_data): New variable.
28514 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28515 (logb_test_data): New variable.
28516 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28517 (logb_downward_test_data): New variable.
28518 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28519 (nearbyint_test_data): New variable.
28520 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28521 (rint_test_data): New variable.
28522 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28523 (rint_tonearest_test_data): New variable.
28524 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28525 (rint_towardzero_test_data): New variable.
28526 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28527 (rint_downward_test_data): New variable.
28528 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28529 (rint_upward_test_data): New variable.
28530 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28531 (round_test_data): New variable.
28532 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28533 (sin_test_data): New variable.
28534 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28535 (sin_tonearest_test_data): New variable.
28536 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28537 (sin_towardzero_test_data): New variable.
28538 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28539 (sin_downward_test_data): New variable.
28540 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28541 (sin_upward_test_data): New variable.
28542 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28543 (sinh_test_data): New variable.
28544 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28545 (sinh_tonearest_test_data): New variable.
28546 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28547 (sinh_towardzero_test_data): New variable.
28548 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28549 (sinh_downward_test_data): New variable.
28550 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28551 (sinh_upward_test_data): New variable.
28552 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28553 (sqrt_test_data): New variable.
28554 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28555 (tan_test_data): New variable.
28556 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28557 (tan_tonearest_test_data): New variable.
28558 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28559 (tan_towardzero_test_data): New variable.
28560 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28561 (tan_downward_test_data): New variable.
28562 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28563 (tan_upward_test_data): New variable.
28564 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28565 (tanh_test_data): New variable.
28566 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28567 (tgamma_test_data): New variable.
28568 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28569 (trunc_test_data): New variable.
28570 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28571 (y0_test_data): New variable.
28572 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28573 (y1_test_data): New variable.
28574 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28575 (significand_test_data): New variable.
28576 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28577
7187d844
CG
285782013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28579
28580 [BZ #12387]
28581 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28582
f63fae73
PT
285832013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28584
28585 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28586
8a67a4b3
AJ
285872013-05-10 Andreas Jaeger <aj@suse.de>
28588
28589 [BZ #15448]
28590 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28591 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28592
51df539d
JM
285932013-05-10 Joseph Myers <joseph@codesourcery.com>
28594
28595 * math/gen-libm-test.pl (adjust_arg): New function.
28596 (special_functions): Handle generating output in both functions
28597 and arrays.
28598 (parse_args): Likewise.
28599 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28600 $in_func argument to parse_args.
28601 * math/libm-test.inc (struct test_f_f_data): New type.
28602 (IF_ROUND_INIT_): New macro.
28603 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28604 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28605 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28606 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28607 (ROUND_RESTORE_): Likewise.
28608 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28609 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28610 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28611 (ROUND_RESTORE_FE_UPWARD): Likewise.
28612 (RUN_TEST_LOOP_f_f): New macro.
28613 (acos_test_data): New variable.
28614 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28615 (acos_tonearest_test_data): New variable.
28616 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28617
5c637fe5
SP
286182013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28619
28620 * benchtests/bench-skeleton.c (startup): Fix coding style.
28621
ab2b9461
JM
286222013-05-10 Joseph Myers <joseph@codesourcery.com>
28623
28624 [BZ #6809]
28625 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28626 negative infinity argument.
28627 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28628 negative infinity argument.
28629 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28630 negative infinity argument.
28631 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28632 domain errors.
28633
4c0fe6fe
FW
286342013-05-10 Florian Weimer <fweimer@redhat.com>
28635
28636 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28637 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28638 * iconv/iconv_prog.c (main): Likewise.
28639 * locale/programs/charmap-dir.c (charmap_readdir)
28640 (fopen_uncompressed): Likewise.
28641 * locale/programs/locfile.c (siblings_uncached)
28642 (write_locale_data): Use lstat64 instead of lstat.
28643 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28644 stat.
28645
a3375d29
AJ
286462013-05-10 Andreas Jaeger <aj@suse.de>
28647
28648 [BZ #15395]
28649 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28650 localization.
28651 Include <locale.h>.
28652
36129722
CD
286532013-05-09 Carlos O'Donell <carlos@redhat.com>
28654
28655 * elf/dl-close.c (_dl_close_worker): Add comments.
28656
faa7f811
JM
286572013-05-09 Joseph Myers <joseph@codesourcery.com>
28658
ed41ffef
JM
28659 [BZ #15359]
28660 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28661 high part of pi/2.
28662 (__ieee754_rem_pio2l): Update comments.
28663
d0213cd0
JM
28664 [BZ #15429]
28665 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28666 high part of pi/2.
28667 (__ieee754_rem_pio2l): Update comments.
28668
0d3e777a
JM
28669 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28670 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28671
24f56066
JM
28672 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28673 M_PI_4l.
28674
faa7f811
JM
28675 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28676 (M_PI_34_LOG10El): Likewise.
28677 (M_PI2_LOG10El): Likewise.
28678 (M_PI4_LOG10El): Likewise.
28679 (M_PI_LOG10El): Likewise.
28680
e9a5e0fd
AZ
286812013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28682
28683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28684
d8cd06db
JM
286852013-05-08 Joseph Myers <joseph@codesourcery.com>
28686
a0d9f9d7
JM
28687 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28688 (MINUS_ZERO_INIT): Likewise.
28689 (PLUS_INFTY_INIT): Likewise.
28690 (MINUS_INFTY_INIT): Likewise.
28691 (QNAN_VALUE_INIT): Likewise.
28692 (MAX_VALUE_INIT): Likewise.
28693 (MIN_VALUE_INIT): Likewise.
28694 (MIN_SUBNORM_VALUE_INIT): Likewise.
28695 (plus_zero): Initialize with PLUS_ZERO_INIT.
28696 (minus_zero): Initialize with MINUS_ZERO_INIT.
28697 (plus_infty): Initialize with PLUS_INFTY_INIT.
28698 (minus_infty): Initialize with MINUS_INFTY_INIT.
28699 (qnan_value): Initialize with QNAN_VALUE_INIT.
28700 (max_value): Initialize with MAX_VALUE_INIT.
28701 (min_value): Initialize with MIN_VALUE_INIT.
28702 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28703
ae08db3b
JM
28704 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28705 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28706 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28707 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28708
f44bf14a
JM
28709 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28710 (RUN_TEST_2_f): Likewise.
28711 (RUN_TEST_ff_f): Likewise.
28712 (RUN_TEST_fi_f): Likewise.
28713 (RUN_TEST_fl_f): Likewise.
28714 (RUN_TEST_fff_f): Likewise.
28715 (RUN_TEST_c_f): Likewise.
28716 (RUN_TEST_f_f1): Likewise.
28717 (RUN_TEST_fF_f1): Likewise.
28718 (RUN_TEST_fI_f1): Likewise.
28719 (RUN_TEST_ffI_f1): Likewise.
28720 (RUN_TEST_c_c): Likewise.
28721 (RUN_TEST_cc_c): Likewise.
28722 (RUN_TEST_f_i): Likewise.
28723 (RUN_TEST_f_i_tg): Likewise.
28724 (RUN_TEST_ff_i_tg): Likewise.
28725 (RUN_TEST_f_b): Likewise.
28726 (RUN_TEST_f_b_tg): Likewise.
28727 (RUN_TEST_f_l): Likewise.
28728 (RUN_TEST_f_L): Likewise.
28729 (RUN_TEST_sincos): Likewise.
28730 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28731 whether to show exceptions. Do not include ");\n" in return
28732 value.
28733 (special_functions): Output call to RUN_TEST_sincos instead of
28734 check_float calls. Update calls to new_test.
28735 (parse_args): Output call to single RUN_TEST_* macro instead of
28736 check_* calls and other assignments. Update calls to new_test.
28737
d8cd06db
JM
28738 [BZ #2546]
28739 [BZ #2560]
28740 [BZ #5159]
28741 [BZ #15426]
28742 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28743 input to result for tgamma overflow.
28744 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28745 (gamma_coeff): New variable.
28746 (NCOEFF): New macro.
28747 (gamma_positive): New function.
28748 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28749 underflow here. Use gamma_positive instead of exp (lgamma) for
28750 other arguments.
28751 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28752 (gamma_coeff): New variable.
28753 (NCOEFF): New macro.
28754 (gammaf_positive): New function.
28755 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28756 underflow here. Use gamma_positive instead of exp (lgamma) for
28757 other arguments.
28758 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28759 (gamma_coeff): New variable.
28760 (NCOEFF): New macro.
28761 (gammal_positive): New function.
28762 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28763 underflow here. Use gamma_positive instead of exp (lgamma) for
28764 other arguments.
28765 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28766 (gamma_coeff): New variable.
28767 (NCOEFF): New macro.
28768 (gammal_positive): New function.
28769 (__ieee754_gammal_r): Handle positive infinity, overflow and
28770 underflow here. Handle NaN the same as positive infinity. Remove
28771 check x < 0xffffffff for negative integers. Use gamma_positive
28772 instead of exp (lgamma) for other arguments.
28773 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28774 (gamma_coeff): New variable.
28775 (NCOEFF): New macro.
28776 (gammal_positive): New function.
28777 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28778 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28782 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28783 * sysdeps/generic/math_private.h (__gamma_productf): New
28784 prototype.
28785 (__gamma_product): Likewise.
28786 (__gamma_productl): Likewise.
28787 * math/Makefile (libm-calls): Add gamma_product.
28788 * math/libm-test.inc (tgamma_test): Add more tests.
28789 * sysdeps/i386/fpu/libm-test-ulps: Update.
28790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28791
bb7cf681
OB
287922013-05-08 Ondřej Bílka <neleai@seznam.cz>
28793
28794 * benchtests/bench-skeleton.c (main): Preheat CPU.
28795
ba853947
AJ
287962013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28797
28798 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28799
8347c74c
RM
288002013-05-07 Roland McGrath <roland@hack.frob.com>
28801
28802 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28803 and _dl_skip_args_internal.
28804
e8dd4791
CD
288052013-05-07 Carlos O'Donell <carlos@redhat.com>
28806
28807 * manual/message.texi (Message Translation): Talk about users.
28808 Message to key mapping impacts design.
28809
c7405830
RM
288102013-05-06 Roland McGrath <roland@hack.frob.com>
28811
a9173057
RM
28812 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28813
976e2f03
RM
28814 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28815
9723ffc5
RM
28816 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28817 * sysdeps/wordsize-64/glob64.c: ... here.
28818
962e6658
RM
28819 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28820 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28821 New macros.
28822
ee586a6d
RM
28823 * debug/getlogin_r_chk.c: Moved to ...
28824 * login/getlogin_r_chk.c: ... here.
28825 * debug/Makefile (routines): Move getlogin_r_chk to ...
28826 * login/Makefile (routines): ... here.
28827 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28828 * login/Versions (libc: GLIBC_2.4): ... here.
28829
355f9165
RM
28830 * io/poll.c (__poll): Renamed from poll.
28831 Add libc_hidden_def.
28832 (poll): Define as weak alias.
28833
bd9ffde6
RM
28834 * debug/ptsname_r_chk.c: Moved to ...
28835 * login/ptsname_r_chk.c: ... here.
28836 * debug/Makefile (routines): Move ptsname_r_chk to ...
28837 * login/Makefile (routines): ... here.
28838 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28839 * login/Versions (libc: GLIBC_2.4): ... here.
28840
8fb16a04
RM
28841 * posix/getlogin.c: Moved to ...
28842 * login/getlogin.c: ... here.
28843 * posix/getlogin_r.c: Moved to ...
28844 * login/getlogin_r.c: ... here.
28845 * posix/getlogin_r.c: Moved to ...
28846 * login/getlogin_r.c: ... here.
28847 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28848 * login/Makefile (routines): ... here.
28849 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28850 * login/Versions (libc: GLIBC_2.0): ... here.
28851
b99b892f
RM
28852 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28853 (setrlimit): Define as weak alias.
28854
c7405830
RM
28855 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28856 Call __ names for open, ftruncate, and close.
28857 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28858 (truncate): Define as weak alias.
28859
5bf96de5
JM
288602013-05-06 Joseph Myers <joseph@codesourcery.com>
28861
9ea3513c
JM
28862 * math/gen-libm-test.pl (parse_args): Initialize x before each
28863 test of frexp, modf and remquo.
28864
5bf96de5
JM
28865 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28866 test signgam value.
28867
16e616a7
AZ
288682013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28869
28870 [BZ #15418]
28871 [BZ #15419]
28872 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28873 internal tests.
28874 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28875
d5e82754
RM
288762013-05-06 Roland McGrath <roland@hack.frob.com>
28877
28878 * elf/dl-writev.h: New file.
28879 * elf/dl-misc.c: Include it.
28880 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28881 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28882
a7548d41
JM
288832013-05-04 Joseph Myers <joseph@codesourcery.com>
28884
b7dab1e4
JM
28885 * math/libm-test.inc (noXFails): Remove variable.
28886 (noXPasses): Likewise.
28887 (BUILD_COMPLEX_INT): Remove macro.
28888 (print_screen): Remove xfail argument.
28889 (print_screen_max_error): Likewise.
28890 (update_stats): Likewise.
28891 (print_max_error): Likewise. Update calls to other affected
28892 functions.
28893 (print_complex_max_error): Likewise.
28894 (test_single_exception): Update calls to print_screen.
28895 (test_single_errno): Likewise.
28896 (check_float_internal): Remove xfail argument. Update calls to
28897 other affected functions.
28898 (check_float): Likewise.
28899 (check_complex): Likewise.
28900 (check_int): Likewise.
28901 (check_long): Likewise.
28902 (check_bool): Likewise.
28903 (check_longlong): Likewise.
28904 (main): Don't print noXFails and noXPasses.
28905 * math/gen-libm-test.pl (top level): Don't mention expected
28906 failure handling in comment.
28907 (new_test): Don't handle expected failures.
28908 (parse_args): Don't mention expected failure handling in comment.
28909 (generate_testfile): Don't handle expected failures.
28910 (parse_ulps): Likewise.
28911 (print_ulps_file): Likewise.
28912 (get_failure): Remove function.
28913 (output_test): Don't handle expected failures.
28914 * make/README.libm-test: Don't mention expected failure handling.
28915
a7548d41
JM
28916 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28917 (minus_zero): Likewise.
28918 (plus_infty): Likewise.
28919 (minus_infty): Likewise.
28920 (qnan_value): Likewise.
28921 (max_value): Likewise.
28922 (min_value): Likewise.
28923 (min_subnorm_value): Likewise.
28924 (initialize): Do not initialize those variables dynamically.
28925
60bfd54c
RM
289262013-05-03 Roland McGrath <roland@hack.frob.com>
28927
cc0e6ed8
RM
28928 * io/open.c (__open_2): Moved to ...
28929 * io/open_2.c: ... this new file.
28930 * io/open64.c (__open64_2): Moved to ...
28931 * io/open64_2.c: ... this new file.
28932 * io/openat.c (__openat_2): Moved to ...
28933 * io/openat_2.c: ... this new file.
28934 * io/openat64.c (__openat64_2): Moved to ...
28935 * io/openat64_2.c: ... this new file.
28936 * io/Makefile (routines): Add them.
28937 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28938 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28939 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28940 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28941 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28942 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28943 (__openat64): Add hidden_ver.
28944 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28945 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28946
60bfd54c
RM
28947 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28948 Separately conditionalize setting of GLRO(dl_sysinfo) so
28949 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28950 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28951
83e7640f
AZ
289522013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28953
28954 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28955 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28956 definition.
28957 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28958 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28959 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28960 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28961 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28962
d5dc2af3
JM
289632013-05-03 Joseph Myers <joseph@codesourcery.com>
28964
c31a5b1e
JM
28965 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28966 test signgam value.
28967
d5dc2af3
JM
28968 * math/libm-test.inc (hypot_test): Do not use
28969 IGNORE_ZERO_INF_SIGN.
28970
164fd39d
AJ
289712013-05-03 Andreas Jaeger <aj@suse.de>
28972
28973 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28974 Linux 3.9.
28975 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28976 (PF_MAX): Adjust for VSOCK change.
28977
8237f48c
AZ
289782013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28979
28980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28981
9df02941
CD
289822013-05-02 Carlos O'Donell <carlos@redhat.com>
28983
28984 [BZ #15264]
28985 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28986 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28987 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28988
d422395e
DM
289892013-05-02 David S. Miller <davem@davemloft.net>
28990
28991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28992
a07c5731
OB
289932013-05-01 Ondřej Bílka <neleai@seznam.cz>
28994
28995 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28996
1324e37f
RM
289972013-05-01 Roland McGrath <roland@hack.frob.com>
28998
28999 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29000
0695940b
RS
290012013-05-01 Richard Smith <richard@metafoo.co.uk>
29002
bb5f27ad 29003 [BZ #14952]
0695940b
RS
29004 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29005 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29006 Use __attribute__ ((__gnu_inline__)).
29007 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29008 Don't use __attribute__ ((__gnu_inline__)).
29009
10de07f5
JM
290102013-05-01 Joseph Myers <joseph@codesourcery.com>
29011
29012 [BZ #15423]
29013 * math/s_catan.c (__catan): Handle small real or imaginary part of
29014 input specially to avoid spurious underflow.
29015 * math/s_catanf.c (__catanf): Likewise.
29016 * math/s_catanh.c (__catanh): Likewise.
29017 * math/s_catanhf.c (__catanhf): Likewise.
29018 * math/s_catanhl.c (__catanhl): Likewise.
29019 * math/s_catanl.c (__catanl): Likewise.
29020 * math/libm-test.inc (catan_test): Add more tests.
29021 (catanh_test): Likewise.
29022 * sysdeps/i386/fpu/libm-test-ulps: Update.
29023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29024
cb4d5414
AZ
290252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29026
29027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29028
caf84319
JM
290292013-04-30 Joseph Myers <joseph@codesourcery.com>
29030
29031 [BZ #15416]
29032 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29033 accurately for denominator in atan2.
29034 * math/s_catanf.c (__catanf): Likewise.
29035 * math/s_catanh.c (__catanh): Likewise.
29036 * math/s_catanhf.c (__catanhf): Likewise.
29037 * math/s_catanhl.c (__catanhl): Likewise.
29038 * math/s_catanl.c (__catanl): Likewise.
29039 * math/libm-test.inc (catan_test): Add more tests.
29040 (catanh_test): Likewise.
29041 * sysdeps/i386/fpu/libm-test-ulps: Update.
29042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29043
d569c6ee
SP
290442013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29045
6dbe713d
SP
29046 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29047
f0ee064b
SP
29048 * benchtests/Makefile (bench): Remove slow benchmarks.
29049 * benchtests/atan-inputs: Add slow benchmark inputs.
29050 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29051 (BENCH_FUNC): Accept variant offset.
29052 (VARIANT): Define.
29053 * benchtests/bench-skeleton.c (main): Run benchmark for each
29054 variant.
29055 * benchtests/cos-inputs: Add slow benchmark inputs.
29056 * benchtests/exp-inputs: Likewise.
29057 * benchtests/pow-inputs: Likewise.
29058 * benchtests/sin-inputs: Likewise.
29059 * benchtests/slowatan-inputs: Remove.
29060 * benchtests/slowatan.c: Remove.
29061 * benchtests/slowcos-inputs: Remove.
29062 * benchtests/slowcos.c: Remove.
29063 * benchtests/slowexp-inputs: Remove.
29064 * benchtests/slowexp.c: Remove.
29065 * benchtests/slowpow-inputs: Remove.
29066 * benchtests/slowpow.c: Remove.
29067 * benchtests/slowsin-inputs: Remove.
29068 * benchtests/slowsin.c: Remove.
29069 * benchtests/slowtan-inputs: Remove.
29070 * benchtests/slowtan.c: Remove.
29071 * benchtests/tan-inputs: Add slow benchmark inputs.
29072 * scripts/bench.pl: Parse comments and directives.
29073
d569c6ee
SP
29074 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29075 in CPPFLAGS.
29076 ($(objpfx)bench-%.c): Remove *-ITER.
29077 * benchtests/bench-modf.c: Remove definition of ITER.
29078 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29079 (main): Loop for DURATION seconds instead of fixed number of
29080 iterations.
29081 * scripts/bench.pl: Don't expect iterations in parameters.
29082
a6a242fe
RM
290832013-04-29 Roland McGrath <roland@hack.frob.com>
29084
29085 * io/fchdir.c (__fchdir): Renamed from fchdir.
29086 (fchdir): Define as weak alias.
29087
f2da7793
JM
290882013-04-29 Joseph Myers <joseph@codesourcery.com>
29089
29090 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29091 (ERRNO_EDOM): Likewise.
29092 (ERRNO_ERANGE): Likewise.
29093 (noErrnoTests): New variable.
29094 (init_max_error): Set errno to 0.
29095 (test_single_errno): New function.
29096 (test_errno): Likewise.
29097 (check_float_internal): Call test_errno. Set errno to 0.
29098 (check_complex): Refer to errno tests in comment.
29099 (check_int): Call test_errno. Set errno to 0.
29100 (check_long): Likewise.
29101 (check_bool): Likewise.
29102 (check_longlong): Likewise.
29103 (cos_test): Use ERRNO_* flags for errno tests instead of
29104 check_int.
29105 (expm1_test): Likewise.
29106 (fmod_test): Likewise.
29107 (ilogb_test): Likewise.
29108 (lgamma_test): Likewise.
29109 (pow_test): Likewise.
29110 (remainder_test): Likewise.
29111 (sin_test): Likewise.
29112 (tan_test): Likewise.
29113 (yn_test): Likewise.
29114 (initialize): Set errno to 0.
29115 (main): Print number of errno tests.
29116 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29117
b1a36ceb
AJ
291182013-04-29 Andreas Jaeger <aj@suse.de>
29119
c3ed8088
AJ
29120 [BZ #15084]
29121 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29122 and RES_USEVC.
29123
f1a24198
AJ
29124 [BZ #15085]
29125 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29126 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29127 unimplemented.
29128
9ce3b2cb
AJ
29129 [BZ #15380]
29130 * stdlib/random.c (__initstate): Return NULL if
29131 __initstate fails.
29132
f1a24198 29133 [BZ #15086]
b1a36ceb
AJ
29134 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29135 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29136 RES_SNGLKUPREOP.
29137
7e7b6f36
AZ
291382013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29139
29140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29141
4d14f449
JM
291422013-04-29 Joseph Myers <joseph@codesourcery.com>
29143
29144 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29145 of individual tests.
29146 (casin_test): Likewise.
29147 (casinh_test): Likewise.
29148
5b4217d7
JM
291492013-04-27 Joseph Myers <joseph@codesourcery.com>
29150
29151 [BZ #15409]
29152 * math/s_catan.c (__catan): Handle arguments with large real or
29153 imaginary part separately without squaring.
29154 * math/s_catanf.c (__catanf): Likewise.
29155 * math/s_catanh.c (__catanh): Likewise.
29156 * math/s_catanhf.c (__catanhf): Likewise.
29157 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29158 and redefine.
29159 (__catanhl): Handle arguments with large real or imaginary part
29160 separately without squaring.
29161 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29162 and redefine.
29163 (__catanl): Handle arguments with large real or imaginary part
29164 separately without squaring.
29165 * math/libm-test.inc (catan_test): Add more tests.
29166 (catanh_test): Likewise.
29167 * sysdeps/i386/fpu/libm-test-ulps: Update.
29168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29169
4220c3ef
AJ
291702013-04-27 Andreas Jaeger <aj@suse.de>
29171
29172 [BZ #15007]
29173 * stdlib/stdlib.h: Update guards for qecvt.
29174 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29175 <stdlib.h>.
29176
4721b2d1
AM
291772013-04-27 Allan McRae <allan@archlinux.org>
29178
29179 * sysdeps/i386/fpu/libm-test-ulps: Update.
29180
f0302940
JM
291812013-04-26 Joseph Myers <joseph@codesourcery.com>
29182
9457fd95
JM
29183 [BZ #15406]
29184 * math/s_catan.c: Include <float.h>.
29185 (__catan): Ensure underflow exception occurs for underflowed
29186 result.
29187 * math/s_catanf.c: Include <float.h>.
29188 (__catanf): Ensure underflow exception occurs for underflowed
29189 result.
29190 * math/s_catanh.c: Include <float.h>.
29191 (__catanh): Ensure underflow exception occurs for underflowed
29192 result.
29193 * math/s_catanhf.c: Include <float.h>.
29194 (__catanhf): Ensure underflow exception occurs for underflowed
29195 result.
29196 * math/s_catanhl.c: Include <float.h>.
29197 (__catanhl): Ensure underflow exception occurs for underflowed
29198 result.
29199 * math/s_catanl.c: Include <float.h>.
29200 (__catanl): Ensure underflow exception occurs for underflowed
29201 result.
29202 * math/libm-test.inc (catan_test): Add more tests.
29203 (catanh_test): Likewise.
29204
f0302940
JM
29205 [BZ #15405]
29206 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29207 underflowed result.
29208 * math/s_ccoshf.c (__ccoshf): Likewise.
29209 * math/s_ccoshl.c (__ccoshl): Likewise.
29210 * math/s_csin.c (__csin): Likewise.
29211 * math/s_csinf.c (__csinf): Likewise.
29212 * math/s_csinh.c (__csinh): Likewise.
29213 * math/s_csinhf.c (__csinhf): Likewise.
29214 * math/s_csinhl.c (__csinhl): Likewise.
29215 * math/s_csinl.c (__csinl): Likewise.
29216 * math/libm-test.inc (ccos_test): Add more tests.
29217 (ccosh_test): Likewise.
29218 (csin_test): Likewise.
29219 (csinh_test): Likewise.
29220
aa630f59
AZ
292212013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29222
29223 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29224 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29225 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29226 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29227 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29228 powerpc/power5+/fpu folders.
29229 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29230
29231
1b835983
MT
292322013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29233
29234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29235
73709b26
JM
292362013-04-25 Joseph Myers <joseph@codesourcery.com>
29237
29238 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29239 additions to variable.
29240 [$(config-machine) = x86_64] (modules-names): Likewise.
29241 ($(objpfx)tst-audit3): Remove dependency.
29242 ($(objpfx)tst-audit3.out): Likewise.
29243 ($(objpfx)tst-audit4): Likewise.
29244 ($(objpfx)tst-audit4.out): Likewise.
29245 ($(objpfx)tst-audit5): Likewise.
29246 ($(objpfx)tst-audit5.out): Likewise.
29247 ($(objpfx)tst-audit6): Likewise.
29248 ($(objpfx)tst-audit6.out): Likewise.
29249 ($(objpfx)tst-audit7): Likewise.
29250 ($(objpfx)tst-audit7.out): Likewise.
29251 (tst-audit3-ENV): Remove variable.
29252 (tst-audit4-ENV): Likewise.
29253 (tst-audit5-ENV): Likewise.
29254 (tst-audit6-ENV): Likewise.
29255 (tst-audit7-ENV): Likewise.
29256 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29257 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29258 addition to variable.
29259 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29260 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29261 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29262 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29263 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29264 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29265 tst-audit3, tst-audit4 and tst-audit5.
29266 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29267 tst-audit6 and tst-audit7.
29268 [$(subdir) = elf] (modules-names): Add audit modules for those
29269 tests.
29270 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29271 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29272 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29273 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29274 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29275 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29276 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29277 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29278 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29279 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29280 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29281 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29282 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29283 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29284 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29285 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29286 Likewise.
29287 [$(subdir) = elf && $(config-cflags-avx) = yes]
29288 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29289 [$(subdir) = elf && $(config-cflags-avx) = yes]
29290 (CFLAGS-tst-auditmod4a.c): Likewise.
29291 [$(subdir) = elf && $(config-cflags-avx) = yes]
29292 (CFLAGS-tst-auditmod4b.c): Likewise.
29293 [$(subdir) = elf && $(config-cflags-avx) = yes]
29294 (CFLAGS-tst-auditmod6b.c): Likewise.
29295 [$(subdir) = elf && $(config-cflags-avx) = yes]
29296 (CFLAGS-tst-auditmod6c.c): Likewise.
29297 [$(subdir) = elf && $(config-cflags-avx) = yes]
29298 (CFLAGS-tst-auditmod7b.c): Likewise.
29299 * elf/tst-audit3.c: Move to ...
29300 * sysdeps/x86_64/tst-audit3.c: ... here.
29301 * elf/tst-audit4.c: Move to ...
29302 * sysdeps/x86_64/tst-audit4.c: ... here.
29303 * elf/tst-audit5.c: Move to ...
29304 * sysdeps/x86_64/tst-audit5.c: ... here.
29305 * elf/tst-audit6.c: Move to ...
29306 * sysdeps/x86_64/tst-audit6.c: ... here.
29307 * elf/tst-audit7.c: Move to ...
29308 * sysdeps/x86_64/tst-audit7.c: ... here.
29309 * elf/tst-auditmod3a.c: Move to ...
29310 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29311 * elf/tst-auditmod3b.c: Move to ...
29312 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29313 * elf/tst-auditmod4a.c: Move to ...
29314 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29315 * elf/tst-auditmod4b.c: Move to ...
29316 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29317 * elf/tst-auditmod5a.c: Move to ...
29318 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29319 * elf/tst-auditmod5b.c: Move to ...
29320 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29321 * elf/tst-auditmod6a.c: Move to ...
29322 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29323 * elf/tst-auditmod6b.c: Move to ...
29324 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29325 * elf/tst-auditmod6c.c: Move to ...
29326 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29327 * elf/tst-auditmod7a.c: Move to ...
29328 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29329 * elf/tst-auditmod7b.c: Move to ...
29330 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29331
1ef74943
PP
293322013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29333
29334 [BZ #15366]
29335 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29336 define unconditionally.
29337 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29338 define unconditionally.
29339 (INT8_C, INT16_C, etc.): Likewise.
29340
93fd48c5
MR
293412013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29342
ae9552cf
MR
29343 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29344 __ehdr_start with hidden visibility.
29345
93fd48c5
MR
29346 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29347
418601aa
CD
293482013-04-24 Carlos O'Donell <carlos@redhat.com>
29349
29350 * math/libm-test.inc (cos_test): Use accurate hex constants.
29351 (sincost_test): Likewise.
29352
2f38fbfe
JM
293532013-04-24 Joseph Myers <joseph@codesourcery.com>
29354
5e221800
JM
29355 * math/libm-test.inc (catan_test): Add more tests.
29356 (catanh_test): Likewise.
29357
77f143fd
JM
29358 * math/s_catanf.c (__catanf): Use suffixed floating-point
29359 constants.
29360 * math/s_catanhf.c (__catanhf): Likewise.
29361 * math/s_catanhl.c (__catanhl): Likewise.
29362 * math/s_catanl.c (__catanl): Likewise.
29363
2f38fbfe
JM
29364 [BZ #15394]
29365 * math/s_catan.c (__catan): Calculate imaginary part of result
29366 with log1p not log unless computing log of number close to 0.
29367 * math/s_catanf.c (__catanf): Likewise.
29368 * math/s_catanl.c (__catanl): Likewise.
29369 * math/s_catanh.c (__catanh): Calculate real part of result with
29370 log1p not log unless computing log of number close to 0.
29371 * math/s_catanhf.c (__catanhf): Likewise.
29372 * math/s_catanhl.c (__catanhl): Likewise.
29373 * math/libm-test.inc (catan_test): Add more tests.
29374 (catanh_test): Likewise.
29375 * sysdeps/i386/fpu/libm-test-ulps: Update.
29376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29377
45d69176
SP
293782013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29379
29380 * benchtests/Makefile: Mention files in which fast and slow
29381 paths of math functions are implemented.
29382
87f51853
RM
293832013-04-23 Roland McGrath <roland@hack.frob.com>
29384
29385 * sysdeps/posix/timespec_get.c: New file.
29386
3c026539
AZ
293872013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29388
29389 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29390 POWER.
29391 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29392 for POWER.
29393 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29394 powerpc/power5/fpu folders.
29395 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29396 * benchtests/Makefile: Add modf testcase.
29397 * benchtests/bench-modf.c: New file: Benchmark test for mo
29398
ff491d14
SP
293992013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29400
29401 [BZ #14888]
29402 * time/Makefile (tests): Add tst-strptime-whitespace.
29403 * time/strptime_l.c (get_number): Use ISSPACE.
29404 (__strptime_internal): Likewise.
29405 * time/tst-strptime-whitespace.c: New test case.
29406
7ed3f4e8
AS
294072013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29408
29409 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29410 member.
29411 (_nss_files_init): Set it here.
29412
5c95f7b6
HC
294132013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29414
29415 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29416 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29417 unsigned.
29418
d34c9158
JBG
294192013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29420
29421 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29422
2169712d
SP
294232013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29424
29425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29426 size just once.
29427
29c5de99
DM
294282013-04-21 David S. Miller <davem@davemloft.net>
29429
29430 * po/ru.po: Update Russion translation from translation project.
29431
ccdad15d
AC
294322013-04-17 Adam Conrad <adconrad@0c3.net>
29433
29434 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29435 and setfsgid.
29436
0f122b8d
CD
294372013-04-17 Carlos O'Donell <carlos@redhat.com>
29438
5c5b07da 29439 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29440 * configure: Regenerate.
5c5b07da 29441 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29442 Add example to error message.
29443 * sysdeps/i386/configure: Regenerate.
29444
037714dd
SP
294452013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29446
29447 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29448 slowtan.
29449 * benchtests/cos-inputs: New file.
29450 * benchtests/slowcos-inputs: New file.
29451 * benchtests/slowcos.c: New file.
29452 * benchtests/slowtan-inputs: New file.
29453 * benchtests/slowtan.c: New file.
29454 * benchtests/tan-inputs: New file.
29455
e913141d
RM
294562013-04-16 Roland McGrath <roland@hack.frob.com>
29457
29458 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29459 considered kosher.
29460
a2964074
SP
294612013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29462
4856bcd2
SP
29463 * benchtests/Makefile: Include cppflags-iterator.mk to add
29464 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29465
a2964074
SP
29466 * Makefile.in (bench-clean): New target.
29467 * benchtests/Makefile (bench-clean): Likewise.
29468
9fbf9aca
DH
294692013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29470
29471 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29472
207d1e2a
TS
294732013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29474
29475 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29476
306dfba9
AS
294772013-04-15 Andreas Schwab <schwab@suse.de>
29478
29479 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29481 * nscd/pwdcache.c (cache_addpw): Likewise.
29482 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29483 more than recsize.
29484
206a6699
SP
294852013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29486
29487 * benchtests/Makefile (bench): Write all output to
29488 bench-out.tmp together.
29489
0582f6b3
AS
294902013-04-15 Andreas Schwab <schwab@suse.de>
29491
29492 * nscd/nscd.c (main): Don't fork again after closing files.
29493
acb4325f
SP
294942013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29495
5cb26d0a
SP
29496 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29497
acb4325f
SP
29498 * benchtests/Rules (bench-deps): Collect dependencies into a
29499 single variable. Add Makefile to dependencies.
29500 ($(objpfx)bench-%.c): Depend on bench-deps.
29501
47792506
RM
295022013-04-12 Roland McGrath <roland@hack.frob.com>
29503 Xavier Roche <roche+kml2@exalead.com>
29504
29505 [BZ #15361]
29506 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29507 just that it's a file descriptor.
29508 * manual/llio.texi (Synchronizing AIO Operations): Update description
29509 for EBADF error from aio_fsync.
29510
8fc1bee5
SP
295112013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29512
29513 * Rules (bench): Move target definition...
29514 * benchtests/Makefile: ... here.
29515
aba5e333
CD
295162013-04-11 Carlos O'Donell <carlos@redhat.com>
29517
29518 * math/libm-test.inc (cos_test): Fix PI/2 test.
29519 (sincos_test): Likewise.
29520 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29521 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29522
273cdee8
AS
295232013-04-11 Andreas Schwab <schwab@suse.de>
29524
6ecec3b6
AS
29525 [BZ #13988]
29526 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29527 accept exponent character only when digits were seen.
29528 * stdio-common/Makefile (tests): Add bug26.
29529 * stdio-common/bug26.c: New file.
29530
273cdee8
AS
29531 [BZ #14293]
29532 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29533 non-freeable.
29534
8da491f5
SP
295352013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29536
01dc6df9
SP
29537 * Makeconfig (rtld-prefix): Define built linker prefix.
29538 * Rules (run-bench): Use it.
29539 * math/Makefile (run-regen-ulps): Likewise.
29540
8da491f5
SP
29541 * Rules (bench): Remove eval.
29542
abe7f530
SP
295432013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29544 Roland McGrath <roland@hack.frob.com>
29545 Ondrej Bilka <neleai@seznam.cz>
29546
29547 [BZ #15346]
29548 * time/getdate.c: Include ctype.h and alloca.h.
29549 (__getdate_r): Trim leading and trailing spaces of input.
29550 * time/tst-getdate.c (tests): Add tests with leading and
29551 trailing spaces.
29552
61c23e62
RM
295532013-04-08 Roland McGrath <roland@hack.frob.com>
29554
29555 [BZ #14280]
29556 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29557 when computing value.
29558
7208a313
CD
295592013-04-06 Carlos O'Donell <carlos@redhat.com>
29560
085b2d41
CD
29561 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29562 Use testrun.sh to run libm tests.
29563
7208a313
CD
29564 [BZ #15309]
29565 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29566
872c0acd
MM
295672013-04-06 Marko Myllynen <myllynen@redhat.com>
29568
29569 [BZ #15264]
29570 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29571
26510bdd
CD
295722013-04-06 Carlos O'Donell <carlos@redhat.com>
29573
29574 * Makefile.in (regen-ulps): New target.
29575 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29576 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29577 [ifneq (no,$(PERL)] (regen-ulps): New target.
29578 [ifeq (no,$(PERL)] (regen-ulps): New target.
29579 * math/libm-test.inc (ulps_file_name): Define.
29580 (output_dir): New variable.
29581 (options): Add "output-dir" option.
29582 (parse_opt): Handle 'o' case.
29583 (main): If output_dir is non-NULL use it as a prefix
29584 otherwise use "".
29585 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29586
a01f19c8
CD
295872013-04-06 Carlos O'Donell <carlos@redhat.com>
29588
29589 [BZ #10060, #10062]
29590 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29591 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29592 fail configure if __sync_val_compare_and_swap is not inlined.
29593 * sysdeps/i386/configure: Regenerate.
29594 * configure.in: Build for i686 when configured for i386.
29595 * configure: Regenerate.
29596 * README: Remove i386 reference.
29597
b7a329a5
CD
295982013-04-06 Carlos O'Donell <carlos@redhat.com>
29599
29600 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29602
bf0f50df
TS
296032013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29604
ee091edf
TS
29605 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29606 (lmsnanval): New variables.
29607 (F): Add conversion tests.
29608 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29609 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29610
a8b792d6
TS
29611 * stdio-common/tstdiomisc.c (F): Properly collect individual
29612 tests' results.
29613
a1cbf437
TS
29614 [BZ #14686, #15336]
29615 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29616 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29617 Instead, use input NaN values or generate a qNaN by arithmetic
29618 operation. Also fix bugs to comply with the standard.
29619 * math/libm-test.inc (remainder_test): Add more tests.
29620
8b43a0c9
TS
29621 [BZ #15335, #15342]
29622 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29624 input NaN values or generate a qNaN by arithmetic operation.
29625
d91da4ce
TS
29626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29627 unreachable code.
29628
bf0f50df
TS
29629 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29630 definitions.
29631
05e166c8
JM
296322013-04-03 Joseph Myers <joseph@codesourcery.com>
29633
29634 [BZ #14478]
29635 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29636 underflowed result.
29637 * math/s_cexpf.c (__cexpf): Likewise.
29638 * math/s_cexpl.c (__cexpl): Likewise.
29639 * math/libm-test.inc (cexp_test): Add more tests.
29640
1cef1b19
AS
296412013-04-03 Andreas Schwab <schwab@suse.de>
29642
29643 [BZ #15330]
29644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29645 order arrays from heap if bigger than alloca cutoff.
29646
74d87055
TS
296472013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29648
29649 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29650 (SNAN_TESTS_double): Refer to GCC PR56831.
29651 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29652 GCC PR56828.
29653
d755bba4
SP
296542013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29655
90d5d5bb
SP
29656 * Rules (bench): Move bench.out after the run is complete.
29657
73e0cd5d
SP
29658 * Rules (bench): Echo currently running benchmark.
29659
64aabd4b
SP
29660 * benchtests/Makefile (bench): Add atan and slowatan.
29661 * benchtests/atan-inputs: New file.
29662 * benchtests/slowatan-inputs: New file.
29663 * benchtests/slowatan.c: New file.
29664
c871eccd
SP
29665 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29666 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29667 its value.
29668
d755bba4
SP
29669 [BZ #15305]
29670 * sysdeps/unix/sysv/linux/kernel-features.h
29671 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29672 __ASSUME_XFS_RESTRICTED_CHOWN.
29673 * sysdeps/unix/sysv/linux/pathconf.c
29674 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29675 Save and restore errno.
29676
52ce4860
JM
296772013-04-02 Joseph Myers <joseph@codesourcery.com>
29678
29679 [BZ #15327]
29680 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29681 arguments using __kernel_casinh.
29682 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29683 arguments using __kernel_casinhf.
29684 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29685 arguments using __kernel_casinhl.
29686 * math/libm-test.inc (cacosh_test): Add more tests.
29687 * sysdeps/i386/fpu/libm-test-ulps: Update.
29688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29689
81f311c2
SP
296902013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29691
e7906a47
SP
29692 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29694
92e3664b
SP
29695 * bench/Makefile (bench): Add sin and slowsin.
29696 * benchtests/sin-inputs: New file.
29697 * benchtests/slowsin-inputs: New file.
29698 * benchtests/slowsin.c: New file.
29699
81f311c2
SP
29700 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29701 (bench): Add slowexp and slowpow.
29702 (exp-ITER): Increase iterations.
29703 (pow-ITER): Likewise.
29704 * benchtests/exp-inputs: Change input.
29705 * benchtests/pow-inputs: Likewise.
29706 * benchtests/slowexp-inputs: New file.
29707 * benchtests/slowexp.c: New file.
29708 * benchtests/slowpow-inputs: New file.
29709 * benchtests/slowpow.c: New file.
29710
ab0f1aa9
AZ
297112013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29712
29713 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29714 instructions.
29715 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29716 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29717 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29718 * benchtests/Makefile: Add rint benchtest.
29719 * benchtests/rint-inputs: Input for rint benchtest.
29720
57267616
TS
297212013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29722
29723 * Versions.def (libm): Add GLIBC_2.18.
29724 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29725 hidden libm prototypes.
29726 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29727 * math/Makefile (libm-calls): Add s_issignaling.
29728 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29729 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29730 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29731 declaration.
29732 * math/math.h [__USE_GNU] (issignaling): New macro.
29733 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29734 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29735 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29736 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29737 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29738 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29739 * manual/arith.texi (issignaling): New section.
29740 * manual/libm-err-tab.pl (@all_functions): Update comment.
29741 * math/gen-libm-test.pl (parse_args): Apply special handling for
29742 issignaling.
29743 * math/libm-test.inc (print_float, issignaling_test): New
29744 functions.
29745 (check_float_internal): Add issignaling checks.
29746 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29747 default definition.
29748 * sysdeps/powerpc/math-tests.h: New file.
29749 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29750 tests.
29751 * math/test-snan.c (TEST_FUNC): Likewise.
29752
6142896d
DM
297532013-03-30 David S. Miller <davem@davemloft.net>
29754
29755 * po/de.po: Update from translation team.
29756
ccc8cadf
JM
297572013-03-30 Joseph Myers <joseph@codesourcery.com>
29758
29759 [BZ #10357]
29760 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29761 imaginary part less than 1.0 and real part less than 0.5
29762 specially.
29763 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29764 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29765 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29766 (cacos_test): Add more tests.
29767 (casin_test): Likewise.
29768 (casinh_test): Likewise.
29769 * sysdeps/i386/fpu/libm-test-ulps: Update.
29770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29771
0f6a8d4b
SP
297722013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29773
0d1029de
SP
29774 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29775 ONE with its value.
29776
c2d94018
SP
29777 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29778 (__pow_mp): Replace ONE and MONE with their values.
29779 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29780 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29781 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29782 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29783 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29784 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29785
27ec37f1
SP
29786 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29787
a64d7e0e
SP
29788 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29789 (__pow_mp): Replace ZERO and MZERO with their values.
29790 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29791 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29792 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29794 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29795 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29796 (__sqr): Likewise.
29797
d26dd3eb
SP
29798 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29799
0f6a8d4b
SP
29800 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29801
e57b0c61
RM
298022013-03-28 Roland McGrath <roland@hack.frob.com>
29803
29804 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29805 Declare with __attribute__ ((weak)).
29806 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29807 Call __call_tls_dtors only if it's not NULL.
29808
356b3480
RM
298092013-03-28 Roland McGrath <roland@hack.frob.com>
29810
288f7d79
RM
29811 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29812 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29813 magic __ehdr_start linker symbol if it's defined.
29814 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29815 them up here if it was already done.
29816
dc0a0263
RM
29817 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29818 (_dl_aux_init): Use const in cast when setting it.
29819 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29820 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29821 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29822
3d3436ae
RM
29823 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29824 Declare them here.
29825 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29826 * csu/libc-tls.c: Nor here.
29827 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29828
356b3480
RM
29829 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29830 (__libc_message): Never call vsyslog.
29831
b0f1246a
AM
298322013-03-28 Alan Modra <amodra@gmail.com>
29833
29834 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29835 Define as empty.
29836 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29837 Likewise.
29838
fbbe2b9a
AZ
298392013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29840
29841 [BZ #15214]
29842 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29843 underflow.
29844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29845
1728ab37
SP
298462013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29847
7a86be6e
SP
29848 [BZ #15304]
29849 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29850 Don't add gid passed as argument.
29851
1728ab37
SP
29852 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29853
3a7182a1
JM
298542013-03-27 Joseph Myers <joseph@codesourcery.com>
29855
29856 [BZ #15307]
29857 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29858 imaginary part between 1.0 and 1.5 and real part less than 0.5
29859 specially.
29860 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29861 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29862 * math/libm-test.inc (cacos_test): Add more tests.
29863 (casin_test): Likewise.
29864 (casinh_test): Likewise.
29865 * sysdeps/i386/fpu/libm-test-ulps: Update.
29866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29867
6f2e90e7
SP
298682013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29869
5739f705
SP
29870 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29871 constants.
29872 (norm): Likewise.
29873 (denorm): Likewise.
29874 (__dbl_mp): Likewise.
29875 (add_magnitudes): Likewise.
29876 (sub_magnitudes): Likewise.
29877 (__add): Likewise.
29878 (__sub): Likewise.
29879 (__mul): Likewise.
29880 (__sqr): Likewise.
29881 (__inv): Likewise.
29882 (__dvd): Likewise.
29883
e375e83d
SP
29884 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29885 commented code.
29886 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29887 (__dubcos): Likewise.
29888 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29889 (__ieee754_acos): Likewise.
29890 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29891 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29892 (__exp1): Likewise.
29893 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29895 (log1): Likewise.
29896 (my_log2): Likewise.
29897 (checkint): Likewise.
29898 * sysdeps/ieee754/dbl-64/e_remainder.c
29899 (__ieee754_remainder): Likewise.
29900 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29902 (bsloww): Likewise.
29903 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29904
6f2e90e7
SP
29905 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29907 MANTISSA_STORE_T to store computations on mantissa. Use
29908 macros for rounding and division.
29909 (denorm): Likewise.
29910 (__dbl_mp): Likewise.
29911 (add_magnitudes): Likewise.
29912 (sub_magnitudes): Likewise.
29913 (__mul): Likewise.
29914 (__sqr): Likewise.
29915 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29916 powers of two in terms of TWOPOW macro.
29917 (mp_no): Make type of mantissa as MANTISSA_T.
29918 [!RADIXI]: Define RADIXI.
29919 [!TWO52]: Define TWO52.
29920 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29921
fce14d4e
AZ
299222013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29923
29924 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29925 llroundl symbol when building for PPC32.
29926
9ad027fb
MW
299272013-03-24 Mark H Weaver <mhw@netris.org>
29928
29929 * manual/arith.texi (Normalization Functions): Fix prototypes for
29930 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29931
e42a38dd
AZ
299322013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29933
29934 [BZ #13889]
29935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29936 high value to check if expl overflow.
29937 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29938 to check for underflow and overflow.
29939 * math/libm-test.inc: Add exp test.
29940
2e0fb521
DL
299412013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29942
29943 [BZ #11120]
29944 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29945 with NOT_IN_libc.
29946
b5784d95
AZ
299472013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29948
29949 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29950 symbol.
29951
5aa4a1a1
TS
299522013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29953
bdef0be7
TS
29954 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29955 wrap blocks consisting of several statements.
29956
5aa4a1a1
TS
29957 * sysdeps/generic/math-tests.h: New file.
29958 * sysdeps/i386/fpu/math-tests.h: Likewise.
29959 * math/test-snan.c: Include it.
29960 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29961
98c48fe5
JM
299622013-03-21 Joseph Myers <joseph@codesourcery.com>
29963
29964 [BZ #15285]
29965 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29966 (__ieee754_j0l): Do not improve calculations using cos of twice
29967 input for inputs above LDBL_MAX / 2.0L.
29968 (__ieee754_y0l): Likewise.
29969 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29970 (__ieee754_j1l): Do not improve calculations using cos of twice
29971 input for inputs above LDBL_MAX / 2.0L.
29972 (__ieee754_y1l): Likewise.
29973 * math/libm-test.inc (j0_test): Add another test.
29974 (j1_test): Likewise.
29975 (y0_test): Likewise.
29976 (y1_test): Likewise.
29977 * sysdeps/i386/fpu/libm-test-ulps: Update.
29978
3775a8bc
SP
299792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29980
29981 * Rules ($(objpfx)bench-%.c): Include code from a C source
29982 file.
29983
0a1b2ae6
JM
299842013-03-21 Joseph Myers <joseph@codesourcery.com>
29985
29986 [BZ #15287]
29987 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29988 imaginary part 1.0 and real part less than 0.5 specially.
29989 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29990 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29991 * math/libm-test.inc (cacos_test): Add more tests.
29992 (casin_test): Likewise.
29993 (casinh_test): Likewise.
29994 * sysdeps/i386/fpu/libm-test-ulps: Update.
29995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29996
b33d4ce4
SP
299972013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29998
29999 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30000 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30001
bef0b507
JM
300022013-03-20 Joseph Myers <joseph@codesourcery.com>
30003
30004 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30005 * config.make.in (config-cflags-sse4): Remove variable.
30006 (config-cflags-avx): Likewise.
30007 (config-cflags-sse2avx): Likewise.
30008 (config-cflags-novzeroupper): Likewise.
30009 (config-asflags-i686): Likewise.
30010 (have-mfma4): Likewise.
30011 (have-as-vis3): Likewise.
30012 (MIG): Likewise.
30013 * configure.in (MIG): Do not AC_SUBST.
30014 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30015 (libc_cv_cc_sse4): Do not AC_SUBST.
30016 (libc_cv_cc_avx): Likewise.
30017 (libc_cv_cc_sse2avx): Likewise.
30018 (libc_cv_cc_novzeroupper): Likewise.
30019 (libc_cv_cc_fma4): Likewise.
30020 (libc_cv_as_i686): Likewise.
30021 (libc_cv_sparc_as_vis3): Likewise.
30022 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30023 LIBC_CONFIG_VAR.
30024 (config-asflags-i686): Likewise.
30025 (config-cflags-avx): Likewise.
30026 (config-cflags-sse2avx): Likewise.
30027 (have-mfma4): Likewise.
30028 (config-cflags-novzeroupper): Likewise.
30029 * sysdeps/mach/configure.in (MIG): Likewise.
30030 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30031 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30032 LIBC_CONFIG_VAR.
30033 (config-cflags-avx): Likewise.
30034 (config-cflags-sse2avx): Likewise.
30035 (have-mfma4): Likewise.
30036 (config-cflags-novzeroupper): Likewise.
30037 * configure: Regenerated.
30038 * sysdeps/i386/configure: Likewise.
30039 * sysdeps/mach/configure: Likewise.
30040 * sysdeps/sparc/configure: Likewise.
30041 * sysdeps/x86_64/configure: Likewise.
30042
912cc4b3
RM
300432013-03-20 Roland McGrath <roland@hack.frob.com>
30044
30045 [BZ #14812]
30046 * locale/programs/localedef.c (options): Put N_ translation marker
30047 on argument names, not just descriptions.
30048
04eed2b0
MS
300492013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30050
30051 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30052
a065ceff
OB
300532013-03-20 Ondřej Bílka <neleai@seznam.cz>
30054
9bb2a810 30055 [BZ #14176]
a065ceff
OB
30056 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30057
a600e5ce
RM
300582013-03-19 Roland McGrath <roland@hack.frob.com>
30059
30060 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30061 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30062 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30063 [!BEFORE_ABORT] (before_abort): New function.
30064 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30065 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30066 (writev_for_fatal): New function.
30067 (WRITEV_FOR_FATAL): New macro; call that.
30068 (backtrace_and_maps): New function.
30069 (BEFORE_ABORT): New macro; call that.
30070 (struct str_list): Type removed.
30071 (__libc_message, __libc_fatal): Functions removed.
30072 Include <sysdeps/posix/libc_fatal.c> instead.
30073
6b18bea6
JM
300742013-03-19 Joseph Myers <joseph@codesourcery.com>
30075
30076 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30077 constants.
30078 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30079 double constants.
30080
aaa8cb4b
AS
300812013-03-19 Andreas Schwab <schwab@suse.de>
30082
44673770
AS
30083 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30084 * sysdeps/gnu/configure: Regenerate.
30085
aaa8cb4b
AS
30086 * configure.in: Substitute libc_cv_rtlddir.
30087 * configure: Regenerate.
30088 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30089 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30090 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30091 * elf/Makefile (install-others, CFLAGS-interp.c)
30092 (ldso_install, common-ldd-rewrite): Likewise.
30093 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30094 $(inst_slibdir)/$(rtld-installed-name).
30095 * scripts/rellns-sh: Add -p option.
30096 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30097 for source.
30098
d3cfc668
SP
300992013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30100
30101 * manual/nptl.texi: Renamed to ...
30102 * manual/threads.texi: ... this.
30103 * manual/Makefile (chapters): Update.
30104
0e2b9cdd
RM
301052013-03-18 Roland McGrath <roland@hack.frob.com>
30106
30107 [BZ #14812]
30108 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30109 on argument names, not just descriptions.
0e2b9cdd
RM
30110 * malloc/memusagestat.c (options): Likewise.
30111 * nss/getent.c (options): Likewise.
63270c24
RM
30112
301132013-03-18 Benno Schulenberg <bensberg@justemail.net>
30114
30115 [BZ #14812]
30116 * iconv/iconv_prog.c (options): Put N_ translation marker
30117 on argument names, not just descriptions.
30118 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30119
b2e1393c
OB
301202013-03-18 Ondrej Bilka <neleai@seznam.cz>
30121
30122 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30123 implementation which is faster on all x86_64 architectures.
30124 Tested on AMD, Intel Nehalem, SNB, IVB.
30125 * sysdeps/x86_64/strnlen.S: Likewise.
30126
30127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30128 Remove all multiarch strlen and strnlen versions.
30129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30130 Remove strlen and strnlen related parts.
30131
30132 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30133 Inline strlen part.
30134 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30135
30136 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30137 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30138 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30139 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30140 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30141 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30142
ec4ff04d
CD
301432013-03-17 Carlos O'Donell <carlos@redhat.com>
30144
30145 * manual/memory.texi (Malloc Tunable Parameters):
30146 Sort parameters alphabetically. Add comments for missing entries.
30147
cd18e90a
DM
301482013-03-17 David S. Miller <davem@davemloft.net>
30149
30150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30151
2a185d32
JM
301522013-03-16 Joseph Myers <joseph@codesourcery.com>
30153
d2f9799e
JM
30154 [BZ #15283]
30155 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30156 for arguments at most half maximum finite value.
30157 * math/libm-test.inc (j0_test): Add more tests.
30158 (j1_test): Likewise.
30159 (y0_test): Likewise.
30160 (y1_test): Likewise.
30161 * sysdeps/i386/fpu/libm-test-ulps: Update.
30162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30163
2a185d32
JM
30164 [BZ #14155]
30165 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30166 1 / x and functions P and Q for arguments above 0x1p256L.
30167 (__ieee754_y0l): Likewise.
30168 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30169 (__ieee754_y1l): Likewise.
30170 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30171 (j1_test): Likewise.
30172 (y0_test): Likewise.
30173 (y1_test): Likewise.
30174
6cbec759
TS
301752013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30176
30177 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30178 variable.
30179
bc16e260
RM
301802013-03-15 Roland McGrath <roland@hack.frob.com>
30181
aefc9b8c
RM
30182 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30183 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30184 zero since it's initialized to EXEC_PAGESIZE.
30185
bc16e260
RM
30186 * sysdeps/unix/sysv/linux/ldsodefs.h
30187 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30188 * sysdeps/generic/ldsodefs.h: ... here.
30189
a57da955
TS
301902013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30191
af00a34d
TS
30192 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30193
495ded2c
TS
30194 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30195 math/test-snan.c.
30196 * math/test-snan.c: Renamed from
30197 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30198 * math/Makefile (tests): Add test-snan.
30199 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30200 test-powerpc-snan.
30201
777b0332
TS
30202 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30203 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30204 functions.
30205 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30206 __builtin_nan family of functions.
30207 * math/libm-test.inc (initialize): Initialize qnan_value with
30208 __builtin_nan family of functions.
30209 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30210 Remove variables.
30211 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30212 Remove functions.
30213 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30214 storage class. Initialize qNaN_var and sNaN_var with
30215 __builtin_nan and __builtin_nans families of functions,
30216 respectively.
30217
64d063b8
TS
30218 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30219 (sqrt_test): Remove duplicate test with qNaN input.
30220 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30221 (round_test, signbit_test, significand_test): Note missing +/-Inf
30222 as well as qNaN tests.
30223
67e971f1
TS
30224 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30225 qNaN_var. Fix a few strings, too.
30226 * math/libm-test.inc (nan_value): Rename to qnan_value.
30227 * math/gen-libm-test.pl (%beautify): Adjust to that.
30228 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30229 * math/test-misc.c (main): Likewise.
30230 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30231 to __qnan_bytes, and __qnan_union, respectively.
30232 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30233 Likewise.
30234 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30235 and lqnanval, respectively.
30236 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30237 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30238 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30239 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30240
64487e12
TS
30241 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30242 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30243 doubles.
30244
e015e27b
TS
30245 * math/test-misc.c (main): Fix copy'n'pastos.
30246 * misc/tst-efgcvt.c (special): Likewise.
30247
a57da955
TS
30248 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30249 Remove declarations.
30250
1e380345
SP
302512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30252
30253 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30254 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30255 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30257
ef26eece
AZ
302582013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30259
30260 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30261 macro to return vdso values correctly in IFUNC implementations.
30262 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30263 Optimization by using IFUNC.
30264
8cfdb7e0
SP
302652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30266 Richard Henderson <rth@redhat.com>
30267 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30268
30269 * Makefile.in (bench): New target.
30270 * NEWS: Mention the benchmark framework.
30271 * Rules (bench): Likewise.
30272 (binaries-bench): Generate binaries for functions to
30273 benchmark.
30274 * benchtests/Makefile: New makefile for benchmark tests.
30275 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30276 programs.
30277 * benchtests/exp-inputs: New input file for EXP function.
30278 * benchtests/pow-inputs: New input file for POW function.
30279 * scripts/bench.pl: New script to generate source files for
30280 benchmark programs.
30281
bcda9880
SP
302822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30283
d22ca8cd
SP
30284 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30285 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30286 computations on mantissa. Use macros for rounding and
30287 division.
30288 (denorm): Likewise.
30289 (__dbl_mp): Likewise.
30290 (add_magnitudes): Likewise.
30291 (sub_magnitudes): Likewise.
30292 (__mul): Likewise.
30293 (__sqr): Likewise.
30294 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30295 powers of two in terms of TWOPOW macro.
30296 (mp_no): Make type of mantissa as MANTISSA_T.
30297 [!RADIXI]: Define RADIXI.
30298 [!TWO52]: Define TWO52.
30299 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30300
bcda9880
SP
30301 * manual/nptl.texi (cindex): Modify threads to pthreads.
30302
06d5adfb
JM
303032013-03-15 Joseph Myers <joseph@codesourcery.com>
30304
30305 * sysdeps/x86_64/preconfigure: Regenerated.
30306
41c7328e
JM
303072013-03-14 Joseph Myers <joseph@codesourcery.com>
30308
30309 [BZ #14155]
30310 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30311 0x1p28 and above.
30312 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30313 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30314 0x1p28 and above.
30315 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30316 * math/libm-test.inc (j0_test): Do not allow one spurious
30317 underflow exception.
30318 (y1_test): Likewise.
30319
e25cfa60
SP
303202013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30321
0409959c
SP
30322 * manual/Makefile (chapters): Add nptl.
30323 * manual/debug.texi (Debugging Support): Add link to Threads
30324 chapter.
30325 * manual/nptl.texi: New file.
30326
e25cfa60
SP
30327 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30328
58a1335e
PB
303292013-03-14 Petr Baudis <pasky@ucw.cz>
30330
30331 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30332 for non-NULL pointer before the memory validity test. Pointed
30333 out by Holger Brunck <holger.brunck@keymile.com>.
30334
9dc7c64f
AS
303352013-03-13 Andreas Schwab <schwab@suse.de>
30336
30337 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30338 instead of .os.
30339
54206aa6
JM
303402013-03-13 Joseph Myers <joseph@codesourcery.com>
30341
30342 * timezone/zic.c: Update from tzcode 2013b.
30343
e98cdb38
CD
303442013-03-12 Carlos O'Donell <carlos@redhat.com>
30345
30346 * manual/install.texi (Configuring and compiling):
30347 Mention i686 and i586.
30348 * INSTALL: Regenerate.
30349
9967e003
RM
303502013-03-12 Roland McGrath <roland@hack.frob.com>
30351
30352 * sysdeps/init_array/elf-init.c: New file.
30353 * csu/elf-init.c
30354 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30355 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30356
30357 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30358 __gmon_start__ as global, but as static with a .preinit_array pointer.
30359 * sysdeps/init_array/gmon-start.c: New file. Use that.
30360 * sysdeps/init_array/crti.S: New file, empty except for comments.
30361 * sysdeps/init_array/crtn.S: Likewise.
30362
e6b5a293 303632013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30364
30365 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30366 definining bcopy.
80f844c9
OB
30367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30368 Remove Prefer_SSE_for_memop.
30369 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30370 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30371 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30373 memset-x86-64.
80f844c9 30374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30375 Remove bzero, memset ifunc support.
80f844c9
OB
30376 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30377 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30378 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30379 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30380
fb6b0fcb
AS
303812013-03-11 Andreas Schwab <schwab@suse.de>
30382
30383 [BZ #15234]
30384 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30385 by SHLIB_COMPAT.
30386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30387 (GLIBC_2.16): Remove pthread_atfork.
30388
3e6bd4b1
PP
303892013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30390
30391 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30392 (ptestcases.h): Likewise.
30393
222d7f00
RM
303942013-03-08 Roland McGrath <roland@hack.frob.com>
30395
30396 * Makeconfig ($(common-objpfx)config.status): Depend on
30397 sysdeps/*/preconfigure{,.in} too.
30398
1ba4f030
JM
303992013-03-08 Joseph Myers <joseph@codesourcery.com>
30400
a222d91a
JM
30401 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30402 (__free_hook): Use void * instead of __malloc_ptr_t.
30403 (__malloc_hook): Likewise.
30404 (__realloc_hook): Likewise.
30405 (__memalign_hook): Likewise.
30406 (__after_morecore_hook): Likewise.
30407 * malloc/arena.c (save_malloc_hook): Likewise.
30408 (save_free_hook): Likewise.
30409 * malloc/hooks.c (malloc_hook_ini): Likewise.
30410 (realloc_hook_ini): Likewise.
30411 (memalign_hook_ini): Likewise.
30412 * malloc/malloc.c (malloc_hook_ini): Likewise.
30413 (realloc_hook_ini): Likewise.
30414 (memalign_hook_ini): Likewise.
30415 (__free_hook): Likewise.
30416 (__malloc_hook): Likewise.
30417 (__realloc_hook): Likewise.
30418 (__memalign_hook): Likewise.
30419 (__libc_malloc): Likewise.
30420 (__libc_free): Likewise.
30421 (__libc_realloc): Likewise.
30422 (__libc_memalign): Likewise.
30423 (__libc_valloc): Likewise.
30424 (__libc_pvalloc): Likewise.
30425 (__libc_calloc): Likewise.
30426 (__posix_memalign): Likewise.
30427 * malloc/morecore.c (__sbrk): Likewise.
30428 (__default_morecore): Likewise.
30429
5cc45e10
JM
30430 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30431
dd54b864
JM
30432 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30433 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30434 __malloc_ptrdiff_t.
30435
1ba4f030
JM
30436 * malloc/malloc.h (__malloc_size_t): Remove macro.
30437 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30438 __malloc_size_t.
30439 (old_memalign_hook): Likewise.
30440 (old_realloc_hook): Likewise.
30441 (struct hdr): Likewise.
30442 (flood): Likewise.
30443 (mallochook): Likewise.
30444 (memalignhook): Likewise.
30445 (reallochook): Likewise.
30446 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30447 (tr_old_realloc_hook): Likewise.
30448 (tr_old_memalign_hook): Likewise.
30449 (tr_mallochook): Likewise.
30450 (tr_reallochook): Likewise.
30451 (tr_memalignhook): Likewise.
30452
edf66e57
AZ
304532013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30454
30455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30456 default_ldbl_pack and using as default implementation.
30457 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30458 implementation.
30459 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30460 redundant definition.
30461 (ldbl_insert_mantissa): Likewise.
30462 (ldbl_canonicalize): Likewise.
30463 (ldbl_nearbyint): Likewise.
30464 (ldbl_pack): Rename to ldbl_pack_ppc.
30465 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30466 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30467 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30468
6d9145d8
SP
304692013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30470
30471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30472 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30473 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30474 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30476 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30477 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30478 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30479
4dd4e157
AJ
304802013-03-07 Andreas Jaeger <aj@suse.de>
30481
30482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30483 bits/mman-linux.h.
30484
adbb8027
SP
304852013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30486
ce544b5b
SP
30487 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30488 Include mpa.h and declare __MPEXP.
30489 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30490 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30491 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30492 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30493 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30494 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30495 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30496
4cc149fd
SP
30497 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30498 (__slowpow): Use long double EXPL and LOGL functions to
30499 compute POW.
30500 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30501 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30502 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30503 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30504 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30505 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30506
e6ebd4a7
SP
30507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30508 intermediate variable to calculate exponent.
30509 (__sqr): Likewise.
30510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30511 Likewise.
30512 (__sqr): Likewise.
30513
82a9811d
SP
30514 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30515 [!NO__SQR]: Define __sqr.
30516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30517 and NO__SQR. Remove all code except __mul and __sqr. Include
30518 sysdeps/ieee754/dbl-64/mpa.c.
30519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30520
adbb8027
SP
30521 [BZ #12723]
30522 * posix/Makefile (tests): Add tst-pathconf.
30523 * posix/tst-pathconf.c: New test case.
30524 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30525 _PC_PIPE_BUF.
30526 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30527
39120df9
PF
305282013-03-06 Patsy Franklin <pfrankli@redhat.com>
30529
30530 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30531
67525cb8
AJ
305322013-03-06 Andreas Jaeger <aj@suse.de>
30533
664a9ce4
AJ
30534 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30535 definition via __MAP_ANONYMOUS.
30536
8e39047d
AJ
30537 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30538 it's not part of Linux headers.
30539
67525cb8
AJ
30540 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30541 (MAP_HUGE_MASK): Define.
30542
30543 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30544 Define.
30545 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30546 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30547 Define.
30548 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30549 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30550 Define.
30551 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30553 Define.
30554 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30555
30556 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30557 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30558 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30559 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30560 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30561 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30562
30563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30564 Handle f2fs.
30565
30566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30567 Handle f2fs and efivarfs.
30568
30569 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30570 f2fs.
30571
30572 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30573 (EFIVARFS_MAGIC): Add.
30574 (F2FS_LINK_MAX): Add.
30575
e1b42695
PP
305762013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30577
30578 * stdio-common/vfprintf.c: Replace __builtin_expect with
30579 __glibc_unlikely.
30580
2d67d91a
JM
305812013-03-06 Joseph Myers <joseph@codesourcery.com>
30582
30583 [BZ #13550]
30584 * sysdeps/generic/bp-sym.h: Remove file.
30585 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30586 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30587 <bp-sym.h> and <bp-asm.h>.
30588 (__longjmp): Don't use BP_SYM.
30589 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30590 and <bp-asm.h>.
30591 (memcpy): Don't use BP_SYM.
30592 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30593 <bp-sym.h> and <bp-asm.h>.
30594 (memcpy): Don't use BP_SYM.
30595 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30596 <bp-asm.h>.
30597 (memcpy): Don't use BP_SYM.
30598 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30599 <bp-asm.h>.
30600 (memset): Don't use BP_SYM.
30601 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30602 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30603 (__bzero): Don't use BP_SYM.
30604 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30605 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30606 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30607 <bp-sym.h> and <bp-asm.h>.
30608 (memcmp): Don't use BP_SYM. Remove comment about bounded
30609 pointers.
30610 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30611 <bp-sym.h> and <bp-asm.h>.
30612 (memcpy): Don't use BP_SYM.
30613 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30614 <bp-sym.h> and <bp-asm.h>.
30615 (memset): Don't use BP_SYM.
30616 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30617 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30618 (__bzero): Don't use BP_SYM.
30619 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30620 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30621 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30622 <bp-sym.h> and <bp-asm.h>.
30623 (strncmp): Don't use BP_SYM. Remove comment about bounded
30624 pointers.
30625 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30626 <bp-sym.h> and <bp-asm.h>.
30627 (memcpy): Don't use BP_SYM.
30628 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30629 <bp-sym.h> and <bp-asm.h>.
30630 (memset): Don't use BP_SYM.
30631 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30632 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30633 (__bzero): Don't use BP_SYM.
30634 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30635 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30636 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30637 <bp-sym.h> and <bp-asm.h>.
30638 (__memchr): Don't use BP_SYM.
30639 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30640 <bp-sym.h> and <bp-asm.h>.
30641 (memcmp): Don't use BP_SYM. Remove comment about bounded
30642 pointers.
30643 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30644 <bp-sym.h> and <bp-asm.h>.
30645 (memcpy): Don't use BP_SYM.
30646 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30647 <bp-sym.h> and <bp-asm.h>.
30648 (__mempcpy): Don't use BP_SYM.
30649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30650 <bp-sym.h> and <bp-asm.h>.
30651 (__memrchr): Don't use BP_SYM.
30652 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30653 <bp-sym.h> and <bp-asm.h>.
30654 (memset): Don't use BP_SYM.
30655 (__bzero): Likewise.
30656 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30657 <bp-sym.h> and <bp-asm.h>.
30658 (__rawmemchr): Don't use BP_SYM.
30659 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30660 <bp-sym.h> and <bp-asm.h>.
30661 (__STRCMP): Don't use BP_SYM.
30662 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30663 <bp-sym.h> and <bp-asm.h>.
30664 (strchr): Don't use BP_SYM.
30665 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30666 <bp-sym.h> and <bp-asm.h>.
30667 (__strchrnul): Don't use BP_SYM.
30668 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30669 <bp-sym.h> and <bp-asm.h>.
30670 (strlen): Don't use BP_SYM.
30671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30672 <bp-sym.h> and <bp-asm.h>.
30673 (strncmp): Don't use BP_SYM. Remove comment about bounded
30674 pointers.
30675 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30676 <bp-sym.h> and <bp-asm.h>.
30677 (__strnlen): Don't use BP_SYM.
30678 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30679 <bp-sym.h> and <bp-asm.h>.
30680 (__GI__setjmp): Don't use BP_SYM.
30681 (_setjmp): Likewise.
30682 (__sigsetjmp): Likewise.
30683 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30684 (L(start_addresses)): Don't use BP_SYM.
30685 (_start): Likewise.
30686 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30687 <bp-asm.h>.
30688 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30689 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30690 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30691 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30692 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30693 <bp-asm.h>.
30694 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30695 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30696 about bounded pointers.
30697 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30698 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30699 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30700 <bp-asm.h>.
30701 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30702 about bounded pointers. Remove GKM FIXME comments.
30703 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30704 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30705 <bp-asm.h>.
30706 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30707 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30708 Remove GKM FIXME comments.
30709 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30710 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30711 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30712 <bp-asm.h>.
30713 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30714 about bounded pointers. Remove GKM FIXME comment.
30715 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30716 and <bp-asm.h>.
30717 (strncmp): Don't use BP_SYM. Remove comment about bounded
30718 pointers.
30719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30720 <bp-sym.h> and <bp-asm.h>.
30721 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30723 <bp-sym.h> and <bp-asm.h>.
30724 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30725 comment.
30726
cdcf361f
PP
307272013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30728
30729 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30730 call free(NULL).
30731
3c4a2b15
DM
307322013-03-05 David S. Miller <davem@davemloft.net>
30733
30734 * po/es.po: Update from translation team.
30735
cdcf361f 307362013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30737
30738 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30739 <bits/mman-linux.h>.
30740 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30741 is fine.
30742 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30743 <bits/mman-linux.h> to end of file.
30744 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30745 is fine.
30746 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30747 <bits/mman-linux.h> to end of file.
30748 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30749 is fine.
30750 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30751 <bits/mman-linux.h> to end of file.
30752
30753 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30754 (MCL_CURRENT, MCL_FUTURE): Define here.
30755
5f67c04f
AK
307562013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30757
8a4473cc 30758 [BZ #15232]
5f67c04f
AK
30759 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30760 attribute_hidden.
30761 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30762
c3e94a95
AK
307632013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30764
30765 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30766 fourth parameter needed for rt_sigprocmask syscall.
30767 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30768 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30769 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30770 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30771 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30772 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30773
cfb6382a
JM
307742013-03-04 Joseph Myers <joseph@codesourcery.com>
30775
30776 [BZ #13550]
30777 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30778 comment about bounded pointers.
30779 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30780 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30781
539d8e01
AJ
307822013-03-04 Andreas Jaeger <aj@suse.de>
30783
30784 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30785 common definitions.
30786
30787 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30788 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30789 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30790 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30791 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30792 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30793
2e167a70 307942013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30795
30796 [BZ #15055]
30797 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30798 __ieee754_sqrl instead of __sqrl.
30799
68508633
JM
308002013-03-01 Joseph Myers <joseph@codesourcery.com>
30801
30802 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30803 * sysdeps/powerpc/fpu_control.h: ... here.
30804 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30805 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30806 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30807 * sysdeps/powerpc/bits/mathinline.h: ... here.
30808
7775448e
RM
308092013-03-01 Roland McGrath <roland@hack.frob.com>
30810
30811 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30812 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30813 to just [NEED_DL_SYSINFO_DSO].
30814 * elf/dl-support.c: Likewise.
30815 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30816 * elf/rtld.c (dl_main): Likewise.
30817 * elf/setup-vdso.h (setup_vdso): Likewise.
30818 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30819 * sysdeps/unix/sysv/linux/dl-sysdep.c
30820 (_dl_discover_osversion): Likewise.
30821
4e9b5995
CD
308222013-03-01 Carlos O'Donell <carlos@redhat.com>
30823
30824 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30825 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30826
e23872c8
SP
308272013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30828
e5c74c63
SP
30829 * NEWS: Mention libm performance improvements and non-x86 PI
30830 futex support.
30831
e23872c8
SP
30832 * csu/libc-start.c (__pthread_initialize_minimal): Change
30833 function arguments.
30834 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30835
b5510883
JM
308362013-02-28 Joseph Myers <joseph@codesourcery.com>
30837
30838 [BZ #13550]
30839 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30840 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30841 <bp-sym.h> and <bp-asm.h>.
30842 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30843 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30844 and <bp-asm.h>.
30845 (memcpy): Don't use BP_SYM.
30846 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30847 <bp-asm.h>.
30848 (__mpn_add_n): Don't use BP_SYM.
30849 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30850 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30851 and <bp-asm.h>.
30852 (__mpn_addmul_1): Don't use BP_SYM.
30853 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30854 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30855 <bp-sym.h>.
30856 (_setjmp): Don't use BP_SYM.
30857 (__novmx_setjmp): Likewise.
30858 (__GI__setjmp): Likewise.
30859 (__vmx_setjmp): Likewise.
30860 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30861 <bp-sym.h>.
30862 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30863 (__bzero): Don't use BP_SYM.
30864 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30865 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30866 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30867 <bp-sym.h> and <bp-asm.h>.
30868 (memcpy): Don't use BP_SYM.
30869 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30870 <bp-sym.h> and <bp-asm.h>.
30871 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30872 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30873 <bp-sym.h> and <bp-asm.h>.
30874 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30875 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30876 <bp-asm.h>.
30877 (__mpn_lshift): Don't use BP_SYM.
30878 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30879 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30880 <bp-asm.h>.
30881 (memset): Don't use BP_SYM.
30882 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30883 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30884 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30885 <bp-asm.h>.
30886 (__mpn_mul_1): Don't use BP_SYM.
30887 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30888 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30889 <bp-sym.h> and <bp-asm.h>.
30890 (memcmp): Don't use BP_SYM.
30891 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30892 <bp-sym.h> and <bp-asm.h>.
30893 (memcpy): Don't use BP_SYM.
30894 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30895 <bp-sym.h> and <bp-asm.h>.
30896 (memset): Don't use BP_SYM.
30897 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30898 <bp-sym.h> and <bp-asm.h>.
30899 (strncmp): Don't use BP_SYM.
30900 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30901 <bp-sym.h> and <bp-asm.h>.
30902 (memcpy): Don't use BP_SYM.
30903 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30904 <bp-sym.h> and <bp-asm.h>.
30905 (memset): Don't use BP_SYM.
30906 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30907 <bp-sym.h> and <bp-asm.h>.
30908 (__memchr): Don't use BP_SYM.
30909 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30910 <bp-sym.h> and <bp-asm.h>.
30911 (memcmp): Don't use BP_SYM.
30912 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30913 <bp-sym.h> and <bp-asm.h>.
30914 (memcpy): Don't use BP_SYM.
30915 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30916 <bp-sym.h> and <bp-asm.h>.
30917 (__mempcpy): Don't use BP_SYM.
30918 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30919 <bp-sym.h> and <bp-asm.h>.
30920 (__memrchr): Don't use BP_SYM.
30921 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30922 <bp-sym.h> and <bp-asm.h>.
30923 (memset): Don't use BP_SYM.
30924 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30925 <bp-sym.h> and <bp-asm.h>.
30926 (__rawmemchr): Don't use BP_SYM.
30927 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30928 <bp-sym.h> and <bp-asm.h>.
30929 (__STRCMP): Don't use BP_SYM.
30930 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30931 <bp-sym.h> and <bp-asm.h>.
30932 (strchr): Don't use BP_SYM.
30933 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30934 <bp-sym.h> and <bp-asm.h>.
30935 (__strchrnul): Don't use BP_SYM.
30936 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30937 <bp-sym.h> and <bp-asm.h>.
30938 (strlen): Don't use BP_SYM.
30939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30940 <bp-sym.h> and <bp-asm.h>.
30941 (strncmp): Don't use BP_SYM.
30942 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30943 <bp-sym.h> and <bp-asm.h>.
30944 (__strnlen): Don't use BP_SYM.
30945 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30946 <bp-asm.h>.
30947 (__mpn_rshift): Don't use BP_SYM.
30948 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30949 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30950 <bp-sym.h> and <bp-asm.h>.
30951 (__sigsetjmp): Don't use BP_SYM.
30952 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30953 (L(start_addresses)): Don't use BP_SYM.
30954 (_start): Likewise.
30955 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30956 <bp-asm.h>.
30957 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30958 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30959 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30960 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30961 <bp-asm.h>.
30962 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30963 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30964 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30965 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30966 <bp-asm.h>.
30967 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30968 comments.
30969 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30970 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30971 <bp-asm.h>.
30972 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30973 FIXME comments.
30974 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30975 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30976 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30977 <bp-asm.h>.
30978 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30979 comment.
30980 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30981 and <bp-asm.h>.
30982 (strncmp): Don't use BP_SYM,
30983 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30984 <bp-asm.h>.
30985 (__mpn_sub_n): Don't use BP_SYM.
30986 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30987 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30988 and <bp-asm.h>.
30989 (__mpn_submul_1): Don't use BP_SYM.
30990 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30992 <bp-sym.h> and <bp-asm.h>.
30993 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30995 <bp-sym.h> and <bp-asm.h>.
30996 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30997 comment.
30998
8d19fe64
SP
309992013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31000
31001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31002 Use ZK to minimize writes to Z.
31003 (sub_magnitudes): Simplify code a bit.
31004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31005 Use ZK to minimize writes to Z.
31006 (sub_magnitudes): Simplify code a bit.
31007
85bd816a
RM
310082013-02-27 Roland McGrath <roland@hack.frob.com>
31009
31010 * csu/gmon-start.c: Add special exception to license text.
31011
b5977bf2
RH
310122013-02-27 Richard Henderson <rth@redhat.com>
31013
31014 * scripts/config.guess: Update from config.git.
31015 * scripts/config.sub: Likewise.
31016
11d6e2f2
SP
310172013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31018
09c14ed2
SP
31019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31020
a688864e
SP
31021 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31022
6295157a
SP
31023 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31024
b8de2202
SP
31025 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31026
11d6e2f2
SP
31027 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31028
7e80ddb8
RM
310292013-02-26 Roland McGrath <roland@hack.frob.com>
31030
31031 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31032 [$(build-shared = yes].
7e80ddb8 31033
7da6d9ed
SP
310342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31035
45f05884
SP
31036 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31037 (__mul): Reduce iterations for calculating mantissa.
31038
2236d359
SP
31039 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31040 MPTWO.
31041 (__mpranred): Likewise.
31042
7da6d9ed
SP
31043 [BZ #15160]
31044 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31045 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31046
b7688c42
PE
310472013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31048
31049 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31050 Define __attribute__.
31051
53a5c423
SP
310522013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31053
31054 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31055 unused.
31056 * posix/regex_internal.h (__attribute): Remove.
31057 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31058 (re_string_context_at): Likewise.
31059 (bitset_not): Use __attribute__ and mark function as possibly
31060 unused.
31061 (bitset_merge): Likewise.
31062 (bitset_mask): Likewise.
31063 (re_string_char_size_at): Likewise.
31064 (re_string_wchar_at): Likewise.
31065 (re_string_elem_size_at): Likewise.
31066
60f5a8b5
SP
310672013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31068
2a983a2e
SP
31069 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31070 code.
31071 (cc32): Likewise.
31072
e69804d1
SP
31073 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31074 (__acr): Likewise.
31075 (__cpy): Likewise.
31076 (norm): Likewise.
31077 (denorm): Likewise.
31078 (__dbl_mp): Likewise.
31079 (add_magnitudes): Likewise.
31080 (sub_magnitudes): Likewise.
31081 (__mul): Likewise.
31082 (__inv): Likewise.
31083
2f22a1e8
SP
31084 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31085 style.
31086
8930ddc7
SP
31087 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31088 style.
31089
dc60cb11
SP
31090 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31091 code.
31092
60f5a8b5
SP
31093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31094 up changes with default code.
31095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31096 Likewise.
31097
b4d1fd33
AM
310982013-02-24 Allan McRae <allan@archlinux.org>
31099
faf6f8bc
AM
31100 * manual/socket.texi (The Internet Namespace): Order menu items
31101 to match that in the file.
31102
b4d1fd33
AM
31103 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31104 node listing of the info page menu.
31105
2366713d
JM
311062013-02-21 Joseph Myers <joseph@codesourcery.com>
31107
31108 [BZ #13550]
31109 * sysdeps/i386/bp-asm.h: Remove file.
31110 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31111 (PARMS): Do not use macros from bp-asm.h.
31112 (S1): Likewise.
31113 (S2): Likewise.
31114 (SIZE): Likewise.
31115 (__mpn_add_n): Do not use BP_SYM
31116 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31117 "bp-asm.h".
31118 (PARMS): Do not use macros from bp-asm.h.
31119 (S1): Likewise.
31120 (SIZE): Likewise.
31121 (__mpn_addmul_1): Do not use BP_SYM
31122 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31123 "bp-asm.h".
31124 (PARMS): Do not use macros from bp-asm.h.
31125 (SIGMSK): Likewise.
31126 (_setjmp): Likewise. Do not use BP_SYM.
31127 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31128 "bp-asm.h".
31129 (PARMS): Do not use macros from bp-asm.h.
31130 (SIGMSK): Likewise.
31131 (setjmp): Likewise. Do not use BP_SYM.
31132 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31133 "bp-asm.h".
31134 (PARMS): Do not use macros from bp-asm.h.
31135 (__frexp): Do not use BP_SYM.
31136 (frexp): Likewise.
31137 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31138 "bp-asm.h".
31139 (PARMS): Do not use macros from bp-asm.h.
31140 (__frexpf): Do not use BP_SYM.
31141 (frexpf): Likewise.
31142 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31143 "bp-asm.h".
31144 (PARMS): Do not use macros from bp-asm.h.
31145 (__frexpl): Do not use BP_SYM.
31146 (frexpl): Likewise.
31147 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31148 "bp-asm.h".
31149 (PARMS): Do not use macros from bp-asm.h.
31150 (__remquo): Do not use BP_SYM.
31151 (remquo): Likewise.
31152 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31153 "bp-asm.h".
31154 (PARMS): Do not use macros from bp-asm.h.
31155 (__remquof): Do not use BP_SYM.
31156 (remquof): Likewise.
31157 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31158 "bp-asm.h".
31159 (PARMS): Do not use macros from bp-asm.h.
31160 (__remquol): Do not use BP_SYM.
31161 (remquol): Likewise.
31162 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31163 "bp-asm.h".
31164 (PARMS): Do not use macros from bp-asm.h.
31165 (DEST): Likewise.
31166 (SRC): Likewise.
31167 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31168 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31169 "bp-asm.h".
31170 (PARMS): Do not use macros from bp-asm.h.
31171 (strlen): Do not use BP_SYM.
31172 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31173 "bp-asm.h".
31174 (PARMS): Do not use macros from bp-asm.h.
31175 (S1): Likewise.
31176 (S2): Likewise.
31177 (SIZE): Likewise.
31178 (__mpn_add_n): Do not use BP_SYM.
31179 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31180 "bp-asm.h".
31181 (PARMS): Do not use macros from bp-asm.h.
31182 (S1): Likewise.
31183 (SIZE): Likewise.
31184 (__mpn_addmul_1): Do not use BP_SYM.
31185 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31186 weak_alias.
31187 (bzero): Likewise.
31188 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31189 "bp-asm.h".
31190 (PARMS): Do not use macros from bp-asm.h.
31191 (S): Likewise.
31192 (SIZE): Likewise.
31193 (__mpn_lshift): Do not use BP_SYM.
31194 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31195 "bp-asm.h".
31196 (PARMS): Do not use macros from bp-asm.h.
31197 (DEST): Likewise.
31198 (SRC): Likewise.
31199 (LEN): Likewise.
31200 (memcpy): Likewise. Do not use BP_SYM.
31201 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31202 libc_hidden_def and weak_alias.
31203 (mempcpy): Do not use BP_SYM in weak_alias.
31204 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31205 "bp-asm.h".
31206 (PARMS): Do not use macros from bp-asm.h.
31207 (DEST): Likewise.
31208 (LEN): Likewise.
31209 [!BZERO_P] (CHR): Likewise.
31210 (memset): Likewise. Do not use BP_SYM.
31211 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31212 "bp-asm.h".
31213 (PARMS): Do not use macros from bp-asm.h.
31214 (S1): Likewise.
31215 (SIZE): Likewise.
31216 (__mpn_mul_1): Do not use BP_SYM.
31217 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31218 "bp-asm.h".
31219 (PARMS): Do not use macros from bp-asm.h.
31220 (S): Likewise.
31221 (SIZE): Likewise.
31222 (__mpn_rshift): Do not use BP_SYM.
31223 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31224 "bp-asm.h".
31225 (PARMS): Do not use macros from bp-asm.h.
31226 (STR): Likewise.
31227 (CHR): Likewise.
31228 (strchr): Likewise. Do not use BP_SYM.
31229 (index): Do not use BP_SYM in weak_alias.
31230 * sysdeps/i386/i586/strcpy.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 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31236 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31237 "bp-asm.h".
31238 (PARMS): Do not use macros from bp-asm.h.
31239 (strlen): Do not use BP_SYM.
31240 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31241 "bp-asm.h".
31242 (PARMS): Do not use macros from bp-asm.h.
31243 (S1): Likewise.
31244 (S2): Likewise.
31245 (SIZE): Likewise.
31246 (__mpn_sub_n): Do not use BP_SYM.
31247 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31248 "bp-asm.h".
31249 (PARMS): Do not use macros from bp-asm.h.
31250 (S1): Likewise.
31251 (SIZE): Likewise.
31252 (__mpn_submul_1): Do not use BP_SYM.
31253 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31254 "bp-asm.h".
31255 (PARMS): Do not use macros from bp-asm.h.
31256 (S1): Likewise.
31257 (S2): Likewise.
31258 (SIZE): Likewise.
31259 (__mpn_add_n): Do not use BP_SYM.
31260 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31261 weak_alias.
31262 (bzero): Likewise.
31263 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31264 "bp-asm.h".
31265 (PARMS): Do not use macros from bp-asm.h.
31266 (BLK2): Likewise.
31267 (LEN): Likewise.
31268 (memcmp): Do not use BP_SYM.
31269 (bcmp): Do not use BP_SYM in weak_alias.
31270 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31271 "bp-asm.h".
31272 (PARMS): Do not use macros from bp-asm.h.
31273 (DEST): Likewise.
31274 (SRC): Likewise.
31275 (LEN): Likewise.
31276 (memcpy): Likewise. Do not use BP_SYM.
31277 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31278 "bp-asm.h".
31279 (PARMS): Do not use macros from bp-asm.h.
31280 (DEST): Likewise.
31281 (SRC): Likewise.
31282 (LEN): Likewise.
31283 (memmove): Likewise. Do not use BP_SYM.
31284 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31285 "bp-asm.h".
31286 (PARMS): Do not use macros from bp-asm.h.
31287 (DEST): Likewise.
31288 (SRC): Likewise.
31289 (LEN): Likewise.
31290 (__mempcpy): Likewise. Do not use BP_SYM.
31291 (mempcpy): Do not use BP_SYM in weak_alias.
31292 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31293 "bp-asm.h".
31294 (PARMS): Do not use macros from bp-asm.h.
31295 (DEST): Likewise.
31296 (LEN): Likewise.
31297 [!BZERO_P] (CHR): Likewise.
31298 (memset): Likewise. Do not use BP_SYM.
31299 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31300 "bp-asm.h".
31301 (PARMS): Do not use macros from bp-asm.h.
31302 (STR2): Likewise.
31303 (strcmp): Do not use BP_SYM.
31304 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31305 "bp-asm.h".
31306 (PARMS): Do not use macros from bp-asm.h.
31307 (STR): Likewise.
31308 (DELIM): Likewise.
31309 [USE_AS_STRTOK_R] (SAVE): Likewise.
31310 (FUNCTION): Likewise. Do not use BP_SYM.
31311 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31312 aliases.
31313 (strtok_r): Likewise.
31314 (__GI___strtok_r): Likewise.
31315 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31316 (PARMS): Do not use macros from bp-asm.h.
31317 (S): Likewise.
31318 (SIZE): Likewise.
31319 (__mpn_lshift): Do not use BP_SYM.
31320 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31321 (PARMS): Do not use macros from bp-asm.h.
31322 (STR): Likewise.
31323 (CHR): Likewise.
31324 (__memchr): Do not use BP_SYM.
31325 (memchr): Do not use BP_SYM in weak_alias.
31326 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31327 (PARMS): Do not use macros from bp-asm.h.
31328 (BLK2): Likewise.
31329 (LEN): Likewise.
31330 (memcmp): Do not use BP_SYM.
31331 (bcmp): Do not use BP_SYM in weak_alias.
31332 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31333 (PARMS): Do not use macros from bp-asm.h.
31334 (S1): Likewise.
31335 (SIZE): Likewise.
31336 (__mpn_mul_1): Do not use BP_SYM.
31337 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31338 "bp-asm.h".
31339 (PARMS): Do not use macros from bp-asm.h.
31340 (STR): Likewise.
31341 (CHR): Likewise.
31342 (__rawmemchr): Do not use BP_SYM.
31343 (rawmemchr): Do not use BP_SYM in weak_alias.
31344 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31345 (PARMS): Do not use macros from bp-asm.h.
31346 (S): Likewise.
31347 (SIZE): Likewise.
31348 (__mpn_rshift): Do not use BP_SYM.
31349 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31350 (PARMS): Do not use macros from bp-asm.h.
31351 (SIGMSK): Likewise.
31352 (__sigsetjmp): Likewise. Do not use BP_SYM.
31353 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31354 (_start): Do not use BP_SYM.
31355 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31356 (PARMS): Do not use macros from bp-asm.h.
31357 (DEST): Likewise.
31358 (SRC): Likewise.
31359 (__stpcpy): Likewise. Do not use BP_SYM.
31360 (stpcpy): Do not use BP_SYM in weak_alias.
31361 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31362 "bp-asm.h".
31363 (PARMS): Do not use macros from bp-asm.h.
31364 (DEST): Likewise.
31365 (SRC): Likewise.
31366 (LEN): Likewise.
31367 (__stpncpy): Likewise. Do not use BP_SYM.
31368 (stpncpy): Do not use BP_SYM in weak_alias.
31369 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31370 (PARMS): Do not use macros from bp-asm.h.
31371 (STR): Likewise.
31372 (CHR): Likewise.
31373 (strchr): Likewise. Do not use BP_SYM.
31374 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31375 "bp-asm.h".
31376 (PARMS): Do not use macros from bp-asm.h.
31377 (STR): Likewise.
31378 (CHR): Likewise.
31379 (__strchrnul): Likewise. Do not use BP_SYM.
31380 (strchrnul): Do not use BP_SYM in weak_alias.
31381 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31382 "bp-asm.h".
31383 (PARMS): Do not use macros from bp-asm.h.
31384 (STOP): Likewise.
31385 (strcspn): Do not use BP_SYM.
31386 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31387 "bp-asm.h".
31388 (PARMS): Do not use macros from bp-asm.h.
31389 (STR): Likewise.
31390 (STOP): Likewise.
31391 (strpbrk): Likewise. Do not use BP_SYM.
31392 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31393 "bp-asm.h".
31394 (PARMS): Do not use macros from bp-asm.h.
31395 (STR): Likewise.
31396 (CHR): Likewise.
31397 (strrchr): Likewise. Do not use BP_SYM.
31398 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31399 (PARMS): Do not use macros from bp-asm.h.
31400 (SKIP): Likewise.
31401 (strspn): Do not use BP_SYM.
31402 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31403 (PARMS): Do not use macros from bp-asm.h.
31404 (STR): Likewise.
31405 (DELIM): Likewise.
31406 (SAVE): Likewise.
31407 (FUNCTION): Likewise. Do not use BP_SYM.
31408 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31409 aliases.
31410 (strtok_r): Likewise.
31411 (__GI___strtok_r): Likewise.
31412 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31413 (PARMS): Do not use macros from bp-asm.h.
31414 (S1): Likewise.
31415 (S2): Likewise.
31416 (SIZE): Likewise.
31417 (__mpn_sub_n): Do not use BP_SYM.
31418 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31419 "bp-asm.h".
31420 (PARMS): Do not use macros from bp-asm.h.
31421 (S1): Likewise.
31422 (SIZE): Likewise.
31423 (__mpn_submul_1): Do not use BP_SYM.
31424 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31425 <bp-sym.h>.
31426 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31427 and <bp-asm.h>.
31428 (PARMS): Do not use macros from bp-asm.h.
31429 (FLAGS): Likewise.
31430 (PTID): Likewise.
31431 (TLS): Likewise.
31432 (CTID): Likewise.
31433 (__clone): Do not use BP_SYM.
31434 (clone): Do not use BP_SYM in weak_alias.
31435 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31436 and <bp-asm.h>.
31437 (PARMS): Do not use macros from bp-asm.h.
31438 (LEN): Likewise.
31439 (__mmap64): Do not use BP_SYM.
31440 (mmap64): Do not use BP_SYM in weak_alias.
31441 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31442 <bp-sym.h> and <bp-asm.h>.
31443 (PARMS): Do not use macros from bp-asm.h.
31444 (__posix_fadvise64_l64): Do not use BP_SYM.
31445 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31446 (PARMS): Do not use macros from bp-asm.h.
31447 (NSOPS): Likewise.
31448 (semtimedop): Do not use BP_SYM.
31449 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31450 and <bp-asm.h>.
31451
582a3cff
AM
314522013-02-21 Allan McRae <allan@archlinux.org>
31453
31454 * manual/message.texi (Charset conversion in gettext):
31455 Move @end statement to beginning of line.
31456
bab8a695
SP
314572013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31458
80945231
SP
31459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31460 static.
31461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31462 Likewise.
31463
bab8a695
SP
31464 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31465 (denorm): Likewise.
31466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31468
e21d7aa7
AK
314692013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31470
31471 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31472 tail-call to the resolved function if pltexit isn't needed.
31473
4c7a4263
SP
314742013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31475
31476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31477 or Y being zero as being unlikely.
31478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31479 Likewise.
31480
41f49342
CD
314812013-02-20 Carlos O'Donell <carlos@redhat.com>
31482
31483 * manual/nss.texi (System Databases and Name Service Switch):
31484 Remove frobnicate @pxref.
31485
50022a93
TS
314862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31487
31488 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31489 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31490
08cbd996
PM
314912013-02-20 Petr Machata <pmachata@redhat.com>
31492
31493 * elf/elf.h (R_ARM_TARGET1): New macro.
31494 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31495 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31496 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31497 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31498 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31499 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31500 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31501 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31502 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31503 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31504 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31505 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31506 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31507 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31508 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31509 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31510 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31511 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31512 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31513 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31514 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31515 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31516 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31517 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31518 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31519 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31520 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31521 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31522 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31523 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31524 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31525 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31526 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31527 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31528 (R_ARM_THM_GOT_BREL12): Likewise.
31529 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31530 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31531 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31532 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31533 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31534 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31535 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31536 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31537 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31538
c7b275d6
TS
315392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31540
31541 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31542 __attribute_used__ to __attribute__ ((unused)).
31543
20cd7fb3
SP
315442013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31545
31546 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31547 powerpc mpa.c.
31548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31549 comment formatting.
31550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31551
92945b52
JM
315522013-02-19 Joseph Myers <joseph@codesourcery.com>
31553
31554 [BZ #13550]
31555 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31556 Remove macro.
31557 (ENTER): Remove both macro definitions.
31558 (LEAVE): Likewise.
31559 (CHECK_BOUNDS_LOW): Likewise.
31560 (CHECK_BOUNDS_HIGH): Likewise.
31561 (CHECK_BOUNDS_BOTH): Likewise.
31562 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31563 (RETURN_BOUNDED_POINTER): Likewise.
31564 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31565 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31566 (POP_ERRNO_LOCATION_RETURN): Likewise.
31567 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31568 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31569 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31570 macros.
31571 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31572 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31573 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31574 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31575 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31576 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31577 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31578 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31579 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31580 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31581 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31582 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31583 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31584 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31585 removed macros.
31586 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31587 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31588 macros.
31589 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31590 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31591 * sysdeps/i386/i586/memset.S (memset): Likewise.
31592 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31593 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31594 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31595 macros.
31596 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31597 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31598 Change uses of L(2) to L(out).
31599 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31600 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31601 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31602 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31603 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31604 removed macros.
31605 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31606 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31607 macros.
31608 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31609 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31610 (RETURN): Do not use macro LEAVE.
31611 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31612 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31613 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31614 * sysdeps/i386/i686/memset.S (memset): Likewise.
31615 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31616 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31617 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31618 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31619 Likewise.
31620 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31621 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31622 L(1_2) and L(1_3) into L(1).
31623 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31624 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31625 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31626 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31627 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31628 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31629 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31630 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31631 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31632 macros.
31633 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31634 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31635 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31636 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31637 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31638 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31639 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31640 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31641 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31642 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31643 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31644 * sysdeps/i386/strspn.S (strspn): Likewise.
31645 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31646 conditional code.
31647 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31648 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31649 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31650 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31651 L(1_3) into L(1_1).
31652 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31653 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31654 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31655 macros.
31656 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31657
2389741a
JJ
316582013-02-19 Jakub Jelinek <jakub@redhat.com>
31659
31660 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31661 macro.
31662
2016b3cd
SP
316632013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31664
e4f22324
SP
31665 * math/atest-exp.c (exp_mpn): Remove ROUND.
31666 * math/atest-exp2.c (exp_mpn): Likewise.
31667 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31668
2016b3cd
SP
31669 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31670 * stdlib/tst-tls-atexit-lib.c: Likewise.
31671 * stdlib/tst-tls-atexit.c: Likewise.
31672
4be9b544
MF
316732013-02-18 Mike Frysinger <vapier@gentoo.org>
31674
31675 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31676 and __attribute_alloc_size__.
31677
2f62b9ee
MF
316782013-02-18 Mike Frysinger <vapier@gentoo.org>
31679
31680 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31681 __attribute_alloc_size__.
31682 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31683 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31684
6ff444c4
MF
316852013-02-18 Mike Frysinger <vapier@gentoo.org>
31686
31687 * include/programs/xmalloc.h: New file.
31688 * catgets/gencat.c: Include it.
31689 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31690 * elf/pldd.c: Likewise.
31691 * iconv/iconv_charmap.c: Likewise.
31692 * iconv/iconvconfig.c: Likewise.
31693 * iconv/strtab.c: Likewise.
31694 * locale/programs/locale.c: Likewise.
31695 * locale/programs/localedef.h: Likewise.
31696 * locale/programs/simple-hash.c: Likewise.
31697 * nscd/nscd.h: Likewise.
31698 * nss/makedb.c: Likewise.
31699 * sysdeps/generic/ldconfig.h: Likewise.
31700
be179c8a
SP
317012013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31702
ba384f6e
SP
31703 * Versions.def: Add GLIBC_2.18.
31704 * include/link.h (struct link_map): New member l_tls_dtor_count.
31705 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31706 (__call_tls_dtors): Likewise.
31707 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31708 __cxa_thread_atexit_impl.
31709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31710 Likewise.
31711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31712 Likewise.
31713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31714 Likewise.
31715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31716 Likewise.
31717 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31719 Likewise.
31720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31721 Likewise.
31722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31724 Likewise.
31725 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31726 (tests): Add test case tst-tls-atexit.
31727 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31728 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31729 (GLIBC_PRIVATE): Add __call_tls_dtors.
31730 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31731 for libstdc++.
31732 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31733 * stdlib/tst-tls-atexit.c: New test case.
31734 * stdlib/tst-tls-atexit-lib.c: New test case.
31735
ffaa74cf 31736 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31737
be179c8a
SP
31738 * elf/Versions (ld): Add _dl_find_dso_for_object.
31739 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31740 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31741 (dl_open_worker): Use _dl_find_dso_for_object.
31742 * elf/dl-sym.c (do_sym): Likewise.
31743 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31744
f78b5caa
AK
317452013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31746
31747 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31748 Syntactic changes only.
31749 (_dl_runtime_profile): Do a tail-call to the resolved function.
31750
29691210
JM
317512013-02-17 Joseph Myers <joseph@codesourcery.com>
31752
31753 [BZ #13550]
31754 * sysdeps/x86_64/bp-asm.h: Remove file.
31755 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31756 <bp-sym.h> and <bp-asm.h>.
31757 (__clone): Do not use BP_SYM.
31758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31759 <bp-sym.h> and <bp-asm.h>.
31760 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31761 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31762 "bp-asm.h".
31763 (_setjmp): Do not use BP_SYM.
31764 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31765 "bp-asm.h".
31766 (setjmp): Do not use BP_SYM.
31767 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31768 libc_hidden_def.
31769 (mempcpy): Do not use BP_SYM in weak_alias.
31770 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31771 "bp-asm.h".
31772 (strchr): Do not use BP_SYM.
31773 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31774 "bp-asm.h".
31775 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31776 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31777 (_start): Do not use BP_SYM.
31778 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31779 "bp-asm.h".
31780 (strcat): Do not use BP_SYM.
31781 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31782 "bp-asm.h".
31783 (STRCMP): Do not use BP_SYM.
31784 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31785 "bp-asm.h".
31786 (STRCPY): Do not use BP_SYM.
31787 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31788 "bp-asm.h".
31789 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31790 "bp-asm.h".
31791 (FUNCTION): Do not use BP_SYM.
31792 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31793 weak_alias.
31794 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31795
f238fd19
AJ
317962013-02-17 Andreas Jaeger <aj@suse.de>
31797
31798 * time/Versions: Sort entries.
31799 * string/Versions: Likewise.
31800 * resolv/Versions: Likewise.
31801 * posix/Versions: Likewise.
31802 * iconv/Versions: Likewise.
31803 * elf/Versions: Likewise.
31804 * wcsmbs/Versions: Likewise.
31805
bd07f23c 318062013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31807
22af19f9
SP
31808 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31809 loop termination condition.
31810
4709fe76
SP
31811 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31812 variable to calculate EZ.
31813 (__sqr): Likewise.
2d0e0f29
SP
31814
31815 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31816 the lower precision input.
31817
daaa7713
JM
318182013-02-15 Joseph Myers <joseph@codesourcery.com>
31819
31820 [BZ #13550]
31821 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31822 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31823 (run-via-rtld-prefix): Do not handle %-bp tests.
31824 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31825 (all-object-suffixes): Remove .ob.
31826 (bppfx): Remove variable.
31827 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31828 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31829 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31830 [$(build-bounded) = yes] (libtype.ob): Likewise.
31831 * Makerules (elide-routines.ob): Remove variable.
31832 (do-tests-clean): Do not handle *-bp.out.
31833 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31834 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31835 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31836 (tests): Do not include $(tests-bp.out).
31837 (xtests): Do not include $(xtests-bp.out).
31838 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31839 [$(build-bounded) = yes] ($(addprefix
31840 $(objpfx),$(binaries-bounded))): Remove rule.
31841 ($(objpfx)%-bp.out): Remove rule.
31842 * config.make.in (build-bounded): Remove variable.
31843 * crypt/Makefile [$(build-bounded) = yes]
31844 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31845 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31846 append to variable.
31847 [$(build-bounded) = yes] (install-lib): Likewise.
31848 [$(build-bounded) = yes] (generated): Likewise.
31849 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31850 Remove rule.
31851 * intl/Makefile [$(build-bounded) = yes]
31852 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31853 * math/Makefile [$(build-bounded) = yes]
31854 ($(tests:%=$(objpfx)%-bp): Likewise.
31855 * misc/Makefile [$(build-bounded) = yes]
31856 ($(objpfx)tst-tsearch-bp): Likewise.
31857 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31858 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31859 Remove dependency.
31860 * string/Makefile (o-objects.ob): Remove variable.
31861 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31862 (CFLAGS-.ob): Remove variable.
31863 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31864 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31865 both definitions of variable.
31866 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31867 (ASFLAGS-.ob): Remove variable.
31868
e97ed6dd
JM
318692013-02-14 Joseph Myers <joseph@codesourcery.com>
31870
2bdd4ca6
JM
31871 [BZ #13550]
31872 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31873 Remove __BOUNDED_POINTERS__ from condition.
31874 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31875 * string/bits/string2.h [!__NO_STRING_INLINES &&
31876 !__BOUNDED_POINTERS__]: Likewise.
31877 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31878 Likewise.
31879 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31880 Remove conditional code.
31881 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31882 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31883 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31884 condition.
31885
e97ed6dd
JM
31886 [BZ #13550]
31887 * csu/libc-start.c: Do not include <bp-sym.h>.
31888 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31889 * elf/dl-open.c: Do not include <bp-sym.h>.
31890 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31891 * math/fegetenv.c: Do not include <bp-sym.h>.
31892 (fegetenv): Do not use BP_SYM in versioned symbols.
31893 * nptl/sysdeps/pthread/bits/libc-lockP.h
31894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31895 <bp-sym.h>.
31896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31897 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31899 (__pthread_mutex_destroy): Likewise.
31900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31901 (__pthread_mutex_lock): Likewise.
31902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31903 (__pthread_mutex_trylock): Likewise.
31904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31905 (__pthread_mutex_unlock): Likewise.
31906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31907 (__pthread_mutexattr_init): Likewise.
31908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31909 (__pthread_mutexattr_destroy): Likewise.
31910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31911 (__pthread_mutexattr_settype): Likewise.
31912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31913 (__pthread_rwlock_init): Likewise.
31914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31915 (__pthread_rwlock_destroy): Likewise.
31916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31917 (__pthread_rwlock_rdlock): Likewise.
31918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31919 (__pthread_rwlock_tryrdlock): Likewise.
31920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31921 (__pthread_rwlock_wrlock): Likewise.
31922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31923 (__pthread_rwlock_trywrlock): Likewise.
31924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31925 (__pthread_rwlock_unlock): Likewise.
31926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31927 (__pthread_key_create): Likewise.
31928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31929 (__pthread_setspecific): Likewise.
31930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31931 (__pthread_getspecific): Likewise.
31932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31933 Likewise.
31934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31935 (_pthread_cleanup_push_defer): Likewise.
31936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31937 (_pthread_cleanup_pop_restore): Likewise.
31938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31939 (pthread_setcancelstate): Likewise.
31940 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31941 <bp-sym.h>.
31942 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31943 (memchr): Do not use BP_SYM in weak_alias.
31944 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31945 (fegetenv): Do not use BP_SYM in versioned symbols.
31946 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31947 (fesetenv): Do not use BP_SYM in versioned symbols.
31948 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31949 (feupdateenv): Do not use BP_SYM in versioned symbols.
31950 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31951 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31952 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31953 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31954 (open64): Do not use BP_SYM in weak_alias.
31955 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31956 (fegetenv): Do not use BP_SYM in versioned symbols.
31957 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31958 (fesetenv): Do not use BP_SYM in versioned symbols.
31959 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31960 (feupdateenv): Do not use BP_SYM in versioned symbols.
31961 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31962 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31963 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31964 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31965 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31966 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31967 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31968 <bp-sym.h>.
31969 (__libc_start_main): Do not use BP_SYM.
31970
d6752ccd
SP
319712013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31972
cb57ce60
SP
31973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31974 redundant return line.
31975 (norm): Likewise.
31976 (denorm): Likewise.
31977 (dbl_mp): Likewise.
31978 (sub_magnitudes): Likewise.
31979 (__add): Likewise.
31980 (__sub): Likewise.
31981 (__mul): Likewise.
31982 (__inv): Likewise.
31983 (__dvd): Likewise.
31984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31985 (norm): Likewise.
31986 (denorm): Likewise.
31987 (dbl_mp): Likewise.
31988 (sub_magnitudes): Likewise.
31989 (__add): Likewise.
31990 (__sub): Likewise.
31991 (__mul): Likewise.
31992 (__inv): Likewise.
31993 (__dvd): Likewise.
31994
f414520d
SP
31995 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31996 instead of __mul.
31997 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31998 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31999 (cc32): Likewise.
32000
d6752ccd
SP
32001 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32002 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32004 of __mul for squares.
32005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32006 function
32007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32008 Likewise.
32009 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32010 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32011
70d9946a
JM
320122013-02-13 Joseph Myers <joseph@codesourcery.com>
32013
32014 [BZ #13550]
32015 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32016 code.
32017 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32018 prototype or function definition. Rename ubp_* variables and
32019 parameters. Remove argv definitions conditional on
32020 [__BOUNDED_POINTERS__].
32021 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32022 * elf/dl-runtime.c (_dl_fixup): Likewise.
32023 * include/set-hooks.h (RUN_HOOK): Likewise.
32024 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32025 definition.
32026 * string/strcpy.c (strcpy): Do not use __unbounded.
32027 * sysdeps/generic/frame.h (struct layout): Likewise.
32028 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32029 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32030 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32031 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32032 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32033 (__backtrace): Likewise.
32034 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32035 use __ptrvalue.
32036 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32037 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32038 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32039 Likewise.
32040 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32041 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32042 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32043 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32044 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32045 Do not use __unbounded.
32046 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32047 Rename __unboundedrlimits parameter to rlimits in prototype.
32048 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32049 Do not use __unbounded.
32050 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32051 not use __ptrvalue.
32052 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32053 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32054 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32055 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32056 __ptrvalue or __unbounded.
32057 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32058 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32059 use __unbounded.
32060 (__new_msgctl): Do not use __ptrvalue.
32061 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32062 __unbounded.
32063 (__libc_msgrcv): Do not use __ptrvalue.
32064 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32065 startup_info): Do not use __unbounded.
32066 (__libc_start_main): Likewise. Rename ubp_* variables and
32067 parameters. Remove argv definitions conditional on
32068 [__BOUNDED_POINTERS__].
32069 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32070 __ptrvalue.
32071 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32072 use __unbounded.
32073 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32074 or __ptrvalue.
32075 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32076 use __unbounded.
32077 (__new_shmctl): Do not use __ptrvalue.
32078 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32079 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32080 Likewise.
32081 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32082 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32083 (__libc_sigaction): Likewise.
32084 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32085 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32086 Likewise.
32087 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32088
cc7834d6
OB
320892013-02-13 Ondřej Bílka <neleai@seznam.cz>
32090
ffb1ec7b 32091 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32092
32093 * string/mempcpy.c: Implement by calling memcpy.
32094
bdf02814
SP
320952013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32096
c2af38aa
SP
32097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32098
4e92d59e
SP
32099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32100 evaluation.
32101
909279a5
SP
32102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32103 values in the mantissa.
32104
bdf02814
SP
32105 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32106 minimize writes to Z.
32107 (sub_magnitudes): Simplify code a bit.
32108
cd525923
RM
321092013-02-12 Roland McGrath <roland@hack.frob.com>
32110
32111 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32112 from the message. The linker prefixes all warnings with that already.
32113
7e2f0d2d
AS
321142013-02-12 Andreas Schwab <schwab@suse.de>
32115
a445af0b
AS
32116 [BZ #15078]
32117 * posix/regexec.c (extend_buffers): Add parameter min_len.
32118 (check_matching): Pass minimum needed length.
32119 (clean_state_log_if_needed): Likewise.
32120 (get_subexp): Likewise.
32121 * posix/Makefile (tests): Add bug-regex34.
32122 (bug-regex34-ENV): Define.
32123 * posix/bug-regex34.c: New file.
32124
7e2f0d2d
AS
32125 [BZ #11561]
32126 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32127 elements compare against the byte sequence of it, not its name.
32128 * posix/Makefile (tests): Add bug-regex35.
32129 (bug-regex35-ENV): Define.
32130 * posix/bug-regex35.c: New file.
32131
a175b684
TV
321322013-02-11 Tom de Vries <tom@codesourcery.com>
32133
32134 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32135 comment.
32136 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32137 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32138 (CHECK_EOL): Add undef.
32139
310998fe 321402013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32141
32142 * bits/stdlib-bsearch.h: New file.
32143 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32144 * stdlib/stdlib.h: Likewise.
41eda41d 32145
8ded91fb
RM
321462013-02-11 Roland McGrath <roland@hack.frob.com>
32147
32148 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32149 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32150 declaration.
32151 * manual/search.texi (Array Search Function): Add missing const in
32152 lfind prototype.
32153 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32154 declaration to use rlim_t.
32155 (Basic Scheduling Functions): Remove erroneous const from
32156 sched_getparam prototype. Remove erroneous * from
32157 sched_get_priority_max and sched_get_priority_min prototypes.
32158 (Resource Usage): Fix summary @comment on vtimes to refer to
32159 sys/vtimes.h rather than vtimes.h.
32160 Add missing *s in vtimes prototype.
32161 (Limits on Resources): Fix ulimit prototype to return long int.
32162 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32163 prototypes to use long int rather than double.
32164 (BSD Random): Fix initstate and setstate to use char *, not void *.
32165 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32166 prototype to make second argument 'struct aiocb64 *const[]'.
32167 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32168 (Status of AIO Operations): Remove erroneous const in aio_return and
32169 aio_return64 prototypes.
32170 (Synchronizing I/O): Fix sync prototype to return void.
32171 * manual/startup.texi (Suboptions): Remove an erroneous const in
32172 getsubopt prototype.
32173 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32174 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32175 use size_t rather than int.
32176 (Scanning All Users): Likewise for getpwent_r.
32177 (Setting Groups): Add missing const to setgroups prototype.
32178 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32179 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32180 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32181 'const void *' rather than 'const char *'.
32182 (Host Address Functions): Likewise for inet_ntop.
32183 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32184 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32185 ssize_t for return value.
32186 (Sending Data): Likewise for send, sendto, sendmsg.
32187 (Socket Option Functions): Add a missing const in setsockopt prototype.
32188 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32189 use wchar_t for the argument.
32190 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32191 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32192 take no arguments.
32193 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32194 double/float/long double for second argument.
32195 Fix return types of significand, significandf, significandl.
32196 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32197 argument in fchmod prototype.
32198 (File Owner): Use uid_t and gid_t in fchown prototype.
32199 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32200 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32201 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32202 use 'const struct dirent **' as argument types to CMP function pointer
32203 argument.
32204 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32205 (File Times): Fix summary magic @comment for struct utimbuf and utime
32206 to refer to utime.h, not time.h.
32207 * manual/string.texi (Argz Functions): Add missing const in
32208 argz_extract and argz_next prototypes.
32209 (Finding Tokens in a String): Likewise for basename.
32210 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32211 (Copying and Concatenation): Fix typo in wmemmove prototype.
32212 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32213 (Signal Stack): Remove erroneous const in sigstack prototype.
32214 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32215 prototype.
32216 (Simple Calendar Time): Likewise for stime.
32217 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32218 prototype.
32219 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32220 say sys/sysctl.h instead.
32221 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32222 and vsyslog prototypes.
32223
fe77fe6d
TV
322242013-02-11 Tom de Vries <tom@codesourcery.com>
32225
32226 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32227 Remove.
32228
3a09b620
RM
322292013-02-11 Roland McGrath <roland@hack.frob.com>
32230
32231 * misc/sys/mman.h: Fix typo in mremap comment.
32232
550a0b89
RM
322332013-02-08 Roland McGrath <roland@hack.frob.com>
32234
32235 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32236 the '\0' terminator.
32237
a2da1673
JM
322382013-02-08 Joseph Myers <joseph@codesourcery.com>
32239
32240 [BZ #13550]
32241 * debug/segfault.c: Don't include <bp-checks.h>.
32242 * sysdeps/generic/bp-checks.h: Remove file.
32243 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32244 (__GETDENTS): Don't use CHECK_N.
32245 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32246 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32247 (__getgroups): Don't use CHECK_N.
32248 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32249 (setgroups): Don't use CHECK_N.
32250 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32251 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32252 (__libc_msgrcv): Don't use CHECK_N.
32253 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32254 (__libc_msgsnd): Don't use CHECK_N.
32255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32256 <bp-checks.h>.
32257 (__libc_pread): Don't use CHECK_N.
32258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32259 include <bp-checks.h>.
32260 (__libc_pread64): Don't use CHECK_N.
32261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32262 include <bp-checks.h>.
32263 (__libc_pwrite): Don't use CHECK_N.
32264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32265 include <bp-checks.h>.
32266 (__libc_pwrite64): Don't use CHECK_N.
32267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32268 <bp-checks.h>.
32269 (__libc_pread): Don't use CHECK_N.
32270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32271 include <bp-checks.h>.
32272 (__libc_pread64): Don't use CHECK_N.
32273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32274 include <bp-checks.h>.
32275 (__libc_pwrite): Don't use CHECK_N.
32276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32277 include <bp-checks.h>.
32278 (__libc_pwrite64): Don't use CHECK_N.
32279 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32280 (do_pread): Don't use CHECK_N.
32281 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32282 (do_pread64): Don't use CHECK_N.
32283 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32284 (do_pwrite): Don't use CHECK_N.
32285 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32286 (do_pwrite64): Don't use CHECK_N.
32287 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32288 (__libc_readv): Don't use CHECK_N.
32289 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32290 (semop): Don't use CHECK_N.
32291 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32292 <bp-checks.h>.
32293 (semtimedop): Don't use CHECK_N.
32294 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32295 (__libc_pread): Don't use CHECK_N.
32296 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32297 <bp-checks.h>.
32298 (__libc_pread64): Don't use CHECK_N.
32299 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32300 <bp-checks.h>.
32301 (__libc_pwrite): Don't use CHECK_N.
32302 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32303 <bp-checks.h>.
32304 (__libc_pwrite64): Don't use CHECK_N.
32305 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32306 <bp-checks.h>.
32307 (__libc_msgrcv): Don't use CHECK_N.
32308 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32309 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32310 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32311 (__libc_writev): Don't use CHECK_N.
32312
b84660a8
RM
323132013-02-08 Roland McGrath <roland@hack.frob.com>
32314
7f3e75f8
RM
32315 * string/strcpy.c: Removed unused variable.
32316
b84660a8
RM
32317 * Makeconfig (+sysdep-includes): Define with := rather than =.
32318 Use an existing include/ subdir of each sysdeps dir before it.
32319
471514d3
CD
323202013-02-08 Carlos O'Donell <carlos@redhat.com>
32321
32322 * nscd/connection.c (register_traced_file): Comment function.
32323 [HAVE_INOTIFY] (union __inev): Define.
32324 [HAVE_INOTIFY] (inotify_check_files): New function.
32325 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32326 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32327 clear_db_cache.
32328 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32329
b2d3c3be
CD
323302013-02-08 Carlos O'Donell <carlos@redhat.com>
32331
32332 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32333 loaded if not already and that a failure is permanent.
32334
b39949d2
CD
323352013-02-08 Carlos O'Donell <carlos@redhat.com>
32336
ddacd1db 32337 [BZ #15006]
b39949d2
CD
32338 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32339 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32340
b2c9eff4
JM
323412013-02-08 Joseph Myers <joseph@codesourcery.com>
32342
f3aae3f3
JM
32343 [BZ #13550]
32344 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32345 (CHECK_1_NULL_OK): Likewise.
32346 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32347 (__fxstat): Do not use CHECK_1.
32348 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32349 <bp-checks.h>.
32350 (___fxstat64): Do not use CHECK_1.
32351 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32352 <bp-checks.h>.
32353 (__fxstatat): Do not use CHECK_1.
32354 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32355 <bp-checks.h>.
32356 (__fxstatat64): Do not use CHECK_1.
32357 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32358 <bp-checks.h>.
32359 (__fxstat): Do not use CHECK_1.
32360 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32361 <bp-checks.h>.
32362 (__fxstatat): Do not use CHECK_1.
32363 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32364 <bp-checks.h>.
32365 (__getresgid): Do not use CHECK_1.
32366 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32367 <bp-checks.h>.
32368 (__getresuid): Do not use CHECK_1.
32369 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32370 <bp-checks.h>.
32371 (__lxstat): Do not use CHECK_1.
32372 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32373 <bp-checks.h>.
32374 (__old_msgctl): Do not use CHECK_1.
32375 (__new_msgctl): Likewise.
32376 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32377 <bp-checks.h>.
32378 (__new_setrlimit): Do not use CHECK_1.
32379 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32380 <bp-checks.h>.
32381 (__old_shmctl): Do not use CHECK_1.
32382 (__new_shmctl): Likewise.
32383 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32384 <bp-checks.h>.
32385 (__xstat): Do not use CHECK_1.
32386 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32387 (__lxstat): Do not use CHECK_1.
32388 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32389 <bp-checks.h>.
32390 (___lxstat64): Do not use CHECK_1.
32391 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32392 (__old_msgctl): Do not use CHECK_1.
32393 (__new_msgctl): Likewise.
32394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32395 <bp-checks.h>.
32396 (__gettimeofday): Do not use CHECK_1.
32397 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32398 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32399 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32400 <bp-checks.h>.
32401 (__gettimeofday): Do not use CHECK_1.
32402 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32403 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32404 (__new_shmctl): Do not use CHECK_1.
32405 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32406 <bp-checks.h>.
32407 (do_sigtimedwait): Do not use CHECK_1.
32408 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32409 <bp-checks.h>.
32410 (do_sigwaitinfo): Do not use CHECK_1.
32411 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32412 <bp-checks.h>.
32413 (msgctl): Do not use CHECK_1.
32414 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32415 <bp-checks.h>.
32416 (shmctl): Do not use CHECK_1.
32417 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32418 (ustat): Do not use CHECK_1.
32419 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32420 <bp-checks.h>.
32421 (__fxstat): Do not use CHECK_1.
32422 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32423 <bp-checks.h>.
32424 (__fxstatat): Do not use CHECK_1.
32425 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32426 <bp-checks.h>.
32427 (__lxstat): Do not use CHECK_1.
32428 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32429 <bp-checks.h>.
32430 (__xstat): Do not use CHECK_1.
32431 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32432 (__xstat): Do not use CHECK_1.
32433 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32434 (___xstat64): Do not use CHECK_1.
32435
b2c9eff4
JM
32436 [BZ #13550]
32437 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32438 definitions.
32439 (CHECK_BOUNDS_HIGH): Likewise.
32440 * string/strcpy.c: Do not include <bp-checks.h>.
32441 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32442
f1d70dad
RM
324432013-02-07 Roland McGrath <roland@hack.frob.com>
32444
32445 * nscd/nscd-client.h (__nscd_drop_map_ref):
32446 Add __attribute__ ((unused)).
32447 * nis/nss-nisplus.h (niserr2nss): Likewise.
32448
32449 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32450 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32451
32452 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32453 Remove inline keyword.
32454 * include/rounding-mode.h (round_away): Likewise.
32455 * libio/wfileops.c (adjust_wide_data): Likewise.
32456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32457 (__m128i_strloadu_tolower): Likewise.
32458 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32459 (__m128i_strloadu_tolower): Likewise.
32460 * time/mktime.c (ydhms_diff): Likewise.
32461 * locale/elem-hash.h (elem_hash): Likewise.
32462 * locale/setlocale.c (setdata): Likewise.
32463 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32464 (re_string_wchar_at): Likewise.
32465 (bitset_not, bitset_merge, bitset_mask): Likewise.
32466 [!(__GNUC__ > 3)] (inline): Remove macro.
32467 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32468 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32469 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32470 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32471 * string/memcmp.c (memcmp_bytes): Likewise.
32472 * locale/programs/locarchive.c (compute_hashval): Likewise.
32473 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32474 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32475 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32476 * nss/getent.c (print_rpc, print_protocols): Likewise.
32477 (print_passwd, print_group, print_aliases): Likewise.
32478 * nis/nss-nisplus.h (niserr2nss): Likewise.
32479 * nscd/connections.c (restart_p): Likewise.
32480 Change return type to bool.
32481
eab55bfb
RM
324822013-02-05 Roland McGrath <roland@hack.frob.com>
32483
7bd642f5
RM
32484 * Makeconfig (all-Depend-files): Add existing
32485 $(sorted-subdirs:=/Depend) files.
32486 (all-subdirs): Remove nss.
32487 * sysdeps/unix/inet/Subdirs: Add it here instead.
32488 * hesiod/Depend: New file.
32489
573c29b2
RM
32490 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32491 instead of calling alloca.
32492
b2e25af0
RM
32493 * io/lseek.c (__lseek): Rename to __libc_lseek.
32494 Define __lseek as an alias.
32495
eab55bfb
RM
32496 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32497
9a0d1941
CD
324982013-02-04 Carlos O'Donell <carlos@redhat.com>
32499
32500 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32501 else clause and remove check for non-standard endianness.
32502
b83bbec4
DM
325032013-02-04 David S. Miller <davem@davemloft.net>
32504
32505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32506
6277fdab
JM
325072013-02-04 Joseph Myers <joseph@codesourcery.com>
32508
32509 [BZ #13550]
32510 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32511 (__ubp_memchr): Remove prototype.
32512 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32513 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32514 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32515 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32516 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32517 Remove alias.
32518 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32519 (__ubp_memchr): Likewise.
32520 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32521 (__ubp_memchr): Likewise.
32522 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32523 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32524 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32525 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32526 CHECK_STRING.
32527 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32528 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32529 (__getcwd): Do not use CHECK_STRING.
32530 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32531 <bp-checks.h>.
32532 (__real_chown): Do not use CHECK_STRING.
32533 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32534 <bp-checks.h>.
32535 (fchownat): Do not use CHECK_STRING.
32536 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32537 CHECK_STRING.
32538 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32539 <bp-checks.h>.
32540 (__lchown): Do not use CHECK_STRING.
32541 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32542 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32543 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32544 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32546 include <bp-checks.h>.
32547 (truncate64): Do not use CHECK_STRING.
32548 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32549 <bp-checks.h>.
32550 (__real_chown): Do not use CHECK_STRING.
32551 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32552 <bp-checks.h>.
32553 (__lchown): Do not use CHECK_STRING.
32554 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32555 <bp-checks.h>.
32556 (__chown): Do not use CHECK_STRING.
32557 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32558 <bp-checks.h>.
32559 (truncate64): Do not use CHECK_STRING.
32560 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32561 Likewise.
32562 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32563 (__xmknod): Do not use CHECK_STRING.
32564 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32565 <bp-checks.h>.
32566 (__xmknodat): Do not use CHECK_STRING.
32567 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32568 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32569
903ae060
AS
325702013-02-04 Andreas Schwab <schwab@suse.de>
32571
32572 [BZ #14142]
32573 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32574 * include/netdb.h: Likewise for h_errno.
32575 * elf/tst-stackguard1.c: Include <tls.h>.
32576
542f9466
JK
325772013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32578
32579 * elf/link.h (struct link_map): Extend the l_addr comment.
32580 * include/link.h (struct link_map): Likewise.
32581
e782a927
JM
325822013-02-01 Joseph Myers <joseph@codesourcery.com>
32583
32584 [BZ #13550]
32585 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32586 (BOUNDED_1): Remove macro.
32587 * debug/backtrace.c: Don't include <bp-checks.h>.
32588 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32589 (__backtrace): Likewise.
32590 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32591 <bp-checks.h>.
32592 (__backtrace): Don't use BOUNDED_1.
32593 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32594 <bp-checks.h>.
32595 (__backtrace): Don't use BOUNDED_1.
32596 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32597 (__backtrace): Don't use BOUNDED_1.
32598 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32599 (shmat): Don't use BOUNDED_N.
32600
8cf28c5e
JM
326012013-01-31 Joseph Myers <joseph@codesourcery.com>
32602
3a7ac8a0
JM
32603 [BZ #13550]
32604 * sysdeps/generic/bp-start.h: Remove file.
32605 * csu/libc-start.c: Don't include <bp-start.h>.
32606 (LIBC_START_MAIN): Set up __environ directly instead of using
32607 INIT_ARGV_and_ENVIRON.
32608 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32609 <bp-start.h>.
32610
f3499f95
JM
32611 [BZ #13550]
32612 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32613 definitions.
32614 (CHECK_FCNTL): Likewise.
32615 (CHECK_N_PAGES): Likewise.
32616
32a45bea
JM
32617 [BZ #13550]
32618 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32619 definitions.
32620 (CHECK_SIGSET_NULL_OK): Likewise.
32621 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32622 <bp-checks.h>.
32623 (sigpending): Don't use CHECK_SIGSET.
32624 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32625 <bp-checks.h>.
32626 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32627 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32628 <bp-checks.h>.
32629 (do_sigsuspend): Don't use CHECK_SIGSET.
32630 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32631 use CHECK_SIGSET.
32632 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32633 (do_sigwait): Don't use CHECK_SIGSET.
32634 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32635 use CHECK_SIGSET.
32636 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32637 include <bp-checks.h>.
32638 (sigpending): Don't use CHECK_SIGSET.
32639 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32640 include <bp-checks.h>.
32641 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32642 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32643 <bp-checks.h>.
32644 (sigpending): Don't use CHECK_SIGSET.
32645 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32646 <bp-checks.h>.
32647 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32648
2e8a5c8c
JM
32649 [BZ #13550]
32650 * sysdeps/generic/bp-semctl.h: Remove file.
32651 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32652 <bp-checks.h> and <bp-semctl.h>.
32653 (__old_semctl): Don't use CHECK_SEMCTL.
32654 (__new_semctl): Likewise.
32655 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32656 and <bp-semctl.h>.
32657 (__old_semctl): Don't use CHECK_SEMCTL.
32658 (__new_semctl): Likewise.
32659 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32660 <bp-checks.h> and <bp-semctl.h>.
32661 (__old_semctl): Don't use CHECK_SEMCTL.
32662 (__new_semctl): Likewise.
32663 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32664 <bp-checks.h> and <bp-semctl.h>.
32665 (semctl): Don't use CHECK_SEMCTL.
32666
c2d54929
JM
32667 [BZ #13550]
32668 * Makerules (elide-bp-thunks): Remove variable.
32669 (elide-routines.oS): Don't use $(elide-bp-thunks).
32670 (elide-routines.os): Likewise.
32671 (elide-routines.o): Likewise.
32672 (elide-routines.op): Likewise.
32673 (elide-routines.og): Likewise.
32674 (objects): Don't use $(bp-thunks).
32675 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32676 include.
32677 (common-generated): Do not add s-proto-bp.d.
32678 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32679 (int): Likewise.
32680 (typ): Likewise.
32681 Do not generate makefile rules for bounded-pointer thunks.
32682 * sysdeps/generic/bp-thunks.h: Remove file.
32683 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32684 * sysdeps/unix/s-proto-bp.S: Likewise.
32685
8cf28c5e
JM
32686 [BZ #15062]
32687 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32688 parts of result separately when argument is not close to line from
32689 -i to i and one part of argument is small.
32690 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32691 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32692 * math/libm-test.inc (cacos_test): Add more tests.
32693 (casin_test): Likewise.
32694 (casinh_test): Likewise.
32695 * sysdeps/i386/fpu/libm-test-ulps: Update.
32696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32697
c4e33b8d
DM
326982013-01-31 David S. Miller <davem@davemloft.net>
32699
32700 * po/de.po: Update from translation team.
32701
3b60b421
MK
327022013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32703
32704 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32705
bb931195
TS
327062013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32707
b5a5da23
TS
32708 * configure.in (_AC_PROG_CC_C89): New definition.
32709 * configure: Regenerate.
32710
bb931195
TS
32711 * configure.in (AC_PROG_CPP): New definition.
32712 * configure: Regenerate.
32713
8c53a12c
JM
327142013-01-23 Joseph Myers <joseph@codesourcery.com>
32715
32716 * debug/tst-backtrace.h: New file.
32717 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32718 (ret): Remove variable.
32719 (x): Likewise.
32720 (FAIL): Remove macro.
32721 (NO_INLINE): Likewise.
32722 (fn1): Use match function instead of strstr.
32723 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32724 (ret): Remove variable.
32725 (x): Likewise.
32726 (FAIL): Remove macro.
32727 (NO_INLINE): Likewise.
32728 (fn): Use match function instead of strstr.
32729 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32730 (ret): Remove variable.
32731 (x): Likewise.
32732 (FAIL): Remove macro.
32733 (NO_INLINE): Likewise.
32734 (handle_signal): Use match function instead of strstr.
32735 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32736 (ret): Remove variable.
32737 (x): Likewise.
32738 (FAIL): Remove macro.
32739 (NO_INLINE): Likewise.
32740 (handle_signal): Use match function instead of strstr.
32741
4858fa2a
RM
327422013-01-23 Roland McGrath <roland@hack.frob.com>
32743
32744 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32745
bae8e7f5
DM
327462013-01-23 David S. Miller <davem@davemloft.net>
32747
32748 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32749 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32750 argument of CAS if possible.
32751 * sysdeps/sparc/sparc64/bits/atomic.h
32752 (__arch_compare_and_exchange_val_32_acq): Likewise.
32753 (__arch_compare_and_exchange_val_64_acq): Likewise.
32754
9cbbc4ae
PT
327552013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32756
32757 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32758 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32759 Include <limits.h>.
67b3f58c 32760 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32761
5655a0b5
AC
327622013-01-23 Adam Conrad <adconrad@0c3.net>
32763
32764 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32765 (LDFLAGS-tst-array5): Likewise.
32766
052aff95
JM
327672013-01-23 Joseph Myers <joseph@codesourcery.com>
32768
32769 [BZ #15036]
32770 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32771 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32772 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32773 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32774
7c1e01aa
DM
327752013-01-21 David S. Miller <davem@davemloft.net>
32776
32777 * sysdeps/sparc/backtrace.c: New file.
32778 * sysdeps/sparc/sparc32/backtrace.h: New file.
32779 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32780 * sysdeps/sparc/sparc64/backtrace.h: New file.
32781 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32782 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32783 -funwind-tables.
32784
ab087e0a
AS
327852013-01-21 Andreas Schwab <schwab@suse.de>
32786
32787 [BZ #15020]
32788 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32789 closed its stdout.
32790
ed689c2f
AS
327912013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32792
32793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32794 "mpa2.h".
32795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32796
31d470ac
JM
327972013-01-18 Joseph Myers <joseph@codesourcery.com>
32798 Mark Mitchell <mark@codesourcery.com>
32799 Tom de Vries <tom@codesourcery.com>
32800 Paul Pluzhnikov <ppluzhnikov@google.com>
32801
32802 * debug/tst-backtrace2.c: New file.
32803 * debug/tst-backtrace3.c: Likewise.
32804 * debug/tst-backtrace4.c: Likewise.
32805 * debug/tst-backtrace5.c: Likewise.
32806 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32807 (CFLAGS-tst-backtrace3.c): Likewise.
32808 (CFLAGS-tst-backtrace4.c): Likewise.
32809 (CFLAGS-tst-backtrace5.c): Likewise.
32810 (LDFLAGS-tst-backtrace2): Likewise.
32811 (LDFLAGS-tst-backtrace3): Likewise.
32812 (LDFLAGS-tst-backtrace4): Likewise.
32813 (LDFLAGS-tst-backtrace5): Likewise.
32814 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32815 tst-backtrace4 and tst-backtrace5.
32816
90567f30 328172013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32818 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32819
32820 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32821 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32822 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32823 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32825 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32826 "+r" and remove output regs list as redundant. Add explicit inline
32827 asm to specify register of return val to work around compiler codegen
32828 bug. Remove (int) cast on return value. Add return type parameter to
32829 use in macro so that this macro does not truncate return value for
32830 64-bit values.
32831 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32832 pass to INTERNAL_VSYSCALL_NCS.
32833 (INLINE_VSYSCALL): Add 'long int' as return type to
32834 INTERNAL_VSYSCALL_NCS macro invocation.
32835 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32836 INTERNAL_VSYSCALL_NCS macro invocation.
32837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32838
d3b9ea61
SP
328392013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32840
0b57daeb
SP
32841 [BZ #14496]
32842 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32843 Fix application of SIMD FP exception mask.
32844
caa99d06
SP
32845 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32846 mp_no from a power of two.
32847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32848 __mpexp_twomm1. Use __pow_mp.
32849
d3b9ea61
SP
32850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32851 multiplication.
32852
1dbaee3c
DM
328532013-01-17 David S. Miller <davem@davemloft.net>
32854
32855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32856
728d7b43
JM
328572013-01-17 Joseph Myers <joseph@codesourcery.com>
32858
32859 [BZ #15023]
32860 * include/complex.h: Condition contents on [!_COMPLEX_H].
32861 (__kernel_casinhf): New prototype.
32862 (__kernel_casinh): Likewise.
32863 (__kernel_casinhl): Likewise.
32864 * math/Makefile (libm_calls): Add k_casinh.
32865 * math/k_casinh.c: New file.
32866 * math/k_casinhf.c: Likewise.
32867 * math/k_casinhl.c: Likewise.
32868 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32869 finite nonzero arguments.
32870 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32871 finite nonzero arguments.
32872 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32873 finite nonzero arguments.
32874 * math/s_casinh.c: Do not include <float.h>.
32875 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32876 * math/s_casinhf.c: Do not include <float.h>.
32877 (__casinhf): Move code for finite nonzero arguments to
32878 k_casinhf.c.
32879 * math/s_casinhl.c: Do not include <float.h>.
32880 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32881 redefine.
32882 (__casinhl): Move code for finite nonzero arguments to
32883 k_casinhl.c.
32884 * math/libm-test.inc (cacos_test): Add more tests.
32885 * sysdeps/i386/fpu/libm-test-ulps: Update.
32886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32887
2a26ef3a
PT
328882013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32889
32890 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32891 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32892 [!HAVE_MREMAP]: Remove [defined linux] case.
32893 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32894
a897655d
SP
328952013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32896
32897 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32898
881ebe89 328992013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32900
32901 * elf/elf.h (R_386_SIZE32): New relocation.
32902 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32903 R_386_SIZE32.
32904 (elf_machine_rela): Likewise.
32905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32906 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32907
59981e9b
JM
329082013-01-17 Joseph Myers <joseph@codesourcery.com>
32909
32910 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32911 (FP_FAST_FMA): Do not define.
32912 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32913 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32914 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32915 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32916 !_SOFT_FLOAT]: Likewise.
32917 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32918 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32919 value.
32920 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32921 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32922 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32923 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32924 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32925 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32926 file.
32927
cfa8054f
AS
329282013-01-16 Andreas Schwab <schwab@suse.de>
32929
32930 [BZ #14327]
32931 * include/stdlib.h (__mktemp): Add declaration.
32932 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32933 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32934
dd930cc5
SP
329352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32936
881ebe89
SP
32937 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32938 definitions.
32939 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32940 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32941 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32942 definitions here.
32943 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32944 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32945 definitions.
32946 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32947 and ONE.
32948 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32949 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32950 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32951 definitions.
32952 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32953 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32954 definitions.
32955 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32956
dd930cc5
SP
32957 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32958
c19a9f89
DM
329592013-01-15 David S. Miller <davem@davemloft.net>
32960
1aa61767
DM
32961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32962 trunc{,f} to libm-sysdep_routes.
32963 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32965 file.
32966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32968 file.
32969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32970 file.
32971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32973 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32974 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32975 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32976 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32977 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32978 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32979
c42d5e98
DM
32980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32981 nearbyint{,f} to libm-sysdep_routes.
32982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32984 New file.
32985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32986 file.
32987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32988 New file.
32989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32990 file.
32991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32993 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32994 file.
32995 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32996 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32997 file.
32998 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32999 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33000 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33001
c19a9f89
DM
33002 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33003 libc_feholdexcept and libc_fesetenv.
33004
357679d2
MF
330052013-01-15 Mike Frysinger <vapier@gentoo.org>
33006
33007 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33008
65a82e3d
DM
330092013-01-14 David S. Miller <davem@davemloft.net>
33010
8b954ab9
DM
33011 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33012 (SPARC_ASM_VIS2_IFUNC): Likewise.
33013 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33015 use of 'siam' instruction.
33016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33017 Likewise.
33018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33019 Likewise.
33020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33021 Likewise.
33022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33027 file.
33028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33029 file.
33030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33031 file.
33032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33033 file.
33034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33039 new VIS2 routines.
33040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33043 Likewise.
33044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33049 routines to libm-sysdep_routines.
33050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33051
65a82e3d
DM
33052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33053 fdim/fdimf to libm-sysdep_routines.
33054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33055 file.
33056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33058 file.
33059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33062 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33063 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33064 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33065 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33066
e34ab705
SP
330672013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33068
2a91b573
SP
33069 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33070 to optimize copies.
33071
1066a534
SP
33072 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33075
e34ab705
SP
33076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33077 local variable MPTWO.
33078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33079 Likewise.
33080
aba5e596
MF
330812013-01-13 Mike Frysinger <vapier@gentoo.org>
33082
33083 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33084 GLOB_NOESCAPE.
33085
e557e9e5
MF
330862013-01-13 Mike Frysinger <vapier@gentoo.org>
33087
33088 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33089
0428cec9
MF
330902013-01-13 Mike Frysinger <vapier@gentoo.org>
33091
33092 * manual/pattern.texi (glob_t): Document gl_flags.
33093 (glob64_t): Likewise.
33094
8794a964
DM
330952013-01-11 David S. Miller <davem@davemloft.net>
33096
66438c3f
RM
33097 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33098 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33099 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33100 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33101 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33102 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33103 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33104 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33105 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33106 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33107 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33108 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33109 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33110
4ae4244d
DM
33111 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33112 sparc V9 rather than using V8 code.
33113 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33114 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33115
8794a964
DM
33116 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33117 Move to...
33118 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33119 Here.
33120
6270516e
RM
331212013-01-11 Roland McGrath <roland@hack.frob.com>
33122
33123 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33124 not in the main loop.
33125 * configure: Regenerated.
33126
6a57d931
JM
331272013-01-11 Joseph Myers <joseph@codesourcery.com>
33128
33129 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33130 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33131 to just #else.
33132 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33133 [!__GLIBC_HAVE_LONG_LONG] case.
33134 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33135 condition to just #else.
33136 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33137 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33138 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33139 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33140 unconditional.
33141 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33142 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33143 #elif condition to just #else.
33144 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33145 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33146 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33147 #elif condition to just #else.
33148
0e8529e9
SE
331492013-01-11 Steve Ellcey <sellcey@mips.com>
33150
33151 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33152 (EF_MIPS_ARCH_64): Fix value.
33153 (EF_MIPS_ARCH_32R2): New.
33154 (EF_MIPS_ARCH_64R2): New.
33155
740b3dbe
L
331562013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33157
33158 * Makeconfig (+link-pie-before-libc): New.
33159 (+link-pie-after-libc): Likewise.
33160 (+link-pie-tests): Likewise.
33161 (+link-pie): Rewritten.
33162 (link-before-libc): Remove $(config-LDFLAGS).
33163 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33164 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33165 (config-LDFLAGS): Renamed to ...
33166 (rtld-LDFLAGS): This.
33167 (rtld-tests-LDFLAGS): New macro.
33168 (link-libc-rpath-link): Likewise.
33169 (link-libc-tests-rpath-link): Likewise.
33170 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33171 (link-libc): Prepand $(link-libc-rpath-link).
33172 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33173 (test-program-prefix): New macro.
33174 (test-via-rtld-prefix): Likewise.
33175 (test-program-cmd): Likewise.
33176 (host-test-program-cmd): Likewise.
33177 * Makefile ($(common-objpfx)testrun.sh): Replace
33178 $(run-program-prefix) with $(test-program-prefix).
33179 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33180 $(rtld-LDFLAGS).
33181 ($(common-objpfx)shlib.lds): Likewise.
33182 (build-module-helper): Likewise.
33183 ($(common-objpfx)format.lds): Likewise.
33184 * Rules (binaries-pie-tests): New.
33185 (binaries-pie-notests): Likewise.
33186 (binaries-pie): Rewritten.
33187 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33188 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33189 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33190 (make-test-out): Replace $(host-built-program-cmd) with
33191 $(host-test-program-cmd).
33192 * config.make.in (build-hardcoded-path-in-tests): New variable.
33193 * configure.in (--enable-hardcoded-path-in-tests): New configure
33194 option.
33195 (hardcoded_path_in_tests): New AC_SUBST.
33196 * configure: Regenerated.
33197 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33198 $(built-program-cmd) with $(test-program-cmd).
33199 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33200 (test_program_cmd): This.
33201 * elf/Makefile ($(objpfx)order.out): Run test with
33202 $(test-program-prefix).
33203 ($(objpfx)order2.out): Likewise.
33204 ($(objpfx)tst-initorder.out): Likewise.
33205 ($(objpfx)tst-initorder2.out): Likewise.
33206 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33207 $(test-program-cmd).
33208 ($(objpfx)tst-array1-static.out): Likewise.
33209 ($(objpfx)tst-array2.out): Likewise.
33210 ($(objpfx)tst-array3.out): Likewise.
33211 ($(objpfx)tst-array4.out): Likewise.
33212 ($(objpfx)tst-array5.out): Likewise.
33213 ($(objpfx)tst-array5-static.out): Likewise.
33214 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33215 $(test-program-cmd).
33216 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33217 $(run-program-prefix) with $(test-program-prefix).
33218 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33219 (test_program_prefix): This.
33220 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33221 $(run-program-prefix) with $(test-program-prefix).
33222 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33223 (test_program_prefix): This.
33224 * iconvdata/tst-tables.sh: Likewise.
33225 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33226 $(run-program-prefix) with $(test-program-prefix).
33227 ($(objpfx)tst-translit.out): Likewise.
33228 ($(objpfx)tst-gettext2.out): Likewise.
33229 ($(objpfx)tst-gettext4.out): Likewise.
33230 ($(objpfx)tst-gettext6.out): Likewise.
33231 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33232 (test_program_prefix): This.
33233 * intl/tst-gettext2.sh: Likewise.
33234 * intl/tst-gettext4.sh Likewise.
33235 * intl/tst-gettext6.sh: Likewise.
33236 * intl/tst-translit.sh: Likewise.
33237 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33238 with $(test-program-cmd).
33239 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33240 $(run-program-prefix) with $(test-program-prefix).
33241 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33242 (test_program_prefix): This.
33243 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33244 $(run-program-prefix) with $(test-program-prefix).
33245 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33246 (test_program_prefix): This.
33247 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33248 * posix/Makefile ($(objpfx)globtest.out): Replace
33249 $(run-via-rtld-prefix) and $(test-wrapper) with
33250 $(test-program-prefix) and $(test-via-rtld-prefix).
33251 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33252 $(test-program-prefix).
33253 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33254 $(host-test-program-cmd).
33255 (tst-spawn-ARGS): Likewise.
33256 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33257 $(test-program-prefix).
33258 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33259 (test_via_rtld_prefix): This.
33260 (test_wrapper): Renamed to ...
33261 (test_program_prefix): This.
33262 (run_program_prefix): Replaced by test_program_prefix.
33263 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33264 (test_program_prefix): This.
33265 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33266 with $(host-test-program-cmd).
33267 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33268 $(run-program-prefix) with $(test-program-prefix).
33269 ($(objpfx)tst-printf.out): Likewise.
33270 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33271 $(test-program-cmd).
33272 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33273 (test_program_prefix): This.
33274 * stdio-common/tst-unbputc.sh: Likewise.
33275 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33276 $(run-program-prefix) with $(test-program-prefix).
33277 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33278 (test_program_prefix): This.
33279 * string/Makefile ($(objpfx)tst-svc.out): Replace
33280 $(built-program-cmd) with $(test-program-cmd).
33281
c6fe55cf
AJ
332822013-01-11 Andreas Jaeger <aj@suse.de>
33283
33284 [BZ #15003]
33285 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33286 value. Sync with Linux 3.7.
33287
9e6919c8
DM
332882013-01-10 David S. Miller <davem@davemloft.net>
33289
33290 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33291 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33292 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33293
1c9f1a02
RM
332942013-01-10 Roland McGrath <roland@hack.frob.com>
33295
33296 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33297 never set.
33298 * configure: Regenerated.
33299
b9de2dde
DM
333002013-01-10 David S. Miller <davem@davemloft.net>
33301
33302 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33303 sparc V9 rather than using V8 code.
33304 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33305 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33306
e7f68ef4
RM
333072013-01-10 Roland McGrath <roland@hack.frob.com>
33308
33309 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33310 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33311 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33312 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33313 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33314 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33315 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33316 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33317 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33318 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33319 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33320 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33321 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33322 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33323 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33324 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33325 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33326 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33327 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33328 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33329 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33330 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33331 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33332 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33333 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33334 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33335 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33336
5a47cc9c
DM
333372013-01-10 David S. Miller <davem@davemloft.net>
33338
33339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33340
4cf8f209
L
333412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33342
33343 * posix/Makefile (tests-static): New variable.
33344 (tests): Add $(tests-static).
33345 (tst-exec-static-ARGS): New variable.
33346 (tst-spawn-static-ARGS): Likewise.
33347 * posix/tst-exec-static.c: New file.
33348 * posix/tst-spawn-static.c: Likewise.
33349 * posix/tst-exec.c: Support run directly.
33350 * posix/tst-spawn.c: Likewise.
33351
fed0faa1
JM
333522013-01-10 Joseph Myers <joseph@codesourcery.com>
33353
828beb13
JM
33354 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33355 long.
33356 * math/bits/mathcalls.h (llrint): Likewise.
33357 (llround): Likewise.
33358 * stdlib/stdlib.h (struct drand48_data): Likewise.
33359 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33360 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33361 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33362 Likewise.
33363 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33364 Likewise.
33365 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33366 (elf_greg_t): Likewise.
33367 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33368 (__jmp_buf): Likewise.
33369 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33370 definitions.
33371 (llrint): Likewise, for all definitions.
33372 (llrintl): Likewise.
33373
fed0faa1
JM
33374 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33375 Remove [__GNUC__] condition.
33376 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33377 condition to just [__USE_ISOC99].
33378 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33379
1a20cb20
L
333802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33381
33382 [BZ #14200]
33383 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33384 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33385 defined.
33386 (_POSIX_V6_ILP32_OFF32): Likewise.
33387 (_XBS5_ILP32_OFF32): Likewise.
33388 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33389 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33390
751b85f7
SP
333912013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33392
7490eb81
SP
33393 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33394
751b85f7
SP
33395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33396 doubles __mpexp_twomm1. Adjust usage.
33397 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33398 Remove.
33399
988197f0
AS
334002013-01-10 Andreas Schwab <schwab@suse.de>
33401
33402 [BZ #14964]
33403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33404 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33405
e83d7298
DM
334062013-01-09 David S. Miller <davem@davemloft.net>
33407
034ed64b 33408 [BZ #15003]
57f41c40
AS
33409 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33410 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33411 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33412 (TCP_FASTOPEN): Define.
e83d7298
DM
33413 (tcp_repair_opt): New structure.
33414 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33415 enum values.
57f41c40
AS
33416 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33417 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33418 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33419 (tcp_cookie_transactions): New structure.
33420
d5e0b9bd
AB
334212013-01-09 Anton Blanchard <anton@samba.org>
33422
33423 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33424 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33425 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33426 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33427
0c07e3ea
JM
334282013-01-09 Joseph Myers <joseph@codesourcery.com>
33429
33430 * include/features.h (__USE_ANSI): Remove.
33431
232f7002
RM
334322013-01-09 Roland McGrath <roland@hack.frob.com>
33433
ad98e30c
RM
33434 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33435
232f7002
RM
33436 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33437
950c99ca
SP
334382013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33439
b5792741
SP
33440 * sysdeps/s390/fpu/libm-test-ulps: Update.
33441
47cf2278
SP
33442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33443
950c99ca
SP
33444 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33445 (__acr): Likewise.
33446 (__cpy): Likewise.
33447 (norm): Likewise.
33448 (denorm): Likewise.
33449 (__mp_dbl): Likewise.
33450 (__dbl_mp): Likewise.
33451 (add_magnitudes): Likewise.
33452 (sub_magnitudes): Likewise.
33453 (__add): Likewise.
33454 (__sub): Likewise.
33455 (__mul): Likewise.
33456 (__inv): Likewise.
33457 (__dvd): Likewise.
33458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33459 (__acr): Likewise.
33460 (__cpy): Likewise.
33461 (norm): Likewise.
33462 (denorm): Likewise.
33463 (__mp_dbl): Likewise.
33464 (__dbl_mp): Likewise.
33465 (add_magnitudes): Likewise.
33466 (sub_magnitudes): Likewise.
33467 (__add): Likewise.
33468 (__sub): Likewise.
33469 (__mul): Likewise.
33470 (__inv): Likewise.
33471 (__dvd): Likewise.
33472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33473 (__acr): Likewise.
33474 (__cpy): Likewise.
33475 (norm): Likewise.
33476 (denorm): Likewise.
33477 (__mp_dbl): Likewise.
33478 (__dbl_mp): Likewise.
33479 (add_magnitudes): Likewise.
33480 (sub_magnitudes): Likewise.
33481 (__add): Likewise.
33482 (__sub): Likewise.
33483 (__mul): Likewise.
33484 (__inv): Likewise.
33485 (__dvd): Likewise.
33486
eede9df9
JM
334872013-01-08 Joseph Myers <joseph@codesourcery.com>
33488
33489 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33490 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33491 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33492 2 && __USE_EXTERN_INLINES]: Likewise.
33493
c40ea3d9
AJ
334942013-01-08 Andreas Jaeger <aj@suse.de>
33495
33496 [BZ# 14985]
33497 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33498 Remove.
33499 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33500 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33501
2ccdea26
AB
335022013-01-07 Anton Blanchard <anton@samba.org>
33503
33504 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33505 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33506 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33507 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33508 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33509 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33510 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33511 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33513 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33514 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33515 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33516 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33517 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33518 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33519 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33520 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33521 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33522 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33523 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33524 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33525 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33526 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33527 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33528 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33529 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33530 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33531 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33532 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33533 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33534 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33536 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33537 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33538 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33539 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33540 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33541 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33542 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33543 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33544 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33546 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33547
a9708fed
JM
335482013-01-07 Joseph Myers <joseph@codesourcery.com>
33549
375607b9
JM
33550 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33551 (__MALLOC_PMT): Likewise.
33552 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33553 [__GNUC__], only on [_LIBC].
33554 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33555 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33556 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33557 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33558 forward declaration.
33559 (realloc_hook_ini): Likewise.
33560 (memalign_hook_ini): Likewise.
33561 (__libc_memalign): Do not use __MALLOC_PMT in variable
33562 declaration.
33563 (__libc_valloc): Likewise.
33564 (__libc_pvalloc): Likewise.
33565 (__libc_calloc): Likewise.
33566 (__posix_memalign): Likewise.
33567
a9708fed
JM
33568 [BZ #14996]
33569 * math/s_casinh.c: Include <float.h>.
33570 (__casinh): Do not do computation with squaring and square root
33571 for large arguments.
33572 * math/s_casinhf.c: Include <float.h>.
33573 (__casinhf): Do not do computation with squaring and square root
33574 for large arguments.
33575 * math/s_casinhl.c: Include <float.h>.
33576 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33577 (__casinhl): Do not do computation with squaring and square root
33578 for large arguments.
33579 * math/libm-test.inc (casin_test): Add more tests.
33580 (casinh_test): Likewise.
33581 * sysdeps/i386/fpu/libm-test-ulps: Update.
33582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33583
afec409a
L
335842013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33585
33586 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33587 (__x86_64_raw_data_cache_size): Likewise.
33588 (__x86_64_data_cache_size_half): Likewise.
33589 (__x86_64_raw_data_cache_size_half): Likewise.
33590 (__x86_64_shared_cache_size): Likewise.
33591 (__x86_64_raw_shared_cache_size): Likewise.
33592 (__x86_64_shared_cache_size_half): Likewise.
33593 (__x86_64_raw_shared_cache_size_half): Likewise.
33594 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33595 to ...
33596 (__x86_data_cache_size): This.
33597 (__x86_64_raw_data_cache_size): Renamed to ...
33598 (__x86_raw_data_cache_size): This.
33599 (__x86_64_data_cache_size_half): Renamed to ...
33600 (__x86_data_cache_size_half): This.
33601 (__x86_64_raw_data_cache_size_half): Renamed to ...
33602 (__x86_raw_data_cache_size_half): This.
33603 (__x86_64_shared_cache_size): Renamed to ...
33604 (__x86_shared_cache_size): This.
33605 (__x86_64_raw_shared_cache_size): Renamed to ...
33606 (__x86_raw_shared_cache_size): This.
33607 (__x86_64_shared_cache_size_half): Renamed to ...
33608 (__x86_shared_cache_size_half): This.
33609 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33610 (__x86_raw_shared_cache_size_half): This.
33611 * sysdeps/x86_64/memcpy.S: Updated.
33612 * sysdeps/x86_64/memset.S: Likewise.
33613 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33614 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33615 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33616
0b3986d0
DM
336172013-01-04 David S. Miller <davem@davemloft.net>
33618
33619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33620
e47686e9
AS
336212013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33622
d643bac1
AS
33623 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33624 1 to avoid redefinition warning.
33625 (__USE_GNU): Don't define.
33626 (init_signaling_nan): Protoize.
33627
e47686e9
AS
33628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33629
b18decba
SP
336302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33631
fffb407f
SP
33632 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33634 (__cpymn): Likewise.
33635 (norm): Remove commented code.
33636 (denorm): Likewise.
33637 (__mp_dbl): Likewise.
33638 (__inv): Likewise.
33639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33640 (__cpymn): Likewise.
33641 (norm): Remove commented code.
33642 (denorm): Likewise.
33643 (__mp_dbl): Likewise.
33644 (__inv): Likewise.
33645
b18decba
SP
33646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33647 mp_no value for 1.0 and 2.0.
33648 (norm): Use RADIXI instead of radixi.d.
33649 (denorm): Likewise.
33650 (__mul): Use 0.0 instead of zero.d.
33651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33652 mp_no value for 1.0 and 2.0.
33653 (norm): Use RADIXI instead of radixi.d.
33654 (denorm): Likewise.
33655 (__mul): Use 0.0 instead of zero.d.
33656
cdc1c96f
JM
336572013-01-04 Joseph Myers <joseph@codesourcery.com>
33658
33659 [BZ #14994]
33660 * math/s_casinh.c (__casinh): Reduce finite argument to first
33661 quadrant then set signs of results at the end.
33662 * math/s_casinhf.c (__casinhf): Likewise.
33663 * math/s_casinhl.c (__casinhl): Likewise.
33664 * math/libm-test.inc (casin_test): Add more tests.
33665 (casinh_test): Likewise.
33666 * sysdeps/i386/fpu/libm-test-ulps: Update.
33667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33668
302913e1
SP
336692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33670
6420d207
SP
33671 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33672
a9e48ab4
SP
33673 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33674
b7837264
SP
33675 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33676 declarations.
33677 (denorm): Likewise.
33678 (__mp_dbl): Likewise.
33679 (__inv): Likewise.
33680
f8af25d2
SP
33681 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33682 and adjust the header comment.
33683
302913e1
SP
33684 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33685 variable name from declaration.
33686
5d7dd1ca
L
336872013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33688
33689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33690 Initialize COMMON_CPUID_INDEX_7 element.
33691 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33692 (CPUID_RTM): Likewise.
33693 (HAS_RTM): Likewise.
33694 (COMMON_CPUID_INDEX_7): New enum.
33695
2f5f40f4
AS
336962013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33697
33698 [BZ #14981]
33699 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33700 size is zero, record memory as freed.
33701
4056f4a0
AJ
337022013-01-03 Andreas Jaeger <aj@suse.de>
33703
33704 * po/ia.po: Add new Interlingua translation.
33705
ab15736f 337062012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33707
33708 * locale/programs/localedef.c: Fix description of '--posix' flag.
33709
568035b7
JM
337102013-01-02 Joseph Myers <joseph@codesourcery.com>
33711
e6898b8d
JM
33712 * NEWS: Update dates in second copyright notice.
33713 * README: Update copyright dates in example.
33714 * manual/libc.texinfo: Update copyright dates.
33715 * scripts/test-installation.pl: Update copyright date in --version
33716 output.
33717
0e2f9562
JM
33718 * hurd/ctty-input.c: Fix copyright notice formatting.
33719 * hurd/ctty-output.c: Likewise.
33720 * hurd/dtable.c: Likewise.
33721 * hurd/hurd-raise.c: Likewise.
33722 * hurd/hurdprio.c: Likewise.
33723 * hurd/msgportdemux.c: Likewise.
33724 * misc/sys/file.h: Likewise.
33725 * misc/sys/ioctl.h: Likewise.
33726 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33727 * sysdeps/mach/hurd/chdir.c: Likewise.
33728 * sysdeps/mach/hurd/fchdir.c: Likewise.
33729 * sysdeps/mach/hurd/rename.c: Likewise.
33730 * sysdeps/mach/hurd/rmdir.c: Likewise.
33731 * sysdeps/mach/hurd/seekdir.c: Likewise.
33732 * sysdeps/mach/hurd/setsid.c: Likewise.
33733 * sysdeps/posix/wait3.c: Likewise.
33734
568035b7
JM
33735 * All files with FSF copyright notices: Update copyright dates
33736 using scripts/update-copyrights.
33737 * intl/plural.c: Regenerated.
33738 * locale/programs/charmap-kw.h: Likewise.
33739 * locale/programs/locfile-kw.h: Likewise.
33740
da08f647
SP
337412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33742
0f5477af
SP
33743 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33744 four values.
33745
44e0d4c2
SP
33746 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33747 calculation loop and add branch prediction.
33748
4d55b4e5
SP
33749 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33750 check access beyond bounds of m1np.
33751
da08f647
SP
33752 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33753 MPTWO.
33754 (__inv): Remove local variable MPTWO to use the global
33755 constant.
33756 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33757 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33758 variable MPTWO.
33759 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33760 MP3HALFS static const.
33761
8e051029
DM
337622013-01-01 David S. Miller <davem@davemloft.net>
33763
33764 * po/ca.po: Update from translation team.
33765
f4cf5f2d
JM
337662013-01-01 Joseph Myers <joseph@codesourcery.com>
33767
33768 * scripts/update-copyrights: New file.
33769 * Makeconfig: Reformat copyright notice.
33770 * ctype/ctype.h: Likewise.
33771 * debug/swprintf_chk.c: Likewise.
33772 * elf/dl-cache.c: Likewise.
33773 * elf/dl-debug.c: Likewise.
33774 * elf/dl-object.c: Likewise.
33775 * grp/initgroups.c: Likewise.
33776 * hurd/Makefile: Likewise.
33777 * hurd/hurd/signal.h: Likewise.
33778 * hurd/hurdfault.c: Likewise.
33779 * hurd/hurdioctl.c: Likewise.
33780 * hurd/hurdlookup.c: Likewise.
33781 * hurd/intr-msg.c: Likewise.
33782 * iconv/gconv_open.c: Likewise.
33783 * libio/swprintf.c: Likewise.
33784 * locale/lc-ctype.c: Likewise.
33785 * locale/nl_langinfo.c: Likewise.
33786 * mach/Machrules: Likewise.
33787 * mach/Makefile: Likewise.
33788 * malloc/obstack.h: Likewise.
33789 * manual/Makefile: Likewise.
33790 * manual/tsort.awk: Likewise.
33791 * misc/bits/stab.def: Likewise.
33792 * nis/nis_print_group_entry.c: Likewise.
33793 * nis/nis_table.c: Likewise.
33794 * nis/nss_compat/compat-pwd.c: Likewise.
33795 * nis/nss_compat/compat-spwd.c: Likewise.
33796 * po/Makefile: Likewise.
33797 * posix/fnmatch.c: Likewise.
33798 * posix/regex.h: Likewise.
33799 * resolv/Makefile: Likewise.
33800 * resolv/nss_dns/dns-network.c: Likewise.
33801 * resolv/res_hconf.c: Likewise.
33802 * scripts/gen-sorted.awk: Likewise.
33803 * soft-fp/soft-fp.h: Likewise.
33804 * stdio-common/printf.h: Likewise.
33805 * stdlib/monetary.h: Likewise.
33806 * stdlib/random.c: Likewise.
33807 * stdlib/random_r.c: Likewise.
33808 * sysdeps/generic/Makefile: Likewise.
33809 * sysdeps/gnu/Makefile: Likewise.
33810 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33822 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33824 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33830 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33831 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33832 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33838 * sysdeps/mach/hurd/errnos.awk: Likewise.
33839 * sysdeps/mach/hurd/fork.c: Likewise.
33840 * sysdeps/mach/hurd/getcwd.c: Likewise.
33841 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33842 * sysdeps/mach/hurd/mmap.c: Likewise.
33843 * sysdeps/mach/hurd/utimes.c: Likewise.
33844 * sysdeps/mach/hurd/xmknod.c: Likewise.
33845 * sysdeps/posix/profil.c: Likewise.
33846 * sysdeps/posix/readdir_r.c: Likewise.
33847 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33848 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33849 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33850 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33852 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33853 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33854 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33856 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33857 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33858 * sysdeps/pthread/lio_listio.c: Likewise.
33859 * sysdeps/sparc/dl-procinfo.h: Likewise.
33860 * sysdeps/unix/i386/sysdep.S: Likewise.
33861 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33862 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33863 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33864 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33866 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33867 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33868 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33869 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33870 * sysdeps/wordsize-32/divdi3.c: Likewise.
33871 * time/sys/time.h: Likewise.
33872 * wcsmbs/Makefile: Likewise.
33873
0549fbba
DM
338742013-01-01 David S. Miller <davem@davemloft.net>
33875
a141f1a7
DM
33876 * po/fr.po: Update from translation team.
33877
0549fbba
DM
33878 * catgets/gencat.c: Update copyright year.
33879 * csu/version.c: Likewise.
33880 * debug/catchsegv.sh: Likewise.
33881 * debug/pcprofiledump.c: Likewise.
33882 * debug/xtrace.sh: Likewise.
33883 * elf/ldconfig.c: Likewise.
33884 * elf/ldd.bash.in: Likewise.
33885 * elf/pldd.c: Likewise.
33886 * elf/sotruss.ksh: Likewise.
33887 * elf/sprof.c: Likewise.
33888 * iconv/iconv_prog.c: Likewise.
33889 * iconv/iconvconfig.c: Likewise.
33890 * locale/programs/locale.c: Likewise.
33891 * locale/programs/localedef.c: Likewise.
33892 * login/programs/pt_chown.c: Likewise.
33893 * malloc/memusage.sh: Likewise.
33894 * malloc/memusagestat.c: Likewise.
33895 * malloc/mtrace.pl: Likewise.
33896 * nscd/nscd.c: Likewise.
33897 * nss/getent.c: Likewise.
33898 * nss/makedb.c: Likewise.
33899 * posix/getconf.c: Likewise.
33900
18ea052c
SP
339012012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33902
33903 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33904 numbers.
33905
9c89fca6
MF
339062012-12-30 Mike Frysinger <vapier@gentoo.org>
33907
33908 * math/bits/mathcalls.h (modf): Use __nonnull.
33909
085ec079
SP
339102012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33911
33912 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33913 (split): Use macro CN instead of the bare value.
33914 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33915 could be used.
33916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33917 instead of the bare value.
33918 (power1): Likewise.
33919
6d9f97e1
SP
339202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33921
d63f73be
SP
33922 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33923 __ATAN_TWOM.
33924 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33925
6d9f97e1
SP
33926 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33927 their values.
33928 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33929 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33930 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33931 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33932
4c4febf5
AJ
339332012-12-28 Andreas Jaeger <aj@suse.de>
33934
af5843ef
AJ
33935 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33936 values are from Linux 3.7.
33937
4c4febf5
AJ
33938 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33939 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33940
99136f82
SP
339412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33942
2f216c3c 33943 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33944 TRUE case.
33945
99136f82
SP
33946 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33947 (norm): Likewise.
33948 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33949 variables with preprocessor constants.
33950 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33951 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33952 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33953
7fffbdff
BH
339542012-12-27 Bruno Haible <bruno@clisp.org>
33955
33956 [BZ #14317]
33957 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33958 only if needed.
33959
b76eb5f0
SP
339602012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33961
31a7fe5c
SP
33962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33963 and use variable directly.
33964 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33965
b76eb5f0
SP
33966 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33967 MPONE.
33968 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33969 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33970 variable MPONE.
33971 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33973 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33974 include directive. Remove local variable MPONE.
33975 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33976 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33978
2c8bfe7d
DM
339792012-12-25 David S. Miller <davem@davemloft.net>
33980
33981 * version.h (RELEASE): Set to "development".
33982 (VERSION): Set to "2.17.90".
33983 * NEWS: Add 2.18 section.
33984
147d03b0
DM
339852012-12-21 David S. Miller <davem@davemloft.net>
33986
33987 * po/hr.po: Update from translation team.
33988
a8ebb2b9
AK
339892012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33990
33991 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33992
95b4f1b6
SE
339932012-12-19 Steve Ellcey <sellcey@mips.com>
33994
b2d94007 33995 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33996
cedb2a90
MS
339972012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33998
33999 * manual/contrib.texi (Contributors): Spelling correction.
34000
bbf527d6
DM
340012012-12-15 David S. Miller <davem@davemloft.net>
34002
34003 * po/ru.po: Update from translation team.
34004
bc38c906
DM
340052012-12-13 David S. Miller <davem@davemloft.net>
34006
85429b1a
DM
34007 * NEWS: Mention IFUNC testsuite enhancements.
34008
d283e353
DM
34009 * po/pl.po: Update from translation team.
34010 * po/bg.po: Likewise.
34011
bc38c906
DM
34012 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34013 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34014
a181b0d7
DM
340152012-12-11 David S. Miller <davem@davemloft.net>
34016
4641d57e
DM
34017 * po/sv.po: Update from translation team.
34018
f7bc6495
DM
34019 * po/vi.po: Update from translation team.
34020
6fc9048f
DM
34021 * po/cs.po: Update from translation team.
34022
a181b0d7
DM
34023 * po/de.po: Update from translation team.
34024 * po/eo.po: Likewise.
34025 * po/nl.po: Likewise.
34026
f70bfe80
SP
340272012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34028
3c8b4190
SP
34029 [BZ #14246]
34030 * manual/argp.texi (Argp Helper Functions): Move node to follow
34031 Argp Parsing State.
34032
f70bfe80
SP
34033 [BZ #14872]
34034 * manual/conf.texi (Limits on File System Capacity): Mention if
34035 terminating null is included in the max size.
34036
188f0adf
AJ
340372012-12-10 Andreas Jaeger <aj@suse.de>
34038
34039 * po/cs.po: Update from translation team.
34040
56e7d3ad
SP
340412012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34042
34043 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34044 void pointer and cast to uintptr_t.
34045 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34046 path.
34047 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34048 * sysdeps/s390/s390-64/memset.S: Likewise.
34049
76f2d2ea 340502012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34051
34052 [BZ #14833]
34053 * menual/message.texi (Message Translation): Fix typos.
34054 (Helper programs for gettext): Likewise.
34055
67cbf9a2
AS
340562012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34057
34058 [BZ #14898]
34059 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34060 Change to -1.
34061
682d0e9a
DM
340622012-12-07 David S. Miller <davem@davemloft.net>
34063
34064 * po/libc.pot: Update.
34065
573cd484
RH
340662012-12-07 Richard Henderson <rth@redhat.com>
34067
7e9da188 34068 [BZ #10114]
573cd484
RH
34069 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34070 normal/normal case to before the switch.
34071 (_FP_DIV): Likewise.
34072
e933a943
MF
340732012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34074 Mike Frysinger <vapier@gentoo.org>
34075
34076 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34077 check for __NR_fadvise64_64.
34078
82123268
CM
340792012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34080
34081 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34082 0, not just to plain "0" as a statement.
34083 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34084 with cw.
34085
d9814526
JM
340862012-12-06 Joseph Myers <joseph@codesourcery.com>
34087
34088 * NEWS: Use sourceware.org in Bugzilla URL.
34089
7728c574
SP
340902012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34091
f16946dd
SP
34092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34093 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34094
5704bbcb
SP
34095 * stdio-common/tst-put-error.c (do_test): Add newline to the
34096 padded test to ensure flush.
34097
17aa0516
JL
340982012-12-05 Jeff Law <law@redhat.com>
34099
34100 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34101
363313b5
JM
341022012-12-05 Joseph Myers <joseph@codesourcery.com>
34103
effbd42a
JM
34104 * README: Don't refer to ports add-on as distributed separately.
34105 Mention AArch64 in list of systems supported in the ports add-on.
34106
87600365
JM
34107 * LICENSES: Add more non-FSF copyright and license notices.
34108
a0d7066a
JM
34109 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34110 ((unused)).
34111
66ca5a5b
JM
34112 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34113
363313b5
JM
34114 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34115 10000 as width of padded output.
34116
b37984ad
JM
341172012-12-04 Joseph Myers <joseph@codesourcery.com>
34118
9003570a
JM
34119 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34120
b37984ad
JM
34121 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34122 variable LX with __attribute__ ((unused)).
34123 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34124 Likewise.
34125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34127 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34128 with __attribute__ ((unused)).
34129
c8df52ec
DM
341302012-12-04 David S. Miller <davem@abraco.davemloft.net>
34131
34132 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34133
b3b099af
JM
341342012-12-04 Joseph Myers <joseph@codesourcery.com>
34135
c33aa6e3
JM
34136 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34137 (CFLAGS-nldbl-acos.c): New variable.
34138 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34139 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34140 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34141 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34142 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34143 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34144 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34145 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34146 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34147 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34148 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34149 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34150 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34151 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34152 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34153 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34154 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34155 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34156 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34157 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34158 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34159 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34160 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34161 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34162 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34163 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34164 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34165 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34166 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34167 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34168 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34169 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34170 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34171 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34172 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34173 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34174 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34175 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34176 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34177 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34178 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34179 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34180 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34181 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34182 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34183 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34184 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34185 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34186 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34187 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34188 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34189 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34190 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34191 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34192 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34193 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34194 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34195 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34196 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34197 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34198 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34199 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34200 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34201 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34202 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34203 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34204 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34205 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34206 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34207 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34208 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34209 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34210 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34211 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34212 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34213 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34214 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34215 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34216 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34217 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34218 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34219 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34220 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34221 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34222 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34223 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34224 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34225 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34226 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34227 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34228 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34229 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34230 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34231 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34232 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34233 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34234 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34235
20f0018d
JM
34236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34237 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34238
b3b099af
JM
34239 [BZ #14914]
34240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34241 whole low double instead of just low 47 bits when splitting values
34242 into two parts.
34243
029264d1
AM
342442012-12-03 Allan McRae <allan@archlinux.org>
34245
34246 * manual/stdio.texi (Predefined Printf Handlers): Remove
34247 @hsep and @vsep usage.
34248
c9d6789e
MF
342492012-12-03 Mike Frysinger <vapier@gentoo.org>
34250
34251 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34252 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34253
4b7634a5
JL
342542012-12-03 Jeff Law <law@redhat.com>
34255
34256 * time/sys/time.h (settimeofday): Do not mark TV argument
34257 as __nonnull.
34258
eb6cbd24
MF
342592012-12-01 Mike Frysinger <vapier@gentoo.org>
34260
34261 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34262 when currently writing and seek to current position when not.
34263 * libio/Makefile (tests): Remove bug-fclose1.
34264 * libio/bug-fclose1.c: Delete.
34265
f638872a
JM
342662012-12-01 Joseph Myers <joseph@codesourcery.com>
34267
34268 * manual/arith.texi (feenableexcept): Fix typo.
34269 (fedisableexcept): Likewise.
34270
48085d14
RM
342712012-11-30 Roland McGrath <roland@hack.frob.com>
34272
34273 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34274 second, differently-typed declaration, rather than a cast.
34275
1a538b9f
SP
342762012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34277
34278 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34279 * include/rpc/svc.h: ... here.
34280
d07f2ff1 342812012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34282
34283 [BZ #13013]
34284 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34285 depending n and resplen2 to catch cases where answer
34286 equals answerp2.
34287
c93ec1f0
CD
342882012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34289
34290 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34291 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34292
37db69de
MF
342932012-11-29 Mike Frysinger <vapier@gentoo.org>
34294
34295 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34296
e10c4e4f
RM
342972012-11-29 Roland McGrath <roland@hack.frob.com>
34298
34299 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34300
2af1b328
JL
343012012-11-28 Jeff Law <law@redhat.com>
34302
34303 [BZ #13761]
34304 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34305 dataset_temporary. Track alloca usage into alloca_used.
34306 If dataset is large allocate and release it via malloc/free.
34307
111db5b1
FW
343082012-06-04 Florian Weimer <fweimer@redhat.com>
34309
f06cc227 34310 [BZ #14197]
111db5b1
FW
34311 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34312
dd694abd
DM
343132012-11-28 David S. Miller <davem@davemloft.net>
34314
34315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34316
9984dd01
JM
343172012-11-28 Joseph Myers <joseph@codesourcery.com>
34318
34319 [BZ #14803]
34320 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34321 of pi/2 rounded to nearest to 64 bits.
34322 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34323 nearest to 64 bits.
34324 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34325 bits.
34326
14bc93a9
JL
343272012-11-28 Jeff Law <law@redhat.com>
34328 Martin Osvald <mosvald@redhat.com>
34329
34330 [BZ #14889]
34331 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34332 * sunrpc/svc.c: Include time.h.
34333 (__svc_accept_failed): New function.
34334 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34335 any reason other than EINTR, call __svc_accept_failed.
34336 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34337 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34338
e3c6aa3a
AS
343392012-11-28 Andreas Schwab <schwab@suse.de>
34340
34341 * scripts/abilist.awk: Also handle indirect functions in .opd
34342 section.
34343
1bead169
JM
343442012-11-28 Joseph Myers <joseph@codesourcery.com>
34345
34346 [BZ #13881]
34347 * sysdeps/x86/fpu/powl_helper.c: New file.
34348 * sysdeps/x86/fpu/Makefile: Likewise.
34349 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34350 (p3): New object.
34351 (__ieee754_powl): Use __powl_helper for finite arguments except
34352 integer exponents below 8.
34353 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34354 (p3): New object.
34355 (__ieee754_powl): Use __powl_helper for finite arguments except
34356 integer exponents below 8.
34357 * math/libm-test.inc (pow_test): Add more tests and enable some
34358 previously disabled tests.
34359 * sysdeps/i386/fpu/libm-test-ulps: Update.
34360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34361
0817d63d
SP
343622012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34363 Carlos O'Donell <carlos_odonell@mentor.com>
34364
34365 * nss/makedb.c (is_prime): Assert that input is odd and greater
34366 than 4. Note that fact in a comment too.
34367 (next_prime): Add 4 to input.
34368
de2fd463
SP
343692012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34370
34371 [BZ #11741]
34372 * libio/Makefile (tests): Add test case tst-fwrite-error.
34373 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34374 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34375 * libio/tst-fwrite-error.c: New test case.
34376
c515fb51
L
343772012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34378
34379 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34380 before casting to void *.
34381 * include/libc-internal.h (__pointer_type): New macro.
34382 (__integer_if_pointer_type_sub): Likewise.
34383 (__integer_if_pointer_type): Likewise.
34384 (cast_to_integer): Likewise.
34385 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34386 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34387 before casting to atomic64_t.
34388 (atomic_exchange_acq): Likewise.
34389 (__arch_exchange_and_add_body): Likewise.
34390 (__arch_add_body): Likewise.
34391 (atomic_add_negative): Likewise.
34392 (atomic_add_zero): Likewise.
34393
4cf77aa9
JM
343942012-11-26 Joseph Myers <joseph@codesourcery.com>
34395
34396 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34397 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34398 (add_fdes): Likewise.
34399 (linear_search_fdes): Likewise.
34400 (binary_search_unencoded_fdes): Likewise.
34401
d260b3b4
AS
344022012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34403
34404 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34405
67060746
AC
344062012-11-24 Adam Conrad <adconrad@0c3.net>
34407
34408 * configure.in: Autodetect C++ header directories.
34409 * configure: Regenerated.
34410
800938a1
MF
344112012-11-23 Mike Frysinger <vapier@gentoo.org>
34412
34413 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34414
4e6e34e6
AS
344152012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34416
34417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34418
7c7feb47
JM
344192012-11-22 Joseph Myers <joseph@codesourcery.com>
34420
7184dcdf
JM
34421 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34422 LDBL_MANT_DIG == 106]: Disable some tests.
34423 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34424 Likewise.
34425 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34426 Likewise.
34427
0a42601f
JM
34428 [BZ #14871]
34429 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34430 input for small inputs. Return +/- pi/2 for large inputs.
34431 * math/libm-test.inc (atan_test): Add more tests.
34432
79c9b9fe
JM
34433 * sysdeps/generic/unwind-dw2-fde-glibc.c
34434 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34435 __attribute__ ((unused)).
34436
c60d3bf2
JM
34437 [BZ #14645]
34438 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34439 x * y if x and y are nonzero and z is zero.
34440
ef1e0867
JM
34441 [BZ #14811]
34442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34443 nonzero exponents with absolute value below 0x1p-117 to +/-
34444 0x1p-117.
34445
1468ded3
JM
34446 [BZ #14869]
34447 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34448 up arguments below 2**-450, not just those below 2**-500.
34449 * math/libm-test.inc (hypot_test): Add another test.
34450
8e27e3cc
JM
34451 [BZ #14868]
34452 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34453 Return a+b for ratio over 2**120, not 2**60.
34454 * math/libm-test.inc (hypot_test): Add another test.
34455
c9c0279b
JM
34456 * math/libm-test.inc (clog_test): Use
34457 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34458 (clog10_test): Likewise.
34459
7c7feb47
JM
34460 [BZ #6778]
34461 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34462
fff1530e
AS
344632012-11-22 Andreas Schwab <schwab@suse.de>
34464
34465 * sysdeps/i386/fpu/libm-test-ulps: Update.
34466
94558d30
PT
344672012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34468
34469 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34470 printf output with newline.
34471
7e1be741
L
344722012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34473
6bfea974
L
34474 [BZ #14865]
34475 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34476 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34477 -z nodlopen, -z initfirst and -z execstack support.
34478 * configure: Regenerated.
34479
7e1be741
L
34480 * elf/elf.h (DF_1_NODIRECT): New macro.
34481 (DF_1_IGNMULDEF): Likewise.
34482 (DF_1_NOKSYMS): Likewise.
34483 (DF_1_NOHDR): Likewise.
34484 (DF_1_EDITED): Likewise.
34485 (DF_1_NORELOC): Likewise.
34486 (DF_1_SYMINTPOSE): Likewise.
34487 (DF_1_GLOBAUDIT): Likewise.
34488 (DF_1_SINGLETON): Likewise.
34489 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34490 DT_1_SUPPORTED_MASK bits.
34491 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34492
105ce2ce
CD
344932012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34494
34495 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34496
123be9de
TS
344972012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34498
d072f3f7
TS
34499 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34500 macro.
34501
123be9de
TS
34502 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34503 (sendmmsg): Move declarations...
34504 * socket/sys/socket.h: ... here.
34505 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34506 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34507 include it from...
34508 * socket/recvmmsg.c: ... this new file.
34509 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34510 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34511 definition of __sendmmsg hidden.
34512 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34513 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34514 Move ENOSYS stub into and include it from...
34515 * socket/sendmmsg.c: ... this new file.
34516 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34517 (sysdep_routines): Move recvmmsg and sendmmsg...
34518 * socket/Makefile (routines): ... here.
34519 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34520 (GLIBC_PRIVATE): Add __sendmmsg.
34521 * include/sys/socket.h (__sendmmsg): Add declarations.
34522 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34523 sendmmsg.
34524
cf9a5d18
JM
345252012-11-20 Joseph Myers <joseph@codesourcery.com>
34526
34527 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34528 variable I1 with __attribute__ ((unused)).
34529 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34530
ecd4caf9
JM
345312012-11-19 Joseph Myers <joseph@codesourcery.com>
34532
be14d48f
JM
34533 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34534 DUMMY variables with __attribute__ ((unused)).
34535
ecd4caf9
JM
34536 * bits/byteswap.h: Include <bits/types.h>.
34537 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34538
986cab95
PT
345392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34540
34541 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34542 string_t. Do not manually set errno.
34543 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34544 length with __strnlen. Make sure to both set errno and return it on
34545 failure.
34546
6d33cc9d
DM
345472012-11-19 David S. Miller <davem@davemloft.net>
34548
34549 With help from Joseph Myers.
34550 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34551 very large arguments properly.
34552 * math/libm-test.inc (atan_test): New tests.
34553 (atan2_test): New tests.
34554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34556
ee663277
JM
345572012-11-19 Joseph Myers <joseph@codesourcery.com>
34558
877f2d8e
JM
34559 [BZ #14856]
34560 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34561 Define to 3.
34562
116fc08a
JM
34563 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34564 [POSIX] (EADDRNOTAVAIL): Likewise.
34565 [POSIX] (EAFNOSUPPORT): Likewise.
34566 [POSIX] (EALREADY): Likewise.
34567 [POSIX] (ECONNABORTED): Likewise.
34568 [POSIX] (ECONNREFUSED): Likewise.
34569 [POSIX] (ECONNRESET): Likewise.
34570 [POSIX] (EDESTADDRREQ): Likewise.
34571 [POSIX] (EDQUOT): Likewise.
34572 [POSIX] (EHOSTUNREACH): Likewise.
34573 [POSIX] (EIDRM): Likewise.
34574 [POSIX] (EISCONN): Likewise.
34575 [POSIX] (ELOOP): Likewise.
34576 [POSIX] (EMULTIHOP): Likewise.
34577 [POSIX] (ENETDOWN): Likewise.
34578 [POSIX] (ENETUNREACH): Likewise.
34579 [POSIX] (ENOBUFS): Likewise.
34580 [POSIX] (ENODATA): Likewise.
34581 [POSIX] (ENOLINK): Likewise.
34582 [POSIX] (ENOMSG): Likewise.
34583 [POSIX] (ENOPROTOOPT): Likewise.
34584 [POSIX] (ENOSR): Likewise.
34585 [POSIX] (ENOSTR): Likewise.
34586 [POSIX] (ENOTCONN): Likewise.
34587 [POSIX] (ENOTSOCK): Likewise.
34588 [POSIX] (EOPNOTSUPP): Likewise.
34589 [POSIX] (EOVERFLOW): Likewise.
34590 [POSIX] (EPROTO): Likewise.
34591 [POSIX] (EPROTONOSUPPORT): Likewise.
34592 [POSIX] (EPROTOTYPE): Likewise.
34593 [POSIX] (ESTALE): Likewise.
34594 [POSIX] (ETIME): Likewise.
34595 [POSIX] (ETXTBSY): Likewise.
34596 [POSIX] (EWOULDBLOCK): Likewise.
34597 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34598 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34599 [POSIX] (SEEK_CUR): Likewise.
34600 [POSIX] (SEEK_END): Likewise.
34601 [POSIX || UNIX98] (mode_t): Do not require.
34602 [POSIX] (off_t): Likewise.
34603 [POSIX] (pid_t): Likewise.
34604 [POSIX] (sys/stat.h): Do not allow header.
34605 [POSIX] (unistd.h): Likewise.
34606 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34607 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34608 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34609 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34610 require.
34611 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34612 sigevent): Specify elements.
34613 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34614 entry.
34615 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34616 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34617
a483863f
JM
34618 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34619 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34620 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34621 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34622 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34623 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34624 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34625 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34626 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34627 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34628 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34629 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34630 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34631 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34632 Likewise.
34633 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34634 Likewise.
34635 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34636 Likewise.
34637 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34638 Likewise.
34639 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34640 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34641 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34642 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34643 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34644 Specify lower bound on value.
34645 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34646 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34647 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34648 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34649 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34650 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34651 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34652 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34653 value.
34654 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34655 as optional.
34656 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34657 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34658 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34659 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34660 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34661 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34662 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34663 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34664 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34665 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34666 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34667 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34668 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34669 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34670 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34671 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34672 entry.
34673 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34674 optional.
34675 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34676 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34677 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34678 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34679 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34680 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34681 Likewise.
34682 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34683 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34684 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34685 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34686 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34687 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34688 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34689 as optional.
34690 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34691 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34692 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34693 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34694 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34695 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34696 specify as optional.
34697 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34698 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34699 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34700 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34701 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34702 [XPG3] (NL_LANGMAX): Likewise.
34703 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34704 [POSIX || XPG3] (NL_NMAX): Likewise.
34705 [POSIX || XPG3] (NL_SETMAX): Likewise.
34706 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34707 [XPG3] (NZERO): Likewise.
34708 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34709 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34710 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34711 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34712 (REG_ERANGE): Expect.
34713 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34714 optional-constant.
34715 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34716 Use (void) in prototype.
34717 [POSIX] (*_t): Allow.
34718 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34719 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34720 (WRDE_BADVAL): Expect.
34721
5ba924e3
JM
34722 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34723 expect.
34724 [XPG3 || XPG4] (O_RSYNC): Likewise.
34725 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34726 Likewise.
34727 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34728 [XPG3 || XPG4] (sigqueue): Likewise.
34729 [XPG3 || XPG4] (sigtimedwait): Likewise.
34730 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34731 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34732 [XPG3 || XPG4] (vsnprintf): Likewise.
34733 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34734 Likewise.
34735 [XPG3 || XPG4] (blksize_t): Likewise.
34736 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34737 Likewise.
34738 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34739 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34740 [XPG3 || XPG4] (struct itimerspec): Likewise.
34741 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34742 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34743 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34744 [XPG3 || XPG4] (clockid_t): Likewise.
34745 [XPG3 || XPG4] (timer_t): Likewise.
34746 [XPG3 || XPG4] (clock_getres): Likewise.
34747 [XPG3 || XPG4] (clock_gettime): Likewise.
34748 [XPG3 || XPG4] (clock_settime): Likewise.
34749 [XPG3 || XPG4] (nanosleep): Likewise.
34750 [XPG3 || XPG4] (timer_create): Likewise.
34751 [XPG3 || XPG4] (timer_delete): Likewise.
34752 [XPG3 || XPG4] (timer_gettime): Likewise.
34753 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34754 [XPG3 || XPG4] (timer_settime): Likewise.
34755 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34756 [XPG3 || XPG4] (getlogin_r): Likewise.
34757 [XPG3 || XPG4] (pread): Likewise.
34758 [XPG3 || XPG4] (pthread_atfork): Likewise.
34759 [XPG3 || XPG4] (pwrite): Likewise.
34760
ee663277
JM
34761 [BZ #14835]
34762 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34763 <bits/siginfo.h>.
34764
942caa16
PT
347652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34766
e19af380
PT
34767 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34768 finalizing MALLSTREAM.
34769
942caa16
PT
34770 * sysdeps/mach/hurd/syncfs.c: New file.
34771
cfde9b46
SP
347722012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34773
34774 [BZ #14719]
34775 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34776 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34777 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34778 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34779 (_nss_dns_gethostbyname4_r): Likewise.
34780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34781 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34782
f6da27e5
PH
347832012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34784
34785 [BZ #13763]
34786 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34787
6665d4a2
SM
347882012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34789
1f51ee92
SM
34790 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34791 * elf/cache.c (print_entry): Print ",AArch64" for
34792 FLAG_AARCH64_LIB64
34793
6665d4a2
SM
34794 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34795 * elf/cache.c (print_entry): Print ",hard-float" for
34796 FLAG_ARM_LIBHF.
34797
05b227bd
DM
347982012-11-18 David S. Miller <davem@davemloft.net>
34799
34800 With help from Joseph Myers.
34801 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34802 cutoff to 2**-13.
34803 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34804 cutoff to 2**-25.
34805 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34806 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34807 small.
34808 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34809 * math/libm-test.inc (y0_test): New tests.
34810 (y1_test): New tests.
34811 * sysdeps/i386/fpu/libm-test-ulps: Update.
34812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34814
786b0b67
AS
348152012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34816
34817 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34818 64-bit targets.
34819 * configure: Regenerated.
34820
8e18b86d
DM
348212012-11-17 David S. Miller <davem@davemloft.net>
34822
34823 [BZ #14811]
34824 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34825 nonzero exponents with absolute value below 0x1p-128 to +/-
34826 0x1p-128.
34827
531f1ae0
JM
348282012-11-17 Joseph Myers <joseph@codesourcery.com>
34829
12df29e2
JM
34830 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34831
150dc1a0
JM
34832 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34833
531f1ae0
JM
34834 * posix/getconf-speclist.c: New file.
34835 * posix/posix-envs.def: Likewise.
34836 * posix/confstr.c (START_ENV_GROUP): New macro.
34837 (END_ENV_GROUP): Likewise.
34838 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34839 (KNOWN_PRESENT_ENV_STRING): Likewise.
34840 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34841 (UNKNOWN_ENVIRONMENT): Likewise.
34842 (confstr): Include posix-envs.def instead of handling
34843 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34844 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34845 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34846 (END_ENV_GROUP): Likewise.
34847 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34848 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34849 (UNKNOWN_ENVIRONMENT): Likewise.
34850 (__sysconf): Include posix-envs.def instead of handling associated
34851 cases directly here.
34852 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34853 preprocessing getconf-speclist.c rather than running getconf or
34854 generating empty file.
34855
a93f9cbc
PT
348562012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34857
34858 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34859
d64d9f87
AL
348602012-11-16 Andrej Lajovic <natrij@gmail.com>
34861
34862 [BZ #14672]
34863 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34864
447885eb
DM
348652012-11-16 David S. Miller <davem@davemloft.net>
34866
34867 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34868 smaller than LDBL_EPSILON/2.0L, just return xm1.
34869
bcbf9830
L
348702012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34871
34872 * elf/tst-array1.c (init): Set constructor priority to 1000.
34873 (fini): Set destructor priority to 1000.
34874 * elf/tst-array2dep.c: Likewise.
34875
2b766585
SP
348762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34877
34878 [BZ #11741]
34879 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34880 (_IO_new_file_xsputn): Also return EOF if none of the input
34881 data was written when overflow failed.
34882 * libio/iopadn.c (_IO_padn): Likewise.
34883 * libio/iowpadn.c (_IO_wpadn): Likewise.
34884 * stdio-common/tst-put-error.c: Add copyright notice.
34885 (do_test): Add case for printing padded string.
34886 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34887 _IO_padn returned error.
34888 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34889 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34890 return EOF.
34891
b1848fde
SP
348922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34893
34894 * libio/libioP.h: Add comment note that the references to C++
34895 bits are now obsolete.
34896
2fd89785
MS
348972012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34898
34899 * math/libm-test.inc (check_complex): Use asprintf.
34900
e3ea5409
JM
349012012-11-14 Joseph Myers <joseph@codesourcery.com>
34902
34903 * debug/pcprofiledump.c (print_version): Update copyright year.
34904 * malloc/memusagestat.c (print_version): Likewise.
34905
2e64d265
L
349062012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34907
34908 [BZ #14831]
34909 * elf/Makefile (tests): Add tst-audit8.
34910 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34911 ($(objpfx)tst-audit8.out): New target.
34912 (tst-audit8-ENV): New variable.
34913 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34914 audit if l_reloc_result is NULL.
34915 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34916 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34917 * elf/tst-audit8.c: New file.
34918
c485e4d2
MS
349192012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34920
34921 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34922 * misc/Makefile (CFLAGS-select.c): Define.
34923 * posix/Makefile (CFLAGS-pause.c): Define.
34924
3a0d900a
DM
349252012-11-13 David S. Miller <davem@davemloft.net>
34926
34927 * crypt/Makefile: Move test targets after toplevel Rules
34928 inclusion. Grab any necessary sysdep routines when linking.
34929 * crypt/md5.c (md5_process_block): Remove define, we will always
34930 name it __md5_process_block.
34931 (md5_finish_ctx): Update md5_process_block call.
34932 (md5_stream): Likewise.
34933 (md5_process_bytes): Likewise.
34934 (md5_process_block): Rename to __md5_process_block and move to ...
34935 * crypt/md5-block.c: ... here.
34936 * crypt/sha256.c (sha256_process_block): Move to ...
34937 * crypt/sha256-block.c: ... here.
34938 * crypt/sha512.c (sha512_process_block): Move to ...
34939 * crypt/sha512-block.c: ... here.
34940 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34941 path.
34942 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34943 * sysdeps/sparc/sparc64/multiarch/Makefile
34944 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34945 crypt subdir.
34946 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34947 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34948 multiarch changes.
34949 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34950 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34951 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34952 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34953 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34954 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34955 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34956 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34957 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34958 file.
34959 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34960 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34961 file.
34962 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34963
8ca89318
JM
349642012-11-13 Joseph Myers <joseph@codesourcery.com>
34965
e27d476a
JM
34966 * timezone/tzselect.ksh: Update from tzcode git revision
34967 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34968 * timezone/zdump.c: Likewise.
34969 * timezone/zic.c: Likewise.
34970 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34971 in TZVERSION setting, not $(PKGVERSION).
34972 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34973 REPORT_BUGS_TO settings.
34974
8ca89318
JM
34975 [BZ #14838]
34976 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34977 macro.
34978
47594329
MS
349792012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34980
34981 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34982 detection to immediately after _FP_ROUND().
34983 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34984 bits are 0.
34985
640ac3f1
DM
349862012-11-11 David S. Miller <davem@davemloft.net>
34987
34988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34989 inttypes.h
34990 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34991 __close rather than their public counterparts.
34992
3d2577bb
JM
349932012-11-10 Joseph Myers <joseph@codesourcery.com>
34994
34995 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34996 file.
34997 [UNIX98] (sem_timedwait): Do not expect.
34998 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34999 [XPG4 || UNIX98] (sockatmark): Do not expect.
35000 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35001 (clock_getcpuclockid): Do not expect.
35002 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35003 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35004 Do not expect.
35005 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35006 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35007 [UNIX98] (vwscanf): Likewise.
35008 [UNIX98] (vswscanf): Likewise.
35009
fb1ae1ee
JM
350102012-11-09 Joseph Myers <joseph@codesourcery.com>
35011
9ec6f8bd
JM
35012 * timezone/version.h: Remove file.
35013 * timezone/README: Do not refer to version.h.
35014 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35015 $(objpfx)version.h.
35016 ($(objpfx)zdump.o): Likewise.
c3f81911 35017 ($(objpfx)version.h): New target.
9ec6f8bd 35018
0aa8f8a1
JM
35019 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35020 2012i.
35021 * timezone/README: Don't mention modification to tzselect.ksh.
35022 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35023 work on unmodified tzselect.ksh. Substitute version numbers in
35024 tzselect.ksh.
35025
4e87147f
JM
35026 * Makefile (format-me): Remove.
35027 (INSTALL): Adjust indentation. Use commands directly instead of
35028 using $(format-me).
35029
8b748aed
JM
35030 * aclocal.m4 (ACX_PKGVERSION): New macro.
35031 (ACX_BUGURL): Likewise.
35032 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35033 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35034 (REPORT_BUGS_TO): Likewise.
35035 * configure: Regenerated.
35036 * config.h.in (PKGVERSION): New macro.
35037 (REPORT_BUGS_TO): Likewise.
35038 * config.make.in (PKGVERSION): New variable.
35039 (PKGVERSION_TEXI): Likewise.
35040 (REPORT_BUGS_TO): Likewise.
35041 (REPORT_BUGS_TEXI): Likewise.
35042 * Makefile (format-me): Use -I$(common-objpfx)manual.
35043 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35044 ($(common-objpfx)manual/%): New target.
35045 (manual/%): Remove target.
35046 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35047 (print_version): Use PKGVERSION.
35048 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35049 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35050 and REPORT_BUGS_TO.
35051 ($(objpfx)xtrace): Likewise.
35052 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35053 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35054 (print_version): Use PKGVERSION.
35055 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35056 (do_version): Use PKGVERSION.
35057 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35058 REPORT_BUGS_TO.
35059 (common-ldd-rewrite): Likewise.
35060 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35061 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35062 (print_version): Use PKGVERSION.
35063 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35064 * elf/pldd.c (argp_program_bug_address): Remove variable.
35065 (more_help): New function.
35066 (argp): Use more_help.
35067 (print_version): Use PKGVERSION.
35068 * elf/sln.c (main): Use PKGVERSION.
35069 (usage): Use REPORT_BUGS_TO.
35070 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35071 (top level): Use PKGVERSION.
35072 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35073 (print_version): Use PKGVERSION.
35074 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35075 (print_version): Use PKGVERSION.
35076 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35077 (print_version): Use PKGVERSION.
35078 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35079 (print_version): Use PKGVERSION.
35080 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35081 (print_version): Use PKGVERSION.
35082 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35083 (print_version): Use PKGVERSION.
35084 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35085 and BUGURL.
35086 ($(objpfx)memusage): Likewise.
35087 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35088 (do_version): Use PKGVERSION.
35089 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35090 (print_version): Use PKGVERSION.
35091 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35092 ($PKGVERSION): New variable.
35093 ($REPORT_BUGS_TO): Likewise.
35094 (usage): Use $REPORT_BUGS_TO.
35095 (top level): Use $PKGVERSION.
35096 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35097 ($(objpfx)pkgvers.texi): New rule.
35098 ($(objpfx)stamp-pkgvers): Likewise.
35099 * manual/install.texi: Include pkgvers.texi.
35100 (--with-pkgversion): Document new configure option.
35101 (--with-bugurl): Likewise.
35102 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35103 than necessarily for this particular distribution. Use
35104 REPORT_BUGS_TO for where to report bugs.
35105 * INSTALL: Regenerated.
35106 * manual/libc.texinfo: Include pkgvers.texi.
35107 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35108 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35109 (print_version): Use PKGVERSION.
35110 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35111 (print_version): Use PKGVERSION.
35112 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35113 (print_version): Use PKGVERSION.
35114 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35115 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35116 macro.
35117 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35118 (print_version): Use PKGVERSION.
35119 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35120 (print_version): Use PKGVERSION.
35121 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35122 and PKGVERSION.
35123
92e4b6a9
JM
35124 * timezone/checktab.awk: Update from tzcode 2012i.
35125 * timezone/ialloc.c: Likewise.
35126 * timezone/private.h: Likewise.
35127 * timezone/scheck.c: Likewise.
35128 * timezone/tzfile.h: Likewise.
35129 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35130 (TZVERSION): Hardcode tzcode version number.
35131 * timezone/zdump.c: Update from tzcode 2012i.
35132 * timezone/zic.c: Likewise.
35133 * timezone/version.h: New file.
35134 * timezone/README: Describe version.h. Update upstream location.
35135
9bde902c
JM
35136 [BZ #14824]
35137 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35138 (mktemp): Enable declaration.
35139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35143 Likewise.
35144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35145 Likewise.
35146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35147 Likewise.
35148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35149 Likewise.
35150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35151 Likewise.
35152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35153 Likewise.
35154
fb1ae1ee
JM
35155 [BZ #14821]
35156 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35157 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35158 for copies of such integer values.
35159 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35160 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35161
2c1adbcb
AJ
351622012-11-09 Andreas Jaeger <aj@suse.de>
35163
35164 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35165 definitions and declarations that are provided by
35166 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35167
d0f8457e
AK
351682012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35169
3a235abb 35170 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35171 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35172 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35173 definition.
35174
57241e26
MS
351752012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35176
35177 * elf/elf.h: Update comment before AArch64 relocations.
35178
60e8270d
DM
351792012-11-07 David S. Miller <davem@davemloft.net>
35180
35181 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35182 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35183 (__start_context): Declare.
35184 (__makecontext_ret): Delete.
35185 (__makecontext): Hook up __start_context instead of
35186 __makecontext_ret.
35187 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35188 (sysdep_routines): Add __start_context when in stdlib.
35189
0fbb0fbc
JM
351902012-11-07 Joseph Myers <joseph@codesourcery.com>
35191
35192 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35193 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35194 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35195 hardcoded "nm".
35196 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35197 (READELF): New variable. Use it instead of hardcoded "readelf".
35198
eb48db7e
L
351992012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35200
35201 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35202 * sysdeps/x86/Makefile: Here.
35203 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35204 * sysdeps/x86/tst-xmmymm.sh: This.
35205
05bcf62a
JM
352062012-11-07 Joseph Myers <joseph@codesourcery.com>
35207
c4b6cf53
JM
35208 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35209 expectations.
35210 [UNIX98] (pthread_barrier_t): Do not expect.
35211 [UNIX98] (pthread_barrierattr_t): Likewise.
35212 [UNIX98] (pthread_spinlock_t): Likewise.
35213 [UNIX98] (pthread_barrier_destroy): Likewise.
35214 [UNIX98] (pthread_barrier_init): Likewise.
35215 [UNIX98] (pthread_barrier_wait): Likewise.
35216 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35217 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35218 [UNIX98] (pthread_barrierattr_init): Likewise.
35219 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35220 [UNIX98] (pthread_getcpuclockid): Likewise.
35221 [UNIX98] (pthread_mutex_timedlock): Likewise.
35222 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35223 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35224 [UNIX98] (pthread_sigmask): Likewise.
35225 [UNIX98] (pthread_spin_destroy): Likewise.
35226 [UNIX98] (pthread_spin_init): Likewise.
35227 [UNIX98] (pthread_spin_lock): Likewise.
35228 [UNIX98] (pthread_spin_trylock): Likewise.
35229 [UNIX98] (pthread_spin_unlock): Likewise.
35230 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35231 Do not expect.
35232 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35233 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35234 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35235 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35236 [XPG3 || XPG4] (pthread_key_t): Likewise.
35237 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35238 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35239 [XPG3 || XPG4] (pthread_once_t): Likewise.
35240 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35241 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35242 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35243 [XPG3 || XPG4] (pthread_t): Likewise.
35244
cbe6e120
JM
35245 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35246 not expect.
35247 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35248
1b126443
JM
35249 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35250 Change function return type to int.
35251
b961a573
JM
35252 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35253 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35254 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35255 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35256 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35257 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35258 [!POSIX] (posix_madvise): Likewise.
35259 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35260 && !UNIX98].
35261 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35262 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35263 (mode_t): Likewise.
35264 (posix_mem_offset): Likewise.
35265 (posix_typed_mem_get_info): Likewise.
35266 (posix_typed_mem_open): Likewise.
35267
9e188909
JM
35268 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35269 Change condition to [XOPEN2K8].
35270
05bcf62a
JM
35271 * conform/conformtest.pl: Preprocess allow-header data with -x c
35272 instead of from stdin.
35273 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35274 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35275 [C99-based standards] (cerfc): Likewise.
35276 [C99-based standards] (cexp2): Likewise.
35277 [C99-based standards] (cexpm1): Likewise.
35278 [C99-based standards] (clog10): Likewise.
35279 [C99-based standards] (clog1p): Likewise.
35280 [C99-based standards] (clog2): Likewise.
35281 [C99-based standards] (clgamma): Likewise.
35282 [C99-based standards] (ctgamma): Likewise.
35283 [C99-based standards] (cerff): Likewise.
35284 [C99-based standards] (cerfcf): Likewise.
35285 [C99-based standards] (cexp2f): Likewise.
35286 [C99-based standards] (cexpm1f): Likewise.
35287 [C99-based standards] (clog10f): Likewise.
35288 [C99-based standards] (clog1pf): Likewise.
35289 [C99-based standards] (clog2f): Likewise.
35290 [C99-based standards] (clgammaf): Likewise.
35291 [C99-based standards] (ctgammaf): Likewise.
35292 [C99-based standards] (cerfl): Likewise.
35293 [C99-based standards] (cerfcl): Likewise.
35294 [C99-based standards] (cexp2l): Likewise.
35295 [C99-based standards] (cexpm1l): Likewise.
35296 [C99-based standards] (clog10l): Likewise.
35297 [C99-based standards] (clog1pl): Likewise.
35298 [C99-based standards] (clog2l): Likewise.
35299 [C99-based standards] (clgammal): Likewise.
35300 [C99-based standards] (ctgammal): Likewise.
35301 * conform/data/inttypes.h-data [C99-based standards]: Include
35302 stdint.h-data. Remove all expectations for stdint.h contents.
35303 [C99-based standards] (PRI*): Do not allow.
35304 [C99-based standards] (SCN*): Likewise.
35305 [C99-based standards] (*_t): Likewise.
35306 [C99-based-standards] (PRId8): Expect macro.
35307 [C99-based-standards] (PRIi8): Likewise.
35308 [C99-based-standards] (PRIo8): Likewise.
35309 [C99-based-standards] (PRIu8): Likewise.
35310 [C99-based-standards] (PRIx8): Likewise.
35311 [C99-based-standards] (PRIX8): Likewise.
35312 [C99-based-standards] (SCNd8): Likewise.
35313 [C99-based-standards] (SCNi8): Likewise.
35314 [C99-based-standards] (SCNo8): Likewise.
35315 [C99-based-standards] (SCNu8): Likewise.
35316 [C99-based-standards] (SCNx8): Likewise.
35317 [C99-based-standards] (PRIdLEAST8): Likewise.
35318 [C99-based-standards] (PRIiLEAST8): Likewise.
35319 [C99-based-standards] (PRIoLEAST8): Likewise.
35320 [C99-based-standards] (PRIuLEAST8): Likewise.
35321 [C99-based-standards] (PRIxLEAST8): Likewise.
35322 [C99-based-standards] (PRIXLEAST8): Likewise.
35323 [C99-based-standards] (SCNdLEAST8): Likewise.
35324 [C99-based-standards] (SCNiLEAST8): Likewise.
35325 [C99-based-standards] (SCNoLEAST8): Likewise.
35326 [C99-based-standards] (SCNuLEAST8): Likewise.
35327 [C99-based-standards] (SCNxLEAST8): Likewise.
35328 [C99-based-standards] (PRIdFAST8): Likewise.
35329 [C99-based-standards] (PRIiFAST8): Likewise.
35330 [C99-based-standards] (PRIoFAST8): Likewise.
35331 [C99-based-standards] (PRIuFAST8): Likewise.
35332 [C99-based-standards] (PRIxFAST8): Likewise.
35333 [C99-based-standards] (PRIXFAST8): Likewise.
35334 [C99-based-standards] (SCNdFAST8): Likewise.
35335 [C99-based-standards] (SCNiFAST8): Likewise.
35336 [C99-based-standards] (SCNoFAST8): Likewise.
35337 [C99-based-standards] (SCNuFAST8): Likewise.
35338 [C99-based-standards] (SCNxFAST8): Likewise.
35339 [C99-based-standards] (PRId16): Likewise.
35340 [C99-based-standards] (PRIi16): Likewise.
35341 [C99-based-standards] (PRIo16): Likewise.
35342 [C99-based-standards] (PRIu16): Likewise.
35343 [C99-based-standards] (PRIx16): Likewise.
35344 [C99-based-standards] (PRIX16): Likewise.
35345 [C99-based-standards] (SCNd16): Likewise.
35346 [C99-based-standards] (SCNi16): Likewise.
35347 [C99-based-standards] (SCNo16): Likewise.
35348 [C99-based-standards] (SCNu16): Likewise.
35349 [C99-based-standards] (SCNx16): Likewise.
35350 [C99-based-standards] (PRIdLEAST16): Likewise.
35351 [C99-based-standards] (PRIiLEAST16): Likewise.
35352 [C99-based-standards] (PRIoLEAST16): Likewise.
35353 [C99-based-standards] (PRIuLEAST16): Likewise.
35354 [C99-based-standards] (PRIxLEAST16): Likewise.
35355 [C99-based-standards] (PRIXLEAST16): Likewise.
35356 [C99-based-standards] (SCNdLEAST16): Likewise.
35357 [C99-based-standards] (SCNiLEAST16): Likewise.
35358 [C99-based-standards] (SCNoLEAST16): Likewise.
35359 [C99-based-standards] (SCNuLEAST16): Likewise.
35360 [C99-based-standards] (SCNxLEAST16): Likewise.
35361 [C99-based-standards] (PRIdFAST16): Likewise.
35362 [C99-based-standards] (PRIiFAST16): Likewise.
35363 [C99-based-standards] (PRIoFAST16): Likewise.
35364 [C99-based-standards] (PRIuFAST16): Likewise.
35365 [C99-based-standards] (PRIxFAST16): Likewise.
35366 [C99-based-standards] (PRIXFAST16): Likewise.
35367 [C99-based-standards] (SCNdFAST16): Likewise.
35368 [C99-based-standards] (SCNiFAST16): Likewise.
35369 [C99-based-standards] (SCNoFAST16): Likewise.
35370 [C99-based-standards] (SCNuFAST16): Likewise.
35371 [C99-based-standards] (SCNxFAST16): Likewise.
35372 [C99-based-standards] (PRId32): Likewise.
35373 [C99-based-standards] (PRIi32): Likewise.
35374 [C99-based-standards] (PRIo32): Likewise.
35375 [C99-based-standards] (PRIu32): Likewise.
35376 [C99-based-standards] (PRIx32): Likewise.
35377 [C99-based-standards] (PRIX32): Likewise.
35378 [C99-based-standards] (SCNd32): Likewise.
35379 [C99-based-standards] (SCNi32): Likewise.
35380 [C99-based-standards] (SCNo32): Likewise.
35381 [C99-based-standards] (SCNu32): Likewise.
35382 [C99-based-standards] (SCNx32): Likewise.
35383 [C99-based-standards] (PRIdLEAST32): Likewise.
35384 [C99-based-standards] (PRIiLEAST32): Likewise.
35385 [C99-based-standards] (PRIoLEAST32): Likewise.
35386 [C99-based-standards] (PRIuLEAST32): Likewise.
35387 [C99-based-standards] (PRIxLEAST32): Likewise.
35388 [C99-based-standards] (PRIXLEAST32): Likewise.
35389 [C99-based-standards] (SCNdLEAST32): Likewise.
35390 [C99-based-standards] (SCNiLEAST32): Likewise.
35391 [C99-based-standards] (SCNoLEAST32): Likewise.
35392 [C99-based-standards] (SCNuLEAST32): Likewise.
35393 [C99-based-standards] (SCNxLEAST32): Likewise.
35394 [C99-based-standards] (PRIdFAST32): Likewise.
35395 [C99-based-standards] (PRIiFAST32): Likewise.
35396 [C99-based-standards] (PRIoFAST32): Likewise.
35397 [C99-based-standards] (PRIuFAST32): Likewise.
35398 [C99-based-standards] (PRIxFAST32): Likewise.
35399 [C99-based-standards] (PRIXFAST32): Likewise.
35400 [C99-based-standards] (SCNdFAST32): Likewise.
35401 [C99-based-standards] (SCNiFAST32): Likewise.
35402 [C99-based-standards] (SCNoFAST32): Likewise.
35403 [C99-based-standards] (SCNuFAST32): Likewise.
35404 [C99-based-standards] (SCNxFAST32): Likewise.
35405 [C99-based-standards] (PRId64): Likewise.
35406 [C99-based-standards] (PRIi64): Likewise.
35407 [C99-based-standards] (PRIo64): Likewise.
35408 [C99-based-standards] (PRIu64): Likewise.
35409 [C99-based-standards] (PRIx64): Likewise.
35410 [C99-based-standards] (PRIX64): Likewise.
35411 [C99-based-standards] (SCNd64): Likewise.
35412 [C99-based-standards] (SCNi64): Likewise.
35413 [C99-based-standards] (SCNo64): Likewise.
35414 [C99-based-standards] (SCNu64): Likewise.
35415 [C99-based-standards] (SCNx64): Likewise.
35416 [C99-based-standards] (PRIdLEAST64): Likewise.
35417 [C99-based-standards] (PRIiLEAST64): Likewise.
35418 [C99-based-standards] (PRIoLEAST64): Likewise.
35419 [C99-based-standards] (PRIuLEAST64): Likewise.
35420 [C99-based-standards] (PRIxLEAST64): Likewise.
35421 [C99-based-standards] (PRIXLEAST64): Likewise.
35422 [C99-based-standards] (SCNdLEAST64): Likewise.
35423 [C99-based-standards] (SCNiLEAST64): Likewise.
35424 [C99-based-standards] (SCNoLEAST64): Likewise.
35425 [C99-based-standards] (SCNuLEAST64): Likewise.
35426 [C99-based-standards] (SCNxLEAST64): Likewise.
35427 [C99-based-standards] (PRIdFAST64): Likewise.
35428 [C99-based-standards] (PRIiFAST64): Likewise.
35429 [C99-based-standards] (PRIoFAST64): Likewise.
35430 [C99-based-standards] (PRIuFAST64): Likewise.
35431 [C99-based-standards] (PRIxFAST64): Likewise.
35432 [C99-based-standards] (PRIXFAST64): Likewise.
35433 [C99-based-standards] (SCNdFAST64): Likewise.
35434 [C99-based-standards] (SCNiFAST64): Likewise.
35435 [C99-based-standards] (SCNoFAST64): Likewise.
35436 [C99-based-standards] (SCNuFAST64): Likewise.
35437 [C99-based-standards] (SCNxFAST64): Likewise.
35438 [C99-based-standards] (PRIdMAX): Likewise.
35439 [C99-based-standards] (PRIiMAX): Likewise.
35440 [C99-based-standards] (PRIoMAX): Likewise.
35441 [C99-based-standards] (PRIuMAX): Likewise.
35442 [C99-based-standards] (PRIxMAX): Likewise.
35443 [C99-based-standards] (PRIXMAX): Likewise.
35444 [C99-based-standards] (SCNdMAX): Likewise.
35445 [C99-based-standards] (SCNiMAX): Likewise.
35446 [C99-based-standards] (SCNoMAX): Likewise.
35447 [C99-based-standards] (SCNuMAX): Likewise.
35448 [C99-based-standards] (SCNxMAX): Likewise.
35449 [C99-based-standards] (PRIdPTR): Likewise.
35450 [C99-based-standards] (PRIiPTR): Likewise.
35451 [C99-based-standards] (PRIoPTR): Likewise.
35452 [C99-based-standards] (PRIuPTR): Likewise.
35453 [C99-based-standards] (PRIxPTR): Likewise.
35454 [C99-based-standards] (PRIXPTR): Likewise.
35455 [C99-based-standards] (SCNdPTR): Likewise.
35456 [C99-based-standards] (SCNiPTR): Likewise.
35457 [C99-based-standards] (SCNoPTR): Likewise.
35458 [C99-based-standards] (SCNuPTR): Likewise.
35459 [C99-based-standards] (SCNxPTR): Likewise.
35460 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35461 allow.
35462 * conform/data/stdint.h-data: Update comments to clarify
35463 requirements.
35464 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35465 type.
35466 [C99-based standards] (INT8_MAX): Likewise.
35467 [C99-based standards] (INT16_MIN): Likewise.
35468 [C99-based standards] (INT16_MAX): Likewise.
35469 [C99-based standards] (INT32_MIN): Likewise.
35470 [C99-based standards] (INT32_MAX): Likewise.
35471 [C99-based standards] (INT64_MIN): Likewise.
35472 [C99-based standards] (INT64_MAX): Likewise.
35473 [C99-based standards] (UINT8_MAX): Likewise.
35474 [C99-based standards] (UINT16_MAX): Likewise.
35475 [C99-based standards] (UINT32_MAX): Likewise.
35476 [C99-based standards] (UINT64_MAX): Likewise.
35477 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35478 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35479 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35480 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35481 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35482 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35483 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35484 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35485 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35486 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35487 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35488 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35489 [C99-based standards] (INT_FAST8_MIN): Likewise.
35490 [C99-based standards] (INT_FAST8_MAX): Likewise.
35491 [C99-based standards] (INT_FAST16_MIN): Likewise.
35492 [C99-based standards] (INT_FAST16_MAX): Likewise.
35493 [C99-based standards] (INT_FAST32_MIN): Likewise.
35494 [C99-based standards] (INT_FAST32_MAX): Likewise.
35495 [C99-based standards] (INT_FAST64_MIN): Likewise.
35496 [C99-based standards] (INT_FAST64_MAX): Likewise.
35497 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35498 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35499 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35500 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35501 [C99-based standards] (INTPTR_MIN): Likewise.
35502 [C99-based standards] (INTPTR_MAX): Likewise.
35503 [C99-based standards] (UINTPTR_MAX): Likewise.
35504 [C99-based standards] (INTMAX_MIN): Likewise.
35505 [C99-based standards] (INTMAX_MAX): Likewise.
35506 [C99-based standards] (UINTMAX_MAX): Likewise.
35507 [C99-based standards] (PTRDIFF_MIN): Likewise.
35508 [C99-based standards] (PTRDIFF_MAX): Likewise.
35509 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35510 [C99-based standards] (SIZE_MAX): Likewise.
35511 [C99-based standards] (WCHAR_MAX): Likewise.
35512 [C99-based standards] (WINT_MAX): Likewise.
35513 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35514 constraint on value.
35515 [C99-based standards] (WCHAR_MIN): Likewise.
35516 [C99-based standards] (WINT_MIN): Likewise.
35517 [C99-based standards] (*_t): Allow.
35518 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35519 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35520 Include math.h-data and complex.h-data. Remove all expectations
35521 of math.h and complex.h contents.
35522 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35523 at end of line.
35524 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35525 (struct tm): Expect tag.
35526 [C99-based-standards] (wcstof): Expect function.
35527 [C99-based-standards] (wcstold): Likewise.
35528 [C99-based-standards] (wcstoll): Likewise.
35529 [C99-based-standards] (wcstoull): Likewise.
35530 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35531 macro-int-constant. Specify type.
35532 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35533 constraint on value.
35534 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35535 Specify type.
35536 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35537 Specify value.
35538 [ISO C standards]: Do not allow headers.
35539 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35540 wcs[abcdefghijklmnopqrstuvwxyz]*.
35541 [ISO C standards] (*_t): Do not allow.
35542 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35543 Expect function.
35544 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35545 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35546 Specify type.
35547 [ISO C standards]: Do not allow headers.
35548 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35549 is[abcdefghijklmnopqrstuvwxyz]*.
35550 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35551 to[abcdefghijklmnopqrstuvwxyz]*.
35552 [ISO C standards] (*_t): Do not allow.
35553 * conform/data/stdalign.h-data: New file.
35554 * conform/data/stdbool.h-data: Likewise.
35555 * conform/data/stdnoreturn.h-data: Likewise.
35556
7514feb8
RM
355572012-11-07 Roland McGrath <roland@hack.frob.com>
35558
35559 [BZ #14815]
35560 * manual/filesys.texi (Directory Entries): Typo fix.
35561 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35562
19b2ecfc
MS
355632012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35564
35565 * elf/elf.h (EM_AARCH64): New macro.
35566 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35567 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35568 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35569 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35570 (R_AARCH64_TLSDESC): Likewise.
35571 (NT_ARM_TLS): Likewise.
35572 (NT_ARM_HW_BREAK): Likewise.
35573 (NT_ARM_HW_WATCH): Likewise.
35574
60e235ee
JM
355752012-11-07 Joseph Myers <joseph@codesourcery.com>
35576
35577 [BZ #14811]
35578 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35579 (__ieee754_powl): Saturate nonzero exponents with absolute value
35580 below 0x1p-79 to +/- 0x1p-79.
35581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35582 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35583 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35584 nonzero exponents with absolute value below 0x1p-32 to +/-
35585 0x1p-32.
35586 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35587 (__ieee754_powl): Saturate nonzero exponents with absolute value
35588 below 0x1p-79 to +/- 0x1p-79.
35589 * math/libm-test.inc (pow_test): Add more tests.
35590
0ab234b7
AK
355912012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35592
35593 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35594 _dl_s390_cap_flags with kernel. Increase string length.
35595 (_dl_s390_platforms): Add z196 and zEC12.
35596
45832f74
JM
355972012-11-07 Joseph Myers <joseph@codesourcery.com>
35598
35599 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35600 Change XOPEN21K to XOPEN2K.
35601
19218757
MK
356022012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35603
35604 * string/memmove.c: Use memcpy when possible.
35605
c5f45721
AJ
356062012-11-06 Andreas Jaeger <aj@suse.de>
35607
35608 * po/eo.po: Update from translation team.
35609
82477c28
JM
356102012-11-06 Joseph Myers <joseph@codesourcery.com>
35611
35612 [BZ #14793]
35613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35614 exponent and small x and y exponents, scale x or y up. Increase
35615 by 2 the exponent used in scaling up.
35616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35618 * math/libm-test.inc (fma_test): Add more tests.
35619 (fma_test_towardzero): Likewise.
35620 (fma_test_downward): Likewise.
35621 (fma_test_upward): Likewise.
35622
99252c8c
JM
356232012-11-05 Joseph Myers <joseph@codesourcery.com>
35624
acfa885f
JM
35625 [BZ #14805]
35626 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35627 fenv_t *.
35628
99252c8c
JM
35629 [BZ #14801]
35630 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35631 namespace for names of struct fields.
35632 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35633 fenv_t fields.
35634 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35635 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35636
d6d98dea
ST
356372012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35638
35639 [BZ #3665]
35640 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35641
e10bb107
TS
356422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35643
35644 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35645 PTR_DEMANGLE.
35646
35647 [BZ #5246]
35648 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35649 PTR_DEMANGLE.
35650
a0c2940d
JM
356512012-11-04 Joseph Myers <joseph@codesourcery.com>
35652
35653 [BZ #14797]
35654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35655 definitely overflow as x * y not x * y + z.
35656 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35657 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35658 * math/libm-test.inc (fma_test): Add more tests.
35659 (fma_test_towardzero): Likewise.
35660 (fma_test_downward): Likewise.
35661 (fma_test_upward): Likewise.
35662
b830319d
TS
356632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35664
35665 [BZ #157]
35666
35667 * include/stub-tag.h: Remove file.
35668 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35669 '#include' of it.
35670 * manual/maint.texi (Porting): Don't reference it.
35671 * Makerules ($(objpfx)stubs): Likewise.
35672 * dirent/closedir.c: Don't include <stub-tag.h>.
35673 * dirent/dirfd.c: Likewise.
35674 * dirent/fdopendir.c: Likewise.
35675 * dirent/getdents.c: Likewise.
35676 * dirent/getdents64.c: Likewise.
35677 * dirent/opendir.c: Likewise.
35678 * dirent/readdir.c: Likewise.
35679 * dirent/readdir64.c: Likewise.
35680 * dirent/readdir64_r.c: Likewise.
35681 * dirent/readdir_r.c: Likewise.
35682 * dirent/rewinddir.c: Likewise.
35683 * dirent/seekdir.c: Likewise.
35684 * dirent/telldir.c: Likewise.
35685 * gmon/profil.c: Likewise.
35686 * grp/setgroups.c: Likewise.
35687 * inet/if_index.c: Likewise.
35688 * io/access.c: Likewise.
35689 * io/chdir.c: Likewise.
35690 * io/chmod.c: Likewise.
35691 * io/chown.c: Likewise.
35692 * io/close.c: Likewise.
35693 * io/dup.c: Likewise.
35694 * io/dup2.c: Likewise.
35695 * io/dup3.c: Likewise.
35696 * io/euidaccess.c: Likewise.
35697 * io/faccessat.c: Likewise.
35698 * io/fchdir.c: Likewise.
35699 * io/fchmod.c: Likewise.
35700 * io/fchmodat.c: Likewise.
35701 * io/fchown.c: Likewise.
35702 * io/fchownat.c: Likewise.
35703 * io/fcntl.c: Likewise.
35704 * io/flock.c: Likewise.
35705 * io/fstatfs.c: Likewise.
35706 * io/fstatfs64.c: Likewise.
35707 * io/fstatvfs.c: Likewise.
35708 * io/fstatvfs64.c: Likewise.
35709 * io/futimens.c: Likewise.
35710 * io/fxstat.c: Likewise.
35711 * io/fxstat64.c: Likewise.
35712 * io/fxstatat.c: Likewise.
35713 * io/fxstatat64.c: Likewise.
35714 * io/getcwd.c: Likewise.
35715 * io/isatty.c: Likewise.
35716 * io/lchmod.c: Likewise.
35717 * io/lchown.c: Likewise.
35718 * io/link.c: Likewise.
35719 * io/linkat.c: Likewise.
35720 * io/lseek.c: Likewise.
35721 * io/lseek64.c: Likewise.
35722 * io/lxstat64.c: Likewise.
35723 * io/mkdir.c: Likewise.
35724 * io/mkdirat.c: Likewise.
35725 * io/mkfifo.c: Likewise.
35726 * io/mkfifoat.c: Likewise.
35727 * io/open.c: Likewise.
35728 * io/open64.c: Likewise.
35729 * io/openat.c: Likewise.
35730 * io/openat64.c: Likewise.
35731 * io/pipe.c: Likewise.
35732 * io/pipe2.c: Likewise.
35733 * io/poll.c: Likewise.
35734 * io/posix_fadvise.c: Likewise.
35735 * io/posix_fadvise64.c: Likewise.
35736 * io/posix_fallocate.c: Likewise.
35737 * io/posix_fallocate64.c: Likewise.
35738 * io/read.c: Likewise.
35739 * io/readlink.c: Likewise.
35740 * io/readlinkat.c: Likewise.
35741 * io/rmdir.c: Likewise.
35742 * io/sendfile.c: Likewise.
35743 * io/sendfile64.c: Likewise.
35744 * io/statfs.c: Likewise.
35745 * io/statfs64.c: Likewise.
35746 * io/statvfs.c: Likewise.
35747 * io/statvfs64.c: Likewise.
35748 * io/symlink.c: Likewise.
35749 * io/symlinkat.c: Likewise.
35750 * io/ttyname.c: Likewise.
35751 * io/ttyname_r.c: Likewise.
35752 * io/umask.c: Likewise.
35753 * io/unlink.c: Likewise.
35754 * io/unlinkat.c: Likewise.
35755 * io/utime.c: Likewise.
35756 * io/utimensat.c: Likewise.
35757 * io/write.c: Likewise.
35758 * io/xmknod.c: Likewise.
35759 * io/xmknodat.c: Likewise.
35760 * io/xstat.c: Likewise.
35761 * io/xstat64.c: Likewise.
35762 * login/getpt.c: Likewise.
35763 * login/grantpt.c: Likewise.
35764 * login/unlockpt.c: Likewise.
35765 * math/e_acoshl.c: Likewise.
35766 * math/e_acosl.c: Likewise.
35767 * math/e_asinl.c: Likewise.
35768 * math/e_atan2l.c: Likewise.
35769 * math/e_atanhl.c: Likewise.
35770 * math/e_coshl.c: Likewise.
35771 * math/e_expl.c: Likewise.
35772 * math/e_fmodl.c: Likewise.
35773 * math/e_gammal_r.c: Likewise.
35774 * math/e_hypotl.c: Likewise.
35775 * math/e_j0l.c: Likewise.
35776 * math/e_j1l.c: Likewise.
35777 * math/e_jnl.c: Likewise.
35778 * math/e_lgammal_r.c: Likewise.
35779 * math/e_log10l.c: Likewise.
35780 * math/e_log2l.c: Likewise.
35781 * math/e_logl.c: Likewise.
35782 * math/e_powl.c: Likewise.
35783 * math/e_rem_pio2l.c: Likewise.
35784 * math/e_sinhl.c: Likewise.
35785 * math/e_sqrtl.c: Likewise.
35786 * math/fclrexcpt.c: Likewise.
35787 * math/fedisblxcpt.c: Likewise.
35788 * math/feenablxcpt.c: Likewise.
35789 * math/fegetenv.c: Likewise.
35790 * math/fegetexcept.c: Likewise.
35791 * math/fegetround.c: Likewise.
35792 * math/feholdexcpt.c: Likewise.
35793 * math/fesetenv.c: Likewise.
35794 * math/fesetround.c: Likewise.
35795 * math/feupdateenv.c: Likewise.
35796 * math/fgetexcptflg.c: Likewise.
35797 * math/fraiseexcpt.c: Likewise.
35798 * math/fsetexcptflg.c: Likewise.
35799 * math/ftestexcept.c: Likewise.
35800 * math/k_cosl.c: Likewise.
35801 * math/k_rem_pio2l.c: Likewise.
35802 * math/k_sinl.c: Likewise.
35803 * math/k_tanl.c: Likewise.
35804 * math/s_asinhl.c: Likewise.
35805 * math/s_atanl.c: Likewise.
35806 * math/s_cbrtl.c: Likewise.
35807 * math/s_erfl.c: Likewise.
35808 * math/s_expm1l.c: Likewise.
35809 * math/s_log1pl.c: Likewise.
35810 * math/s_tanhl.c: Likewise.
35811 * misc/acct.c: Likewise.
35812 * misc/brk.c: Likewise.
35813 * misc/chflags.c: Likewise.
35814 * misc/chroot.c: Likewise.
35815 * misc/fchflags.c: Likewise.
35816 * misc/fgetxattr.c: Likewise.
35817 * misc/flistxattr.c: Likewise.
35818 * misc/fremovexattr.c: Likewise.
35819 * misc/fsetxattr.c: Likewise.
35820 * misc/fsync.c: Likewise.
35821 * misc/ftruncate.c: Likewise.
35822 * misc/futimes.c: Likewise.
35823 * misc/futimesat.c: Likewise.
35824 * misc/getdomain.c: Likewise.
35825 * misc/getdtsz.c: Likewise.
35826 * misc/gethostid.c: Likewise.
35827 * misc/gethostname.c: Likewise.
35828 * misc/getloadavg.c: Likewise.
35829 * misc/getpagesize.c: Likewise.
35830 * misc/getsysstats.c: Likewise.
35831 * misc/getxattr.c: Likewise.
35832 * misc/gtty.c: Likewise.
35833 * misc/ioctl.c: Likewise.
35834 * misc/lgetxattr.c: Likewise.
35835 * misc/listxattr.c: Likewise.
35836 * misc/llistxattr.c: Likewise.
35837 * misc/lremovexattr.c: Likewise.
35838 * misc/lsetxattr.c: Likewise.
35839 * misc/lutimes.c: Likewise.
35840 * misc/madvise.c: Likewise.
35841 * misc/mincore.c: Likewise.
35842 * misc/mlock.c: Likewise.
35843 * misc/mlockall.c: Likewise.
35844 * misc/mmap.c: Likewise.
35845 * misc/mprotect.c: Likewise.
35846 * misc/msync.c: Likewise.
35847 * misc/munlock.c: Likewise.
35848 * misc/munlockall.c: Likewise.
35849 * misc/munmap.c: Likewise.
35850 * misc/preadv.c: Likewise.
35851 * misc/preadv64.c: Likewise.
35852 * misc/ptrace.c: Likewise.
35853 * misc/pwritev.c: Likewise.
35854 * misc/pwritev64.c: Likewise.
35855 * misc/readv.c: Likewise.
35856 * misc/reboot.c: Likewise.
35857 * misc/remap_file_pages.c: Likewise.
35858 * misc/removexattr.c: Likewise.
35859 * misc/revoke.c: Likewise.
35860 * misc/select.c: Likewise.
35861 * misc/setdomain.c: Likewise.
35862 * misc/setegid.c: Likewise.
35863 * misc/seteuid.c: Likewise.
35864 * misc/sethostid.c: Likewise.
35865 * misc/sethostname.c: Likewise.
35866 * misc/setregid.c: Likewise.
35867 * misc/setreuid.c: Likewise.
35868 * misc/setxattr.c: Likewise.
35869 * misc/sstk.c: Likewise.
35870 * misc/stty.c: Likewise.
35871 * misc/swapoff.c: Likewise.
35872 * misc/swapon.c: Likewise.
35873 * misc/sync.c: Likewise.
35874 * misc/syncfs.c: Likewise.
35875 * misc/syscall.c: Likewise.
35876 * misc/truncate.c: Likewise.
35877 * misc/ualarm.c: Likewise.
35878 * misc/usleep.c: Likewise.
35879 * misc/ustat.c: Likewise.
35880 * misc/utimes.c: Likewise.
35881 * misc/vhangup.c: Likewise.
35882 * misc/writev.c: Likewise.
35883 * posix/_exit.c: Likewise.
35884 * posix/alarm.c: Likewise.
35885 * posix/execve.c: Likewise.
35886 * posix/fexecve.c: Likewise.
35887 * posix/fork.c: Likewise.
35888 * posix/fpathconf.c: Likewise.
35889 * posix/getaddrinfo.c: Likewise.
35890 * posix/getegid.c: Likewise.
35891 * posix/geteuid.c: Likewise.
35892 * posix/getgid.c: Likewise.
35893 * posix/getgroups.c: Likewise.
35894 * posix/getlogin.c: Likewise.
35895 * posix/getlogin_r.c: Likewise.
35896 * posix/getpgid.c: Likewise.
35897 * posix/getpid.c: Likewise.
35898 * posix/getppid.c: Likewise.
35899 * posix/getresgid.c: Likewise.
35900 * posix/getresuid.c: Likewise.
35901 * posix/getsid.c: Likewise.
35902 * posix/getuid.c: Likewise.
35903 * posix/glob64.c: Likewise.
35904 * posix/nanosleep.c: Likewise.
35905 * posix/pathconf.c: Likewise.
35906 * posix/pause.c: Likewise.
35907 * posix/posix_madvise.c: Likewise.
35908 * posix/pread.c: Likewise.
35909 * posix/pread64.c: Likewise.
35910 * posix/pwrite.c: Likewise.
35911 * posix/pwrite64.c: Likewise.
35912 * posix/sched_getaffinity.c: Likewise.
35913 * posix/sched_getp.c: Likewise.
35914 * posix/sched_gets.c: Likewise.
35915 * posix/sched_primax.c: Likewise.
35916 * posix/sched_primin.c: Likewise.
35917 * posix/sched_rr_gi.c: Likewise.
35918 * posix/sched_setaffinity.c: Likewise.
35919 * posix/sched_setp.c: Likewise.
35920 * posix/sched_sets.c: Likewise.
35921 * posix/sched_yield.c: Likewise.
35922 * posix/setgid.c: Likewise.
35923 * posix/setlogin.c: Likewise.
35924 * posix/setpgid.c: Likewise.
35925 * posix/setresgid.c: Likewise.
35926 * posix/setresuid.c: Likewise.
35927 * posix/setsid.c: Likewise.
35928 * posix/setuid.c: Likewise.
35929 * posix/sleep.c: Likewise.
35930 * posix/spawni.c: Likewise.
35931 * posix/sysconf.c: Likewise.
35932 * posix/times.c: Likewise.
35933 * posix/wait.c: Likewise.
35934 * posix/wait3.c: Likewise.
35935 * posix/wait4.c: Likewise.
35936 * posix/waitpid.c: Likewise.
35937 * resolv/gai_sigqueue.c: Likewise.
35938 * resource/getpriority.c: Likewise.
35939 * resource/getrlimit.c: Likewise.
35940 * resource/getrusage.c: Likewise.
35941 * resource/nice.c: Likewise.
35942 * resource/setpriority.c: Likewise.
35943 * resource/setrlimit.c: Likewise.
35944 * resource/ulimit.c: Likewise.
35945 * rt/aio_cancel.c: Likewise.
35946 * rt/aio_fsync.c: Likewise.
35947 * rt/aio_read.c: Likewise.
35948 * rt/aio_sigqueue.c: Likewise.
35949 * rt/aio_suspend.c: Likewise.
35950 * rt/aio_write.c: Likewise.
35951 * rt/clock_getres.c: Likewise.
35952 * rt/clock_gettime.c: Likewise.
35953 * rt/clock_nanosleep.c: Likewise.
35954 * rt/clock_settime.c: Likewise.
35955 * rt/lio_listio.c: Likewise.
35956 * rt/mq_close.c: Likewise.
35957 * rt/mq_getattr.c: Likewise.
35958 * rt/mq_notify.c: Likewise.
35959 * rt/mq_open.c: Likewise.
35960 * rt/mq_receive.c: Likewise.
35961 * rt/mq_send.c: Likewise.
35962 * rt/mq_setattr.c: Likewise.
35963 * rt/mq_timedreceive.c: Likewise.
35964 * rt/mq_timedsend.c: Likewise.
35965 * rt/mq_unlink.c: Likewise.
35966 * rt/shm_open.c: Likewise.
35967 * rt/shm_unlink.c: Likewise.
35968 * rt/timer_create.c: Likewise.
35969 * rt/timer_delete.c: Likewise.
35970 * rt/timer_getoverr.c: Likewise.
35971 * rt/timer_gettime.c: Likewise.
35972 * rt/timer_settime.c: Likewise.
35973 * setjmp/__longjmp.c: Likewise.
35974 * setjmp/setjmp.c: Likewise.
35975 * signal/kill.c: Likewise.
35976 * signal/killpg.c: Likewise.
35977 * signal/raise.c: Likewise.
35978 * signal/sigaction.c: Likewise.
35979 * signal/sigaltstack.c: Likewise.
35980 * signal/sigblock.c: Likewise.
35981 * signal/sigignore.c: Likewise.
35982 * signal/sigintr.c: Likewise.
35983 * signal/signal.c: Likewise.
35984 * signal/sigpause.c: Likewise.
35985 * signal/sigpending.c: Likewise.
35986 * signal/sigqueue.c: Likewise.
35987 * signal/sigreturn.c: Likewise.
35988 * signal/sigset.c: Likewise.
35989 * signal/sigsetmask.c: Likewise.
35990 * signal/sigstack.c: Likewise.
35991 * signal/sigsuspend.c: Likewise.
35992 * signal/sigtimedwait.c: Likewise.
35993 * signal/sigvec.c: Likewise.
35994 * signal/sigwait.c: Likewise.
35995 * signal/sigwaitinfo.c: Likewise.
35996 * signal/sysv_signal.c: Likewise.
35997 * socket/accept.c: Likewise.
35998 * socket/accept4.c: Likewise.
35999 * socket/bind.c: Likewise.
36000 * socket/connect.c: Likewise.
36001 * socket/getpeername.c: Likewise.
36002 * socket/getsockname.c: Likewise.
36003 * socket/getsockopt.c: Likewise.
36004 * socket/isfdtype.c: Likewise.
36005 * socket/listen.c: Likewise.
36006 * socket/recv.c: Likewise.
36007 * socket/recvfrom.c: Likewise.
36008 * socket/recvmsg.c: Likewise.
36009 * socket/send.c: Likewise.
36010 * socket/sendmsg.c: Likewise.
36011 * socket/sendto.c: Likewise.
36012 * socket/setsockopt.c: Likewise.
36013 * socket/shutdown.c: Likewise.
36014 * socket/sockatmark.c: Likewise.
36015 * socket/socket.c: Likewise.
36016 * socket/socketpair.c: Likewise.
36017 * stdio-common/ctermid.c: Likewise.
36018 * stdio-common/cuserid.c: Likewise.
36019 * stdio-common/remove.c: Likewise.
36020 * stdio-common/rename.c: Likewise.
36021 * stdio-common/renameat.c: Likewise.
36022 * stdio-common/tempname.c: Likewise.
36023 * stdlib/getcontext.c: Likewise.
36024 * stdlib/makecontext.c: Likewise.
36025 * stdlib/setcontext.c: Likewise.
36026 * stdlib/swapcontext.c: Likewise.
36027 * stdlib/system.c: Likewise.
36028 * streams/fattach.c: Likewise.
36029 * streams/fdetach.c: Likewise.
36030 * streams/getmsg.c: Likewise.
36031 * streams/getpmsg.c: Likewise.
36032 * streams/putmsg.c: Likewise.
36033 * streams/putpmsg.c: Likewise.
36034 * sysdeps/unix/bsd/getpt.c: Likewise.
36035 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36036 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36037 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36039 Likewise.
36040 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36041 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36042 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36043 * sysvipc/msgctl.c: Likewise.
36044 * sysvipc/msgget.c: Likewise.
36045 * sysvipc/msgrcv.c: Likewise.
36046 * sysvipc/msgsnd.c: Likewise.
36047 * sysvipc/semctl.c: Likewise.
36048 * sysvipc/semget.c: Likewise.
36049 * sysvipc/semop.c: Likewise.
36050 * sysvipc/semtimedop.c: Likewise.
36051 * sysvipc/shmat.c: Likewise.
36052 * sysvipc/shmctl.c: Likewise.
36053 * sysvipc/shmdt.c: Likewise.
36054 * sysvipc/shmget.c: Likewise.
36055 * termios/tcdrain.c: Likewise.
36056 * termios/tcflow.c: Likewise.
36057 * termios/tcflush.c: Likewise.
36058 * termios/tcgetattr.c: Likewise.
36059 * termios/tcgetpgrp.c: Likewise.
36060 * termios/tcsendbrk.c: Likewise.
36061 * termios/tcsetattr.c: Likewise.
36062 * termios/tcsetpgrp.c: Likewise.
36063 * time/adjtime.c: Likewise.
36064 * time/clock.c: Likewise.
36065 * time/getitimer.c: Likewise.
36066 * time/gettimeofday.c: Likewise.
36067 * time/setitimer.c: Likewise.
36068 * time/settimeofday.c: Likewise.
36069 * time/stime.c: Likewise.
36070 * time/time.c: Likewise.
36071
360722012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36073
a20492cf
PT
36074 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36075 /usr/old/bin.
36076
72e182e3
PT
36077 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36078 instead of spaces.
36079 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36080
fbeafede
JM
360812012-11-03 Joseph Myers <joseph@codesourcery.com>
36082
5b5b04d6
JM
36083 [BZ #14796]
36084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36085 FE_TONEAREST before applying Dekker multiplication and Knuth
36086 addition. Clear inexact exceptions and check for exact zero
36087 results afterwards.
36088 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36089 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36090 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36091 * math/libm-test.inc (fma_test): Add more tests.
36092 (fma_test_towardzero): Likewise.
36093 (fma_test_downward): Likewise.
36094 (fma_test_upward): Likewise.
36095 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36096 function.
36097 (libc_fesetround): New macro.
36098 (libc_fesetroundf): Likewise.
36099 (libc_fesetroundl): Likewise.
36100 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36101 function.
36102 (libc_fesetround_387): Likewise.
36103 (libc_fesetroundf): New macro.
36104 (libc_fesetround): Likewise.
36105 (libc_fesetroundl): Likewise.
36106 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36107 function.
36108 (libc_fesetroundf): New macro.
36109 (libc_fesetround): Likewise.
36110 (libc_fesetroundl): Likewise.
36111 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36112 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36113 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36114 libm_hidden_ver.
36115 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36116 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36117 libm_hidden_def.
36118 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36119 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36120 libm_hidden_ver.
36121 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36122 libm_hidden_def.
36123
fbeafede
JM
36124 [BZ #3439]
36125 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36126 integer constant usable in #if and use that to give value to enum
36127 constant.
36128 (FE_DIVBYZERO): Likewise.
36129 (FE_UNDERFLOW): Likewise.
36130 (FE_OVERFLOW): Likewise.
36131 (FE_INVALID): Likewise.
36132 (FE_INVALID_SNAN): Likewise.
36133 (FE_INVALID_ISI): Likewise.
36134 (FE_INVALID_IDI): Likewise.
36135 (FE_INVALID_ZDZ): Likewise.
36136 (FE_INVALID_IMZ): Likewise.
36137 (FE_INVALID_COMPARE): Likewise.
36138 (FE_INVALID_SOFTWARE): Likewise.
36139 (FE_INVALID_SQRT): Likewise.
36140 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36141 (FE_TONEAREST): Likewise.
36142 (FE_TOWARDZERO): Likewise.
36143 (FE_UPWARD): Likewise.
36144 (FE_DOWNWARD): Likewise.
36145 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36146 (FE_DIVBYZERO): Likewise.
36147 (FE_OVERFLOW): Likewise.
36148 (FE_UNDERFLOW): Likewise.
36149 (FE_INEXACT): Likewise.
36150 (FE_TONEAREST): Likewise.
36151 (FE_DOWNWARD): Likewise.
36152 (FE_UPWARD): Likewise.
36153 (FE_TOWARDZERO): Likewise.
36154 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36155 (FE_UNDERFLOW): Likewise.
36156 (FE_OVERFLOW): Likewise.
36157 (FE_DIVBYZERO): Likewise.
36158 (FE_INVALID): Likewise.
36159 (FE_TONEAREST): Likewise.
36160 (FE_TOWARDZERO): Likewise.
36161 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36162 (FE_OVERFLOW): Likewise.
36163 (FE_UNDERFLOW): Likewise.
36164 (FE_DIVBYZERO): Likewise.
36165 (FE_INEXACT): Likewise.
36166 (FE_TONEAREST): Likewise.
36167 (FE_TOWARDZERO): Likewise.
36168 (FE_UPWARD): Likewise.
36169 (FE_DOWNWARD): Likewise.
36170 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36171 (FE_DIVBYZERO): Likewise.
36172 (FE_OVERFLOW): Likewise.
36173 (FE_UNDERFLOW): Likewise.
36174 (FE_INEXACT): Likewise.
36175 (FE_TONEAREST): Likewise.
36176 (FE_DOWNWARD): Likewise.
36177 (FE_UPWARD): Likewise.
36178 (FE_TOWARDZERO): Likewise.
36179
105ca950
CM
361802012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36181
36182 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36183
a542b389
AS
361842012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36185
36186 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36187 commands. Quote $PWD.
36188 (blacklist_exports): Don't use remove_newlines. Replace "declare
36189 -x" by "export".
36190 (remove_newlines): Remove.
36191
f62c8abc
L
361922012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36193
36194 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36195 * stdlib/stdlib.h (atof): Moved to ...
36196 * include/bits/stdlib-float.h: Here. New file.
36197 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36198 * stdlib/bits/stdlib-float.h: New file.
36199 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36200 -mno-sse -mno-mmx.
36201 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36202 <xmmintrin.h>.
36203
0155d5b2
JM
362042012-11-02 Joseph Myers <joseph@codesourcery.com>
36205
a68d0680
JM
36206 * conform/conformtest.pl (@headers): Add fenv.h.
36207 * conform/data/fenv.h-data: New file.
36208 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36209 include of <math/fenv.h>.
36210
caf7f573
JM
36211 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36212 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36213 && !UNIX98]. Enables tests for XOPEN2K8.
36214 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36215 POSIX2008]: Likewise.
36216
6c073ad6
JM
36217 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36218 (struct rusage): Do not expect type or its members.
36219
0155d5b2
JM
36220 [BZ #3439]
36221 * math/math.h (FP_NAN): Define macro to integer constant usable in
36222 #if and use that to give value to enum constant.
36223 (FP_INFINITE): Likewise.
36224 (FP_ZERO): Likewise.
36225 (FP_SUBNORMAL): Likewise.
36226 (FP_NORMAL): Likewise.
36227
b5dcacb4
AS
362282012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36229
36230 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36231 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36232 arguments.
36233
f7934be8
RM
362342012-11-02 Roland McGrath <roland@hack.frob.com>
36235
36236 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36237 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36238 autoconf-time if not.
36239 * configure.in: Remove AC_PREREQ.
36240
d7d08bde
TMQMF
362412012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36242
36243 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36244 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36245 of the internal implementation.
36246
dcdae19a
JM
362472012-11-02 Joseph Myers <joseph@codesourcery.com>
36248
36249 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36250 except include of <misc/sys/syslog.h>.
36251
d6cffd3e
AS
362522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36253
36254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36255 function returns with a NULL context exit with zero.
36256
b3563932
TMQMF
362572012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36258
36259 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36260
b288a93d
L
362612012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36262
36263 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36264 (run_program_cmd): This.
36265 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36266 (tst_langinfo): New variable. Use it.
36267
a2421a68
SAS
362682012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36269
36270 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36271 floating point opcodes.
36272
6f796e1b
TS
362732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36274
7402596b
TS
36275 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36276 variable.
36277
d0d4f868
TS
36278 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36279
6f796e1b
TS
36280 * sysdeps/mach/hurd/powerpc: Remove directory.
36281 * sysdeps/mach/powerpc: Likewise.
36282
4da224a2
AS
362832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36284
36285 * scripts/check-local-headers.sh: Ignore c++ headers.
36286
341dd673
TS
362872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36288
36289 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36290 __libc_cleanup_region_start argument.
36291
473611b2
JM
362922012-11-01 Joseph Myers <joseph@codesourcery.com>
36293
36294 [BZ #14784]
36295 [BZ #14785]
36296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36297 x * y using scaling, not as x * y + z.
36298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36299 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36300 * math/libm-test.inc (fma_test): Add more tests.
36301 (fma_test_towardzero): Likewise.
36302 (fma_test_downward): Likewise.
36303 (fma_test_upward): Likewise.
36304
4078da3d
TS
363052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36306
36307 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36308
903252aa
JM
363092012-10-31 Joseph Myers <joseph@codesourcery.com>
36310
36311 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36312 New variable.
36313
cbc818d0
TS
363142012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36315
36316 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36317
5a03cb1e
AS
363182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36319
36320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36321 Fix sort order.
36322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36323 Likewise.
36324
90aff2ff
TMQMF
363252012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36326
36327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36328 Fix the order of the list for glibc 2.17.
36329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36330 Likewise.
36331
1818fcb7
AS
363322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36333
36334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36335
ef82f4da
JM
363362012-10-31 Joseph Myers <joseph@codesourcery.com>
36337
16a0e2ec
JM
36338 [BZ #14610]
36339 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36340 for low part of x being zero before using __atanl (y).
36341 * math/libm-test.inc (atan2_test): Add another test.
36342
0eb69512
JM
36343 * manual/install.texi (Configuring and compiling): Document
36344 general use of test-wrapper and test-wrapper-env.
36345 * INSTALL: Regenerated.
36346
ef82f4da
JM
36347 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36348 (__fma): Do not extract and scale down low bits on after-rounding
36349 systems when result rounded to normal precision would have normal
36350 exponent.
36351 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36352 (__fmal): Do not extract and scale down low bits on after-rounding
36353 systems when result rounded to normal precision would have normal
36354 exponent.
36355 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36356 (__fmal): Do not extract and scale down low bits on after-rounding
36357 systems when result rounded to normal precision would have normal
36358 exponent.
36359 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36360 macro.
36361 (fma_test): Add more tests.
36362 (fma_test_towardzero): Likewise.
36363 (fma_test_downward): Likewise.
36364 (fma_test_upward): Likewise.
36365
954ef0d9
L
363662012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36367
36368 * sysdeps/i386/tininess.h: Renamed to ...
36369 * sysdeps/x86/tininess.h: This.
36370 * sysdeps/x86_64/tininess.h: Removed.
36371
df61ffb2
JM
363722012-10-30 Joseph Myers <joseph@codesourcery.com>
36373
36374 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36375 input. Use $(build-program-cmd).
36376 ($(objpfx)tst-array1-static.out): Likewise.
36377 ($(objpfx)tst-array2.out): Likewise.
36378 ($(objpfx)tst-array3.out): Likewise.
36379 ($(objpfx)tst-array4.out): Likewise.
36380 ($(objpfx)tst-array5.out): Likewise.
36381 ($(objpfx)tst-array5-static.out): Likewise.
36382
01767843
CM
363832012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36384
47cc1490
CM
36385 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36386 if defined.
36387
01767843
CM
36388 * nss/nsswitch.h (nss_interface_function): Provide new
36389 macro for use with NSS functions.
36390 * grp/initgroups.c: Use new macro.
36391 * nss/getXXbyYY.c: Likewise.
36392 * nss/getXXbyYY_r.c: Likewise.
36393 * nss/getXXent.c: Likewise.
36394 * nss/getXXent_r.c: Likewise.
36395 * sysdeps/posix/getaddrinfo.c: Likewise.
36396
8321aa97
AJ
363972012-10-30 Andreas Jaeger <aj@suse.de>
36398
36399 * po/ru.po: Update Russion translation from translation project.
36400
2a27fd6d
JM
364012012-10-30 Joseph Myers <joseph@codesourcery.com>
36402
8627a232
JM
36403 [BZ #14152]
36404 [BZ #14783]
36405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36406 result and shift together with sticky bit instead of replicating
36407 round-to-nearest rounding.
36408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36410 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36411 missing underflow exceptions.
36412 (fma_test_towardzero): Add more tests.
36413 (fma_test_downward): Likewise.
36414 (fma_test_upward): Likewise.
36415
2a27fd6d
JM
36416 [BZ #14047]
36417 * sysdeps/generic/tininess.h: New file.
36418 * sysdeps/i386/tininess.h: Likewise.
36419 * sysdeps/sh/tininess.h: Likewise.
36420 * sysdeps/x86_64/tininess.h: Likewise.
36421 * stdlib/tst-strtod-underflow.c: Likewise.
36422 * stdlib/tst-tininess.c: Likewise.
36423 * stdlib/strtod_l.c: Include <tininess.h>.
36424 (round_and_return): Do not set errno for exact underflow cases.
36425 Force an underflow exception when setting errno for underflow.
36426 Determine underflow based on rounding to normal precision if
36427 TININESS_AFTER_ROUNDING.
36428 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36429 ERANGE for exact underflow cases.
36430 * stdlib/Makefile (tests): Add tst-tininess and
36431 tst-strtod-underflow.
36432 ($(objpfx)tst-tininess): Use $(link-libm).
36433 ($(objpfx)tst-strtod-underflow): Likewise.
36434
e7170363
AJ
364352012-10-30 Andreas Jaeger <aj@suse.de>
36436
e5088dc6
AJ
36437 [BZ#14767]
36438 * elf/Makefile (tests): Remove conditional for have-initfini-array
36439 since this is now always required and the variable does not exist
36440 anymore.
36441 (tests-static): Likewise.
36442 (modules-names): Likewise.
36443
e7170363 36444 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36445
36446 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36447 merged with constructor/destructor.
36448 (init_array): Likewise.
36449 * elf/tst-array2dep.c (fini_array): Likewise.
36450 (init_array): Likewise.
36451
60457d8a
MF
364522012-10-29 Mike Frysinger <vapier@gentoo.org>
36453
36454 * manual/message.texi: Delete @cartouche tags.
36455
8bece752
PT
364562012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36457
94ce799f
PT
36458 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36459 EOPNOTSUPP.
36460 * sysdeps/mach/hurd/fsync.c: Likewise.
36461
8bece752
PT
36462 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36463 [_POSIX_REALTIME_SIGNALS]: Change condition to
36464 [_POSIX_REALTIME_SIGNALS > 0].
36465
86ebe6b1
AJ
364662012-10-27 Andreas Jaeger <aj@suse.de>
36467
36468 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36469 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36470 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36471 [__WORDSIZE != 64]: Likewise.
36472
54399c08
L
364732012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36474
36475 * iconvdata/tst-table.sh: Remove ${SHELL}.
36476 * iconvdata/tst-tables.sh: Likewise.
36477
e2211bed
DM
364782012-10-25 David S. Miller <davem@davemloft.net>
36479
36480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36481 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36482 of strtoull.
36483
f303f97c
DM
36484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36485 ifunc-impl-list.c
36486 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36487 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36488 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36489 file.
36490
1e9d84cd
RM
364912012-10-25 Roland McGrath <roland@hack.frob.com>
36492
36493 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36494 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36495 __getdirentries.
36496
df381762
JM
364972012-10-25 Joseph Myers <joseph@codesourcery.com>
36498 Jim Blandy <jimb@codesourcery.com>
36499
36500 * scripts/cross-test-ssh.sh: New file.
36501 * manual/install.texi (Configuring and compiling): Document use of
36502 cross-test-ssh.sh.
36503 * INSTALL: Regenerated.
36504
bff64913
PT
365052012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36506
36507 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36508 EOPNOTSUPP.
36509
25fe8932
JM
365102012-10-25 Joseph Myers <joseph@codesourcery.com>
36511
36512 * Makeconfig (run-program-prefix): Fix comment.
36513
cc1290d0
JM
365142012-10-24 Joseph Myers <joseph@codesourcery.com>
36515 Jim Blandy <jimb@codesourcery.com>
36516
36517 * Makeconfig (test-wrapper): New variable,
36518 (test-wrapper-env): Likewise.
36519 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36520 (run-built-tests): Define to yes.
36521 (run-program-prefix): Use $(test-wrapper).
36522 (built-program-cmd): Likewise.
36523 * Rules (make-test-out): Use $(test-wrapper-env) and
36524 $(host-built-program-cmd).
36525 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36526 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36527 tst-pathopt.sh.
36528 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36529 $(test-wrapper-env) to tst-rtld-load-self.sh.
36530 ($(objpfx)order2.out): Use $(test-wrapper).
36531 ($(objpfx)tst-initorder.out): Likewise.
36532 ($(objpfx)tst-initorder2.out): Likewise.
36533 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36534 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36535 (test_wrapper_env): New variable. Use it to run ld.so.
36536 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36537 Use it to run ld.so.
36538 (test_wrapper_env): Likewise.
36539 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36540 $(test-wrapper) to run-iconv-test.sh.
36541 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36542 (ICONV): Use $test_wrapper.
36543 * posix/Makefile ($(objpfx)globtest.out): Pass
36544 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36545 globtest.sh, not $(run-program-prefix).
36546 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36547 (test_wrapper): Likewise.
36548 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36549 set together with run_via_rtld_prefix.
36550 (run_program_prefix): Define in terms of test_wrapper and
36551 run_via_rtld_prefix.
36552
6e6249d0
RM
365532012-10-24 Roland McGrath <roland@hack.frob.com>
36554
36555 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36556 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36557 Targets removed.
36558
36559 [BZ #14743]
36560 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36561 Declare __clock_getres, __clock_gettime, __clock_settime,
36562 __clock_nanosleep, and __clock_getcpuclockid.
36563 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36564 Remove librt_hidden_def (clock_gettime).
36565 * sysdeps/unix/clock_gettime.c: Likewise.
36566 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36567 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36568 * rt/clock_getres.c: Define __clock_getres as an alias.
36569 * sysdeps/posix/clock_getres.c: Likewise.
36570 * rt/clock_settime.c: Define __clock_settime as an alias.
36571 * sysdeps/unix/clock_settime.c: Likewise.
36572 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36573 * sysdeps/unix/clock_nanosleep.c: Likewise.
36574 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36575 * rt/clock-compat.c: New file.
36576 * rt/Makefile (librt-routines): Add clock-compat and move
36577 $(clock-routines) to ...
36578 (routines): ... here, new variable.
36579 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36580 Don't add get_clockfreq here.
36581 * rt/Versions (libc: GLIBC_2.17): New version set.
36582 Add clock_* symbols here.
36583 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36584 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36585 (GLIBC_2.17): Add clock_* symbols.
36586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36590 Likewise.
36591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36592 Likewise.
36593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36597 * NEWS: Mention the move.
36598
36599 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36600 Use __open, __read, __close rather than their public counterparts.
36601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36602 (__get_clockfreq_via_cpuinfo): Likewise.
36603 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36604 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36605
36606 * config.h.in (HAVE_IFUNC): New #undef.
36607 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36608 was successful.
36609 * configure: Regenerated.
36610
0cae3f4b
MF
366112012-10-24 Mike Frysinger <vapier@gentoo.org>
36612
36613 * configure.in: Move READELF check to start of file.
36614 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36615 libc_cv_asm_gnu_indirect_function in the process.
36616 * configure: Regenerated.
36617
8175a253
MF
366182012-10-24 Mike Frysinger <vapier@gentoo.org>
36619
36620 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36621 send the output to /dev/null.
36622 (libc_cv_cc_with_libunwind): Likewise.
36623 (libc_cv_as_noexecstack): Likewise.
36624 * configure: Regenerate.
36625
0708a7d1
JM
366262012-10-24 Joseph Myers <joseph@codesourcery.com>
36627
10b40d85
JM
36628 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36629
0708a7d1
JM
36630 * posix/globtest.sh (TMPDIR): Do not set.
36631 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36632 (testout): Likewise.
36633
9fddec1a
AJ
366342012-10-24 Andreas Jaeger <aj@suse.de>
36635
3a8db22f
AJ
36636 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36637 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36638 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36639 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36640 posix_fadvise64, posix_fallocate64.
36641
9fddec1a
AJ
36642 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36643 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36644 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36645 Likewise.
36646 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36647 Likewise.
36648 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36649
36650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36651 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36652 <bits/fcntl-linux.h>.
36653 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36654
36655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36656 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36657 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36658 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36659 [__WORDSIZE != 64]: Likewise.
36660
ebfd1bbd
JM
366612012-10-23 Joseph Myers <joseph@codesourcery.com>
36662
03ac099f
JM
36663 * Makeconfig (run-built-tests): New variable.
36664 * Rules [$(cross-compiling) = yes]: Change condition to
36665 [$(run-built-tests) = no].
36666 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36667 to [$(run-built-tests) = yes].
36668 * elf/Makefile [$(cross-compiling) = no]: Likewise
36669 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36670 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36671 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36672 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36673 * io/Makefile [$(cross-compiling) = no]: Likewise.
36674 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36675 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36676 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36677 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36678 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36679 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36680 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36681 * string/Makefile [$(cross-compiling) = no]: Likewise.
36682
ebfd1bbd
JM
36683 * posix/Makefile ($(objpfx)globtest.out): Pass
36684 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36685 $(rtld-installed-name).
36686 * posix/globtest.sh (elf_objpfx): Remove variable.
36687 (rtld_installed_name): Likewise.
36688 (library_path): Likewise.
36689 (run_program_prefix): New variable. Use for running globtest
36690 binary.
36691
166bca24
JB
366922012-10-23 Jim Blandy <jimb@codesourcery.com>
36693 Joseph Myers <joseph@codesourcery.com>
36694
36695 * Makeconfig (host-built-program-cmd): New variable.
36696 * elf/Makefile (tst-stackguard1-ARGS): Use
36697 $(host-built-program-cmd).
36698 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36699 (tst-spawn-ARGS): Likewise.
36700 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36701
88866099
JM
367022012-10-23 Joseph Myers <joseph@codesourcery.com>
36703 Jim Blandy <jimb@codesourcery.com>
36704
36705 * Makeconfig (run-via-rtld-prefix): New variable.
36706 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36707 (built-program-cmd): Likewise.
36708
b4b4c296
AJ
367092012-10-22 Andreas Jaeger <aj@suse.de>
36710
36711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36712 __O_RSYNC if it exists, otherwise to O_SYNC.
36713
6fb54a22
JB
367142012-10-22 Jim Blandy <jimb@codesourcery.com>
36715 Joseph Myers <joseph@codesourcery.com>
36716
36717 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36718 /dev/null.
36719 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36720 from /dev/null
36721 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36722 /dev/null.
36723
481b90b9
AJ
367242012-10-22 Andreas Jaeger <aj@suse.de>
36725
2a0e2669
AJ
36726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36727 Define always.
36728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36729
76e38f9a
AJ
36730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36731 bits/fcntl-linux.h.
36732
7cd37b43
AJ
36733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36734 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36735
481b90b9
AJ
36736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36737 to __O_LARGEFILE.
36738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36739 to __O_LARGEFILE.
36740
aba75984
JB
367412012-10-21 Jim Blandy <jimb@codesourcery.com>
36742 Joseph Myers <joseph@codesourcery.com>
36743
36744 * config.make.in (NM): New variable.
36745
88d4247f
AJ
367462012-10-21 Andreas Jaeger <aj@suse.de>
36747
36748 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36749 definitions and declarations that are provided by
36750 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36751
f2eed205
L
367522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36753
36754 [BZ #14683]
36755 * elf/Makefile (tests-static): Add tst-leaks1-static.
36756 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36757 ($(objpfx)tst-leaks1-static): New rule.
36758 ($(objpfx)tst-leaks1-static-mem): Likewise.
36759 (tst-leaks1-static-ENV): New macro.
36760 * elf/dl-open.c (dl_open_worker): Check the main application
36761 only if SHARED is defined.
36762 * elf/tst-leaks1-static.c: New file.
36763
335e6931
AJ
367642012-10-20 Andreas Jaeger <aj@suse.de>
36765
36766 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36767 generic values for Linux.
36768 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36769 and declarations that are provided by <bits/fcntl-linux.h> and
36770 include <bits/fcntl-linux.h>.
36771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36773
ac5c94d3
RM
367742012-10-20 Roland McGrath <roland@hack.frob.com>
36775
36776 * io/fcntl.h: Move include of <bits/types.h> to the top and
36777 include it unconditionally.
36778
de54b33a
L
367792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36780
228cfb01
L
36781 * wcsmbs/Makefile (tests-ifunc): New variable.
36782 (tests): Add $(tests-ifunc).
36783 * wcsmbs/test-wcschr-ifunc.c: New file.
36784 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36785 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36786 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36787 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36788 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36789
69f07e5f
L
36790 * string/Makefile (tests-ifunc): New variable.
36791 (tests): Add $(tests-ifunc).
36792 * string/test-memccpy.c (TEST_NAME): New macro.
36793 * string/test-memchr.c (TEST_NAME): Likewise.
36794 * string/test-memcmp.c (TEST_NAME): Likewise.
36795 * string/test-memcpy.c (TEST_NAME): Likewise.
36796 * string/test-memmem.c (TEST_NAME): Likewise.
36797 * string/test-memmove.c (TEST_NAME): Likewise.
36798 * string/test-memset.c (TEST_NAME): Likewise.
36799 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36800 * string/test-stpcpy.c (TEST_NAME): Likewise.
36801 * string/test-stpncpy.c (TEST_NAME): Likewise.
36802 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36803 * string/test-strcasestr.c (TEST_NAME): Likewise.
36804 * string/test-strcat.c (TEST_NAME): Likewise.
36805 * string/test-strchr.c (TEST_NAME): Likewise.
36806 * string/test-strcmp.c(TEST_NAME): Likewise.
36807 * string/test-strcpy.c (TEST_NAME): Likewise.
36808 * string/test-strcspn.c (TEST_NAME): Likewise.
36809 * string/test-strlen.c (TEST_NAME): Likewise.
36810 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36811 * string/test-strncmp.c (TEST_NAME): Likewise.
36812 * string/test-strncpy.c (TEST_NAME): Likewise.
36813 * string/test-strnlen.c (TEST_NAME): Likewise.
36814 * string/test-strpbrk.c (TEST_NAME): Likewise.
36815 * string/test-strrchr.c (TEST_NAME): Likewise.
36816 * string/test-strspn.c (TEST_NAME): Likewise.
36817 * string/test-strstr.c (TEST_NAME): Likewise.
36818 * string/test-bcopy-ifunc.c: New file.
36819 * string/test-bzero-ifunc.c: Likewise.
36820 * string/test-memccpy-ifunc.c: Likewise.
36821 * string/test-memchr-ifunc.c: Likewise.
36822 * string/test-memcmp-ifunc.c: Likewise.
36823 * string/test-memcpy-ifunc.c: Likewise.
36824 * string/test-memmem-ifunc.c: Likewise.
36825 * string/test-memmove-ifunc.c: Likewise.
36826 * string/test-mempcpy-ifunc.c: Likewise.
36827 * string/test-memset-ifunc.c: Likewise.
36828 * string/test-rawmemchr-ifunc.c: Likewise.
36829 * string/test-stpcpy-ifunc.c: Likewise.
36830 * string/test-stpncpy-ifunc.c: Likewise.
36831 * string/test-strcasecmp-ifunc.c: Likewise.
36832 * string/test-strcasestr-ifunc.c: Likewise.
36833 * string/test-strcat-ifunc.c: Likewise.
36834 * string/test-strchr-ifunc.c: Likewise.
36835 * string/test-strchrnul-ifunc.c: Likewise.
36836 * string/test-strcmp-ifunc.c: Likewise.
36837 * string/test-strcpy-ifunc.c: Likewise.
36838 * string/test-strcspn-ifunc.c: Likewise.
36839 * string/test-strlen-ifunc.c: Likewise.
36840 * string/test-strncasecmp-ifunc.c: Likewise.
36841 * string/test-strncat-ifunc.c: Likewise.
36842 * string/test-strncmp-ifunc.c: Likewise.
36843 * string/test-strncpy-ifunc.c: Likewise.
36844 * string/test-strnlen-ifunc.c: Likewise.
36845 * string/test-strpbrk-ifunc.c: Likewise.
36846 * string/test-strrchr-ifunc.c: Likewise.
36847 * string/test-strspn-ifunc.c: Likewise.
36848 * string/test-strstr-ifunc.c: Likewise.
36849
de54b33a
L
36850 * debug/Makefile (tests-ifunc): New variable.
36851 (tests): Add $(tests-ifunc).
36852 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36853 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36854 * debug/test-stpcpy_chk-ifunc.c: New file.
36855 * debug/test-strcpy_chk-ifunc.c: Likewise.
36856
88481c16
SP
368572012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36858
36859 [BZ #13601]
36860 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36861 header is not read in.
36862
135948bd
JM
368632012-10-19 Joseph Myers <joseph@codesourcery.com>
36864
89f1c388
JM
36865 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36866 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36867 directly. Pass built executable to script as
36868 $(built-program-cmd).
36869 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36870 $testprogram without using LD_LIBRARY_PATH and $ldso.
36871
e40a0d21
JM
36872 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36873 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36874 $(rtld-installed-name).
36875 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36876 (rtld_installed_name): Likewise.
36877 (library_path): Likewise.
36878 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36879 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36880 $(run-program-prefix) to tst-tables.sh.
36881 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36882 it to run tst-table-from and tst-table-to.
36883 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36884 Pass it to tst-table.sh.
36885 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36886 $(run-program-prefix) to tst-gettext.sh.
36887 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36888 tst-translit.sh.
36889 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36890 tst-gettext2.sh.
36891 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36892 to run tst-gettext.
36893 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36894 to run tst-gettext2.
36895 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36896 to run tst-translit.
36897 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36898 $(run-program-prefix) to tst-mtrace.sh.
36899 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36900 to run tst-mtrace.
36901 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36902 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36903 $(rtld-installed-name).
36904 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36905 (rtld_installed_name): Likewise.
36906 (run_program_prefix): New variable. Use it to run wordexp-test.
36907
728e272a
JM
36908 * Makeconfig (ARCH): Remove all definitions.
36909 (machine): Likewise.
36910 [ARCH]: Remove conditional code.
36911 [!objdir]: Give error.
36912 [!objdir] (objpfx): Remove.
36913 [!objdir] (common-objpfx): Likewise.
36914 [!objdir] (common-objdir): Likewise.
36915 * configure.in (config_makefile): Remove. Hardcode Makefile in
36916 AC_CONFIG_FILES call.
36917 * configure: Regenerated.
36918
d528cdcf
JM
36919 [BZ #13888]
36920 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36921 or TMPDIR.
36922 (testout): Likewise.
36923
135948bd
JM
36924 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36925 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36926 $(rtld-installed-name).
36927 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36928 (rtld_installed_name): Likwise.
36929 (runit): Remove function.
36930 (run_getconf): New variable, Use it for running getconf binary.
36931
38c78296
L
369322012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36933
36934 [BZ #14716]
36935 * string/test-memmem.c (check_result): New function.
36936 (do_one_test): Use it.
36937 (check1): New function.
36938 (test_main): Use it.
36939
d077f65f
MT
369402012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36941
36942 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36943
ced52c71
JM
369442012-10-18 Joseph Myers <joseph@codesourcery.com>
36945
36946 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36947 (_G_LSEEK64): Likewise.
36948 (_G_MMAP64): Likewise.
36949 (_G_FSTAT64): Likewise.
36950 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36951 (_G_LSEEK64): Likewise.
36952 (_G_MMAP64): Likewise.
36953 (_G_FSTAT64): Likewise.
36954 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36955 unconditional. Call __mmap64 directly.
36956 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36957 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36958 __lseek64 directly.
36959 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36960 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36961 __mmap64 directly.
36962 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36963 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36964 __lseek64 directly.
36965 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36966 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36967 __lseek64 directly.
36968 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36969 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36970 __lseek64 directly.
36971 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36972 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36973 __fxstat64 directly.
36974 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36975 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36976 unconditional.
36977 (freopen64) [!_G_OPEN64]: Remove conditional code.
36978 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36979 unconditional.
36980 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36981 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36982 unconditional.
36983 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36984 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36985 unconditional.
36986 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36987 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36988 unconditional.
36989 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36990 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36991 unconditional.
36992 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36993 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36994 unconditional.
36995 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36996 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36997 unconditional.
36998 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36999
b741de23
SP
370002012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37001
37002 [BZ #12140]
37003 * manual/memory.texi (Malloc Tunable Parameters): Add note
37004 about free list pointers overwriting some perturb bytes.
37005 Wording suggested by Roland McGrath.
37006
f9b9d9c9
JM
370072012-10-17 Joseph Myers <joseph@codesourcery.com>
37008
37009 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37010 (lgamma_test): Likewise.
37011 (tgamma_test): Likewise.
37012
172a631a
FW
370132012-10-16 Florian Weimer <fweimer@redhat.com>
37014
37015 [BZ #14700]
37016 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37017 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37018
e9f37252
MK
370192012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37020
37021 * NEWS: Mention BZ #14716.
37022 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37023 when removing AVAILABLE1_USES_J macro.
37024
d394eb74
L
370252012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37026
37027 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37028 (__bswap_64): __uint64_t for unsigned 64-bit int.
37029
ca38dc17
AS
370302012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37031
37032 * include/string.h (memmem): Declare libc hidden alias.
37033 * string/memmem.c (memmem): Define libc hidden alias.
37034 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37035 __read, __close instead of open, read, close.
37036
9a387d1f
L
370372012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37038
ac49ecaf
L
37039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37040 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37041 global and hidden.
37042 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37043 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37044 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37045 Likewise.
37046 (__rawmemchr_sse2): Likewise.
37047 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37048 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37049 (__strchr_sse2): Likewise.
37050 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37051 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37052 (__strcasecmp_sse2): Likewise.
37053 (__strncasecmp_sse2): Likewise.
37054 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37055 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37056 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37057 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37058 (__strrchr_sse2): Likewise.
37059 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37060 ifunc-impl-list.c.
37061 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37062 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37063 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37064 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37065 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37066 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37067 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37068 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37069 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37070 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37071 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37072 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37073 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37074 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37075 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37076 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37077 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37078 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37079 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37080 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37081 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37082 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37083 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37084 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37085 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37086 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37087 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37088 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37089 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37090 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37091
b090e8ea
L
37092 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37093 global and hidden.
37094 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37095 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37096 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37097 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37098 Likewise.
37099 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37100 Likewise.
37101 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37102 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37103 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37104 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37105 ifunc-impl-list.c.
37106 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37107 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37108 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37109 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37110 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37111 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37112 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37113 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37114 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37115 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37116 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37117 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37118 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37119 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37120 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37121 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37122 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37123 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37124 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37125 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37126 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37127 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37128 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37129 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37130 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37131 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37132 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37133 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37134 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37135 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37136 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37137 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37138 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37139 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37140 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37141 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37142 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37143 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37144 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37145 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37147
11dd4af6
L
37148 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37149 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37150 * include/ifunc-impl-list.h: New file.
37151 * misc/ifunc-impl-list.c: Likewise.
37152 * misc/Makefile (routines): Add ifunc-impl-list.
37153 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37154 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37155 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37156 TEST_NAME]: New variables.
11dd4af6
L
37157 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37158 are defined.
37159 (test_init): Call __libc_ifunc_impl_list to initialize
37160 func_list if TEST_IFUNC and TEST_NAME are defined.
37161
9a387d1f
L
37162 * string/Makefile (strop-tests): Add bcopy and bzero.
37163 * string/test-bcopy.c: New file.
37164 * string/test-bzero.c: Likewise.
37165 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37166 defined.
37167 * string/test-memset.c: Support bzero test if TEST_BZERO is
37168 defined.
37169 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37170 __libc_memmove.
37171 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37172 __libc_memset.
37173 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37174 of memset.
37175
472371b9
JM
371762012-10-10 Joseph Myers <joseph@codesourcery.com>
37177
1e4a9536
JM
37178 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37179 * configure: Regenerated.
37180
d173d12e
JM
37181 * Makeconfig (+link-static-before-libc): Don't include
37182 $(link-static-libc).
37183
472371b9
JM
37184 * libio/libio.h (_IO_pos_t): Remove.
37185
89a3ad0b
AO
371862012-10-10 Alexandre Oliva <aoliva@redhat.com>
37187
37188 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37189 McGrath.
37190
e7451425
AO
371912012-10-10 Alexandre Oliva <aoliva@redhat.com>
37192
37193 * crypt/crypt-entry.c: Include fips-private.h.
37194 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37195 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37196 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37197 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37198
4ba74a35
AO
371992012-10-10 Alexandre Oliva <aoliva@redhat.com>
37200
37201 * crypt/crypt-private.h: Include stdbool.h.
37202 (_ufc_setup_salt_r): Return bool.
37203 * crypt/crypt-entry.c: Include errno.h.
37204 (__crypt_r): Return NULL with EINVAL for bad salt.
37205 * crypt/crypt_util.c (bad_for_salt): New.
37206 (_ufc_setup_salt_r): Check that salt is long enough and within
37207 the specified alphabet.
37208 * crypt/badsalttest.c: New file.
37209 * crypt/Makefile (tests): Add it.
37210 ($(objpfx)badsalttest): New.
37211
f96f1242
MK
372122012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37213
37214 * NEWS: Add entry for BZ #14602.
37215
0e8e0c1c
JM
372162012-10-09 Joseph Myers <joseph@codesourcery.com>
37217
37218 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37219 type-generic.
37220 * math/libm-test.inc: Update comment listing what functions and
37221 macros are tested.
37222 (isgreater_test): New function.
37223 (isgreaterequal_test): Likewise.
37224 (isless_test): Likewise.
37225 (islessequal_test): Likewise.
37226 (islessgreater_test): Likewise.
37227 (isunordered_test): Likewise.
37228 (main): Call the new functions.
37229
273edc5e
RM
372302012-10-09 Roland McGrath <roland@hack.frob.com>
37231
b8493de0
RM
37232 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37233 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37234 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37235 * sysdeps/i386/configure: Regenerated.
37236 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37237 * sysdeps/mach/configure: Regenerated.
37238 * sysdeps/mach/hurd/configure: Regenerated.
37239 * sysdeps/powerpc/configure: Regenerated.
37240 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37241 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37242 * sysdeps/s390/s390-32/configure: Regenerated.
37243 * sysdeps/s390/s390-64/configure: Regenerated.
37244 * sysdeps/sh/configure: Regenerated.
37245 * sysdeps/sparc/configure: Regenerated.
37246 * sysdeps/unix/sysv/linux/configure: Regenerated.
37247 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37248 * sysdeps/x86_64/configure: Regenerated.
37249
273edc5e
RM
37250 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37251 defined. Don't check if MAP is NULL.
37252
c8450f70
JM
372532012-10-09 Joseph Myers <joseph@codesourcery.com>
37254
37255 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37256 (_G_stat64): Likewise.
37257 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37258 (_G_stat64): Likewise.
37259 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37260 instead of struct _G_stat64.
37261 * libio/fileops.c (mmap_remap_check): Likewise.
37262 (decide_maybe_mmap): Likewise.
37263 (_IO_new_file_seekoff): Likewise.
37264 (_IO_file_stat): Likewise.
37265 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37266 _G_off64_t.
37267 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37268 instead of struct _G_stat64.
37269 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37270
57e605ba
MK
372712012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37272
37273 [BZ #14602]
37274 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37275 Replace with ...
37276 (CHECK_EOL): New macro.
37277 (two_way_short_needle): Check beginning of haystack for EOL. Use
37278 CHECK_EOL.
37279 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37280 Replace with CHECK_EOL.
37281 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37282 Replace with CHECK_EOL.
37283
ef1bb361
JM
372842012-10-08 Joseph Myers <joseph@codesourcery.com>
37285
37286 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37287 type-generic.
37288 * math/libm-test.inc: Update comment listing what functions and
37289 macros are tested.
37290 (finite_test): New function.
37291 (isinf_test): Likewise.
37292 (isnan_test): Likewise.
37293 (fpclassify_test): Test subnormal input.
37294 (isfinite_test): Likewise.
37295 (isnormal_test): Likewise.
37296 (main): Call the new functions.
37297
55f11534
JN
372982012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37299
37300 [BZ #14660]
37301 * Makerules (%.dynsym): Force C locale when running
37302 $(OBJDUMP) --dynamic-syms.
37303
1ab29350
AS
373042012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37305
37306 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37307 <stdint.h>.
37308
f1ecb7ef
DM
373092012-10-06 David S. Miller <davem@davemloft.net>
37310
37311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37312 upper 32-bits of the length value in %o2 since we use branch-on-register
37313 tests which consider the entire 64-bit register.
37314
5d41d91a
L
373152012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37316
37317 * string/test-strstr.c (check2): Add a test for page boundary.
37318
3baddb72
DM
373192012-10-05 David S. Miller <davem@davemloft.net>
37320
37321 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37322 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37323 file.
37324 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37325 sysdep_routines.
37326 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37327 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37328 and bzero when HWCAP_SPARC_CRYPTO is present.
37329
9cee5585
L
373302012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37331
d7e0dab9
L
37332 [BZ #14602]
37333 * string/test-strstr.c (check2): New function.
37334 (test_main): Call check2.
37335
03759f47
L
37336 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37337 and bug-strchr1.
37338 * string/bug-strcasestr1.c (do_test): Moved to ...
37339 * string/test-strcasestr.c (check1): Here. New function.
37340 (do_one_test): Break out result checking code into ...
37341 (check_result): This. New function.
37342 (do_one_test): Call check_result.
37343 (test_main): Call check1.
37344 * string/bug-strchr1.c (do_test): Moved to ...
37345 * string/test-strchr.c (check1): Here. New function.
37346 (do_one_test): Break out result checking code into ...
37347 (check_result): This. New function.
37348 (do_one_test): Call check_result.
37349 (test_main): Call check1.
37350 * string/bug-strstr1.c (main): Moved to ...
046f153e 37351 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37352 (do_one_test): Break out result checking code into ...
37353 (check_result): This. New function.
37354 (do_one_test): Call check_result.
37355 (test_main): Call check1.
37356 * string/bug-strcasestr1.c: Removed.
37357 * string/bug-strchr1.c: Likewise.
37358 * string/bug-strstr1.c: Likewise.
37359
53cea63e
L
37360 * elf/Makefile (dl-routines): Add hwcaps.
37361 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37362 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37363 (_dl_important_hwcaps): Moved to ...
37364 * elf/dl-hwcaps.c: Here. New file.
37365 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37366
9cee5585 37367 [BZ #14557]
bb859b06
L
37368 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37369 if IS_IN_rtld isn't defined.
37370
9cee5585
L
37371 * elf/dl-support.c (_dl_sysinfo_map): New.
37372 Include "get-dynamic-info.h" and "setup-vdso.h".
37373 (_dl_non_dynamic_init): Call setup_vdso.
37374 * elf/dynamic-link.h: Don't include <assert.h>.
37375 (elf_get_dynamic_info): Moved to ...
37376 * elf/get-dynamic-info.h: Here. New file.
37377 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37378 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37379 * elf/setup-vdso.h: Here. New file.
37380 * elf/rtld.c: Include "setup-vdso.h".
37381 (dl_main): Call setup_vdso.
37382
23c31b76
JM
373832012-10-05 Joseph Myers <joseph@codesourcery.com>
37384
28234b07
JM
37385 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37386 creal in comment listing functions tested. List finite, isinf,
37387 isnan, isless, islessequal, isgreater, isgreaterequal,
37388 islessgreater, isunordered, lgamma_r and pow10 as functions and
37389 macros not tested. Mention which functions not tested are aliases
37390 for other functions. Fix typo. Note that signs of NaNs are not
37391 tested.
37392
23c31b76
JM
37393 * scripts/config.guess: Update from config.git.
37394 * scripts/config.sub: Likewise.
37395
9043e228
RM
373962012-10-04 Roland McGrath <roland@hack.frob.com>
37397
37398 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37399 * misc/madvise.c (madvise): Renamed to __madvise.
37400 Make madvise a weak alias.
37401 * include/sys/mman.h: Declare __madvise.
37402 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37403 * sysdeps/unix/syscalls.list
37404 (madvise): Make __madvise the strong name, and madvise a weak alias.
37405 * sysdeps/unix/sysv/linux/syscalls.list
37406 (madvise, mmap): Remove redundant entries.
37407 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37408 * malloc/malloc.c (mtrim): Likewise.
37409 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37410
f57f8055
RM
374112012-10-03 Roland McGrath <roland@hack.frob.com>
37412
37413 * sysdeps/mach/hurd/dl-cache.c: File removed.
37414 * config.h.in (USE_LDCONFIG): New #undef.
37415 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37416 * configure: Regenerated.
37417 * elf/Makefile (dl-routines): Add dl-cache only under
37418 [$(use-ldconfig) = yes].
37419 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37420 cache on [USE_LDCONFIG].
37421 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37422 [USE_LDCONFIG].
37423 * elf/rtld.c (dl_main): Likewise.
37424
5bb0c10a
PT
374252012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37426
37427 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37428 _SC_LEVEL4_CACHE_LINESIZE.
37429
010188c6
RM
374302012-10-03 Roland McGrath <roland@hack.frob.com>
37431
37432 * sysdeps/unix/bsd/confstr.h: File removed.
37433
b6c5ec07
AO
374342012-10-02 Alexandre Oliva <aoliva@redhat.com>
37435
37436 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37437 sys/sdt-config.h.
37438
408223d4
RM
374392012-10-02 Roland McGrath <roland@hack.frob.com>
37440
37441 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37442 Make 'mapoff' field ElfW(Off) rather than off_t.
37443
bb9510dc
DL
374442012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37445
fc997c6e
DL
37446 * nscd/Makefile: Remove nscd-cflags and all its users.
37447 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37448 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37449
bb9510dc
DL
37450 [BZ #10631]
37451 * malloc.c (malloc_printerr): Clarify error message.
37452
05699367
L
374532012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37454
37455 [BZ #14648]
37456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37457 Set bit_FMA_Usable if FMA is supported.
37458 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37459 macro.
37460 (bit_FMA4_Usable): Updated.
37461 (index_FMA_Usable): New macro.
37462 (CPUID_FMA): Likewise
37463 (HAS_FMA): Defined with bit_FMA_Usable.
37464
51367701
RM
374652012-10-01 Roland McGrath <roland@hack.frob.com>
37466
37467 * bits/types.h (__swblk_t): Type removed.
37468 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37469 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37471 (__SWBLK_T_TYPE): Likewise.
37472 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37473 (__SWBLK_T_TYPE): Likewise.
37474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37475 (__SWBLK_T_TYPE): Likewise.
37476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37477 (__SWBLK_T_TYPE): Likewise.
37478
4d57bf63 374792012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37480 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37481
37482 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37483 (xdr_mapname): Use YPMAXMAP as maxsize.
37484 (xdr_peername): Use YPMAXPEER as maxsize.
37485 (xdr_keydat): Use YPAXRECORD as maxsize.
37486 (xdr_valdat): Use YPMAXRECORD as maxsize.
37487
93c65d43
RM
374882012-10-01 Roland McGrath <roland@hack.frob.com>
37489
497a03d6
RM
37490 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37491
93c65d43
RM
37492 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37493 * csu/init-first.c: ... here.
37494 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37495 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37496 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37497 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37498 * sysdeps/i386/init-first.c: File removed.
37499 * sysdeps/sh/init-first.c: File removed.
37500
bec749fd
JM
375012012-10-01 Joseph Myers <joseph@codesourcery.com>
37502
37503 [BZ #14645]
37504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37505 if x * y might underflow to zero and z is zero.
37506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37508 * math/libm-test.inc (min_subnorm_value): New variable.
37509 (fma_test): Add more tests.
37510 (fma_test_towardzero): Likewise.
37511 (fma_test_downward): Likewise
37512 (fma_test_upward): Likewise.
37513 (initialize): Set min_subnorm_value.
37514
8ec5b013
JM
375152012-09-29 Joseph Myers <joseph@codesourcery.com>
37516
37517 [BZ #14638]
37518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37519 0 + 0.
37520 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37521 mode for addition resulting in exact zero.
37522 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37524 exact 0 + 0.
37525 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37526 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37527 * math/libm-test.inc (fma_test): Add more tests.
37528 (fma_test_towardzero): New function.
37529 (fma_test_downward): Likewise.
37530 (fma_test_upward): Likewise.
37531 (main): Call the new functions.
37532
b1fa802e
DM
375332012-09-28 David S. Miller <davem@davemloft.net>
37534
37535 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37536
d3b9fd9e
RM
375372012-09-28 Roland McGrath <roland@hack.frob.com>
37538
ea4d37b3
RM
37539 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37540 instead of SIGALRM.
37541
ac51c949
RM
37542 * sysdeps/gnu/_G_config.h: Moved to ...
37543 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37544 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37545 * sysdeps/generic/_G_config.h: ... here.
37546
28c195f7
RM
37547 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37548
848917f9
RM
37549 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37550
6bacf05b
RM
37551 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37552 Conditionalize target on [libnss_test1.so-version].
37553
91363dbb
RM
37554 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37555
cc87f7d8
RM
37556 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37557 (elfobjdir): Move out of conditionals.
37558
b1c608fe
RM
37559 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37560 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37561 (__nss_lookup_function): Conditionalize label remove_from_tree on
37562 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37563
1d9a6d96
DM
375642012-09-28 David S. Miller <davem@davemloft.net>
37565
37566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37567 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37568 file.
37569 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37570 sysdep_routines.
37571 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37573 when HWCAP_SPARC_CRYPTO is present.
37574
72581615
PT
375752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37576
37577 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37578
715a900c
JL
375792012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37580
37581 [BZ #6530]
37582 * stdio-common/vfprintf.c (process_string_arg): Revert
37583 2000-07-22 change.
37584
375852011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37586
37587 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37588 for testcase.
37589 * stdio-common/tst-sprintf.c: Include <locale.h>
37590 (main): Test sprintf's handling of incomplete multibyte
37591 characters.
37592
9bac1d86
L
375932012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37594
37595 * elf/dl-runtime.c (VERSYMIDX): Removed.
37596 * elf/dl-version.c (VERSYMIDX): Likewise.
37597 * elf/do-rel.h (VERSYMIDX): Likewise.
37598 (VALIDX): Likewise.
37599 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37600 * elf/rtld.c (VALIDX): Likewise.
37601 (ADDRIDX): Likewise.
9bac1d86
L
37602 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37603 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37604 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37605 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37606 (VALIDX): Likewise.
37607 (ADDRIDX): Likewise.
9bac1d86 37608
b31606c0
PT
376092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37610
37611 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37612
11541177
JL
376132012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37614
37615 [BZ #11438]
37616 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37617 to global scope.
37618 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37619 addresses are in the same scope as 192.0.2/24.
37620 * posix/gai.conf: Document new scope table defaults.
37621
adb26fae
SP
376222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37623
37624 [BZ #5298]
37625 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37626 for ftell. Compute offsets from write pointers instead.
37627 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37628
4573c6b0
SP
376292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37630
37631 [BZ #14543]
37632 * libio/Makefile (tests): New test case tst-fseek.
37633 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37634 combination works in wide mode.
37635 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37636 state when the external buffer state changes.
37637
aa9bbfe6
DM
376382012-09-27 David S. Miller <davem@davemloft.net>
37639
37640 [BZ #14376]
37641 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37642 pass reloc->r_addend in as the 'high' argument to
37643 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37644
784421e7
DM
37645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37646
c39bc8b8
PT
376472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37648
37649 * rt/tst-aio2.c: Include <pthread.h>.
37650 * rt/tst-aio3.c: Likewise.
37651
1ccc2399
SE
376522012-09-27 Steve Ellcey <sellcey@mips.com>
37653
37654 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37655
31ed4153
L
376562012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37657
25f5f885
L
37658 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37659 contents on [SHARED].
31ed4153 37660
b7bfe116
MP
376612012-09-26 Marek Polacek <polacek@redhat.com>
37662
37663 [BZ #14530]
37664 [BZ #13741]
37665 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37666 for C++ and GCC <4.3 as well as for non GCC compilers.
37667
43c4edba
MT
376682012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37669
37670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37671
6a1bf82f
RM
376722012-09-25 Roland McGrath <roland@hack.frob.com>
37673
37674 * Makefile.in (all, install): Declare with .PHONY.
37675 Reported by Michael Hope <michael.hope@linaro.org>.
37676
8ad11b9a
TMQMF
376772012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37678
37679 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37680 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37681 system header.
37682 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37683 Likewise.
37684 (sydep_routines): Add the new and the internal functions.
37685 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37686 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37688 (GLIBC_2.17): Add the new function.
37689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37690 (GLIBC_2.17): Likewise.
37691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37692 (GLIBC_2.17): Likewise.
37693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37694 (GLIBC_2.17): Likewise.
37695 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37696
7e2fca8d
AM
376972012-09-25 Alan Modra <amodra@gmail.com>
37698
37699 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37700 Add release barrier before setting once_control to say
37701 initialisation is done. Add hints on lwarx. Use macro in
37702 place of isync.
37703 (clear_once_control): Add release barrier.
37704
b87c4b24
JM
377052012-09-25 Joseph Myers <joseph@codesourcery.com>
37706
d032e0d2
JM
37707 [BZ #13629]
37708 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37709 specially.
37710 * math/s_clog10.c (__clog10): Likewise.
37711 * math/s_clog10f.c (__clog10f): Likewise.
37712 * math/s_clog10l.c (__clog10l): Likewise.
37713 * math/s_clogf.c (__clogf): Likewise.
37714 * math/s_clogl.c (__clogl): Likewise.
37715 * math/Makefile (libm-calls): Add x2y2m1.
37716 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37717 (__x2y2m1): Likewise.
37718 (__x2y2m1l): Likewise.
37719 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37720 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37723 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37724 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37725 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37726 * sysdeps/i386/fpu/libm-test-ulps: Update.
37727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37728
b87c4b24
JM
37729 [BZ #14621]
37730 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37731 int as type of variable DEPTH.
37732 (glob): Use size_t instead of int as type of variables NEWCOUNT
37733 and OLD_PATHC.
37734
6d3bf199
LD
377352012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37736
22bf5c17
LD
37737 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37738 Add s_sincosf-sse2.
37739 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37740 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37741 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37742 macros for using routine as __sincosf_ia32.
37743 Use macro for function declaration and weak_alias.
37744 * sysdeps/i386/fpu/libm-test-ulps: Update.
37745
37746 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37748
37749 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37750 subnormal argument.
37751 * math/s_cexpf.c (__cexpf): Likewise.
37752 * math/s_csinf.c (__csinf): Likewise.
37753 * math/s_csinhf.c (__csinhf): Likewise.
37754 * math/s_ctanf.c (__ctanf): Likewise.
37755 * math/s_ctanhf.c (__ctanhf): Likewise.
37756 * math/s_ccosh.c (__ccoshf): Likewise.
37757 * math/s_cexp.c (__cexpl): Likewise.
37758 * math/s_csin.c (__csin): Likewise.
37759 * math/s_csinh.c (__csinh): Likewise.
37760 * math/s_ctan.c (__ctan): Likewise.
37761 * math/s_ctanh.c (ctanh): Likewise.
37762 * math/s_ccoshl.c (__ccoshl): Likewise.
37763 * math/s_cexpl.c (__cexpl): Likewise.
37764 * math/s_csinl.c (__csinl): Likewise.
37765 * math/s_csinhl.c (__csinhl): Likewise.
37766 * math/s_ctanl.c (__ctanl): Likewise.
37767 * math/s_ctanhl.c (__ctanhl): Likewise.
37768
203e5603
JM
377692012-09-25 Joseph Myers <joseph@codesourcery.com>
37770
37771 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37772 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37773 (_IO_off_t): Define to __off_t, not _G_off_t.
37774 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37775 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37776 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37777 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37778 type of __dummy and __dummy2 fields.
37779 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37780 (_G_ssize_t): Likewise.
37781 (_G_off_t): Likewise.
37782 (_G_pid_t): Likewise.
37783 (_G_uid_t): Likewise.
37784 (_G_wchar_t): Likewise.
37785 (_G_wint_t): Likewise.
37786 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37787 (_G_ssize_t): Likewise.
37788 (_G_off_t): Likewise.
37789 (_G_pid_t): Likewise.
37790 (_G_uid_t): Likewise.
37791 (_G_wchar_t): Likewise.
37792 (_G_wint_t): Likewise.
37793 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37794 (_G_ssize_t): Likewise.
37795 (_G_off_t): Likewise.
37796 (_G_pid_t): Likewise.
37797 (_G_uid_t): Likewise.
37798 (_G_wchar_t): Likewise.
37799 (_G_wint_t): Likewise.
37800
9fab36eb
SP
378012012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37802
37803 * malloc/arena.c: Include malloc-sysdep.h.
37804 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37805 is sufficient to shrink the heap or an unmap is needed.
37806 * sysdeps/generic/malloc-sysdep.h: New file. Define
37807 new function check_may_shrink_heap.
37808 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37809 new function check_may_shrink_heap.
37810
2b4f00d1
SP
378112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37812
37813 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37814 comments.
37815
9a9028b1
DL
378162012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37817
57c69bef
DL
37818 * catgets/test-gencat.sh: Add "set -e".
37819 * elf/tst-pathopt.sh: Likewise.
37820 * grp/tst_fgetgrent.sh: Likewise.
37821 * iconvdata/run-iconv-test.sh: Likewise.
37822 * intl/tst-gettext.sh: Likewise.
37823 * intl/tst-gettext2.sh: Likewise.
37824 * intl/tst-gettext4.sh: Likewise.
37825 * intl/tst-gettext6.sh: Likewise.
37826 * intl/tst-translit.sh: Likewise.
37827 * io/ftwtest-sh: Likewise.
37828 * libio/test-freopen.sh: Likewise.
37829 * malloc/tst-mtrace.sh: Likewise.
37830 * posix/globtest.sh: Likewise.
37831 * posix/tst-getconf.sh: Likewise.
37832 * posix/wordexp-tst.sh: Likewise.
37833 * stdio-common/tst-printf.sh: Likewise.
37834 * stdio-common/tst-unbputc.sh: Likewise.
37835 * stdlib/tst-fmtmsg.sh: Likewise.
37836 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37837 * catgets/Makefile: Do not specify -e option when running
37838 testsuite shell scripts.
37839 * elf/Makefile: Likewise.
37840 * grp/Makefile: Likewise.
37841 * iconvdata/Makefile: Likewise.
37842 * intl/Makefile: Likewise.
37843 * io/Makefile: Likewise.
37844 * libio/Makefile: Likewise.
37845 * malloc/Makefile: Likewise.
37846 * posix/Makefile: Likewise.
37847 * stdio-common/Makefile: Likewise.
37848 * stdlib/Makefile: Likewise.
37849 * sysdeps/x86_64/Makefile: Likewise.
37850
9a9028b1
DL
37851 * io/ftwtest-sh: Add copyright header.
37852 * posix/globtest.sh: Likewise.
37853 * posix/tst-getconf.sh: Likewise.
37854 * posix/wordexp-tst.sh: Likewise.
37855 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37856
ced6f16e
L
378572012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37858
94b32c39
L
37859 [BZ #13679]
37860 * Makeconfig (+link): Defined as $(+link-static) if
37861 $(build-shared) isn't yes.
37862 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37863 isn't yes.
37864 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37865
189e935b
L
37866 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37867
ced6f16e
L
37868 [BZ #14562]
37869 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37870 new chunk size with MALLOC_ALIGN_MASK.
37871
a9f8e53a
JM
378722012-09-24 Joseph Myers <joseph@codesourcery.com>
37873
37874 [BZ #5044]
37875 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37876 <rounding-mode.h>.
37877 (__printf_fphex): Determine rounding using get_rounding_mode and
37878 round_away.
37879 * stdio-common/tst-printf-round.c (struct hex_test): New
37880 structure.
37881 (hex_tests): New variable.
37882 (test_hex_in_one_mode): New function.
37883 (do_test): Also run tests for hex float output.
37884
43153109
JM
378852012-09-21 Joseph Myers <joseph@codesourcery.com>
37886
37887 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37888 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37889 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37890 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37891 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37892 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37893 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37894 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37895
8a26625d
JM
378962012-09-20 Joseph Myers <joseph@codesourcery.com>
37897
37898 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37899 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37900 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37901 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37902
f3fd569c
DL
379032012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37904
37905 [BZ #14579]
37906 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37907 mode only.
37908 * elf/tst-rtld-load-self.sh: New test.
37909 * elf/Makefile: Run it.
37910
63bbedd4
JM
379112012-09-18 Joseph Myers <joseph@codesourcery.com>
37912
37913 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37914 (tst-writev-ENV): Remove.
37915 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37916
626f8b6a
CM
379172012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37918
37919 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37920
b7aaa4d6
JM
379212012-09-17 Joseph Myers <joseph@codesourcery.com>
37922
37923 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37924 unconditional.
37925 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37926 Likewise.
37927 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37928 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37929 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37930 Likewise.
37931
65513990
L
379322012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37933
37934 [BZ #14587]
37935 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37936 * config.make.in (have-cpp-asm-debuginfo): Removed.
37937 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37938 * configure: Regenerated.
37939
784761be
JM
379402012-09-14 Joseph Myers <joseph@codesourcery.com>
37941
37942 [BZ #5044]
37943 * stdio-common/printf_fp.c: Include <stdbool.h> and
37944 <rounding-mode.h>.
37945 (___printf_fp): Determine rounding using get_rounding_mode and
37946 round_away.
37947 * stdio-common/tst-printf-round.c: New file.
37948 * stdio-common/Makefile (tests): Add tst-printf-round.
37949 (link-libm): New variable.
37950 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37951
9503345f
L
379522012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37953
37954 [BZ #14576]
37955 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37956 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37957 Likewise.
37958 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37959 Likewise.
37960
ad35fc00
JM
379612012-09-13 Joseph Myers <joseph@codesourcery.com>
37962
37963 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37964 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37965 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37966 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37967
6c9b0f68
JM
379682012-09-12 Joseph Myers <joseph@codesourcery.com>
37969
37970 [BZ #14518]
37971 * include/rounding-mode.h: New file.
37972 * sysdeps/generic/get-rounding-mode.h: Likewise.
37973 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37974 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37975 (MAX_VALUE): New macro.
37976 (MIN_VALUE): Likewise.
37977 (overflow_value): New function.
37978 (underflow_value): Likewise.
37979 (round_and_return): Use overflow_value and underflow_value to
37980 determine return values in overflow and underflow cases. Use
37981 round_away to determine rounding depending on rounding mode.
37982 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37983 determine return values in overflow and underflow cases.
37984 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37985 (struct test_results): New structure.
37986 (struct test): Use struct test_results to store expected results
37987 for all rounding modes.
37988 (TEST): Include expected results for all rounding modes.
37989 (test_in_one_mode): New function.
37990 (do_test): Use test_in_one_mode to compute and check results.
37991 Check results for all rounding modes.
37992 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37993 $(link-libm).
37994
19fcedd5
AM
379952012-12-09 Allan McRae <allan@archlinux.org>
37996
1e9d84cd 37997 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37998
8bbfd2f1
JM
379992012-09-11 Joseph Myers <joseph@codesourcery.com>
38000
38001 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38002 (_G_int32_t): Likewise.
38003 (_G_uint16_t): Likewise.
38004 (_G_uint32_t): Likewise.
38005 (_G_HAVE_BOOL): Likewise.
38006 (_G_HAVE_ATEXIT): Likewise.
38007 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38008 (_G_HAVE_IO_FILE_OPEN): Likewise.
38009 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38010 (_G_int32_t): Likewise.
38011 (_G_uint16_t): Likewise.
38012 (_G_uint32_t): Likewise.
38013 (_G_HAVE_BOOL): Likewise.
38014 (_G_HAVE_ATEXIT): Likewise.
38015 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38016 (_G_HAVE_IO_FILE_OPEN): Likewise.
38017 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38018 (_G_int32_t): Likewise.
38019 (_G_uint16_t): Likewise.
38020 (_G_uint32_t): Likewise.
38021 (_G_HAVE_BOOL): Likewise.
38022 (_G_HAVE_ATEXIT): Likewise.
38023 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38024 (_G_HAVE_IO_FILE_OPEN): Likewise.
38025
b1dc5912
L
380262012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38027
38028 * csu/libc-tls.c: Update copyright years.
38029
0e886ef9
JM
380302012-09-10 Joseph Myers <joseph@codesourcery.com>
38031
28361c5e
JM
38032 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38033 [!_G_USING_THUNKS]: Remove conditional code.
38034 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38035 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38036
0e886ef9
JM
38037 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38038 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38039 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38040 (_G_VTABLE_LABEL_PREFIX): Likewise.
38041 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38042 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38043 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38044 (_G_VTABLE_LABEL_PREFIX): Likewise.
38045 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38046 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38047 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38048 (_G_VTABLE_LABEL_PREFIX): Likewise.
38049 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38050
bcba7aa2
L
380512012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38052
38053 * libio/Makefile: Include ../Makeconfig before tests.
38054 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38055 only if $(build-shared) is yes.
38056
06585ee8
L
38057 * iconv/gconv_db.c: Update copyright years.
38058
80ccd52c
LD
380592012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38060
38061 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38062 unwind info if defined PIC. Fix special cases description.
38063 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38064
38065 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38066 DP_HI_MASK entry.
38067 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38068
691bc9c1
L
380692012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38070
3d9b46b3
L
38071 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38072
de2139a9
L
38073 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38074 is NULL.
38075
5ca78dd0
L
38076 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38077 (LDLIBS-tst-chk4): This.
38078 (LDFLAGS-tst-chk5): Renamed to ...
38079 (LDLIBS-tst-chk5): This.
38080 (LDFLAGS-tst-chk6): Renamed to ...
38081 (LDLIBS-tst-chk6): This.
38082 (LDFLAGS-tst-lfschk4): Renamed to ...
38083 (LDLIBS-tst-lfschk4): This.
38084 (LDFLAGS-tst-lfschk5): Renamed to ...
38085 (LDLIBS-tst-lfschk5): This.
38086 (LDFLAGS-tst-lfschk6): Renamed to ...
38087 (LDLIBS-tst-lfschk6): This.
38088
691bc9c1
L
38089 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38090 on $(common-objpfx)soversions.mk.
38091
65cafb1c
JM
380922012-09-07 Joseph Myers <joseph@codesourcery.com>
38093
38094 [BZ #10014]
38095 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38096 example host name.
38097
c78ab094
SP
380982012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38099
38100 * malloc/arena.c (arena_get_retry): New function that gets
38101 another arena for the caller to try its request on.
38102 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38103 current arena cannot fulfill the request.
38104 (__libc_memalign): Likewise.
38105 (__libc_memalign): Likewise.
38106 (__libc_pvalloc): Likewise.
38107 (__libc_calloc): Likewise.
38108
01f49f59
JT
381092012-09-05 John Tobey <john.tobey@gmail.com>
38110
38111 [BZ #13542]
38112 * manual/arith.texi (Operations on Complex): Fix description
38113 of carg branch cut.
38114
4c23fed5
JM
381152012-09-06 Joseph Myers <joseph@codesourcery.com>
38116
1d3c8572
JM
38117 [BZ #10014]
38118 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38119 host name.
38120
4c23fed5
JM
38121 [BZ #10038]
38122 * manual/memory.texi (Memory): Make order of menu items match
38123 order of sections.
38124
04570aaa
L
381252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38126
38127 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38128 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38129 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38130
b80af2f4
L
381312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38132
38133 * csu/libc-tls.c (static_dtv): Renamed to ...
38134 (_dl_static_dtv): This. Make it global.
38135 (_dl_initial_dtv): Removed.
38136 (__libc_setup_tls): Updated.
38137 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38138 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38139 DL_INITIAL_DTV.
38140
2abe9f15
PM
381412012-09-06 Petr Machata <pmachata@redhat.com>
38142
38143 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38144 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38145 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38146 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38147
0948c3af
L
381482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38149
38150 [BZ #14545]
38151 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38152 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38153 freeing dtv[-1].
38154
a5055ad1
L
381552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38156
38157 [BZ #14544]
38158 * Makeconfig (link-static-before-libc): Replace $(+prector)
38159 with $(+prectorT).
38160 (link-static-after-libc): Replace $(+postctor) with
38161 $(+postctorT).
38162 (link-bounded): Replace $(+prector)/$(+postctor) with
38163 $(+prectorT)/$(+postctorT).
38164 (+prectorT): New macro.
38165 (+postctorT): Likewise.
38166
ed8c2ecd
JM
381672012-09-06 Joseph Myers <joseph@codesourcery.com>
38168
38169 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38170 (round_str): Handle values above the maximum for IBM long double
38171 as inexact.
38172 * stdlib/tst-strtod-round.c (tests): Regenerated.
38173
14c996c8
AK
381742012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38175
38176 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38177 assembler flag.
38178 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38179 zarch_nohighgprs around the zarch optimized routines.
38180 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38181 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38182 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38183 for zarch.
38184
430d6ce6
DM
381852012-09-05 David S. Miller <davem@davemloft.net>
38186
38187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38188
57f41c40
AS
38189 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38190 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38191 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38192 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38193 entries.
38194
24d4e01b
AO
381952012-09-05 Alexandre Oliva <aoliva@redhat.com>
38196
38197 * malloc/arena.c: Fold copyright years.
38198 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38199
61d58174
AO
382002012-09-05 Alexandre Oliva <aoliva@redhat.com>
38201
38202 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38203
20196a5e
AO
382042012-09-05 Alexandre Oliva <aoliva@redhat.com>
38205
38206 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38207
5c447383
AO
382082012-09-05 Alexandre Oliva <aoliva@redhat.com>
38209
38210 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38211 change internal state upon failure.
38212
fad64255
AO
382132012-09-05 Alexandre Oliva <aoliva@redhat.com>
38214
38215 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38216 * malloc/memusage.c (mmap): Likewise.
38217 (mmap64, mremap): Likewise. Adjust name in comment.
38218
1ffb8c90
SP
382192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38220
38221 * libio/fileops.c: Fix typos in comments.
38222 * libio/oldfileops.c: Likewise.
38223 * libio/wfileops.c: Likewise.
38224
6ef9cc37
SP
382252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38226
38227 [BZ #1349]
38228 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38229 (tst-malloc-usable-ENV): Set environment for test case.
38230 * malloc/hooks.c (malloc_check_get_size): New function to get
38231 requested size.
38232 * malloc/malloc.c (musable): Use malloc_check_get_size.
38233 * malloc/tst-malloc-usable.c: New test case.
38234
4d038ae3
AS
382352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38236
38237 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38238
c4e85184
AM
382392012-09-05 Allan McRae <allan@archlinux.org>
38240
b9dafc56 38241 [BZ #13966]
c4e85184
AM
38242 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38243 determine header location.
38244 * configure: Regenerated.
38245
e1343020
AS
382462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38247
38248 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38249 float format.
38250 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38251 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38252 format.
e1343020
AS
38253 (test): Regenerate.
38254
0a9f1987
DM
382552012-09-04 David S. Miller <davem@davemloft.net>
38256
38257 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38258 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38260
29237804
FW
382612012-09-04 Florian Weimer <fweimer@redhat.com>
38262
38263 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38264 failures.
38265
edb3cb88
FW
38266 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38267
60160d83
JM
382682012-09-04 Joseph Myers <joseph@codesourcery.com>
38269
38270 [BZ #9914]
38271 * libio/iogetdelim.c: Include <limits.h>.
38272 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38273 + len + 1 would overflow.
38274
bcd6c8dc
AJ
382752012-09-03 Andreas Jaeger <aj@suse.de>
38276
38277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38278 * sysdeps/i386/fpu/libm-test-ulps: Update.
38279
4ffffbd2
LD
382802012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38281
38282 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38283 Add s_sinf-sse2, s_conf-sse2.
38284
38285 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38286 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38287 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38288 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38289
38290 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38291 for using routine as __sinf_ia32.
38292 Use macro for function declaration and weak_alias.
38293 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38294 for using routine as __cosf_ia32.
38295 Use macro for function declaration and weak_alias.
38296
38297 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38298 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38299
38300 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38301 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38303
38304 * math/libm-test.inc (cos_test): Add more test cases.
38305 (sin_test): Likewise.
38306 (sincos_test): Likewise.
38307
511fa286
AK
383082012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38309
38310 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38311 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38312 hidden.
38313 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38314
5f30cfec
L
383152012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38316
38317 [BZ #14538]
38318 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38319 first element of the GOT.
38320 (elf_machine_load_address): Return the difference between
38321 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38322
0786794f
AM
383232012-09-01 Allan McRae <allan@archlinux.org>
38324
5f30cfec
L
38325 [BZ #13412]
38326 * configure.in (AWK): Require gawk version 3.0 or later.
38327 * configure: Regenerated.
0786794f 38328
26889eac
JM
383292012-09-01 Joseph Myers <joseph@codesourcery.com>
38330
38331 * sysdeps/unix/sysv/linux/kernel-features.h
38332 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38333 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38334 [__NR_clock_getres]: Make code unconditional.
38335 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38336 (clock_getcpuclockid): Remove code left unreachable by removal of
38337 conditionals.
38338 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38339 code unconditional.
38340 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38341 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38342 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38343 Make code unconditional.
38344 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38345 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38346 * sysdeps/unix/sysv/linux/clock_settime.c
38347 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38348 conditional code.
38349 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38350 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38351
d22e28b0
L
383522012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38353
38354 [BZ #14476]
38355 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38356 scripts/test-installation.pl.
38357
38358 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38359 and $ld_so_version if it is set.
38360
050af9c4
SP
383612012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38362
38363 [BZ #14516]
38364 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38365 failure if reading from procfs failed.
38366 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38367
ad845c0b
JM
383682012-08-27 Joseph Myers <joseph@codesourcery.com>
38369
38370 * sysdeps/unix/sysv/linux/kernel-features.h
38371 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38372 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38373 Remove conditional code.
38374 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38375 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38376 Remove conditional code.
38377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38378 * sysdeps/unix/sysv/linux/i386/fxstat.c
38379 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38380 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38381 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38382 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38383 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38384 * sysdeps/unix/sysv/linux/i386/lxstat.c
38385 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38386 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38387 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38388 Remove conditional code.
38389 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38390 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38391 Remove conditional code.
38392 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38393 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38394 <kernel-features.h>.
38395 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38396 Remove.
38397 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38398 Remove conditional code.
38399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38400 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38401 Remove conditional.
38402
5dbf56af
MF
384032012-08-27 Mike Frysinger <vapier@gentoo.org>
38404
38405 [BZ #5400]
38406 * NEWS: Add fixed bug number.
38407
d6e70f43
JM
384082012-08-27 Joseph Myers <joseph@codesourcery.com>
38409
7efb4737
JM
38410 [BZ #14519]
38411 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38412 underflowing exponent in case of negative sign.
38413 * stdlib/tst-strtod-round-data: Add more tests.
38414 * stdlib/tst-strtod-round.c (tests): Regenerated.
38415
af92131a
JM
38416 [BZ #3479]
38417 * stdlib/strtod_l.c (NDIG): Remove.
38418 (HEXNDIG): Likewise.
38419 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38420 smallest representable value.
38421 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38422 lie within an exact representation of 1/2 ulp of the result.
38423 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38424 unconditionally.
38425 (TENS_P9_IDX): Define unconditionally.
38426 (TENS_P9_SIZE): Likewise.
38427 (TENS_P10_IDX): Likewise.
38428 (TENS_P10_SIZE): Likewise.
38429 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38430 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38431 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38432 entries for 10^2^13 and 10^2^14.
38433 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38434 (TENS_P13_IDX): Define.
38435 (TENS_P13_SIZE): Likewise.
38436 (TENS_P14_IDX): Likewise.
38437 (TENS_P14_SIZE): Likewise.
38438 (_fpioconst_pow10): Change array size to
38439 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38440 unconditional.
38441 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38442 1024]: Add entries for 10^2^13 and 10^2^14.
38443 [LAST_POW10 > _LAST_POW10]: Remove #error.
38444 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38445 (_fpioconst_pow10): Change array size to
38446 FPIOCONST_POW10_ARRAY_SIZE.
38447 * stdlib/gen-fpioconst.c: New file.
38448 * stdlib/gen-tst-strtod-round.c: Likewise.
38449 * stdlib/tst-strtod-round-data: Likewise.
38450 * stdlib/tst-strtod-round.c: Likewise.
38451 * stdlib/Makefile (tests): Add tst-strtod-round.
38452
d6e70f43
JM
38453 [BZ #14459]
38454 * stdlib/strtod_l.c: Include <stdint.h>.
38455 (NDEBUG): Do not define.
38456 (round_and_return): Change EXPONENT parameter to type intmax_t.
38457 Rearrange calculations to avoid internal overflow possibilities.
38458 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38459 Rearrange calculations to avoid internal overflow possibilities.
38460 Assert that number fits inside MPNSIZE limbs.
38461 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38462 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38463 calculations and add assertions to avoid internal overflow
38464 possibilities. Add casts to avoid signed/unsigned operations.
38465 * stdlib/tst-strtod-overflow.c: New file.
38466 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38467
1f529f7d
MP
384682012-08-25 Marek Polacek <polacek@redhat.com>
38469
38470 * time/time.h: Fix some typos in comments.
38471
59a629f1
RM
384722012-08-23 Roland McGrath <roland@hack.frob.com>
38473
38474 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38475 * posix/tst-rfc3484-2.c: Likewise.
38476 * posix/tst-rfc3484-3.c: Likewise.
38477
d3bafbc9
SM
384782012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38479
38480 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38481 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38482
4efcc022
JM
384832012-08-23 Joseph Myers <joseph@codesourcery.com>
38484
38485 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38486 #include of fxstatat64.c.
38487
3cc3ef96
RM
384882012-08-22 Roland McGrath <roland@hack.frob.com>
38489
f04e2132
RM
38490 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38491 * shadow/getspent_r.c: Likewise.
38492 * shadow/getspnam.c: Likewise.
38493 * shadow/getspnam_r.c: Likewise.
38494 * gshadow/getsgent.c: Likewise.
38495 * gshadow/getsgent_r.c: Likewise.
38496 * gshadow/getsgnam.c: Likewise.
38497 * gshadow/getsgnam_r.c: Likewise.
38498 * inet/getnetbyad.c: Likewise.
38499 * inet/getnetbyad_r.c: Likewise.
38500 * inet/getnetbynm.c: Likewise.
38501 * inet/getnetbynm_r.c: Likewise.
38502 * inet/getnetent.c: Likewise.
38503 * inet/getnetent_r.c: Likewise.
38504 * inet/getproto.c: Likewise.
38505 * inet/getproto_r.c: Likewise.
38506 * inet/getprtent.c: Likewise.
38507 * inet/getprtent_r.c: Likewise.
38508 * inet/getprtname.c: Likewise.
38509 * inet/getprtname_r.c: Likewise.
38510 * inet/getrpcbyname.c: Likewise.
38511 * inet/getrpcbyname_r.c: Likewise.
38512 * inet/getrpcbynumber.c: Likewise.
38513 * inet/getrpcbynumber_r.c: Likewise.
38514 * inet/getrpcent.c: Likewise.
38515 * inet/getrpcent_r.c: Likewise.
38516 * inet/getaliasent.c: Likewise.
38517 * inet/getaliasent_r.c: Likewise.
38518 * inet/getaliasname.c: Likewise.
38519 * inet/getaliasname_r.c: Likewise.
38520 * nscd/getgrgid_r.c: Likewise.
38521 * nscd/getgrnam_r.c: Likewise.
38522 * nscd/gethstbyad_r.c: Likewise.
38523 * nscd/gethstbynm3_r.c: Likewise.
38524 * nscd/getpwnam_r.c: Likewise.
38525 * nscd/getpwuid_r.c: Likewise.
38526 * nscd/getsrvbynm_r.c: Likewise.
38527 * nscd/getsrvbypt_r.c: Likewise.
38528 * nscd/gai.c: Likewise.
38529
c53d909c
RM
38530 * configure.in (build_nscd): New substituted variable, set
38531 by --disable-build-nscd and defaults to $use_nscd.
38532 * configure: Regenerated.
38533 * config.make.in (build-nscd): New substituted variable.
38534 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38535 Change conditional to require [$(build-nscd) = yes] as well.
38536 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38537
3cc3ef96
RM
38538 [BZ# 13696]
38539 * configure.in (use_nscd): New substituted variable, set by
38540 --disable-nscd. If enabled, define USE_NSCD.
38541 * configure: Regenerated.
38542 * config.h.in: Add USE_NSCD.
38543 * config.make.in (use-nscd): New substituted variable.
38544 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38545 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38546 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38547 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38548 (CFLAGS-getgrnam_r.c): Likewise.
38549 (CFLAGS-initgroups.c): Likewise.
38550 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38551 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38552 Variables removed.
38553 * inet/getnetgrent_r.c
38554 (nscd_setnetgrent): New function, broken out of ...
38555 (setnetgrent): ... here. Call it.
38556 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38557 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38558 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38559 * nscd/Makefile (routines, aux): Move definitions after include of
38560 Makeconfig. Conditionalize on [$(use-nscd) != no].
38561 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38562 Conditionalize on [USE_NSCD].
38563 (is_nscd, nscd_init_cb): Likewise.
38564 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38565 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38566 * nss/nss_db/db-init.c: Likewise.
38567 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38568 [USE_NSCD].
38569 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38570 (make_request): Use it.
38571 (cache_valid_p): New function.
38572 (__check_pf): Use it.
38573 * NEWS: Add item for --disable-nscd.
38574
07e51550
DL
385752012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38576
38577 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38578 to support sed >= 4.2.1-20-ga9bf076.
38579 * configure: Regenerated.
38580
35a5b08b
RM
385812012-08-22 Roland McGrath <roland@hack.frob.com>
38582
38583 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38584 Conditionalize whole body on [IREL].
38585
8479f23a
JL
385862012-08-22 Jeff Law <law@redhat.com>
38587
38588 [BZ #14505]
38589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38590 if the family is PF_UNSPEC.
38591
48da0b21
MF
385922012-08-22 Mike Frysinger <vapier@gentoo.org>
38593
38594 * Makerules (lib-version): Rename from V.
38595 (install-lib-nosubdir): Change V to lib-version.
38596
15d0da8c
WS
385972012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38598
38599 [BZ #14252]
38600 * powerpc32/power6/wcschr.c: New file.
38601 * powerpc32/power6/wcscpy.c: New file.
38602 * powerpc32/power6/wcsrchr.c: New file.
38603 * powerpc64/power6/wcschr.c: New file.
38604 * powerpc64/power6/wcscpy.c: New file.
38605 * powerpc64/power6/wcsrchr.c: New file.
38606
bcca0895
MK
386072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38608
38609 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38610 (two_way_short_needle): Use it.
5a4aaa33
RM
38611 * string/strstr.c (AVAILABLE1_USES_J): Define.
38612 * string/strcasestr.c: Likewise.
99677e57
MK
38613
38614 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38615 array references.
38616 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38617
400726de
MK
38618 [BZ #11607]
38619 * NEWS: Add an entry.
38620 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38621 define their defaults.
38622 (two_way_short_needle): Detect end-of-string on-the-fly.
38623 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38624 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38625 * string/bug-strcasestr1.c: New test.
38626 * string/Makefile: Run it.
38627
20a71f2c
MK
386282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38629
38630 [BZ #11607]
38631 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38632 the first character.
38633
21ad0558
RM
386342012-08-21 Roland McGrath <roland@hack.frob.com>
38635
38636 * csu/elf-init.c (__libc_csu_irel): Function removed.
38637 * csu/libc-start.c (apply_irel): New function.
38638 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38639
0e1d9911
JM
386402012-08-21 Joseph Myers <joseph@codesourcery.com>
38641
38642 * sysdeps/unix/sysv/linux/kernel-features.h
38643 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38644 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38645 <kernel-features.h>.
38646 [__NR_fadvise64_64]: Make code unconditional.
38647 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38648 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38649 !__NR_fadvise64_64)]: Likewise.
38650 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38651 !__NR_fadvise64_64))]: Likewise.
38652 [__NR_fadvise64]: Make code unconditional.
38653 [!__NR_fadvise64]: Remove conditional code.
38654 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38655 <kernel-features.h>.
38656 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38657 unconditional.
38658 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38659 conditional code.
38660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38661 not include <kernel-features.h>.
38662 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38663 unconditional.
38664 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38665 conditional code.
38666 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38667 include <kernel-features.h>.
38668 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38669 unconditional.
38670 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38671 conditional code.
38672
14a50c9d
WS
386732012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38674
38675 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38676 slight instruction rearrangements per scrollpipe analysis.
38677 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38678
c0f4faf0
RM
386792012-08-20 Roland McGrath <roland@hack.frob.com>
38680
696da859
RM
38681 * manual/syslog.texi (syslog; vsyslog, closelog):
38682 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38683 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38684
c0f4faf0
RM
38685 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38686 DSOCAPS to match condition on defining it.
38687
348363b2
JM
386882012-08-20 Joseph Myers <joseph@codesourcery.com>
38689
a35cbf28
JM
38690 * sysdeps/unix/sysv/linux/kernel-features.h
38691 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38693 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38694 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38696 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38697 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38699 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38700 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38701
445f7ecd
JM
38702 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38703 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38704
348363b2
JM
38705 * sysdeps/unix/sysv/linux/kernel-features.h
38706 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38707 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38708 unconditional.
38709 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38710 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38711 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38712 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38713 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38714 Make code unconditional.
38715 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38716 (__mmap64) [!__NR_mmap2]: Likewise.
38717 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38718 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38719 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38720 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38721 [__NR_mmap2]: Make code unconditional.
38722 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38723 (__mmap64) [!__NR_mmap2]: Likewise.
38724
bc5bc0e5
AK
387252012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38726
38727 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38728
88d506de
AJ
387292012-08-18 Andreas Jaeger <aj@suse.de>
38730
38731 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38732
493387d2
MF
387332012-08-18 Mike Frysinger <vapier@gentoo.org>
38734
38735 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38736 * include/unistd.h (__have_sock_cloexec): Likewise.
38737 (__have_pipe2): Likewise.
38738 (__have_dup3): Likewise.
38739
a277af22
MF
387402012-08-18 Mike Frysinger <vapier@gentoo.org>
38741
38742 [BZ #9685]
38743 * include/unistd.h (__have_pipe2): Change define into an extern int.
38744 (__have_dup3): Likewise.
38745 * socket/have_sock_cloexec.c: Include fcntl.h.
38746 (__have_pipe2): New variable.
38747 (__have_dup3): Likewise.
38748
fdab8fd3
MF
387492012-08-17 Mike Frysinger <vapier@gentoo.org>
38750
38751 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38752
31035e80
MP
387532012-08-17 Marek Polacek <polacek@redhat.com>
38754
38755 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38756 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38757
3bd9e993
RM
387582012-08-17 Roland McGrath <roland@hack.frob.com>
38759
c91c505f
RM
38760 * configure.in: Add AC_SUBST for sysheaders.
38761 * configure: Regenerated.
38762 * config.make.in (sysheaders): New substituted variable.
38763
7c6f9d53
RM
38764 * sysdeps/unix/mkfifo.c: Moved ...
38765 * sysdeps/posix/mkfifo.c: ... here.
38766 * sysdeps/unix/mkfifoat.c: Moved ...
38767 * sysdeps/posix/mkfifoat.c: ... here.
38768
38769 * sysdeps/unix/utime.c: Moved ...
38770 * sysdeps/posix/utime.c: ... here.
38771
38772 * sysdeps/unix/time.c: Moved ...
38773 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38774 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38775 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38776
38777 * sysdeps/unix/nice.c: Moved ...
38778 * sysdeps/posix/nice.c: ... here.
38779
38780 * sysdeps/unix/alarm.c: Moved ...
38781 * sysdeps/posix/alarm.c: ... here.
38782
3bd9e993
RM
38783 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38784
d1f09384
JL
387852012-08-17 Jeff Law <law@redhat.com>
38786
38787 * intl/Makefile (codeset_mo): New variable.
38788 ($(codeset_mo)): New target.
38789 (tst-codeset.out): Depend on that. Remove explicit rule.
38790 (tst-gettext3.out, tst-gettext5.out): Likewise.
38791 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38792 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38793 * intl/tst-codeset.sh: Remove.
38794 * intl/tst-gettext3.sh: Likewise.
38795 * intl/tst-gettext5.sh: Likewise.
38796
2ae1ae5c
RM
387972012-08-17 Roland McGrath <roland@hack.frob.com>
38798
c31fdb83
RM
38799 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38800 * sysdeps/unix/syscalls.list: ... here.
38801
a0844057
RM
38802 * sysdeps/posix/getaddrinfo.c
38803 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38804 (gaiconf_init, gaiconf_reload): Use them.
38805 [!_STATBUF_ST_NSEC]
38806 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38807 Define using time_t rather than struct timespec.
38808
750c1f2a
RM
38809 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38810 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38811 Macros removed.
38812 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38813 [!NO_THREADS].
38814 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38815 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38816 Likewise.
38817
2ae1ae5c
RM
38818 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38819 __libc_cleanup_push argument.
38820
e66a42f5
RM
38821 * bits/param.h: New file.
38822 * misc/sys/param.h: New file.
38823 * include/sys/param.h: New file.
38824 * misc/Makefile (headers): Add bits/param.h.
38825 * sysdeps/generic/sys/param.h: File removed.
38826 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38827 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38828 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38829 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38830
b7c08a66
RM
38831 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38832 last change.
38833
b2e1c562
RM
38834 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38835 [_IO_MTSAFE_IO].
38836 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38837 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38838 New macros.
38839
c75ccd4c
RM
38840 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38841 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38842 rather than -D_IO_MTSAFE_IO conditionally.
38843 * stdio-common/Makefile (CPPFLAGS): Likewise.
38844 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38845 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38846 Use $(libio-mtsafe).
38847 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38848 of -D_IO_MTSAFE_IO.
38849 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38850 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38851 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38852 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38853 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38854 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38855 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38856 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38857 (CFLAGS-fread_u_chk.c): Likewise.
38858 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38859 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38860 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38861 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38862 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38863 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38864 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38865 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38866 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38867
38868 * libio/Makefile: Test [$(libc-reentrant) = yes]
38869 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38870
38871 * Makeconfig
38872 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38873 * sysdeps/pthread/configure: File removed.
38874 * sysdeps/pthread/Makeconfig: New file.
38875 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38876 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38877
d9195db8
GB
388782012-08-16 Gary Benson <gbenson@redhat.com>
38879
38880 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38881 unmapping the first object in a namespace.
38882
86466cd9
RM
388832012-08-16 Roland McGrath <roland@hack.frob.com>
38884
38885 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38886 (__internal_setnetgrent): ... this. Add internal_function to
38887 definition. Add libc_hidden_def.
38888 (setnetgrent): Update caller.
38889 (internal_endnetgrent): Renamed to ...
38890 (__internal_endnetgrent): ... this. Add internal_function to
38891 definition. Add libc_hidden_def.
38892 (endnetgrent): Update caller.
38893 (internal_getnetgrent_r): Renamed to ...
38894 (__internal_getnetgrent_r): ... this. Add internal_function to
38895 definition. Add libc_hidden_def.
38896 (__getnetgrent_r): Update caller.
38897 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38898
c3c8283c
JM
388992012-08-16 Joseph Myers <joseph@codesourcery.com>
38900
38901 * stdlib/longlong.h: Update from GCC.
38902
db1ee0a8
RM
389032012-08-16 Roland McGrath <roland@hack.frob.com>
38904
38905 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38906 on _QL, which is set by umul_ppmm but never used.
38907 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38908 variables, which are set by GMP macros but never used.
38909 * stdio-common/_itowa.c (_itowa): Likewise.
38910 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38911 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38912
30f69637
CD
389132012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38914
38915 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38916 struct La_sh_regs is not constant.
38917 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38918 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38919 and struct La_sparc64_regs are not constant.
38920
93a78ac4
JM
389212012-08-16 Joseph Myers <joseph@codesourcery.com>
38922
38923 * sysdeps/unix/sysv/linux/kernel-features.h
38924 (__ASSUME_POSIX_TIMERS): Remove.
38925 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38926 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38927 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38928 Make code unconditional.
38929 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38930 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38931 Make code unconditional.
38932 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38933 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38934 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38935 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38936 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38937 Make code unconditional.
38938 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38939 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38940 (__libc_missing_posix_timers): Remove.
38941
dd924cd7
RM
389422012-08-15 Roland McGrath <roland@hack.frob.com>
38943
4b4f2771
RM
38944 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38945 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38946
601c888b
RM
38947 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38948
176790a7
RM
38949 * elf/dl-sym.c: Include <stdlib.h>.
38950
329bc018
RM
38951 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38952 constants, which avoids warnings in 32-bit builds.
38953
e04e272d
RM
38954 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38955 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38956
952bf94a
RM
38957 * misc/lseek.c: File moved to ...
38958 * io/lseek.c: ... here.
38959
7c99b50a
RM
38960 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38961
dd924cd7
RM
38962 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38963 shifting LEN more than 31 bits at once.
38964
b3f479a8
LD
389652012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38966
38967 [BZ #14195]
8c4ae0d4
RM
38968 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38969 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38970 * string/test-strncasecmp.c (check1): Renamed to...
38971 (bz12205): ...this.
38972 (bz14195): Add new testcase for two empty input strings and N > 0.
38973 (test_main): Call new testcase, adapt for renamed function.
38974
9c55864e
AJ
389752012-08-15 Andreas Jaeger <aj@suse.de>
38976
38977 [BZ #14090]
38978 * crypt/md5test2.c: New test, based on test supplied by Serge
38979 Belyshev <belyshev@depni.sinp.msu.ru>.
38980 * crypt/Makefile (xtests): Add md5test-giant..
38981 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38982
02dcb6c5
PE
389832012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38984
38985 [BZ #14090]
38986 * crypt/md5.c (md5_process_block): Don't assume the buffer
38987 length is less than 2**32.
38988 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38989 length is less than 2**64.
38990
a3f95dcc
RM
389912012-08-15 Roland McGrath <roland@hack.frob.com>
38992
be75d758
RM
38993 * string/str-two-way.h: Include <sys/param.h>.
38994 (MAX): Macro removed.
38995
7312ca90
RM
38996 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38997 Move #define and #undef of memmove to just before and after
38998 including <string.h>.
38999
9a0a5486
RM
39000 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39001 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39002 and after including <string.h>. Move declarations of
39003 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39004 to before #include "string/memmove.c".
39005
67cc348d
RM
39006 * include/dirent.h: Declare __getdirentries.
39007
a3f95dcc
RM
39008 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39009 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39010
ca98e171
MF
390112012-08-14 Mike Frysinger <vapier@gentoo.org>
39012
39013 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39014 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39015 * sysdeps/i386/configure: Regenerated.
39016 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39017 STABS_CURRENT_FILE, and STABS_FUN.
39018 (END): Remove call to STABS_FUN_END.
39019 (STABS_CURRENT_FILE1): Delete.
39020 (STABS_CURRENT_FILE): Likewise.
39021 (STABS_FUN): Likewise.
39022 (STABS_FUN_END): Likewise.
39023 (STABS_FUN2): Likewise.
39024 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39025 * sysdeps/x86_64/configure: Regenerated.
39026
5908bf46
RM
390272012-08-14 Roland McGrath <roland@hack.frob.com>
39028
39029 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39030 * elf/dl-lookup.c: Likewise.
5908bf46 39031
f2c05b9e
JM
390322012-08-14 Joseph Myers <joseph@codesourcery.com>
39033
39034 * sysdeps/unix/sysv/linux/kernel-features.h
39035 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39036 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39037 unconditionally.
39038 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39039 unconditionally.
39040 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39041 condition on __ASSUME_CLONE_THREAD_FLAGS.
39042
e11f5155
AJ
390432012-08-14 Andreas Jaeger <aj@suse.de>
39044
39045 * sysdeps/i386/fpu/libm-test-ulps: Update.
39046
51a9ba86
MK
390472012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39048
2fdd4f78
AJ
39049 * include/atomic.h (atomic_exchange_and_add): Split into ...
39050 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39051 New atomic macros.
51a9ba86 39052
ba6cba9e
MT
390532012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39054
39055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39056
42443a47
JL
390572012-08-13 Jeff Law <law@redhat.com>
39058
39059 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39060 null byte in the output string.
39061
121dce05
JM
390622012-08-10 Joseph Myers <joseph@codesourcery.com>
39063
39064 * sysdeps/unix/sysv/linux/kernel-features.h
39065 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39066 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39067 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39068 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39069 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39070 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39071 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39072
bf51f568
JL
390732012-08-09 Jeff Law <law@redhat.com>
39074
39075 [BZ #13939]
39076 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39077 When avoid_arena is set, don't retry in the that arena. Pick the
39078 next one, whatever it might be.
39079 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39080 (arena_lock): Pass in new parameter to arena_get2.
39081 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39082 arena_get2.
39083 (__libc_malloc): Unify retrying after main arena failure with
39084 __libc_memalign version.
39085 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39086
f85fa270
L
390872012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39088
39089 [BZ #14166]
39090 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39091 to __redirect_strstr.
39092 (__strstr_sse42): Use typeof __redirect_strstr.
39093 (__strstr_ia32): Likewise.
39094 (__libc_strstr): New prototype.
39095 (strstr): Renamed to ...
39096 (__libc_strstr): This.
39097 (strstr): New strong alias of __libc_strstr.
39098 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39099 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39100 __redirect_time.
39101 Include <time.h>.
39102 (__libc_time): New prototype.
39103 (time_ifunc): Replace time with __libc_time.
39104 (time): New strong alias and hidden definition of __libc_time.
39105 (__GI_time): Remove strong alias.
39106 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39107 Include <stddef.h>.
39108 (memmove): Redefined to __redirect_memmove.
39109 (__memmove_sse2): Use typeof __redirect_memmove.
39110 (__memmove_ssse3): Likewise.
39111 (__memmove_ssse3_back): Likewise.
39112 (__libc_memmove): New prototype.
39113 (memmove): Renamed to ...
39114 (__libc_memmove): This.
39115 (memmove): New strong alias of __libc_memmove.
39116
33b4a91e
MS
391172012-08-08 Mark Salter <msalter@redhat.com>
39118
39119 * elf/elf.h
39120 (R_MN10300_TLS_GD): Define.
39121 (R_MN10300_TLS_LD): Likewise.
39122 (R_MN10300_TLS_LDO): Likewise.
39123 (R_MN10300_TLS_GOTIE): Likewise.
39124 (R_MN10300_TLS_IE): Likewise.
39125 (R_MN10300_TLS_LE): Likewise.
39126 (R_MN10300_TLS_DTPMOD): Likewise.
39127 (R_MN10300_TLS_DTPOFF): Likewise.
39128 (R_MN10300_TLS_TPOFF): Likewise.
39129 (R_MN10300_SYM_DIFF): Likewise.
39130 (R_MN10300_ALIGN): Likewise.
39131 (R_MN10300_NUM): Update.
39132
b36137f1
JM
391332012-08-08 Joseph Myers <joseph@codesourcery.com>
39134
39135 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39136 Remove.
39137
cdd915fd
RM
391382012-08-08 Roland McGrath <roland@hack.frob.com>
39139
a2433aac
RM
39140 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39141
cdd915fd
RM
39142 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39143 sysdeps/unix -> sysdeps/posix move.
39144 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39145
bf9b740a
AM
391462012-08-07 Allan McRae <allan@archlinux.org>
39147
39148 [BZ #14303]
39149 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39150 (SUNOS_CPP): Likewise.
39151 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39152 not found.
39153 (open_input): Call CPP using execvp.
39154
93df14ee
JM
391552012-08-07 Joseph Myers <joseph@codesourcery.com>
39156
39157 * sysdeps/unix/sysv/linux/kernel-features.h
39158 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39159 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39160 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39161 (__ASSUME_WAITID_SYSCALL): Likewise.
39162 * sysdeps/unix/sysv/linux/dl-execstack.c
39163 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39164 code unconditional.
39165 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39166 conditional code.
39167 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39168 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39169 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39170 code.
39171 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39172 unconditional.
39173 [__ASSUME_WAITID_SYSCALL]: Likewise.
39174 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39175
d34689de
RM
391762012-08-07 Roland McGrath <roland@hack.frob.com>
39177
a281decc
RM
39178 * sysdeps/unix/closedir.c: Renamed to ...
39179 * sysdeps/posix/closedir.c: ... here.
39180 * sysdeps/unix/dirfd.c: Renamed to ...
39181 * sysdeps/posix/dirfd.c: ... here.
39182 * sysdeps/unix/dirstream.h: Renamed to ...
39183 * sysdeps/posix/dirstream.h: ... here.
39184 * sysdeps/unix/fdopendir.c: Renamed to ...
39185 * sysdeps/posix/fdopendir.c: ... here.
39186 * sysdeps/unix/opendir.c: Renamed to ...
39187 * sysdeps/posix/opendir.c: ... here.
39188 * sysdeps/unix/readdir.c: Renamed to ...
39189 * sysdeps/posix/readdir.c: ... here.
39190 * sysdeps/unix/readdir_r.c: Renamed to ...
39191 * sysdeps/posix/readdir_r.c: ... here.
39192 * sysdeps/unix/rewinddir.c: Renamed to ...
39193 * sysdeps/posix/rewinddir.c: ... here.
39194 * sysdeps/unix/seekdir.c: Renamed to ...
39195 * sysdeps/posix/seekdir.c: ... here.
39196 * sysdeps/unix/telldir.c: Renamed to ...
39197 * sysdeps/posix/telldir.c: ... here.
39198 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39199 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39200 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39201 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39202
22895b47
RM
39203 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39204 * bits/fcntl.h: ... here.
39205
707a53b6
RM
39206 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39207 not 0.
39208 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39209 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39210 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39211 (struct flock): Move l_start, l_len to the beginning.
39212 Use __pid_t for l_pid.
39213 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39214 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39215 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39216 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39217 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39218 [__USE_LARGEFILE64] (struct flock64): New type.
39219 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39220
f0bd3e25
RM
39221 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39222 * bits/dirent.h: ... here.
39223
d34689de
RM
39224 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39225 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39226
6dad2c06
JM
392272012-08-07 Joseph Myers <joseph@codesourcery.com>
39228
39229 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39230 Change from 2.6.0 to 2.6.16.
39231 * sysdeps/unix/sysv/linux/configure: Regenerated.
39232 * sysdeps/unix/sysv/linux/kernel-features.h
39233 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39234 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39235 version.
39236 (__ASSUME_UTIMES): Likewise.
39237 (__ASSUME_CLONE_STOPPED): Remove.
39238 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39239 architectures, not kernel version.
39240 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39241 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39242 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39243 (__ASSUME_WAITID_SYSCALL): Likewise.
39244 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39245 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39246 * README: State 2.6.16 as minimum Linux kernel version. Do not
39247 refer to older versions.
39248
03af9520
RM
392492012-08-06 Roland McGrath <roland@hack.frob.com>
39250
8e49df1d
RM
39251 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39252 Define alphasort64 as an alias.
39253 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39254 Define versionsort64 as an alias.
39255 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39256 Define scandir64 as an alias.
39257 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39258 Define scandirat64 as an alias.
39259 * dirent/alphasort64.c (alphasort64):
39260 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39261 * dirent/versionsort64.c: Likewise.
39262 * dirent/scandir64.c: Likewise.
39263 * dirent/scandirat64.c: Likewise.
39264 * sysdeps/wordsize-64/alphasort.c: File removed.
39265 * sysdeps/wordsize-64/alphasort64.c: File removed.
39266 * sysdeps/wordsize-64/scandir.c: File removed.
39267 * sysdeps/wordsize-64/scandir64.c: File removed.
39268 * sysdeps/wordsize-64/scandirat.c: File removed.
39269 * sysdeps/wordsize-64/scandirat64.c: File removed.
39270 * sysdeps/wordsize-64/versionsort.c: File removed.
39271 * sysdeps/wordsize-64/versionsort64.c: File removed.
39272 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39273 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39274 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39276 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39278 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39279 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39280
39281 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39283 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39285 [defined __arch64__ || defined __sparcv9]
39286 (__INO_T_MATCHES_INO64_T): New macro.
39287 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39288 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39289 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39290 * sysdeps/unix/sysv/linux/bits/dirent.h
39291 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39292 (_DIRENT_MATCHES_DIRENT64): New macro.
39293
03af9520
RM
39294 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39295 Define lockf64 as an alias.
39296 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39297 Define fseeko64 as an alias.
39298 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39299 Define ftello64 as an alias.
39300 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39301 Define _IO_fgetpos64 and fgetpos64 as aliases.
39302 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39303 Define _IO_fsetpos64 and fsetpos64 as aliases.
39304 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39305 Conditionalize body on this.
39306 * libio/fseeko64.c: Likewise.
39307 * libio/ftello64.c: Likewise.
39308 * libio/iofgetpos64.c: Likewise.
39309 * libio/iofsetpos64.c: Likewise.
39310 * sysdeps/wordsize-64/lockf.c: File removed.
39311 * sysdeps/wordsize-64/lockf64.c: File removed.
39312 * sysdeps/wordsize-64/fseeko.c: File removed.
39313 * sysdeps/wordsize-64/fseeko64.c: File removed.
39314 * sysdeps/wordsize-64/ftello.c: File removed.
39315 * sysdeps/wordsize-64/ftello64.c: File removed.
39316 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39317 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39318 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39319 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39320 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39321 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39322 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39323 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39324 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39325 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39326 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39327 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39328 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39329 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39330
39331 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39333 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39334 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39335 [defined __arch64__ || defined __sparcv9]
39336 (__OFF_T_MATCHES_OFF64_T): New macro.
39337 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39338 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39340 (__OFF_T_MATCHES_OFF64_T): New macro.
39341
c5757acd
L
393422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39343
39344 * stdlib/secure-getenv.c (__secure_getenv): Replace
39345 GLIBC_2_16 with GLIBC_2_17.
39346
3a31811e
L
393472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39348
39349 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39350 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39351
faa2bccb
DM
393522012-08-03 David S. Miller <davem@davemloft.net>
39353
39354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39355
85fe1997
JM
393562012-08-03 Joseph Myers <joseph@codesourcery.com>
39357
39358 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39359 Remove.
39360 (__ASSUME_CORRECT_SI_PID): Likewise.
39361 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39362 (__ASSUME_TMPFS_NAME): Likewise.
39363 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39364 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39365 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39366 (HAVE_AUX_SECURE): Make definition unconditional.
39367 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39368 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39369
4f75b7a0
RM
393702012-08-03 Roland McGrath <roland@hack.frob.com>
39371
39372 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39373 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39374 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39375 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39376 __eloop_threshold instead of SYMLOOP_MAX.
39377
39378 * sysdeps/generic/eloop-threshold.h: New file.
39379 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39380 of MAXSYMLINKS.
39381 * elf/chroot_canon.c (chroot_canon): Likewise.
39382
7aab07e4
JM
393832012-08-03 Joseph Myers <joseph@codesourcery.com>
39384
39385 [BZ #13717]
39386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39387 Change to 2.6.0 everywhere.
39388 * sysdeps/unix/sysv/linux/configure: Regenerated.
39389 * sysdeps/unix/sysv/linux/kernel-features.h
39390 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39391 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39392 kernel versions.
39393 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39394 (__ASSUME_FUTEX_REQUEUE): Remove.
39395 (__ASSUME_STATFS64): Define unconditionally.
39396 (__ASSUME_AT_SECURE): Likewise.
39397 (__ASSUME_CORRECT_SI_PID): Likewise.
39398 (__ASSUME_TGKILL): Define without depending on kernel version for
39399 i386.
39400 (__ASSUME_UTIMES): Likewise.
39401 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39402 kernel version.
39403 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39404 (__ASSUME_TMPFS_NAME): Likewise.
39405 * README: Update reference to Linux kernel versions.
39406
b67e9372
MP
394072012-08-02 Marek Polacek <polacek@redhat.com>
39408
1f529f7d 39409 [BZ# 14150]
b67e9372
MP
39410 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39411 libc_cv_asm_type_prefix with %.
39412 * configure: Regenerated.
d2441631
RM
39413 * include/libc-symbols.h: Remove comment about
39414 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39415 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39416 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39417 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39418 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39419 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39420 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39421 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39422 * elf/tst-unique2mod1.c: Likewise.
39423 * elf/tst-unique1mod2.c: Likewise.
39424 * elf/tst-unique1mod1.c: Likewise.
39425 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39426 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39427 Replace ASM_TYPE_DIRECTIVE with .type.
39428 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39429 * sysdeps/i386/sysdep.h: Likewise.
39430 * sysdeps/x86_64/sysdep.h: Likewise.
39431 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39433 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39434 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39435 * sysdeps/powerpc/powerpc32/sysdep.h:
39436 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39437 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39438 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39439 * sysdeps/i386/fpu/e_powf.S: Likewise.
39440 * sysdeps/i386/fpu/e_expl.S: Likewise.
39441 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39442 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39443 * sysdeps/i386/fpu/e_pow.S: Likewise.
39444 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39445 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39446 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39447 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39448 * sysdeps/i386/fpu/e_log2.S: Likewise.
39449 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39450 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39451 * sysdeps/i386/fpu/e_powl.S: Likewise.
39452 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39453 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39454 * sysdeps/i386/fpu/e_logl.S: Likewise.
39455 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39456 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39457 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39458 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39459 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39460 * sysdeps/i386/fpu/e_log.S: Likewise.
39461 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39462 * sysdeps/i386/fpu/e_logf.S: Likewise.
39463 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39464 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39465 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39466 * sysdeps/i386/fpu/e_log10.S: Likewise.
39467 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39468 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39469 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39470 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39471 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39472 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39473 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39474 * sysdeps/i386/i686/strtok.S: Likewise.
39475 * sysdeps/i386/i386-mcount.S: Likewise.
39476 * sysdeps/i386/strtok.S: Likewise.
39477 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39478 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39479 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39480 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39481 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39482 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39483 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39484 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39486 * sysdeps/x86_64/_mcount.S: Likewise.
39487 * sysdeps/x86_64/strtok.S: Likewise.
39488 * sysdeps/sh/_mcount.S: Likewise.
39489
2747bf9a
RM
394902012-08-01 Roland McGrath <roland@hack.frob.com>
39491
39492 * libio/iofopen.c: Include <fcntl.h>.
39493 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39494 (_IO_fopen64, fopen64): Define as aliases.
39495 * libio/iofopen64.c: Include <fcntl.h>.
39496 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39497 Conditionalize body on this.
39498 * sysdeps/wordsize-64/iofopen.c: File removed.
39499 * sysdeps/wordsize-64/iofopen64.c: File removed.
39500
3fb791b8
MP
395012012-08-01 Marek Polacek <polacek@redhat.com>
39502
39503 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39504 Use dlfcn directly instead of a variable.
39505 (binfmt-subdir): Do not define.
39506 (dlfcn): Likewise.
39507
a9f1039f
JM
395082012-08-01 Joseph Myers <joseph@codesourcery.com>
39509
23bddc06
JM
39510 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39511 Remove all definitions.
39512 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39513 <kernel-features.h>.
39514 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39515 (miss_F_GETOWN_EX): Remove all definitions.
39516 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39517 macro definition.
39518 [!__ASSUME_FCNTL64]: Remove conditional code.
39519 [__ASSUME_FCNTL64]: Make code unconditional.
39520 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39521 <kernel-features.h>.
39522 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39523 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39524 (lockf64) [__NR_fcntl64]: Make code unconditional.
39525 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39526
a9f1039f
JM
39527 * sysdeps/unix/sysv/linux/kernel-features.h
39528 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39529 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39530 Make code unconditional.
39531 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39532 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39534 [__NR_vfork]: Make code unconditional.
39535 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39536 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39538 [__NR_vfork]: Make code unconditional.
39539 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39540 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39541
09c0ee5f
RM
395422012-08-01 Roland McGrath <roland@hack.frob.com>
39543
48aec5b9
RM
39544 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39545 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39546
cd97c966
RM
39547 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39548 Define mkstemp64 as an alias.
3f55550c
RM
39549 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39550 Define mkstemps64 as an alias.
cd97c966
RM
39551 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39552 Define mkostemp64 as an alias.
b8625cfc
RM
39553 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39554 Define mkostemps64 as an alias.
cd97c966
RM
39555 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39556 Conditionalize body on this.
39557 * misc/mkostemp64.c: Likewise.
b8625cfc 39558 * misc/mkostemps64.c: Likewise.
3f55550c 39559 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39560 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39561 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39562 * sysdeps/wordsize-64/mkostemp.c: File removed.
39563 * sysdeps/wordsize-64/mkstemp.c: File removed.
39564 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39565 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39566 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39567 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39568
09c0ee5f
RM
39569 [BZ #14138]
39570 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39571 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39572 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39573 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39574
39575 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39576 compat_symbol macros from <shlib-compat.h> rather than the underlying
39577 default_symbol_version and symbol_version macros, so that DEFAULT
39578 lines in shlib-versions are respected.
39579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39580
7e66ee51
FW
395812012-08-01 Florian Weimer <fweimer@redhat.com>
39582
39583 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39584 Declare with warn_unused_result.
39585 (setgid, setregid, setegid, setresgid): Likewise.
39586 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39587 Likewise.
39588 * WUR-REPORT: Remove set*id functions.
39589
d2a54255
PT
395902012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39591
39592 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39593
7ecdb005
RM
395942012-07-31 Roland McGrath <roland@hack.frob.com>
39595
b4180a5e 39596 [BZ #10191]
789bd351
RM
39597 * include/sys/socket.h (__libc_accept, __libc_accept4):
39598 Add attribute_hidden.
39599 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39600
40ce302d
RM
39601 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39602 use of PTR_MANGLE.
39603 * inet/getnetgrent_r.c (setup): Likewise.
39604
7ecdb005
RM
39605 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39606
e2eabb2c
DM
396072012-07-31 David S. Miller <davem@davemloft.net>
39608
39609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39610
d0419dbf
JM
396112012-07-31 Joseph Myers <joseph@codesourcery.com>
39612
39613 [BZ #13629]
39614 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39615 value between 1.0 and 2.0 and smaller part has absolute value less
39616 than 1.0.
39617 * math/s_clog10.c (__clog10): Likewise.
39618 * math/s_clog10f.c (__clog10f): Likewise.
39619 * math/s_clog10l.c (__clog10l): Likewise.
39620 * math/s_clogf.c (__clogf): Likewise.
39621 * math/s_clogl.c (__clogl): Likewise.
39622 * math/libm-test.inc (clog_test): Add more tests.
39623 (clog10_test): Likewise.
39624 * sysdeps/i386/fpu/libm-test-ulps: Update.
39625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39626
2bc13872
FW
396272012-07-31 Florian Weimer <fweimer@redhat.com>
39628
39629 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39630 Exit with zero in case no suitable GID is found, and write a
39631 message to standard error.
39632
bea9b193
RM
396332012-07-30 Roland McGrath <roland@hack.frob.com>
39634
39635 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39636 rather than to 1.
39637 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39638 (MAXPATHLEN): Removed.
39639 (NOGROUP, NODEV): New macros.
39640 (setbit, clrbit, isset, isclr): New macros.
39641 (howmany, roundup, powerof2): New macros.
39642 (DEV_BSIZE): New macro.
39643
39644 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39645 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39646
39647 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39648 definition on [!__NO_LONG_DOUBLE_MATH].
39649
39650 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39651 PTR_MANGLE and PTR_DEMANGLE.
39652
39653 * socket/accept4.c (accept4): Rename to __libc_accept4.
39654 Define accept4 as a weak alias.
39655
39656 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39657 on [_DIRENT_HAVE_D_TYPE].
39658 * io/ftw.c (ftw_dir): Likewise.
39659
39660 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39661
39662 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39663
39664 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39665 Use the BSD numbers rather than the arbitrary ones we had.
39666 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39667 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39668 (SIGXCPU, SIGXFSZ): New macros.
39669 (_NSIG): Now 32.
39670
39671 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39672 initializer on [_LIBC_REENTRANT].
39673
39674 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39675 definitions inside [_POSIX_MAPPED_FILES].
39676
39677 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39678
39679 * dirent/opendir.c: Include <fcntl.h>.
39680
39681 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39682 (__libc_getspecific): Likewise.
39683 (__libc_key_create): Likewise.
39684
39685 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39686 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39687 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39688 (tmpfile64): Define as alias.
39689 * sysdeps/wordsize-64/tmpfile.c: File removed.
39690 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39691 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39692 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39693
39694 * stdio-common/vfscanf.c: Include <stdbool.h>.
39695 * nss/makedb.c: Likewise.
39696 * stdio-common/_i18n_number.h: Likewise.
39697 * argp/argp-help.c: Likewise.
39698 * posix/wordexp.c: Likewise.
39699 * sysdeps/posix/spawni.c: Likewise.
39700 * nss/nss_files/files-initgroups.c: Likewise.
39701 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39702 * nss/nss_files/files-initgroups.c: Likewise.
39703 * nss/nss_db/db-netgrp.c: Likewise.
39704 * nss/nss_db/db-initgroups.c: Likewise.
39705 * io/fchmodat.c: Include <sys/stat.h>.
39706
39707 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39708 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39709
39710 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39711 [HAVE_MMAP].
39712
39713 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39714 Add multiple inclusion protection.
39715
e5abc686
DM
397162012-07-27 David S. Miller <davem@davemloft.net>
39717
39718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39719
815e6fa3
GB
397202012-07-27 Gary Benson <gbenson@redhat.com>
39721
39722 [BZ #14298]
39723 * elf/rtld.c: Include <stap-probe.h>.
39724 (dl_main): Added static probes "init_start" and "init_complete".
39725 * elf/dl-load.c: Include <stap-probe.h>.
39726 (lose): Take new parameter "nsid".
39727 Added static probe "map_failed".
39728 (_dl_map_object_from_fd): Pass namespace id to lose.
39729 Added static probe "map_start".
39730 (open_verify): Pass namespace id to lose.
39731 * elf/dl-open.c: Include <stap-probe.h>.
39732 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39733 and "reloc_complete".
39734 * elf/dl-close.c: Include <stap-probe.h>.
39735 (_dl_close_worker): Added static probes "unmap_start" and
39736 "unmap_complete".
39737 * elf/rtld-debugger-interface.txt: New file documenting the above.
39738
9f98c16c
RM
397392012-07-26 Roland McGrath <roland@hack.frob.com>
39740
39741 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39742 rather than a string variable.
39743 * sunrpc/rpc_main.c (h_output): Likewise.
39744 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39745
f3c22df3
PT
397462012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39747
39748 * inet/check_native.c: New file.
39749
3129cfc6
JM
397502012-07-26 Joseph Myers <joseph@codesourcery.com>
39751
da865e95
JM
39752 [BZ #13629]
39753 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39754 if larger part has absolute value 1.0.
39755 * math/s_clog10.c (__clog10): Likewise.
39756 * math/s_clog10f.c (__clog10f): Likewise.
39757 * math/s_clog10l.c (__clog10l): Likewise.
39758 * math/s_clogf.c (__clogf): Likewise.
39759 * math/s_clogl.c (__clogl): Likewise.
39760 * math/libm-test.inc (clog_test): Add more tests.
39761 (clog10_test): Likewise.
39762 * sysdeps/i386/fpu/libm-test-ulps: Update.
39763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39764
3129cfc6
JM
39765 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39766 (pltexit): Likewise.
39767 (La_regs): Likewise.
39768 (La_retval): Likewise.
39769 (int_retval): Likewise.
39770 Update #error for removed macros to refer only to definitions in
39771 tst-audit.h.
39772 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39773 macro.
39774 (pltexit): Likewise.
39775 (La_regs): Likewise.
39776 (La_retval): Likewise.
39777 (int_retval): Likewise.
39778 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39779 macro.
39780 (pltexit): Likewise.
39781 (La_regs): Likewise.
39782 (La_retval): Likewise.
39783 (int_retval): Likewise.
39784 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39785 macro.
39786 (pltexit): Likewise.
39787 (La_regs): Likewise.
39788 (La_retval): Likewise.
39789 (int_retval): Likewise.
39790 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39791 macro.
39792 (pltexit): Likewise.
39793 (La_regs): Likewise.
39794 (La_retval): Likewise.
39795 (int_retval): Likewise.
39796 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39797 macro.
39798 (pltexit): Likewise.
39799 (La_regs): Likewise.
39800 (La_retval): Likewise.
39801 (int_retval): Likewise.
39802 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39803 macro.
39804 (pltexit): Likewise.
39805 (La_regs): Likewise.
39806 (La_retval): Likewise.
39807 (int_retval): Likewise.
39808 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39809 macro definitions in tst-audit.h.
39810 * sysdeps/i386/tst-audit.h: New file.
39811 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39812 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39813 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39814 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39815 * sysdeps/sh/tst-audit.h: Likewise.
39816 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39817 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39818 * sysdeps/x86_64/tst-audit.h: Likewise.
39819
bfc07087
AJ
398202012-07-26 Andreas Jaeger <aj@suse.de>
39821
b1b2aaf8
AJ
39822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39823 ptrace.
39824
39825 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39826 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39827 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39828 PTRACE_O_MASK.
39829 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39830 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39831 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39832
bfc07087
AJ
39833 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39834 value.
39835
39836 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39837 _sigsys.
39838 (si_call_addr, si_syscall, si_arch): Define new macro.
39839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39840 _sigsys.
39841 (si_call_addr, si_syscall, si_arch): Define new marcro.
39842 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39843 _sigsys.
39844 (si_call_addr, si_syscall, si_arch): Define new macro.
39845 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39846 _sigsys.
39847 (si_call_addr, si_syscall, si_arch): Define new macro.
39848
89b4b02f
JM
398492012-07-25 Joseph Myers <joseph@codesourcery.com>
39850
39851 [BZ #13717]
39852 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39853 Change to 2.4.21 where previously 2.4.1.
39854 * sysdeps/unix/sysv/linux/configure: Regenerated.
39855 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39856 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39857 Linux kernel version.
39858 (__ASSUME_STD_AUXV): Remove.
39859 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39860 kernel version.
39861 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39862 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39863 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39864 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39865 (__ASSUME_NETLINK_SUPPORT): Likewise.
39866 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39867 (__no_netlink_support): Remove conditional definition.
39868 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39869 Remove.
39870 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39871 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39872 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39873 (if_nameindex_ioctl): Remove.
39874 (if_nameindex_netlink): Do not handle __no_netlink_support.
39875 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39876 code.
39877 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39878 Remove conditional code.
39879 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39880 code.
39881 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39882 unconditional.
39883 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39884 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39885 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39886 Remove.
39887 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39888 [!__ASSUME_STD_AUXV]: Remove conditional code.
39889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39890 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39891 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39893 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39894 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39895 code.
39896 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39898 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39899 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39900 conditional code.
39901 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39903 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39904 code.
39905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39906 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39907 conditional code.
39908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39909 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39910 code unconditional.
39911 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39912 conditional code.
39913 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39914 unconditional.
39915 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39916 conditional code.
39917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39918 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39919 unconditional.
39920 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39921 conditional code.
39922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39923 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39924 code unconditional.
39925 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39926 conditional code.
39927 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39928 unconditional.
39929 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39930 conditional code.
39931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39932 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39933 code unconditional.
39934 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39935 conditional code.
39936 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39937 unconditional.
39938 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39939 conditional code.
39940
842a39cd
AS
399412012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39942
39943 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39944 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39945 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39946 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39947 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39948 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39949 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39950 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39951 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39952 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39953 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39954 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39955 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39956 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39957 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39958 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39959 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39960 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39961 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39963 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39964 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39965 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39966
84b3fd84
FW
399672012-07-25 Florian Weimer <fweimer@redhat.com>
39968
39969 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39970 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39971 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39972 Introduce __libc_secure_getenv.
0c7936d5
FW
39973 * stdlib/Versions (2.17): Add secure_getenv
39974 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39975 * stdlib/secure-getenv.c: Rename __secure_getenv to
39976 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39977 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39978 * stdlib/tst-secure-getenv.c: New.
39979 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39980 * manual/startup.texi (Environment Access): Document
39981 secure_getenv.
84b3fd84
FW
39982 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39983 __libc_secure_getenv.
39984 * inet/ruserpass.c (ruserpass): Likewise.
39985 * malloc/mtrace.c (mtrace): Likewise.
39986 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39987 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39988 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39989 * sysdeps/posix/tempname.c: Likewise. Evaluate
39990 HAVE_SECURE_GETENV.
39991 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39992 __secure_getenv to __libc_secure_getenv.
84b3fd84 39993 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39995 Likewise.
39996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39997 Likewise.
39998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40000 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40005
56e49b71
JM
400062012-07-25 Joseph Myers <joseph@codesourcery.com>
40007
40008 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40009 (struct La_i86_retval): Likewise.
40010 (struct La_x86_64_regs): Likewise.
40011 (struct La_x86_64_retval): Likewise.
40012 (struct La_x32_regs): Likewise.
40013 (struct La_x32_retval): Likewise.
40014 (struct La_ppc32_regs): Likewise.
40015 (struct La_ppc32_retval): Likewise.
40016 (struct La_ppc64_regs): Likewise.
40017 (struct La_ppc64_retval): Likewise.
40018 (struct La_sh_regs): Likewise.
40019 (struct La_sh_retval): Likewise.
40020 (struct La_s390_32_regs): Likewise.
40021 (struct La_s390_32_retval): Likewise.
40022 (struct La_s390_64_regs): Likewise.
40023 (struct La_s390_64_retval): Likewise.
40024 (struct La_sparc32_regs): Likewise.
40025 (struct La_sparc32_retval): Likewise.
40026 (struct La_sparc64_regs): Likewise.
40027 (struct La_sparc64_retval): Likewise.
40028 (struct audit_ifaces): Remove architecture-specific pltenter and
40029 pltexit members.
40030 * sysdeps/i386/ldsodefs.h: New file.
40031 * sysdeps/powerpc/ldsodefs.h: Likewise.
40032 * sysdeps/s390/ldsodefs.h: Likewise.
40033 * sysdeps/sh/ldsodefs.h: Likewise.
40034 * sysdeps/sparc/ldsodefs.h: Likewise.
40035 * sysdeps/x86_64/ldsodefs.h: Likewise.
40036
354691b7
MP
400372012-07-25 Marek Polacek <polacek@redhat.com>
40038
40039 [BZ #6808]
40040 * math/libm-test.inc (yn_test): Add another test.
40041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40042 to ERANGE when the result is +-Inf.
40043 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40044 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40045 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40046 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40047
bf9e2071
JM
400482012-07-24 Joseph Myers <joseph@codesourcery.com>
40049
40050 * conform/data/time.h-data (NULL): Use macro-constant. Require
40051 equal to 0.
40052 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40053 clock_t.
40054 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40055
57633811
TS
400562012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40057
40058 * configure.in <sysdeps resolving>: Correct printing
40059 Implies_before.
40060 * configure: Regenerate.
40061
c23c33b0
TS
400622012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40063
40064 * math/w_ilogb.c: Include <limits.h>.
40065 * math/w_ilogbl.c: Likewise.
40066
b5982523
JM
400672012-07-20 Joseph Myers <joseph@codesourcery.com>
40068
40069 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40070 va_copy. Document allowing for unavailable va_copy only as
40071 pre-C99 compatibility.
40072 * manual/string.texi (Copying and Concatenation): Use va_copy
40073 instead of __va_copy in concat example.
40074
ac4ea442
PT
400752012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40076
40077 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40078 (__sendto): Use create_address_port. Initialize APORT and deallocate
40079 it if not null.
40080
f98eafbd
PT
40081 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40082 with O_NOLINK passed to __file_name_lookup.
40083
898c7aab
PT
40084 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40085 with O_NOLINK passed to __file_name_lookup.
40086
0ced335a
PT
40087 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40088 negative N or less than NGIDS.
40089
b3404dbd
PT
40090 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40091 type to string_t. Set ERANGE as errno and return it if NAME is not big
40092 enough. Use memcpy instead of strncpy.
40093
0f48659e
JM
400942012-07-20 Joseph Myers <joseph@codesourcery.com>
40095
40096 * elf/Makefile (check-data): Remove.
40097 (localplt.data): New vpath directive.
40098 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40099 instead of $(check-data).
40100 * scripts/data/localplt-generic.data: Move to ...
40101 * sysdeps/generic/localplt.data: ... here.
40102 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40103 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40104 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40106 ... here.
40107 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40109 ... here.
40110 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40112 ... here.
40113 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40115 ... here.
40116 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40118 ... here.
40119 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40121 ... here.
40122
d37cbdaa
AZ
401232012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40124
40125 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40126 PPC32 and PPC64 files.
40127 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40128 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40129
46f85fc2
AK
401302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40131
40132 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40133 __makecontext_ret to ...
40134 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40135 ... here and call exit if uc_link is NULL. New file.
40136 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40137 __makecontext_ret.S.
40138 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40139 __makecontext_ret to ...
40140 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40141 ... here and call exit if uc_link is NULL. New file.
40142 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40143 __makecontext_ret.S.
40144
08f43f9b
AK
401452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40146
40147 * elf/elf.h (R_390_IRELATIVE): New definition.
40148 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40149 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40150 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40151 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40152 (elf_machine_lazy_rel): Likewise.
40153 * sysdeps/s390/dl-irel.h: New file.
40154 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40155 * sysdeps/s390/s390-64/memset.S: New asm code.
40156 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40157 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40158 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40159 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40160 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40161 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40162 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40163 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40164 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40165 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40166 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40167 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40168 * sysdeps/s390/s390-32/memset.S: New asm code.
40169 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40170
3b05db33
MP
401712012-07-17 Marek Polacek <polacek@redhat.com>
40172
40173 [BZ #14349]
40174 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40175 * sysdeps/s390/s390-64/configure.in: Likewise.
40176 * sysdeps/sparc/configure.in: Likewise.
40177 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40178 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40179 * sysdeps/i386/configure.in: Likewise.
40180 * sysdeps/x86_64/configure.in: Likewise.
40181 * sysdeps/sh/configure.in: Likewise.
40182 * sysdeps/s390/s390-32/configure: Regenerated.
40183 * sysdeps/s390/s390-64/configure: Likewise.
40184 * sysdeps/x86_64/configure: Likewise.
40185 * sysdeps/sh/configure: Likewise.
40186 * sysdeps/powerpc/powerpc64/configure: Likewise.
40187 * sysdeps/powerpc/powerpc32/configure: Likewise.
40188 * sysdeps/sparc/configure: Likwise.
40189 * sysdeps/i386/configure: Likewise.
40190
a66877c6
MP
40191 * elf/dl-open.c: Comment fixes.
40192
cfc82fd8
JM
401932012-07-17 Joseph Myers <joseph@codesourcery.com>
40194
bd29910a
JM
40195 * Makefile [CXX] (check-data): Remove.
40196 [CXX] (c++-types.data): New vpath directive.
40197 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40198 vpath. Do not allow for C++ type data being missing.
40199 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40200 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40201 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40202 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40203 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40204 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40205 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40207 ... here.
40208 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40210 ... here.
40211 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40213 ... here.
40214 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40216 ... here.
40217 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40219 ... here.
40220 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40222 ... here.
40223 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40225 ... here.
40226 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40228
cfc82fd8
JM
40229 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40230 definitions to architecture-specific files.
40231 (TLS_IE): Likewise.
40232 (TLS_LD): Likewise.
40233 (TLS_GD): Likewise.
40234 * sysdeps/i386/tls-macros.h: New file.
40235 * sysdeps/powerpc/tls-macros.h: Likewise.
40236 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40237 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40238 * sysdeps/sh/tls-macros.h: Likewise.
40239 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40240 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40241 * sysdeps/x86_64/tls-macros.h: Likewise.
40242
f7db3170
TS
402432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40244
07cbfc23
TS
40245 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40246 zero value for regular exit case.
40247
f7db3170
TS
40248 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40249 (__start_context): Preserve zero value for regular exit case.
40250
dc97c227
TS
402512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40252 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40253
40254 * manual/setjmp.texi (setcontext): Clarify normal process
40255 termination when uc_link is the null pointer.
40256 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40257 exit call.
40258
d0cd7d02
AS
402592012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40260
40261 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40262 preprocessor. Test for each exception mask separately.
40263
dd318934
AJ
402642012-07-16 Andreas Jaeger <aj@suse.de>
40265
40266 * po/ru.po: Update from translation team.
40267
8048311a
JM
402682012-07-15 Joseph Myers <joseph@codesourcery.com>
40269
40270 * conform/data/string.h-data (NULL): Use macro-constant. Require
40271 equal to 0.
40272 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40273 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40274 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40275 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40276 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40277
b637d46e
AJ
402782012-07-13 Andreas Jaeger <aj@suse.de>
40279
40280 * po/fr.po: Update from translation team.
40281
541428fe
MP
402822012-07-12 Marek Polacek <polacek@redhat.com>
40283
40284 [BZ #14173]
40285 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40286 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40287 loop condition.
40288
ec332e94
JM
402892012-07-12 Joseph Myers <joseph@codesourcery.com>
40290
40291 [BZ #13717]
40292 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40293 Change to 2.4.1 where previously 2.4.0.
40294 * sysdeps/unix/sysv/linux/configure: Regenerated.
40295 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40296 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40297 version.
40298 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40299 (__ASSUME_AT_CLKTCK): Remove.
40300 (__ASSUME_AT_PAGESIZE): Likewise.
40301 (__ASSUME_AT_XID): Likewise.
40302 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40303 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40304 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40305 unconditionally.
40306 (HAVE_AUX_PAGESIZE): Likewise.
40307 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40308 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40309 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40310
7b6e99be
JB
403112012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40312
40313 [BZ #14307]
40314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40315 the temporary buffer used to invoke __gethostbyname2_r,
40316 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40317 host_data / struct gaih_addrtuple.
40318 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40319 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40320 header file nss/nsswitch.h.
40321 * nss/nsswitch.h (global scope): Add definition of implementation
40322 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40323 resolv/nss_dns/dns-host.c).
40324
608404eb
AJ
403252012-07-11 Andreas Jaeger <aj@suse.de>
40326
40327 * po/fr.po: Update from translation team.
40328
71220aca
AJ
40329 * po/sv.po: Update from translation team
40330 * po/fr.po: Another update from translation team.
40331
28cfe843
AZ
403322012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40333
40334 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40335 for subnormals or multiply small sinh result by itself.
40336 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40338
6b90f981
DM
403392012-07-11 David S. Miller <davem@davemloft.net>
40340
40341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40342
c6825772
AS
403432012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40344
40345 [BZ #14347]
40346 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40347 (INTERNAL_MARK): Shift it here.
40348
7b8e0d49
MP
403492012-07-10 Marek Polacek <polacek@redhat.com>
40350
40351 [BZ #14151]
40352 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40353 libc_cv_asm_global_directive with .globl.
40354 * configure: Regenerated.
40355 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40356 with .globl.
40357 * sysdeps/i386/configure: Regenerated.
40358 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40359 with .globl.
40360 * sysdeps/x86_64/configure: Regenerated.
40361 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40362 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40363 * elf/tst-unique2mod2.c: Likewise.
40364 * elf/tst-unique2mod1.c: Likewise.
40365 * elf/tst-unique1mod2.c: Likewise.
40366 * elf/tst-unique1mod1.c: Likewise.
40367 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40368 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40369 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40370 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40371 * sysdeps/mach/sysdep.h: Likewise.
40372 * sysdeps/i386/sysdep.h: Likewise.
40373 * sysdeps/i386/i386-mcount.S: Likewise.
40374 * sysdeps/x86_64/_mcount.S: Likewise.
40375 * sysdeps/x86_64/sysdep.h: Likewise.
40376 * sysdeps/sh/_mcount.S: Likewise.
40377 * sysdeps/sh/sysdep.h: Likewise.
40378 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40379 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40380 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40381 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40382 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40383 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40384 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40385 * locale/localeinfo.h: Likewise.
40386 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40387 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40388
6c55cda3
RM
403892012-07-09 Roland McGrath <roland@hack.frob.com>
40390
40391 [BZ #14336]
40392 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40393 system".
40394 * manual/message.texi (The Uniforum approach): Likewise.
40395 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40396 (glibc iconv Implementation): Likewise.
40397
638a572e
JM
403982012-07-09 Joseph Myers <joseph@codesourcery.com>
40399
40400 [BZ #14337]
40401 * math/s_clog.c (__clog): Avoid scaling a value down where that
40402 could result in underflow.
40403 * math/s_clog10.c (__clog10): Likewise.
40404 * math/s_clog10f.c (__clog10f): Likewise.
40405 * math/s_clog10l.c (__clog10l): Likewise.
40406 * math/s_clogf.c (__clogf): Likewise.
40407 * math/s_clogl.c (__clogl): Likewise.
40408 * math/libm-test.inc (clog_test): Add more tests.
40409 (clog10_test): Likewise.
40410 * sysdeps/i386/fpu/libm-test-ulps: Update.
40411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40412
261f4859
AS
404132012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40414
0abaf3e4
AS
40415 [BZ #14283]
40416 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40417 by 7 not 8 to examine high bit of fractional part.
40418
261f4859
AS
40419 [BZ #14042]
40420 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40421 for call to __mcount_internal.
40422 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40423 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40424 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40425
f17ac40d
JM
404262012-07-06 Joseph Myers <joseph@codesourcery.com>
40427
9ad63c23
JM
40428 [BZ #14154]
40429 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40430 approximation for values within 0x1p-13f of an odd multiple of
40431 pi/4.
40432 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40433 exception. Add more tests.
40434 * sysdeps/i386/fpu/libm-test-ulps: Update.
40435
f17ac40d
JM
40436 [BZ #6778]
40437 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40438 inputs and return -1 for them. Do not check for +Inf in case not
40439 reachable for +Inf.
40440 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40441 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40442 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40443 and return -1 for them. Do not check for +Inf in case not
40444 reachable for +Inf.
40445 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40446 define.
40447 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40448 and return -1 for them. Do not check for +Inf in case not
40449 reachable for +Inf.
40450 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40451 spurious underflow.
40452 * sysdeps/i386/fpu/libm-test-ulps: Update.
40453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40454
fb21f89b
MF
404552012-07-06 Mike Frysinger <vapier@gentoo.org>
40456
40457 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40458
cdfe2c5e
JM
404592012-07-05 Joseph Myers <joseph@codesourcery.com>
40460
40461 [BZ #14157]
40462 [BZ #14331]
40463 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40464 could result in spurious underflow. Scale down values above
40465 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40466 * math/s_csqrtf.c (__csqrtf): Likewise.
40467 * math/s_csqrtl.c (__csqrtl): Likewise.
40468 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40469 spurious underflow.
40470 * sysdeps/i386/fpu/libm-test-ulps: Update.
40471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40472
70d35b67
AS
404732012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40474
704bc459
AS
40475 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40476 xopen-msg.sed.
40477 * catgets/xopen-msg.awk: New file.
40478 * catgets/xopen-msg.sed: Removed.
40479
70d35b67
AS
40480 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40481 po2text.sed.
40482 * intl/po2test.awk: New file.
40483 * intl/po2test.sed: Removed.
40484
ca61cf32
JM
404852012-07-04 Joseph Myers <joseph@codesourcery.com>
40486
40487 [BZ #14328]
40488 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40489 or multiply small sinh result by itself.
40490 * math/s_ctanf.c (__ctanf): Likewise.
40491 * math/s_ctanh.c (__ctanh): Likewise.
40492 * math/s_ctanhf.c (__ctanhf): Likewise.
40493 * math/s_ctanhl.c (__ctanhl): Likewise.
40494 * math/s_ctanl.c (__ctanl): Likewise.
40495 * math/libm-test.inc (ctan_test_tonearest): New function.
40496 (ctan_test_towardzero): Likewise.
40497 (ctan_test_downward): Likewise.
40498 (ctan_test_upward): Likewise.
40499 (ctanh_test_tonearest): Likewise.
40500 (ctanh_test_towardzero): Likewise.
40501 (ctanh_test_downward): Likewise.
40502 (ctanh_test_upward): Likewise.
40503 (main): Call these new functions.
40504 * sysdeps/i386/fpu/libm-test-ulps: Update.
40505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40506
ca48a46a
MF
405072012-07-03 Mike Frysinger <vapier@gentoo.org>
40508
40509 * .gitignore: Delete /ports entry.
40510
9d63d37d
AJ
405112012-07-03 Andreas Jaeger <aj@suse.de>
40512
40513 * po/bg.po: Update from translation team.
40514 * po/cs.po: Likewise.
40515 * po/de.po: Likewise.
40516 * po/hr.po: Likewise.
40517 * po/nl.pl: Likewise.
40518 * po/pl.po: Likewise.
40519 * po/vi.po: Likewise.
40520
370ca3d2
JM
405212012-07-03 Joseph Myers <joseph@codesourcery.com>
40522
95f5a9a8
JM
40523 * Makeconfig [!+link] (+link-before-libc): New variable.
40524 [!+link] (+link-after-libc): Likewise.
40525 [!+link] (+link-tests): Likewise.
40526 [!+link] (+link): Define in terms of $(+link-before-libc) and
40527 $(+link-after-libc).
40528 [!+link-static] (+link-static-before-libc): New variable.
40529 [!+link-static] (+link-static-after-libc): Likewise.
40530 [!+link-static] (+link-static-tests): Likewise.
40531 [!+link-static] (+link-static): Define in terms of
40532 $(+link-static-before-libc) and $(+link-static-after-libc).
40533 [build-shared] (link-libc-before-gnulib): New variable.
40534 [build-shared] (link-libc-tests): Likewise.
40535 [build-shared] (link-libc): Define in terms of
40536 $(link-libc-before-gnulib).
40537 [!build-shared] (link-libc-tests): New variable.
40538 (link-libc-static-tests): New variable.
40539 [!gnulib] (gnulib-arch): New variable.
40540 [!gnulib] (gnulib-tests): Likewise.
40541 [!gnulib] (static-gnulib-arch): Likewise.
40542 [!gnulib] (static-gnulib-tests): Likewise.
40543 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40544 Define with "=" instead of ":=".
40545 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40546 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40547 * Rules (binaries-all-notests): New variable.
40548 (binaries-all-tests): Likewise.
40549 (binaries-static-notests): Likewise.
40550 (binaries-static-tests): Likewise.
40551 (binaries-all): Define using $(binaries-all-notests) and
40552 $(binaries-all-tests).
40553 (binaries-static): Define using $(binaries-static-notests) and
40554 $(binaries-static-tests).
40555 (binaries-shared-tests): New variable.
40556 (binaries-shared-notests): Likewise.
40557 (binaries-shared): Remove variable.
40558 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40559 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40560 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40561 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40562 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40563 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40564 * elf/Makefile (sln-modules): New variable.
40565 (extra-objs): Add $(sln-modules:=.o).
40566 (ldconfig-modules): Add static-stubs.
40567 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40568 * elf/static-stubs.c: New file.
40569
7a845b2c
JM
40570 [BZ #14283]
40571 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40572 by 7 not 8 to examine high bit of fractional part. Use volatile
40573 variables when splitting into final array of floats if
40574 __FLT_EVAL_METHOD__ != 0.
40575 * math/libm-test.inc (cos_test): Add another test.
40576 (sin_test): Likewise.
40577 * sysdeps/i386/fpu/libm-test-ulps: Update.
40578
e2283f38
JM
40579 [BZ #14273]
40580 * math/libm-test.inc (cosh_test): Add more tests.
40581
370ca3d2
JM
40582 * version.h (RELEASE): Set to "development".
40583 (VERSION): Set to "2.16.90".
40584
ee9247c3
CD
405852012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40586
40587 * NEWS: Update copyright. Remove last-updated date.
40588 Mention math library bug fixes and timezone data changes.
40589 * README: Mention GNU/Hurd, x32, and HPPA support status.
40590
4648c381
TS
405912012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40592
40593 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40594
aac78a43
AJ
405952012-06-27 Andreas Jaeger <aj@suse.de>
40596
40597 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40598
ed3dbfad
AJ
405992012-06-25 Andreas Jaeger <aj@suse.de>
40600
40601 * sysdeps/s390/fpu/libm-test-ulps: Update.
40602
4d0ee855
AS
406032012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40604 Thomas Schwinge <thomas@codesourcery.com>
40605
40606 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40607 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40608 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40609 fanotify_mark.
40610
af1bce34
TS
406112012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40612
a9fa33ba
TS
40613 * sysdeps/mach/start.c: Remove file.
40614 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40615 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40616 * sysdeps/sh/init-first.c: Likewise.
40617
58f902b8
TS
40618 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40619 registers for frame unwinding purposes, add CFI directives.
40620 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40621 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40622 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40623 Likewise.
40624
1518f58b
TS
40625 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40626 __fortify_fail returning.
40627 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40628
db9b5059
TS
40629 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40630 sysdeps/sh/____longjmp_chk.S.
40631 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40632 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40633 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40634 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40635
967705fe
TS
40636 * sysdeps/sh/abort-instr.h: New file.
40637 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40638 process in case exit returns.
40639
a9def8c4
TS
40640 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40641 initialize the GOT register before use.
40642
2a649725
TS
40643 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40644 calculation of ARGC > 4.
40645
af1bce34
TS
40646 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40647 meaningful names to some local labels.
40648
d230f50a
KK
406492012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40650 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40651
40652 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40653 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40654 (__arch_compare_and_exchange_val_16_acq): Likewise.
40655 (__arch_compare_and_exchange_val_32_acq): Likewise.
40656 (atomic_exchange_and_add): Fix gUSA sequence.
40657 (atomic_add): Likewise.
40658 (atomic_add_negative): Likewise.
40659 (atomic_add_zero): Likewise.
40660 (atomic_bit_test_set): Likewise.
40661
0479b305
AS
406622012-06-22 Andreas Schwab <schwab@redhat.com>
40663
40664 [BZ #13579]
40665 * include/link.h (struct link_map): Add l_free_initfini.
40666 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40667 l_initfini.
40668 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40669 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40670 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40671 set.
40672
0e3933b9
CD
406732012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40674
40675 * configure.in: Use AC_LANG_SOURCE.
40676 * configure: Regenerate.
40677
4248b1b1
RM
406782012-06-22 Roland McGrath <roland@hack.frob.com>
40679
40680 * configure.in (libc_cv_localstatedir): New substituted variable.
40681 * configure: Regenerated.
40682 * config.make.in (localstatedir): New variable, substituted from
40683 libc_cv_localstatedir.
40684 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40685 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40686 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40687 * sysdeps/gnu/configure: Regenerated.
40688
006dd861
JL
406892012-06-21 Jeff Law <law@redhat.com>
40690
40691 [BZ #14277]
40692 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40693 free. Simplify list management for _LIBC case.
40694
79662d42
JM
406952012-06-21 Joseph Myers <joseph@codesourcery.com>
40696
b7abb4bf
JM
40697 [BZ #14273]
40698 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40699 Clear sign bit of 64-bit integer value before comparing against
40700 overflow value.
40701
79662d42
JM
40702 * sysdeps/mach/configure: Regenerated.
40703
1f150908
L
407042012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40705
40706 [BZ #14278]
40707 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40708
28363bbf
JL
407092012-06-21 Jeff Law <law@redhat.com>
40710
40711 [BZ #13882]
40712 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40713 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40714 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40715 * elf/dl-open.c (dl_open_worker): Likewise.
40716
09615db4
CD
407172012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40718
40719 * scripts/list-sources.sh: Scan PORTS for translations.
40720 * po/libc.pot: Regenerated.
40721
2174c6dd
AJ
407222012-06-21 Andreas Jaeger <aj@suse.de>
40723
40724 [BZ #12194]
40725 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40726 warning.
40727 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40728 * bits/byteswap-16.h (__bswap_16): Likewise.
40729 * bits/byteswap.h (__bswap_constant_16): Likewise.
40730
3ee947b1
L
407312012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40732
40733 [BZ #14117]
a2f34833
L
40734 * sysdeps/i386/fpu_control.h: Removed.
40735 * sysdeps/x86_64/fpu_control.h: Moved to ...
40736 * sysdeps/x86/fpu_control.h: Here.
40737
3ee947b1
L
40738 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40739 (_FPU_SETCW): Likewise.
40740
ed1825f8
L
407412012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40742
25f1282a
L
40743 [BZ #14117]
40744 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40745 * sysdeps/x86/fpu/bits/mathinline.h: This.
40746 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40747
ed1825f8
L
40748 [BZ #14050]
40749 [BZ #14117]
40750 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40751 functions if __x86_64__ is defined.
40752
36d54b74
CLT
407532012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40754
40755 * string/endian.h: Add !__ASSEMBLER__ condition for including
40756 conversion interfaces.
40757
10285c21
JM
407582012-06-15 Joseph Myers <joseph@codesourcery.com>
40759
40760 [BZ #14241]
40761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40762 of ABS(x) in calculating zero to negative powers other than odd
40763 integers.
40764 * math/libm-test.inc (pow_test): Add more tests.
40765
06c5abbd
AJ
407662012-06-15 Andreas Jaeger <aj@suse.de>
40767
40768 * manual/contrib.texi (Contributors): Update entry of Liubov
40769 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40770 Machado Filho.
40771
a3aeac40
CH
407722012-06-15 Cyril Hrubis <metan@ucw.cz>
40773
40774 * string/string.h: Add __wur to GNU version of strerror_r.
40775
49bdf4c1
L
407762012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40777
40778 [BZ #14229]
40779 * string/Makefile (tests): Add tst-strtok_r.
40780 * string/tst-strtok_r.c: New file.
40781 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40782 RAX_LP/RDX_LP on SAVE_PTR.
40783
834f9b8d
RM
407842012-06-14 Roland McGrath <roland@hack.frob.com>
40785
40786 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40787
75fa1921
JM
407882012-06-14 Joseph Myers <joseph@codesourcery.com>
40789
40790 * libm_test.inc (csqrt_test): Allow more spurious underflow
40791 exceptions.
40792 (j0_test): Likewise.
40793 (j1_test): Likewise.
40794 (y0_test): Likewise.
40795 (y1_test): Likewise.
40796
771766df
CD
407972012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40798
40799 * po/Makefile (libc.pot): Use UTF-8 charset.
40800
ceb9e56b
PP
408012012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40802
40803 [BZ #14210]
40804 Suppress sign-conversion warning from FD_SET.
40805 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40806 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40807 not unsigned long int.
40808 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40809
ddb28975
L
408102012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40811
40812 [BZ #14050]
40813 [BZ #14117]
40814 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40815 __extern_always_inline instead of __extern_inline.
40816 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40817 (__signbit): Likewise.
40818 (__signbitl): Support C++ namespace.
40819 (lrintf): New inline function.
40820 (lrint): Likewise.
40821 (llrintf): Likewise.
40822 (llrint): Likewise.
40823 (fmaxf): Likewise.
40824 (fmax): Likewise.
40825 (fminf): Likewise.
40826 (fmin): Likewise.
40827 (rint): Likewise.
40828 (rintf): Likewise.
40829 (ceil): Likewise.
40830 (ceilf): Likewise.
40831 (floor): Likewise.
40832 (floorf): Likewise.
40833 (nearbyint): Likewise.
40834 (nearbyintf): Likewise.
40835
d7b4fb26
TS
408362012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40837
40838 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40839 non-default versions.
40840
eb55f5c2
RM
408412012-06-11 Roland McGrath <roland@hack.frob.com>
40842
40843 [BZ #14218]
40844 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40845
366af02c
TS
408462012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40847
99ff6e5c
TS
40848 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40849 (FE_UPWARD, FE_DOWNWARD): Don't define.
40850 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40851 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40852
366af02c
TS
40853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40854 reading it.
40855 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40856 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40857
793ea851
KK
408582012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40859
40860 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40862 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40863 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40864
a728a38f
L
408652012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40866
40867 [BZ #14117]
c08010c7
L
40868 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40869 * sysdeps/i386/fpu/Implies: New file.
40870 * sysdeps/x86_64/fpu/Implies: Likewise.
40871 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40872 * sysdeps/x86/fpu/bits/fenv.h: This.
40873
a728a38f
L
40874 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40875 __SSE_MATH__.
40876
6e230d11
SP
408772012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40878
40879 [BZ #14134]
40880 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40881 character 0xffff that matches the last element of the
40882 conversion table.
40883
1b671feb
AZ
408842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40885
40886 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40887 fmodl commit.
40888
6043738b
AZ
408892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40890
40891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40892 values higher than 25.6283.
40893
34ae0b32
AZ
408942012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40895
40896 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40897 subnormal exponent extraction and add some __builtin_expect.
40898 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40899 Fix for subnormal mantissa calculation.
40900
1214ec8f
MF
409012012-06-04 Mike Frysinger <vapier@gentoo.org>
40902
40903 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40904 cpu2 is -1 and errno is not ENOSYS.
40905
f3d1f93c
L
409062012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40907
40908 [BZ #14117]
0e4a3cd7
L
40909 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40910 * sysdeps/x86/bits/string.h: This.
40911 * sysdeps/x86_64/bits/string.h: Removed.
40912
6704c645
L
40913 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40914 if not compiling for x86-64, but compiling for >= i486.
40915
48495318
L
40916 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40917 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40918
14adcbfc
L
40919 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40920 New macro from Linux kernel 3.4.0.
40921 (FP_XSTATE_MAGIC2): Likewise.
40922 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40923 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40924 (struct _fpx_sw_bytes): New struct.
40925 (struct _xsave_hdr): Likewise.
40926 (struct _ymmh_state): Likewise.
40927 (struct _xstate): Likewise.
40928
68e408ab
L
40929 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40930 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40931 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40932 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40933 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40934 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40935
f3d1f93c
L
40936 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40937 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40938 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40939 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40940 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40941 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40942
d9dc34cd
TMQMF
409432012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40944
40945 [BZ #13743]
40946 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40947 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40948 (sysdep_headers): Include sys/platform/ppc.h.
40949 * sysdeps/powerpc/test-gettimebase.c: Test for
40950 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40951 * manual/Makefile (appendices): Include platform.texi.
40952 * manual/contrib.texi (Contributors): Update @node pointers.
40953 * manual/maint.texi (Maintenance): Likewise.
40954 (Platform): New node.
40955 * manual/platform.texi: New file. Document the new features.
40956
4af3879c
SP
409572012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40958 Jakub Jelinek <jakub@redhat.com>
40959
40960 [BZ #14188]
40961 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40962 where __builtin_expect is unavailable.
40963
2fd6ff13
DM
409642012-06-03 David S. Miller <davem@davemloft.net>
40965
40966 * stdlib/longlong.h: Updated from GCC.
40967
173f7220
AS
409682012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40969
40970 [BZ #14042]
40971 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40972 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40973 __mcount_internal.
40974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40975 (GLIBC_2.16): Likewise.
40976
f34a1c6f
L
409772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40978
40979 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40980
88a4576f
JM
409812012-06-01 Joseph Myers <joseph@codesourcery.com>
40982
ea32bcdd
JM
40983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40984 (default-abi): New variable.
40985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40986 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40987 variable.
40988 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40989 Likewise.
40990 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40991 Likewise.
40992 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40993 Likewise.
40994
88a4576f
JM
40995 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40996 definition. Document in comment.
40997
402fe938
DM
409982012-06-01 David S. Miller <davem@davemloft.net>
40999
41000 * stdlib/longlong.h: Updated from GCC.
41001
3553723f
L
410022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41003
41004 [BZ #14117]
3bd872c4
L
41005 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41006 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41007 sys/debugreg.h sys/io.h here.
41008 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41009 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41010 sys/io.h.
41011 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41012 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41013 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41014 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41015 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41016 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41017
3553723f
L
41018 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41019 Define only if __x86_64__ is defined.
41020
4842e4fe
JM
410212012-06-01 Joseph Myers <joseph@codesourcery.com>
41022
c5bfe3d5
JM
41023 [BZ #14048]
41024 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41025 Use int64_t for variable i.
41026 * math/libm-test.inc (fmod_test): Add more tests.
41027
4842e4fe
JM
41028 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41029 z computation is not scheduled after fetestexcept.
41030 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41031 Use math_force_eval instead of asm to ensure calculation scheduled
41032 before exception test.
41033 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41034 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41035
efb73488
AJ
410362012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41037
41038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41039 computation is not scheduled after fetestexcept.
41040
29bcce7c
L
410412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41042
41043 [BZ #14117]
41044 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41045 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41046
73a68f94
AZ
410472012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41048
41049 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41050 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41051
67b6df78
L
410522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41053
edf2933a 41054 [BZ #14117]
ebc64a18
L
41055 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41056 <bits/wordsize.h>.
41057 (__WCHAR_MIN): Support __WORDSIZE == 64.
41058 (__WCHAR_MAX): Likewise.
41059
edf2933a
L
41060 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41061 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41062
57c6cf40
L
41063 [BZ #14183]
41064 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41065 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41066
67b6df78 41067 [BZ #14117]
8eb6281e
L
41068 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41069 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41070
aac639f4
L
41071 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41072 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41073
67b6df78
L
41074 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41075 Defined to 1 if __x86_64__ isn't defined.
41076 (_STAT_VER_LINUX_OLD): New.
41077 (st_atime): Remove duplicate.
41078 (st_mtime): Likewise.
41079 (st_ctime): Likewise.
41080
1c2cfe81
DM
410812012-05-31 David S. Miller <davem@davemloft.net>
41082
41083 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41084 entries.
41085
5be8418c
AS
410862012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41087
e7725326
AS
41088 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41089 gen-libm-test.pl.
41090
5be8418c
AS
41091 [BZ #14132]
41092 * elf/dl-reloc.c: Include <_itoa.h>.
41093 (_dl_reloc_bad_type): Remove use of INTUSE.
41094 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41095 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41096 * stdio-common/psiginfo.c (psiginfo): Likewise.
41097 * stdio-common/psignal.c (psignal): Likewise.
41098 * string/strsignal.c (strsignal): Likewise.
41099 * include/signal.h (_sys_siglist): Declare hidden proto.
41100 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41101 INTVARDEF with libc_hidden_data_def.
41102 * stdio-common/itoa-udigits.c: Likewise.
41103 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41104 (_itoa_lower_digits_internal): Remove declaration.
41105 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41106 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41107 (_sys_sigabbrev_internal): Remove aliases.
41108 (_sys_siglist): Define hidden alias.
41109
507352f1
MT
411102012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41111
41112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41113 bits/sysctl.h.
41114
42bbb1c3
L
411152012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41116
41117 [BZ #14117]
6bd784b6
L
41118 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41119 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41120
8bca20f0
L
41121 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41122 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41123 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41124 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41125 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41126 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41127
f9e890a9
L
41128 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41129 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41130 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41131
471101a1
L
41132 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41133 with __addr.
41134 (insw): Likewise.
41135 (insl): Likewise.
41136 (outsb): Likewise.
41137 (outsw): Likewise.
41138 (outsl): Likewise.
41139
6451c862
L
41140 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41141 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41142 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41143
a254b8c9
L
41144 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41145 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41146 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41147 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41148 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41149 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41150
b8dfdd92
L
41151 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41152 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41153
578cd270
L
41154 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41155 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41156
de662f5f
L
41157 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41159 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41160
25653439
L
41161 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41162 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41163 to ...
41164 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41165
6bad24a0
L
41166 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41167 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41168 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41169
42bbb1c3
L
41170 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41171 for x86-64.
41172 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41173
2d10d547
JM
411742012-05-31 Joseph Myers <joseph@codesourcery.com>
41175
41176 * math/math.h (M_El): Use two more decimal places.
41177 (M_LOG2El): Likewise.
41178 (M_LOG10El): Likewise.
41179 (M_LN2l): Likewise.
41180 (M_LN10l): Likewise.
41181 (M_PIl): Likewise.
41182 (M_PI_2l): Likewise.
41183 (M_PI_4l): Likewise.
41184 (M_1_PIl): Likewise.
41185 (M_2_PIl): Likewise.
41186 (M_2_SQRTPIl): Likewise.
41187 (M_SQRT2l): Likewise.
41188 (M_SQRT1_2l): Likewise.
41189
f230c29b
DM
411902012-05-31 David S. Miller <davem@davemloft.net>
41191
41192 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41193 values between float registers.
41194 * sysdeps/sparc/sparc64/memset.S: Likewise.
41195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41196
fed806c3
MF
411972012-05-31 Mike Frysinger <vapier@gentoo.org>
41198
41199 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41200 -D_FORTIFY_SOURCE=1.
41201 (CPPFLAGS-tst-longjmp_chk.c): Define.
41202 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41203 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41204 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41205 CFLAGS-tst-wchar-h.c.
41206
30917259
MP
412072012-05-31 Marek Polacek <polacek@redhat.com>
41208
41209 [BZ #14132]
41210 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41211 __endmntent_internal): Remove declaration.
41212 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41213 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41214 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41215
1c58d5dc
DM
412162012-05-30 David S. Miller <davem@davemloft.net>
41217
41218 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41219 (___Q_simulate_exceptions): Use real FP ops rather than writing
41220 into the %fsr.
41221 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41222 Likewise.
41223
7dc00e0d
L
412242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41225
41226 [BZ #14117]
0bd53985
L
41227 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41228 * sysdeps/x86/bits/xtitypes.h: This.
41229
3a257e66
L
41230 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41231 * sysdeps/x86/bits/wordsize.h: This.
41232
62f62904
L
41233 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41234 * sysdeps/x86/bits/huge_vall.h: This.
41235
404fe9d9
L
41236 * sysdeps/i386/bits/select.h: Removed.
41237 * sysdeps/x86_64/bits/select.h: Renamed to ...
41238 * sysdeps/x86/bits/select.h: This.
41239
d48d0446
L
41240 * sysdeps/i386/bits/setjmp.h: Removed.
41241 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41242 * sysdeps/x86/bits/setjmp.h: This.
41243
7dc00e0d
L
41244 * sysdeps/i386/bits/mathdef.h: Removed.
41245 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41246 * sysdeps/x86/bits/mathdef.h: This.
41247
03277f8f
AS
412482012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41249
41250 [BZ #14132]
41251 * include/sys/socket.h (__connect_internal)
41252 (__libc_sa_len_internal): Remove declaration.
41253 (__connect, __libc_sa_len): Declare hidden_proto.
41254 (SA_LEN): Remove use of INTUSE.
41255 * socket/connect.c: Add libc_hidden_def.
41256 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41257 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41258 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41259 alias.
41260 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41261 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41262 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41263 of adding _internal alias.
41264
13764867
L
412652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41266
41267 [BZ #14117]
6bd97696
L
41268 * sysdeps/i386/bits/link.h: Removed.
41269 * sysdeps/i386/bits/linkmap.h: Likewise.
41270 * sysdeps/x86_64/bits/link.h: Renamed to ...
41271 * sysdeps/x86/bits/link.h: This.
41272 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41273 * sysdeps/x86/bits/linkmap.h: This.
41274
f726f0bb
L
41275 * sysdeps/i386/bits/endian.h: Removed.
41276 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41277 * sysdeps/x86/bits/endian.h: This.
41278
13764867
L
41279 * sysdeps/i386/bits/byteswap.h: Removed.
41280 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41281 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41282 * sysdeps/x86/bits/byteswap.h: This.
41283 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41284 * sysdeps/x86/bits/byteswap-16.h: This.
41285 * sysdeps/i386/Implies: Add x86.
41286 * sysdeps/x86_64/Implies: Likewise.
41287
ae251b0b
DM
412882012-05-30 David S. Miller <davem@davemloft.net>
41289
41290 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41291 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41292 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41293 (FP_TRAPPING_EXCEPTIONS): Define.
41294 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41295 (FP_TRAPPING_EXCEPTIONS): Define.
41296 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41297 subnormals only when inexact has been signalled or underflow
41298 exceptions are enabled.
41299 (_FP_PACK_CANONICAL): Likewise.
41300
d5c90867
L
413012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41302
41303 [BZ #14183]
41304 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41305 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41306
63f1549e
RH
413072012-05-30 Richard Henderson <rth@twiddle.net>
41308
8d8f2279
RH
41309 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41310 with #ifndef NOT_IN_libc.
41311
63f1549e
RH
41312 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41313 marked to avoid plt entry.
41314
0ab0291b
L
413152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41316
41317 [BZ #14112]
41318 * Makeconfig (default-abi): New macro.
41319 (abi-includes): Likewise.
41320 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41321 $(abi-$(default-abi)-lib-soname) for soname if defined.
41322 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41323 abi-variants.
41324 * Makefile (installed-stubs): Likewise.
41325 * include/stubs-biarch.h: Removed.
41326 * scripts/lib-names.awk: Only handle one library at a time.
41327 * scripts/soversions.awk: Remove WORDSIZE support.
41328 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41329 entries.
41330 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41331 Removed.
41332 (syscall-list-default-condition): Likewise.
41333 (syscall-list-default-condition): Likewise.
41334 (syscall-list-includes): Likewise.
41335 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41336 syscall-list-* with abi-*. Handle undefined abi-variants.
41337 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41338 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41339 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41340 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41341 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41342 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41343 Removed.
41344 (syscall-list-32-options): Likewise.
41345 (syscall-list-32-condition): Likewise.
41346 (syscall-list-64-options): Likewise.
41347 (syscall-list-64-condition): Likewise.
41348 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41349 macro.
41350 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41351 Renamed to ...
41352 (abi-*): This.
41353 (abi-64-ld-soname): New macro.
41354 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41355 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41356 Renamed to ...
41357 (abi-*): This.
41358 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41359 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41360
4da0431d
JM
413612012-05-30 Joseph Myers <joseph@codesourcery.com>
41362
3a85279c
JM
41363 * sysdeps/unix/sysv/linux/kernel-features.h
41364 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41365 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41366 include <kernel-features.h>.
41367 [!__NR_ftruncate64]: Remove conditional code.
41368 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41369 [__NR_ftruncate64]: Make code unconditional.
41370 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41371 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41372 include <kernel-features.h>.
41373 [!__NR_ftruncate64]: Remove conditional code.
41374 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41375 [__NR_ftruncate64]: Make code unconditional.
41376 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41378 include <kernel-features.h>.
41379 [!__NR_ftruncate64]: Remove conditional code.
41380 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41381 [__NR_ftruncate64]: Make code unconditional.
41382 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41384 include <kernel-features.h>.
41385 [!__NR_ftruncate64]: Remove conditional code.
41386 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41387 [__NR_ftruncate64]: Make code unconditional.
41388 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41389
4da0431d
JM
41390 * configure.in (libc_cv_fpie): Weaken to a compile test using
41391 LIBC_TRY_CC_OPTION.
41392 * configure: Regenerated.
41393
11ef492c
AK
413942012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41395
41396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41400 Refreshed.
41401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41407 Refreshed.
41408
d66ef399
DM
414092012-05-27 David S. Miller <davem@davemloft.net>
41410
41411 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41412 (___Q_zero): New.
41413 (__Q_simulate_exceptions): Return void. Change to simulate
41414 exceptions by writing into the %fsr.
41415 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41416 (__Qp_handle_exceptions): Likewise.
41417 (numbers): Delete.
41418 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41419 __Qp_handle_exceptions.
41420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41421 __Qp_handle_exceptions.
41422 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41423 as unused and give dummy FP_RND_NEAREST initializer.
41424 (FP_INHIBIT_RESULTS): Define.
41425 (___Q_simulate_exceptions): Update declaration.
41426 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41427 formatting.
41428 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41429 as unused and give dummy FP_RND_NEAREST initializer.
41430 (__Qp_handle_exceptions): Update declaration.
41431 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41432 formatting.
41433
04fb54b5
TS
414342012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41435
41436 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41437 the temporary FPU control word.
41438 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41439 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41440 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41441 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41442 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41443 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41444 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41445 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41446 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41447 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41448 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41449
3f99608f
KK
414502012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41451
41452 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41453 fields.
41454
65a4de4e
CLT
414552012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41456
41457 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41458 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41459 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41460 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41461 Likewise.
41462 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41463 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41464 Likewise.
41465
15749d40
UD
414662012-05-27 Ulrich Drepper <drepper@gmail.com>
41467
41468 * po/h.po: Update from translation team.
41469
25dbcb27
AS
414702012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41471
3d3f8e55
AS
41472 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41473
25dbcb27
AS
41474 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41475 handling of denormals.
41476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41477 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41478 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41479 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41480 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41483 Likewise.
41484
7ad47a80 414852012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41486
41487 [BZ #14152]
41488 * math/libm-test.inc (fma_test): Don't always expect underflow
41489 exception.
41490
9c6ea9fa
SP
414912012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41492
41493 [BZ #12416]
41494 * elf/tst-execstack.c: Include stackinfo.h.
41495 (do_test): Adjust test case to ensure that pthread_getattr_np
41496 behaviour remains the same after marking stack executable.
41497
a8239222
JM
414982012-05-25 Joseph Myers <joseph@codesourcery.com>
41499
41500 * sysdeps/unix/sysv/linux/kernel-features.h
41501 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41502 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41503 kernel-features.h.
41504 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41505 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41506 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41507 kernel-features.h.
41508 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41509 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41510
918b5606
L
415112012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41512
41513 * configure.in: Define the default includes to being none.
41514 * configure: Regenerated.
41515
3a097cc7
RM
415162012-05-25 Roland McGrath <roland@hack.frob.com>
41517
8422c9a5
RM
41518 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41519 * sysdeps/x86_64/setjmp.S: Likewise.
41520 * sysdeps/i386/bsd-setjmp.S: Likewise.
41521 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41522 * sysdeps/i386/setjmp.S: Likewise.
41523 * sysdeps/i386/__longjmp.S: Likewise.
41524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41525 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41526
3a097cc7
RM
41527 * include/stap-probe.h: New file.
41528 * configure.in: Handle --enable-systemtap.
41529 * configure: Regenerated.
41530 * config.h.in (USE_STAP_PROBE): New #undef.
41531 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41532 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41533 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41534
21708942
JM
415352012-05-25 Joseph Myers <joseph@codesourcery.com>
41536
41537 [BZ #13717]
41538 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41539 to 2.4.0 where earlier.
41540 * sysdeps/unix/sysv/linux/configure: Regenerated.
41541 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
41546 <kernel-features.h>.
41547 [__ASSUME_32BITUIDS]: Make code unconditional.
41548 [!__ASSUME_32BITUIDS]: Remove conditional code.
41549 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41550 [__ASSUME_32BITUIDS]: Make code unconditional.
41551 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41552 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41553 <kernel-features.h>.
41554 [__ASSUME_32BITUIDS]: Make code unconditional.
41555 [!__ASSUME_32BITUIDS]: Remove conditional code.
41556 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41557 <kernel-features.h>.
41558 [__ASSUME_32BITUIDS]: Make code unconditional.
41559 [!__ASSUME_32BITUIDS]: Remove conditional code.
41560 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41561 <kernel-features.h>.
41562 [__ASSUME_32BITUIDS]: Make code unconditional.
41563 [!__ASSUME_32BITUIDS]: Remove conditional code.
41564 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41565 <kernel-features.h>.
41566 [__ASSUME_32BITUIDS]: Make code unconditional.
41567 [!__ASSUME_32BITUIDS]: Remove conditional code.
41568 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41569 <kernel-features.h>.
41570 [__ASSUME_32BITUIDS]: Make code unconditional.
41571 [!__ASSUME_32BITUIDS]: Remove conditional code.
41572 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41573 <kernel-features.h>.
41574 [__ASSUME_32BITUIDS]: Make code unconditional.
41575 [!__ASSUME_32BITUIDS]: Remove conditional code.
41576 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41577 <kernel-features.h>.
41578 [__ASSUME_32BITUIDS]: Make code unconditional.
41579 [!__ASSUME_32BITUIDS]: Remove conditional code.
41580 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41581 <kernel-features.h>.
41582 [__ASSUME_32BITUIDS]: Make code unconditional.
41583 [!__ASSUME_32BITUIDS]: Remove conditional code.
41584 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41585 <kernel-features.h>.
41586 [__ASSUME_32BITUIDS]: Make code unconditional.
41587 [!__ASSUME_32BITUIDS]: Remove conditional code.
41588 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41589 <kernel-features.h>.
41590 [__ASSUME_32BITUIDS]: Make code unconditional.
41591 [!__ASSUME_32BITUIDS]: Remove conditional code.
41592 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41593 <kernel-features.h>.
41594 [__NR_setresgid] (__setresgid): Do not declare.
41595 [__ASSUME_32BITUIDS]: Make code unconditional.
41596 [!__ASSUME_32BITUIDS]: Remove conditional code.
41597 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41598 <kernel-features.h>.
41599 [__NR_setresuid] (__setresuid): Do not declare.
41600 [__ASSUME_32BITUIDS]: Make code unconditional.
41601 [!__ASSUME_32BITUIDS]: Remove conditional code.
41602 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41603 <kernel-features.h>.
41604 [__ASSUME_32BITUIDS]: Make code unconditional.
41605 [!__ASSUME_32BITUIDS]: Remove conditional code.
41606 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41607 <kernel-features.h>.
41608 [__ASSUME_32BITUIDS]: Make code unconditional.
41609 [!__ASSUME_32BITUIDS]: Remove conditional code.
41610 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41611 <kernel-features.h>.
41612 [__ASSUME_32BITUIDS]: Make code unconditional.
41613 [!__ASSUME_32BITUIDS]: Remove conditional code.
41614 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41615 <kernel-features.h>.
41616 [__ASSUME_32BITUIDS]: Make code unconditional.
41617 [!__ASSUME_32BITUIDS]: Remove conditional code.
41618 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41619 <kernel-features.h>.
41620 [__ASSUME_32BITUIDS]: Make code unconditional.
41621 [!__ASSUME_32BITUIDS]: Remove conditional code.
41622 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41623 <kernel-features.h>.
41624 [__ASSUME_32BITUIDS]: Make code unconditional.
41625 [!__ASSUME_32BITUIDS]: Remove conditional code.
41626 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41627 <kernel-features.h>.
41628 [__ASSUME_32BITUIDS]: Make code unconditional.
41629 [!__ASSUME_32BITUIDS]: Remove conditional code.
41630 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41631 <kernel-features.h>.
41632 [__ASSUME_32BITUIDS]: Make code unconditional.
41633 [!__ASSUME_32BITUIDS]: Remove conditional code.
41634 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41635 <kernel-features.h>.
41636 [__ASSUME_32BITUIDS]: Make code unconditional.
41637 [!__ASSUME_32BITUIDS]: Remove conditional code.
41638 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41639 <kernel-features.h>.
41640 [__ASSUME_32BITUIDS]: Make code unconditional.
41641 [!__ASSUME_32BITUIDS]: Remove conditional code.
41642 * sysdeps/unix/sysv/linux/kernel-features.h
41643 (__ASSUME_SETRESUID_SYSCALL): Remove.
41644 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41645 (__ASSUME_32BITUIDS): Likewise.
41646 (__ASSUME_LDT_WORKS): Likewise.
41647 (__ASSUME_O_DIRECTORY): Likewise.
41648 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41649 architecture but not kernel version.
41650 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41651 (__ASSUME_MMAP2_SYSCALL): Likewise.
41652 (__ASSUME_STAT64_SYSCALL): Likewise.
41653 (__ASSUME_IPC64): Likewise.
41654 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41655 <kernel-features.h>.
41656 [__ASSUME_32BITUIDS]: Make code unconditional.
41657 [!__ASSUME_32BITUIDS]: Remove conditional code.
41658 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41659 <kernel-features.h>.
41660 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41661 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41662 132096]: Remove conditional code.
41663 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41664 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41665 <kernel-features.h>.
41666 [__ASSUME_32BITUIDS]: Make code unconditional.
41667 [!__ASSUME_32BITUIDS]: Remove conditional code.
41668 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41669 <kernel-features.h>.
41670 [__ASSUME_32BITUIDS]: Make code unconditional.
41671 [!__ASSUME_32BITUIDS]: Remove conditional code.
41672 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41673 <kernel-features.h>.
41674 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41675 unconditional.
41676 (__setresgid): Do not declare.
41677 [__ASSUME_32BITUIDS]: Make code unconditional.
41678 [!__ASSUME_32BITUIDS]: Remove conditional code.
41679 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41680 <kernel-features.h>.
41681 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41682 unconditional.
41683 (__setresuid): Do not declare.
41684 [__ASSUME_32BITUIDS]: Make code unconditional.
41685 [!__ASSUME_32BITUIDS]: Remove conditional code.
41686 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41687 <kernel-features.h>.
41688 [__ASSUME_32BITUIDS]: Make code unconditional.
41689 [!__ASSUME_32BITUIDS]: Remove conditional code.
41690 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41691 <kernel-features.h>.
41692 [__ASSUME_32BITUIDS]: Make code unconditional.
41693 [!__ASSUME_32BITUIDS]: Remove conditional code.
41694
a386f1cc
RH
416952012-05-25 Richard Henderson <rth@twiddle.net>
41696
41697 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41698 dl_hwcap to ifunc resolver.
41699 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41700 elf_ifunc_invoke.
41701 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41702 dl_hwcap to ifunc resolver.
41703 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41704
b6550497
JM
417052012-05-24 Joseph Myers <joseph@codesourcery.com>
41706
41707 [BZ #14153]
41708 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41709 for |x| <= 2**-26, not 2**-57.
41710 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41711 exception.
41712
b0bc23a1
JL
417132012-05-24 Jeff Law <law@redhat.com>
41714
41715 * stdio-common/Makefile (tests): Add bug25.
41716 * stdio-common/bug25.c: New test.
41717
347c92e9
L
417182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41719
41720 [BZ #13576]
41721 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41722 multiple of MALLOC_ALIGNMENT in size.
41723 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41724
6bcc8b3f
JM
417252012-05-24 Joseph Myers <joseph@codesourcery.com>
41726
41727 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41728 Require >= 256.
41729 (FILENAME_MAX): Use macro-int-constant.
41730 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41731 (_IOFBF): Use macro-int-constant.
41732 (_IOLBF): Likewise.
41733 (_IONBF): Likewise.
41734 (SEEK_CUR): Likewise.
41735 (SEEK_END): Likewise.
41736 (SEEK_SET): Likewise.
41737 (TMP_MAX): Likewise.
41738 (EOF): Use macro-int-constant. Require < 0.
41739 (NULL): Use macro-constant. Require == 0.
41740 (stdin): Require type to be FILE *.
41741 (stdout): Likewise.
41742 (stderr): Likewise.
41743 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41744 macro-int-constant.
41745 (EXIT_SUCCESS): Likewise.
41746 (NULL): Use macro-constant. Require == 0.
41747 (RAND_MAX): Use macro-int-constant.
41748 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41749 [C99-based standards] (strtof): Require function.
41750 [C99-based standards] (strtold): Likewise.
41751 [C99-based standards] (strtoll): Likewise.
41752 [C99-based standards] (strtoull): Likewise.
41753 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41754 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41755 [ISO || ISO99 || ISO11] (math.h): Likewise.
41756 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41757 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41759
d18ea0c5
AS
417602012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41761
41762 [BZ #14132]
56d25bb8
AS
41763 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41764 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41765 * intl/dgettext.c (DCGETTEXT): Likewise.
41766 * intl/gettext.c (DCGETTEXT): Likewise.
41767 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41768 * posix/regex_internal.h (gettext): Likewise.
41769 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41770 Remove declaration.
41771 * include/argz.h (__argz_count_internal)
41772 (__argz_stringify_internal): Remove declaration.
41773 (__argz_count, __argz_stringify): Declare hidden proto.
41774 * intl/dcgettext.c: Remove use of INTDEF.
41775 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41776 * string/argz-stringify.c: Likewise.
41777 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41778 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41779 Declare hidden proto.
d18ea0c5
AS
41780 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41781 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41782 Declare hidden proto.
41783 * include/stdio.h (__asprintf_internal): Don't declare.
41784 (__asprintf): Don't define as macro. Declare hidden proto.
41785 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41786 (__fsetlocking): Declare hidden proto.
41787 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41788 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41789 hidden proto.
41790 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41791 (_IO_setlinebuf): Remove use of INTUSE.
41792 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41793 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41794 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41795 Remove declaration.
41796 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41797 (_IO_do_flush): Remove use of INTUSE.
41798 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41799 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41800 (_IO_adjust_column, _IO_least_wmarker)
41801 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41802 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41803 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41804 (_IO_default_doallocate, _IO_wdefault_doallocate)
41805 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41806 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41807 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41808 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41809 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41810 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41811 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41812 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41813 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41814 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41815 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41816 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41817 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41818 proto.
41819 (_IO_flush_all_internal, _IO_adjust_column_internal)
41820 (_IO_default_uflow_internal, _IO_default_finish_internal)
41821 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41822 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41823 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41824 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41825 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41826 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41827 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41828 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41829 (_IO_file_close_internal, _IO_file_close_it_internal)
41830 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41831 (_IO_file_init_internal, _IO_file_attach_internal)
41832 (_IO_file_fopen_internal, _IO_file_read_internal)
41833 (_IO_file_sync_internal, _IO_file_seek_internal)
41834 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41835 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41836 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41837 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41838 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41839 (_IO_list_all_internal, _IO_link_in_internal)
41840 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41841 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41842 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41843 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41844 (_IO_do_write_internal, _IO_padn_internal)
41845 (_IO_getline_info_internal, _IO_getline_internal)
41846 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41847 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41848 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41849 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41850 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41851 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41852 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41853 with libc_hidden_ver, remove use of INTUSE.
41854 * libio/genops.c: Likewise.
41855 * libio/freopen.c: Likewise.
41856 * libio/freopen64.c: Likewise.
41857 * libio/iofclose.c: Likewise.
41858 * libio/iofdopen.c: Likewise.
41859 * libio/iofflush.c: Likewise.
41860 * libio/iofflush_u.c: Likewise.
41861 * libio/iofgets.c: Likewise.
41862 * libio/iofgets_u.c: Likewise.
41863 * libio/iofopen.c: Likewise.
41864 * libio/iofopncook.c: Likewise.
41865 * libio/iofread.c: Likewise.
41866 * libio/iofread_u.c: Likewise.
41867 * libio/ioftell.c: Likewise.
41868 * libio/iofwrite.c: Likewise.
41869 * libio/iogetline.c: Likewise.
41870 * libio/iogets.c: Likewise.
41871 * libio/iogetwline.c: Likewise.
41872 * libio/iopadn.c: Likewise.
41873 * libio/iopopen.c: Likewise.
41874 * libio/ioseekoff.c: Likewise.
41875 * libio/ioseekpos.c: Likewise.
41876 * libio/iosetbuffer.c: Likewise.
41877 * libio/iosetvbuf.c: Likewise.
41878 * libio/ioungetc.c: Likewise.
41879 * libio/ioungetwc.c: Likewise.
41880 * libio/iovdprintf.c: Likewise.
41881 * libio/iovsprintf.c: Likewise.
41882 * libio/iovsscanf.c: Likewise.
41883 * libio/memstream.c: Likewise.
41884 * libio/obprintf.c: Likewise.
41885 * libio/oldfileops.c: Likewise.
41886 * libio/oldiofclose.c: Likewise.
41887 * libio/oldiofdopen.c: Likewise.
41888 * libio/oldiofopen.c: Likewise.
41889 * libio/oldiopopen.c: Likewise.
41890 * libio/oldstdfiles.c: Likewise.
41891 * libio/putc.c: Likewise.
41892 * libio/setbuf.c: Likewise.
41893 * libio/setlinebuf.c: Likewise.
41894 * libio/stdfiles.c: Likewise.
41895 * libio/strops.c: Likewise.
41896 * libio/vasprintf.c: Likewise.
41897 * libio/vscanf.c: Likewise.
41898 * libio/vsnprintf.c: Likewise.
41899 * libio/vswprintf.c: Likewise.
41900 * libio/wfiledoalloc.c: Likewise.
41901 * libio/wfileops.c: Likewise.
41902 * libio/wgenops.c: Likewise.
41903 * libio/wmemstream.c: Likewise.
41904 * libio/wstrops.c: Likewise.
41905 * libio/__fpurge.c: Likewise.
41906 * libio/__fsetlocking.c: Likewise.
41907 * assert/assert.c: Likewise.
41908 * debug/fgets_chk.c: Likewise.
41909 * debug/fgets_u_chk.c: Likewise.
41910 * debug/fread_chk.c: Likewise.
41911 * debug/fread_u_chk.c: Likewise.
41912 * debug/gets_chk.c: Likewise.
41913 * debug/obprintf_chk.c: Likewise.
41914 * debug/vasprintf_chk.c: Likewise.
41915 * debug/vdprintf_chk.c: Likewise.
41916 * debug/vsnprintf_chk.c: Likewise.
41917 * debug/vsprintf_chk.c: Likewise.
41918 * malloc/mtrace.c: Likewise.
41919 * misc/error.c: Likewise.
41920 * misc/syslog.c: Likewise.
41921 * stdio-common/asprintf.c: Likewise.
41922 * stdio-common/fxprintf.c: Likewise.
41923 * stdio-common/getw.c: Likewise.
41924 * stdio-common/isoc99_fscanf.c: Likewise.
41925 * stdio-common/isoc99_scanf.c: Likewise.
41926 * stdio-common/isoc99_vfscanf.c: Likewise.
41927 * stdio-common/isoc99_vscanf.c: Likewise.
41928 * stdio-common/isoc99_vsscanf.c: Likewise.
41929 * stdio-common/printf-prs.c: Likewise.
41930 * stdio-common/printf_fp.c: Likewise.
41931 * stdio-common/printf_fphex.c: Likewise.
41932 * stdio-common/printf_size.c: Likewise.
41933 * stdio-common/putw.c: Likewise.
41934 * stdio-common/scanf.c: Likewise.
41935 * stdio-common/sprintf.c: Likewise.
41936 * stdio-common/tmpfile.c: Likewise.
41937 * stdio-common/vfprintf.c: Likewise.
41938 * stdio-common/vfscanf.c: Likewise.
41939 * stdlib/strfmon_l.c: Likewise.
41940 * sunrpc/openchild.c: Likewise.
41941 * sunrpc/xdr_stdio.c: Likewise.
41942 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41943 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41944
d6c33fda
RM
419452012-05-24 Roland McGrath <roland@hack.frob.com>
41946
c1487492
RM
41947 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41948
41949 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41950 in the third column, to generate for the shared library an IFUNC
41951 that uses _dl_vdso_vsym.
41952 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41953 * Makeconfig (object-suffixes-noshared): New variable.
41954
41955 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41956 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41957 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41958 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41959
d6c33fda
RM
41960 [BZ #14132]
41961 * include/sys/time.h (__gettimeofday): Remove macro.
41962 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41963 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41964 Remove INTDEF.
41965 (__gettimeofday): Add libc_hidden_def.
41966 (gettimeofday): Add libc_hidden_weak.
41967 * sysdeps/mach/gettimeofday.c: Likewise.
41968 * sysdeps/posix/gettimeofday.c: Likewise.
41969 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41970 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41971 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41972 (__gettimeofday_internal): Remove strong_alias.
41973 (__gettimeofday): Add libc_hidden_def.
41974 (gettimeofday): Add libc_hidden_weak.
41975 * sysdeps/unix/syscalls.list (gettimeofday):
41976 Remove __gettimeofday_internal alias.
41977
b5a2bbe6
L
419782012-05-24 Daniel Jacobowitz <drow@false.org>
41979 H.J. Lu <hongjiu.lu@intel.com>
41980
41981 [BZ #12495]
41982 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41983 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41984 (largebin_index_32_big): New.
41985 (largebin_index): Use it for 16-byte alignment.
41986 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41987 correction with front_misalign.
41988
cfba4fda
L
419892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41990
7f907421
L
41991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41993 Likewise.
41994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41995 Likewise.
41996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41997 Likewise.
41998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41999 Likewise.
42000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42001 Likewise.
42002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42003 Likewise.
42004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42005 Likewise.
42006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42007 Likewise.
42008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42009 Likewise.
42010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42011 Likewise.
42012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42013 Likewise.
42014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42015 Likewise.
42016
cfba4fda
L
42017 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42018 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42019
80bad0cc
JM
420202012-05-24 Joseph Myers <joseph@codesourcery.com>
42021
7a25eb06
JM
42022 [BZ #10846]
42023 [BZ #14036]
42024 * math/libm-test.inc (exp_test): Add test from bug 14036.
42025 (pow_test): Add test from bug 10846.
42026
795405f9
JM
42027 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42028 and other flags.
42029 (special_function): Do not include flags in test name.
42030 (parse_args): Likewise.
42031 * sysdeps/i386/fpu/libm-test-ulps: Update.
42032 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42033 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42034 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42036
80bad0cc
JM
42037 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42038 exceptions.
42039 * math/libm-test.inc ("Philosophy"): Update comment about
42040 exception testing.
42041 (UNDERFLOW_EXCEPTION): New macro.
42042 (UNDERFLOW_EXCEPTION_OK): Likewise.
42043 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42044 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42045 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42046 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42047 (INVALID_EXCEPTION_OK): Update value.
42048 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42049 (OVERFLOW_EXCEPTION_OK): Likewise.
42050 (IGNORE_ZERO_INF_SIGN): Likewise.
42051 (test_exceptions): Handle underflow exceptions.
42052 (acos_test): Update for underflow exception expectations.
42053 (cexp_test): Likewise.
42054 (clog_test): Likewise.
42055 (clog10_test): Likewise.
42056 (csqrt_test): Likewise.
42057 (ctan_test): Likewise.
42058 (ctanh_test): Likewise.
42059 (exp_test): Likewise.
42060 (exp10_test): Likewise.
42061 (exp2_test): Likewise.
42062 (expm1_test): Likewise.
42063 (fma_test): Likewise.
42064 (j0_test): Likewise.
42065 (jn_test): Likewise.
42066 (nexttoward_test): Likewise.
42067 (pow_test): Likewise.
42068 (scalbn_test): Likewise.
42069 (scalbln_test): Likewise.
42070 (tan_test): Likewise.
42071 (y1_test): Likewise.
42072 * sysdeps/i386/fpu/libm-test-ulps: Update.
42073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42074
9e0e3d0b
DM
420752012-05-23 David S. Miller <davem@davemloft.net>
42076
42077 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42078 (__libc_sigaction): Remove unused local variables.
42079
ccd0a08f
L
420802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42081
42082 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42083
62bdf9a6
PE
420842012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42085
f8591f80
PE
42086 mktime: avoid signed integer overflow
42087 * time/mktime.c (__mktime_internal): Do not mishandle the case
42088 where diff == INT_MIN.
42089
94c7d826
PE
42090 mktime: simplify computation of average
42091 * time/mktime.c (ranged_convert): Use new time_t_avg function
42092 instead of rolling our own (probably-slower) code.
42093
ce73d683
PE
42094 mktime: do not assume signed right shift propagates sign bit
42095 * time/mktime.c (isdst_differ): New static function.
42096 (__mktime_internal): No need to normalize tm_isdst now.
42097 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42098 tm_isdst values.
42099
72a22e59
PE
42100 mktime: merge another wrapv change from gnulib
42101 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42102 from some compilers.
42103
68605433
PE
42104 mktime: remove incorrect attempt at unusual arithmetics
42105 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42106 The code didn't really work on such machines anyway.
42107 (TYPE_MINIMUM): Assume two's complement.
42108 (twos_complement_arithmetic): Verify that long_int and time_t
42109 are two's complement (or unsigned, in the latter case).
42110
03cf7fe3
PE
42111 mktime: check signed shifts on long_int and time_t, too
42112 * time/mktime.c (SHR): Check that shifts work as desired
42113 on the types long_int and time_t too, as SHR is used on
42114 such types.
42115
f04dfbc2
PE
42116 mktime: do not assume 'long' is wide enough
42117 * time/mktime.c (verify): Move decl up.
42118 (long_int): New type.
42119 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42120 to remove assumption in the code that 'long' is wide enough to
42121 store year values. This assumption is not true on x32 and on
42122 some non-glibc platforms.
42123
62bdf9a6
PE
42124 mktime: merge wrapv change from gnulib
42125 * time/mktime.c (WRAPV): New macro.
42126 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42127 (guess_time_tm, __mktime_internal): Do not assume that signed
42128 integer overflow wraps around; modern compilers generate code
42129 where this assumption is no longer valid.
42130
5e292e4f
L
421312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42132
42133 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42134 Replace "jmp L(pseudo_end)" with "ret".
42135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42136 Likewise.
42137
8caf8c87
AJ
421382012-05-23 Andreas Jaeger <aj@suse.de>
42139
42140 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42141 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42142
1a09dc56
AJ
421432012-05-23 Andreas Jaeger <aj@suse.de>
42144 Maximilian Attems <max@stro.at>
42145
42146 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42147 New macros.
42148
1c87aba0
L
421492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42150
42151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42152 code so that pseudo_end is just ret and the stack pointer is
42153 correct also for static library in error case.
42154
40e45bd5
JM
421552012-05-23 Joseph Myers <joseph@codesourcery.com>
42156
c2670533
JM
42157 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42158 move to syscalls.list.
42159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42163
40e45bd5
JM
42164 * manual/install.texi (Running make install): Do not mention Linux
42165 kernel version for which pt_chown is not needed.
42166 (Linux): Do not mention problems with nscd with 2.0 kernels.
42167 * INSTALL: Regenerated.
42168
be08eda5
AJ
421692012-05-23 Andreas Jaeger <aj@suse.de>
42170
42171 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42172 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42173 macro.
42174 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42176 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42177 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42178 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42179 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42180 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42181 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42182 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42183 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42184 * sysdeps/unix/sysv/linux/bits/in.h
42185 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42186
a6a056bb
RM
421872012-05-22 Roland McGrath <roland@hack.frob.com>
42188
42189 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42190 (PREPARE_VERSION): Just use assert instead, it will be elided
42191 under [NDEBUG] anyway.
42192
c9009328
L
421932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42194
42195 * sysdeps/unix/sysv/linux/Makefile: Include
42196 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42197 (sysdep_routines): Remove sysctl.
c9009328
L
42198 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42199 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42200 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42201 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42202 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42203
73338355
AJ
422042012-05-22 Andreas Jaeger <aj@suse.de>
42205
42206 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42207 that pseudo_end is just ret and the stack pointer is correct also
42208 for static library in error case.
42209
d44638b0
PP
422102012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42211
42212 [BZ #14122]
42213 * nss/nsswitch.c (defconfig_entries): New variable.
42214 (__nss_database_lookup): Don't leak defconfig entries.
42215 (nss_parse_service_list): Don't leak on error paths.
42216 (free_database_entries): New function.
42217 (free_defconfig): New function.
42218 (free_mem): Move common code to free_database_entries.
42219
31a39bd8
L
422202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42221
da0331a8
L
42222 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42223 Add arch_prctl.
42224 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42225
31a39bd8
L
42226 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42227 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42229 New macro.
42230 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42231 (INTERNAL_SYSCALL_TYPES): Likewise.
42232 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42233 (LOAD_REGS_TYPES_[1-6]): Likewise.
42234 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42235 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42236
45470df3
AZ
422372012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42238
42239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42240 copysignl for GLIBC_2_0.
42241 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42242 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42244 logbl for GLIBC_2_0.
42245 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42246 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42247
98a61bcb
L
422482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42249
a4f6e481
L
42250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42251 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42252
f63d5db6
L
42253 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42254 Use "neg %eax".
42255
98a61bcb
L
42256 * time/mktime.c: Update copyright years.
42257
95770f14
PE
422582012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42259
6226efbd
PE
42260 mktime: merge comment-quoting-style change from gnulib
42261 * time/mktime.c: Quote 'like this' in comments.
42262 The GNU coding standards suggest that we no longer quote `like this',
42263 as "`" and "'" are typically rendered asymmetrically nowadays.
42264 The typical gnulib style is to quote 'like this' when quoting
42265 code, and "like this" when quoting English.
42266
b99e4f78
PE
42267 * time/mktime.c (compile-command): Add "-I.".
42268
643e01e6
PE
42269 mktime: merge mktime-internal.h change from gnulib
42270 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42271
2554247d
PE
42272 mktime: merge time_r change from gnulib
42273 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42274
826dd0ab
PE
42275 mktime: merge DEBUG change from gnulib
42276 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42277 case system <time.h> has a #define.
42278
bd83aabe
PE
42279 mktime: merge <sys/types.h> change from gnulib
42280 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42281 since <time.t> is now guaranteed to define time_t.
42282
95770f14
PE
42283 mktime: merge HAVE_CONFIG_H change from gnulib
42284 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42285
5e1a27a9
L
422862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42287
0e44a77e
L
42288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42289 Use "neg %eax".
42290
5e1a27a9
L
42291 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42292 __rlim_t cast.
42293 (struct rusage): Use anonymous union to pad each field to
42294 __syscall_slong_t.
42295
46259bec
DM
422962012-05-21 David S. Miller <davem@davemloft.net>
42297
42298 * Makefules (o-iterator): Remove .s cases.
42299 (compile-command.s): Delete.
42300 (COMPILE.s): Delete.
42301 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42302
59f0c22e
JM
423032012-05-21 Joseph Myers <joseph@codesourcery.com>
42304
42305 * configure.in (libc_cv_predef_stack_protector): Only consider
42306 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42307 * configure: Regenerated.
42308
20c07380
L
423092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42310
bbb3154b
L
42311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42312 New macro. Use R*LP on int and pointer.
42313 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42314 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42315 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42316 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42317
20c07380
L
42318 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42319 [__WORDSIZE_TIME64_COMPAT32] instead of
42320 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42321 (struct utmp): Likewise.
42322 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42323 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42324 Renamed to ...
42325 (__WORDSIZE_TIME64_COMPAT32): This.
42326 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42327 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42328 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42329 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42330 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42331 (__WORDSIZE_TIME64_COMPAT32): New macro.
42332
d8d1017e
AJ
423332012-05-21 Andreas Jaeger <aj@suse.de>
42334
42335 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42336 only if [SHARED]. Add prototype for __wcschr_ia32.
42337
6c7fb145
RM
423382012-05-21 Roland McGrath <roland@hack.frob.com>
42339
42340 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42341 of %rbp unmolested in the jmp_buf while mangling the low bits.
42342 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42343 unmolested high bits of %rbp while demangling the low bits.
42344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42345
66274218
AJ
423462012-05-21 Andreas Jaeger <aj@suse.de>
42347
07c58f8f
AJ
42348 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42349 * sunrpc/svc_simple.c: Use it for registerrpc.
42350 * sunrpc/xcrypt.c: Use it for passwd2des.
42351
66274218
AJ
42352 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42353
61f65140
L
423542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42355
42356 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42357 Don't define if [__SYSCALL_WORDSIZE != 32].
42358 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42359 New macro.
42360
5fefb436
AJ
423612012-05-21 Bruno Haible <bruno@clisp.org>
42362 Andreas Jaeger <aj@suse.de>
42363
42364 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42365 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42366 inptr and inend for must_buffer_ch.
42367 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42368 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42369 * stdio-common/Makefile (tests): Remove bug15.
42370 (bug15-ENV): Remove macro.
42371 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42372 anymore.
42373
d8e272ab
AJ
423742012-05-19 Andreas Jaeger <aj@suse.de>
42375 Roland McGrath <roland@hack.frob.com>
42376
42377 * manual/contrib.texi: Completely rewritten. It contains now an
42378 alphabetical list of contributors and their contributions.
42379
4a56a162
RH
423802012-05-21 Richard Henderson <rth@twiddle.net>
42381
42382 * misc/getauxval.c (__getauxval): Use unsigned long int.
42383 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42384 (getauxval): Use unsigned long int.
42385
d024d23c
L
423862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42387
42388 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42389
cbc00a03
RM
423902012-05-21 Roland McGrath <roland@hack.frob.com>
42391
42392 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42393 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42394 __alignof__ (long double).
42395
478143fa
AZ
423962012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42397
42398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42399
c7683a6d
RH
424002012-05-20 Richard Henderson <rth@twiddle.net>
42401
42402 * misc/getauxval.c: New file.
42403 * misc/sys/auxv.h: New file.
42404 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42405 (routines): Add getauxval.
42406 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42407 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42408 * elf/dl-sysdep.c (_dl_auxv): Remove.
42409 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42410 * elf/dl-support.c (_dl_auxv): New variable.
42411 (_dl_aux_init): Initialize it.
42412 * manual/startup.texi (Auxiliary Vector): New node.
42413 * sysdeps/generic/bits/hwcap.h: New file.
42414 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42415 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42416 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42417 * sysdeps/sparc/sysdep.h: ... here. Include it.
42418 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42419 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42421 Update.
c7683a6d
RH
42422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42430
a6f1845d
AZ
424312012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42432
42433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42434
cbcbe830
DM
424352012-05-19 David S. Miller <davem@davemloft.net>
42436
42437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42438
e0b16cc2
JM
424392012-05-19 Joseph Myers <joseph@codesourcery.com>
42440
42441 [BZ #14123]
42442 * math/s_ccosh.c: Include <float.h>
42443 (__ccosh): Avoid internal overflow calculating sinh and cosh
42444 values before multiplying by sin and cos values.
42445 * math/s_ccoshf.c: Likewise.
42446 * math/s_ccoshl.c: Likewise.
42447 * math/s_csin.c: Likewise.
42448 * math/s_csinf.c: Likewise.
42449 * math/s_csinl.c: Likewise.
42450 * math/s_csinh.c: Likewise.
42451 * math/s_csinhf.c: Likewise.
42452 * math/s_csinhl.c: Likewise.
42453 * math/libm-test.inc (ccos_test): Add more tests.
42454 (ccosh_test): Likewise.
42455 (csin_test): Likewise.
42456 (csinh_test): Likewise.
42457 * sysdeps/i386/fpu/libm-test-ulps: Update.
42458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42459
6ad13e08
L
424602012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42461
f66f0ce8
L
42462 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42463 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42464
6ad13e08
L
42465 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42466
b1d072a7
JM
424672012-05-19 Joseph Myers <joseph@codesourcery.com>
42468
42469 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42470 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42471 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42472 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42473 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42474 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42475 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42476 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42477 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42478 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42479 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42480 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42481 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42482 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42483 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42484 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42485 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42486 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42487 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42488 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42489 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42490 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42491 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42492 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42493 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42494 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42495 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42496 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42497 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42498 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42499 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42500
9eae47cb
AJ
425012012-05-18 Andreas Jaeger <aj@suse.de>
42502
42503 * csu/.gitignore: Delete.
42504
bb07f69f
L
425052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42506
42507 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42508 (timex): Use __syscall_slong_t.
42509
e6bdb741
AJ
425102012-05-18 Andreas Jaeger <aj@suse.de>
42511 Carlos O'Donell <carlos_odonell@mentor.com>
42512
42513 * manual/install.texi (Configuring and compiling): Update
42514 description about files modified in the source directory.
d6c33fda 42515 * INSTALL: Regenerated.
e6bdb741 42516
1b74487e
L
425172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42518
42519 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42520 value. Use "or" to set return value to -1.
42521 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42522 negate return value.
42523
a88b64b9
TMQMF
425242012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42525
57f41c40
AS
42526 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42527 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42528 failure if the compiler has Graphite support disabled.
42529 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42530 Likewise.
57f41c40
AS
42531 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42532 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42533 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42534 Likewise.
42535
3707636e
L
425362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42537
610b8622
L
42538 * sysdeps/x86_64/x32/_itoa.h: New file.
42539
7cd195df
L
42540 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42541 getdents system call only if kernel and user dirents have the
42542 same d_ino and d_off.
42543
94b07d20
L
42544 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42545 LLONG_MAX != LONG_MAX.
42546 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42547 (_fitoa_word): Likewise.
42548
18298070
L
42549 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42550 years.
42551 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42552 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42553 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42554
553c7ea4
L
42555 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42556 include <bits/wordsize.h>. Check __x86_64__ instead of
42557 __WORDSIZE.
42558 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42559 if __x86_64__ is defined. Use anonymous union on fpstate.
42560
3707636e
L
42561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42562 anonymous union.
42563
b53ef01a
AS
425642012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42565
37fb1dc0
AS
42566 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42567 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42568 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42569 Refer to _rtld_local_ro instead of _rtld_global_ro.
42570 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42571 Likewise.
42572 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42573 Likewise.
42574 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42575 Likewise.
42576 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42577 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42578 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42579
b53ef01a
AS
42580 * sysdeps/powerpc/powerpc32/dl-machine.c
42581 (__elf_machine_runtime_setup) [PROF]: Don't reference
42582 _dl_prof_resolve.
42583
7a185db2
AJ
425842012-05-18 Andreas Jaeger <aj@suse.de>
42585
42586 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42587 function only available for GCCs before 3.4 since GCC 3.4
42588 introduced a builtin.
42589 (lrint): Likewise.
42590 (llrintf): Likewise.
42591 (llrint): Likewise.
42592 (fmaxf): Likewise.
42593 (fmax): Likewise.
42594 (fminf): Likewise.
42595 (fmin): Likewise.
42596 (rint): Likewise.
42597 (rintf): Likewise.
42598 (nearbyint): Likewise.
42599 (nearbyintf): Likewise.
42600 (ceil): Likewise.
42601 (ceilf): Likewise.
42602 (floor): Likewise.
42603 (floorf): Likewise.
42604
3e5aef87
L
426052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42606
428bd707
L
42607 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42608 on both fields and cast pointer to __syscall_ulong_t.
42609
3e5aef87
L
42610 * bits/types.h (__fsword_t): New type.
42611 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42612 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42614 (__FSWORD_T_TYPE): Likewise.
42615 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42616 (__FSWORD_T_TYPE): Likewise.
42617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42618 (__FSWORD_T_TYPE): Likewise.
42619 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42620 (__FSWORD_T_TYPE): Likewise.
42621 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42622 __SWORD_TYPE with __fsword_t.
42623 (statfs64): Likewise.
42624
1ba7c3dc
DM
426252012-05-17 David S. Miller <davem@davemloft.net>
42626
42627 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42628
59910343
AJ
426292012-05-17 Andreas Jaeger <aj@suse.de>
42630
42631 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42632 warning.
42633
2e4c1e9e
L
426342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42635
42636 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42637
de7f5ce7
AJ
426382012-05-17 Andreas Jaeger <aj@suse.de>
42639
42640 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42641 when it is used.
42642
286abc3d
CM
426432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42644
42645 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42646
477cc68e
L
426472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42648
42649 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42650 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42651
1a0994f5
CD
426522012-05-17 Andreas Jaeger <aj@suse.de>
42653 Carlos O'Donell <carlos_odonell@mentor.com>
42654
42655 [BZ #14059]
42656 * sysdeps/x86_64/multiarch/init-arch.h
42657 (bit_YMM_Usable): Rename to...
42658 (bit_AVX_Usable): ... this.
42659 (bit_FMA4_Usable): New macro.
42660 (bit_XMM_state): New macro.
42661 (bit_YMM_state): New macro.
42662 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42663 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42664 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42665 (CPUID_OSXSAVE): New macro.
42666 (CPUID_AVX): New macro.
42667 (CPUID_FMA4): New macro.
42668 (index_YMM_Usable): Rename to...
42669 (index_AVX_Usable): ... this.
42670 (HAS_AVX): Use HAS_ARCH_FEATURE.
42671 (HAS_FMA4): Likewise.
42672 (HAS_YMM_USABLE): Remove.
42673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42674 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42675 are present.
42676 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42677 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42678 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42679 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42680 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42681
0af797de
CM
426822012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42683
42684 * math/libm-test.c: Support platforms without multiple rounding modes.
42685 * math/bug-nextafter.c: Support platforms without FP exceptions.
42686 * math/bug-nexttoward.c: Likewise.
42687 * math/test-fenv.c: Likewise.
42688 * math/test-misc.c: Likewise.
42689 * stdlib/bug-getcontext.c: Likewise.
42690
e39745ff
AJ
426912012-05-17 Andreas Jaeger <aj@suse.de>
42692
42693 * manual/examples/search.c (critter_cmp): Change signature to
42694 avoid warnings.
42695 * manual/string.texi (Collation Functions): Likewise.
42696
48970aba
L
426972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42698
42699 * bits/types.h: Fold copyright years.
42700 * bits/typesizes.h: Likewise.
42701 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42702 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42705 * time/time.h: Likewise.
42706
bedee953
PP
427072012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42708
42709 [BZ #208]
42710 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42711 in instead of returning them. Return void.
42712 (__libc_mallinfo): Accumulate over all arenas.
42713 (__malloc_stats): Adjust for change in int_mallinfo interface.
42714
61653dfb
RM
427152012-05-16 Roland McGrath <roland@hack.frob.com>
42716
30b99d79
RM
42717 [BZ #10375]
42718 * configure.in (NM): Add AC_CHECK_TOOL for it.
42719 (libc_extra_cflags): New substituted variable.
42720 Check for -fstack-protector being used implicitly.
42721 * configure: Regenerated.
42722 * config.make.in (config-extra-cflags): New variable,
42723 gets @libc_extra_cflags@.
42724 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42725
61653dfb
RM
42726 [BZ #10375]
42727 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42728 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42729 * configure: Regenerated.
42730 * config.make.in (CPPUNDEFS): New substituted variable.
42731 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42732 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42733 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42734
661768bb
L
427352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42736
42737 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42738 (mq_attr): Use __syscall_slong_t.
42739
d4261567
L
427402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42741
42742 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42743 Check __x86_64__ instead of __WORDSIZE.
42744 (_STAT_VER_LINUX): Likewise.
42745 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42746 __syscall_ulong_t and __syscall_slong_t.
42747 (stat64): Likewise.
42748
cf3ff365
L
427492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42750
42751 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42752
76cf3e4d
L
427532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42754
42755 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42756
a637753a
L
427572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42758
42759 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42760 __syscall_ulong_t.
42761
d5e05119
L
42762 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42763 include <bits/wordsize.h>. Check __x86_64__ instead of
42764 __WORDSIZE.
42765 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42766 defined.
42767 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42768
f62ee380
L
42769 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42770 include <bits/wordsize.h>. Check __x86_64__ instead of
42771 __WORDSIZE.
42772 (user_regs_struct): Use "__extension__ unsigned long long"
42773 instead of "unsigned long" if __x86_64__ is defined.
42774 (user): Likewise. Pad after pointer field if __ILP32__ is
42775 defined.
42776
4e124ced
JM
427772012-05-16 Joseph Myers <joseph@codesourcery.com>
42778
6a3951a0
JM
42779 * configure.in (makeinfo): Require version 4.5 or later. Allow
42780 versions 5 to 9.
42781 * configure: Regenerated.
42782 * manual/install.texi (texinfo): Increase version requirement to
42783 4.5 or later.
42784 * INSTALL: Regenerated.
42785
4e124ced
JM
42786 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42787
953ca31a
L
427882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42789
42790 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42791
617aca05
L
42792 * sysdeps/x86_64/x32/ffs.c: New file.
42793
5762f7ae
L
42794 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42795 __syscall_ulong_t.
42796 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42797 defined. Use __syscall_ulong_t.
42798 (shminfo): Use __syscall_ulong_t.
42799 (shm_info): Likewise.
42800
a26b6856
L
42801 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42802 __syscall_ulong_t.
42803
cb2b9ef7
L
42804 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42805 <bits/wordsize.h>.
42806 (msgqnum_t): Use __syscall_ulong_t.
42807 (msglen_t): Likewise.
42808 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42809 __syscall_ulong_t.
42810
34683bb0
L
42811 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42812 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42813
84a68786
L
42814 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42815
48baa5f1
L
42816 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42817 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42818
180be88b
L
42819 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42820 __syscall_slong_t.
42821
5e90c8ad
L
42822 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42823 include <bits/wordsize.h>. Check __x86_64__ instead of
42824 __WORDSIZE.
42825
23dfb58b
L
42826 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42827 "unsigned long long int" if __x86_64__ is defined.
42828 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42829
ce5d54b0
L
42830 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42831 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42832 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42833
13dc9eac
L
42834 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42835 <stdint.h>.
42836 (GET_PC): Cast to uintptr_t first.
42837 (GET_FRAME): Likewise.
42838 (GET_STACK): Likewise.
42839
a7895d15
L
42840 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42841 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42846 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42847 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42848 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42849 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42851 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42852 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42853 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42854 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42855 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42856 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42857 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42858 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42859 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42860 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42861 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42862 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42863 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42864 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42865 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42866 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42867 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42868 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42869
656416c9
AS
428702012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42871
5bd66283
AS
42872 * Makerules (+depfiles): Also collect depfiles from .oS in
42873 $(extra-objs).
42874 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42875 .oS, $(libnldbl-routines)).
42876
656416c9
AS
42877 * Makerules (native-compile-mkdep-flags): Define.
42878 * sunrpc/Makefile (extra-objs): Add $(addprefix
42879 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42880 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42881 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42882 calling $(make-target-directory).
42883
a46f2169
L
428842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42885
42886 * bits/types.h (__snseconds_t): Removed.
42887 * time/time.h (struct timespec): Replace __snseconds_t with
42888 __syscall_slong_t.
42889 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42890 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42891 Likewise.
42892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42893 (__SNSECONDS_T_TYPE): Likewise.
42894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42895 (__SNSECONDS_T_TYPE): Likewise.
42896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42897 (__SNSECONDS_T_TYPE): Likewise.
42898
6af6528b
L
428992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42900
42901 * sysdeps/mach/hurd/bits/typesizes.h
42902 (__SYSCALL_SLONG_TYPE): New macro.
42903 (__SYSCALL_ULONG_TYPE): Likewise.
42904
de986b56
L
429052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42906
42907 * bits/types.h (__syscall_slong_t): New type.
42908 (__syscall_ulong_t): Likewise.
42909
42910 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42911 (__SYSCALL_ULONG_TYPE): Likewise.
42912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42913 (__SYSCALL_SLONG_TYPE): Likewise.
42914 (__SYSCALL_ULONG_TYPE): Likewise.
42915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42916 (__SYSCALL_SLONG_TYPE): Likewise.
42917 (__SYSCALL_ULONG_TYPE): Likewise.
42918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42919 (__SYSCALL_SLONG_TYPE): Likewise.
42920 (__SYSCALL_ULONG_TYPE): Likewise.
42921
85736dc7
L
429222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42923
42924 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42925 Add sigaltstack-offsets.sym.
42926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42927 <sigaltstack-offsets.h>.
42928 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42929 longjmp_msg pointer.
42930 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42931 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42932 signal stack.
42933 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42934
cc03b296
JM
429352012-05-15 Joseph Myers <joseph@codesourcery.com>
42936
a9538892
JM
42937 * elf/stackguard-macros.h: Remove file.
42938 * sysdeps/generic/stackguard-macros.h: New file.
42939 * sysdeps/i386/stackguard-macros.h: Likewise.
42940 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42941 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42942 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42943 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42944 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42945 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42946 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42947 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42948 <elf/stackguard-macros.h>.
42949
cc03b296
JM
42950 [BZ #14109]
42951 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42952 __aligned__ in attribute.
42953 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42954 (gregset_t): Likewise.
42955
93171016
L
429562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42957
42958 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42959 * sysdeps/x86_64/64/Implies-after: Here. New file.
42960 * sysdeps/x86_64/x32/Implies-after: New file.
42961
d86813a0
L
429622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42963
42964 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42965 and access return value for _dl_profile_fixup. Use R10_LP to
42966 load frame size.
42967
2953ec75
L
429682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42969
42970 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42971
3b550e9e
L
429722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42973
42974 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42975 * sysdeps/x86_64/x32/sysdep.h: New file.
42976
eda41706
L
429772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42978
42979 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42980 * sysdeps/x86_64/setjmp.S: Likewise.
42981
9ea01d93
AZ
429822012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42983
42984 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42985 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42986 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42988 remove unused global constant.
42989
02a91938
CM
429902012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42991
42992 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42993 include of <not-cancel.h>.
42994
6540185f
RM
429952012-05-15 Roland McGrath <roland@hack.frob.com>
42996
42997 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42998
509072a0
AJ
429992012-05-15 Jeff Law <law@redhat.com>
43000 Andreas Jaeger <aj@suse.de>
43001
43002 [BZ #13594]
43003 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43004 out from...
43005 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43006 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43007 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43008 code changing __hst_map_handle.map.
43009
ba75122d
RM
430102012-05-15 Roland McGrath <roland@hack.frob.com>
43011
43012 * configure.in (sysnames): Look for Implies-before and Implies-after
43013 files.
43014 * configure: Regenerated.
43015
890d8bd8
L
430162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43017
43018 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43019 8-byte data alignment with LP_SIZE alignment.
43020
f6ee6623
L
430212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43022
43023 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43024 into R10_LP.
43025
ea2626f6
L
430262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43027
43028 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43029
085f715e
L
430302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43031
43032 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43033 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43034 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43035 Likewise.
43036 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43037
be8498fc
L
430382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43039
43040 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43041 (stackinfo_sub_sp): Likewise.
43042
70bc83b9
L
430432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43044
43045 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43046 RAX_LP.
43047
9bc0b730
L
430482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43049
43050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43051 into R*_LP.
43052
6d2850e7
L
430532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43054
43055 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43056 sizes into R*_LP.
43057
3cb84561
L
430582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43059
43060 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43061
54e2ed81
L
430622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43063
43064 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43065 into R11_LP and load __x86_64_shared_cache_size_half into
43066 R8_LP.
43067
8a17f349
L
430682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43069
43070 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43071 R8_LP.
43072
777b1eea
AZ
430732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43074
43075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43076 logb for POWER7.
43077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43078 logbf for POWER7.
43079 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43080 logbl for POWER7.
43081 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43082 powerpc32/power7/fpu/s_logb.c via #include.
43083 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43084 powerpc32/power7/fpu/s_logbf.c via #include.
43085 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43086 powerpc32/power7/fpu/s_logbl.c via #include.
43087
d20d4ac2
JM
430882012-05-15 Joseph Myers <joseph@codesourcery.com>
43089
43090 * README.libm: Remove file.
43091
6cdef1ab
L
430922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43093
43094 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43095 count for x32. Use R*_LP and omit operand-size suffix.
43096
0b254d8f
L
430972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43098
43099 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43100 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43101 * sysdeps/x86_64/x32/shlib-versions: New file.
43102
ceb809dc
RM
431032012-05-14 Roland McGrath <roland@hack.frob.com>
43104
43105 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43106 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43107 Use _dl_fatal_printf instead.
43108
37f1abd4
JM
431092012-05-14 Joseph Myers <joseph@codesourcery.com>
43110
43111 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43112 set if not set by the user. Do not allow for being unset.
43113 * sysdeps/unix/sysv/linux/configure: Regenerated.
43114
11de3a33
L
431152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43116
43117 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43118 the `q' suffix from lea and replace .quad with ASM_ADDR.
43119
e02f153a
L
431202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43121
43122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43123 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43124 instead of $17.
43125 (PTR_DEMANGLE): Likewise.
43126
520ae0fd
L
431272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43128
43129 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43130 (LP_OP): Likewise.
43131 (ASM_ADDR): Likewise.
43132 (RAX_LP): Likewise.
43133 (RBP_LP): Likewise.
43134 (RBX_LP): Likewise.
43135 (RCX_LP): Likewise.
43136 (RDI_LP): Likewise.
43137 (RSI_LP): Likewise.
43138 (RSP_LP): Likewise.
43139 (R8_LP): Likewise.
43140 (R9_LP): Likewise.
43141 (R10_LP): Likewise.
43142 (R10_LP): Likewise.
43143 (R11_LP): Likewise.
43144 (R12_LP): Likewise.
43145 (R13_LP): Likewise.
43146 (R14_LP): Likewise.
43147 (R15_LP): Likewise.
43148
b985be81
L
431492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43150
43151 * sysdeps/x86_64/x32/dl-machine.h: New file.
43152
6a4888ff
AJ
431532012-05-14 Andreas Jaeger <aj@suse.de>
43154
43155 * manual/Makefile (subdir): Remove export of subdir.
43156 (all): Remove target.
43157 (.PHONY): Remove all from list.
43158 (mkinstalldirs): Remove.
43159 (.PHONY): Remove installdirs from list.
43160 ($(inst_infodir)/libc.info): Use make-target-directory.
43161 (installdirs): Remove.
43162 (subdir_%): Remove.
43163 (glibc-targets): Remove.
43164 (lib): Remove.
43165 (stubs): Remove.
43166 ($(objpfx)stubs ../po/manual.pot): Remove.
43167 ($(objpfx)stamp%): Remove.
43168 (make-target-directory): Remove.
43169 (subdir_install): Remove.
43170 (routines): Remove.
43171 (aux): Remove.
43172 (sources): Remove.
43173 (objects): Remove.
43174 (headers): Remove.
43175
43176 [BZ #13750]
43177 * manual/.gitignore: Remove, it's not needed anymore.
43178 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43179 all files in it.
43180 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43181 directory.
43182 (texis): Renamed to $(objpfx)texis.
43183 (texis-path): New, contains path to generated files.
43184 (chapters.%): Use texis-path for complete path, add extra argument
43185 libc-texinfo.sh.
43186 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43187 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43188 (summary,texi, stamp-summary): Use complete path of
43189 files. Generate files in build dir.
43190 (dir-add.texi): Build in build dir.
43191 (libm-err.texi,stamp-libm-err): Likewise.
43192 (version.texi, stamp-version): Likewise.
43193 (.%c.texi): Likewise.
43194 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43195 (mostlyclean): Remove target.
43196 (realclean): Remove target.
43197 (generated): Add new variable with contents from mostlyclean and
43198 realclean, remove entries duplicated in common-mostlyclean, add
43199 stamp-libm-err and stamp-version.
43200 (generated-dirs): Add libc directory.
43201 ($(inst_infodir)/libc.info): Install files from build dir.
43202
43203 * manual/install.texi (Configuring and compiling): Adjust since
43204 the info files are not part of the tar ball anymore.
43205
7ac77294
AJ
432062012-05-14 Andreas Jaeger <aj@suse.de>
43207
43208 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43209 variable.
43210
ffb7875d
JM
432112012-05-14 Joseph Myers <joseph@codesourcery.com>
43212
43213 [BZ #13717]
43214 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43215 to 2.2.0 where earlier.
43216 * sysdeps/unix/sysv/linux/configure: Regenerated.
43217 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43218 Remove conditional code.
43219 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43220 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43221 Remove conditional code.
43222 [!__NR_lchown]: Likewise.
43223 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43224 [__NR_lchown]: Likewise.
43225 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43226 comment referencing __ASSUME_LCHOWN_SYSCALL.
43227 * sysdeps/unix/sysv/linux/i386/sigaction.c
43228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43230 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43231 Remove conditional code.
43232 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43233 (__protocol_available): Remove #if 0 code.
43234 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43235 conditional code.
43236 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43237 * sysdeps/unix/sysv/linux/kernel-features.h
43238 (__ASSUME_GETCWD_SYSCALL): Don't define.
43239 (__ASSUME_REALTIME_SIGNALS): Likewise.
43240 (__ASSUME_PREAD_SYSCALL): Likewise.
43241 (__ASSUME_PWRITE_SYSCALL): Likewise.
43242 (__ASSUME_POLL_SYSCALL): Likewise.
43243 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43244 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43245 non-SPARC.
43246 (__ASSUME_SIOCGIFNAME): Don't define.
43247 (__ASSUME_MSG_NOSIGNAL): Likewise.
43248 (__ASSUME_SENDFILE): Define unconditionally.
43249 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43250 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43251 conditional code.
43252 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43253 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43254 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43255 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43256 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43257 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43258 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43260 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43263 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43269 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43272 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43275 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43278 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43281 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43283 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43284 Remove conditional code.
43285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43286 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43287 Remove conditional code.
43288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43289 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43290 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43291 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43292 Remove conditional code.
43293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43294 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43295 Remove conditional code.
43296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43297 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43298 Remove conditional code.
43299 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43300 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43301 Remove conditional code.
43302 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43303 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43304 Remove conditional code.
43305 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43306 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43307 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43309 * sysdeps/unix/sysv/linux/sigaction.c
43310 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43311 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43312 * sysdeps/unix/sysv/linux/sigpending.c
43313 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43314 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43315 * sysdeps/unix/sysv/linux/sigprocmask.c
43316 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43317 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43318 * sysdeps/unix/sysv/linux/sigsuspend.c
43319 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43320 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43321 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43322 (__libc_missing_rt_sigs): Remove.
43323 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43324 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43325 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43326 Remove conditional code.
43327 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43328 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43329 return 1.
43330 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43331 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43332 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43333 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43334
1bfb7291
AJ
433352012-05-14 Andreas Jaeger <aj@suse.de>
43336
caae5a81
AJ
43337 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43338 it's not used in glibc.
43339 (__coshm1): Likewise.
43340 (__acosh1p): Likewise.
43341 (__sgn): Likewise.
43342
1bfb7291
AJ
43343 * manual/string.texi (Copying and Concatenation): Add missing
43344 variable in concat example.
43345 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43346
c044d724
L
433472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43348
144c5467 43349 [BZ #14103]
c044d724
L
43350 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43351 __builtin_clzl with __builtin_clzll.
43352
2523c62b
L
433532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43354
43355 [BZ #14104]
43356 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43357 libc_freeres_ptr.
43358
d7bb4c42
LD
433592012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43360
43361 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43362 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43363 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43364 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43365
9dc4e1fb
MF
433662012-05-14 Mike Frysinger <vapier@gentoo.org>
43367
43368 * NEWS: Update ia64 info.
43369
c7df0112
AS
433702012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43371
43372 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43373 used as bcopy.
43374
dc70356c
TS
433752012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43376
43377 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43378 * sysdeps/unix/syscalls.list (dup3): Likewise.
43379 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43380 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43381
9fb1a21f
L
433822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43383
43384 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43385 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43386
4822a2a5
L
433872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43388
43389 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43390 thread pointer.
43391 (TLS_IE): Use mov/add instead of movq/addq to load thread
43392 pointer.
43393 (TLS_GD_PREFIX): New.
43394 (TLS_GD): Use it.
43395
842b81d6
DM
433962012-05-11 David S. Miller <davem@davemloft.net>
43397
43398 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43399 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43400 (_FPU_SETCW): Likewise.
43401
1cf463cd
L
434022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43403
43404 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43405 is 32-byte aligned.
43406
60cc4a18
AS
434072012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43408
43409 [BZ #11837]
43410 * iconvdata/gb18030.c: Update tables.
43411 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43412 characters specially.
43413 (BODY for TO_LOOP): Add encoding of missing ranges.
43414
febb44a4
TS
434152012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43416
43417 [BZ #13673]
43418 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43419 * sysdeps/mach/hurd/dup3.c: Likewise.
43420 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43421 * sysdeps/powerpc/memmove.c:: Likewise.
43422
0a10fb9e
L
434232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43424
43425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43426 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43427
df8a552f
L
434282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43429
43430 * elf/elf.h (R_X86_64_RELATIVE64): New.
43431 (R_X86_64_NUM): Updated.
43432 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43433 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43434 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43435 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43436 tst-quad1pie tst-quad2pie
43437 (modules-names): Add tst-quadmod1 tst-quadmod2.
43438 ($(objpfx)tst-quad1): New dependency.
43439 ($(objpfx)tst-quad2): Likewise.
43440 ($(objpfx)tst-quad1pie): Likewise.
43441 ($(objpfx)tst-quad2pie): Likewise.
43442 * sysdeps/x86_64/tst-quad1.c: New file.
43443 * sysdeps/x86_64/tst-quad1pie.c: New file.
43444 * sysdeps/x86_64/tst-quad2.c: Likewise.
43445 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43446 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43447 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43448 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43449 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43450
f34d6f84
ST
434512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43452
f42d41d1
ST
43453 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43454 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43455 * streams/stropts.h (t_scalar_t): Define type.
43456
3c3571fc
ST
43457 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43458 (_PATH_PRESERVE): Set to "/var/lib".
43459 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43460
61f06bd3
ST
43461 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43462 instead of int.
43463
918d4d71
ST
43464 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43465 if __dir_mkfile succeeded.
43466
f34d6f84
ST
43467 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43468 checking for _hurd_dtablesize. Unlock it right after having
43469 finished _hurd_dtable allocation.
43470
10589b4a
TS
434712012-05-10 Thomas Schwinge <thomas@schwinge.name>
43472
674cdbc7
TS
43473 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43474 * sysdeps/mach/hurd/configure: Regenerated.
43475 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43476 special-casing to...
43477 * sysdeps/gnu/configure.in: ... this new file.
43478 * sysdeps/unix/sysv/linux/configure: Regenerated.
43479 * sysdeps/gnu/configure: New generated file.
43480
8e41b99f
TS
43481 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43482 for Linux: use nsec instead of usec, as well as:
43483 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43484 members of type struct timespec.
43485 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43486 New macros.
43487 (struct stat64): Likewise.
43488 (_STATBUF_ST_NSEC): New macro.
43489 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43490
10589b4a
TS
43491 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43492 __strtoul_internal rather than strtoul.
43493
63643c85
PT
434942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43495
43496 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43497 and reject them.
43498
3faebe6a
ST
434992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43500
43501 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43502 which preserves existing values.
43503 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43504
c6474b07
PT
435052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43506
43507 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43508 TIMEOUT values. Return EINVAL for NFDS values either negative or
43509 greater than FD_SETSIZE.
43510
1043890b
ST
435112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43512
43513 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43514 allocated, call __vm_protect to finish enabling the existing space, and
43515 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43516 allocate the remainder.
43517
37ed8b9b
PT
435182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43519
43520 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43521 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43522
db653660
ST
435232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43524
37ed8b9b
PT
43525 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43526 sysdeps/mach/hurd/readlink.c.
b29d4053 43527
db653660
ST
43528 * posix/tst-sysconf.c (posix_options): Only use
43529 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43530 _POSIX_SYNCHRONIZED_IO when they are defined
43531 * sysdeps/mach/hurd/bits/posix_opt.h:
43532 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43533 (_XOPEN_REALTIME): Undefine macro.
43534 (_XOPEN_REALTIME_THREADS): Undefine macro.
43535 (_XOPEN_SHM): Undefine macro.
43536 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43537 macro to -1.
43538 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43539 macro to -1.
43540 (_POSIX_ASYNC_IO): Undefine macro.
43541 (_POSIX_PRIORITIZED_IO): Undefine macro.
43542 (_POSIX_SPIN_LOCKS): Define macro to -1.
43543
ee16e894
ST
43544 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43545 SA_NODEFER, SA_RESETHAND.
43546 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43547 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43548 F_DUPFD_CLOEXEC.
43549
6103ae3b
TS
435502012-05-10 Thomas Schwinge <thomas@schwinge.name>
43551
43552 * elf/Makefile (pldd-modules): Define unconditionally.
43553
80b4e5f3
TS
435542012-05-10 Thomas Schwinge <thomas@schwinge.name>
43555
43556 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43557
edadcbd6
ST
435582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43559
43560 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43561 Return ENOENT when name is empty.
43562 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43563
80694780
TS
435642012-05-10 Thomas Schwinge <thomas@schwinge.name>
43565
1792c087
TS
43566 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43567
80694780
TS
43568 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43569
6b645f0d
ST
435702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43571
80694780
TS
43572 Fix mlock in all cases except non-readable pages.
43573 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43574 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43575
6b645f0d
ST
43576 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43577 (__mkdir): When path is `/', just fail with EEXIST.
43578 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43579
e468f8a3
TS
435802012-05-10 Thomas Schwinge <thomas@schwinge.name>
43581
43582 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43583 <sys/uio.h> (for writev).
43584 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43585 and <sys/param.h> (for MIN).
43586
a4186cff
PT
435872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43588
43589 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43590 REQUESTED_TIME. Properly set the remaining time and return EINTR
43591 if interrupted.
43592
510bbf14
TS
435932012-05-10 Thomas Schwinge <thomas@schwinge.name>
43594
43595 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43596 Depend on against $(link-rpcuserlibs).
43597
5d5722e8
ST
435982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43599
a4186cff
PT
43600 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43601 (__libc_stack_end): Do not use attribute_relro.
43602 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43603 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43604 to libthread-provided value.
a4186cff
PT
43605 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43606 attribute_relro.
5d5722e8 43607
37233df9
TS
436082012-05-10 Thomas Schwinge <thomas@schwinge.name>
43609
be971a2b
TS
43610 [BZ #3748]
43611 * bits/libc-lock.h (__libc_once_get): New macro.
43612 * sysdeps/mach/bits/libc-lock.h: Likewise.
43613 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43615 instead of using implementation details.
43616
37233df9
TS
43617 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43618 * libio/freopen.c: Likewise.
43619 * libio/freopen64.c: Likewise.
43620 * misc/syslog.c: Likewise.
43621 * nscd/connections.c: Likewise.
43622 * nscd/netgroupcache.c: Likewise.
43623 * sysdeps/posix/getcwd.c: Likewise.
43624
38de94a5
RM
436252012-05-10 Roland McGrath <roland@hack.frob.com>
43626
43627 * math/w_ilogbf.c: Add #include <limits.h>.
43628
67530489
ST
436292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43630
a4186cff 43631 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43632 path instead of returning without unlocking.
43633
67530489
ST
43634 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43635 immediate-write ioctls.
43636 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43637
5aa3a74a
TS
436382012-05-10 Thomas Schwinge <thomas@schwinge.name>
43639
18bad2ae
TS
43640 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43641 __builtin_frame_address instead of making assumptions about the
43642 location of the return address relative to DATA. Force early load of
43643 the return address.
43644 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43645 __builtin_frame_address.
43646
5aa3a74a
TS
43647 dup3 for GNU Hurd.
43648 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43649 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43650 implement dup3 and do some further code clean-ups.
43651 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43652 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43653
ecd0de9a
ST
436542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43655
cd9fa985
ST
43656 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43657
a4186cff
PT
43658 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43659 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43660 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43661 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43662 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43663 d->port.lock.
802ca5a5 43664
a4186cff
PT
43665 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43666 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43667 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43668
bcf55240
TS
436692012-05-10 Thomas Schwinge <thomas@schwinge.name>
43670
6960eb42
TS
43671 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43672 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43673 definitions.
43674
eb43375f
TS
43675 accept4 for GNU Hurd.
43676 * include/sys/socket.h (__libc_accept4): New prototype.
43677 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43678 to implement __libc_accept4.
43679 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43680 __libc_accept4.
43681 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43682
bcf55240
TS
43683 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43684 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43685 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43686 signal-defines.sym.
43687
6178c55b
ST
436882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43689
a4186cff 43690 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43691
6f080c2f
TS
436922012-05-10 Thomas Schwinge <thomas@schwinge.name>
43693
43694 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43695 assertion on O_CLOEXEC flag.
43696 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43697 * hurd/intern-fd.c: Likewise.
43698 * hurd/port2fd.c: Likewise.
43699
bcfe3a54
ST
437002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43701
43702 [BZ #3906]
43703 * bits/in.h (IPV6_PKTINFO): Define new macro.
43704 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43705
89c9aa49
AZ
437062012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43707
43708 [BZ #13954]
43709 [BZ #13955]
43710 [BZ #13956]
43711 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43713 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43714 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43716 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43717 * math/libm-test.inc (logb_test) : Additional logb tests.
43718
021db4be
AJ
437192012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43720 Andreas Jaeger <aj@suse.de>
43721
43722 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43723 * configure: Regenerated.
43724 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43725 * config.make.in (link-obsolete-rpc): New substituted variable.
43726 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43727 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43728 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43729 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43730 so that libc.a contains the symbols.
43731 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43732 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43733 * sunrpc/auth_none.c: Likewise.
43734 * sunrpc/auth_unix.c: Likewise.
43735 * sunrpc/authdes_prot.c: Likewise.
43736 * sunrpc/authuxprot.c: Likewise.
43737 * sunrpc/clnt_gen.c: Likewise.
43738 * sunrpc/clnt_perr.c: Likewise.
43739 * sunrpc/clnt_raw.c: Likewise.
43740 * sunrpc/clnt_simp.c: Likewise.
43741 * sunrpc/clnt_tcp.c: Likewise.
43742 * sunrpc/clnt_udp.c: Likewise.
43743 * sunrpc/clnt_unix.c: Likewise.
43744 * sunrpc/des_crypt.c: Likewise.
43745 * sunrpc/des_soft.c: Likewise.
43746 * sunrpc/get_myaddr.c: Likewise.
43747 * sunrpc/key_call.c: Likewise.
43748 * sunrpc/key_prot.c: Likewise.
43749 * sunrpc/netname.c: Likewise.
43750 * sunrpc/pm_getmaps.c: Likewise.
43751 * sunrpc/pm_getport.c: Likewise.
43752 * sunrpc/pmap_clnt.c: Likewise.
43753 * sunrpc/pmap_prot.c: Likewise.
43754 * sunrpc/pmap_prot2.c: Likewise.
43755 * sunrpc/pmap_rmt.c: Likewise.
43756 * sunrpc/publickey.c: Likewise.
43757 * sunrpc/rpc_cmsg.c: Likewise.
43758 * sunrpc/rpc_common.c: Likewise.
43759 * sunrpc/rpc_dtable.c: Likewise.
43760 * sunrpc/rpc_prot.c: Likewise.
43761 * sunrpc/rpc_thread.c: Likewise.
43762 * sunrpc/rtime.c: Likewise.
43763 * sunrpc/svc.c: Likewise.
43764 * sunrpc/svc_auth.c: Likewise.
43765 * sunrpc/svc_raw.c: Likewise.
43766 * sunrpc/svc_run.c: Likewise.
43767 * sunrpc/svc_tcp.c: Likewise.
43768 * sunrpc/svc_udp.c: Likewise.
43769 * sunrpc/svc_unix.c: Likewise.
43770 * sunrpc/svcauth_des.c: Likewise.
43771 * sunrpc/xcrypt.c: Likewise.
43772 * sunrpc/xdr.c: Likewise.
43773 * sunrpc/xdr_array.c: Likewise.
43774 * sunrpc/xdr_float.c: Likewise.
43775 * sunrpc/xdr_intXX_t.c: Likewise.
43776 * sunrpc/xdr_mem.c: Likewise.
43777 * sunrpc/xdr_rec.c: Likewise.
43778 * sunrpc/xdr_ref.c: Likewise.
43779 * sunrpc/xdr_sizeof.c: Likewise.
43780 * sunrpc/xdr_stdio.c: Likewise.
43781
b5c086a2
RM
437822012-05-10 Roland McGrath <roland@hack.frob.com>
43783
43784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43785 change. Update copyright years.
43786
6d74dd09
JM
437872012-05-10 Joseph Myers <joseph@codesourcery.com>
43788
43789 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43790
28e72501
MK
437912012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43792 Joseph Myers <joseph@codesourcery.com>
43793 Paul Pluzhnikov <ppluzhnikov@google.com>
43794
43795 [BZ #14012]
43796 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43797 requiring rpcgen.
43798 [cross-compiling] (extra-libs): Likewise.
43799 [cross-compiling] (extra-libs-others): Likewise.
43800 [cross-compiling] (librpcsvc-routines): Likewise.
43801 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43802 [cross-compiling] (omit-deps): Likewise.
43803 (sunrpc-CPPFLAGS): New variable.
43804 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43805 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43806 (cross-rpcgen-objs): New variable.
43807 (extra-objs): Append $(cross-rpcgen-objs).
43808 ($(cross-rpcgen-objs)): New rule.
43809 ($(objpfx)cross-rpcgen): Likewise.
43810 (rpcgen-cmd): Define to use $(built-program-file). Expand
43811 comment.
43812 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43813 ($(objpfx)x%.stmp): Likewise.
43814 * sunrpc/proto.h [IS_IN_build] (_): Define.
43815 [IS_IN_build] (_libc_intl_domainname): Likewise.
43816
c8c59454
L
438172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43818
43819 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43820 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43821 and R_X86_64_TPOFF64.
43822
6f27cd16
JM
438232012-05-10 Joseph Myers <joseph@codesourcery.com>
43824
43825 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43826 sysdeps/unix/sysv/syscalls.list.
43827 (stime): Likewise.
43828 (utime): Likewise.
43829 * sysdeps/unix/sysv/syscalls.list: Remove file.
43830
02467e1c
PE
438312012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43832
43833 [BZ #3440]
43834 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43835 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43836 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43837 (__LC_IDENTIFICATION): Make these macros useful in #if
43838 expressions, as required by C99.
43839
da392631
AS
438402012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43841
43842 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43843 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43844 after this.
43845
8115f29b
L
438462012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43847
43848 * stdlib/longlong.h: Updated from GCC.
43849
bdd74070
AJ
438502012-05-09 Andreas Jaeger <aj@suse.de>
43851
edfe0dbe
AJ
43852 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43853 default is first entry.
43854 (run_mode): Set type.
43855 (main): Remove informal message about syslog.
43856 (options): Fix typo.
43857
bcfe3a54
ST
43858 [BZ #14053]
43859 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43860 to asm.
bcfe3a54
ST
43861 (lrint): Likewise.
43862 (llrintf): Likewise.
43863 (llrint): Likewise.
43864 (rint): Likewise.
43865 (rintf): Likewise.
43866 (nearbyint): Likewise.
43867 (nearbyintf): Likewise.
bdd74070 43868
91d8d69e
AJ
438692012-05-09 Andreas Jaeger <aj@suse.de>
43870 Pedro Alves <palves@redhat.com>
43871
43872 * nscd/nscd.c (run_mode): Use enum.
43873 (main): Cleanup coding style issue.
43874
bb90b80b
AJ
438752012-05-09 Alexandre Oliva <aoliva@redhat.com>
43876 Andreas Jaeger <aj@suse.de>
43877
bcfe3a54
ST
43878 * nscd/nscd.c (go_background): Replaced with...
43879 (run_mode): ... this.
bb90b80b 43880 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43881 (options): Add -F --foreground.
43882 (main): Implement it.
43883 (parse_opt): Parse it.
bb90b80b 43884
1a4b75a1
AJ
438852012-05-09 Andreas Jaeger <aj@suse.de>
43886
43887 [BZ #14083]
43888 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43889 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43890 -Wconversion warning.
43891 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43892 Likewise.
43893
b1cc2472
JM
438942012-05-09 Joseph Myers <joseph@codesourcery.com>
43895
43896 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43897 == 0.
43898 (LC_ALL): Use macro-int-constant.
43899 (LC_COLLATE): Likewise.
43900 (LC_CTYPE): Likewise.
43901 (LC_MESSAGES): Likewise.
43902 (LC_MONETARY): Likewise.
43903 (LC_NUMERIC): Likewise.
43904 (LC_TIME): Likewise.
43905 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43906 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43908 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43909 Specify type.
43910 [C99-based standards] (float_t): Expect type.
43911 [C99-based standards] (double_t): Expect type.
43912 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43913 type.
43914 [C99-based standards] (HUGE_VALL): Likewise.
43915 [C99-based standards] (INFINITY): Likewise.
43916 [C99-based standards] (NAN): Likewise.
43917 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43918 [C99-based standards] (FP_NAN): Likewise.
43919 [C99-based standards] (FP_NORMAL): Likewise.
43920 [C99-based standards] (FP_SUBNORMAL): Likewise.
43921 [C99-based standards] (FP_ZERO): Likewise.
43922 [C99-based standards] (FP_FAST_FMA): Use
43923 optional-macro-int-constant. Specify type. Require == 1.
43924 [C99-based standards] (FP_FAST_FMAF): Likewise.
43925 [C99-based standards] (FP_FAST_FMAL): Likewise.
43926 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43927 [C99-based standards] (FP_ILOGBNAN): Likewise.
43928 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43929 Specify type.
43930 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43931 [C99-based standards] (math_errhandling): Specify type.
43932 [ISO99 || ISO11] (signgam): Do not allow.
43933 [non-C99-based standards] (copysignf): Do not allow.
43934 [non-C99-based standards] (exp2f): Likewise.
43935 [non-C99-based standards] (log2f): Likewise.
43936 [non-C99-based standards] (modff): Allow.
43937 [non-C99-based standards] (erff): Do not allow.
43938 [non-C99-based standards] (erfcf): Likewise.
43939 [non-C99-based standards] (gammaf): Likewise.
43940 [non-C99-based standards] (hypotf): Likewise.
43941 [non-C99-based standards] (j0f): Likewise.
43942 [non-C99-based standards] (j1f): Likewise.
43943 [non-C99-based standards] (jnf): Likewise.
43944 [non-C99-based standards] (lgammaf): Likewise.
43945 [non-C99-based standards] (tgammaf): Likewise.
43946 [non-C99-based standards] (y0f): Likewise.
43947 [non-C99-based standards] (y1f): Likewise.
43948 [non-C99-based standards] (ynf): Likewise.
43949 [non-C99-based standards] (isnanf): Likewise.
43950 [non-C99-based standards] (acoshf): Likewise.
43951 [non-C99-based standards] (asinhf): Likewise.
43952 [non-C99-based standards] (atanhf): Likewise.
43953 [non-C99-based standards] (cbrtf): Likewise.
43954 [non-C99-based standards] (expm1f): Likewise.
43955 [non-C99-based standards] (ilogbf): Likewise.
43956 [non-C99-based standards] (log1pf): Likewise.
43957 [non-C99-based standards] (logbf): Likewise.
43958 [non-C99-based standards] (nextafterf): Likewise.
43959 [non-C99-based standards] (remainderf): Likewise.
43960 [non-C99-based standards] (rintf): Likewise.
43961 [non-C99-based standards] (scalbf): Likewise.
43962 [non-C99-based standards] (copysignl): Likewise.
43963 [non-C99-based standards] (exp2l): Likewise.
43964 [non-C99-based standards] (log2l): Likewise.
43965 [non-C99-based standards] (modfl): Allow.
43966 [non-C99-based standards] (erfl): Do not allow.
43967 [non-C99-based standards] (erfcl): Likewise.
43968 [non-C99-based standards] (gammal): Likewise.
43969 [non-C99-based standards] (hypotl): Likewise.
43970 [non-C99-based standards] (j0l): Likewise.
43971 [non-C99-based standards] (j1l): Likewise.
43972 [non-C99-based standards] (jnl): Likewise.
43973 [non-C99-based standards] (lgammal): Likewise.
43974 [non-C99-based standards] (tgammal): Likewise.
43975 [non-C99-based standards] (y0l): Likewise.
43976 [non-C99-based standards] (y1l): Likewise.
43977 [non-C99-based standards] (ynl): Likewise.
43978 [non-C99-based standards] (isnanl): Likewise.
43979 [non-C99-based standards] (acoshl): Likewise.
43980 [non-C99-based standards] (asinhl): Likewise.
43981 [non-C99-based standards] (atanhl): Likewise.
43982 [non-C99-based standards] (cbrtl): Likewise.
43983 [non-C99-based standards] (expm1l): Likewise.
43984 [non-C99-based standards] (ilogbl): Likewise.
43985 [non-C99-based standards] (log1pl): Likewise.
43986 [non-C99-based standards] (logbl): Likewise.
43987 [non-C99-based standards] (nextafterl): Likewise.
43988 [non-C99-based standards] (remainderl): Likewise.
43989 [non-C99-based standards] (rintl): Likewise.
43990 [non-C99-based standards] (scalbl): Likewise.
43991 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43992 [non-C99-based standards] (FP_*): Do not allow.
43993 [C99-based standards] (FP_*): Change to
43994 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43995 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43996 allow.
43997 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43998 (SIG_ERR): Likewise.
43999 [X/Open-based standards] (SIG_HOLD): Likewise.
44000 (SIG_IGN): Likewise.
44001 (SIGABRT): Use macro-int-constant. Specify type. Require
44002 positive value.
44003 (SIGFPE): Likewise.
44004 (SIGILL): Likewise.
44005 (SIGINT): Likewise.
44006 (SIGSEGV): Likewise.
44007 (SIGTER): Likewise.
44008 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44009 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44010 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44011 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44012 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44013 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44014 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44015 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44016 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44017 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44018 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44019 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44020 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44021 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44022 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44023 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44024 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44025 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44026 [X/Open-based standards] (SIGTRAP): Likewise.
44027 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44028 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44029 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44030 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44031 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44032 allow.
44033
b9f1922d
IW
440342012-05-08 Ian Wienand <ianw@vmware.com>
44035
44036 [BZ #14080]
44037 * time/tzset.c (__tzset_parse_tz): Update default rules for
44038 daylight time changes in the Energy Policy Act of 2005.
44039
1db86e88
AJ
440402012-05-09 Andreas Jaeger <aj@suse.de>
44041
44042 [BZ #13983]
44043 * elf/ldconfig.c (parse_conf): Change string to make clear that
44044 ldconfig only issued a warning if ld.so.conf does not exist.
44045
dee4a4e3
DM
440462012-05-08 David S. Miller <davem@davemloft.net>
44047
ee0db190
DM
44048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44049 movxtod instead of popping the value on the stack.
44050
dee4a4e3
DM
44051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44052
6a43ec98
CD
440532012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44054
44055 * config.h.in: Add HAVE_ARM_PCS_VFP.
44056
05c2c961
RMG
440572012-05-08 Roland Mc Grath <roland@hack.frob.com>
44058
bcfe3a54
ST
44059 [BZ #13979]
44060 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44061 checking but the checks are disabled for any reason.
05c2c961 44062
4b30f61a
L
440632012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44064
44065 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44066 and ELF64_R_TYPE with ELFW(R_TYPE).
44067
eee2bc67
JM
440682012-05-08 Joseph Myers <joseph@codesourcery.com>
44069
7ea5391a
JM
44070 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44071 (ulimit): Likewise.
44072
eee2bc67
JM
44073 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44074 (settimeofday): Likewise.
44075
abb66a67
MF
440762012-05-08 Mike Frysinger <vapier@gentoo.org>
44077
44078 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44079 a struct th_u2 inside the union, and move tu_block/tu_code into
44080 a new th_u3 union of tu_block/tu_code inside of that. Move
44081 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44082 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44083 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44084 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44085 (th_stuff): Change to th_u1.tu_stuff.
44086 (th_data): Define.
44087 (th_msg): Change to th_u1.th_u2.tu_data.
44088
7f18b530
DM
440892012-05-07 David S. Miller <davem@davemloft.net>
44090
05760585
DM
44091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44092
7f18b530
DM
44093 [BZ #14074]
44094 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44095 (SETUP_PIC_REG): Use it.
44096 (SETUP_PIC_REG_LEAF): Use it.
44097
495fd99f
JM
440982012-05-07 Joseph Myers <joseph@codesourcery.com>
44099
44100 [BZ #13885]
44101 [BZ #13923]
44102 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44103 USE_AS_EXPM1L.
44104 (EXPL_FINITE): Likewise.
44105 (FLDLOG): Likewise.
44106 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44107 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44108 e_expl.S.
44109 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44110 USE_AS_EXPM1L.
44111 (EXPL_FINITE): Likewise.
44112 (FLDLOG): Likewise.
44113 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44114 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44115 e_expl.S.
44116 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44117 test of -max_value argument for long double.
44118 * sysdeps/i386/fpu/libm-test-ulps: Update.
44119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44120
6693d694
DM
441212012-05-06 David S. Miller <davem@davemloft.net>
44122
44123 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44124 quad soft-float symbols whose references which are compiler
44125 generated.
44126 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44127
6c23e11c
JM
441282012-05-06 Joseph Myers <joseph@codesourcery.com>
44129
d8b82cad
JM
44130 [BZ #13884]
44131 [BZ #13914]
44132 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44133 USE_AS_EXP10L.
44134 (EXPL_FINITE): Likewise.
44135 (FLDLOG): Likewise.
44136 (c0): Likewise.
44137 (c1): Likewise.
44138 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44139 Adjust comments for base varying.
44140 (__expl_finite): Change alias to EXPL_FINITE.
44141 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44142 e_expl.S.
44143 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44144 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44145 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44146 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44147 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44148 USE_AS_EXP10L.
44149 (EXPL_FINITE): Likewise.
44150 (FLDLOG): Likewise.
44151 (c0): Likewise.
44152 (c1): Likewise.
44153 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44154 Adjust comments for base varying.
44155 (__expl_finite): Change alias to EXPL_FINITE.
44156 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44157 tests for bugs.
44158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44159
6c23e11c
JM
44160 [BZ #14064]
44161 * math/libm-test.inc (check_float_internal): Correct ulp
44162 calculation for subnormal expected results.
44163
29ba805c
AJ
441642012-05-06 Andreas Jaeger <aj@suse.de>
44165
44166 * Makeconfig (+math-flags): New, set to -frounding-math.
44167 (+cflags): Add +math-flags so that all of glibc gets compiled with
44168 it.
44169
44170 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44171
7b17aeda
JM
441722012-05-05 Joseph Myers <joseph@codesourcery.com>
44173
5779f134
JM
44174 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44175 Disable one test.
44176
41498f4d
JM
44177 [BZ #13787]
44178 [BZ #13922]
44179 [BZ #14036]
44180 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44181 (__ieee754_expl): Allow for and saturate large arguments.
44182 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44183 (u_threshold): Likewise.
44184 (__exp): Call __ieee754_exp before checking for overflow and
44185 underflow.
44186 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44187 (u_threshold): Likewise.
44188 (__expf): Call __ieee754_expf before checking for overflow and
44189 underflow.
44190 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44191 (u_threshold): Likewise.
44192 (__expl): Call __ieee754_expl before checking for overflow and
44193 underflow.
44194 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44195 (__ieee754_expl): Allow for and saturate large arguments.
44196 * math/libm-test.inc (exp_test): Add another test. Do not allow
44197 missing overflow exception on overflow.
44198 (expm1_test): Do not allow missing overflow exception on overflow.
44199
6698b8bf
JM
44200 * sysdeps/i386/fpu/e_expl.c: Move to ...
44201 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44202 rather than using inline asm.
44203 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44204 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44205 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44206
7b17aeda
JM
44207 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44208 (nice): Likewise.
44209 (poll): Likewise.
44210 (signal): Likewise.
44211 (time): Likewise.
44212 (times): Likewise.
44213
f7c85819
JM
442142012-05-04 Joseph Myers <joseph@codesourcery.com>
44215
44216 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44217 sysdeps/unix/common/syscalls.list.
44218 (fchmod): Likewise.
44219 (fchown): Likewise.
44220 (ftruncate): Likewise.
44221 (getrusage): Likewise.
44222 (gettimeofday): Likewise.
44223 (setpgid): Likewise.
44224 (setregid): Likewise.
44225 (setreuid): Likewise.
44226 (sigaction): Likewise.
44227 (truncate): Likewise.
44228 (vhangup): Likewise.
44229 * sysdeps/unix/common/syscalls.list: Remove file.
44230 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44231 * sysdeps/unix/sysv/linux/Implies: Likewise.
44232
336270d0
L
442332012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44234
44235 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44237 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44238 Moved to ...
44239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44240 Here.
44241 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44242 to ...
44243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44244 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44245 to ...
44246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44247 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44248 to ...
44249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44250 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44251 to ...
44252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44253 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44254 to ...
44255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44256 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44257 to ...
44258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44259 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44260 to ...
44261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44262 Here.
44263 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44264 to ...
44265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44266 Here.
44267 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44268 to ...
44269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44270 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44271 Moved to ...
44272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44273 Here.
44274 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44275 to ...
44276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44277
d128e450
JM
442782012-05-04 Joseph Myers <joseph@codesourcery.com>
44279
fa8ee516
JM
44280 * sysdeps/unix/common/bits/dirent.h: Remove file.
44281 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44282
d128e450
JM
44283 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44284 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44285 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44286 * sysdeps/unix/bsd/isatty.c: Likewise.
44287 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44288 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44289 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44290
ff8faaf0 442912012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44292
62881be4 44293 [BZ #13563]
31dc8730
AZ
44294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44295 long double comparison inaccuracies.
44296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44298
6fef930c
AS
442992012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44300
44301 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44302 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44303
8f203e6c
JM
443042012-05-04 Joseph Myers <joseph@codesourcery.com>
44305
44306 [BZ #14049]
44307 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44308 nonzero digits before rounding a hex value.
44309 * stdlib/tst-strtod.c (tests): Add another test.
44310
5197d9c2
AK
443112012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44312
44313 * sysdeps/s390/fpu/libm-test-ulps: Update.
44314
f0c1dedf
AJ
443152012-05-03 Andreas Jaeger <aj@suse.de>
44316
44317 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44318 does not get optimized out.
44319 (malloc_opt_barrier): New.
44320
a65ef2ae 443212012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44322 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44323
2b942cb7 44324 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44325 intermediate file deletion.
2b942cb7 44326 (generated): Add .symlist files.
a65ef2ae 44327
54b71e02
JM
443282012-05-03 Joseph Myers <joseph@codesourcery.com>
44329
44330 [BZ #13775]
44331 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44332 Redirect under this condition.
44333 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44334 [__USE_GNU] (__dprintf_chk): Not under this condition.
44335 [__USE_GNU] (__vdprintf_chk): Likewise.
44336 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44337 under this condition.
44338 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44339 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44340 [__USE_XOPEN2K8] (vdprintf): Likewise.
44341 [__USE_GNU] (__dprintf_chk): Not under this condition.
44342 [__USE_GNU] (__vdprintf_chk): Likewise.
44343 [__USE_GNU] (dprintf): Likewise.
44344 [__USE_GNU] (vdprintf): Likewise.
44345
d3dfcc41
RM
443462012-05-03 Roland McGrath <roland@hack.frob.com>
44347
44348 * elf/Makefile (common-generated): Set this instead of generated for
44349 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44350 $(all-built-dso)-derived lists.
44351
7ac30cc5
AJ
443522012-05-03 Andreas Jaeger <aj@suse.de>
44353
0c51e550
AJ
44354 * sysdeps/i386/fpu/libm-test-ulps: Update.
44355
7ac30cc5
AJ
44356 * FAQ: Removed.
44357 * FAQ.in: Likewise.
44358 * scripts/gen-FAQ.pl: Likewise.
44359 * manual/install.texi (Installation): Point to online location of
44360 FAQ.
44361 * Makefile (files-for-dist): Remove FAQ.
44362 (FAQ): Remove.
44363
d4c2917f
AM
443642012-05-02 Allan McRae <allan@archlinux.org>
44365
44366 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44367 (LDFLAGS-reldepmod5.so): Likewise.
44368 (LDFLAGS-reldep6mod1.so): Likewise.
44369 (LDFLAGS-reldep6mod4.so): Likewise.
44370 (LDFLAGS-reldep8mod3.so): Likewise.
44371 (LDFLAGS-unload4mod1.so): Likewise.
44372 (LDFLAGS-unload4mod2.so): Likewise.
44373 (LDFLAGS-tst-initorder): Likewise.
44374 (LDFLAGS-tst-initordera2.so): Likewise.
44375 (LDFLAGS-tst-initordera3.so): Likewise.
44376 (LDFLAGS-tst-initordera4.so): Likewise.
44377 (LDFLAGS-tst-initorderb2.so): Likewise.
44378 (LDFLAGS-noload): Likewise.
44379 (LDFLAGS-next): Likewise.
44380 (LDFLAGS-order2mod1.so): Likewise.
44381 (LDFLAGS-order2mod2.so): Likewise.
44382 (LDFLAGS-tst-initorder2): Likewise.
44383 (LDFLAGS-tst-initorder2a.so): Likewise.
44384 (LDFLAGS-tst-initorder2b.so): Likewise.
44385 (LDFLAGS-tst-initorder2c.so): Likewise.
44386 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44387
d77f993f
DM
443882012-05-02 David S. Miller <davem@davemloft.net>
44389
44390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44391
171a70b4
PP
443922012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44393
44394 [BZ #14055]
44395 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44396
0be196ad
AJ
443972012-05-02 Andreas Jaeger <aj@suse.de>
44398
44399 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44400 since we manipulate rounding mode.
44401 (CPPFLAGS-test-idouble.c): Likewise.
44402 (CPPFLAGS-test-ifloat.c): Likewise.
44403 (CFLAGS-test-ldouble.c): Likewise.
44404 (CFLAGS-test-double.c): Likewise.
44405 (CFLAGS-test-float.c): Likewise.
44406 (CFLAGS-test-misc.c): Likewise.
44407 (CFLAGS-test-test-fenv.c): Likewise.
44408
4f9d04aa
AZ
444092012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44410
2b942cb7
RM
44411 [BZ #2550]
44412 [BZ #2570]
44413 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44414 comparisons to determine direction to adjust input.
4f9d04aa 44415
82a79e7d
RM
444162012-05-01 Roland McGrath <roland@hack.frob.com>
44417
f5a01ca9
RM
44418 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44419 output to the target.
44420
90fe4186
RM
44421 * scripts/localplt.awk: New file.
44422 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44423 (check-localplt-CFLAGS): Variable removed.
44424 ($(all-built-dso:=.jmprel)): New static pattern rule.
44425 (generated): Add those targets.
44426 (localplt-built-dso): New variable.
44427 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44428
44429 * elf/check-localplt.c: File removed.
44430
82397ed6
RM
44431 * scripts/check-execstack.awk: New file.
44432 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44433 (check-execstack-CFLAGS): Variable removed.
44434 ($(objpfx)check-execstack.h): Target removed.
44435 ($(objpfx)execstack-default): New target.
44436 (generated): Add that instead of check-execstack.h.
44437 ($(all-built-dso:=.phdr)): New static pattern rule.
44438 (generated): Add those targets.
44439 * elf/check-execstack.c: File removed.
44440
82a79e7d
RM
44441 * scripts/check-textrel.awk: New file.
44442 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44443 (check-textrel-CFLAGS): Variable removed.
44444 (all-built-dso): Use := to define.o
44445 ($(all-built-dso:=.dyn)): New static pattern rule.
44446 (generated): Add those targets.
44447 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44448 * config.make.in (READELF): New substituted variable.
44449 * elf/check-textrel.c: File removed.
44450
62fde54f 444512012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44452
615605c9
JM
44453 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44454 allow.
44455 * conform/data/ctype.h-data [C99-based standards] (isblank):
44456 Expect function.
44457 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44458 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44459 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44460 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44461 Specify type. Require positive value.
44462 (EILSEQ): Likewise.
44463 (ERANGE): Likewise.
44464 [ISO || POSIX] (EILSEQ): Do not expect.
44465 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44466 Specify type. Require positive value.
44467 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44468 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44469 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44470 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44471 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44472 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44473 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44474 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44475 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44476 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44477 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44478 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44479 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44480 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44481 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44482 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44483 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44484 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44485 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44486 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44487 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44488 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44489 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44490 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44491 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44492 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44493 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44494 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44495 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44496 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44497 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44498 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44499 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44500 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44501 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44502 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44503 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44504 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44505 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44506 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44507 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44508 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44509 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44510 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44511 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44512 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44513 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44514 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44515 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44516 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44517 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44518 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44519 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44520 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44521 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44522 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44523 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44524 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44525 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44526 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44527 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44528 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44529 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44530 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44531 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44532 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44533 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44534 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44535 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44536 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44537 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44538 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44539 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44540 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44541 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44542 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44543 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44544 Require >= 2.
44545 (FLT_ROUNDS): Expect as macro, not constant.
44546 (FLT_MANT_DIG): Use macro-int-constant.
44547 (DBL_MANT_DIG): Likewise.
44548 (LDBL_MANT_DIG): Likewise.
44549 (FLT_DIG): Likewise.
44550 (DBL_DIG): Likewise.
44551 (LDBL_DIG): Likewise.
44552 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44553 (DBL_MIN_EXP): Likewise.
44554 (LDBL_MIN_EXP): Likewise.
44555 (FLT_MAX_EXP): Use macro-int-constant.
44556 (DBL_MAX_EXP): Likewise.
44557 (LDBL_MAX_EXP): Likewise.
44558 (FLT_MAX_10_EXP): Likewise.
44559 (DBL_MAX_10_EXP): Likewise.
44560 (LDBL_MAX_10_EXP): Likewise.
44561 (FLT_MAX): Use macro-constant.
44562 (DBL_MAX): Likewise.
44563 (LDBL_MAX): Likewise.
44564 (FLT_EPSILON): Use macro-constant. Give upper bound.
44565 (DBL_EPSILON): Likewise.
44566 (LDBL_EPSILON): Likewise.
44567 (FLT_MIN): Likewise.
44568 (DBL_MIN): Likewise.
44569 (LDBL_MIN): Likewise.
44570 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44571 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44572 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44573 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44574 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44575 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44576 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44577 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44578 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44579 [ISO11] (FLT_TRUE_MIN): Likewise.
44580 [ISO11] (LDBL_TRUE_MIN): Likewise.
44581 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44582 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44583 (SCHAR_MIN): Use macro-int-constant. Specify type.
44584 (SCHAR_MAX): Likewise.
44585 (UCHAR_MAX): Likewise.
44586 (CHAR_MIN): Likewise.
44587 (CHAR_MAX): Likewise.
44588 (MB_LEN_MAX): Use macro-int-constant.
44589 (SHRT_MIN): Use macro-int-constant. Specify type.
44590 (SHRT_MAX): Likewise.
44591 (USHRT_MAX): Likewise.
44592 (INT_MAX): Likewise.
44593 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44594 bound negative.
44595 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44596 bound with "U".
44597 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44598 bound with "L".
44599 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44600 bound negative. Suffix upper bound with "L".
44601 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44602 bound with "UL".
44603 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44604 Specify type.
44605 [C99-based standards] (LLONG_MAX): Likewise.
44606 [C99-based standards] (ULLONG_MAX): Likewise.
44607 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44608 == 0.
44609 [ISO11] (max_align_t): Require type.
44610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44611
c9140a62
JM
44612 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44613 from $CFLAGS, without defining away __attribute__ calls.
44614 (checknamespace): Use $CFLAGS_namespace.
44615
9af0bf29
JM
44616 * conform/conformtest.pl (@keywords): Only include C99 keywords
44617 for standards based on C99 or C11.
44618
343222a2
JM
44619 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44620 Disable tests.
44621 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44622 UNIX98]: Likewise.
44623
661f8cf0
JM
44624 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44625 usability of symbols in #if.
44626
ee74b9cb
JM
44627 * conform/conformtest.pl: If macro or constant types start
44628 "promoted:", expect the symbol to be of the following type
44629 promoted by the integer promotions.
62fde54f 44630
aafc49b3
JM
44631 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44632 in one place. Also handle "macro-constant".
44633
fefdf574
JM
44634 * conform/conformtest.pl: Only accept expected macro values with
44635 "==". Parse all "macro" lines in one place.
44636 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44637
f2d922fe
JM
44638 * conform/conformtest.pl: Handle braced types on "constant" lines
44639 instead of handling "typed-constant".
44640 * conform/data/signal.h-data: Use "constant" instead of
44641 "typed-constant".
44642
d22956c9
JM
44643 * conform/conformtest.pl: Handle "optional-" at start of lines in
44644 one place rather than duplicating several cases. Handle each
44645 format of "macro" line with initial "optional-".
44646
028e2e38
JM
44647 * conform/conformtest.pl: Only accept expected constant or
44648 optional-constant values with "==". Parse all "constant" lines in
44649 one place. Parse all "optional-constant" lines in one place.
44650 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44651 * conform/data/fmtmsg.h-data: Likewise.
44652 * conform/data/netinet/in.h-data: Likewise.
44653 * conform/data/tar.h-data: Likewise.
44654 * conform/data/limits.h-data: Use "==" form on "constant" and
44655 "optional-constant" lines.
44656
1b8f2850
JM
44657 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44658 Use -std=c99 for XOPEN2K.
44659 (@knownproblems): Remove.
44660 (newtoken): Don't check %isknown.
44661
a05a144b
JM
44662 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44663 Do not expect macro.
44664 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44665 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44666 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44667 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44668 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44669 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44670 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44671 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44672 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44673 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44674 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44675 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44676 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44677 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44678 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44679 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44680 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44681 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44682 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44683 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44684 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44685 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44686 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44687 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44688 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44689 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44690 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44691 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44692 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44693 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44694 [XPG3] (acosh): Likewise.
44695 [XPG3] (asinh): Likewise.
44696 [XPG3] (atanh): Likewise.
44697 [XPG3] (cbrt): Likewise.
44698 [XPG3] (expm1): Likewise.
44699 [XPG3] (ilogb): Likewise.
44700 [XPG3] (log1p): Likewise.
44701 [XPG3] (logb): Likewise.
44702 [XPG3] (nextafter): Likewise.
44703 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44704 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44705 [XPG3] (remainder): Likewise.
44706 [XPG3] (rint): Likewise.
44707 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44708 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44709 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44710 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44711 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44712 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44713 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44714 [UNIX98 || XOPEN2K] (scalb): Expect.
44715 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44716 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44717 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44718 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44719 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44720 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44721 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44722 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44723 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44724 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44725 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44726 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44727 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44728 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44729 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44730 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44731 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44732 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44733 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44734 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44735 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44736 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44737 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44738 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44739 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44740 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44741 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44742 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44743 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44744 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44745 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44746 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44747 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44748 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44749 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44750 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44751 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44752 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44753 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44754 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44755 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44756 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44757 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44758 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44759 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44760 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44761 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44762 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44763 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44764 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44765 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44766 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44767 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44768 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44769 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44770 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44771 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44772 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44773 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44774 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44775 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44776 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44777 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44778 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44779 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44780 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44781 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44782 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44783 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44784 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44785 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44786 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44787 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44788 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44789 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44790 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44791 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44792 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44793 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44794 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44795 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44796 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44797 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44798 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44799 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44800 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44801 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44802 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44803 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44804 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44805 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44806 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44807 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44808 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44809 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44810 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44811 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44812 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44813 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44814 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44815 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44816 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44817 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44818 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44819 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44820 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44821 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44822 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44823 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44824 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44825 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44826 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44827 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44828 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44829 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44830 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44831 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44832 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44833 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44834 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44835 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44836 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44837 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44838 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44839 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44840 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44841 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44842 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44843 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44844 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44845 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44846 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44847 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44848 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44849 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44850 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44851 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44852
73c5ebe3
JM
44853 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44854 _XOPEN_SOURCE_EXTENDED for XPG4.
44855
39c33b6c
JM
44856 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44857
62fde54f
JM
44858 * Makeconfig (localtime): Remove variable.
44859 (inst_localtime-file): Likewise.
44860
0741d64c
AS
448612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44862
44863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44864 Update.
44865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44866 Update.
44867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44868 Update.
44869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44870 Update.
44871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44872 Update.
44873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44874 Update.
44875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44876 Update.
44877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44878 Update.
44879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44880 Update.
44881
7cb029ee
JM
448822012-05-01 Joseph Myers <joseph@codesourcery.com>
44883
44884 [BZ #2550]
44885 [BZ #2570]
44886 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44887 comparisons to determine direction to adjust input.
44888 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44889 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44890 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44891 Likewise.
44892 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44893 Likewise.
44894 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44895 Likewise.
44896 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44897 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44898 Likewise.
44899 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44900 Likewise.
44901 * math/libm-test.inc (nexttoward_test): Add more tests.
44902
412bd966
AS
449032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44904
44905 [BZ #14040]
44906 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44907 in version GLIBC_2.1, not GLIBC_2.0.
44908 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44909 Likewise.
44910
9568c0c2
JM
449112012-04-30 Joseph Myers <joseph@codesourcery.com>
44912
adfbc8ac
JM
44913 [BZ #13942]
44914 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44915 (1 - x) * (1 + x).
44916 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44917 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44918 * math/libm-test.inc (acos_test): Add more tests.
44919 (asin_test): Likewise.
44920 * sysdeps/i386/fpu/libm-test-ulps: Update.
44921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44922
5ba3cc69
JM
44923 [BZ #14034]
44924 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44925 of square root.
44926 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44927 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44928 * math/libm-test.inc (acos_test_tonearest): New function.
44929 (acos_test_towardzero): Likewise.
44930 (acos_test_downward): Likewise.
44931 (acos_test_upward): Likewise.
44932 (asin_test_tonearest): Likewise.
44933 (asin_test_towardzero): Likewise.
44934 (asin_test_downward): Likewise.
44935 (asin_test_upward): Likewise.
44936 (main): Call the new functions.
44937 * sysdeps/i386/fpu/libm-test-ulps: Update.
44938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44939
9568c0c2
JM
44940 [BZ #13884]
44941 [BZ #13924]
44942 * math/e_exp10.c: Include <float.h>.
44943 (__ieee754_exp10): Handle underflow here rather than multiplying
44944 large negative argument by M_LN10.
44945 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44946 of __ieee754_expf.
44947 * math/e_exp10l.c: Include <float.h>.
44948 (__ieee754_exp10l): Handle underflow here rather than multiplying
44949 large negative argument by M_LN10l.
44950 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44951 spurious overflow exception on underflow.
44952
5ac3ea17
MP
449532012-04-29 Marek Polacek <polacek@redhat.com>
44954
44955 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44956 (__fortify_function): New macro.
44957 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44958 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44959 __extern_always_inline.
44960 * libio/bits/stdio2.h: Likewise.
44961 * libio/bits/stdio.h: Likewise.
44962 * string/string.h: Likewise.
44963 * string/bits/string3.h: Likewise.
44964 * include/stdio.h: Likewise.
44965 * stdlib/bits/stdlib.h: Likewise.
44966 * stdlib/stdlib.h: Likewise.
44967 * rt/bits/mqueue2.h: Likewise.
44968 * rt/mqueue.h: Likewise.
44969 * posix/bits/unistd.h: Likewise.
44970 * posix/unistd.h: Likewise.
44971 * io/bits/poll2.h: Likewise.
44972 * io/bits/fcntl2.h: Likewise.
44973 * io/fcntl.h: Likewise.
44974 * io/sys/poll.h: Likewise.
44975 * misc/bits/syslog.h: Likewise.
44976 * misc/bits/syslog-ldbl.h: Likewise.
44977 * misc/sys/syslog.h: Likewise.
44978 * socket/bits/socket2.h: Likewise.
44979 * socket/sys/socket.h: Likewise.
44980 * debug/tst-chk1.c: Likewise.
44981 * wcsmbs/bits/wchar2.h: Likewise.
44982 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44983 * wcsmbs/wchar.h: Likewise.
44984
ecf0ebfb
AJ
449852012-04-29 Andreas Jaeger <aj@suse.de>
44986
44987 * Makerules (tests): Remove enable-check-abi protection.
44988 (check-abi-warn): Remove.
44989 (check-abi-%): Remove check-abi-warn usage.
44990
44991 * configure.in: Remove check-abi configure option.
44992 * configure: Regenerated.
44993 * config.make.in (enable-check-abi): Remove.
44994
6d5c57fa
AS
449952012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44996
24c5d07e 44997 [BZ #14033]
ded5180a
AS
44998 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44999 double functions to double *_finite functions.
45000
7e0d315d
AS
45001 [BZ #13941]
45002 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45003 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45004 LDBL_MIN_EXP.
45005 * stdio-common/Makefile (tests): Add tst-sprintf3.
45006 * stdio-common/tst-sprintf3.c: New file.
45007
6d5c57fa
AS
45008 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45009 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45010
0749ff8b
JM
450112012-04-28 Joseph Myers <joseph@codesourcery.com>
45012
45013 * conform/conformtest.pl: Remove duplicate typed-constant
45014 handling.
45015
8dbd5d7b
DM
450162012-04-28 David S. Miller <davem@davemloft.net>
45017
45018 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45019 (check-abi-%): Remove AWK script prerequisite and explicit
45020 abilist directory.
45021 (check-abi): Rewrite to just diff the symlist with the abilist.
45022 (config-tls, config-abi-config): Delete, no longer used.
45023 (update-abi-%): Remove AWK script and explicit abilist directory.
45024 (update-abi): Rewrite to simply compare and conditionally copy the
45025 symlist and the sysdep abilist file. Remove update-abi-config
45026 checks.
45027 * abilist/ld.abilist: Remove.
45028 * abilist/libBrokenLocale.abilist: Remove.
45029 * abilist/libanl.abilist: Remove.
45030 * abilist/libcrypt.abilist: Remove.
45031 * abilist/libdl.abilist: Remove.
45032 * abilist/librt.abilist: Remove.
45033 * abilist/libthread_db.abilist: Remove.
45034 * abilist/libutil.abilist: Remove.
45035 * scripts/extract-abilist.awk: Remove.
45036 * scripts/merge-abilist.awk: Remove.
45037 * sysdeps/generic/libcidn.abilist: New file.
45038 * sysdeps/generic/libnss_compat.abilist: New file.
45039 * sysdeps/generic/libnss_db.abilist: New file.
45040 * sysdeps/generic/libnss_dns.abilist: New file.
45041 * sysdeps/generic/libnss_files.abilist: New file.
45042 * sysdeps/generic/libnss_hesiod.abilist: New file.
45043 * sysdeps/generic/libnss_nis.abilist: New file.
45044 * sysdeps/generic/libnss_nisplus.abilist: New file.
45045 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45046 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45047 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45048 file.
45049 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45050 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45051 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45052 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45053 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45054 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45055 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45056 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45057 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45058 file.
45059 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45060 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45061 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45062 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45063 file.
45064 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45065 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45066 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45067 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45068 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45069 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45070 file.
45071 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45072 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45073 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45074 file.
45075 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45077 New file.
45078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45079 New file.
45080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45081 New file.
45082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45083 New file.
45084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45085 New file.
45086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45087 New file.
45088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45089 New file.
45090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45091 New file.
45092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45093 New file.
45094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45095 New file.
45096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45097 New file.
45098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45099 New file.
45100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45101 New file.
45102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45103 file.
45104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45105 New file.
45106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45107 New file.
45108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45109 file.
45110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45111 New file.
45112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45113 New file.
45114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45115 file.
45116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45117 New file.
45118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45119 New file.
45120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45121 New file.
45122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45123 New file.
45124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45125 New file.
45126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45127 New file.
45128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45130 file.
45131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45132 New file.
45133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45134 file.
45135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45136 file.
45137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45138 file.
45139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45140 file.
45141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45142 file.
45143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45144 New file.
45145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45146 file.
45147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45148 file.
45149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45150 New file.
45151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45152 file.
45153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45155 file.
45156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45157 New file.
45158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45159 file.
45160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45161 file.
45162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45163 file.
45164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45165 file.
45166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45167 file.
45168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45169 New file.
45170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45171 file.
45172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45173 file.
45174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45175 New file.
45176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45177 file.
45178 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45179 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45180 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45181 file.
45182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45183 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45184 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45185 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45186 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45187 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45188 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45189 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45190 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45191 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45194 file.
45195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45196 New file.
45197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45198 file.
45199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45200 file.
45201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45202 file.
45203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45204 file.
45205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45206 file.
45207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45208 New file.
45209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45210 New file.
45211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45212 file.
45213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45214 New file.
45215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45216 file.
45217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45219 file.
45220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45221 New file.
45222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45223 file.
45224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45225 file.
45226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45227 file.
45228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45229 file.
45230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45231 file.
45232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45233 New file.
45234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45235 New file.
45236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45237 file.
45238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45239 New file.
45240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45241 file.
45242
41d73a1b
JM
452432012-04-28 Joseph Myers <joseph@codesourcery.com>
45244
45245 * conform/conformtest.pl: Fix typo in handling typed-constant from
45246 allow-header.
45247
28aeeda4
JM
452482012-04-27 Joseph Myers <joseph@codesourcery.com>
45249
adae8f5e
JM
45250 * README: Cut down references to pre-2.6 Linux kernels and
45251 Linuxthreads. Update lists of configurations in libc and ports
45252 and sort alphabetically. Say "or newer" with Linux kernel version
45253 requirements.
45254
28aeeda4
JM
45255 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45256
a462cb63
RA
452572012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45258
45259 [BZ #887]
45260 * math/libm-test.inc (logb_test_downward): New test to expose
45261 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45262 rounding mode.
45263
6ad3493e
JM
452642012-04-27 Joseph Myers <joseph@codesourcery.com>
45265
45266 [BZ #14027]
45267 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45268 to be done.
45269 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45270 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45271
2ce4f015
JM
452722012-04-26 Joseph Myers <joseph@codesourcery.com>
45273
5aeb141a
JM
45274 * sysdeps/unix/i386/brk.S: Remove file.
45275 * sysdeps/unix/i386/dl-brk.S: Likewise.
45276 * sysdeps/unix/i386/pipe.S: Likewise.
45277 * sysdeps/unix/i386/sigreturn.S: Likewise.
45278 * sysdeps/unix/i386/syscall.S: Likewise.
45279 * sysdeps/unix/i386/vfork.S: Likewise.
45280 * sysdeps/unix/i386/wait.S: Likewise.
45281
7143acae
JM
45282 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45283 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45284
2ce4f015
JM
45285 * configure.in (arm*-none*): Do not allow without
45286 --enable-hacker-mode.
45287 (netbsd*): Remove case setting base_os.
45288 (386bsd*): Likewise.
45289 (freebsd*): Likewise.
45290 (bsdi*): Likewise.
45291 (osf*): Likewise.
45292 (sunos*): Likewise.
45293 (ultrix*): Likewise.
45294 (newsos*): Likewise.
45295 (dynix*): Likewise.
45296 (*bsd*): Likewise.
45297 (sysv*): Likewise.
45298 (isc*): Likewise.
45299 (esix*): Likewise.
45300 (sco*): Likewise.
45301 (minix*): Likewise.
45302 (irix4*): Likewise.
45303 (irix6*): Likewise.
45304 (solaris[2-9]*): Likewise.
45305 (none): Likewise.
45306 * configure: Regenerated.
45307
0ac229c8
AZ
453082012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45309
45310 [BZ #11521]
45311 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45312 overflow or cancellation in calculating denominator.
45313 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45314 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45315 down expression to avoid unexpected rounding in newer GCCs.
45316 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45317
33f244f4
DM
453182012-04-26 David S. Miller <davem@davemloft.net>
45319
45320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45321 long-double compat symbols.
45322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45335
cfa1f3e8
DM
453362012-04-25 David S. Miller <davem@davemloft.net>
45337
45338 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45339 HWCAP_* values only after the memory barriers have been defined.
45340 (atomic_full_barrier): Define.
45341 (atomic_read_barrier): Define.
45342 (atomic_write_barrier): Define.
45343
6e236b92
SP
453442012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45345
45346 * shlib-versions: Add libgcc_s version information.
45347 * sysdeps/generic/libgcc_s.h: Remove.
45348 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45349 libgcc_s.h.
45350 * sysdeps/gnu/unwind-resume.c: Likewise.
45351 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45352
aab39a09
DM
453532012-04-25 David S. Miller <davem@davemloft.net>
45354
45355 * sysdeps/unix/sparc/brk.S: Delete.
45356 * sysdeps/unix/sparc/dl-brk.S: Delete.
45357 * sysdeps/unix/sparc/pipe.S: Delete.
45358 * sysdeps/unix/sparc/sysdep.S: Delete.
45359 * sysdeps/unix/sparc/sysdep.h: Delete.
45360 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45361 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45362 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45363 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45364 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45365 (JUMPTARGET): Remove.
45366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45367 sysdeps/unix/sparc/sysdep.h
45368 (ENTRY, END): Remove.
45369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45370
a3cc4f48
JM
453712012-04-25 Joseph Myers <joseph@codesourcery.com>
45372
2ed8cda2
JM
45373 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45374 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45375 -DIS_IN_build.
45376
35d76d59
JM
45377 * timezone/README: Update upstream location and email address for
45378 tzcode and tzdata.
45379 * timezone/zdump.c: Update from tzcode 2012b.
45380 * timezone/zic.c: Likewise.
45381
a3cc4f48
JM
45382 * configure.in (libc_cv_as_needed): Remove test.
45383 * configure: Regenerated.
45384 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45385 conditional definition.
45386 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45387 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45388 * config.make.in (have-as-needed): Remove variable.
45389
ceab42c3
SP
453902012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45391 Paul Pluzhnikov <ppluzhnikov@google.com>
45392
45393 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45394 strings correctly.
45395
3ce2865f
CLT
453962012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45397
45398 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45399 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45400 * sysdeps/sh/strlen.S: Likewise.
45401
f37e0d68
JM
454022012-04-24 Joseph Myers <joseph@codesourcery.com>
45403
ae186e9a
JM
45404 * sysdeps/unix/fork.S: Remove file.
45405 * sysdeps/unix/i386/fork.S: Likewise.
45406 * sysdeps/unix/sparc/fork.S: Likewise.
45407
b96914af
JM
45408 * sysdeps/unix/system.c: Remove file.
45409 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45410
f37e0d68
JM
45411 * sysdeps/unix/getegid.S: Remove file.
45412 * sysdeps/unix/geteuid.S: Likewise.
45413
87ef29ca
RM
454142012-04-24 Roland McGrath <roland@hack.frob.com>
45415
83bcd236
RM
45416 * scripts/check-localplt.awk: New file.
45417 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45418 of diff.
45419 * scripts/data/localplt-generic.data: Add a comment.
45420
87ef29ca
RM
45421 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45422 NODE when __dir_mkfile failed.
45423 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45424 Reported by Ludovic Courtès <ludo@gnu.org>.
45425
e5a6e567
AJ
454262012-04-24 Andreas Jaeger <aj@suse.de>
45427
45428 * Makerules (common-clean): Also remove gen-as-const-headers
45429 files.
45430
c1820385
JM
454312012-04-24 Joseph Myers <joseph@codesourcery.com>
45432
45433 * Makerules (native-compile): Do not change working directory for
45434 build. Use $(OUTPUT_OPTION) in command.
45435 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45436
94e02fc4
AZ
454372012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45438
45439 [BZ #13886]
45440 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45441 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45442 * math/libm-test.inc (floor_test): Add more tests.
45443 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45444
3a533ca3
JM
454452012-04-24 Joseph Myers <joseph@codesourcery.com>
45446
940ab4b3
JM
45447 * sysdeps/unix/getdents.c: Remove file.
45448 * sysdeps/unix/sysv/getdents.c: Likewise.
45449 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45450
90e037bd
JM
45451 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45452 sysdeps/unix/mman/syscalls.list.
45453 (mmap): Likewise.
45454 (mprotect): Likewise.
45455 (msync): Likewise.
45456 (munmap): Likewise.
45457 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45458 * sysdeps/unix/mman/syscalls.list: Remove.
45459 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45460
3a533ca3
JM
45461 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45462 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45463 * configure: Regenerated.
45464 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45465 $(libgcc_s_suffix).
45466 * config.make.in (libgcc_s_suffix): Remove variable.
45467
1ad743de
JM
454682012-04-23 Joseph Myers <joseph@codesourcery.com>
45469
4ad451e2
JM
45470 * sysdeps/unix/sysv/gethostname.c: Move to ...
45471 * sysdeps/posix/gethostname.c: ... here.
45472
5e37ce39
JM
45473 * sysdeps/unix/execve.S: Remove file.
45474
1ad743de
JM
45475 * sysdeps/unix/_exit.S: Remove file.
45476
4e681b5b
AJ
454772012-04-23 Andreas Jaeger <aj@suse.de>
45478
45479 [BZ #13739]
45480 * manual/Makefile: Remove make dist support, there's no
45481 need for a stand-alone documentation tar ball.
45482 (TEXI2DVI): Define always, it's not in Makeconfig.
45483 (dist): Removed.
45484 (tar-it): Removed.
45485 (edition): Removed.
45486 (glibc-doc-$(edition).tar): Removed
45487 (%.Z): Removed.
45488 (%.gz): Removed.
45489 (%.uu): Removed.
45490 (ETAGS): Remove, it's in Makeconfig.
45491 (move-if-change): Remove, it's in Makeconfig.
45492
38686a03 454932012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45494
45495 [BZ #13970]
45496 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45497 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45498 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45499 (strtod_l, strtof_l, strtold_l): Remove __wur.
45500 It is not necessarily an error to ignore strtol's return value.
45501 One can reliably look at the stored endptr to decide whether
45502 the number had valid syntax.
45503
7c0616fa
AJ
455042012-04-21 Andreas Jaeger <aj@suse.de>
45505
803cb6b7 45506 [BZ #13739]
7c0616fa
AJ
45507 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45508
b0fe253f
JM
455092012-04-21 Joseph Myers <joseph@codesourcery.com>
45510
45511 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45512 * sysdeps/unix/sysv/Versions: Remove file.
45513
8280f22d
MT
455142012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45515
45516 [BZ #13927]
45517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45518
75ce411f 455192012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45520
45521 [BZ #7064]
45522 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45523 version from __vm86.
45524
097d59fa
JM
455252012-04-20 Joseph Myers <joseph@codesourcery.com>
45526
a90f3bcb
JM
45527 * sysdeps/unix/common/lxstat.c: Remove file.
45528 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45529
edc7ea78
JM
45530 * sysdeps/unix/sysv/Makefile: Remove file.
45531
cb78c221
JM
45532 * sysdeps/unix/sysv/direct.h: Remove file.
45533
efa6a45f
JM
45534 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45535 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45536 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45537 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45538 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45539 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45540 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45541
9c9f2d0c
JM
45542 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45543
4541c83b
JM
45544 * sysdeps/unix/xmknod.c: Remove file.
45545 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45546
f5d153a0
JM
45547 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45548
aa746595
JM
45549 * sysdeps/unix/sysv/i386/time.S: Remove file.
45550
cce5905e
JM
45551 * sysdeps/unix/fxstat.c: Remove file.
45552 * sysdeps/unix/xstat.c: Likewise.
45553 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45554
37fa3841
JM
45555 * sysdeps/unix/sysv/sigaction.c: Remove file.
45556
ff1962a3
JM
45557 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45558 (sysdep_headers): Remove variable.
45559 [termio.h not in sysdep_headers] (generated): Likewise.
45560 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45561 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45562 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45563 * sysdeps/unix/sysv/tcflow.c: Likewise.
45564 * sysdeps/unix/sysv/tcflush.c: Likewise.
45565 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45566 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45567 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45568 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45569 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45570
e7740d31
JM
45571 * sysdeps/unix/siglist.c: Remove file.
45572
ee06f18b
JM
45573 * sysdeps/unix/getppid.S: Remove file.
45574
097d59fa
JM
45575 * sysdeps/unix/mkdir.c: Remove file.
45576 * sysdeps/unix/rmdir.c: Likewise.
45577
ff3d51ec
AS
455782012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45579
45580 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45581 ERR_MAX value.
45582 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45583 errlist-compat value.
45584
50f81fd7
DM
455852012-04-18 David S. Miller <davem@davemloft.net>
45586
45587 * sysdeps/generic/memcopy.h (reg_char): Delete.
45588 * debug/strcat_chk.c: Use char, not reg_char.
45589 * debug/strcpy_chk.c: Likewise.
45590 * debug/strncat_chk.c: Likewise.
45591 * debug/strncpy_chk.c: Likewise.
45592 * string/memchr.c: Likewise.
45593 * string/memrchr.c: Likewise.
45594 * string/rawmemchr.c: Likewise.
45595 * string/strcat.c: Likewise.
45596 * string/strchr.c: Likewise.
45597 * string/strchrnul.c: Likewise.
45598 * string/strcmp.c: Likewise.
45599 * string/strcpy.c: Likewise.
45600 * string/strncat.c: Likewise.
45601 * string/strncmp.c: Likewise.
45602 * string/strncpy.c: Likewise.
45603
8ff41c46
WS
456042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45605
45606 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45607 __builtin_memcopy is called when src and dest ranges are known to not
45608 overlap.
45609
6b652f46
WS
456102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45611
45612 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45613 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45614 fwd_align_merge macro call.
45615 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45616 bwd_align_merge macro call.
45617 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45618
b282631e
WS
456192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45620
45621 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45622 bwd_align_merge macros.
45623 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45624 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45625 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45626
95aa737c
DM
456272012-04-18 David S. Miller <davem@davemloft.net>
45628
45629 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45630
7a99a614
AJ
456312012-04-18 Andreas Jaeger <aj@suse.de>
45632
45633 [BZ# 6794]
45634 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45635 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45636 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45637
45638 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45639 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45640 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45641
45642 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45643 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45644 Adjust for changed ldbl-128 files.
45645
45646 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45647 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45648 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45649
e5270c23
DM
456502012-04-17 David S. Miller <davem@davemloft.net>
45651
45652 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45653
fb5e92c9
AS
456542012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45655
45656 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45657 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45658 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45659 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45660 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45661 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45662
76da7265
AZ
456632012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45664
45665 [BZ #6794]
45666 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45667 * math/libm-test.inc: Add ilogb errno and exception tests.
45668 * math/w_ilogb.c: New file: ilogb wrapper.
45669 * math/w_ilogbf.c: New file: ilogbf wrapper.
45670 * math/w_ilogbl.c: New file: ilogbl wrapper.
45671 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45672 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45673 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45674 exception being thrown with 0.0 as argument.
45675 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45676 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45677 exception being thrown with 0.0 as argument.
45678 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45679 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45680 exception being thrown with 0.0 as argument.
45681 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45682 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45683 exception being thrown with 0.0 as argument.
45684 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45685 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45686 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45687 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45688 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45689 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45690 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45691 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45692 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45693
0396e69d
PB
456942012-04-17 Petr Baudis <pasky@ucw.cz>
45695
45696 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45697 with altivec.
45698
750b5926
MP
456992012-04-16 Marek Polacek <polacek@redhat.com>
45700
45701 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45702
751728a1
MP
457032012-04-16 Marek Polacek <polacek@redhat.com>
45704
45705 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45706 operands of fdivp instruction.
45707
34a27407
L
457082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45709
45710 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45711 * elf/tst-auditmod3b.c: Likewise.
45712 * elf/tst-auditmod4b.c: Likewise.
45713 * elf/tst-auditmod5b.c: Likewise.
45714 * elf/tst-auditmod6b.c: Likewise.
45715 * elf/tst-auditmod6c.c: Likewise.
45716 * elf/tst-auditmod7b.c: Likewise.
45717 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45718 * sysdeps/x86_64/preconfigure.in: Likewise.
45719 * sysdeps/x86_64/preconfigure: Regenerated.
45720
7e73e17d
L
457212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45722
45723 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45724 __ILP32__.
45725
c7a6ab72
AB
457262012-04-13 Antoine Balestrat <merkil33@gmail.com>
45727
45728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45729 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45730
a9e8e0e0
CL
457312012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45732
45733 [BZ #13973]
45734 * locale/iso-639.def: Fix gl language name. Spotted by
45735 Yaron Shahrabani.
45736
ec98af7d
RM
457372012-04-12 Roland McGrath <roland@hack.frob.com>
45738
45739 [BZ #2074]
45740 * libio/libio.h (__io_write_fn): Update comment.
45741
247c3ede
PB
457422012-04-12 Petr Baudis <pasky@ucw.cz>
45743
45744 [BZ #2074]
45745 * stdio.texi (Hook Functions): The user provided writer function
45746 is not allowed to return -1.
45747
55939d6d
DM
457482012-04-11 David S. Miller <davem@davemloft.net>
45749
45750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45751
90020f5a
MF
457522012-04-11 Mike Frysinger <vapier@gentoo.org>
45753
45754 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45755 Add a leading slash to rtkaio.
45756
288f9098
JM
457572012-04-11 Jim Meyering <meyering@redhat.com>
45758
90020f5a
MF
45759 [BZ #11959]
45760 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45761 It is not necessarily an error to ignore fwrite's return
45762 value. One can reliably use ferror to test for errors after
45763 the fact.
288f9098 45764
4be2b570
L
457652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45766
45767 * bits/types.h (__snseconds_t): New type.
45768 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45769
45770 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45772 (__SNSECONDS_T_TYPE): Likewise.
45773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45774 (__SNSECONDS_T_TYPE): Likewise.
45775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45776 (__SNSECONDS_T_TYPE): Likewise.
45777
288f9098 457782012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45779
45780 [BZ #2636]
45781 * manual/time.texi (Processor Time): Return type of times is
45782 elapsed real time since an arbitrary point in the past.
45783 (CPU Time): Move CLK_TCK from here...
45784 (Processor Time): ...to here. Correct description.
45785 * manual/conf.texi (Constants for Sysconf): Correct description of
45786 _SC_CLK_TCK.
45787
d7dd4413
DM
457882012-04-10 David S. Miller <davem@davemloft.net>
45789
45790 [BZ #13967]
45791 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45792 where the is a gap between DT_REL(A) and DT_JMPREL.
45793
b46068fc
L
457942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45795
45796 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45797 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45798 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45799
73d65cc3
SP
458002012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45801
45802 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45803 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45804 (dl_main): Handle --inhibit-cache.
45805 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45806 _dl_inhibit_cache.
45807 * elf/dl-load.c (_dl_map_object): Use it.
45808 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45809
bcc8d661
JM
458102012-04-09 Joseph Myers <joseph@codesourcery.com>
45811
8f9a2fae
JM
45812 [BZ #13872]
45813 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45814 (__ieee754_powl): Saturate large exponents rather than testing for
45815 overflow of y*log2(x).
45816 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45817 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45818 exceptions.
45819
bcc8d661
JM
45820 [BZ #11521]
45821 * math/s_ctan.c: Include <float.h>.
45822 (__ctan): Avoid internal overflow or cancellation in calculating
45823 denominator.
45824 * math/s_ctanf.c: Likewise.
45825 * math/s_ctanl.c: Likewise.
45826 * math/s_ctanh.c: Likewise.
45827 * math/s_ctanhf.c: Likewise.
45828 * math/s_ctanhl.c: Likewise.
45829 * math/libm-test.inc (ctan_test): Add more tests.
45830 (ctanh_test): Likewise.
45831 * sysdeps/i386/fpu/libm-test-ulps: Update.
45832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45833
823fbbb4
AJ
458342012-04-09 Andreas Jaeger <aj@suse.de>
45835
03879793
AJ
45836 [BZ #6894]
45837 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45838 is an optional BSD extension.
45839
823fbbb4
AJ
45840 [BZ #10254]
45841 * manual/stdio.texi (Opening Streams): Document additional fopen
45842 parameters.
45843
8de131cb
RM
458442012-04-09 Roland McGrath <roland@hack.frob.com>
45845
45846 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45847 %eax without telling the compiler.
45848
c0ed9d7d
CD
458492012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45850
45851 [BZ # 13963]
45852 * manual/install.texi: Use sourceware.org.
45853
c483f6b4
JM
458542012-04-09 Joseph Myers <joseph@codesourcery.com>
45855
d7dd9453
JM
45856 [BZ #13873]
45857 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45858 (__ieee754_pow): Generate overflow and underflow using huge*huge
45859 and tiny*tiny rather than just returning constant infinity or zero
45860 for large exponents.
45861 * math/libm-test.inc (pow_test): Require overflow exceptions for
45862 applicable cases of large exponents.
45863
c483f6b4
JM
45864 [BZ #706]
45865 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45866 (__ieee754_pow): Use iterative multiplication algorithm only for
45867 integer exponents with absolute value below 1024. Check for odd
45868 integer exponents when using algorithm for real exponents.
45869 * math/libm-test.inc (pow_test): Add more tests.
45870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45871
d2de7579
JM
458722012-04-08 Joseph Myers <joseph@codesourcery.com>
45873
45874 [BZ #13705]
45875 * math/libm-test.inc (exp_test): Do not allow overflow exception
45876 on underflow test.
45877
f77f1232
AJ
458782012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45879
45880 [BZ #13705]
45881 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45882 instead of __kernel_standard_f.
45883
3884932b
MF
458842012-04-08 Mike Frysinger <vapier@gentoo.org>
45885
45886 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45887 * sysdeps/x86_64/memset_chk.S: Likewise.
45888
54472e9c
AJ
458892012-04-08 Andreas Jaeger <aj@suse.de>
45890
6ab0fbfc
AJ
45891 [BZ #10153]
45892 * manual/startup.texi (Environment Access): Describe return value
45893 for putenv and setenv.
45894
61efba8c
AJ
45895 [BZ #6895]
45896 * manual/filesys.texi (Directory Entries): Add description for
45897 DT_LNK.
45898
95c3f29a
AJ
45899 [BZ #6890]
45900 * manual/filesys.texi (Directory Entries): Clarify that it's file
45901 system not operating system in the description of DT_UNKNOWN.
45902
54472e9c
AJ
45903 [BZ #6578]
45904 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45905
624254b1
SC
459062012-04-08 Stephen Compall <s11@member.fsf.org>
45907
45908 [BZ #6649]
45909 * manual/llio.texi (Opening and Closing Files): Add cross
45910 reference to explain mode argument.
45911
1e4920e0
MF
459122012-04-07 Mike Frysinger <vapier@gentoo.org>
45913
45914 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45915 * sysdeps/x86_64/memset_chk.S: Likewise.
45916
5ed848f3
DM
459172012-04-07 David S. Miller <davem@davemloft.net>
45918
45919 * elf/elf.h (R_SPARC_WDISP10): Define.
45920 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45921 R_SPARC_SIZE32.
45922 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45923 R_SPARC_SIZE64 and R_SPARC_H34.
45924
96154cd8
CD
459252012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45926
45927 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45928 conditions and remove no longer applicable assertion.
45929
9904dc47
L
459302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45931
45932 * bits/byteswap.h: Include <features.h>.
45933 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45934 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45935
f8887d0a
L
459362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45937
45938 * bits/byteswap.h (__bswap_16): Removed.
45939 Include <bits/byteswap-16.h> to get __bswap_16.
45940 * sysdeps/i386/bits/byteswap.h: Likewise.
45941 * sysdeps/s390/bits/byteswap.h: Likewise.
45942 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45943 * bits/byteswap-16.h: New file.
45944 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45945 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45946 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45947 * string/Makefile (headers): Add bits/byteswap-16.h.
45948
62470f60
PP
459492012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45950
45951 [BZ #13895]
45952 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45953 extra indirection.
45954 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45955 * nss/tst-nss-static.c: New.
45956
4dad7bab
RM
459572012-04-06 Robert Millan <rmh@gnu.org>
45958
45959 [BZ #6486]
45960 * manual/llio.texi (File Position Primitive): lseek
45961 refers to WHENCE when it really means OFFSET.
45962
e9142a17
AJ
459632012-04-06 Andreas Jaeger <aj@suse.de>
45964
2c040eff
AJ
45965 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45966 strncmp declarations.
45967
e9142a17
AJ
45968 * abilist/libc.abilist: Add __poll and __ppoll.
45969
ff9f1c5f
DM
459702012-04-05 David S. Miller <davem@davemloft.net>
45971
dcd2ae90
DM
45972 * scripts/check-local-headers.sh: Accept a host triplet in the
45973 path matched by the exclude regexp.
45974
993eb054
DM
45975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45976 definition.
45977 * sysdeps/powerpc/powerpc32/dl-machine.h
45978 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45979 * sysdeps/s390/s390-32/dl-machine.h
45980 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45981 * sysdeps/sparc/sparc32/dl-machine.h
45982 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45983 * sysdeps/sparc/sparc64/dl-machine.h
45984 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45985
ff9f1c5f
DM
45986 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45987 lazy binding.
48e2e132 45988 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45989 undefined symbol errors.
45990
48e2e132 45991 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45992 DT_NEEDED entries.
45993
e80d6f94
MM
459942012-04-05 Michael Matz <matz@suse.de>
45995
45996 [BZ #13592]
45997 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45998
349fa79f
AJ
459992012-04-05 Andreas Jaeger <aj@suse.de>
46000
46001 [BZ #13908]
46002 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46003 comment.
46004
f402708f
KK
460052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46006
46007 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46008 which ROUND is no valid rounding mode.
46009
2ecccfc9
KK
460102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46011
46012 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46013 read again.
46014 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46015
8a53f50f
KK
460162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46017
46018 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46019 an exception using FPU order intentionally.
46020
460212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46022
46023 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46024 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46025 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46026 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46027
d653abb7
SJ
460282012-04-05 Simon Josefsson <simon@josefsson.org>
46029
46030 [BZ #12340]
46031 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46032 EINVAL when BUFLEN is too smal.
46033
c3b1bf7d
TS
460342012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46035
46036 [BZ #13553]
46037 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46038 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46039
b1aa60f3
AJ
460402012-04-03 Andreas Jaeger <aj@suse.de>
46041
c3b1bf7d 46042 [BZ #13938]
67f60a26
AJ
46043 * manual/setjmp.texi (System V contexts): Fix sentence.
46044
b1aa60f3
AJ
46045 [BZ #13926]
46046 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46047 New macro for this case.
46048 [!__GNUC__] (__bswap_64): New inline function for this case.
46049 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46050 * bits/byteswap.h: Likewise.
46051 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46052 ull, guard with __GLIBC_HAVE_LONG_LONG.
46053
46054 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46055 __GLIBC_HAVE_LONG_LONG.
46056
46057 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46058 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46059
39c59c35
TMQMF
460602012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46061
46062 [BZ #13691]
46063 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46064 inptr and inend, rather than using last_ch.
46065
135ffda8
DM
460662012-04-02 David S. Miller <davem@davemloft.net>
46067
46068 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46069 * stdio-common/printf-parse.h (read_int): Change return type to
46070 'int', return -1 on INT_MAX overflow.
46071 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46072 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46073 overflows INT_MAX. Check for overflow of in-format-string precision
46074 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46075 SIZE_MAX not INT_MAX for integer overflow test.
46076 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46077 skip the construct in the format string but do not record anything.
46078 * stdio-common/bug22.c: Adjust to test both width/prevision
46079 INT_MAX overflow as well as total length INT_MAX overflow. Check
46080 explicitly for proper errno values.
46081
228c019e
TS
460822012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46083
302cadd3
TS
46084 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46085 CHAR_MAX.
46086 * string/test-strcmp.c [! WIDE]: Likewise.
46087 * time/tst-mktime2.c: Likewise for INT_MAX.
46088 * string/test-string.h: #include <sys/param.h> for MIN.
46089
228c019e
TS
46090 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46091 * sysdeps/i386/init-first.c (init): Likewise.
46092 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46093 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46094 * sysdeps/sh/init-first.c (init): Likewise.
46095
cfa633f5
UD
460962012-04-01 Ulrich Drepper <drepper@gmail.com>
46097
46098 * po/ru.po: Update from translation team.
d1635ef8 46099 * po/vi.po: Likewise.
cfa633f5 46100
6cd0a5ea
SP
461012012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46102
46103 * resolv/nss_dns/dns-host.c: Merge copyright years.
46104
4b43400f
LD
461052012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46106
46107 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46108 Optimize memcpy with prefetch if
46109 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46110 src, dst pointers have unequal 16 byte alignments.
46111
48c41d04
SP
461122012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46113
46114 [BZ #13928]
46115 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46116 from a CNAME entry and return the minimum ttl for the query.
46117 (gaih_getanswer_slice): Likewise.
46118
b8dc394d
JL
461192012-03-30 Jeff Law <law@redhat.com>
46120
46121 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46122 due to long keys.
46123 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46124 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46125
2f5a5ed0
JL
46126 * resolv/nss_dns/dns-host.c: Update copyright year.
46127
1d39e359
UD
461282012-03-30 Ulrich Drepper <drepper@gmail.com>
46129
c030f70c 46130 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46131 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46132
1d39e359
UD
46133 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46134 comments for sendmmsg.
46135
461362012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46137
46138 [BZ #13691]
46139 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46140 with only 1 character between 0x0041 and 0x01b0.
46141 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46142 * wcsmbs/tst-mbsnrtowcs.c: New file.
46143
20fde227
DM
461442012-03-29 David S. Miller <davem@davemloft.net>
46145
46146 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46147 small copies by hand.
46148
984a4237
JL
461492012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46150
46151 [BZ #13761]
57f41c40
AS
46152 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46153 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46154 group memberships.
984a4237 46155
18c9d62b
DM
461562012-03-28 David S. Miller <davem@davemloft.net>
46157
88d85d4f
DM
46158 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46159 that branches into memcpy.
46160 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46163 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46165 bits.
46166 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46167 implementation too.
46168 * sysdeps/sparc/mempcpy.S: New file.
46169
e5aa83e1
DM
46170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46171 the IFUNC routine in the libc case.
46172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46173
88570753
DM
46174 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46175 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46176 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46177 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46178 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46179 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46180 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46181 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46182
249d7567
DM
46183 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46184 loop to 256 bytes instead of 64 bytes and fix test signedness.
46185
18c9d62b
DM
46186 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46187 * sysdeps/sparc/sparc32/Makefile: rather than here...
46188 * sysdeps/sparc/sparc64/Makefile: and here.
46189
05f3d1f6
UD
461902012-03-28 Ulrich Drepper <drepper@gmail.com>
46191
46192 * malloc/mallocbug.c: Avoid warnings about unused variables.
46193
86ae07a8
JL
461942012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46195
46196 [BZ #13760]
46197 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46198 in the right place. Discard and retry query if response is
46199 larger than input buffer size.
46200
41bf21a1
JM
462012012-03-28 Joseph Myers <joseph@codesourcery.com>
46202
d6270972
JM
46203 [BZ #369]
46204 [BZ #2678]
46205 [BZ #3866]
46206 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46207 x for large integer exponent.
46208 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46209 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46210 sign of result as needed afterwards.
46211 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46212 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46213 result for underflowing pow the same as for overflow.
46214 (__kernel_standard_l): Handle powl overflow and underflow here
46215 rather than calling __kernel_standard.
46216 * math/libm-test.inc (pow_test): Add more tests.
46217
414fca03 46218 [BZ #3868]
41bf21a1
JM
46219 [BZ #13879]
46220 [BZ #13910]
46221 [BZ #13911]
46222 [BZ #13912]
46223 [BZ #13913]
46224 [BZ #13915]
46225 [BZ #13916]
46226 [BZ #13917]
46227 [BZ #13918]
46228 [BZ #13919]
46229 [BZ #13920]
46230 [BZ #13921]
46231 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46232 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46233 (__kernel_standard_l): New function.
46234 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46235 __kernel_standard.
46236 * math/w_acosl.c (__acosl): Likewise.
46237 * math/w_asinl.c (__asinl): Likewise.
46238 * math/w_atan2l.c (__atan2l): Likewise.
46239 * math/w_atanhl.c (__atanhl): Likewise.
46240 * math/w_coshl.c (__coshl): Likewise.
46241 * math/w_exp10l.c (__exp10l): Likewise.
46242 * math/w_exp2l.c (__exp2l): Likewise.
46243 * math/w_fmodl.c (__fmodl): Likewise.
46244 * math/w_hypotl.c (__hypotl): Likewise.
46245 * math/w_j0l.c (__j0l, __y0l): Likewise.
46246 * math/w_j1l.c (__j1l, __y1l): Likewise.
46247 * math/w_jnl.c (__jnl, __ynl): Likewise.
46248 * math/w_lgammal.c (__lgammal): Likewise.
46249 * math/w_log10l.c (__log10l): Likewise.
46250 * math/w_log2l.c (__log2l): Likewise.
46251 * math/w_logl.c (__logl): Likewise.
46252 * math/w_powl.c (__powl): Likewise.
46253 * math/w_remainderl.c (__remainderl): Likewise.
46254 * math/w_scalbl.c (sysv_scalbl): Likewise.
46255 * math/w_sinhl.c (__sinhl): Likewise.
46256 * math/w_sqrtl.c (__sqrtl): Likewise.
46257 * math/w_tgammal.c (__tgammal): Likewise.
46258 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46259 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46260 * math/libm-test.inc (acos_test): Add more tests.
46261 (acosh_test): Likewise.
46262 (asin_test): Likewise.
46263 (atanh_test): Likewise.
46264 (exp_test): Likewise.
46265 (exp10_test): Likewise.
46266 (exp2_test): Likewise.
46267 (expm1_test): Likewise.
46268 (lgamma_test): Likewise.
46269 (log_test): Likewise.
46270 (log10_test): Likewise.
46271 (log1p_test): Likewise.
46272 (log2_test): Likewise.
46273 (pow_test): Do not allow some spurious overflow exceptions.
46274 (sqrt_test): Add more tests.
46275 (tgamma_test): Likewise.
46276 (y0_test): Likewise.
46277 (y1_test): Likewise.
46278 (yn_test): Likewise.
46279
dd62fda6
AB
462802012-03-27 Anton Blanchard <anton@samba.org>
46281
46282 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46283 MAP_HUGETLB.
46284 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46285 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46286 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46287
1e3cdfda
AJ
462882012-03-27 David S. Miller <davem@davemloft.net>
46289
b855ab85
DM
46290 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46291
1e3cdfda
AJ
46292 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46293 have-as-vis3 check.
46294
462952012-03-27 Andreas Jaeger <aj@suse.de>
46296
46297 * sysdeps/x86_64/elf/configure.in: Moved to ...
46298 * sysdeps/x86_64/configure.in: ... here.
46299 * sysdeps/x86_64/elf/start.S: Moved to ...
46300 * sysdeps/x86_64/start.S: ... here.
46301 * sysdeps/x86_64/elf/configure: Delete.
46302
46303 * sysdeps/x86_64/configure.in: Merge contents from
46304 sysdeps/i386/configure.in (without i686 check).
46305
46306 * sysdeps/i386/elf/Versions: Merge into ...
46307 * sysdeps/i386/Versions: ... this.
46308 * sysdeps/i386/elf/Versions: Delete file.
46309 * sysdeps/i386/elf/start.S: Moved to ...
46310 * sysdeps/i386/start.S: ...here.
46311 * sysdeps/i386/elf/configure.in: Merge into...
46312 * sysdeps/i386/configure.in: ...here.
46313 * sysdeps/i386/elf/configure.in: Delete file.
46314 * sysdeps/i386/elf/configure: Delete file.
46315
46316 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46317 * debug/backtracesyms.c: ... here.
46318 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46319 * debug/backtracesymsfd.c: ... here.
46320 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46321 * sysdeps/generic/ifunc-sel.h: ... here.
46322
46323 * sysdeps/unix/i386/start.c: Delete file.
46324 * sysdeps/unix/sparc/start.c: Delete file.
46325 * sysdeps/unix/start.c: Delete file.
46326
46327 * sysdeps/sh/elf/configure.in: Moved to ...
46328 * sysdeps/sh/configure.in: ... here.
46329 * sysdeps/sh/elf/start.S: Moved to ...
46330 * sysdeps/sh/start.S: ... here.
46331 * sysdeps/sh/elf/configure: Delete file.
46332
46333 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46334 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46335 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46336 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46337 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46338 * sysdeps/powerpc/powerpc64/start.S: here.
46339 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46340 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46341 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46342 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46343 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46344
46345 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46346 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46347 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46348 * sysdeps/powerpc/powerpc32/start.S: ... here.
46349 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46350 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46351 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46352
46353 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46354 * sysdeps/powerpc/ifunc-sel.h: ... here.
46355 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46356 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46357
46358 * sysdeps/sparc/elf/configure.in: Moved to ...
46359 * sysdeps/sparc/configure.in: ... here.
46360 * sysdeps/sparc/elf/configure: Delete file.
46361 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46362 * sysdeps/sparc/sparc32/start.S: ... here.
46363 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46364 * sysdeps/sparc/sparc64/start.S: ... here.
46365 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46366 * sysdeps/sparc/sparc32/Makefile: ... this.
46367 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46368 * sysdeps/sparc/sparc64/Makefile: ... this.
46369
46370 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46371 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46372 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46373 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46374 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46375 * sysdeps/s390/s390-32/setjmp.S: ... here.
46376 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46377 * sysdeps/s390/s390-32/configure.in: ... here.
46378 * sysdeps/s390/s390-32/elf/configure: Delete file.
46379 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46380 * sysdeps/s390/s390-32/start.S: ... here.
46381
46382 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46383 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46384 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46385 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46386 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46387 * sysdeps/s390/s390-64/setjmp.S: ... here.
46388 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46389 * sysdeps/s390/s390-64/configure.in: ... here
46390 * sysdeps/s390/s390-64/elf/configure: Delete file.
46391 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46392 * sysdeps/s390/s390-64/start.S: ... here.
46393 * sysdeps/s390/s390-64/elf/configure: Delete.
46394
46395 * configure.in: Remove support for elf directories in sysdeps.
46396
46397 * configure: Regenerated.
46398 * sysdeps/i386/configure: Regenerated.
46399 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46400 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46401 * sysdeps/s390/s390-32/configure: Regenerated.
46402 * sysdeps/s390/s390-64/configure: Regenerated.
46403 * sysdeps/sh/configure: Regenerated.
46404 * sysdeps/sparc/configure: Regenerated.
46405 * sysdeps/x86_64/configure: Regenerated.
46406
a3f61311
AS
464072012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46408
c876e002
AS
46409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46410
a3f61311
AS
46411 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46412 denormal result into account.
46413
ac4c54f0
RM
464142012-03-25 Roland McGrath <roland@hack.frob.com>
46415
46416 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46417 Reported by Allan McRae <allan@archlinux.org>.
46418
6a9b9c02
JL
464192012-03-23 Jeff Law <law@redhat.com>
46420
46421 * nss/getnssent.c (__nss_getent): Fix typo.
46422
4c42a0c1
DM
464232012-03-23 David S. Miller <davem@davemloft.net>
46424
46425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46426
1532c7ac
L
464272012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46428
46429 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46430 to pad to uint64_t for each field.
46431 (dl_tls_index): Replace unsigned long with uint64_t.
46432
3ff42526
PP
464332012-03-23 Daniel Jacobowitz <dmj@google.com>
46434 Paul Pluzhnikov <ppluzhnikov@google.com>
46435
46436 [BZ #6528]
46437 * grp/Makefile (otherlibs): Don't set it.
46438 * inet/Makefile (otherlibs): Likewise.
46439 * login/Makefile (otherlibs): Likewise.
46440 * nscd/Makefile (otherlibs): Likewise.
46441 * posix/Makefile (otherlibs): Likewise.
46442 * pwd/Makefile (otherlibs): Likewise.
46443 * rt/Makefile (otherlibs): Likewise.
46444 * sunrpc/Makefile (otherlibs): Likewise.
46445 * nss/Makefile (otherlibs): Likewise.
46446 Add libnss_files to routines and static-only-routines.
46447 ($(objpfx)getent): Remove rule.
46448 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46449 static-only-routines.
46450
7c69cd14
JM
464512012-03-22 Joseph Myers <joseph@codesourcery.com>
46452
46453 [BZ #13892]
46454 * math/s_cexp.c: Include <float.h>.
46455 (__cexp): Handle exp result overflowing not necessarily
46456 overflowing both real and imaginary parts of result.
46457 * math/s_cexpf.c: Likewise.
46458 * math/s_cexpl.c: Likewise.
46459 * math/libm-test.inc (cexp_test): Add more tests.
46460 * sysdeps/i386/fpu/libm-test-ulps: Update.
46461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46462
81b035fe
L
464632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46464
46465 * include/link.h (ELFW): New macro.
46466 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46467 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46468
1da7940c
L
464692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46470
46471 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46472 with uint64_t.
46473
b749dbb9
L
464742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46475
46476 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46477 declaration.
46478 (struct La_x32_retval): Likewise.
46479
2ff87f3f
L
464802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46481
46482 * sysdeps/x86_64/preconfigure.in: New file.
46483 * sysdeps/x86_64/preconfigure: New generated file.
46484
c0df8e69
JM
464852012-03-22 Joseph Myers <joseph@codesourcery.com>
46486
48e44791
JM
46487 [BZ #13824]
46488 * math/e_exp2l.c: Include <float.h>.
46489 (__ieee754_exp2l): Handle overflow and underflow cases
46490 separately. Only pass fractional part of argument to
46491 __ieee754_expl.
46492 * math/libm-test.inc (exp2_test): Add more tests.
46493
c0df8e69
JM
46494 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46495 negating x to take absolute value.
46496 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46497 Likewise.
46498 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46499 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46500 Likewise.
46501 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46502 computing low part if x was negated.
46503 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46504
c8e43ba7
L
465052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46506
46507 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46508 la_x32_gnu_pltexit.
46509 (pltexit): Cast int_retval to ptrdiff_t.
46510 * elf/tst-auditmod3b.c: Likewise.
46511 * elf/tst-auditmod4b.c: Likewise.
46512 * elf/tst-auditmod5b.c: Likewise.
46513 * elf/tst-auditmod6b.c: Likewise.
46514 * elf/tst-auditmod6c.c: Likewise.
46515 * elf/tst-auditmod7b.c: Likewise.
46516
46517 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46518 and x32_gnu_pltexit.
46519
46520 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46521 __ELF_NATIVE_CLASS.
46522 (La_x32_regs): New macro.
46523 (La_x32_retval): Likewise.
46524 (la_x32_gnu_pltenter): New function prototype.
46525 (la_x32_gnu_pltexit): Likewise.
46526
7998fa78
AS
465272012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46528
dcb33988
AS
46529 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46530 exponent.
46531
233fc563
AS
46532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46533
7998fa78
AS
46534 * configure.in (libc_cv_cc_nofma): Check for option to disable
46535 generation of FMA instructions.
46536 * configure: Regenerate.
46537 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46538 * sysdeps/ieee754/dbl-64/Makefile: New file.
46539 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46540 Remove brandred-fma4.
46541 (CFLAGS-brandred-fma4.c): Remove.
46542 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46543 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46544 define.
46545 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46546 define.
46547
8e95c99a
L
465482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46549
46550 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46551 LLONG_MAX != LONG_MAX.
46552 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46553 (_fitoa_word): Likewise.
46554 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46555 LLONG_MAX != LONG_MAX.
46556 * stdio-common/_itowa.h: Include <_itoa.h>.
46557 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46558 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46559 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46560 only if not defined.
46561 (_ITOA_WORD_TYPE): Likewise.
46562 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46563 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46564
6f4db457
DM
465652012-03-21 David S. Miller <davem@davemloft.net>
46566
46567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46568
7785fe5a
L
465692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46570
46571 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46572 of x86_64 when setting libc_cv_slibdir, libdir and
46573 libc_cv_localedir.
46574 * sysdeps/unix/sysv/linux/configure: Regenerated.
46575
4535cd55
JM
465762012-03-21 Joseph Myers <joseph@codesourcery.com>
46577
46578 * manual/lang.texi (Old Varargs): Remove section.
46579 (How Variadic): Update menu.
46580 (va_start): Do not mention varargs.h.
46581
17228132
TS
465822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46583 Joseph Myers <joseph@codesourcery.com>
46584
46585 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46586 link test.
46587 * configure: Regenerated.
46588
8149f976
TS
465892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46590
05f3d1f6
UD
46591 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46592 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46593 conformtest.pl
8149f976 46594
1a4ac776
JM
465952012-03-21 Joseph Myers <joseph@codesourcery.com>
46596
be22ce65
JM
46597 * NOTES: Remove.
46598 * Makefile (files-for-dist): Remove NOTES.
46599 (NOTES): Remove rule.
46600 * README: Don't refer to NOTES.
46601 * manual/creature.texi: Don't include macros.texi.
46602 * manual/intro.texi (creature.texi): Remove comment referring to
46603 NOTES.
46604
40b601fb
JM
46605 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46606 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46607 * configure: Regenerated.
46608 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46609 LIBC_TRY_CC_OPTION.
46610 (libc_cv_as_i686): Likewise.
46611 (libc_cv_cc_avx): Likewise.
46612 (libc_cv_cc_sse2avx): Likewise.
46613 (libc_cv_cc_fma4): Likewise.
46614 (libc_cv_cc_novzeroupper): Likewise.
46615 * sysdeps/i386/configure: Regenerated.
46616
1a4ac776
JM
46617 [BZ #13883]
46618 * sysdeps/i386/fpu/s_cexp.S: Remove.
46619 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46620 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46621 * math/libm-test.inc (cexp_test): Add more tests.
46622 * sysdeps/i386/fpu/libm-test-ulps: Update.
46623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46624
a458e7fe
AM
466252012-03-21 Allan McRae <allan@archlinux.org>
46626
46627 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46628
0cb7efc5
JM
466292012-03-21 Joseph Myers <joseph@codesourcery.com>
46630
46631 [BZ #13871]
46632 * math/w_exp2.c: Do not include <float.h>.
46633 (o_threshold, u_threshold): Remove.
46634 (__exp2): Calculate result before checking finiteness and calling
46635 __kernel_standard.
46636 * math/w_exp2f.c: Likewise.
46637 * math/w_exp2l.c: Likewise.
46638 * math/libm-test.inc (exp2_test): Require overflow exception for
46639 1e6 input.
2460d3aa
JM
46640
46641 [BZ #3866]
46642 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46643 range of signed 64-bit integers before using fistpll. Remove
46644 checks for whether integers fit in mantissa bits.
46645 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46646 the range of signed 32-bit integers before using fistpl. Remove
46647 checks for whether integers fit in mantissa bits.
46648 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46649 (__ieee754_powl): Test for y outside the range of signed 64-bit
46650 integers before using fistpll. Reduce 64-bit values to 63-bit
46651 ones as needed.
46652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46653 divide-by-zero is raised for zero to large negative powers.
46654 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46655 (__ieee754_powl): Test for y outside the range of signed 64-bit
46656 integers before using fistpll. Reduce 64-bit values to 63-bit
46657 ones as needed.
46658 * math/libm-test.inc (pow_test): Add more tests.
46659
eb96ffb0
L
466602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46661
46662 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46663 <stdio-common/_itoa.h>.
46664 * debug/segfault.c: Likewise.
46665 * elf/dl-cache.c: Likewise.
46666 * elf/dl-minimal.c: Likewise.
46667 * elf/dl-misc.c: Likewise.
46668 * elf/dl-sysdep.c: Likewise.
46669 * elf/dl-version.c: Likewise.
46670 * elf/rtld.c: Likewise.
46671 * hurd/hurdsock.c: Likewise.
46672 * hurd/lookup-retry.c: Likewise.
46673 * malloc/malloc.c: Likewise.
46674 * malloc/mtrace.c: Likewise.
46675 * nscd/nscd_getgr_r.c: Likewise.
46676 * nscd/nscd_getpw_r.c: Likewise.
46677 * nscd/nscd_getserv_r.c: Likewise.
46678 * posix/getopt_init.c: Likewise.
46679 * posix/wordexp.c: Likewise.
46680 * stdio-common/_itoa.c: Likewise.
46681 * stdio-common/printf_fphex.c: Likewise.
46682 * stdio-common/vfprintf.c: Likewise.
46683 * string/_strerror.c: Likewise.
46684 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46685 * sysdeps/i386/i686/hp-timing.h: Likewise.
46686 * sysdeps/mach/_strerror.c: Likewise.
46687 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46688 * sysdeps/mach/hurd/sethostid.c: Likewise.
46689 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46690 * sysdeps/mach/xpg-strerror.c: Likewise.
46691 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46692 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46693 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46694 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46695 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46696 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46697 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46698 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46699 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46700 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46701 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46702 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46703 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46704 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46705 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46706 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46707 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46708 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46709 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46710 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46711 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46712
46713 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46714
46715 * stdio-common/_itoa.h: Moved to ...
46716 * sysdeps/generic/_itoa.h: Here.
46717
46718 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46719
46720 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46721 instead of "_itoa.h" and "_itowa.h".
46722 * stdio-common/vfprintf.: Likewise.
46723
d1af992d
L
467242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46725
46726 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46727 <bits/wordsize.h>.
46728 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46729 (__signbit): Likwise.
46730 (llrintf): Likwise.
46731 (llrint): Likwise.
46732
114883e0
L
467332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46734
46735 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46736 __WORDSIZE != 64.
46737
c135cc1b
JM
467382012-03-20 Joseph Myers <joseph@codesourcery.com>
46739
46740 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46741 OVERFLOW_EXCEPTION_OK.
46742 * math/libm-test.inc ("Philosophy"): Update comment about
46743 exception testing.
46744 (OVERFLOW_EXCEPTION): Define.
46745 (OVERFLOW_EXCEPTION_OK): Likewise.
46746 (INVALID_EXCEPTION_OK): Renumber.
46747 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46748 (IGNORE_ZERO_INF_SIGN): Likewise.
46749 (test_exceptions): Handle FE_OVERFLOW.
46750 (exp10_test): Expect overflow exceptions.
46751 (exp2_test): Likewise.
46752 (expm1_test): Likewise.
46753 (nextafter_test): Likewise.
46754 (pow_test): Likewise.
46755 (scalbn_test): Likewise.
46756 (scalbln_test): Likewise.
46757
95443d88
L
467582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46759
46760 * sysdeps/x86_64/bits/atomic.h
46761 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46762 64bit integer.
46763 (atomic_exchange_acq): Likewise.
46764 (__arch_exchange_and_add_body): Likewise.
46765 (__arch_add_body): Likewise.
46766 (atomic_add_negative): Likewise.
46767 (atomic_add_zero): Likewise.
46768
490df6c4
L
467692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46770
c2722551 46771 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46772 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46773
5e52b189
L
467742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46775
46776 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46777 Check __x86_64__ instead of __WORDSIZE.
46778
a9879d4c
L
467792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46780
46781 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46782
5df98260
DM
467832012-03-19 David S. Miller <davem@davemloft.net>
46784
e1497744
DM
46785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46786
5df98260
DM
46787 * sysdeps/sparc/fpu/fenv_private.h: New file.
46788 * sysdeps/sparc/fpu/math_private.h: Use it.
46789 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46790 Remove.
57f41c40 46791 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46792 (libc_feholdexcept_setroundl): Remove.
46793 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46794 Remove.
46795 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46796 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46797
b4c35121
L
467982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46799
46800 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46801 int64_t instead of long int.
46802 (INSERT_WORDS64): Likwise.
46803
56965fd7
L
468042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46805
46806 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46807 _Unwind_GetCFA return to _Unwind_Ptr first.
46808
83d1aec8
JM
468092012-03-19 Joseph Myers <joseph@codesourcery.com>
46810
1897ad44
JM
46811 [BZ #13629]
46812 * math/s_clog.c: Include <float.h>.
46813 (__clog): Scale large or subnormal inputs.
46814 * math/s_clogf.c: Likewise.
46815 * math/s_clogl.c: Likewise.
46816 * math/s_clog10.c: Include <float.h>.
46817 (M_LOG10_2): Define.
46818 (__clog10): Scale large or subnormal inputs.
46819 * math/s_clog10f.c: Likewise.
46820 * math/s_clog10l.c: Likewise.
46821 * math/libm-test.inc (clog_test): Add more tests.
46822 (clog10_test): Likewise.
46823 * sysdeps/i386/fpu/libm-test-ulps: Update.
46824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46825
7726d6a9
JM
46826 [BZ #11451]
46827 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46828 x and y.
46829 * math/libm-test.inc (atan2_test): Add another test.
46830
83d1aec8
JM
46831 * Makerules (common-objdir-compile): Remove.
46832 * sysdeps/unix/Makefile (config-generated): Do not add
46833 $(unix-generated) to variable.
46834 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46835 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46836 Remove rule.
46837 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46838 Likewise.
46839 [generic bits/local_lim.h] (before-compile): Do not append to
46840 variable.
46841 [generic bits/local_lim.h] (common-generated): Likewise.
46842 [generic sys/param.h] (before-compile): Do not append to variable.
46843 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46844 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46845 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46846 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46847 include.
46848 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46849 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46850 [generic sys/param.h] ($(addprefix
46851 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46852 [generic sys/param.h] (common-generated): Do not append to
46853 variable.
46854 [generic sys/param.h] (sysdep_headers): Likewise.
46855 [generic bits/errno.h] (before-compile): Do not append to
46856 variable.
46857 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46858 rule.
46859 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46860 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46861 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46862 [generic bits/errno.h] (common-generated): Do not append to
46863 variable.
46864 [generic bits/ioctls.h] (before-compile): Do not append to
46865 variable.
46866 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46867 rule.
46868 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46869 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46870 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46871 rule.
46872 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46873 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46874 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46875 [generic bits/ioctls.h] (common-generated): Do not append to
46876 variable.
46877 [generic sys/syscall.h] (syscall.h): Remove variable.
46878 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46879 rule.
46880 [generic sys/syscall.h] (before-compile): Do not append to
46881 variable.
46882 [generic sys/syscall.h] (common-generated): Likewise.
46883 * sysdeps/unix/errnos-tmpl.c: Remove file.
46884 * sysdeps/unix/errnos.awk: Likewise.
46885 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46886 * sysdeps/unix/ioctls.awk: Likewise.
46887 * sysdeps/unix/mk-local_lim.c: Likewise.
46888 * sysdeps/unix/snarf-ioctls: Likewise.
46889
4851a949
RH
468902012-03-19 Richard Henderson <rth@twiddle.net>
46891
bd37f2ee
RH
46892 * sysdeps/i386/fpu/fenv_private.h: New file.
46893 * sysdeps/i386/fpu/math_private.h: Use it.
46894 (math_opt_barrier, math_force_eval): Remove.
46895 (libc_feholdexcept_setround_53bit): Remove.
46896 (libc_feupdateenv_53bit): Remove.
46897 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46898 (math_opt_barrier, math_force_eval): Remove.
46899 (libc_feholdexcept): Remove.
46900 (libc_feholdexcept_setround): Remove.
46901 (libc_fetestexcept, libc_fesetenv): Remove.
46902 (libc_feupdateenv_test): Remove.
46903 (libc_feupdateenv, libc_feholdsetround): Remove.
46904 (libc_feresetround): Remove.
46905
d0adc922
RH
46906 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46907 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46908
0fe0f1f8
RH
46909 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46910 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46911 (libc_feupdateenv_testl): New.
46912 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46913 (libc_feupdateenv_testf): New.
46914 (libc_feupdateenv): Use libc_feupdateenv_test.
46915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46916 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46917
eb92c487
RH
46918 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46919 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46920 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46921 (libc_feresetround_noex): New.
46922 (libc_feresetround_noexf): New.
46923 (libc_feresetround_noexl): New.
46924 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46925 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46926 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46927 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46928 SET_RESTORE_ROUND.
46929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46930 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46931 (__cos): Likewise.
46932 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46933 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46934 SET_RESTORE_ROUND_NOEX.
46935 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46936 SET_RESTORE_ROUND_NOEXF.
46937 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46938 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46939 (libc_feholdsetroundf): New.
46940 (libc_feresetround, libc_feresetroundf): New.
46941
7d2e8012
RH
46942 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46943 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46944 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46945
b4dabbb4
RH
46946 * sysdeps/generic/math_private.h: Include <fenv.h>.
46947 (default_libc_feholdexcept): New.
46948 (default_libc_feholdexcept_setround): New.
46949 (default_libc_fesetenv, default_libc_feupdateenv): New.
46950 (libc_feholdexcept): Only define if undefined.
46951 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46952 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46953 (libc_feholdexcept_setroundl): Likewise.
46954 (libc_feholdexcept_setround_53bit): Likewise.
46955 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46956 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46957 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46958 (libc_feupdateenv_53bit): Likewise.
46959 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46960 (libc_feholdexcept): Convert from macro to inline function.
46961 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46962 (libc_fesetenv, libc_feupdateenv): Likewise.
46963
4851a949
RH
46964 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46965 not previously defined.
46966 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46967 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46968 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46969 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46970 * sysdeps/ieee754/flt-32/math_private.h: New file.
46971 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46972 math_private.h below SET_FLOAT_WORD.
46973 (__isnan, __isinf_ns, __finite): Remove.
46974 (__isnanf, __isinf_nsf, __finitef): Remove.
46975
e79d442e
AS
469762012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46977
46978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46979
90b80344
DM
469802012-03-17 David S. Miller <davem@davemloft.net>
46981
46982 [BZ #6471]
46983 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46984 for 2.16.
46985
edc21804
DM
469862012-03-16 David S. Miller <davem@davemloft.net>
46987
77e927af
DM
46988 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46989 warnings.
46990
374976dd
DM
46991 [BZ #6471]
46992 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46993 properly.
46994 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46995 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46996 sysdep_routines when subdir is sysvipc.
46997 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46998 __getshmlba helper.
46999
edc21804
DM
47000 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47001
473c3ef3
L
470022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47003
47004 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47005 [__LP64__].
47006
eb0f39b6
L
470072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47008
47009 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47010 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47011 (__lround): Renamed to ...
47012 (__llround): This. Replace long int with long long int.
47013 Define lround functions as aliases of llround functions.
47014 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47015
6b6cd74b
L
470162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47017
47018 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47019 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47020 adresses to uintptr_t. Replace "long int" and "unsigned long
47021 int" with "greg_t" on va_arg.
47022
f1a77b01
L
470232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47024
47025 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47026 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47027
47028 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47029 Move e_machine check before EI_CLASS check. Handle x32
47030 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47031 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47032 SKIP_EM_IA_64 and include
47033 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47034
47035 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47036 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47037 (add_system_dir): New macro.
47038
47039 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47040 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47041
11b90b9f
JM
470422012-03-16 Joseph Myers <joseph@codesourcery.com>
47043
c36e1d23
JM
47044 [BZ #2551]
47045 [BZ #2552]
47046 [BZ #2553]
47047 [BZ #2554]
47048 [BZ #2562]
47049 [BZ #2563]
47050 [BZ #2565]
47051 [BZ #2566]
47052 [BZ #2576]
47053 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47054 (y0): Likewise.
47055 * math/w_j0f.c (j0f): Likewise.
47056 (y0f): Likewise.
47057 * math/w_j0l.c (__j0l): Likewise.
47058 (__y0l): Likewise.
47059 * math/w_j1.c (j1): Likewise.
47060 (y1): Likewise.
47061 * math/w_j1f.c (j1f): Likewise.
47062 (y1f): Likewise.
47063 * math/w_j1l.c (__j1l): Likewise.
47064 (__y1l): Likewise.
47065 * math/w_jn.c (jn): Likewise.
47066 (yn): Likewise.
47067 * math/w_jnf.c (jnf): Likewise.
47068 (ynf): Likewise.
47069 * math/w_jnl.c (__jnl): Likewise.
47070 (__ynl): Likewise.
47071 * math/libm-test.inc (j0_test): Add more tests.
47072 (j1_test): Likewise.
47073 (jn_test): Likewise. Add trailing semicolon to existing test.
47074 (y0_test): Likewise.
47075 (y1_test): Likewise.
47076 * sysdeps/i386/fpu/libm-test-ulps: Update.
47077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47078
11b90b9f
JM
47079 [BZ #13851]
47080 [BZ #13854]
47081 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47082 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47083 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47085 (__tanl): Set errno for infinite argument.
47086 * sysdeps/i386/fpu/mptan.c: Remove.
47087 * sysdeps/i386/fpu/s_tan.S: Likewise.
47088 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47089 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47090 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47091 * math/libm-test.inc (tan_test): Add more tests and enable more
47092 tests for double and long double.
47093 * sysdeps/i386/fpu/libm-test-ulps: Update.
47094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47095
6a1bd2a1
JK
470962012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47097
47098 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47099 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47100
10a803e0
RM
471012012-03-16 Roland McGrath <roland@hack.frob.com>
47102
47103 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47104 * configure.in: Use it for both main tree and add-ons.
47105 * configure: Regenerated.
47106
f196c7f7
L
471072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47108
47109 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47110
8848d99d
JM
471112012-03-16 Joseph Myers <joseph@codesourcery.com>
47112
96cbe7f4
JM
47113 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47114 in comment.
47115
8848d99d
JM
47116 [BZ #13851]
47117 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47118 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47119 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47120 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47121 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47122 infinite argument.
47123 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47125 != 0 for prec == 2.
47126 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47127 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47128 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47129 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47130 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47131 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47132 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47133 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47134 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47135 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47136 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47137 * math/libm-test.inc (cos_test): Add more tests and enable more
47138 tests for long double.
47139 (sin_test): Likewise.
47140 (sincos_test): Likewise.
47141 * sysdeps/i386/fpu/libm-test-ulps: Update.
47142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47143
dd7f4703
DM
471442012-03-16 David S. Miller <davem@davemloft.net>
47145
47146 * sysdeps/sparc/fpu/math_private.h: New file.
47147
006f1daa
DM
471482012-03-15 David S. Miller <davem@davemloft.net>
47149
c0c83bc8
DM
47150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47151 file.
e6a62e18 47152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47154 file.
e6a62e18
DM
47155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47160 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47161 sysdep routines.
47162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47163
88cb87d9
DM
47164 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47165 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47166
006f1daa 47167 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47169 sparc-ifunc.h
006f1daa 47170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47172 Likewise.
47173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47174 Likewise.
006f1daa
DM
47175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47179 Likewise.
006f1daa
DM
47180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47185 Likewise.
47186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47187 Likewise.
006f1daa
DM
47188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47194 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47206 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47207 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47208 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47210 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47211 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47212
11e0098e
AS
472132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47214
47215 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47216 scaling.
47217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47218
e85b09d0
AJ
472192012-03-15 Andreas Jaeger <aj@suse.de>
47220
47221 [BZ #13852]
47222 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47223 ieee754/flt-32 implementation for sin, cos and sincos.
47224 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47225 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47226 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47227 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47228 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47229 ieee754/flt-32 implementation for tan.
47230
47231 * math/libm-test.inc (cos_test): Enable some large input tests for
47232 float as well
47233 (sin_test): Likewise.
47234 (sincos_test): Likewise.
47235 (tan_test): Add tests for large input.
47236
47237 * sysdeps/i386/fpu/libm-test-ulps: Update.
47238
81c64153
AJ
472392012-03-15 Andreas Jaeger <aj@suse.de>
47240
47241 [BZ #13658]
47242 * math/libm-test.inc (cos_test): Add more test cases.
47243 (sin_test): Likewise.
47244 (sincos_test): Likewise.
47245
7bbfa5c6
AJ
472462012-03-15 Andreas Jaeger <aj@suse.de>
47247
47248 [BZ #13837]
47249 * math/libm-test.inc (cos_test): Add a test case for large input
47250 value.
47251 (sin_test): Likewise.
47252 (sincos_test): Likewise.
47253
57f41c40
AS
472542012-03-15 Andreas Jaeger <aj@suse.de>
47255 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47256
47257 [BZ #13658]
0671f479 47258 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47259 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47260 * sysdeps/i386/fpu/branred.c: Likewise.
47261 * sysdeps/i386/fpu/dosincos.c: Likewise.
47262 * sysdeps/i386/fpu/mpa.c: Likewise.
47263 * sysdeps/i386/fpu/s_cos.S: Likewise.
47264 * sysdeps/i386/fpu/s_sin.S: Likewise.
47265 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47266 * sysdeps/i386/fpu/sincos32.c: Likewise.
47267
47268 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47269 Define.
47270 (libc_feupdateenv_53bit): Define.
47271 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47272 Define.
47273 (libc_feupdateenv_53bit): Define.
47274
47275 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47276 53 bit (without extend i386 double precision).
47277
47278 * math/libm-test.inc (sincos_test): Add tests for large input.
47279 (sin): Likewise.
47280 (cos): Likewise.
47281
47282 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47283
9cad04ea
AS
472842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47285
47286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47287
f7062b9a
DM
472882012-03-15 David S. Miller <davem@davemloft.net>
47289
47290 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47291 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47292 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47293 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47306 file.
f7062b9a 47307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47309 file.
f7062b9a 47310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47312 file.
f7062b9a 47313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47315 file.
f7062b9a
DM
47316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47318 fmin/fmax sysdep routines.
47319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47320
7bd951ff
DM
473212012-03-14 David S. Miller <davem@davemloft.net>
47322
559398ab
DM
47323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47327 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47330 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47343 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47345 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47347 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47352 routines.
47353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47354 file.
559398ab 47355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47357 file.
559398ab 47358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47360 file.
559398ab 47361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47363 file.
559398ab 47364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47366 file.
559398ab 47367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47369 file.
47370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47371 file.
47372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47373 file.
47374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47375 file.
47376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47377 New file.
47378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47379 file.
47380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47381 file.
559398ab 47382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47384 file.
559398ab 47385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47387 file.
559398ab 47388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47390 file.
559398ab 47391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47393 VIS3 routines.
559398ab
DM
47394
47395 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47396 New file.
47397
5a1c1e32
DM
47398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47399
eae47a36
DM
47400 * sysdeps/sparc/configure.in: New file.
47401 * sysdeps/sparc/configure: Generate.
47402 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47403 * configure: Regenerate.
47404 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47405 * config.make.in (have-as-vis3): New.
47406 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47407 available use -Av9d instead of -Av9a.
47408 * sysdeps/sparc/sparc64/Makefile: Likewise.
47409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47411 New file.
47412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47413 file.
47414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47415 New file.
47416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47417 file.
eae47a36
DM
47418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47423
c0c83bc8
DM
47424 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47425 fzeros/fnegs to load 0x80000000 into a float register instead of
47426 using the stack.
7bd951ff
DM
47427 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47428
bd951ccb
JM
474292012-03-14 Joseph Myers <joseph@codesourcery.com>
47430
47431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47432 bits/syscall.h.
47433 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47434 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47435 ($(inst_includedir)/bits/syscall.h): Remove rule.
47436 ($(objpfx)bits/syscall.d): Include instead of
47437 $(objpfx)syscall-list.d.
47438 (generated): Change syscall-list.h and syscall-list.d to
47439 bits/syscall.h and bits/syscall.d.
47440
bb4e6db2
RM
474412012-03-14 Roland McGrath <roland@hack.frob.com>
47442
47443 [BZ #13846]
47444 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47445
aa4a2ae1
JM
474462012-03-14 Joseph Myers <joseph@codesourcery.com>
47447
e456826d
JM
47448 [BZ #13841]
47449 * math/s_csqrt.c: Include <float.h>.
47450 (__csqrt): Scale large or subnormal inputs.
47451 * math/s_csqrtf.c: Likewise.
47452 * math/s_csqrtl.c: Likewise.
47453 * math/libm-test.inc (csqrt_test): Add more tests.
47454 * sysdeps/i386/fpu/libm-test-ulps: Update.
47455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47456
aa4a2ae1
JM
47457 [BZ #13840]
47458 * math/libm-test.inc (hypot_test): Add more tests.
47459
7c10fd35
DM
474602012-03-13 David S. Miller <davem@davemloft.net>
47461
47462 [BZ #13840]
47463 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47464 double-precision for the calculation instead of scaling.
47465
f453b98b
JM
474662012-03-13 Joseph Myers <joseph@codesourcery.com>
47467
47468 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47469 manipulate bits before adding and subtracting TWO52[sx].
47470 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47471 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47472 Likewise.
47473 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47474
09a3453f
DM
474752012-03-13 David S. Miller <davem@davemloft.net>
47476
8e59da90
DM
47477 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47478 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47480 rtld-global-offsets.h
47481 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47482
2a8ab7f2
DM
47483 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47484 large parameters.
47485
10f62770
DM
47486 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47487
5f0bdb18
DM
47488 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47489 'err' in the ifdef scope in which it is actually used.
47490
09a3453f
DM
47491 * nss/nss_db/db-init.c: Include string.h
47492
b4b2eb5e
DM
474932012-03-12 David S. Miller <davem@davemloft.net>
47494
98bb2f1c
DM
47495 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47496 masking out of the most significant byte of random value used.
47497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47498 Fix coding style in previous change.
47499
b4b2eb5e
DM
47500 * sysdeps/unix/sysv/linux/kernel-features.h
47501 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47502 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47503 expression.
47504 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47505 later.
47506
6e226b09
DM
475072012-03-11 David S. Miller <davem@davemloft.net>
47508
a1bcbd40
DM
47509 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47510 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47512 for 'resultvar' otherwise things get truncated on 64-bit.
47513
cb9d6174
DM
47514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47515 Fix masking out of the most significant byte of random value used.
47516
6e226b09
DM
47517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47518
058c132d
AS
475192012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47520
47521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47522
2d2cd515
DM
475232012-03-09 David S. Miller <davem@davemloft.net>
47524
47525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47526 variables with appropriate CPP guards.
57f41c40
AS
47527 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47528 from the frame pointer, not the stack pointer. Correct layout
47529 comments. Fix test on resulting framesize and the management of
47530 the outregs buffer for pltexit. Preserve floating point return
47531 values across _dl_call_pltexit call.
2d2cd515
DM
47532 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47533 framesize and the management of the outregs buffer for pltexit.
47534 Preserve floating point return values across _dl_call_pltexit
47535 call.
57f41c40
AS
47536 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47537 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47538 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47539 (print_exit): Fix format string for return register value.
47540
9a07f9d0
JM
475412012-03-10 Joseph Myers <joseph@codesourcery.com>
47542
47543 * sunrpc/Makefile (others): Add rpcgen.
47544 ($(objpfx)rpcgen): Remove special build rule and dependency on
47545 libc.
47546 * sunrpc/rpcgen.c: New file.
47547
547b5e30
PE
475482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47549
c524201a
PE
47550 [BZ #13673]
47551 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47552 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47553 * sysdeps/i386/crti.S: Likewise.
47554 * sysdeps/i386/crtn.S: Likewise.
47555 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47556 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47557 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47558 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47559 * sysdeps/sh/crti.S: Likewise.
47560 * sysdeps/sh/crtn.S: Likewise.
47561 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47562
7b6235f2
PE
47563 [BZ #13673]
47564 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47565 with URL.
47566 * locale/programs/locfile-kw.gperf: Likewise.
47567 * locale/programs/charmap-kw.h: Regenerated.
47568 * locale/programs/locfile-kw.h: Likewise.
47569
547b5e30
PE
47570 [BZ #13673]
47571 * intl/plural.y: Replace FSF snail mail address with URL.
47572 * intl/plural.c: Regenerated.
47573
5f0a5dae
RH
475742012-03-09 Richard Henderson <rth@twiddle.net>
47575
47576 * include/math_private.h: Remove file.
47577 * math/math_private.h: Move file ...
47578 * sysdeps/generic/math_private.h: ... here.
47579
b8c03620
RH
47580 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47581 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47582 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47583
4e234f5d 47584 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47585 and <math_private.h>.
47586 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47587 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47588 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47589 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47590 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47591 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47592 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47594 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47595 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47597 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47598 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47599 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47600 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47601 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47602 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47603 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47604 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47605 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47607 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47608 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47610 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47611 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47612 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47615 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47616 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47618 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47619 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47620 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47621 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47622 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47623 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47624 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47625 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47626 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47627 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47628 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47629 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47630 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47631 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47632 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47633 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47634 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47635 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47636 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47637 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47638 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47639 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47640 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47641 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47642 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47643 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47644 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47645 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47646 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47647 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47648 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47649 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47650 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47651 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47652 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47653 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47654 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47657 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47658 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47660 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47664 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47665 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47666 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47667 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47668 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47669 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47670 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47672 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47673 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47674 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47675 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47676 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47677 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47678 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47679 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47680 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47681 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47682 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47683 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47684 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47685 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47686 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47687 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47688 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47689 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47690 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47691 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47692 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47693 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47694 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47695 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47696 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47697 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47698 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47699 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47700 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47701 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47702 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47703 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47704 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47705 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47706 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47707 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47708 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47709 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47712 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47713 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47714 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47715 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47716 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47717 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47718 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47719 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47720 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47721 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47722 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47723 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47724 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47725 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47726 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47727 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47728 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47729 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47730 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47731 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47732 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47733 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47734 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47735 * sysdeps/ieee754/k_standard.c: Likewise.
47736 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47737 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47738 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47739 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47740 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47741 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47742 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47743 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47744 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47745 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47746 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47747 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47748 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47749 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47750 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47751 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47752 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47753 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47754 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47755 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47756 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47757 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47758 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47759 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47760 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47761 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47762 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47763 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47764 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47765 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47766 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47767 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47768 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47769 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47770 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47771 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47772 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47773 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47774 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47775 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47776 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47777 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47778 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47779 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47780 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47781 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47782 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47783 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47784 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47785 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47786 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47787 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47788 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47789 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47790 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47791 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47792 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47793 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47794 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47795 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47797 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47798 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47799 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47801 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47802 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47803 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47804 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47805 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47806 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47808 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47809 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47810 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47811 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47812 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47813 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47815 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47816 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47817 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47818 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47819 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47820 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47821 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47822 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47823 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47824 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47826 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47827 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47828 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47829 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47830 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47831 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47832 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47833 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47834 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47835 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47837 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47839 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47840 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47841 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47842 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47843 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47844 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47845 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47846 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47847 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47848 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47849 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47850 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47851 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47852 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47853 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47854 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47855 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47856 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47857 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47858 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47859 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47860 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47861 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47862 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47863 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47864 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47865 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47866 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47867 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47868 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47869 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47870 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47871 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47872 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47873 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47874 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47875 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47876 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47877 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47878 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47879 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47880 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47881 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47882 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47883 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47884 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47885 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47886 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47887 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47888 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47889 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47890 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47891 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47892 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47893 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47894 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47895 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47896 * sysdeps/ieee754/s_lib_version.c: Likewise.
47897 * sysdeps/ieee754/s_matherr.c: Likewise.
47898 * sysdeps/ieee754/s_signgam.c: Likewise.
47899 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47900 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47901 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47902 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47903 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47904 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47905 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47906 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47907 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47908 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47909 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47910 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47911 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47912 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47913 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47914 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47916 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47917 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47920
1991fa03
JM
479212012-03-09 Joseph Myers <joseph@codesourcery.com>
47922
47923 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47924 * sunrpc/rpc_main.c: Likewise.
47925 * sunrpc/rpc_svcout.c: Likewise.
47926
60d6f5a6
DM
479272012-03-09 David S. Miller <davem@davemloft.net>
47928
47929 * include/math_private.h: New file.
47930
4962050e
JM
479312012-03-09 Joseph Myers <joseph@codesourcery.com>
47932
02a6f887
JM
47933 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47934 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47935 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47936 from <bits/socket_type.h>.
47937 (enum __socket_type): Don't define here.
47938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47940 bits/socket_type.h.
47941
c6e013c1
JM
47942 [BZ #13566]
47943 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47944 checking __USE_GNU.
47945
4962050e
JM
47946 * Makerules ($(inst_includedir)/%.h): New rule.
47947 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47948 (install-others): Remove variable setting.
47949 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47950
38842f45
RH
479512012-03-08 Richard Henderson <rth@twiddle.net>
47952
67bb6da6
RH
47953 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47954 from macro to inline function; merge with the
47955 !__LIBC_INTERNAL_MATH_INLINES version.
47956 (__ieee754_sqrtf): Likewise.
47957
15194b4b
RH
47958 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47959 to inline function.
47960 (__rintf, __floor, __floorf): Likewise.
47961
64e21ede
RH
47962 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47963 macro to inline function.
47964 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47965
38842f45
RH
47966 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47967 not <math/math_private.h>.
47968
c64bf5fe
DM
479692012-03-08 David S. Miller <davem@davemloft.net>
47970
47971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47972 copyright year.
47973 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47974
82d86f28
TS
479752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47976
47977 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47978 normalization.
47979 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47980 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47981
aea5d727
UD
479822012-03-08 Ulrich Drepper <drepper@gmail.com>
47983
47984 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47985 be defined individually, they must be defined as a block. Define
47986 S for printing a string instead of hidint the different by using a
47987 macro for adding the 'l'.
47988 * stdio-common/tst-fphex-wide.c: Adjust.
47989
70bca0a3
MP
479902012-03-07 Marek Polacek <polacek@redhat.com>
47991
47992 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47993
65b81130
MP
479942012-03-08 Marek Polacek <polacek@redhat.com>
47995
47996 [BZ #13806]
47997 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47998 * stdio-common/tst-fphex.c: Define a few macros to make the
47999 test reusable. Use them.
48000 * stdio-common/tst-fphex-wide.c: New file.
48001
07037eeb
JM
480022012-03-08 Joseph Myers <joseph@codesourcery.com>
48003
a7a93d50
JM
48004 [BZ #6911]
48005 * manual/macros.texi (gnusystems): New macro.
48006 (nongnusystems): Likewise.
48007 (gnulinuxhurdsystems): Likewise.
48008 (gnuhurdsystems): Likewise..
48009 (gnulinuxsystems): Likewise.
48010 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48011 variants of the GNU system, not "GNU system".
48012 * manual/conf.texi: Likewise.
48013 * manual/errno.texi: Likewise. Update example of errno macro
48014 expansion.
48015 * manual/filesys.texi: Likewise.
48016 (getumask): Document as specific to GNU/Hurd.
48017 * manual/install.texi: Likewise. Reword some references to
48018 GNU/Linux.
48019 * manual/intro.texi: Likewise.
48020 * manual/io.texi: Likewise.
48021 (File Name Portability): Detail which constraints are inapplicable
48022 to all GNU systems and which are only inapplicable to GNU/Hurd.
48023 * manual/job.texi: Likewise.
48024 * manual/llio.texi: Likewise.
48025 (O_NOCTTY): Document as present on GNU/Linux.
48026 * manual/maint.texi: Likewise.
48027 * manual/memory.texi: Likewise.
48028 * manual/pattern.texi: Likewise.
48029 * manual/pipe.texi: Likewise.
48030 * manual/process.texi: Likewise.
48031 * manual/resource.texi: Likewise.
48032 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48033 child on GNU/Hurd.
48034 * manual/setjmp.texi: Likewise.
48035 * manual/signal.texi: Likewise.
48036 * manual/startup.texi: Likewise.
48037 * manual/stdio.texi: Likewise.
48038 * manual/terminal.texi: Likewise.
48039 (ONLCR): Document as POSIX.
48040 (OXTABS): Document availability on GNU/Linux as XTABS.
48041 (ONOEOT): Document availability separately from other bits.
48042 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48043 * manual/time.texi: Likewise.
48044 * manual/users.texi: Likewise.
48045 * INSTALL: Regenerated.
48046 * sysdeps/gnu/errlist.c: Regenerated.
48047
07037eeb
JM
48048 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48049 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48050 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48051 puts.
48052 * configure: Regenerated.
48053
d1d3431a
JM
480542012-03-07 Joseph Myers <joseph@codesourcery.com>
48055
af6a1e37
JM
48056 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48057 default includes instead of AC_HEADER_CHECK.
48058 * sysdeps/i386/configure: Regenerated.
48059
d1d3431a
JM
48060 [BZ #10716]
48061 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48062 * math/s_cacoshf.c (__cacoshf): Likewise.
48063 * math/s_cacoshl.c (__cacoshl): Likewise.
48064 * math/s_casinh.c (__casinh): Set signs of result from argument.
48065 * math/s_casinhf.c (__casinhf): Likewise.
48066 * math/s_casinhl.c (__casinhl): Likewise.
48067 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48068 (casinh_test): Add more tests.
48069 * sysdeps/i386/fpu/libm-test-ulps: Update.
48070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48071
482ff4da
UD
480722012-03-07 Ulrich Drepper <drepper@gmail.com>
48073
872fda05
UD
48074 * po/zh_TW.po: Update from translation team.
48075
a4300c7a
UD
48076 * login/Makefile (distribute): Remove variable.
48077 * catgets/Makefile: Likewise.
48078 * mach/Makefile: Likewise.
48079 * malloc/Makefile: Likewise.
48080 * misc/Makefile: Likewise.
48081 * iconv/Makefile: Likewise.
48082 * nscd/Makefile: Likewise.
48083 * hurd/Makefile: Likewise.
48084 * manual/Makefile: Likewise.
48085 * locale/Makefile: Likewise.
48086 * intl/Makefile: Likewise.
48087 * conform/Makefile: Likewise.
48088 * nss/Makefile: Likewise.
48089 * time/Makefile: Likewise.
48090 * soft-fp/Makefile: Likewise.
48091 * dirent/Makefile: Likewise.
48092 * gmon/Makefile: Likewise.
48093 * po/Makefile: Likewise.
48094 * rt/Makefile: Likewise.
48095 * socket/Makefile: Likewise.
48096 * math/Makefile: Likewise.
48097 * signal/Makefile: Likewise.
48098 * debug/Makefile: Likewise.
48099 * elf/Makefile: Likewise.
48100 * timezone/Makefile: Likewise.
48101 * stdlib/Makefile: Likewise.
48102 * iconvdata/Makefile: Likewise.
48103 * sunrpc/Makefile: Likewise.
48104 * io/Makefile: Likewise.
48105 * argp/Makefile: Likewise.
48106 * inet/Makefile: Likewise.
48107 * hesiod/Makefile: Likewise.
48108 * grp/Makefile: Likewise.
48109 * csu/Makefile: Likewise.
48110 * wctype/Makefile: Likewise.
48111 * crypt/Makefile: Likewise.
48112 * libio/Makefile: Likewise.
48113 * string/Makefile: Likewise.
48114 * nis/Makefile: Likewise.
48115 * resolv/Makefile: Likewise.
48116 * stdio-common/Makefile: Likewise.
48117 * wcsmbs/Makefile: Likewise.
48118 * dlfcn/Makefile: Likewise.
48119 * posix/Makefile: Likewise.
48120
3b7c4e74 48121 [BZ #6959]
482ff4da
UD
48122 * timezone/Makefile: Don't install timezone files, just the programs
48123 and scripts.
48124
f72ed77d
UD
481252012-03-06 Ulrich Drepper <drepper@gmail.com>
48126
a000466f
UD
48127 * nss/databases.def: Add missing gshadow entry.
48128
f72ed77d
UD
48129 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48130
a53b7a4e
MP
481312012-03-06 Marek Polacek <polacek@redhat.com>
48132
48133 [BZ #13726]
48134 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48135 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48136 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48137 * stdio-common/tst-long-dbl-fphex.c: New file.
48138
e9258400
DM
481392012-03-06 David S. Miller <davem@davemloft.net>
48140
48141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48142 (set_obp_int): New function.
48143 (get_obp_int): New function.
48144 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48145 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48146 Avoid unused variable warnings on 'val' and use builtin_expect.
48147 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48148 __builtin_expect.
e9258400
DM
48149 (INLINE_CLONE_SYSCALL): Likewise.
48150
3bd2c723
DM
481512012-03-05 David S. Miller <davem@davemloft.net>
48152
48153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48154
bbb78d03
AS
481552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48156
884c5db4
AS
48157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48158
bbb78d03
AS
48159 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48160 only for |x| >= 40.
48161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48162
1c9f702a 481632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48164
48165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48166 Replace gettimeofday with __vdso_gettimeofday.
48167
7be16f82
RM
48168 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48169 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48170 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48171
48172 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48173 time with __vdso_time.
48174
ed58a00f
JM
481752012-03-05 Joseph Myers <joseph@codesourcery.com>
48176
48177 * manual/lang.texi (size_t): Note types to which size_t may be
48178 equivalent with the GNU C Library, but do not describe when
48179 differences between them are significant.
48180
30ee4ced
AJ
481812012-03-05 Andreas Jaeger <aj@suse.de>
48182
48183 * sysdeps/i386/fpu/libm-test-ulps: Update.
48184
b7cd39e8
JM
481852012-03-05 Joseph Myers <joseph@codesourcery.com>
48186
48187 [BZ #3976]
48188 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48189 (__ieee754_pow): Save and restore rounding mode and use
48190 round-to-nearest for main computations.
48191 * math/libm-test.inc (pow_test_tonearest): New function.
48192 (pow_test_towardzero): Likewise.
48193 (pow_test_downward): Likewise.
48194 (pow_test_upward): Likewise.
48195 (main): Call the new functions.
48196 * sysdeps/i386/fpu/libm-test-ulps: Update.
48197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48198
48199 [BZ #3976]
48200 * math/libm-test.inc (cosh_test_tonearest): New function.
48201 (cosh_test_towardzero): Likewise.
48202 (cosh_test_downward): Likewise.
48203 (cosh_test_upward): Likewise.
48204 (sinh_test_tonearest): Likewise.
48205 (sinh_test_towardzero): Likewise.
48206 (sinh_test_downward): Likewise.
48207 (sinh_test_upward): Likewise.
48208 (main): Call the new functions.
48209 * sysdeps/i386/fpu/libm-test-ulps: Update.
48210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48211
6c6a98c9
TV
482122012-03-05 Tom de Vries <tom@codesourcery.com>
48213
48214 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48215 default stack guard is set in last bytes.
48216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48217
21bb2d2e 482182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48219
21bb2d2e 48220 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48221
21bb2d2e
AJ
48222 [BZ #13656]
48223 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48224 possibly allocate from heap instead of stack.
48225 * stdio-common/bug-vfprintf-nargs.c: New file.
48226 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48227
c6922934
AS
482282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48229
48230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48231
bc957d53
MP
482322012-03-03 Marek Polacek <polacek@redhat.com>
48233
48234 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48235 * math/math_private.h: Likewise.
48236 * stdlib/tst-strtod.c: Likewise.
48237 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48238 * sysdeps/x86_64/bits/atomic.h: Likewise.
48239
6358490d
DM
482402012-03-02 David S. Miller <davem@davemloft.net>
48241
48242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48246 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48247 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48248 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48249 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48250
01ae168d
RM
482512012-03-02 Roland McGrath <roland@hack.frob.com>
48252
d9a17c07
RM
48253 [BZ #13792]
48254 * manual/examples/README: New file, says the example source files
48255 can be used under GPL>=2.
48256 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48257 line containing just "*/".
48258 * manual/examples/add.c: Add copyright header (GPL>=2).
48259 * manual/examples/argp-ex1.c: Likewise.
48260 * manual/examples/argp-ex2.c: Likewise.
48261 * manual/examples/argp-ex3.c: Likewise.
48262 * manual/examples/argp-ex4.c: Likewise.
48263 * manual/examples/atexit.c: Likewise.
48264 * manual/examples/db.c: Likewise.
48265 * manual/examples/dir.c: Likewise.
48266 * manual/examples/dir2.c: Likewise.
48267 * manual/examples/execinfo.c: Likewise.
48268 * manual/examples/filecli.c: Likewise.
48269 * manual/examples/filesrv.c: Likewise.
48270 * manual/examples/fmtmsgexpl.c: Likewise.
48271 * manual/examples/genpass.c: Likewise.
48272 * manual/examples/inetcli.c: Likewise.
48273 * manual/examples/inetsrv.c: Likewise.
48274 * manual/examples/isockad.c: Likewise.
48275 * manual/examples/longopt.c: Likewise.
48276 * manual/examples/memopen.c: Likewise.
48277 * manual/examples/memstrm.c: Likewise.
48278 * manual/examples/mkfsock.c: Likewise.
48279 * manual/examples/mkisock.c: Likewise.
48280 * manual/examples/mygetpass.c: Likewise.
48281 * manual/examples/pipe.c: Likewise.
48282 * manual/examples/popen.c: Likewise.
48283 * manual/examples/rprintf.c: Likewise.
48284 * manual/examples/search.c: Likewise.
48285 * manual/examples/select.c: Likewise.
48286 * manual/examples/setjmp.c: Likewise.
48287 * manual/examples/sigh1.c: Likewise.
48288 * manual/examples/sigusr.c: Likewise.
48289 * manual/examples/stpcpy.c: Likewise.
48290 * manual/examples/strdupa.c: Likewise.
48291 * manual/examples/strftim.c: Likewise.
48292 * manual/examples/strncat.c: Likewise.
48293 * manual/examples/subopt.c: Likewise.
48294 * manual/examples/swapcontext.c: Likewise.
48295 * manual/examples/termios.c: Likewise.
48296 * manual/examples/testopt.c: Likewise.
48297 * manual/examples/testpass.c: Likewise.
48298 * manual/examples/timeval_subtract.c: Likewise.
48299
01ae168d
RM
48300 [BZ #13792]
48301 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48302 function to ...
48303 * manual/timeval_subtract.c.texi: ... here, new file.
48304
49efa33d
DM
483052012-03-02 David S. Miller <davem@davemloft.net>
48306
48307 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48308
28afd92d
JM
483092012-03-02 Joseph Myers <joseph@codesourcery.com>
48310
804360ed
JM
48311 [BZ #3976]
48312 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48313 (__sin): Save and restore rounding mode and use round-to-nearest
48314 for all computations.
48315 (__cos): Save and restore rounding mode and use round-to-nearest
48316 for all computations.
48317 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48318 <fenv.h>.
48319 (tan): Save and restore rounding mode and use round-to-nearest for
48320 all computations.
48321 * math/libm-test.inc (cos_test_tonearest): New function.
48322 (cos_test_towardzero): Likewise.
48323 (cos_test_downward): Likewise.
48324 (cos_test_upward): Likewise.
48325 (sin_test_tonearest): Likewise.
48326 (sin_test_towardzero): Likewise.
48327 (sin_test_downward): Likewise.
48328 (sin_test_upward): Likewise.
48329 (tan_test_tonearest): Likewise.
48330 (tan_test_towardzero): Likewise.
48331 (tan_test_downward): Likewise.
48332 (tan_test_upward): Likewise.
48333 (main): Call the new functions.
48334 * sysdeps/i386/fpu/libm-test-ulps: Update.
48335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48336
a6d06d7b
JM
48337 [BZ #10135]
48338 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48339 small n, then large n, before computing and testing k+n.
48340 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48341 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48342 Likewise.
48343 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48344 Likewise.
48345 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48346 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48347 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48348 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48349 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48350 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48351 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48352 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48353 * math/libm-test.inc (scalbn_test): Add more tests.
48354 (scalbln_test): Likewise.
48355
07e12bb3
JM
48356 * manual/filesys.texi (mode_t): Describe constraints on size and
48357 signedness, not exact equivalence to a particular type.
48358 (ino_t): Likewise.
48359 (ino64_t): Likewise.
48360 (dev_t): Likewise.
48361 (nlink_t): Likewise.
48362 (blkcnt_t): Likewise.
48363 (blkcnt64_t): Likewise.
48364 * manual/llio.texi (off_t): Likewise.
48365
28afd92d
JM
48366 [BZ #3976]
48367 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48368 (__ieee754_exp): Save and restore rounding mode and use
48369 round-to-nearest for all computations.
48370 * math/libm-test.inc (exp_test_tonearest): New function.
48371 (exp_test_towardzero): Likewise.
48372 (exp_test_downward): Likewise.
48373 (exp_test_upward): Likewise.
48374 (main): Call the new functions.
48375 * sysdeps/i386/fpu/libm-test-ulps: Update.
48376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48377
b1eeb65d
CD
483782012-03-01 Chris Demetriou <cgd@google.com>
48379
48380 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48381 have predictable order.
48382
53362a4b
DM
483832012-03-01 David S. Miller <davem@davemloft.net>
48384
3c969083
DM
48385 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48386
759707de
DM
48387 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48388 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48389 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48390 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48391
dfdb8ff2
DM
48392 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48393 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48394 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48396 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48397 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48398 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48399 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48400 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48401
ead89f96
DM
48402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48403
7f66bd07
DM
48404 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48405 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48406 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48407
53362a4b
DM
48408 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48409 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48410 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48411 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48412 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48413 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48414 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48415 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48416 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48417 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48418 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48419 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48421 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48422 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48424 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48425 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48426 * sysdeps/sparc/elf/configure: Regenerated.
48427
7b1902cb
JM
484282012-03-01 Joseph Myers <joseph@codesourcery.com>
48429
bec039bc
JM
48430 * configure.in (AS, LD): Require binutils 2.20 or later.
48431 * configure: Regenerated.
48432 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48433 as required minimum version.
48434 * INSTALL: Regenerated.
48435
7b1902cb
JM
48436 [BZ #2541]
48437 [BZ #4108]
48438 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48439 before squaring exponent.
48440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48441 bottom long double and 27 bits of top long double before squaring
48442 exponent.
48443 * math/libm-test.inc (erfc_test): Add more tests.
48444 * sysdeps/i386/fpu/libm-test-ulps: Update.
48445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48447
f775c276
KT
484482012-03-01 Kai Tietz <ktietz@redhat.com>
48449
48450 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48451 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48452 containing bit-fields.
48453 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48454 * soft-fp/single.h (_FP_UNION_S): Likewise.
48455 * soft-fp/double.h (_FP_UNION_D): Likewise.
48456
5b8a4d4a
JM
484572012-02-29 Joseph Myers <joseph@codesourcery.com>
48458
0bab47b6
JM
48459 [BZ #13786]
48460 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48461 not include ../strcmp.S.
48462 [USE_AS_STRNCASECMP_L]: Likewise.
48463 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48464 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48465 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48466 (__strncasecmp_l_ia32): Define as alias to
48467 __strncasecmp_l_nonascii.
48468
0fcad3e2
JM
48469 [BZ #5794]
48470 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48471 * sysdeps/i386/fpu/libm-test-ulps: Update.
48472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48473
5b8a4d4a
JM
48474 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48476
8fdceb2e
JL
484772012-02-29 Jeff Law <law@redhat.com>
48478
48479 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48480 out of bounds read.
48481
1f393a11
MP
484822012-02-29 Marek Polacek <polacek@redhat.com>
48483
48484 [BZ #13706]
48485 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48486 * elf/Makefile: Add rules to run tst-unused-dep.out.
48487
8847f037
DM
484882012-02-28 David S. Miller <davem@davemloft.net>
48489
48490 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48491 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48493 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48494 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48495 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48496
169d7f11
JM
484972012-02-29 Joseph Myers <joseph@codesourcery.com>
48498
48499 * math/libm-test.inc (llround_test): Move one test from
48500 lround_test. Use TEST_f_L in moved test.
48501 (lround_test): Move misplaced test to llround_test. Add testcase
48502 from bug 2561.
48503
39adf059
UD
485042012-02-28 Ulrich Drepper <drepper@gmail.com>
48505
48506 * sysdeps/x86_64/fpu/e_expf.S: New file.
48507 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48508
71b5d1c5
SB
485092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48510
48511 [BZ #13637]
48512 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48513 of remain_len that may cause incomplete multi-byte character and
48514 false match.
48515 * posix/bug-regex33.c: New file.
48516 * posix/Makefile (tests): Add bug-regex33.
48517
1f77f049
JM
485182012-02-28 Joseph Myers <joseph@codesourcery.com>
48519
48520 * manual/macros.texi: New file.
48521 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48522 * manual/libc.texinfo: Include macros.texi.
48523 * manual/creatute.texi: Likewise.
48524 * manual/install.texi: Likewise.
48525 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48526 @glibcadj{} in references to the GNU C Library.
48527 * manual/charset.texi: Likewise.
48528 * manual/conf.texi: Likewise.
48529 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48530 when not using those macros.
48531 * manual/creature.texi: Likewise.
48532 * manual/crypt.texi: Likewise.
48533 * manual/errno.texi: Likewise.
48534 * manual/filesys.texi: Likewise.
48535 * manual/header.texi: Likewise.
48536 * manual/install.texi: Likewise.
48537 * manual/intro.texi: Likewise.
48538 * manual/io.texi: Likewise.
48539 * manual/job.texi: Likewise.
48540 * manual/lang.texi: Likewise.
48541 * manual/libc.texiinfo: Likewise.
48542 * manual/llio.texi: Likewise.
48543 * manual/locale.texi: Likewise.
48544 * manual/maint.texi: Likewise.
48545 * manual/math.texi: Likewise.
48546 * manual/memory.texi: Likewise.
48547 * manual/message.texi: Likewise.
48548 * manual/nss.texi: Likewise.
48549 * manual/pattern.texi: Likewise.
48550 * manual/process.texi: Likewise.
48551 * manual/resource.texi: Likewise.
48552 * manual/search.texi: Likewise.
48553 * manual/setjmp.texi: Likewise.
48554 * manual/signal.texi: Likewise.
48555 * manual/socket.texi: Likewise.
48556 * manual/startup.texi: Likewise.
48557 * manual/stdio.texi: Likewise.
48558 * manual/string.texi: Likewise.
48559 * manual/sysinfo.texi: Likewise.
48560 * manual/syslog.texi: Likewise.
48561 * manual/terminal.texi: Likewise.
48562 * manual/time.texi: Likewise.
48563 * manual/users.texi: Likewise.
48564 * INSTALL: Regenerated.
48565 * NOTES: Regenerated.
d40c5d54 48566 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48567
450bf206
AS
485682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48569
48570 * include/dirent.h: Include <dirstream.h> before
48571 <dirent/dirent.h>.
48572
741a235b
DM
485732012-02-28 David S. Miller <davem@davemloft.net>
48574
48575 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48576 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48577 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48578 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48579
d6b5aa58
DM
485802012-02-27 David S. Miller <davem@davemloft.net>
48581
1aff59a3
DM
48582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48584 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48585 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48586
d6b5aa58
DM
48587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48588 frame pointer instead of stack pointer relative arg slot.
48589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48590 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48591 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48592
433f48bf
CD
485932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48594
48595 [BZ #3992]
48596 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48597
d674b76d
DM
485982012-02-27 David S. Miller <davem@davemloft.net>
48599
48600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48604 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48605 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48606 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48607 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48608
0e7727f7
JM
486092012-02-27 Joseph Myers <joseph@codesourcery.com>
48610
48611 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48612 later. Allow versions 5-9.
43be4ca2 48613 * configure: Regenerated.
0e7727f7
JM
48614 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48615 required minimum version and 4.6 as recommended version. Do not
48616 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48617 * INSTALL: Regenerated.
0e7727f7 48618
a78bc654
DM
486192012-02-27 David S. Miller <davem@davemloft.net>
48620
428d5830
DM
48621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48625 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48626 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48627 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48628 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48629
a78bc654
DM
48630 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48631 manipulate bits before adding and subtracting TWO112[sx].
48632 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48633
4579f81c
RM
486342012-02-27 Roland McGrath <roland@hack.frob.com>
48635
36c8acb4
RM
48636 [BZ #13775]
48637 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48638 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48639 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48640 being in POSIX, because they are in 1003.1-2008.
48641
84ad622b
RM
48642 * rt/tst-aio.c: Include <fcntl.h>.
48643 * rt/tst-aio7.c: Likewise.
48644 * rt/tst-aio64.c: Likewise.
48645
4579f81c
RM
48646 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48647
abd923db
JM
486482012-02-27 Joseph Myers <joseph@codesourcery.com>
48649
48650 * manual/install.texi (--with-headers): Describe headers as
48651 interface headers, not private headers.
48652 (Specific advice for GNU/Linux systems): Describe use of headers
48653 from "make headers_install", not private headers from older
48654 kernels.
43be4ca2 48655 * INSTALL: Regenerated.
abd923db
JM
48656 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48657 Change to 2.6.19.
48658 * sysdeps/unix/sysv/linux/configure: Regenerated.
48659
6664049b
JM
48660 * manual/llio.texi (fclean): Remove documentation.
48661
bb8b6697
JM
48662 * manual/Makefile (libc-texi-generated): New variable. Include
48663 version.texi.
48664 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48665 $(libc-texi-generated), not duplicated list of files.
48666 (version.texi, stamp-version): New rules.
48667 (realclean): Remove $(libc-texi-generated), not individual files
48668 from that list. Do not remove dir-add.texinfo.
48669 * manual/libc.texinfo: Comment out uses of edition numbers and
48670 references to printed manual. Remove last-updated dates.
48671 (EDITION): Comment out.
48672 (ISBN): Likewise.
48673 (VERSION, UPDATED): Remove.
48674 (version.texi): Include.
48675
12e5c3b9
AS
486762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48677
48678 * sysdeps/posix/spawni.c: Include <signal.h>.
48679 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48680 * sysdeps/pthread/aio_fsync.c: Likewise.
48681
4efeffc1 486822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48683
ba63ba08
UD
48684 * conform/Makefile (tests): Run only when not cross-compiling and
48685 when fast-check is not defined.
48686
d94a4670
UD
48687 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48688 * conform/data/limits.h-data: Fixes for POSIX2008.
48689 * conform/run-conformtest.sh: Run all tests.
48690 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48691 headers.
48692 * include/bits/dlfcn.h: Likewise.
48693 * include/langinfo.h: Likewise.
48694 * include/monetary.h: Likewise.
48695 * include/sys/poll.h: Likewise.
48696
48697 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48698 for __USE_GNU.
48699 * posix/spawn.h: Define __need_sigset_t.
48700 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48701 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48702 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48703 to get sigevent_t only.
48704 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48705 only for __USE_GNU.
48706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48707 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48708 process_vm_writev only for __USE_GNU.
48709 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48710
48711 * conform/Makefile: For now ignore errors from run-conformtest.
48712 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48713 POSIX to avoid namespace pollution. Don't prepend headers.
48714 * conform/data/aio.h-data: Fixes for POSIX testing.
48715 * conform/data/fcntl.h-data: Likewise.
48716 * conform/data/glob.h-data: Likewise.
48717 * conform/data/grp.h-data: Likewise.
48718 * conform/data/pthread.h-data: Likewise.
48719 * conform/data/pwd.h-data: Likewise.
48720 * conform/data/signal.h-data: Likewise.
48721 * conform/data/spawn.h-data: Likewise.
48722 * conform/data/stdio.h-data: Likewise.
48723 * conform/data/stdlib.h-data: Likewise.
48724 * conform/data/stropts.h-data: Likewise.
48725 * conform/data/sys/mman.h-data: Likewise.
48726 * conform/data/sys/stat.h-data: Likewise.
48727 * conform/data/sys/types.h-data: Likewise.
48728 * conform/data/sys/wait.h-data: Likewise.
48729 * conform/data/time.h-data: Likewise.
48730 * conform/data/unistd.h-data: Likewise.
48731 * conform/data/utime.h-data: Likewise.
48732
48733 * io/sys/stat.h: fchmod was always in POSIX.
48734 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48735 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48736 * rt/aio.h: Define __need_timespec before including <time.h>.
48737 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48738 struct. Add forward declaration of pthread_attr_t and use it in
48739 sigevent.
48740 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48742 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48743 always remove CLK_TCK definition.
48744
c20105c3
AS
487452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48746
48747 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48748
7a270350
UD
487492012-02-25 Ulrich Drepper <drepper@gmail.com>
48750
31341567
UD
48751 * conform/run-conformtest.sh: New file.
48752 * conform/Makefile: Run run-conformtest for tests.
48753 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48754 support.
48755
48756 * conform/data/uchar.h-data: New file.
48757 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48758 * conform/data/arpa/inet.h-data: Likewise.
48759 * conform/data/assert.h-data: Likewise.
48760 * conform/data/complex.h-data: Likewise.
48761 * conform/data/cpio.h-data: Likewise.
48762 * conform/data/ctype.h-data: Likewise.
48763 * conform/data/dirent.h-data: Likewise.
48764 * conform/data/dlfcn.h-data: Likewise.
48765 * conform/data/errno.h-data: Likewise.
48766 * conform/data/fcntl.h-data: Likewise.
48767 * conform/data/float.h-data: Likewise.
48768 * conform/data/fmtmsg.h-data: Likewise.
48769 * conform/data/fnmatch.h-data: Likewise.
48770 * conform/data/ftw.h-data: Likewise.
48771 * conform/data/glob.h-data: Likewise.
48772 * conform/data/grp.h-data: Likewise.
48773 * conform/data/iconv.h-data: Likewise.
48774 * conform/data/inttypes.h-data: Likewise.
48775 * conform/data/langinfo.h-data: Likewise.
48776 * conform/data/libgen.h-data: Likewise.
48777 * conform/data/limits.h-data: Likewise.
48778 * conform/data/locale.h-data: Likewise.
48779 * conform/data/math.h-data: Likewise.
48780 * conform/data/monetary.h-data: Likewise.
48781 * conform/data/mqueue.h-data: Likewise.
48782 * conform/data/ndbm.h-data: Likewise.
48783 * conform/data/net/if.h-data: Likewise.
48784 * conform/data/netdb.h-data: Likewise.
48785 * conform/data/netinet/in.h-data: Likewise.
48786 * conform/data/nl_types.h-data: Likewise.
48787 * conform/data/poll.h-data: Likewise.
48788 * conform/data/pthread.h-data: Likewise.
48789 * conform/data/pwd.h-data: Likewise.
48790 * conform/data/regex.h-data: Likewise.
48791 * conform/data/sched.h-data: Likewise.
48792 * conform/data/search.h-data: Likewise.
48793 * conform/data/semaphore.h-data: Likewise.
48794 * conform/data/setjmp.h-data: Likewise.
48795 * conform/data/signal.h-data: Likewise.
48796 * conform/data/spawn.h-data: Likewise.
48797 * conform/data/stdarg.h-data: Likewise.
48798 * conform/data/stdio.h-data: Likewise.
48799 * conform/data/stdlib.h-data: Likewise.
48800 * conform/data/string.h-data: Likewise.
48801 * conform/data/strings.h-data: Likewise.
48802 * conform/data/stropts.h-data: Likewise.
48803 * conform/data/sys/ipc.h-data: Likewise.
48804 * conform/data/sys/mman.h-data: Likewise.
48805 * conform/data/sys/msg.h-data: Likewise.
48806 * conform/data/sys/resource.h-data: Likewise.
48807 * conform/data/sys/select.h-data: Likewise.
48808 * conform/data/sys/sem.h-data: Likewise.
48809 * conform/data/sys/shm.h-data: Likewise.
48810 * conform/data/sys/socket.h-data: Likewise.
48811 * conform/data/sys/stat.h-data: Likewise.
48812 * conform/data/sys/statvfs.h-data: Likewise.
48813 * conform/data/sys/time.h-data: Likewise.
48814 * conform/data/sys/timeb.h-data: Likewise.
48815 * conform/data/sys/times.h-data: Likewise.
48816 * conform/data/sys/types.h-data: Likewise.
48817 * conform/data/sys/uio.h-data: Likewise.
48818 * conform/data/sys/un.h-data: Likewise.
48819 * conform/data/sys/utsname.h-data: Likewise.
48820 * conform/data/sys/wait.h-data: Likewise.
48821 * conform/data/syslog.h-data: Likewise.
48822 * conform/data/tar.h-data: Likewise.
48823 * conform/data/termios.h-data: Likewise.
48824 * conform/data/utime.h-data: Likewise.
48825 * conform/data/utmpx.h-data: Likewise.
48826 * conform/data/varargs.h-data: Likewise.
48827 * conform/data/wchar.h-data: Likewise.
48828 * conform/data/wctype.h-data: Likewise.
48829 * conform/data/wordexp.h-data: Likewise.
48830
48831 * include/stropts.h: New file.
48832 * include/uchar.h: New file.
48833 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48834 * include/assert.h: Likewise.
48835 * include/ctype.h: Likewise.
48836 * include/dirent.h: Likewise.
48837 * include/dlfcn.h: Likewise.
48838 * include/fcntl.h: Likewise.
48839 * include/fnmatch.h: Likewise.
48840 * include/glob.h: Likewise.
48841 * include/grp.h: Likewise.
48842 * include/libio.h: Likewise.
48843 * include/locale.h: Likewise.
48844 * include/math.h: Likewise.
48845 * include/net/if.h: Likewise.
48846 * include/netdb.h: Likewise.
48847 * include/netinet/in.h: Likewise.
48848 * include/pthread.h: Likewise.
48849 * include/pwd.h: Likewise.
48850 * include/regex.h: Likewise.
48851 * include/sched.h: Likewise.
48852 * include/search.h: Likewise.
48853 * include/setjmp.h: Likewise.
48854 * include/signal.h: Likewise.
48855 * include/stdio.h: Likewise.
48856 * include/stdlib.h: Likewise.
48857 * include/string.h: Likewise.
48858 * include/sys/cdefs.h: Likewise.
48859 * include/sys/mman.h: Likewise.
48860 * include/sys/msg.h: Likewise.
48861 * include/sys/resource.h: Likewise.
48862 * include/sys/select.h: Likewise.
48863 * include/sys/socket.h: Likewise.
48864 * include/sys/stat.h: Likewise.
48865 * include/sys/statvfs.h: Likewise.
48866 * include/sys/time.h: Likewise.
48867 * include/sys/times.h: Likewise.
48868 * include/sys/uio.h: Likewise.
48869 * include/sys/utsname.h: Likewise.
48870 * include/sys/wait.h: Likewise.
48871 * include/termios.h: Likewise.
48872 * include/time.h: Likewise.
48873 * include/ulimit.h: Likewise.
48874 * include/unistd.h: Likewise.
48875 * include/utime.h: Likewise.
48876 * include/wchar.h: Likewise.
48877 * include/wctype.h: Likewise.
48878 * include/wordexp.h: Likewise.
48879
48880 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48881
7a270350
UD
48882 * time/time.h: TIME_UTC must be a macro.
48883 Make timespec_get available for ISO C11 only as well.
48884
7724defc
UD
488852012-02-24 Ulrich Drepper <drepper@gmail.com>
48886
48887 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48888 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48889
6b1d1d46
JM
488902012-02-24 Joseph Myers <joseph@codesourcery.com>
48891
48892 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48893
0f8bbd69
JM
488942012-02-24 Joseph Myers <joseph@codesourcery.com>
48895
48896 * manual/texinfo.tex: Update to version 2012-01-19.16.
48897
66ab80bc
JM
488982012-02-24 Joseph Myers <joseph@codesourcery.com>
48899
48900 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48901
74981cc5
RM
489022012-02-24 Roland McGrath <roland@hack.frob.com>
48903
ee968201
RM
48904 [BZ #13738]
48905 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48906 * manual/fdl-1.3.texi: New file.
48907 * manual/fdl-1.1.texi: File removed.
48908
74981cc5
RM
48909 [BZ #13738]
48910 * manual/libc.texinfo (FDL_VERSION): New @set.
48911 Use it for mention of FDL in cover text.
48912 (Documentation License): Use it in @include file name.
48913
7bb764bc
JM
489142012-02-22 Joseph Myers <joseph@codesourcery.com>
48915 Roland McGrath <roland@hack.frob.com>
48916
48917 [BZ #5461]
57f41c40
AS
48918 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48919 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48920 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48921 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48922 name.
48923 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48924
6cbeae47
JM
489252012-02-22 Joseph Myers <joseph@codesourcery.com>
48926
48927 [BZ #2547]
48928 [BZ #11365]
48929 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48930 manipulate bits before adding and subtracting TWO23[sx].
48931 * math/libm-test.inc (nearbyint_test): Add more tests.
48932
fe45ce09
JM
489332012-02-22 Joseph Myers <joseph@codesourcery.com>
48934
48935 [BZ #2548]
48936 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48937 bits before adding and subtracting TWO23[sx].
48938 * math/libm-test.inc (rint_test): Add more tests.
48939 (rint_test_tonearest): Likewise.
48940 (rint_test_towardzero): Likewise.
48941 (rint_test_downward): Likewise.
48942 (rint_test_upward: Likewise.
48943
ff3b3d82
JM
489442012-02-22 Joseph Myers <joseph@codesourcery.com>
48945
48946 [BZ #10110]
48947 * include/stdc-predef.h: New file. Extracted from features.h.
48948 * include/features.h: Include stdc-predef.h.
48949 * Makefile (headers): Add stdc-predef.h.
48950 * CONFORMANCE (Compiler limitations): Update.
48951
ef0aab35
JM
489522012-02-22 Joseph Myers <joseph@codesourcery.com>
48953
48954 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48955
58639409
DM
489562012-02-21 David S. Miller <davem@davemloft.net>
48957
48958 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48959 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48960
c0e70b25
DM
489612012-02-20 David S. Miller <davem@davemloft.net>
48962
48963 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48964 using a normal save/restore sequence, rather than allocating a
48965 dummy stack frame just to store a frame pointer and restore.
48966 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48967
fb06851d
JM
489682012-02-21 Joseph Myers <joseph@codesourcery.com>
48969
48970 * manual/install.texi: Fix stray word in line-wrapped comment.
48971
7a8b71c3
DM
489722012-02-20 David S. Miller <davem@davemloft.net>
48973
d510c123
DM
48974 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48975 both binutils and gcc support GOTDATA.
48976
0722d7c2
DM
48977 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48978 "rd %pc" in the PIC register setup sequences.
48979
3d2b3019
DM
48980 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48981 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48982 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48983 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48984 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48986 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48987 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48988 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48989 (SYSCALL_ERROR_HANDLER): Likewise.
48990 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48991 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48993 (SYSCALL_ERROR_HANDLER): Likewise.
48994
c80098a9
DM
48995 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48996 (HAVE_GCC_GOTDATA): New.
48997 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48998 relocation support in both binutils and gcc.
48999 * sysdeps/sparc/elf/configure: Regenerate.
49000
3a2545a0
DM
49001 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49002 * sysdeps/sparc/sparc32/elf/configure: Delete.
49003 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49004 * sysdeps/sparc/sparc64/elf/configure: Delete.
49005 * sysdeps/sparc/elf/configure.in: New file.
49006 * sysdeps/sparc/elf/configure: Generate.
49007
7a8b71c3
DM
49008 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49009 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49010 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49011 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49012 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49013
f1e86fca
JM
490142012-02-21 Joseph Myers <joseph@codesourcery.com>
49015
49016 * manual/install.texi: Do not mention specific glibc version
49017 numbers.
49018 * manual/libc.texinfo (VERSION, UPDATED): Update.
49019 (@copying): Use @copyright{} and range of years.
49020
0e7dfaef
JM
490212012-02-21 Joseph Myers <joseph@codesourcery.com>
49022
49023 [BZ #13695]
49024 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49025 [crti.S not in sysdirs] (generated): Do not append.
49026 [crti.S not in sysdirs] (omit-deps): Likewise.
49027 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49028 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49029 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49030 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49031 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49032 Likewise.
49033 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49034 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49035 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49036 * csu/defs.awk: Remove file.
49037 * sysdeps/generic/initfini.c: Likewise.
49038 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49039 variable.
49040 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49041 Likewise.
49042
599af3ca
JM
490432012-02-20 Joseph Myers <joseph@codesourcery.com>
49044
49045 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49046 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49047 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49050 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49051 <bits/epoll.h>.
49052 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49053 (__EPOLL_PACKED): Define to empty if not defined by
49054 <bits/epoll.h>.
49055 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49057 bits/epoll.h.
49058
0e499750
JM
490592012-02-20 Joseph Myers <joseph@codesourcery.com>
49060
49061 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49062 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49063 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49064 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49065 <bits/timerfd.h>.
49066 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49068 bits/timerfd.h.
49069
5ad91f6e
JM
490702012-02-20 Joseph Myers <joseph@codesourcery.com>
49071
49072 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49073 in C locale.
49074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49075 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49076 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49078
06b99b02
AJ
490792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49080
49081 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49082 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49083
7638c0fd
AS
490842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49085
49086 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49087 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49088 defined.
49089 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49090 Likewise.
49091 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49092 entry for 2.16.
49093
92221550
AJ
490942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49095
49096 * math/w_acos.c: Use non-signaling floating-point comparisons.
49097 * math/w_acosf.c: Likewise.
49098 * math/w_acosh.c: Likewise.
49099 * math/w_acoshf.c: Likewise.
49100 * math/w_acoshl.c: Likewise.
49101 * math/w_acosl.c: Likewise.
49102 * math/w_asin.c: Likewise.
49103 * math/w_asinf.c: Likewise.
49104 * math/w_asinl.c: Likewise.
49105 * math/w_atanh.c: Likewise.
49106 * math/w_atanhf.c: Likewise.
49107 * math/w_atanhl.c: Likewise.
49108 * math/w_exp2.c: Likewise.
49109 * math/w_exp2f.c: Likewise.
49110 * math/w_exp2l.c: Likewise.
49111 * math/w_j0.c: Likewise.
49112 * math/w_j0f.c: Likewise.
49113 * math/w_j0l.c: Likewise.
49114 * math/w_j1.c: Likewise.
49115 * math/w_j1f.c: Likewise.
49116 * math/w_j1l.c: Likewise.
49117 * math/w_jn.c: Likewise.
49118 * math/w_jnf.c: Likewise.
49119 * math/w_log.c: Likewise.
49120 * math/w_log10.c: Likewise.
49121 * math/w_log10f.c: Likewise.
49122 * math/w_log10l.c: Likewise.
49123 * math/w_log2.c: Likewise.
49124 * math/w_log2f.c: Likewise.
49125 * math/w_log2l.c: Likewise.
49126 * math/w_logf.c: Likewise.
49127 * math/w_logl.c: Likewise.
49128 * math/w_sqrt.c: Likewise.
49129 * math/w_sqrtf.c: Likewise.
49130 * math/w_sqrtl.c: Likewise.
49131 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49132 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49134 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49135 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49136
ebaf36eb
JM
491372012-02-19 Joseph Myers <joseph@codesourcery.com>
49138
49139 [BZ #9739]
49140 * manual/string.texi (strnlen): Use correct parameter name in
49141 equivalent expression.
49142
71c254a6
JM
491432012-02-19 Joseph Myers <joseph@codesourcery.com>
49144
49145 [BZ #11174]
49146 * manual/users.texi (seteuid): Consistently use neweuid for
49147 argument name.
49148
16d2c631
JM
491492012-02-19 Joseph Myers <joseph@codesourcery.com>
49150
49151 [BZ #13704]
49152 * manual/nss.texi (Services in the NSS configuration): Correct
49153 list of services in example configuration file.
49154
cd837b09
NB
491552012-02-19 Nick Bowler <nbowler@draconx.ca>
49156
49157 [BZ #11322]
49158 * manual/arith.texi: Remove statements about negative zero
49159 behaving identically to zero.
49160
02c4bbad
JM
491612012-02-18 Joseph Myers <joseph@codesourcery.com>
49162
49163 [BZ #5993]
49164 * manual/install.texi: Do not document upgrading from libc5.
49165
366842e7
JM
491662012-02-18 Joseph Myers <joseph@codesourcery.com>
49167
49168 [BZ #4596]
49169 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49170
dd54084d
DM
491712012-02-18 David S. Miller <davem@davemloft.net>
49172
49173 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49174 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49175 %o7 across the call.
49176 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49177 instead.
49178 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49179 SETUP_PIC_REG_LEAF.
49180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49181 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49182 * sysdeps/sparc/crtn.S: Likewise.
49183
2bcc53a3
UD
491842012-02-17 Ulrich Drepper <drepper@gmail.com>
49185
49186 * aout/Makefile: Remove.
49187
09c093b5
RK
491882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49189
49190 [BZ #13058]
49191 * manual/examples/argp-ex1.c (main): Format definition in GNU
49192 style.
49193 * manual/examples/argp-ex2.c (main): Likewise.
49194 * manual/examples/argp-ex3.c (main): Likewise.
49195 * manual/examples/argp-ex4.c (main): Likewise.
49196 * manual/examples/longopt.c (main): Use new-style prototype
49197 definition.
49198 * manual/examples/strncat.c (main): Specify return type and use
49199 (void) for arguments.
49200 * manual/examples/subopt.c (main): Use char **argv argument.
49201
2ee633a2
JM
492022012-02-17 Joseph Myers <joseph@codesourcery.com>
49203
49204 [BZ #5077]
49205 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49206 rounding modes.
49207
0520adde
FB
492082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49209
49210 [BZ #6907]
49211 * manual/string.texi (strchr): Change when strchrnul is
49212 recommended.
49213
3f4081cd
DGM
492142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49215
49216 [BZ #174]
49217 * manual/locale.texi (setlocale): Document LOCPATH.
49218
d1b10e78
JM
492192012-02-17 Joseph Myers <joseph@codesourcery.com>
49220
49221 [BZ #10210]
49222 * manual/process.texi (execle): Move @dots{} before last argument.
49223
79c6869c
PB
492242012-02-17 Paul Bolle <pebolle@tiscali.nl>
49225
49226 [BZ #12047]
49227 * manual/charset.texi (Generic Charset Conversion): Fix typo
49228 (LC_TYPE -> LC_CTYPE).
49229
cc6e48bc
NB
492302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49231
49232 [BZ #5805]
49233 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49234 (scalbnf): Likewise.
49235 (scalbnl): Likewise.
49236 (scalbln): Likewise.
49237 (scalblnf): Likewise.
49238 (scalblnl): Likewise.
49239 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49240 (vwarnx): Likewise.
49241 (verr): Likewise.
49242 (verrx): Likewise.
49243 * manual/filesys.texi (telldir): Use braces around return type.
49244 * manual/llio.texi (mmap): Add space after comma.
49245 (mmap64): Likewise.
49246 * manual/math.texi (jn): Use @var{} on parameter names.
49247 (jnf): Likewise.
49248 (jnl): Likewise.
49249 (yn): Likewise.
49250 (ynf): Likewise.
49251 (ynl): Likewise.
49252 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49253 line.
49254 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49255 "...".
49256 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49257 (sched_get_priority_max): Likewise.
49258 * manual/signal.texi (sigvec): Add space after comma.
49259 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49260 names.
49261 (if_indextoname): Likewise.
49262 (if_freenameindex): Likewise.
49263 (sendto): Use ',' instead of '.' in prototype.
49264 * manual/startup.texi (syscall): Use @dots{} instead of literal
49265 "...".
49266 * manual/stdio.texi (__fpending): Separate initial words of
49267 paragraph from @deftypefun line.
49268 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49269 "...".
49270 (vsyslog): Use @var{} on parameter names.
49271 * manual/terminal.texi (stty): Use @var{} on parameter names.
49272 * manual/users.texi (getutmp): Use @var{} on parameter names.
49273 (getutmpx): Likewise.
49274
5b23062f
JM
492752012-02-17 Joseph Myers <joseph@codesourcery.com>
49276
49277 [BZ #6884]
49278 * manual/stdio.texi (fopen): Fix typos in description of
49279 ",ccs=STRING".
49280
8dee4833
AJ
492812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49282
49283 [BZ #4026]
49284 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49285 get clock_id definition.
49286
9078ce93
TS
492872012-02-17 Thomas Schwinge <thomas@schwinge.name>
49288
49289 [BZ #4822]
49290 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49291 (madvise): Cast every argument to void on its own.
49292
3835c55f
JM
492932012-02-17 Joseph Myers <joseph@codesourcery.com>
49294
49295 [BZ #9902]
49296 * manual/startup.texi (Exit Status): Fix typo.
49297
35c47e37
JM
492982012-02-17 Joseph Myers <joseph@codesourcery.com>
49299
49300 [BZ #10140]
49301 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49302 * manual/examples/argp-ex2.c: Likewise.
49303 * manual/examples/argp-ex3.c: Likewise.
49304
e3b69ca7
RH
493052012-02-16 Richard Henderson <rth@redhat.com>
49306
49307 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49308 * sysdeps/s390/s390-32/initfini.c: Remove.
49309 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49310 * sysdeps/s390/s390-64/initfini.c: Remove.
49311
df83af67
KK
493122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49313
49314 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49315 compiler output for sysdeps/generic/initfini.c.
49316 * sysdeps/sh/elf/initfini.c: Remove file.
49317
f63f3380
DM
493182012-02-16 David S. Miller <davem@davemloft.net>
49319
fb59b3a4
DM
49320 [BZ #11494]
49321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49322
f63f3380
DM
49323 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49324 * sysdeps/sparc/crti.S: New file.
49325 * sysdeps/sparc/crtn.S: New file.
49326 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49327 * sysdeps/sparc/sparc64/Makefile: Likewise.
49328
df6a4a4a
MF
493292012-02-15 Mike Frysinger <vapier@gentoo.org>
49330
6dd8f3dc 49331 [BZ #3335]
df6a4a4a
MF
49332 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49333
1cac7236
RM
493342012-02-15 Roland McGrath <roland@hack.frob.com>
49335
d2c736f8
RM
49336 [BZ #4822]
49337 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49338
1cac7236
RM
49339 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49340 (write, read, close): Likewise.
49341 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49342
8e475601
JM
493432012-02-15 Joseph Myers <joseph@codesourcery.com>
49344
49345 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49346 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49347 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49348 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49349 <bits/signalfd.h>.
49350 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49352 bits/signalfd.h.
49353
ed656b40
MP
493542012-02-14 Marek Polacek <polacek@redhat.com>
49355
49356 * sysdeps/x86_64/crti.S: New file.
49357 * sysdeps/x86_64/crtn.S: New file.
49358 * sysdeps/x86_64/elf/initfini.c: Remove file.
49359
2a979d3a
JM
493602012-02-13 Joseph Myers <joseph@codesourcery.com>
49361
49362 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49363 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49364 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49365 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49366 <bits/inotify.h>.
49367 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49369 bits/inotify.h.
49370
2a418ac3
JM
493712012-02-13 Joseph Myers <joseph@codesourcery.com>
49372
49373 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49374 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49375 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49376 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49377 <bits/eventfd.h>.
49378 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49380 bits/eventfd.h.
49381
fb779be7
TS
493822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49383
e19e83c5
RM
49384 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49385 __feraiseexcept instead of feraiseexcept.
7c35ffed 49386
fb779be7
TS
49387 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49388 nanosleep invocations.
49389 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49390 strings, and add error checking for a nanosleep invocations.
49391
59ba27a6
PE
493922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49393
49394 Replace FSF snail mail address with URLs, as per GNU coding standards.
49395 Most of the snail mail addresses were wrong anyway, and omitting
49396 them makes the source code easier to maintain. Almost all of the
49397 changes are to license notices and to locale LC_IDENTIFICATION
49398 addresses, except for this one:
49399 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49400 not its snail mail address.
49401
57b957eb
RH
494022012-02-09 Richard Henderson <rth@twiddle.net>
49403
af850b1c
RH
49404 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49405 of kernel-features.h.
49406
57b957eb
RH
49407 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49408
6b73181a
MP
494092012-02-08 Marek Polacek <polacek@redhat.com>
49410
49411 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49412 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49413 * sysdeps/gnu/_G_config.h: Likewise.
49414 * sysdeps/generic/_G_config.h: Likewise.
49415
26ecc33a
AS
494162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49417
6c6dbc63
AS
49418 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49419 tests.
49420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49421
e216c012
AS
49422 * sysdeps/powerpc/powerpc32/crti.S: New file.
49423 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49424 * sysdeps/powerpc/powerpc64/crti.S: New file.
49425 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49426
26ecc33a
AS
49427 * Makeconfig (have-initfini): Don't set.
49428 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49429 * configure.in (nopic_initfini): Don't substitute.
49430 * config.h.in (HAVE_INITFINI): Don't #undef.
49431 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49432 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49433
3add8e13
JM
494342012-02-08 Joseph Myers <joseph@codesourcery.com>
49435
49436 Support crti.S and crtn.S provided directly by architectures.
49437 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49438 [crti.S in sysdirs] (omit-deps): Likewise.
49439 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49440 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49441 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49442 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49443 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49444 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49445 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49446 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49447 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49448 compiler output for sysdeps/generic/initfini.c.
49449 * sysdeps/i386/elf/Makefile: Remove file.
49450 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49451
a22f12b4
MP
494522012-02-07 Marek Polacek <polacek@redhat.com>
49453
49454 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49455 * sysdeps/gnu/_G_config.h: Likewise.
49456 * sysdeps/mach/hurd/_G_config.h: Likewise.
49457
148cf100
MP
494582012-02-07 Marek Polacek <polacek@redhat.com>
49459
49460 * math/Makefile (tests): Add tst-CMPLX2.
49461 * math/tst-CMPLX2.c: New file.
49462
cfdc0dd7
AS
494632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49464
84ba42c4
AS
49465 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49466
cfdc0dd7
AS
49467 * math/libm-test.inc (jn_test): Add missing L suffix.
49468
622c86f4
MP
494692012-02-06 Marek Polacek <polacek@redhat.com>
49470
49471 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49472 * sysdeps/i386/fpu/e_powf.S: Likewise.
49473 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49474 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49475 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49476 * sysdeps/i386/fpu/e_pow.S: Likewise.
49477 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49478 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49479 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49480 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49481 * sysdeps/i386/fpu/e_log2.S: Likewise.
49482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49483 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49484 * sysdeps/i386/fpu/e_powl.S: Likewise.
49485 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49486 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49487 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49488 * sysdeps/i386/fpu/e_logl.S: Likewise.
49489 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49490 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49491 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49492 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49493 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49494 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49495 * sysdeps/i386/fpu/e_log.S: Likewise.
49496 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49497 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49498 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49499 * sysdeps/i386/fpu/e_logf.S: Likewise.
49500 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49502 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49503 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49504 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49505 * sysdeps/i386/fpu/e_log10.S: Likewise.
49506 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49507 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49508 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49509 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49510 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49511 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49512 * sysdeps/i386/asm-syntax.h: Likewise.
49513 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49514 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49515 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49516 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49517 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49518 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49519 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49520 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49521 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49522 * sysdeps/powerpc/sysdep.h: Likewise.
49523 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49524 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49525
d4a54ac6
JM
495262012-02-06 Joseph Myers <joseph@codesourcery.com>
49527
49528 [BZ #411]
49529 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49530
314054ea
JM
495312012-02-06 Joseph Myers <joseph@codesourcery.com>
49532
49533 * sysdeps/i386/sysdep.h: Include <features.h>.
49534 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49535 version.
49536
d8e0ca50
JM
495372012-02-05 Joseph Myers <joseph@codesourcery.com>
49538
49539 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49540 Define.
49541 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49542 LOAD_PIC_REG_STR.
49543
b1da7dd9
JM
495442012-02-03 Joseph Myers <joseph@codesourcery.com>
49545
49546 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49547 (SETUP_PIC_REG): Use GET_PC_THUNK.
49548 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49549 macro.
49550
9a1d9254
JM
495512012-02-03 Joseph Myers <joseph@codesourcery.com>
49552
49553 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49554 for non-PIC compilation.
49555 (SETUP_PIC_REG): Add .p2align directive.
49556 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49557 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49558 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49559 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49560 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49561 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49562 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49563 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49564 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49565 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49566 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49567 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49568 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49569 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49570 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49571 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49572 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49573 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49574 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49575 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49576 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49577 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49578 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49579 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49580 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49582 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49583 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49584 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49585 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49586 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49587 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49588 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49589 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49590 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49591 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49592 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49593 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49594 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49595 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49596 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49597
65dc3b75
JM
495982012-02-03 Joseph Myers <joseph@codesourcery.com>
49599
49600 * math/tst-CMPLX.c: Include <stdio.h>.
49601
d55bf177
JM
496022012-01-31 Joseph Myers <joseph@codesourcery.com>
49603
49604 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49605 float.
49606 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49607 * sysdeps/sparc/bits/mathdef.h: Likewise.
49608
69db4f8f
MP
496092012-01-31 Marek Polacek <polacek@redhat.com>
49610
49611 * libio/libio.h: Don't define _PARAMS.
49612 * locale/programs/config.h: Don't define PARAMS.
49613 * stdlib/strtol_l.c: Likewise.
49614 (__strtol_l): Remove PARAMS from the prototype.
49615
41b81892
UD
496162012-01-31 Ulrich Drepper <drepper@gmail.com>
49617
3b49edc0
UD
49618 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49619 names. Just use the correct names. Remove unnecessary wrapper
49620 functions.
49621 * malloc/arena.c: Likewise.
49622 * malloc/hooks.c: Likewise.
49623
41b81892
UD
49624 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49625 ARENA_TEST says not to. Simplify test for creation of a new arena.
49626 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49627
27a25b6e
UD
496282012-01-30 Ulrich Drepper <drepper@gmail.com>
49629
49630 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49631 into tail calls.
49632 (update_get_addr): New function.
49633 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49634 GET_ADDR_MODULE parameter.
49635
c8a89e7d
JM
496362012-01-30 Joseph Myers <joseph@codesourcery.com>
49637
49638 * crypt/cert.c: Remove __STDC__ conditionals.
49639 * crypt/crypt-entry.c: Likewise.
49640 * crypt/crypt_util.c: Likewise.
49641 * libio/filedoalloc.c: Likewise.
49642 * libio/fileops.c: Likewise.
49643 * libio/genops.c: Likewise.
49644 * libio/iofclose.c: Likewise.
49645 * libio/iofdopen.c: Likewise.
49646 * libio/iofopen.c: Likewise.
49647 * libio/iofopen64.c: Likewise.
49648 * libio/iogetdelim.c: Likewise.
49649 * libio/iopopen.c: Likewise.
49650 * libio/obprintf.c: Likewise.
49651 * libio/oldfileops.c: Likewise.
49652 * libio/oldiofclose.c: Likewise.
49653 * libio/oldiofdopen.c: Likewise.
49654 * libio/oldiofopen.c: Likewise.
49655 * libio/oldiopopen.c: Likewise.
49656 * libio/wfiledoalloc.c: Likewise.
49657 * libio/wgenops.c: Likewise.
49658 * locale/programs/xmalloc.c: Likewise.
49659 * misc/syslog.c: Likewise.
49660 * stdio-common/xbug.c: Likewise.
49661 * string/memchr.c: Likewise.
49662 * string/memcmp.c: Likewise.
49663 * string/memrchr.c: Likewise.
49664 * string/rawmemchr.c: Likewise.
49665 * sysdeps/posix/getcwd.c: Likewise.
49666 * time/strftime_l.c: Likewise.
49667
3b100462
JM
496682012-01-30 Joseph Myers <joseph@codesourcery.com>
49669
49670 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49671 * config.make.in (config-cflags-sse2avx): Define.
49672 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49673 Fix typo.
49674
607998af
CM
496752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49676
49677 * scripts/config.guess: Update from upstream config git repository.
49678 * scripts/config.sub: Likewise.
49679
3601428f
CM
496802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49681
3ac8b282
CM
49682 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49683 (EM_NUM): Update.
49684 (R_TILEPRO_*, R_TILEGX_*): New macros.
49685
e034841e
CM
49686 * scripts/firstversions.awk: Fix bug in version range handling.
49687
540d7568
CM
49688 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49689
3601428f
CM
49690 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49691
463de862
CM
49692 * include/sys/epoll.h: New file.
49693 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49694 libc_hidden_def.
49695
73139a76
UD
496962012-01-28 Ulrich Drepper <drepper@gmail.com>
49697
96bc5b45
UD
49698 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49699 Avoid unnecessary __WORDSIZE == 64 test.
49700 (fmaxf): Use VEX format if possible.
49701 (fmax): Likewise.
49702 (fminf): Likewise.
49703 (fmin): Likewise.
49704
56f6f6a2
UD
49705 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49706 * math/math_private.h: Remove libc_fegetround* and
49707 libc_fesetround*.
49708 * sysdeps/i386/configure.in: Check for -msse2avx.
49709 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49710 also if SSE2AVX is defined.
49711 Remove libc_fegetround* and libc_fesetround*.
49712 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49713 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49714 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49715 of HAS_YMM_USABLE.
49716 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49717 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49718 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49719 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49720 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49721
73139a76
UD
49722 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49723
d73f93a4
AZ
497242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49725
49726 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49727 size is not set.
49728 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49729
6ee65ed6
UD
497302012-01-27 Ulrich Drepper <drepper@gmail.com>
49731
49732 [BZ #13618]
49733 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49734 relocation.
49735 * Makeconfig (libm): Define.
49736 * elf/Makefile: Add rules to build and run tst-relsort1.
49737 * elf/tst-relsort1.c: New file.
49738 * elf/tst-relsort1mod1.c: New file.
49739 * elf/tst-relsort1mod2.c: New file.
49740
8db21882
JM
497412012-01-27 Joseph Myers <joseph@codesourcery.com>
49742
49743 * math/s_ldexp.c: Remove __STDC__ conditionals.
49744 * math/s_ldexpf.c: Likewise.
49745 * math/s_ldexpl.c: Likewise.
49746 * math/s_nextafter.c: Likewise.
49747 * math/s_nexttowardf.c: Likewise.
49748 * math/s_significand.c: Likewise.
49749 * math/s_significandf.c: Likewise.
49750 * math/s_significandl.c: Likewise.
49751 * math/w_jnl.c: Likewise.
49752 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49753 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49754 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49755 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49756 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49758 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49759 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49760 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49761 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49762 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49764 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49765 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49766 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49767 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49768 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49769 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49770 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49771 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49772 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49773 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49774 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49775 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49776 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49777 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49778 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49779 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49780 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49781 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49782 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49783 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49784 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49785 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49786 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49787 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49788 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49789 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49790 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49791 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49792 * sysdeps/ieee754/k_standard.c: Likewise.
49793 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49794 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49795 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49796 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49797 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49798 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49799 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49800 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49801 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49802 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49803 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49804 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49805 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49806 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49807 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49808 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49809 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49810 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49811 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49812 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49813 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49814 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49815 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49816 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49817 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49818 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49819 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49822 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49823 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49824 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49825 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49826 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49827 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49828 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49829 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49830 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49831 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49832 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49833 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49835 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49836 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49837 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49838 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49839 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49840 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49841 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49842 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49843 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49844 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49845 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49846 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49847 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49848 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49849 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49850 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49851 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49852 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49853 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49854 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49855 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49856 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49857 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49858 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49859 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49860 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49861 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49862 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49863 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49864 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49865 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49866 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49867 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49868 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49869 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49870 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49871 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49872 * sysdeps/ieee754/s_matherr.c: Likewise.
49873 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49874 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49877
965a54a4
JM
498782012-01-26 Joseph Myers <joseph@codesourcery.com>
49879
49880 * crypt/md5.h: Remove __STDC__ conditionals.
49881 * libio/libioP.h: Likewise.
49882 * locale/programs/config.h: Likewise.
49883 * sysdeps/generic/sysdep.h: Likewise.
49884 * sysdeps/i386/asm-syntax.h: Likewise.
49885 * sysdeps/s390/asm-syntax.h: Likewise.
49886 * sysdeps/unix/sysdep.h: Likewise.
49887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49889
7071ad79
JM
498902012-01-26 Joseph Myers <joseph@codesourcery.com>
49891
49892 * libio/libio.h: Remove __STDC__ conditionals.
49893 * malloc/obstack.h: Likewise.
49894 * math/complex.h: Likewise.
49895 * math/math.h: Likewise.
49896 * sysdeps/generic/_G_config.h: Likewise.
49897 * sysdeps/gnu/_G_config.h: Likewise.
49898 * sysdeps/mach/hurd/_G_config.h: Likewise.
49899 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49900 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49901 * sysdeps/sparc/bits/mathdef.h: Likewise.
49902
afc5ed09
UD
499032012-01-26 Ulrich Drepper <drepper@gmail.com>
49904
49905 [BZ #13583]
49906 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49907 Clean up HAS_* macros.
afc5ed09 49908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49909 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49910 possible.
49911 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49912 HAS_AVX.
49913 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49914 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49915 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49916 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49917 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49918
bdb6de1d
JM
499192012-01-25 Joseph Myers <joseph@codesourcery.com>
49920
49921 * elf/tst-unique3.cc (gets): Remove declaration.
49922 * elf/tst-unique3lib.cc (gets): Likewise.
49923 * elf/tst-unique3lib2.cc (gets): Likewise.
49924 * elf/tst-unique4.cc (gets): Likewise.
49925
b15549e6
UD
499262012-01-24 Ulrich Drepper <drepper@gmail.com>
49927
49928 * include/stdio.h: Add C++ protection. Add gets declarations and
49929 definitions.
49930 * debug/tst-chk1.c: Don't declare gets here.
49931 * stdio-common/tst-gets.c: Likewise.
49932
a037381f
JM
499332012-01-24 Joseph Myers <joseph@codesourcery.com>
49934
49935 * posix/glob: Remove directory.
49936
f1d4aa75
JM
499372012-01-24 Joseph Myers <joseph@codesourcery.com>
49938
49939 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49940
81c0c964
PT
499412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49942
49943 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49944 of the non-standard EPFNOSUPPORT.
49945
0ea698ae
ST
499462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49947
49948 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49949 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49950 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49951
d220b117
UD
499522012-01-21 Ulrich Drepper <drepper@gmail.com>
49953
49954 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49955
3e1aa84e
UD
499562012-01-20 Ulrich Drepper <drepper@gmail.com>
49957
49958 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49959 transient errors.
49960 * nscd/grpcache.c (cache_addgr): Likewise.
49961 * nscd/hstcache.c (cache_addhst): Likewise.
49962 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49963 * nscd/pwdcache.c (cache_addpw): Likewise.
49964 * nscd/servicescache.c (cache_addserv): Likewise.
49965
400aa020
UD
499662012-01-16 Ulrich Drepper <drepper@gmail.com>
49967
d77e7869
UD
49968 * malloc/malloc.c: Various cleanups.
49969 * malloc/hooks.c: Likewise.
49970
400aa020
UD
49971 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49972 * stdlib/bug-fmtmsg1.c: New file.
49973
49974 * stdlib/fmtmsg.c (init): Add missing unlock.
49975 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49976
e0a309cf
MP
499772012-01-12 Marek Polacek <polacek@redhat.com>
49978
49979 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49980 and _GNU_SOURCE.
49981
929d11c7
WS
499822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49983
49984 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49985 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49986 macro to ensure uniqueness of label name.
49987 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49988 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49989
41d0e869
UD
499902012-01-11 Ulrich Drepper <drepper@gmail.com>
49991
0cc5ed3b
UD
49992 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49993
41d0e869
UD
49994 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49995 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49996 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49998
a47a831a
UD
499992012-01-10 Ulrich Drepper <drepper@gmail.com>
50000
daa891c0
UD
50001 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50002
50003 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50004 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50005 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50006
e58ef0f2
UD
50007 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50008
a47a831a 50009 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50010 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50011 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50013
50014 * math/bits/math-finite.h: Add ldexp support.
50015
a0bfc9c7
MP
500162012-01-10 Marek Polacek <polacek@redhat.com>
50017
50018 * locale/programs/localedef.h (show_archive_content): Add noreturn
50019 attribute.
50020
d6e97a1d
UD
500212012-01-09 Ulrich Drepper <drepper@gmail.com>
50022
50023 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50024
d5835c26
UD
500252012-01-08 Ulrich Drepper <drepper@gmail.com>
50026
e5f484c6
UD
50027 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50028
d5835c26
UD
50029 * io/Makefile (headers): Add bits/poll2.h.
50030
d1f741e9
WS
500312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50032
50033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50034 typo #include statement.
50035
ec09c1c4
UD
500362012-01-08 Ulrich Drepper <drepper@gmail.com>
50037
50038 * include/sys/cdefs.h: Define __attribute_alloc_size.
50039 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50040 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50041 * elf/pldd.c: Likewise.
50042 * iconv/iconv_charmap.c: Likewise.
50043 * iconv/iconvconfig.c: Likewise.
50044 * iconv/strtab.c: Likewise.
50045 * locale/programs/locale.c: Likewise.
50046 * locale/programs/localedef.h: Likewise.
50047 * locale/programs/simple-hash.c: Likewise.
50048 * nscd/nscd.h: Likewise.
50049 * nss/makedb.c: Likewise.
50050 * sysdeps/generic/ldconfig.h: Likewise.
50051 * locale/programs/localedef.c: Remove xmalloc prototype.
50052 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50053
20b38e03
PP
500542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50055
50056 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50057 appropriate.
50058
a0da5fe1
UD
500592012-01-08 Ulrich Drepper <drepper@gmail.com>
50060
1d5a644a 50061 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50062 * math/tst-CMPLX.c: New file.
1d5a644a 50063
8784a6db
UD
50064 * math/complex.h (CMPLXL): Fix typo.
50065
d9a216c0
UD
50066 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50067 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50068 GLIBC_2.16.
50069 * debug/tst-chk1.c: Add poll and ppoll tests.
50070 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50071 * include/sys/poll.h: Add hidden proto for ppoll.
50072 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50073 * sysdeps/mach/hurd/ppoll.c: Likewise.
50074 * io/ppoll.c: Likewise.
50075 * debug/poll_chk.c: New file.
50076 * debug/ppoll_chk.c: New file.
50077 * include/bits/poll2.h: New file.
50078 * io/bits/poll2.h: New file.
50079
ac097f5c
UD
50080 [BZ #1350]
50081 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50082
2119dcfa
UD
50083 * configure.in: static is always set to yes. Remove.
50084 * config.make.in: Don't set build-static.
50085 * Makeconfig: Remove use of build-static.
50086 * dlfcn/Makefile: Likewise.
50087 * elf/Makefile: Likewise.
50088 * math/Makefile: Likewise.
50089 * misc/Makefile: Likewise.
50090 * nptl/Makefile: Likewise.
50091 * sysdeps/mach/hurd/Makefile: Likewise.
50092
121766a9
UD
50093 * configure.in: PWD_P is not used anymore.
50094 * config.make.in: Remove PWD_P entry.
50095
51a1d39c 50096 * configure.in: Remove last remnants of RANLIB.
8720d066 50097 No need to check for signed size_t anymore.
215f4bdc
UD
50098 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50099 and IA-64.
3857022a 50100 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50101 * aclocal.m4: Likewise.
50102
d3ed7225
UD
50103 * wcsmbs/mbrtoc16.c: Implement using towc function.
50104 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50105 * wcsmbs/wcsmbsload.c: Likewise.
50106 * iconv/gconv_simple.c: Likewise.
50107 * iconv/gconv_int.h: Likewise.
50108 * iconv/gconv_builtin.h: Likewise.
50109 * iconv/iconv_prog.c: Remove CHAR16 handling.
50110
50111 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50112
50113 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50114
a0da5fe1
UD
50115 * configure.in: Remove --with-elf and --enable-bounded options.
50116 Dont set base_machine for ia64. More non-ELF conditions removed.
50117 Remove testing and setting of leading underscore information.
50118 * config.make.in (build-bounded): Set to no.
50119 * config.h.in: Remove NO_UNDERSCORES entry.
50120 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50121 them.
50122 * csu/start.c: Remove !NO_UNDERSCORE code.
50123 * locale/localeinfo.h: Likewise.
50124 * sysdeps/generic/machine-gmon.h: Likewise.
50125 * sysdeps/generic/sysdep.h: Likewise.
50126 * sysdeps/i386/sysdep.h: Likewise.
50127 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50128 * sysdeps/mach/sysdep.h: Likewise.
50129 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50130 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50131 * sysdeps/sh/sysdep.h: Likewise.
50132 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50133 * sysdeps/unix/i386/sysdep.S: Likewise.
50134 * sysdeps/unix/sparc/start.c: Likewise.
50135 * sysdeps/unix/sparc/sysdep.S: Likewise.
50136 * sysdeps/unix/sparc/sysdep.h: Likewise.
50137 * sysdeps/unix/start.c: Likewise.
50138 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50139 * sysdeps/x86_64/sysdep.h: Likewise.
50140
df78418a
UD
501412012-01-07 Ulrich Drepper <drepper@gmail.com>
50142
a784e502
UD
50143 [BZ #13553]
50144 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50145 for non-gcc.
50146 * argp/argp-fmtstream.h: Use const instead __const.
50147 * argp/argp.h: Likewise.
50148 * assert/assert.h: Likewise.
50149 * bits/fenv.h: Likewise.
50150 * bits/sched.h: Likewise.
50151 * bits/sigset.h: Likewise.
50152 * bits/sigthread.h: Likewise.
50153 * catgets/nl_types.h: Likewise.
50154 * conform/data/pthread.h-data: Likewise.
50155 * crypt/crypt-private.h: Likewise.
50156 * crypt/crypt.h: Likewise.
50157 * crypt/crypt_util.c: Likewise.
50158 * ctype/ctype.h: Likewise.
50159 * debug/execinfo.h: Likewise.
50160 * debug/mbsnrtowcs_chk.c: Likewise.
50161 * debug/mbsrtowcs_chk.c: Likewise.
50162 * debug/wcsnrtombs_chk.c: Likewise.
50163 * debug/wcsrtombs_chk.c: Likewise.
50164 * debug/wcstombs_chk.c: Likewise.
50165 * dirent/dirent.h: Likewise.
50166 * dlfcn/dlfcn.h: Likewise.
50167 * elf/neededtest4.c: Likewise.
50168 * grp/grp.h: Likewise.
50169 * gshadow/gshadow.h: Likewise.
50170 * iconv/gconv.h: Likewise.
50171 * iconv/gconv_int.h: Likewise.
50172 * iconv/gconv_simple.c: Likewise.
50173 * iconv/iconv.h: Likewise.
50174 * iconv/loop.c: Likewise.
50175 * iconv/skeleton.c: Likewise.
50176 * include/aio.h: Likewise.
50177 * include/aliases.h: Likewise.
50178 * include/argz.h: Likewise.
50179 * include/arpa/inet.h: Likewise.
50180 * include/assert.h: Likewise.
50181 * include/dirent.h: Likewise.
50182 * include/dlfcn.h: Likewise.
50183 * include/execinfo.h: Likewise.
50184 * include/fcntl.h: Likewise.
50185 * include/fenv.h: Likewise.
50186 * include/glob.h: Likewise.
50187 * include/grp.h: Likewise.
50188 * include/libintl.h: Likewise.
50189 * include/mntent.h: Likewise.
50190 * include/netdb.h: Likewise.
50191 * include/pwd.h: Likewise.
50192 * include/rpc/netdb.h: Likewise.
50193 * include/sched.h: Likewise.
50194 * include/search.h: Likewise.
50195 * include/shadow.h: Likewise.
50196 * include/signal.h: Likewise.
50197 * include/stdio.h: Likewise.
50198 * include/stdlib.h: Likewise.
50199 * include/string.h: Likewise.
50200 * include/sys/socket.h: Likewise.
50201 * include/sys/stat.h: Likewise.
50202 * include/sys/statfs.h: Likewise.
50203 * include/sys/statvfs.h: Likewise.
50204 * include/sys/syslog.h: Likewise.
50205 * include/sys/time.h: Likewise.
50206 * include/sys/uio.h: Likewise.
50207 * include/time.h: Likewise.
50208 * include/unistd.h: Likewise.
50209 * include/utmp.h: Likewise.
50210 * include/wchar.h: Likewise.
50211 * include/wctype.h: Likewise.
50212 * inet/aliases.h: Likewise.
50213 * inet/arpa/inet.h: Likewise.
50214 * inet/netinet/ether.h: Likewise.
50215 * inet/netinet/in.h: Likewise.
50216 * intl/libintl.h: Likewise.
50217 * io/bits/fcntl2.h: Likewise.
50218 * io/fcntl.h: Likewise.
50219 * io/ftw.h: Likewise.
50220 * io/sys/poll.h: Likewise.
50221 * io/sys/stat.h: Likewise.
50222 * io/sys/statfs.h: Likewise.
50223 * io/sys/statvfs.h: Likewise.
50224 * io/utime.h: Likewise.
50225 * libio/bits/stdio.h: Likewise.
50226 * libio/bits/stdio2.h: Likewise.
50227 * libio/libio.h: Likewise.
50228 * libio/libioP.h: Likewise.
50229 * libio/stdio.h: Likewise.
50230 * locale/lc-ctype.c: Likewise.
50231 * locale/locale.h: Likewise.
50232 * login/utmp.h: Likewise.
50233 * malloc/arena.c: Likewise.
50234 * malloc/malloc.c: Likewise.
50235 * malloc/malloc.h: Likewise.
50236 * malloc/mcheck.c: Likewise.
50237 * malloc/mtrace.c: Likewise.
50238 * math/bits/mathcalls.h: Likewise.
50239 * math/fenv.h: Likewise.
50240 * math/math_private.h: Likewise.
50241 * misc/bits/error.h: Likewise.
50242 * misc/bits/syslog.h: Likewise.
50243 * misc/err.h: Likewise.
50244 * misc/error.h: Likewise.
50245 * misc/fstab.h: Likewise.
50246 * misc/mntent.h: Likewise.
50247 * misc/regexp.h: Likewise.
50248 * misc/search.h: Likewise.
50249 * misc/sgtty.h: Likewise.
50250 * misc/sys/mman.h: Likewise.
50251 * misc/sys/syslog.h: Likewise.
50252 * misc/sys/uio.h: Likewise.
50253 * misc/sys/xattr.h: Likewise.
50254 * misc/ttyent.h: Likewise.
50255 * nis/rpcsvc/ypclnt.h: Likewise.
50256 * nss/nss.h: Likewise.
50257 * posix/bits/unistd.h: Likewise.
50258 * posix/fnmatch.h: Likewise.
50259 * posix/glob.h: Likewise.
50260 * posix/sched.h: Likewise.
50261 * posix/spawn.h: Likewise.
50262 * posix/sys/wait.h: Likewise.
50263 * posix/unistd.h: Likewise.
50264 * posix/wordexp.h: Likewise.
50265 * pwd/pwd.h: Likewise.
50266 * resolv/netdb.h: Likewise.
50267 * resource/sys/resource.h: Likewise.
50268 * rt/aio.h: Likewise.
50269 * rt/bits/mqueue2.h: Likewise.
50270 * rt/mqueue.h: Likewise.
50271 * shadow/shadow.h: Likewise.
50272 * signal/signal.h: Likewise.
50273 * socket/send.c: Likewise.
50274 * socket/sendto.c: Likewise.
50275 * socket/sys/socket.h: Likewise.
50276 * stdio-common/printf.h: Likewise.
50277 * stdlib/bits/stdlib.h: Likewise.
50278 * stdlib/fmtmsg.h: Likewise.
50279 * stdlib/monetary.h: Likewise.
50280 * stdlib/stdlib.h: Likewise.
50281 * stdlib/ucontext.h: Likewise.
50282 * streams/stropts.h: Likewise.
50283 * string/argz.h: Likewise.
50284 * string/bits/string2.h: Likewise.
50285 * string/string.h: Likewise.
50286 * string/strings.h: Likewise.
50287 * sunrpc/rpc/auth.h: Likewise.
50288 * sunrpc/rpc/auth_des.h: Likewise.
50289 * sunrpc/rpc/clnt.h: Likewise.
50290 * sunrpc/rpc/netdb.h: Likewise.
50291 * sunrpc/rpc/pmap_clnt.h: Likewise.
50292 * sunrpc/rpc/xdr.h: Likewise.
50293 * sysdeps/generic/inttypes.h: Likewise.
50294 * sysdeps/generic/net/if.h: Likewise.
50295 * sysdeps/generic/sys/swap.h: Likewise.
50296 * sysdeps/gnu/net/if.h: Likewise.
50297 * sysdeps/gnu/utmpx.h: Likewise.
50298 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50299 * sysdeps/i386/i486/bits/string.h: Likewise.
50300 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50301 * sysdeps/s390/bits/string.h: Likewise.
50302 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50303 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50304 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50305 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50306 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50307 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50308 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50309 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50310 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50311 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50312 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50313 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50314 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50315 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50316 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50317 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50318 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50319 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50320 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50321 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50322 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50323 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50324 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50325 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50326 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50327 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50328 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50330 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50331 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50332 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50333 * sysvipc/sys/ipc.h: Likewise.
50334 * sysvipc/sys/msg.h: Likewise.
50335 * sysvipc/sys/sem.h: Likewise.
50336 * sysvipc/sys/shm.h: Likewise.
50337 * termios/termios.h: Likewise.
50338 * time/sys/time.h: Likewise.
50339 * time/time.h: Likewise.
50340 * wcsmbs/bits/wchar2.h: Likewise.
50341 * wcsmbs/uchar.h: Likewise.
50342 * wcsmbs/wchar.h: Likewise.
50343 * wctype/wctype.h: Likewise.
50344
0269750c
UD
50345 [BZ #13551]
50346 * Makeconfig: Remove all but ELF support including AIX support.
50347 * Makerules: Likewise.
50348 * config.h.in: Likewise.
50349 * config.make.in: Likewise.
50350 * configure: Likewise.
50351 * configure.in: Likewise.
50352 * csu/Makefile: Likewise.
50353 * csu/version.c: Likewise.
50354 * debug/Makefile: Likewise.
50355 * dlfcn/Makefile: Likewise.
50356 * elf/Makefile: Likewise.
50357 * extra-lib.mk: Likewise.
50358 * iconv/Makefile: Likewise.
50359 * include/libc-symbols.h: Likewise.
50360 * include/shlib-compat.h: Likewise.
50361 * resolv/Makefile: Likewise.
50362 * resolv/res_libc.c: Likewise.
50363 * rt/Makefile: Likewise.
50364 * sysdeps/i386/asm-syntax.h: Likewise.
50365 * sysdeps/i386/sysdep.h: Likewise.
50366 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50367 * sysdeps/mach/sysdep.h: Likewise.
50368 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50369 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50370 * sysdeps/s390/asm-syntax.h: Likewise.
50371 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50372 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50373 * sysdeps/sh/sysdep.h: Likewise.
50374 * sysdeps/unix/sparc/sysdep.h: Likewise.
50375 * sysdeps/wordsize-32/divdi3.c: Likewise.
50376 * sysdeps/x86_64/sysdep.h: Likewise.
50377
00bbd29b
UD
50378 * argp/Versions: Remove _argp_unlock_xxx.
50379
50380 [BZ #13559]
50381 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50382 * abilist/libBrokenLocale.abilist: Likewise.
50383 * abilist/libanl.abilist: Likewise.
50384 * abilist/libc.abilist: Likewise.
50385 * abilist/libcrypt.abilist: Likewise.
50386 * abilist/libdl.abilist: Likewise.
50387 * abilist/libm.abilist: Likewise.
50388 * abilist/libnsl.abilist: Likewise.
50389 * abilist/libpthread.abilist: Likewise.
50390 * abilist/libresolv.abilist: Likewise.
50391 * abilist/librt.abilist: Likewise.
50392 * abilist/libthread_db.abilist: Likewise.
50393 * abilist/libutil.abilist: Likewise.
50394 * abilist/libnss_db.abilist: New file.
50395
50396 * scripts/abilist.awk: Add support for indirect functions.
50397
a2693a0e
UD
50398 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50399
3f05895f
UD
50400 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50401
ecb6fb48
UD
50402 * shlib-versions: Remove entries for ports architectures.
50403
664f8cb9
UD
50404 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50405 files in ports.
50406 * elf/stackguard-macros.h: Remove support for IA-64.
50407 * elf/tst-auditmod1.c: Likewise.
50408 * sysdeps/generic/ldsodefs.h: Likewise.
50409
7ae81d88
UD
50410 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50411 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50412 configure files.
50413
bdeba135
UD
50414 [BZ #13552]
50415 * configure.in: Remove --enable-omitfp support.
50416 * FAQ.in: Adjust.
50417 * config.make.in: Likewise.
50418 * Makeconfig: Likewise.
50419 * manual/install.texi: Likewise.
50420
d75a0a62
UD
50421 In case anyone cares, the IA-64 architecture could move to ports.
50422 * sysdeps/ia64/*: Removed.
50423 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50424 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50425
dcc9756b
UD
50426 [BZ #13555]
50427 * configure.in: Remove entries for unsupported architectures.
50428
d3761ebc 50429 [BZ #13533]
9954432e
UD
50430 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50431 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50432 routines.
50433 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50434 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50435 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50436 fall back to using wcrtomb.
50437 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50438 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50439 renaming.
50440 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50441 * wcsmbs/tst-c16c32-1.c: New file.
50442
50443 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50444 local variable.
50445
c3a87236
UD
50446 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50447
28926a1b
UD
50448 * elf/tst-unique3.cc: Add explicit declaration of gets.
50449 * elf/tst-unique3lib.cc: Likewise.
50450 * elf/tst-unique3lib2.cc: Likewise.
50451 * elf/tst-unique4.cc: Likewise.
50452
df78418a
UD
50453 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50454
8ecd6b2a
JM
504552012-01-06 Joseph Myers <joseph@codesourcery.com>
50456
50457 [BZ #13566]
50458 * assert/assert.h (static_assert): Don't define for C++.
50459 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50460 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50461
9f115170
UD
504622012-01-03 Ulrich Drepper <drepper@gmail.com>
50463
5e0d0300
UD
50464 * iconv/loop.c (single loop): Fix assertion in storing of
50465 remaining bytes.
50466
9f115170
UD
50467 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50468
81fb02b0
UD
504692012-01-01 Ulrich Drepper <drepper@gmail.com>
50470
50471 * posix/getconf.c: Update copyright year.
50472 * nss/getent.c: Likewise.
a316c1f6 50473 * nss/makedb.c: Likewise.
81fb02b0
UD
50474 * iconv/iconvconfig.c: Likewise.
50475 * iconv/iconv_prog.c: Likewise.
50476 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50477 * elf/pldd.c: Likewise.
50478 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50479 * catgets/gencat.c: Likewise.
50480 * csu/version.c: Likewise.
50481 * elf/ldd.bash.in: Likewise.
50482 * elf/sprof.c (print_version): Likewise.
50483 * locale/programs/locale.c: Likewise.
50484 * locale/programs/localedef.c: Likewise.
a316c1f6 50485 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50486 * nscd/nscd.c (print_version): Likewise.
50487 * debug/xtrace.sh: Likewise.
50488 * malloc/memusage.sh: Likewise.
50489 * malloc/mtrace.pl: Likewise.
50490 * debug/catchsegv.sh: Likewise.
50491
2ba92745
JJ
504922011-12-30 Jakub Jelinek <jakub@redhat.com>
50493
50494 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50495 pure attribute.
50496
dadebdae
UD
504972011-12-24 Ulrich Drepper <drepper@gmail.com>
50498
d3761ebc 50499 [BZ #13533]
db6af3eb
UD
50500 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50501 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50502 transformations.
50503 * iconv/gconv_int.h: Likewise.
50504 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50505 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50506 from libc for GLIBC_2.16.
50507 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50508 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50509 * wcsmbs/uchar.h: Really define mbstate_t.
50510 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50511 * wcsmbs/c16rtomb.c: New file.
50512 * wcsmbs/mbrtoc16.c: New file.
50513 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50514 for C/POSIX locale.
50515 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50516 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50517
dadebdae
UD
50518 * wcsmbs/wchar.h: Add missing __restrict.
50519
67371b56
UD
505202011-12-23 Ulrich Drepper <drepper@gmail.com>
50521
74033a25
UD
50522 [BZ #13532]
50523 * time/Makefile (routines): Add timespec_get.
50524 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50525 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50526 timespec for ISO C11.
50527 * time/timespec_get.c: New file.
50528 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50529 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50530
380d7e87
UD
50531 [BZ #13531]
50532 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50533 * stdlib/stdlib.h: Declare aligned_alloc.
50534 * Versions.def: Add GLIBC_2.16 for libc.
50535 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50536
4e9e7a35
UD
50537 [BZ 13527]
50538 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50539 ISO C11.
50540
380d7e87 50541 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50542 code.
50543
03a71829
UD
50544 [BZ #13528]
50545 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50546
839e283e
UD
50547 [BZ #13529]
50548 * assert/assert.h (static_assert): Define.
50549
ce5294e2 50550 * version.h: Update for 2.16 development version.
90fa7312 50551
8d44e150 50552 [BZ #13526]
d7809905
UD
50553 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50554 _ISOC11_SOURCE.
50555
c0da14cd
UD
50556 * version.h (RELEASE): Bump for 2.15 release.
50557 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50558
530a3249
MP
50559 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50560 Patch by Marek Polacek <mpolacek@redhat.com>.
50561
67371b56
UD
50562 * bits/byteswap.h: Protect long long constants with __extension__.
50563 * sysdeps/i386/bits/byteswap.h: Likewise.
50564 * sysdeps/ia64/bits/byteswap.h: Likewise.
50565 * sysdeps/s390/bits/byteswap.h: Likewise.
50566 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50567
15db4de1
LD
505682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50569
50570 [BZ #13540]
bbe315ea
LD
50571 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50572 destination buffer.
15db4de1
LD
50573 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50574
2b2596b1
MP
505752011-12-23 Marek Polacek <polacek@redhat.com>
50576
50577 * elf/dl-addr.c (determine_info): Add inline keyword.
50578 * elf/tst-auditmod4b.c (check_avx): Likewise.
50579 * elf/tst-auditmod6b.c (check_avx): Likewise.
50580 * elf/tst-auditmod6c.c (check_avx): Likewise.
50581 * elf/tst-auditmod7b.c (check_avx): Likewise.
50582
70c6c246
UD
505832011-12-23 Ulrich Drepper <drepper@gmail.com>
50584
50585 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50586 !__SSE_MATH__.
50587
c044cf14
LD
505882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50589
15db4de1 50590 [BZ #13540]
c044cf14
LD
50591 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50592 processing for last bytes.
50593
6b13d9d9
BH
505942011-08-06 Bruno Haible <bruno@clisp.org>
50595
d455f537
BH
50596 [BZ #13061]
50597 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50598 U+0385, not to U+1FEE.
50599
6b13d9d9
BH
50600 [BZ #13062]
50601 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50602 entry for U+00A5 U+0301.
50603
db910efd
UD
506042011-12-22 Ulrich Drepper <drepper@gmail.com>
50605
27deeafc
UD
50606 [BZ #13166]
50607 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50608 buffer for the output is too small.
50609
aed9d171
UD
50610 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50611 optimization.
50612
db910efd
UD
50613 [BZ #13185]
50614 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50615 SSE flags if possible.
50616
2bd779ae
LD
506172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50618
e7f9dac3 50619 [BZ #13540]
2bd779ae
LD
50620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50621 processing for last bytes.
50622
154bfc16
JM
506232011-12-22 Joseph Myers <joseph@codesourcery.com>
50624
50625 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50626 (syscall-list-default-options, syscall-list-default-condition)
50627 (syscall-list-includes): Define.
50628 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50629 list of ABIs and options and #if conditions for each ABI. Do not
50630 handle common syscalls between ABIs specially.
50631 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50632 Remove.
50633 (syscall-list-variants, syscall-list-32bit-options)
50634 (syscall-list-32bit-condition, syscall-list-64bit-options)
50635 (syscall-list-64bit-condition): Define.
50636 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50637 (syscall-list-variants, syscall-list-32bit-options)
50638 (syscall-list-32bit-condition, syscall-list-64bit-options)
50639 (syscall-list-64bit-condition): Define.
50640 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50641 Remove.
50642 (syscall-list-variants, syscall-list-32bit-options)
50643 (syscall-list-32bit-condition, syscall-list-64bit-options)
50644 (syscall-list-64bit-condition): Define.
50645 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50646 Remove.
50647 (syscall-list-variants, syscall-list-32bit-options)
50648 (syscall-list-32bit-condition, syscall-list-64bit-options)
50649 (syscall-list-64bit-condition): Define.
50650
21eaf3a5
UD
506512011-12-22 Ulrich Drepper <drepper@gmail.com>
50652
16c6f992
UD
50653 * locale/iso-639.def: Add brx entry.
50654
41043168
UD
50655 [BZ #13328]
50656 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50657 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50658
21eaf3a5
UD
50659 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50660 __feraiseexcept_renamed.
50661
e3a851a2
UD
506622011-12-21 Ulrich Drepper <drepper@gmail.com>
50663
4920765e
UD
50664 [BZ #13538]
50665 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50666 EPOLLET with unsigned values.
50667 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50668 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50669
e3a851a2
UD
50670 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50671 to large cancellation.
50672 * math/s_cacoshf.c: Likewise.
50673 * math/s_cacoshl.c: Likewise.
50674
b27e24b8
RK
506752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50676
50677 [BZ #13305]
aebefeee 50678 [BZ #12786]
b27e24b8
RK
50679 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50680 * math/s_cacoshf.c: Likewise.
50681 * math/s_cacoshl.c: Likewise.
50682
ee190f67
UD
506832011-12-21 Ulrich Drepper <drepper@gmail.com>
50684
50685 [BZ #13439]
50686 * iconv/gconv.h: Define __GCONV_SWAP.
50687 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50688 * iconvdata/utf-16.c: Likewise.
50689 * iconvdata/utf-32.c: Likewise.
50690
707f25df
AS
506912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50692
50693 [BZ #13524]
50694 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50695 numerator after shifting it by one limb.
50696
d2daaa1e
RÁE
506972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50698
50699 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50700 under [__USE_EXTERN_INLINES].
50701
a4647e72
UD
507022011-12-17 Ulrich Drepper <drepper@gmail.com>
50703
50704 [BZ #13446]
50705 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50706
f0b264f1
AZ
507072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50708
50709 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50710 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50711 optimized code.
50712 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50713 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50714 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50715 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50716 for strncasecmp/strncasecmp_l compilation.
50717 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50718 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50719
8ef4f244
MP
507202011-12-08 Marek Polacek <mpolacek@redhat.com>
50721
50722 [BZ #13484]
50723 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50724 of __asm__.
50725
97ac2654
UD
507262011-12-17 Ulrich Drepper <drepper@gmail.com>
50727
50728 [BZ #13506]
50729 * time/tzfile.c (__tzfile_read): Check values from file header.
50730
91d2a845
WS
507312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50732
50733 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50734 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50735 * powerpc/powerpc32/dl-start.S: Likewise.
50736 * powerpc/powerpc32/elf/start.S: Likewise.
50737 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50738 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50739 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50740 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50741 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50742 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50743 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50744 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50745 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50746 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50747 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50748 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50749 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50750 * powerpc/powerpc32/memset.S: Likewise.
50751 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50752 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50753 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50754 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50755 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50756 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50757 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50758 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50759 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50760 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50761 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50762 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50763 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50764
a1267ba1
AZ
507652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50766
50767 * math/libm-test.inc: Added more nearbyint tests.
50768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50769 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50771 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50772
ad8ac1bd
RL
507732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50774
50775 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50776 FD_CLOEXEC.
50777
1d3e4b61
UD
507782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50779
50780 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50781 Add wcscpy-ssse3 wcscpy-c.
50782 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50783 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50784 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50785 * sysdeps/x86_64/wcschr.S: New file.
50786 * sysdeps/x86_64/wcsrchr.S: New file.
50787 * string/test-strcmp.c: Remove checking of wcscmp function for
50788 wrong alignments.
50789 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50790 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50791 wcsrchr-sse2 wcsrchr-c.
50792 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50793 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50794 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50795 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50796 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50797 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50798 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50799 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50800 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50801 * wcsmbc/wcschr.c (WCSCHR): New macro.
50802
5b330a2d
UD
508032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50804
50805 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50806 * wcsmbs/test-wcsrchr.c: New file.
50807 * string/test-strrchr.c: Add wcsrchr support.
50808 (WIDE): New macro.
50809 * wcsmbs/test-wcscpy.c: New file.
50810 * string/test-strcpy.c: Add wcscpy support.
50811 (WIDE): New macro.
26428b7c 50812
f039c043
UD
508132011-12-10 Ulrich Drepper <drepper@gmail.com>
50814
50815 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50816 the inner loop.
50817
850fb039
AS
508182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50819
50820 [BZ #13472]
50821 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50822
4efbd5cb
UD
508232011-12-04 Ulrich Drepper <drepper@gmail.com>
50824
52ff5dd0 50825 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50826 Minor optimizations.
52ff5dd0 50827
4efbd5cb
UD
50828 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50829 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50830 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50831
8a426e12
UD
508322011-12-03 Ulrich Drepper <drepper@gmail.com>
50833
aff2453d
UD
50834 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50835 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50836 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50837 for gcc to avoid warnings.
50838 * inet/Makefile (tests): Add tst-checks.
50839 * inet/tst-checks.c: New file.
50840
50841 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50842 warning.
50843
50844 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50845 __wmemcmp_sse2.
50846
50847 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50848 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50849
8a426e12
UD
50850 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50851
9bea3473
UD
508522011-12-02 Ulrich Drepper <drepper@gmail.com>
50853
3a965496
UD
50854 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50855 problem.
50856
9bea3473
UD
50857 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50858
f101631b
UD
508592011-11-29 Joseph Myers <joseph@codesourcery.com>
50860
50861 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50862 conditional on GCC version.
50863 (__arch_compare_and_exchange_val_8_acq)
50864 (__arch_compare_and_exchange_val_16_acq)
50865 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50866 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50867 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50868
a98275aa
UD
508692011-12-02 Joseph Myers <joseph@codesourcery.com>
50870
50871 * sysdeps/sh/backtrace.c: New file.
50872
d4cc29a2
AS
508732011-12-02 Andreas Schwab <schwab@redhat.com>
50874
50875 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50876 parenthesis.
50877
6257af2d
AS
508782011-12-01 Andreas Schwab <schwab@redhat.com>
50879
50880 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50881 falling back to utime.
50882
b5f44c1a
AS
508832011-11-30 Andreas Schwab <schwab@redhat.com>
50884
50885 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50886 expectations for float.
50887
f3a6cc0a
AS
508882011-11-29 Andreas Schwab <schwab@redhat.com>
50889
50890 * locale/weight.h (findidx): Add parameter len.
50891 * locale/weightwc.h (findidx): Likewise.
50892 * posix/fnmatch_loop.c (FCT): Adjust caller.
50893 * posix/regcomp.c (build_equiv_class): Likewise.
50894 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50895 * posix/regexec.c (check_node_accept_bytes): Likewise.
50896 * string/strcoll_l.c (STRCOLL): Likewise.
50897 * string/strxfrm_l.c (STRXFRM): Likewise.
50898
9d65ea3a
UD
508992011-11-17 Ulrich Drepper <drepper@gmail.com>
50900
50901 * Makefile.in: Remove CVSOPT handling.
50902 * configure.in: Remove use of AC_REVISION.
50903 * iconvdata/Makefile (distribute): No need to filter out CVS.
50904 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50905 handling.
50906
5583a086
AS
509072011-11-16 Andreas Schwab <schwab@redhat.com>
50908
50909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50910 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50911 [USE_AS_STRNCASECMP_L]: Likewise.
50912 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50913 NO_TLS_DIRECT_SEG_REFS.
50914 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50915 Fix argument offsets for non-PIC.
50916 [USE_AS_STRNCASECMP_L]: Likewise.
50917 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50918 NO_TLS_DIRECT_SEG_REFS.
50919
d62a8200
UD
509202011-11-15 Ulrich Drepper <drepper@gmail.com>
50921
9d65ea3a 50922 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50923 O_CLOEXEC.
50924 * locale/loadlocale.c (_nl_load_locale): Likewise.
50925
09f93bd3
AS
509262011-11-15 Andreas Schwab <schwab@redhat.com>
50927
446514f9
AS
50928 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50929 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50930 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50931 (SYSCALL_GETTIME): Set errno on error.
50932
09f93bd3
AS
50933 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50934 count references to noai6ai_cached.
50935
312be3f9
UD
509362011-11-15 Ulrich Drepper <drepper@gmail.com>
50937
50938 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50939
50940 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50941 FD_CLOEXEC for /proc/self/maps.
50942
50943 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50944 FD_CLOEXEC for /proc/meminfo.
50945
50946 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50947 gai.conf.
50948
50949 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50950 FD_CLOEXEC for given file.
50951
50952 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50953
50954 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50955 FD_CLOEXEC for /etc/hosts.
50956 (_gethtent): Likewise.
50957
50958 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50959
50960 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50961 cancellation and set FD_CLOEXEC for /etc/netgroup.
50962
50963 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50964 reading /etc/publickey.
50965
50966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50967 allow cancellation when reading /etc/group.
50968
50969 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50970 cancellation.
50971 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50972
50973 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50974 when using data file.
50975
50976 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50977
50978 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50979 (write_nis_obj): Use "c" and "e" in fopen.
50980
50981 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50982
50983 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50984
50985 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50986
50987 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50988
50989 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50990 locale.alias.
50991
50992 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50993
50994 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50995
50996 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50997
50998 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50999 file parsing and set FD_CLOEXEC.
51000
82af0fa8
UD
510012011-11-14 Ulrich Drepper <drepper@gmail.com>
51002
51003 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51004
a5fb313c
AS
510052011-11-14 Andreas Schwab <schwab@redhat.com>
51006
51007 * malloc/arena.c (arena_get2): Don't call reused_arena when
51008 _int_new_arena failed.
51009
6abf3465
UD
510102011-11-14 Ulrich Drepper <drepper@gmail.com>
51011
51012 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51013 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51014 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51015 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51017 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51018 to compile strcasecmp and strncasecmp.
51019 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51020 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51021
51022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51023
76e3966e
UD
510242011-11-13 Ulrich Drepper <drepper@gmail.com>
51025
51026 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51027 locale-defines.sym to gen-as-const-headers.
51028 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51029 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51031 to compile strcasecmp and strncasecmp.
51032 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51033 strcasecmp_l and strncasecmp_l.
51034 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51035 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51036 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51037 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51038 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51039 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51040 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51041 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51042 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51043 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51044 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51045
ab26144e
UD
510462011-11-12 Ulrich Drepper <drepper@gmail.com>
51047
7edb22ef
UD
51048 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51049 result of SYSDEP_GETTIME_CPU to retval.
51050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51051 parameter list to macro. Remove trailing semicolon. Adjust users.
51052
9694fc44
UD
51053 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51054 variable.
51055
8ad89ef8
UD
51056 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51057 mantissa words.
51058 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51059
0c822ef9
UD
51060 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51061 from unused variable.
51062
874e0564
UD
51063 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51064 DWARF definitions.
51065 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51066 for assembling.
51067
3a2edc79
UD
51068 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51069 over namespaces.
51070
f3c2577f
UD
51071 * sunrpc/rpc_prot.c (rejected): Fix case value.
51072
294ce126
UD
51073 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51074 unsigned long long int to avoid warnings in shift.
51075
5e2b63c6
UD
51076 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51077 of use of trans.
51078 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51079 variable tmp.
51080
e7f4b08e
UD
51081 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51082 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51083 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51084
ab26144e
UD
51085 * nis/nis_table.c (nis_list): Use variable of correct type for
51086 result of __follow_path call.
51087
8a6d5255
AZ
510882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51089
51090 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51091 of math functions ceil, trunc, floor, round, and sqrt, when
51092 avaliable on the platform.
51093 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51094 name clash.
51095 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51096 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51097 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51098
aaddc98c
MP
510992011-10-30 Marek Polacek <mpolacek@redhat.com>
51100
51101 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51102 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51103
95b7042b
RM
511042011-11-11 Roland McGrath <roland@hack.frob.com>
51105
51106 * include/unistd.h: Fix __readlink return type.
51107 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51108
57769839
UD
511092011-11-11 Ulrich Drepper <drepper@gmail.com>
51110
51111 * stdlib/ucontext.h: Undo last change for makecontext.
51112
edc5984d
AS
511132011-11-11 Andreas Schwab <schwab@redhat.com>
51114
98591e58
AS
51115 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51116
edc5984d
AS
51117 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51118 * setjmp/setjmp.h: Mark functions as non-leaf.
51119 * setjmp/bits/setjmp2.h: Likewise.
51120 * stdlib/ucontext.h: Likewise.
51121
77cdc054
AS
511222011-11-10 Andreas Schwab <schwab@redhat.com>
51123
51124 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51125 (reused_arena): Don't check arena limit.
51126 (arena_get2): Atomically check arena limit.
51127
fe72eebd
UD
511282011-11-08 Ulrich Drepper <drepper@gmail.com>
51129
5f078c32
UD
51130 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51131 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51132
fe72eebd
UD
51133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51134 instructions.
51135
ae1bc2fa
AS
511362011-11-07 Andreas Schwab <schwab@redhat.com>
51137
7583a88d
AS
51138 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51139 handler when locking.
51140
ae1bc2fa
AS
51141 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51142 Fix size of allocated buffer.
51143
10fb0bfa
AS
511442011-11-04 Andreas Schwab <schwab@redhat.com>
51145
998832a4
AS
51146 [BZ #10103]
51147 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51148 declarations for long double functions.
51149 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51150
10fb0bfa
AS
51151 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51152
3d7ba52b
AS
511532011-11-03 Andreas Schwab <schwab@redhat.com>
51154
a9ae54a1
AS
51155 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51156 installed.
51157
3d7ba52b
AS
51158 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51159 is disabled.
51160
bc8db248
ST
511612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51162
51163 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51164
45b96dd6
AS
511652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51166
647776f6
AS
51167 * include/alloca.h (stackinfo_alloca_round): Define.
51168 (extend_alloca): Use it.
51169 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51170 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51171 here.
51172
d91a8b93
AS
51173 * scripts/check-local-headers.sh: Ignore libaudit.h.
51174
45b96dd6
AS
51175 * nscd/Makefile (extra-objs): Make recursively expanded.
51176
432d41ce
UD
511772011-11-01 Ulrich Drepper <drepper@gmail.com>
51178
34372fc6
UD
51179 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51180 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51181
fadb59f8
UD
51182 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51183 * posix/tst-rfc3484-2.c: Likewise.
51184 * posix/tst-rfc3484-3.c: Likewise.
51185
78239589
UD
51186 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51187 process_vm_writev.
51188 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51189 process_vm_writev.
51190 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51191 process_vm_writev from libc using GLIBC_2.15 version.
51192
432d41ce
UD
51193 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51194
02f9c6cf
PP
511952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51196
51197 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51198 stack usage.
51199
3a2c0242
UD
512002011-10-31 Ulrich Drepper <drepper@gmail.com>
51201
f4ec4833
UD
51202 [BZ #13367]
51203 * nss/getent.c (initgroups_keys): Show error message in case no group
51204 names are given.
51205
3a2c0242
UD
51206 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51207 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51208 __bump_nl_timestamp.
51209 * nscd/connections (nscd_init): When host database is served open
51210 netlink socket and request notification about configuration changes.
51211 (main_loop_poll): Track netlink file descriptor and bump timestamp
51212 in case data becomes available.
51213 (main_loop_epoll): Likewise.
51214 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51215 (database_pers_head): Add extra_data fileds.
51216 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51217 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51218 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51219 Adjust caller.
51220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51221 in6ai data, call __free_in6ai.
51222 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51223 Add -DHAVE_NETLINK.
51224 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51225 interface information. Reuse previous data if netlink timestamp
51226 is not changed.
51227 (__bump_nl_timestamp): New function.
51228 (__free_in6ai): New function.
51229
636064eb
UD
512302011-10-30 Ulrich Drepper <drepper@gmail.com>
51231
51232 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51233 close_not_cancel_no_status here.
51234 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51235
9beb2334
UD
512362011-10-29 Ulrich Drepper <drepper@gmail.com>
51237
6ef76f3b
UD
51238 [BZ #13276]
51239 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51240 return value.
51241
0ffc4f3e 51242 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51243 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51244 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51245
cb95113e
UD
512462011-07-03 Andreas Jaeger <aj@suse.de>
51247
51248 [BZ #10709]
51249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51250 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51251 * math/libm-test.inc (sin_test): Add test case.
51252
a1b560ff
UD
512532011-10-29 Ulrich Drepper <drepper@gmail.com>
51254
c9aaface
UD
51255 [BZ #13337]
51256 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51257 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51258
d272e7f1
UD
51259 * elf/chroot_canon.c (chroot_canon): Cleanups.
51260
1bc33071
UD
51261 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51262
1760874d
TJ
51263 [BZ #13335]
51264 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51265 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51266
51d91b18
UD
51267 * string/test-strchr.c: Make usable for strchrnul testing.
51268 * string/test-strchrnul.c: New file.
51269 * string/Makefile (strop-tests): Add strchrnul.
51270
a1b560ff 51271 * po/it.po: Update from translation team.
b611fb81 51272 * po/es.po: Likewise.
a1b560ff 51273
a5b81e1f
UD
512742011-10-28 Ulrich Drepper <drepper@gmail.com>
51275
fd52bc6d
UD
51276 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51277 the three constants needed as parameters. Drop the others.
51278 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51279 __m128i_strloadu_tolower.
52e4b9eb
UD
51280 Create and initialize variable zero and use it in all the places
51281 where _mm_setzero_si128 was used.
fd52bc6d 51282
a5b81e1f
UD
51283 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51284 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51285 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51286 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51287 anymore.
51288 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51289 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51290 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51291 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51292 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51293 __mpranred, __mptan.
51294 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51295 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51296 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51297 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51298 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51299 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51300 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51301 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51302 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51303
b4343346
AS
513042011-10-28 Andreas Schwab <schwab@redhat.com>
51305
0c92d8a8
AS
51306 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51307 redefine if SHARED.
51308 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51309
b4343346
AS
51310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51311 wide char related routines to wcsmbs subdir.
51312
3871f58f
AS
513132011-10-27 Andreas Schwab <schwab@redhat.com>
51314
51315 [BZ #13344]
51316 * misc/sys/cdefs.h (__THROWNL): Define.
51317 * posix/unistd.h: Use __THREADNL instead of __THREAD
51318 for memory synchronization functions.
51319
94d44d9f
RM
513202011-10-26 Roland McGrath <roland@hack.frob.com>
51321
21b64b15 51322 [BZ #13349]
94d44d9f
RM
51323 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51324 doesn't exist.
51325 * manual/stdio.texi (Obstack Streams): Node removed.
51326
f6ce9294
AS
513272011-10-26 Andreas Schwab <schwab@redhat.com>
51328
80479147
AS
51329 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51330 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51331 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51332
f6ce9294
AS
51333 * math/math_private.h (math_force_eval): Allow non-addressable
51334 arguments.
51335 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51336
618280a1
UD
513372011-10-25 Ulrich Drepper <drepper@gmail.com>
51338
e0016b11
UD
51339 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51340 file is not needed.
51341
51342 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51343 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51344 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51345 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51346 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51347 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51348 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51349 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51350 Add AVX variants.
51351 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51352 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51353 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51354 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51355 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51356 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51357 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51358 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51359 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51360 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51361 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51362 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51363 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51364 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51365 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51366 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51367 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51368 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51369 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51370
51371 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51372 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51373
618280a1
UD
51374 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51375 place. Use VEX encoding when compiling for AVX.
51376
37822576
AS
513772011-10-25 Andreas Schwab <schwab@redhat.com>
51378
1f1e1947
AS
51379 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51380 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51381
37822576
AS
51382 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51383
31ea014d
UD
513842011-10-25 Ulrich Drepper <drepper@gmail.com>
51385
d7826aa1 51386 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51387 useless if() expression.
d7826aa1
UD
51388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51389 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51390 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51391 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51392 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51393 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51394 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51395 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51396 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51397 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51398 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51399 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51400 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51401 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51402 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51403 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51404 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51405 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51406 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51407
31ea014d
UD
51408 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51409
16437fec
AS
514102011-10-25 Andreas Schwab <schwab@redhat.com>
51411
51412 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51413 condition.
51414 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51415
31d3cc00
UD
514162011-10-25 Ulrich Drepper <drepper@gmail.com>
51417
51418 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51419 .text section. Avoid duplicate constants.
51420 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51422 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51424 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51425 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51427 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51428 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51429 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51430 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51431 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51432 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51433 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51434 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51435 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51436 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51437 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51438 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51439 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51440 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51441 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51442 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51443 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51444 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51445 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51446 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51447 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51448 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51449 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51450 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51451 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51452 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51453 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51454 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51455 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51456 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51457 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51458 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51459 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51460 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51461 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51462 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51463 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51464 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51465
58985aa9
UD
514662011-10-24 Ulrich Drepper <drepper@gmail.com>
51467
202c9deb
UD
51468 * sysdeps/x86_64/dla.h: Move to ...
51469 * sysdeps/x86_64/fpu/dla.h: ...here.
51470 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51471 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51472
af968f62
UD
51473 * config.make.in: Add have-mfma4 entry.
51474 * configure.in: Substitute libc_cv_cc_fma4.
51475 * math/Makefile (dbl-only-routines): Add sincostab.
51476 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51477 Use __sincostab not sincos.
51478 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51479 name is a macro.
51480 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51483 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51484 using __copysign.
51485 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51486 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51487 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51488 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51489 and __inv.
51490 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51491 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51492 __copysign.
51493 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51494 define aliases when function name is a macro.
51495 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51496 sysdeps/ieee754/dbl-64/sincos.tbl.
51497 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51498 fma4-enabled routines.
51499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51500 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51501 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51502 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51503 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51504 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51505 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51506 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51507 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51508 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51509 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51510 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51511 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51512 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51513 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51514 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51515 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51516 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51517 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51518 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51519 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51520 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51521 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51522 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51523 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51524 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51525 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51526 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51527 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51528 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51529
58985aa9
UD
51530 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51531 rename.
51532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51539 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51540
a201fbcf
AS
515412011-10-24 Andreas Schwab <schwab@redhat.com>
51542
51543 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51544
fc2ee42a
LD
515452011-10-23 Ulrich Drepper <drepper@gmail.com>
51546
bb3129bd
UD
51547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51548
0275fff8
UD
51549 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51550 prediction.
51551 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51552
2fa2ae85
UD
51553 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51554 Remove unused variable magic_bits.
51555 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51556
fc2ee42a
LD
51557 * string/strnlen.c: Define and use STRNLEN macro.
51558 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51559 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51560 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51561 * wcsmbs/wcslen.c: Define and use WCSLEN.
51562 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51563 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51564 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51565 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51566 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51567 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51568 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51569
ce7dd29f
LD
515702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51571
51572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51573 strnlen-sse2-no-bsf.
51574 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51575 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51576 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51577 Add strnlen support.
51578 (USE_AS_STRNLEN): New macro.
51579 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51580 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51581 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51582 * sysdeps/x86_64/wcslen.S: New file.
51583
979c70a3
MZ
515842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51585
51586 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51587 XMM-moves are used for copying on small sizes.
51588
2d09f82f
LD
515892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51590
51591 * wcsmbs/Makefile (strop-tests): Add wcschr.
51592 * wcsmbs/test-wcschr.c: New file.
51593 * string/test-strchr.c: Update.
51594 Add wcschr support.
51595 (WIDE): New macro.
51596
619fccca
LD
515972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51598
2d09f82f 51599 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51600 * wcsmbs/test-wcslen.c: New file.
51601 * string/test-strlen.c: Update.
51602 Add wcslen support.
51603 (WIDE): New macro.
51604
09f699ea
UD
516052011-10-23 Ulrich Drepper <drepper@gmail.com>
51606
51607 * po/it.po: Update from translation team.
51608
95584d3b
LD
516092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51610
51611 * sysdeps/x86_64/wcscmp.S: Update.
51612 Fix wrong comparison semantics.
51613 wcscmp shall use signed comparison not unsigned.
51614 Don't use substraction to avoid overflow bug.
51615 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51616 * wcsmbc/wcscmp.c: Likewise.
51617 * string/test-strcmp.c: Likewise.
51618 Add new tests to check cases with negative values.
51619
c8b3296b
UD
516202011-10-23 Ulrich Drepper <drepper@gmail.com>
51621
51622 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51623 * sysdeps/x86_64/dla.h: ...here. New file.
51624 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51629 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51632 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51633
246ad57a
AS
516342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51635
51636 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51637 __ynl_finite aliases.
51638
a1a87169
UD
516392011-10-22 Ulrich Drepper <drepper@gmail.com>
51640
0d355eb7
UD
51641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51642
a1a87169
UD
51643 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51644 define DLA_FMA.
51645 [DLA_FMA] (EMULV): Use DLA_FMA.
51646 [DLA_FMA] (MUL12): Use EMULV.
51647 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51648 that are not needed.
51649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51656
ee2aafe0
AS
516572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51658
51659 * math/s_nan.c: Undef __nan.
51660 * math/s_nanf.c: Undef __nanf.
51661 * math/s_nanl.c: Undef __nanl.
51662 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51663 "math_private.h".
51664
bc62c2fb
UD
516652011-10-22 Ulrich Drepper <drepper@gmail.com>
51666
77425c63
UD
51667 * math/s_catan.c: Add branch predictions.
51668 * math/s_catanf.c: Likewise.
51669 * math/s_catanh.c: Likewise.
51670 * math/s_catanhf.c: Likewise.
51671 * math/s_catanhl.c: Likewise.
51672 * math/s_catanl.c: Likewise.
51673 * math/s_cexp.c: Likewise.
51674 * math/s_cexpf.c: Likewise.
51675 * math/s_cexpl.c: Likewise.
51676 * math/s_clog.c: Likewise.
51677 * math/s_clog10.c: Likewise.
51678 * math/s_clog10f.c: Likewise.
51679 * math/s_clog10l.c: Likewise.
51680 * math/s_clogf.c: Likewise.
51681 * math/s_clogl.c: Likewise.
51682 * math/s_csqrt.c: Likewise.
51683 * math/s_csqrtf.c: Likewise.
51684 * math/s_csqrtl.c: Likewise.
51685 * math/s_ctanf.c: Likewise.
51686 * math/s_ctanh.c: Likewise.
51687 * math/s_ctanhf.c: Likewise.
51688 * math/s_ctanhl.c: Likewise.
51689 * math/s_ctanl.c: Likewise.
51690
bc62c2fb
UD
51691 * math/math_private.h: Define __nan, __nanf, __nanl.
51692 * math/s_cacosh.c: Include <math_private.h>.
51693 * math/s_cacoshl.c: Likewise.
51694 * math/s_casinh.c: Likewise.
51695 * math/s_casinhf.c: Likewise.
51696 * math/s_casinhl.c: Likewise.
51697 * math/s_ccos.c: Rely entire on ccosh.
51698 * math/s_ccosf.c: Rely entire on ccoshf.
51699 * math/s_ccosl.c: Rely entirely on ccoshl.
51700 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51701 Remove tests for FE_INVALID.
51702 * math/s_ccoshf.c: Likewise.
51703 * math/s_ccoshl.c: Likewise.
51704 * math/s_csin.c: Likewise.
51705 * math/s_csinf.c: Likewise.
51706 * math/s_csinh.c Likewise.
51707 * math/s_csinhf.c: Likewise.
51708 * math/s_csinhl.c: Likewise.
51709 * math/s_csinl.c: Likewise.
51710 * math/s_ctan.c: Likewise.
51711 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51712 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51713 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51714
8ec250a4
UD
517152011-10-21 Ulrich Drepper <drepper@gmail.com>
51716
c196fed8
UD
51717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51718 compilation problems.
51719
8ec250a4
UD
51720 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51721 __builtin_expect.
51722
8d4f46c6
UD
517232011-10-20 Ulrich Drepper <drepper@gmail.com>
51724
ed72b654
UD
51725 * sysdeps/i386/configure.in: Test for -mfma4 option.
51726 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51727 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51728 COMMON_CPUID_INDEX_80000001.
51729 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51730 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51731 use it if FMA3 is not supported.
51732 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51733
8d4f46c6
UD
51734 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51735 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51736
d45c60c2
AS
517372011-10-20 Andreas Schwab <schwab@redhat.com>
51738
51739 [BZ #12892]
51740 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51741 it would create a cycle with a link time dependency.
51742
d9a4d2ab
UD
517432011-10-19 Ulrich Drepper <drepper@gmail.com>
51744
855d1560
UD
51745 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51746 instruction.
51747 * string/Makefile (strop-tests): Add rawmemchr.
51748 * string/test-rawmemchr.c: New file.
51749
d9a4d2ab
UD
51750 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51752 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51753 when compiling str{,n}casecmp and when AVX is available. Hook up
51754 new optimized code in initializers.
51755
8f3b1ffe
AS
517562011-10-19 Andreas Schwab <schwab@redhat.com>
51757
51758 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51759 __feraiseexcept instead of feraiseexcept.
51760
d38f1dba
UD
517612011-10-18 Ulrich Drepper <drepper@gmail.com>
51762
d9a8d0ab
UD
51763 * math/math_private.h: Define defaults for libc_fetestexcept and
51764 libc_feupdateenv.
51765 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51766 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51767 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51768 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51769 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51770 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51771 libc_fetestexcept and libc_feupdateenv.
51772
4855e3dd
UD
51773 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51774 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51775 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51776 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51777 libc_feholdexcept_setround.
51778
581d30e3
UD
51779 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51780 Add s_nearbyint-c and s_nearbyintf-c.
51781 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51782 nearbyintf inlines.
51783 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51784 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51785 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51786 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51787
d38f1dba
UD
51788 * math/math_private.h: Define defaults for libc_fegetround,
51789 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51790 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51791 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51792 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51793 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51794 standard functions.
51795 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51796 Remove comments and hacks for old compiler versions.
51797 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51798 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51799 libc_feholdexceptl.
51800
caa6c9d8
AS
518012011-10-18 Andreas Schwab <schwab@redhat.com>
51802
51803 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51804 (__feraiseexcept_renamed): Add __NTH.
51805 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51806 namespace violations.
51807
97c066e6
UD
518082011-10-17 Ulrich Drepper <drepper@gmail.com>
51809
99ce7b04
UD
51810 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51811
1004d182
UD
51812 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51813
228a984d
UD
51814 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51815 recently added interfaces.
51816 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51817
c8553a6a
UD
51818 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51819 about macro parameter expansion.
51820
ed22dcf6
UD
51821 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51822 __NO_MATH_INLINES is defined. Cleanups.
51823
51824 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51825 and __floorf is target has SSE4.1.
51826 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51827 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51828 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51829 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51830
b171c137
UD
51831 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51832 name.
51833 (floorf): Likewise.
51834
97c066e6
UD
51835 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51836
629f62ef
AS
518372011-10-17 Andreas Schwab <schwab@redhat.com>
51838
49a43d80
AS
51839 * misc/sys/cdefs.h: Fix last change.
51840
629f62ef
AS
51841 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51842 database lookup.
51843
e453f6cd
UD
518442011-10-16 Ulrich Drepper <drepper@gmail.com>
51845
aa78043a
UD
51846 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51847
ad0f5cad
UD
51848 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51849 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51850 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51851 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51852 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51853 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51854 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51855 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51856 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51857 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51858 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51859 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51860 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51861 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51862 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51863 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51864 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51865 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51866 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51867 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51868 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51869 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51870
51871 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51872 ceil, ceilf, floor, floorf.
51873
51874 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51875 Perform IRELATIVE relocations last.
51876
e453f6cd
UD
51877 * elf/do-rel.h: Add another parameter nrelative, replacing the
51878 local variable with the same name. Change name of the function
51879 to end in Rel or Rela (uppercase).
51880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51881 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51882 elf_dynamic_do_##reloc function.
51883
fd5bdc09
UD
518842011-10-15 Ulrich Drepper <drepper@gmail.com>
51885
79b195b5
UD
51886 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51887 is sufficient, at least on modern CPUs.
51888
d4a28569
UD
51889 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51890
b61099b5
UD
51891 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51892 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51893
bcf01e6d
UD
51894 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51895 __expl_finite.
51896 * math/bits/math-finite.h: Add entries for exp.
51897 * math/e_expl.c: Add __*_finite alias.
51898 * sysdeps/i386/fpu/e_exp.S: Likewise.
51899 * sysdeps/i386/fpu/e_expf.S: Likewise.
51900 * sysdeps/i386/fpu/e_expl.c: Likewise.
51901 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51902 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51903 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51905 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51906 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51907 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51908
ba1a0d59
UD
51909 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51910 is sufficient, at least on modern CPUs.
51911
fd5bdc09
UD
51912 * ctype/ctype-info.c (__ctype_init): Define.
51913 * include/ctype.h (__ctype_init): Declare.
51914 (__ctype_b_loc): The variable is always initialized.
51915 (__ctype_toupper_loc): Likewise.
51916 (__ctype_tolower_loc): Likewise.
51917 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51918 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51919
7872cfb0
AS
519202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51921
b468825a
AS
51922 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51923
7872cfb0
AS
51924 * configure.in: Also look in $cxxmachine/include for C++ system
51925 headers.
51926
be13f7bf
LD
519272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51928
51929 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51930 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51931 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51932 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51933 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51934 (USE_AS_WMEMCMP): New macro.
51935 Fixing indents.
51936 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51937 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51938 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51939 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51941 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51942 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51943 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51944 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51945 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51946 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51947 (USE_AS_WMEMCMP): New macro.
51948 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51949 * sysdeps/string/test-memcmp.c: Update.
51950 Fix simple_wmemcmp.
51951 Add new tests.
51952 * wcsmbs/wmemcmp.c: Update.
51953 (WMEMCMP): New macro.
51954 Fix overflow bug.
51955
556a2007
AJ
519562011-10-12 Andreas Jaeger <aj@suse.de>
51957
51958 [BZ #13268]
51959 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51960
538faaa7
UD
519612011-10-15 Ulrich Drepper <drepper@gmail.com>
51962
ab6737ff
UD
51963 * libio/iofwide.c (do_length): Avoid warning.
51964
538faaa7
UD
51965 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51966
396a21b1
UD
519672011-10-14 Ulrich Drepper <drepper@gmail.com>
51968
cdf2901f
UD
51969 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51970
38ad40ce
UD
51971 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51972 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51973 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51974 * sysdeps/i386/i686/fpu/e_log.S: New file.
51975 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51976 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51977
396a21b1
UD
51978 * ctype/ctype.h: Add support for inlined isXXX functions when
51979 compiling C++ code.
51980
6b1f68c9
AS
519812011-10-14 Andreas Schwab <schwab@redhat.com>
51982
349290c0
AS
51983 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51984
6b1f68c9
AS
51985 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51986
f2282d42
RM
519872011-10-13 Roland McGrath <roland@hack.frob.com>
51988
51989 [BZ #13291]
51990 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51991
5298ffa8
AS
519922011-10-13 Andreas Schwab <schwab@redhat.com>
51993
714fad23
AS
51994 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51995 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51996 feraiseexcept.
51997
81dcc7fb
AS
51998 * sysdeps/x86_64/memrchr.S: Check for zero size.
51999
5298ffa8
AS
52000 * string/stratcliff.c: Add memrchr tests.
52001
951fbcec
LD
520022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52003
52004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52005 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52006 rawmemchr-sse2 rawmemchr-sse2-bsf.
52007 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52008 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52009 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52010 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52011 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52012 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52013 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52014 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52015 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52016 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52017 * string/memrchr.c (MEMRCHR): New macro.
52018
0ac5ae23
UD
520192011-10-12 Ulrich Drepper <drepper@gmail.com>
52020
52021 Add integration with gcc's -ffinite-math-only and optimize wrapper
52022 functions in libm.
52023 * Versions.def: Define GLIBC_2.15 version for libm.
52024 * math/Makefile (headers): Add bits/math-finite.h.
52025 * math/bits/math-finite.h: New file.
52026 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52027 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52028 * math/e_acoshl.c: Add __*_finite alias.
52029 * math/e_acosl.c: Likewise.
52030 * math/e_asinl.c: Likewise.
52031 * math/e_atan2l.c: Likewise.
52032 * math/e_atanhl.c: Likewise.
52033 * math/e_coshl.c: Likewise.
52034 * math/e_exp10.c: Likewise.
52035 * math/e_exp10f.c: Likewise.
52036 * math/e_exp10l.c: Likewise.
52037 * math/e_exp2l.c: Likewise.
52038 * math/e_fmodl.c: Likewise.
52039 * math/e_gammal_r.c: Likewise.
52040 * math/e_hypotl.c: Likewise.
52041 * math/e_j0l.c: Likewise.
52042 * math/e_j1l.c: Likewise.
52043 * math/e_jnl.c: Likewise.
52044 * math/e_lgammal_r.c: Likewise.
52045 * math/e_log10l.c: Likewise.
52046 * math/e_log2l.c: Likewise.
52047 * math/e_logl.c: Likewise.
52048 * math/e_powl.c: Likewise.
52049 * math/e_sinhl.c: Likewise.
52050 * math/e_sqrtl.c: Likewise.
52051 * math/e_scalb.c: Completely rewritten and optimized.
52052 * math/e_scalbf.c: Likewise.
52053 * math/e_scalbl.c: Likewise.
52054 * math/w_acos.c: Likewise.
52055 * math/w_acosf.c: Likewise.
52056 * math/w_acosl.c: Likewise.
52057 * math/w_acosh.c: Likewise.
52058 * math/w_acoshf.c: Likewise.
52059 * math/w_acoshl.c: Likewise.
52060 * math/w_asin.c: Likewise.
52061 * math/w_asinf.c: Likewise.
52062 * math/w_asinl.c: Likewise.
52063 * math/w_atan2.c: Likewise.
52064 * math/w_atan2f.c: Likewise.
52065 * math/w_atan2l.c: Likewise.
52066 * math/w_atanh.c: Likewise.
52067 * math/w_atanhf.c: Likewise.
52068 * math/w_atanhl.c: Likewise.
52069 * math/w_exp10.c: Likewise.
52070 * math/w_exp10f.c: Likewise.
52071 * math/w_exp10l.c: Likewise.
52072 * math/w_fmod.c: Likewise.
52073 * math/w_fmodf.c: Likewise.
52074 * math/w_fmodl.c: Likewise.
52075 * math/w_j0.c: Likewise.
52076 * math/w_j0f.c: Likewise.
52077 * math/w_j0l.c: Likewise.
52078 * math/w_j1.c: Likewise.
52079 * math/w_j1f.c: Likewise.
52080 * math/w_j1l.c: Likewise.
52081 * math/w_jn.c: Likewise.
52082 * math/w_jnf.c: Likewise.
52083 * math/w_log.c: Likewise.
52084 * math/w_logf.c: Likewise.
52085 * math/w_logl.c: Likewise.
52086 * math/w_log10.c: Likewise.
52087 * math/w_log10f.c: Likewise.
52088 * math/w_log10l.c: Likewise.
52089 * math/w_log2.c: Likewise.
52090 * math/w_log2f.c: Likewise.
52091 * math/w_log2l.c: Likewise.
52092 * math/w_pow.c: Likewise.
52093 * math/w_powf.c: Likewise.
52094 * math/w_powl.c: Likewise.
52095 * math/w_remainder.c: Likewise.
52096 * math/w_remainderf.c: Likewise.
52097 * math/w_remainderl.c: Likewise.
52098 * math/w_scalb.c: Likewise.
52099 * math/w_scalbf.c: Likewise.
52100 * math/w_scalbl.c: Likewise.
52101 * math/w_sqrt.c: Likewise.
52102 * math/w_sqrtf.c: Likewise.
52103 * math/w_sqrtl.c: Likewise.
52104 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52105 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52106 used.
52107 * math/math_private.h: Declare __kernel_standard_f.
52108 * math/w_cosh.c: Remove cruft and optimize a bit.
52109 * math/w_coshf.c: Likewise.
52110 * math/w_coshl.c: Likewise.
52111 * math/w_exp2.c: Likewise.
52112 * math/w_exp2f.c: Likewise.
52113 * math/w_exp2l.c: Likewise.
52114 * math/w_hypot.c: Likewise.
52115 * math/w_hypotf.c: Likewise.
52116 * math/w_hypotl.c: Likewise.
52117 * math/w_lgamma.c: Likewise.
52118 * math/w_lgamma_r.c: Likewise.
52119 * math/w_lgammaf.c: Likewise.
52120 * math/w_lgammaf_r.c: Likewise.
52121 * math/w_lgammal.c: Likewise.
52122 * math/w_lgammal_r.c: Likewise.
52123 * math/w_sinh.c: Likewise.
52124 * math/w_sinhf.c: Likewise.
52125 * math/w_sinhl.c: Likewise.
52126 * math/w_tgamma.c: Likewise.
52127 * math/w_tgammaf.c: Likewise.
52128 * math/w_tgammal.c: Likewise.
52129 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52130 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52131 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52132 Minor optimizations. Pretty printing. Remove cruft.
52133 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52134 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52135 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52136 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52137 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52138 * sysdeps/i386/fpu/e_asin.S: Likewise.
52139 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52140 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52141 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52142 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52143 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52144 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52145 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52146 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52147 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52148 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52149 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52150 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52151 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52152 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52153 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52154 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52155 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52156 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52157 * sysdeps/i386/fpu/e_log.S: Likewise.
52158 * sysdeps/i386/fpu/e_log10.S: Likewise.
52159 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52160 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52161 * sysdeps/i386/fpu/e_log2.S: Likewise.
52162 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52163 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52164 * sysdeps/i386/fpu/e_logf.S: Likewise.
52165 * sysdeps/i386/fpu/e_logl.S: Likewise.
52166 * sysdeps/i386/fpu/e_pow.S: Likewise.
52167 * sysdeps/i386/fpu/e_powf.S: Likewise.
52168 * sysdeps/i386/fpu/e_powl.S: Likewise.
52169 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52170 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52171 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52172 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52173 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52174 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52175 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52176 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52177 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52178 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52179 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52181 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52182 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52183 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52184 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52185 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52186 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52187 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52188 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52191 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52194 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52195 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52196 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52197 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52198 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52199 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52202 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52203 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52204 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52205 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52206 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52207 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52208 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52209 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52210 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52211 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52212 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52213 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52214 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52215 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52216 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52217 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52218 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52219 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52220 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52221 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52223 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52224 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52225 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52226 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52227 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52228 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52229 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52230 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52231 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52232 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52233 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52234 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52235 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52236 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52237 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52238 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52239 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52240 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52242 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52243 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52244 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52245 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52246 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52247 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52248 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52249 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52250 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52251 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52252 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52253 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52254 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52255 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52256 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52257 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52258 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52259 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52260 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52261 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52262 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52263 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52264 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52265 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52266 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52267 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52268 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52269 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52270 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52271 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52272 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52273 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52274 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52275 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52276 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52277 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52278 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52279 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52280 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52281 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52282 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52283 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52284 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52285 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52286 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52287 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52288 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52289 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52290 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52291 (__isnanf): Likewise.
52292 (__isinf_ns): Likewise.
52293 (__isinf_nsf): Likewise.
52294 (__finite): Likewise.
52295 (__finitef): Likewise.
52296 (__ieee754_sqrt): Define as macro.
52297 (__ieee754_sqrtf): Define as macro.
52298 (__ieee754_sqrtl): Define as macro.
52299 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52300 inlined copy.
52301 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52302 __FINITE_MATH_ONLY__ consistent.
52303 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52304
12cc2fcd
AS
523052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52306
a843a204
AS
52307 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52308 of rawmemchr.
52309
12cc2fcd
AS
52310 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52311
c853acd5
UD
523122011-10-09 Ulrich Drepper <drepper@gmail.com>
52313
52314 * po/ja.po: Update from translation team.
52315
c658d255
RM
523162011-10-08 Roland McGrath <roland@hack.frob.com>
52317
110946e4
RM
52318 * locale/programs/locarchive.c (prepare_address_space): New function.
52319 (create_archive, enlarge_archive, open_archive): Use it.
52320
50604220
RM
52321 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52322 inside [SHARED], where it is used.
52323
c658d255
RM
52324 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52325
52326 * nss/getent.c (netgroup_keys): Remove unused variable.
52327 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52328
6a621eb7
UD
523292011-10-08 Ulrich Drepper <drepper@gmail.com>
52330
7edb55ce
UD
52331 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52332 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52333 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52334 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52335 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52336 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52337 * math/Makefile (libm-calls): Add s_isinf_ns.
52338 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52339 * math/multc3.c: Likewise.
52340 * math/s_casin.c: Likewise.
52341 * math/s_casinf.c: Likewise.
52342 * math/s_casinl.c: Likewise.
52343 * math/s_ccos.c: Likewise.
52344 * math/s_ccosf.c: Likewise.
52345 * math/s_ccosl.c: Likewise.
52346 * math/s_ctan.c: Likewise.
52347 * math/s_ctanf.c: Likewise.
52348 * math/s_ctanh.c: Likewise.
52349 * math/s_ctanhf.c: Likewise.
52350 * math/s_ctanhl.c: Likewise.
52351 * math/s_ctanl.c: Likewise.
52352 * math/w_fmod.c: Likewise.
52353 * math/w_fmodf.c: Likewise.
52354 * math/w_fmodl.c: Likewise.
52355 * math/w_remainder.c: Likewise.
52356 * math/w_remainderf.c: Likewise.
52357 * math/w_remainderl.c: Likewise.
52358 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52359 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52360 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52361 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52362 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52363 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52364 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52365 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52366
187da0ae
UD
52367 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52368 of the number.
52369 * stdio-common/printf_fphex.c: Likewise.
52370 * stdio-common/printf_size.c: Likewise.
52371
9277c064
UD
52372 * math/e_exp10.c: Include math_private.h using <...> not "...".
52373 * math/e_exp10f.c: Likewise.
52374 * math/e_exp10l.c: Likewise.
52375 * math/e_exp2l.c: Likewise.
52376 * math/e_j0l.c: Likewise.
52377 * math/e_j1l.c: Likewise.
52378 * math/e_jnl.c: Likewise.
52379 * math/e_lgammal_r.c: Likewise.
52380 * math/e_rem_pio2l.c: Likewise.
52381 * math/e_scalb.c: Likewise.
52382 * math/e_scalbf.c: Likewise.
52383 * math/e_scalbl.c: Likewise.
52384 * math/k_cosl.c: Likewise.
52385 * math/k_sinl.c: Likewise.
52386 * math/k_tanl.c: Likewise.
52387 * math/s_cacoshf.c: Likewise.
52388 * math/s_catan.c: Likewise.
52389 * math/s_catanf.c: Likewise.
52390 * math/s_catanh.c: Likewise.
52391 * math/s_catanhf.c: Likewise.
52392 * math/s_catanhl.c: Likewise.
52393 * math/s_catanl.c: Likewise.
52394 * math/s_ccosh.c: Likewise.
52395 * math/s_ccoshf.c: Likewise.
52396 * math/s_ccoshl.c: Likewise.
52397 * math/s_cexp.c: Likewise.
52398 * math/s_cexpf.c: Likewise.
52399 * math/s_cexpl.c: Likewise.
52400 * math/s_clog.c: Likewise.
52401 * math/s_clog10.c: Likewise.
52402 * math/s_clog10f.c: Likewise.
52403 * math/s_clog10l.c: Likewise.
52404 * math/s_clogf.c: Likewise.
52405 * math/s_clogl.c: Likewise.
52406 * math/s_csin.c: Likewise.
52407 * math/s_csinf.c: Likewise.
52408 * math/s_csinh.c: Likewise.
52409 * math/s_csinhf.c: Likewise.
52410 * math/s_csinhl.c: Likewise.
52411 * math/s_csinl.c: Likewise.
52412 * math/s_csqrt.c: Likewise.
52413 * math/s_csqrtf.c: Likewise.
52414 * math/s_csqrtl.c: Likewise.
52415 * math/s_ctan.c: Likewise.
52416 * math/s_ctanf.c: Likewise.
52417 * math/s_ctanh.c: Likewise.
52418 * math/s_ctanhf.c: Likewise.
52419 * math/s_ctanhl.c: Likewise.
52420 * math/s_ctanl.c: Likewise.
52421 * math/s_ldexp.c: Likewise.
52422 * math/s_ldexpf.c: Likewise.
52423 * math/s_ldexpl.c: Likewise.
52424 * math/s_significand.c: Likewise.
52425 * math/s_significandf.c: Likewise.
52426 * math/s_significandl.c: Likewise.
52427 * math/w_acos.c: Likewise.
52428 * math/w_acosf.c: Likewise.
52429 * math/w_acosh.c: Likewise.
52430 * math/w_acoshf.c: Likewise.
52431 * math/w_acoshl.c: Likewise.
52432 * math/w_acosl.c: Likewise.
52433 * math/w_asin.c: Likewise.
52434 * math/w_asinf.c: Likewise.
52435 * math/w_asinl.c: Likewise.
52436 * math/w_atan2.c: Likewise.
52437 * math/w_atan2f.c: Likewise.
52438 * math/w_atan2l.c: Likewise.
52439 * math/w_atanh.c: Likewise.
52440 * math/w_atanhf.c: Likewise.
52441 * math/w_atanhl.c: Likewise.
52442 * math/w_cosh.c: Likewise.
52443 * math/w_coshf.c: Likewise.
52444 * math/w_coshl.c: Likewise.
52445 * math/w_dremf.c: Likewise.
52446 * math/w_exp10.c: Likewise.
52447 * math/w_exp10f.c: Likewise.
52448 * math/w_exp10l.c: Likewise.
52449 * math/w_exp2.c: Likewise.
52450 * math/w_exp2f.c: Likewise.
52451 * math/w_fmod.c: Likewise.
52452 * math/w_fmodf.c: Likewise.
52453 * math/w_fmodl.c: Likewise.
52454 * math/w_hypot.c: Likewise.
52455 * math/w_hypotf.c: Likewise.
52456 * math/w_hypotl.c: Likewise.
52457 * math/w_j0.c: Likewise.
52458 * math/w_j0f.c: Likewise.
52459 * math/w_j0l.c: Likewise.
52460 * math/w_j1.c: Likewise.
52461 * math/w_j1f.c: Likewise.
52462 * math/w_j1l.c: Likewise.
52463 * math/w_jn.c: Likewise.
52464 * math/w_jnf.c: Likewise.
52465 * math/w_jnl.c: Likewise.
52466 * math/w_lgamma.c: Likewise.
52467 * math/w_lgamma_r.c: Likewise.
52468 * math/w_lgammaf.c: Likewise.
52469 * math/w_lgammaf_r.c: Likewise.
52470 * math/w_lgammal.c: Likewise.
52471 * math/w_lgammal_r.c: Likewise.
52472 * math/w_log.c: Likewise.
52473 * math/w_log10.c: Likewise.
52474 * math/w_log10f.c: Likewise.
52475 * math/w_log10l.c: Likewise.
52476 * math/w_log2.c: Likewise.
52477 * math/w_log2f.c: Likewise.
52478 * math/w_log2l.c: Likewise.
52479 * math/w_logf.c: Likewise.
52480 * math/w_logl.c: Likewise.
52481 * math/w_pow.c: Likewise.
52482 * math/w_powf.c: Likewise.
52483 * math/w_powl.c: Likewise.
52484 * math/w_remainder.c: Likewise.
52485 * math/w_remainderf.c: Likewise.
52486 * math/w_remainderl.c: Likewise.
52487 * math/w_scalb.c: Likewise.
52488 * math/w_scalbf.c: Likewise.
52489 * math/w_scalbl.c: Likewise.
52490 * math/w_sinh.c: Likewise.
52491 * math/w_sinhf.c: Likewise.
52492 * math/w_sinhl.c: Likewise.
52493 * math/w_sqrt.c: Likewise.
52494 * math/w_sqrtf.c: Likewise.
52495 * math/w_sqrtl.c: Likewise.
52496 * math/w_tgamma.c: Likewise.
52497 * math/w_tgammaf.c: Likewise.
52498 * math/w_tgammal.c: Likewise.
52499
6a621eb7
UD
52500 * po/ja.po: Update from translation team.
52501
bf582445
AJ
525022011-09-29 Andreas Jaeger <aj@suse.de>
52503
f9efbf3a
AJ
52504 [BZ #13179]
52505 * sunrpc/netname.c (netname2host): Fix logic.
52506
bf582445
AJ
52507 [BZ #6779]
52508 [BZ #6783]
52509 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52510 correctly.
52511 * math/w_remainder.c (__remainder): Likewise.
52512 * math/w_remainderf.c (__remainderf): Likewise.
52513 * math/libm-test.inc (remainder_test): Add test cases.
52514
48693bea
AK
525152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52516
52517 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52518 sdiv_qrnnd.
52519
42622229
LD
525202011-10-07 Ulrich Drepper <drepper@gmail.com>
52521
52522 * string/test-memcmp.c: Avoid unncessary #defines.
52523 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52524
093ecf92
LD
525252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52526
52527 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52528 Use new sse2 version for core i3 - i7 as it's faster
52529 than sse42 version.
52530 (bit_Prefer_PMINUB_for_stringop): New.
52531 * sysdeps/x86_64/rawmemchr.S: Update.
52532 Replace with faster SSE2 version.
52533 * sysdeps/x86_64/memrchr.S: New file.
52534 * sysdeps/x86_64/memchr.S: Update.
52535 Replace with faster SSE2 version.
52536
fde56e5c
MP
525372011-09-12 Marek Polacek <mpolacek@redhat.com>
52538
52539 * elf/dl-load.c (lose): Add cast to avoid warning.
52540
21fd49a9
UD
525412011-10-07 Ulrich Drepper <drepper@gmail.com>
52542
5a06e643
UD
52543 * po/ca.po: Update from translation team.
52544
684ae515
UD
52545 * inet/getnetgrent_r.c: Hook up nscd.
52546 * nscd/Makefile (routines): Add nscd_netgroup.
52547 (nscd-modules): Add netgroupcache.
52548 (CFLAGS-netgroupcache.c): Define.
52549 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52550 (cache_search): Add const to second parameter.
52551 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52552 INNETGR.
52553 (dbs): Add netgrdb entry.
52554 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52555 (verify_persistent_db): Handle netgrdb.
52556 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52557 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52558 GETFDNETGR.
52559 (netgroup_response_header): Define.
52560 (innetgroup_response_header): Define.
52561 (datahead): Add netgroup_response_header and innetgroup_response_header
52562 elements.
52563 * nscd/nscd.conf: Add entries for netgroup cache.
52564 * nscd/nscd.h (dbtype): Add netgrdb.
52565 (_PATH_NSCD_NETGROUP_DB): Define.
52566 (netgroup_iov_disabled): Declare.
52567 (xmalloc, xcalloc, xrealloc): Move declarations here.
52568 (cache_search): Adjust prototype.
52569 Add netgroup-related prototypes.
52570 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52571 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52572 (__nscd_innetgr): Declare.
52573 * nscd/selinux.c (perms): Use access_vector_t as element type and
52574 add netgroup-related initializers.
52575 * nscd/netgroupcache.c: New file.
52576 * nscd/nscd_netgroup.c: New file.
52577 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52578 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52579 For four parameters use innetgr.
52580 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52581 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52582 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52583 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52584
21fd49a9
UD
52585 * nscd/connections.c (register_traced_file): Don't register file
52586 for disabled databases.
52587
054c0457
UD
525882011-10-06 Ulrich Drepper <drepper@gmail.com>
52589
32b63198
UD
52590 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52591
054c0457
UD
52592 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52593 from tree and freeing node.
52594
64031225
JO
525952011-09-25 Jiri Olsa <jolsa@redhat.com>
52596
52597 * nss/nsswitch.c (__nss_database_lookup): Handle
52598 nss_parse_service_list out of memory case.
52599
0490345c
JO
526002011-09-15 Jiri Olsa <jolsa@redhat.com>
52601
52602 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52603 out of memory case.
52604
3a62d00d
AS
526052011-10-04 Andreas Schwab <schwab@redhat.com>
52606
52607 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52608 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52609 pass it down.
52610 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52611 elf_machine_rela, elf_machine_lazy_rel.
52612 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52613 (ELF_DYNAMIC_DO_REL): Likewise.
52614 (ELF_DYNAMIC_DO_RELA): Likewise.
52615 (ELF_DYNAMIC_RELOCATE): Likewise.
52616 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52617 to ELF_DYNAMIC_DO_REL.
52618 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52619 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52620 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52621 elf_machine_rela.
52622 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52623 skip_ifunc, don't call ifunc function if non-zero.
52624 (elf_machine_rela): Likewise.
52625 (elf_machine_lazy_rel): Likewise.
52626 (elf_machine_lazy_rela): Likewise.
52627 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52628 (elf_machine_lazy_rel): Likewise.
52629 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52630 Likewise.
52631 (elf_machine_lazy_rel): Likewise.
52632 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52633 Likewise.
52634 (elf_machine_lazy_rel): Likewise.
52635 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52636 (elf_machine_lazy_rel): Likewise.
52637 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52638 (elf_machine_lazy_rel): Likewise.
52639 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52640 (elf_machine_lazy_rel): Likewise.
52641 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52642 (elf_machine_lazy_rel): Likewise.
52643 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52644 (elf_machine_lazy_rel): Likewise.
52645 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52646 (elf_machine_lazy_rel): Likewise.
52647
68577918
UD
526482011-09-28 Ulrich Drepper <drepper@gmail.com>
52649
52650 * nss/nss_files/files-init.c (_nss_files_init): Use static
52651 initialization for all the *_traced_file variables.
52652
68822d74
AS
526532011-09-28 Andreas Schwab <schwab@redhat.com>
52654
52655 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52656
2056100b
RM
526572011-09-27 Roland McGrath <roland@hack.frob.com>
52658
52659 [BZ #13226]
52660 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52661
32c76b63
AS
526622011-09-27 Andreas Schwab <schwab@redhat.com>
52663
52664 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52665 Reread the line before reparsing it.
52666
bf972c9d
AS
526672011-09-26 Andreas Schwab <schwab@redhat.com>
52668
52669 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52670
e057a1b5
JM
526712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52672 Maxim Kuvyrkov <maxim@codesourcery.com>
52673 Joseph Myers <joseph@codesourcery.com>
52674
52675 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52676 if needed for __stack_chk_guard.
52677
bc7e1c36
RM
526782011-09-19 Roland McGrath <roland@hack.frob.com>
52679
ecb1482f
RM
52680 * sysdeps/posix/spawni.c (script_execute): Always define it.
52681 It will be optimized away if unused.
52682 (maybe_script_execute): New function.
52683 (__spawni): Call it.
52684
bc7e1c36
RM
52685 * Makerules: Don't include tls.make.
52686 (config-tls): Always set to thread.
52687 * tls.make.c: File removed.
52688
1c3b002b
MF
526892011-09-19 Mike Frysinger <vapier@gentoo.org>
52690
52691 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52692 * config.make.in (CPPFLAGS-config): New substituted variable.
52693
2840865d
UD
526942011-09-15 Ulrich Drepper <drepper@gmail.com>
52695
88738eb6
UD
52696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52697
cbf645a6 52698 [BZ #13192]
2840865d
UD
52699 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52700 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52701
b402e91a
RM
527022011-09-15 Roland McGrath <roland@hack.frob.com>
52703
52704 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52705 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52707 (CALL_FAIL): Likewise.
52708 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52709 (CALL_FAIL): Macro removed.
52710 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52711
4c1a1f71
UD
527122011-09-15 Ulrich Drepper <drepper@gmail.com>
52713
52714 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52715 for __FINITE_MATH_ONLY__ == 1.
52716
edc121be
AS
527172011-09-15 Andreas Schwab <schwab@redhat.com>
52718
52719 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52720 __ieee754_sqrt instead of sqrt.
52721 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52722 __ieee754_sqrtf instead of sqrtf.
52723 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52724 __floorf instead of floorf.
52725 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52726 __floorf, __truncf instead of floorf, truncf.
52727
cd205654
UD
527282011-09-14 Ulrich Drepper <drepper@gmail.com>
52729
ee4d0315
UD
52730 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52731
cd205654
UD
52732 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52733 __extern_always_inline.
52734 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52735 32-bit.
52736
48b67d71
AS
527372011-09-14 Andreas Schwab <schwab@redhat.com>
52738
52739 * elf/rtld.c (dl_main): Also relocate in dependency order when
52740 doing symbol dependency testing.
52741
1ae12c75
AS
527422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52743
52744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52745 Always define `refsym'.
52746
995a80df
AS
527472011-09-13 Andreas Schwab <schwab@redhat.com>
52748
e529793b
AS
52749 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52750 (__FD_ELT): Renamed from __FDELT.
52751 * misc/bits/select2.h (__FD_ELT): Likewise.
52752 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52753 __FD_MASK instead of __FDELT, __FDMASK.
52754 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52755 Likewise.
52756 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52757 Likewise.
52758
52d4fef8
AS
52759 * elf/Makefile (gen-ldd): Fix pattern.
52760
995a80df
AS
52761 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52762 (init_tls): Likewise.
52763
8682f8b0
UD
527642011-09-12 Ulrich Drepper <drepper@gmail.com>
52765
52766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52767
de82006d
AS
527682011-09-12 Andreas Schwab <schwab@redhat.com>
52769
a7c8e6a1
AS
52770 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52771 `struct cmsghdr *' instead of `void *'.
52772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52773 Likewise.
52774
0f31fe77
AS
527752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52776
52777 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52778 if non-absolute.
52779 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52780 ldd_rewrite_script.
0f31fe77 52781
32b4c839
UD
527822011-09-11 Ulrich Drepper <drepper@gmail.com>
52783
83cd1420
UD
52784 * configure.in: Remove --with-tls option.
52785 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52786 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52787 out in case it is missing.
52788 * sysdeps/ia64/elf/configure.in: Likewise.
52789 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52790 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52791 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52792 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52793 * sysdeps/sh/elf/configure.in: Likewise.
52794 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52795 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52796 * sysdeps/x86_64/elf/configure.in: Likewise.
52797 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52798 * sysdeps/mach/hurd/tls.h: Likewise.
52799
633f745d
UD
52800 [BZ #13067]
52801 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52802
f318beb8
UD
52803 [BZ #13090]
52804 * configure.in: Fix use of AC_INIT.
52805
32b4c839
UD
52806 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52807
3ce1f295
UD
528082011-09-10 Ulrich Drepper <drepper@gmail.com>
52809
bb016596
UD
52810 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52811 __set_errno.
8e58439c
UD
52812 * malloc/hooks.c: Likewise.
52813
aebae053 52814 [BZ #11929]
02d46fc4
UD
52815 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52816 variables statically.
52817 (narenas): Initialize.
52818 (list_lock): Initialize.
bb016596
UD
52819 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52820 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52821 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52822 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52823 Add initializers to main_arena and mp_.
52824 (malloc_state): Remove pagesize member. Change all users to use
52825 GLRO(dl_pagesize).
52826
52827 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52828 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52829 is always initialized.
52830
22a89187
UD
52831 * malloc/malloc.c: Removed unused configurations and dead code.
52832 * malloc/arena.c: Likewise.
52833 * malloc/hooks.c: Likewise.
02d46fc4 52834 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52835
d063d164
UD
52836 * include/tls.h: Removed. USE___THREAD must always be defined.
52837 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52838 * elf/dl-libc.c: Likewise.
52839 * elf/dl-tsd.c: Likewise.
52840 * include/errno.h: Likewise.
52841 * include/netdb.h: Likewise.
52842 * include/resolv.h: Likewise.
52843 * inet/herrno-loc.c: Likewise.
52844 * inet/herrno.c: Likewise.
52845 * malloc/arena.c: Likewise.
52846 * malloc/hooks.c: Likewise.
52847 * malloc/malloc.c: Likewise.
52848 * resolv/res-state.c: Likewise.
52849 * resolv/res_libc.c: Likewise.
52850 * sysdeps/i386/dl-machine.h: Likewise.
52851 * sysdeps/ia64/dl-machine.h: Likewise.
52852 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52853 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52854 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52855 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52856 * sysdeps/sh/dl-machine.h: Likewise.
52857 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52858 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52859 * sysdeps/unix/i386/sysdep.S: Likewise.
52860 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52861 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52864 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52865 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52866 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52870 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52871 * sysdeps/x86_64/dl-machine.h: Likewise.
52872 * tls.make.c: Likewise.
52873
3ce1f295
UD
52874 * configure.in: Remove --with-__thread option. Make tests for
52875 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52876 tls_model attribute fail if no support is available. Remove
52877 USE_IN_LIBIO.
52878 * Makeconfig: Adjust for dropped configure option. All features are
52879 now mandatory.
52880 * Makerules: Likewise.
52881 * Versions.def: Likewise.
52882 * argp/argp-fmtstream.c: Likewise.
52883 * argp/argp-fmtstream.h: Likewise.
52884 * argp/argp-help.c: Likewise.
52885 * assert/assert.c: Likewise.
52886 * config.h.in: Likewise.
52887 * config.make.in: Likewise.
52888 * configure: Likewise.
52889 * configure.in: Likewise.
52890 * csu/Versions: Likewise.
52891 * csu/init.c: Likewise.
52892 * elf/tst-audit2.c: Likewise.
52893 * elf/tst-tls10.c: Likewise.
52894 * elf/tst-tls10.h: Likewise.
52895 * elf/tst-tls11.c: Likewise.
52896 * elf/tst-tls12.c: Likewise.
52897 * elf/tst-tls14.c: Likewise.
52898 * elf/tst-tlsmod11.c: Likewise.
52899 * elf/tst-tlsmod12.c: Likewise.
52900 * elf/tst-tlsmod13.c: Likewise.
52901 * elf/tst-tlsmod13a.c: Likewise.
52902 * elf/tst-tlsmod14a.c: Likewise.
52903 * elf/tst-tlsmod15b.c: Likewise.
52904 * elf/tst-tlsmod16a.c: Likewise.
52905 * elf/tst-tlsmod16b.c: Likewise.
52906 * elf/tst-tlsmod7.c: Likewise.
52907 * elf/tst-tlsmod8.c: Likewise.
52908 * elf/tst-tlsmod9.c: Likewise.
52909 * gmon/gmon.c: Likewise.
52910 * grp/fgetgrent_r.c: Likewise.
52911 * grp/putgrent.c: Likewise.
52912 * hurd/fopenport.c: Likewise.
52913 * include/libc-symbols.h: Likewise.
52914 * include/tls.h: Likewise.
52915 * intl/gettextP.h: Likewise.
52916 * intl/loadinfo.h: Likewise.
52917 * locale/global-locale.c: Likewise.
52918 * locale/localeinfo.h: Likewise.
52919 * mach/devstream.c: Likewise.
52920 * malloc/arena.c: Likewise.
52921 * malloc/set-freeres.c: Likewise.
52922 * misc/err.c: Likewise.
52923 * misc/getttyent.c: Likewise.
52924 * misc/mntent_r.c: Likewise.
52925 * posix/getopt.c: Likewise.
52926 * posix/wordexp.c: Likewise.
52927 * pwd/fgetpwent_r.c: Likewise.
52928 * resolv/Versions: Likewise.
52929 * resolv/res_hconf.c: Likewise.
52930 * shadow/fgetspent_r.c: Likewise.
52931 * shadow/putspent.c: Likewise.
52932 * stdio-common/printf_fphex.c: Likewise.
52933 * stdio-common/tmpfile.c: Likewise.
52934 * stdlib/abort.c: Likewise.
52935 * stdlib/fmtmsg.c: Likewise.
52936 * sunrpc/auth_unix.c: Likewise.
52937 * sunrpc/clnt_perr.c: Likewise.
52938 * sunrpc/clnt_tcp.c: Likewise.
52939 * sunrpc/clnt_udp.c: Likewise.
52940 * sunrpc/clnt_unix.c: Likewise.
52941 * sunrpc/openchild.c: Likewise.
52942 * sunrpc/svc_simple.c: Likewise.
52943 * sunrpc/svc_tcp.c: Likewise.
52944 * sunrpc/svc_udp.c: Likewise.
52945 * sunrpc/svc_unix.c: Likewise.
52946 * sunrpc/xdr.c: Likewise.
52947 * sunrpc/xdr_array.c: Likewise.
52948 * sunrpc/xdr_rec.c: Likewise.
52949 * sunrpc/xdr_ref.c: Likewise.
52950 * sunrpc/xdr_stdio.c: Likewise.
52951
1248c1c4
PB
529522011-09-09 Ulrich Drepper <drepper@gmail.com>
52953
52954 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52955
529562011-07-03 Andreas Jaeger <aj@suse.de>
52957
52958 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52959 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52960 regenerate with gen-libm-tests.pl.
52961
529622010-05-12 Petr Baudis <pasky@suse.cz>
52963
52964 [BZ #11589]
52965 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52966 around j0() zero points by switching to j1().
52967 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52968 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52970 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52971
f22e1074
UD
529722011-09-09 Ulrich Drepper <drepper@gmail.com>
52973
f19009c1
UD
52974 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52975 instead of 0.
52976 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52977 instead of 0.
f19009c1
UD
52978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52979 Patch in part by Pavel Roskin <proski@gnu.org>.
52980
3f8cc204
UD
52981 [BZ #13138]
52982 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52983 realloc.
52984 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52985 Free memory block if necessary.
52986
f22e1074
UD
52987 [BZ #12847]
52988 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52989 be NULL. Don't lock in this case.
52990
0a2349f9
RM
529912011-09-09 Roland McGrath <roland@hack.frob.com>
52992
52993 * elf/elf.h (ELFOSABI_GNU): New macro.
52994 (ELFOSABI_LINUX): Define to that.
52995
f3cdd467
DZ
529962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52997
52998 * string/strncat.c (strncat): Undef the symbol in case it has been
52999 defined in bits/string.h.
53000
74718d13
UD
530012011-09-09 Ulrich Drepper <drepper@gmail.com>
53002
633e9e0f
UD
53003 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53004
0a2349f9 53005 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53006 link map.
53007
f9924780
AJ
530082011-08-17 Andreas Jaeger <aj@suse.de>
53009
53010 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53011
7f5517aa
PP
530122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53013 Ian Lance Taylor <iant@google.com>
53014
53015 * math/libm-test.inc (lround_test): New testcase.
53016 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53017
762011fe
UD
530182011-09-08 Ulrich Drepper <drepper@gmail.com>
53019
92963737
UD
53020 * Makefile: Remove support for automatic cvs check-ins.
53021 * Makerules: Likewise.
53022 * config.make.in: Likewise.
53023 * configure.in: Likewise.
53024 * intl/Makefile: Likewise.
53025 * locale/Makefile: Likewise.
53026 * po/Makefile: Likewise.
53027 * posix/Makefile: Likewise.
53028 * sysdeps/gnu/Makefile: Likewise.
53029 * sysdeps/mach/hurd/Makefile: Likewise.
53030 * sysdeps/sparc/sparc32/Makefile: Likewise.
53031
b0727fd8
JS
53032 [BZ #13118]
53033 * posix/Makefile (bug-regex32-ENV): Define.
53034 Patch by John Stanley <jpsinthemix@verizon.net>.
53035
a0f33f99
UD
53036 * misc/Makefile (headers): Add bits/select2.h.
53037 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53038 * misc/bits/select2.h: New file.
53039 * include/bits/select2.h: New file.
53040 * debug/Makefile (routines): Add fdelt_chk.
53041 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53042 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53043 FD_ISSET.
53044 * debug/fdelt_chk.c: New file.
53045
762011fe
UD
53046 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53047 * wcsmbs/test-wmemcmp.c: Likewise.
53048 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53049 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53050
530512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53052
53053 * string/Makefile (strop-tests): Add memcmp.
53054 * string/test-wmemcmp.c: New file.
53055 * string/test-memcmp.c: Add wmemcmp support.
53056
7f513ec8
RM
530572011-09-08 Roland McGrath <roland@hack.frob.com>
53058
0442afb4
RM
53059 [BZ #13153]
53060 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53061 2011-07-19 change.
53062
7f513ec8
RM
53063 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53064 garbage value in a __mach_port_mod_refs call in the cases of the
53065 task-self and thread-self ports.
53066
a12b2239
ST
530672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53068
53069 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53070
610f9ab4
AS
530712011-09-08 Andreas Schwab <schwab@redhat.com>
53072
7f513ec8 53073 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53074
48882a1a
LD
530752011-09-07 Ulrich Drepper <drepper@gmail.com>
53076
b49865be
UD
53077 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53078
fdc86bc9
UD
53079 * elf/dl-libc.c (dlerror_run): Pass back error code from
53080 dl_catch_error.
53081
c966526a
UD
53082 [BZ #13123]
53083 * elf/dl-load.c (lose): Free l_origin if it is valid.
53084
48882a1a
LD
53085 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53086 names.
53087 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53090 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53091 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53092 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53093
77a2a8b4
AZ
530942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53095
53096 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53097 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53098 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53099 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53100 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53101 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53102 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53103 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53104 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53105 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53106
24f579d8
AM
531072011-08-15 Alan Modra <amodra@gmail.com>
53108
53109 [BZ #13092]
53110 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53111 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53112 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53113 ppc_mcount to static-only-routines.
53114 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53115 __mcount_internal.
53116 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53117 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53118
3d4837df
UD
531192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53120
53121 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53122 for finite and infinity parameters.
53123
22700377
WS
531242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53125
53126 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53127 and add nop instructions for throughput optimization.
53128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53129
5025581e
WS
531302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53131
53132 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53133 aligned copy for power7 with vector-scalar instructions.
53134 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53135
08a300c9
L
531362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53137
53138 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53139 AVX check.
53140
59178ef9
AS
531412011-09-07 Andreas Schwab <schwab@redhat.com>
53142
53143 [BZ #13144]
53144 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53145 last change.
53146
e38ba7ab
UD
531472011-09-07 Ulrich Drepper <drepper@gmail.com>
53148
53149 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53150 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53151 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53152 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53153 clock_gettime.
53154
d53a73ac
UD
531552011-09-06 Ulrich Drepper <drepper@gmail.com>
53156
fc8bffcc
UD
53157 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53158 Forgot to demangle the pointer.
53159
ceaa0c5d
UD
53160 * sysdeps/i386/sysdep.h: Define atom_text_section.
53161 * sysdeps/x86_64/sysdep.h: Likewise.
53162 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53163 section with atom_text_section.
53164 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53165 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53166 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53167 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53168 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53169
a77d3c17
UD
53170 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53171 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53172 already be defined. Change to take two parameters and don't assign
53173 result to variable. Adjust all users.
53174 Define INTERNAL_GETTIME if not already defined.
53175 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53176 call.
53177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53178 HAVE_CLOCK_GETTIME_VSYSCALL.
53179 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53180
d53a73ac
UD
53181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53182 gettimeofday vsyscall, just use time.
53183
a8f84144
AS
531842011-09-06 Andreas Schwab <schwab@redhat.com>
53185
53186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53187 <errno.h>.
53188
ef606249
UD
531892011-09-06 Ulrich Drepper <drepper@gmail.com>
53190
53191 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53192 syscall on x86-64.
53193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53194 syscall.
53195 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53196 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53197 syscall if possible.
53198
6585cb60
UD
531992011-09-05 Ulrich Drepper <drepper@gmail.com>
53200
53201 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53202 e_ident. Don't pass to find_mapsXX.
53203 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53204
a5f524e4
LD
532052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53206
53207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53208 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53209 * sysdeps/x86_64/multiarch/strchr.S: Update.
53210 Check bit_slow_BSF bit.
53211 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53212 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53213 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53214
554881ef
UD
532152011-09-05 Ulrich Drepper <drepper@gmail.com>
53216
d96de963
UD
53217 [BZ #13134]
53218 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53219 before glibc 2.15.
53220 (tryshell): Define.
53221 (__spawni): Change last parameter to be flag. Test
53222 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53223 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53224 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53225 * posix/spawni.c: Likewise.
53226 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53227 * posix/spawnp.c: Likewise. Change normal version to use
53228 SPAWN_XFLAGS_USE_PATH.
53229 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53230 SPAWN_XFLAGS_TRY_SHELL.
53231
d48e5868
UD
53232 [BZ #13150]
53233 * posix/glob.h: Remove gcc 1.x support.
53234
554881ef
UD
53235 [BZ #13068]
53236 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53237
693fb948
LD
532382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53239
53240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53241 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53242 strrchr-sse2-bsf
53243 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53244 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53245 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53246 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53247 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53248 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53249
1b48c537
UD
532502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53251
49d42c37
UD
53252 * sysdeps/x86_64/wcscmp.S: New file.
53253
1b48c537
UD
53254 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53255 wcscmp-c wcscmp-sse2
53256 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53257 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53258 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53259 * wcsmbs/wcscmp.c: Allow renaming.
53260
15c95c5d
DM
532612011-09-05 David S. Miller <davem@davemloft.net>
53262
53263 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53264 stack slot, rather than the struct return pointer slot.
53265 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53266 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53268 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53269
2f0ad8f3
UD
532702011-09-05 Ulrich Drepper <drepper@gmail.com>
53271
d88ae418
UD
53272 * po/ja.po: Update from translation team.
53273
2f0ad8f3
UD
53274 [BZ #13144]
53275 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53276 kernel in 64-bit binaries.
53277
5f4318d1
DM
532782011-09-01 David S. Miller <davem@davemloft.net>
53279
53280 * elf/elf.h (HWCAP_SPARC_*): Move to..
53281 * sysdeps/sparc/sysdep.h: this new file and add new values.
53282 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53283 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53284 _DL_HWCAP_COUNT to 24.
53285 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53286 entries.
53287 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53288 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53289 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53291 instead of magic constants.
53292 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53293
3ba57516
DM
532942011-08-31 David S. Miller <davem@davemloft.net>
53295
53296 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53297 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53298 Reimplement to do errno handling inline.
53299 (SYSCALL_ERROR_HANDLER): New macro.
53300 (__SYSCALL_STRING): Do not do errno handling in asm.
53301 (__CLONE_SYSCALL_STRING): Delete.
53302 (__INTERNAL_SYSCALL_STRING): Delete.
53303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53304 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53305 (PSEUDO): Reimplement to do errno handling inline.
53306 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53307 (SYSCALL_ERROR_HANDLER): New macro.
53308 (__SYSCALL_STRING): Do not do errno handling in asm.
53309 (__CLONE_SYSCALL_STRING): Delete.
53310 (__INTERNAL_SYSCALL_STRING): Delete.
53311 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53312 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53313 i386.
53314 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53315 (inline_syscall*): Add 'err' argument.
53316 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53317 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53318 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53319 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53320
53321 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53322 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53323
2bc17433
AS
533242011-08-30 Andreas Schwab <schwab@redhat.com>
53325
53326 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53327
fbeb5f4d
JO
533282011-08-29 Jiri Olsa <jolsa@redhat.com>
53329
53330 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53331 directive.
53332
ad69cc26
DM
533332011-08-24 David S. Miller <davem@davemloft.net>
53334
53335 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53336
39dd69df
AS
533372011-08-24 Andreas Schwab <schwab@redhat.com>
53338
53339 * elf/Makefile: Add rules to build and run unload8 test.
53340 * elf/unload8.c: New file.
53341 * elf/unload8mod1.c: New file.
53342 * elf/unload8mod1x.c: New file.
53343 * elf/unload8mod2.c: New file.
53344 * elf/unload8mod3.c: New file.
53345
53346 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53347 it wasn't used.
53348
2c0b250a
DM
533492011-08-23 David S. Miller <davem@davemloft.net>
53350
53351 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53352 subtract stack bias.
53353 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53354 %sp not %fp in calculations.
53355 (_JMPBUF_UNWINDS_ADJ): Likewise.
53356
22044b48
DM
53357 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53358 (aio_suspend): Call it to force an exception region around the
53359 AIO_MISC_WAIT() invocation.
53360
2cae4995
AS
533612011-08-23 Andreas Schwab <schwab@redhat.com>
53362
53363 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53364 backslash.
53365
873a772e
AJ
533662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53367
53368 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53369 protection macro.
53370 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53371 and <dl-machine.h>.
53372 (Elf64_FuncDesc): Remove.
53373
25ad0df1
DM
533742011-08-22 David S. Miller <davem@davemloft.net>
53375
53376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53377 sigaltstack check, add missing cfi directives.
53378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53379 missing cfi directives, and sigaltstack handling.
53380
e888bcbe
AS
533812011-08-16 Andreas Schwab <schwab@redhat.com>
53382
53383 [BZ #11724]
53384 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53385 object is seen twice.
53386 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53387
53388 * elf/Makefile (distribute): Add tst-initorder2.c.
53389 (tests): Add tst-initorder2.
53390 (modules-names): Add tst-initorder2a tst-initorder2b
53391 tst-initorder2c tst-initorder2d. Add rules to build them.
53392 ($(objpfx)tst-initorder2.out): New rule.
53393 * elf/tst-initorder2.c: New file.
53394 * elf/tst-initorder2.exp: New file.
53395
87162f46
AS
533962011-08-22 Andreas Schwab <schwab@redhat.com>
53397
70538b7f
AS
53398 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53399
f55ffe58
AS
53400 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53401 dependencies back to end of function.
53402
87162f46
AS
53403 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53404 $(elfobjdir)/ld.so.
53405
91b392a4
UD
534062011-08-21 Ulrich Drepper <drepper@gmail.com>
53407
53408 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53409 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53411 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53412 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53413 of __vdso_gettimeofday.
53414 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53415 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53416 attribute_hidden.
53417 (_libc_vdso_platform_setup): Remove initialization of
53418 __vdso_gettimeofday and __vdso_time.
53419
5c43483f
UD
534202011-08-20 Ulrich Drepper <drepper@gmail.com>
53421
775a77e7
UD
53422 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53423 and fgetc_unlocked.
53424 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53425 getc_unlocked.
89f447ed 53426
49c74ba9
UD
53427 * elf/dl-open.c (add_to_global): Report additions to the global scope
53428 for LD_DEBUG=scopes.
53429 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53430 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53431
5c43483f
UD
53432 [BZ #13114]
53433 * stdio-common/Makefile (tests): Add bug24.
53434 * stdio-common/bug24.c: New file.
53435
a101b025
AJ
534362011-08-19 Andreas Jaeger <aj@suse.de>
53437
53438 [BZ #13114]
53439 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53440 non-existant file when using close-on-exec mode.
53441
c88f1766
UD
534422011-08-20 Ulrich Drepper <drepper@gmail.com>
53443
0276a718
UD
53444 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53445 the very first instruction.
53446
c88f1766
UD
53447 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53448 the CFI state in the end.
53449 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53450 inclusion of dl-trampoline.h.
53451 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53452
51ccffa0
AS
534532011-08-19 Andreas Schwab <schwab@redhat.com>
53454
94d7165f
AS
53455 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53456 expectations for long double.
53457
51ccffa0
AS
53458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53459 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53460
fd708658 534612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53462
53463 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53464 artificual limit depends upon the system page size.
53465
44f0a71e
UD
534662011-08-17 Ulrich Drepper <drepper@gmail.com>
53467
53468 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53469 * resolv/Makefile: Define CFLAGS-libresolv.
53470
8de79a24
AS
534712011-08-17 Andreas Schwab <schwab@redhat.com>
53472
53473 * nss/makedb.c (compute_tables): Make variables used in nested
53474 function static.
53475
27724598
UD
534762011-08-17 Ulrich Drepper <drepper@gmail.com>
53477
c5305d88
UD
53478 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53479 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53480 if buffer was too small.
53481
27724598
UD
53482 * elf/pldd.c (main): Attach to all threads in the process.
53483 Rewrite /proc handling to use *at functions.
53484
076fe015
UD
534852011-08-16 Ulrich Drepper <drepper@gmail.com>
53486
174baab3
UD
53487 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53488 specifies first scope to show.
53489 (dl_open_worker): Update callers. Move printing scope of new
53490 object to before the relocation.
44f0a71e 53491 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53492 * sysdeps/generic/ldsodefs.h: Update declaration.
53493
076fe015
UD
53494 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53495 string for the scope number.
53496
a60df2c3
UD
534972011-08-14 Ulrich Drepper <drepper@gmail.com>
53498
53499 * nscd/servicescache.c (cache_addserv): Make sure written is always
53500 initialized.
53501
5e4287d1
RM
535022011-08-14 Roland McGrath <roland@hack.frob.com>
53503
85ae0589
RM
53504 * sysdeps/i386/i486/bits/atomic.h
53505 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53506 statement expression, so as to suppress "set but not used" warning.
53507 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53508
69f63097
RM
53509 * string/strncat.c (STRNCAT): Use prototype definition.
53510
675456ef
RM
53511 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53512 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53513 -Iprograms here.
53514 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53515 (localedef-modules): Add localedef.
53516 (locale-modules): Add locale.
53517
5e4287d1
RM
53518 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53519 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53520 to avoid a warning.
53521
9c96ff23
DM
535222011-08-14 David S. Miller <davem@davemloft.net>
53523
53524 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53525 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53526
f9ddf089
UD
535272011-08-13 Ulrich Drepper <drepper@gmail.com>
53528
44f0a71e 53529 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53530 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53531 * elf/rtld.c (dl_main): Set l_name of vDSO.
53532 Call _dl_show_scope when DL_DEBUG_SCOPES.
53533 (process_dl_debug): Recognize scopes flag and also set it for all.
53534 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53535 Declare _dl_show_scope.
53536
1dc27704
UD
53537 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53538 (do_dlopen): Pass caller_dlopen to dl_open.
53539 (__libc_dlopen_mode): Initialize caller_dlopen.
53540
f9ddf089
UD
53541 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53542 of libc. Make tolower call locale-independent. Optimize a bit by
53543 using isdigit instead of isalnum.
53544 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53545
9ac533d3
UD
535462011-08-12 Ulrich Drepper <drepper@gmail.com>
53547
53548 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53549 was a dependency or dynamically loaded.
53550
89edf2e9
UD
535512011-08-11 Ulrich Drepper <drepper@gmail.com>
53552
8e999d29
UD
53553 * intl/l10nflist.c: Allow architecture-specific pop function.
53554 * sysdeps/x86_64/l10nflist.c: New file.
53555
89edf2e9
UD
53556 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53557 classification.
53558
14d96785
AS
535592011-08-10 Andreas Schwab <schwab@redhat.com>
53560
53561 * include/dirent.h: Add libc_hidden_proto for scandirat and
53562 scandirat64. Don't declare __scandirat64.
53563 * dirent/scandirat.c: Add libc_hidden_def.
53564 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53565 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53566
6761ac04
DM
535672011-08-10 David S. Miller <davem@davemloft.net>
53568
53569 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53570 enum.
53571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53572 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53574
c55fbd1e
UD
535752011-08-09 Ulrich Drepper <drepper@gmail.com>
53576
53577 * Versions.def [libc]: Add GLIBC_2.15.
53578 * dirent/Makefile (routines): Add scandirat and scandirat64.
53579 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53580 GLIBC_2.15.
53581 * dirent/dirent.h: Declare scandirat and scandirat64.
53582 * dirent/scandirat.c: New file.
53583 * dirent/scandirat64.c: New file.
53584 * sysdeps/wordsize-64/scandirat.c: New file.
53585 * sysdeps/wordsize-64/scandirat64.c: New file.
53586 * dirent/opendir.c: Define opendirat.
53587 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53588 using scandirat.
53589 * dirent/scandir64.c: Adjust for scandir.c change.
53590 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53591 __scandirat64, and __scandir_cancel_handler.
53592 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53593 additional parameter and use openat instead of open (outside of ld.so).
53594 Add new __opendir as wrapper around __opendirat.
53595 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53596 here without requiring old scandirat implementation.
53597
879165f2
UD
535982011-08-08 Ulrich Drepper <drepper@gmail.com>
53599
53600 * dirent/scandir.c (cancel_handler): Renamed to
53601 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53602 defined. Adjust users.
53603 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53604 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53605
cb7e923b
UD
536062011-08-04 Ulrich Drepper <drepper@gmail.com>
53607
16292edd
UD
53608 * string/test-string.h (IMPL): Use __STRING to expand name and then
53609 stringify it.
53610
cb7e923b
UD
53611 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53612 of cleanups.
53613
cff82933
LD
536142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53615
53616 * string/Makefile: Update.
53617 (strop-tests): Append strncat.
53618 * string/test-wcscmp.c: New file.
53619 New comprehensive test for wcscmp.
53620 * string/test-strcmp.c: Update.
53621 (WIDE): New define.
53622
9be9bfcc
AS
536232011-07-22 Andreas Schwab <schwab@redhat.com>
53624
53625 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53626 line.
53627
2e96f1c7
AS
536282011-07-26 Andreas Schwab <schwab@redhat.com>
53629
53630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53631 encoding to ACE if AI_IDN.
53632
85188888
JJ
536332011-08-01 Jakub Jelinek <jakub@redhat.com>
53634
53635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53636 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53637
5fa16e9b
LD
536382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53639
53640 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53641 Fix overflow bug in strncat.
53642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53643
53644 * string/test-strncat.c: Update.
53645 Add new tests for checking overflow bugs.
53646
536472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53648
53649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53650 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53651 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53652 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53653 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53654 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53655 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53656 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53657 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53658
53659 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53660 (USE_AS_STRCAT): Define.
53661 Add strcat and strncat support.
53662 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53663
8c1a459f
AS
536642011-07-25 Andreas Schwab <schwab@redhat.com>
53665
53666 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53667 __n bigger than INT_MAX+1.
53668 (__strncmp_g): Likewise.
53669
bba33c28
UD
536702011-07-23 Ulrich Drepper <drepper@gmail.com>
53671
798be72d
UD
53672 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53673 * libio/stido.h: Likewise.
53674
8accd4dc
UD
53675 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53676 (AF_NFC): Define.
53677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53678 (AF_NFC): Define.
53679
cbff0d96
UD
53680 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53681 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53682 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53683 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53684 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53685
9191c04a
UD
53686 [BZ #13021]
53687 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53688 installed.
53689
bba33c28
UD
53690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53691 typo.
53692 (_dl_x86_64_save_sse): Likewise.
53693
90f139dd
UD
536942011-07-22 Ulrich Drepper <drepper@gmail.com>
53695
1aae088a
UD
53696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53697 OSXSAVE.
53698 (_dl_x86_64_save_sse): Likewise.
53699
8e2045f5
UD
53700 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53701
90f139dd
UD
53702 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53703
1d002f25
AS
537042011-07-21 Andreas Schwab <schwab@redhat.com>
53705
53706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53707 change.
53708 (_dl_x86_64_save_sse): Use correct AVX check.
53709
21137f89
UD
537102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53711
53712 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53713 bug in strncpy/strncat.
53714 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53715
a65c0b7a
UD
537162011-07-21 Ulrich Drepper <drepper@gmail.com>
53717
53718 * string/tester.c (test_strcat): Add tests for different alignments
53719 of source and destination.
53720 (test_strncat): Likewise.
53721
6986b98a
UD
537222011-07-20 Ulrich Drepper <drepper@gmail.com>
53723
90bb2039
UD
53724 [BZ #12852]
53725 * posix/glob.c (glob): Check passed in values before using them in
53726 expressions to avoid some overflows.
53727 (glob_in_dir): Likewise.
53728
5644ef54
UD
53729 [BZ #13007]
53730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53731 check for AVX enablement so that we don't crash with old kernels and
53732 new hardware.
53733 * elf/tst-audit4.c: Add same checks here.
53734 * elf/tst-audit6.c: Likewise.
53735
53736 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53737
bfc9dc9b
AS
537382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53739
53740 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53741
702e64bb
UD
537422011-07-20 Ulrich Drepper <drepper@gmail.com>
53743
53744 * po/cs.po: Update from translation team.
53745 * po/bg.po: Likewise.
53746
295e904f
MP
537472011-07-12 Marek Polacek <mpolacek@redhat.com>
53748
53749 * misc/sys/cdefs.h: Add support for const attribute.
53750 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53751 to gnu_dev_{major,minor,makedev} functions.
53752
3ff94596
MP
537532011-07-20 Marek Polacek <mpolacek@redhat.com>
53754
53755 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53756
28b59fca
AS
537572011-07-20 Andreas Schwab <schwab@redhat.com>
53758
53759 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53760 strlen results.
53761
19df733e
AK
537622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53763
53764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53765 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53766 register in order to avoid conflicts with the soft frame pointer
53767 being held in r11 when necessary.
53768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53769 (INTERNAL_VSYSCALL_NCS): Likewise.
53770
c8835729
MP
537712011-07-14 Marek Polacek <mpolacek@redhat.com>
53772
53773 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53774 * elf/dl-fini.c (_dl_fini): Adjust caller.
53775 * elf/dl-close.c (_dl_close_worker): Likewise.
53776 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53777
b902330c
MP
537782011-07-15 Marek Polacek <mpolacek@redhat.com>
53779
8991e135
MP
53780 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53781 "aux_cache->nlibs < 0".
53782
b902330c
MP
53783 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53784 in the reload-count case.
53785
99710781
LD
537862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53787
53788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53789 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53790 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53791 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53792 * sysdeps/x86_64/multiarch/strcat.S: New file.
53793 * sysdeps/x86_64/multiarch/strncat.S: New file.
53794 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53795 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53796 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53797 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53798 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53799 (USE_AS_STRCAT): Define.
53800 Add strcat and strncat support.
53801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53802 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53803 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53804 * string/strncat.c: Update.
53805 (USE_AS_STRNCAT): Define.
53806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53807 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53808 and i7.
53809 * sysdeps/x86_64/multiarch/init-arch.h
53810 (bit_Prefer_PMINUB_for_stringop): New.
53811 (index_Prefer_PMINUB_for_stringop): Likewise.
53812 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53813 bit_Prefer_PMINUB_for_stringop.
53814
7dc6bd90
UD
538152011-07-19 Ulrich Drepper <drepper@gmail.com>
53816
53817 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53818 buffer64.
53819 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53820 of casting of buffer.
53821 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53822 buffer32 and buffer64.
53823 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53824 writes instead of casting of buffer.
53825 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53826 buffer32.
53827 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53828 casting of buffer.
53829
e0e72284
AS
538302011-07-19 Andreas Schwab <schwab@redhat.com>
53831
53832 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53833
feb1eb0b
UD
538342011-07-19 Ulrich Drepper <drepper@gmail.com>
53835
53836 * nscd/nscd.c (termination_handler): Don't do anything for a database
53837 if it has not yet been initialized.
53838
298711ff
UD
538392011-07-18 Ulrich Drepper <drepper@gmail.com>
53840
53841 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53842
538432011-07-15 Marek Polacek <mpolacek@redhat.com>
53844
53845 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53846
f9d68389
UD
538472011-07-18 Ulrich Drepper <drepper@gmail.com>
53848
53849 * po/nl.po: Update from translation team.
53850 * po/sv.po: Likewise.
53851
db290cf5
RM
538522011-07-16 Roland McGrath <roland@hack.frob.com>
53853
53854 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53855 now disallowed by GCC.
5c550700 53856
fd5e21c7
RM
53857 * configure.in (use-default-link): Default to yes if a test -shared
53858 link meets our qualifications.
53859 * configure: Regenerated.
53860
5c550700
RM
53861 * config.make.in (output-format): New variable.
53862 * configure.in: Check for ld --print-output-format support.
53863 * configure: Regenerated.
53864 * Makerules ($(common-objpfx)format.lds)
53865 [$(output-format) != unknown]: Just use $(output-format),
53866 instead of the linker-script munging.
53867
9fa2c032
RM
538682011-07-14 Roland McGrath <roland@hack.frob.com>
53869
a6928d51
RM
53870 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53871 of $(common-objpfx)shlib.lds.
53872 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53873
661607b3
RM
53874 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53875 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53876
9fa2c032
RM
53877 * configure.in (-z relro check): Adjust test code to add a large
53878 writable data section after it.
53879 * configure: Regenerated.
53880
defe9061
RM
538812011-07-11 Roland McGrath <roland@hack.frob.com>
53882
53883 * configure.in (-z relro check): Fix test code to make the variable
53884 truly const.
53885 * configure: Regenerated.
53886
319b9ad4
UD
538872011-07-11 Ulrich Drepper <drepper@gmail.com>
53888
53889 * nscd/nscd.h (struct traced_file): Define.
53890 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53891 elements. Add traced_files.
53892 (inotify_fd): Declare.
53893 (register_traced_file): Declare.
53894 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53895 (inotify_fd): Export.
53896 (resolv_conf_descr): Remove.
53897 (nscd_init): Move inotify descriptor creation to main.
53898 Don't register files for notification here.
53899 (register_traced_file): New function.
53900 (invalidate_cache): Don't use reset_res to determine whether to call
53901 res_init, go through the list of registered files.
53902 (main_loop_poll): The inotify descriptors are now stored in the
53903 structures for the traced files.
53904 (main_loop_epoll): Likewise
53905 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53906 to __nss_disable_nscd.
53907 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53908 for a database anymore. Check the records for all the registered
53909 files instead.
53910 * nss/Makefile (libnss_files-routines): Add files-init.
53911 (libnss_db-routines): Add db-init.
53912 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53913 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53914 * nss/nss_db/db-init.c: New file.
53915 * nss/nss_files/files-init.c: New file.
53916 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53917 __nss_lookup_function.
53918 (__nss_lookup_function): Call nss_load_library.
53919 (nss_load_all_libraries): New function.
53920 (__nss_disable_nscd): Take parameter with callback function for files
53921 to register. Set is_nscd. Load all the DSOs for the NSS modules
53922 used for the cached services.
53923 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53924 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53925 options for features to all the files in nscd.
53926
53927 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53928
23bee3e8
RM
539292011-07-10 Roland McGrath <roland@hack.frob.com>
53930
53931 * csu/elf-init.c (__libc_csu_init): Comment typo.
53932
46a5b7f0
UD
539332011-07-09 Ulrich Drepper <drepper@gmail.com>
53934
53935 * po/pl.po: Update from translation team.
53936 * po/ja.po: Likewise.
53937 * po/ru.po: Likewise.
53938 * po/ko.po: Likewise.
53939 * po/fr.po: Likewise.
53940
d30cf5bb
RM
539412011-07-09 Roland McGrath <roland@hack.frob.com>
53942
113ddea4
RM
53943 * configure.in (.ctors/.dtors header and trailer check):
53944 Use an empirical test on a built program.
53945 * configure: Regenerated.
53946
574920b4
RM
53947 * configure.in (-z relro check): Use an empirical test on a built DSO.
53948 Detect, but do not require, on ia64.
53949 * configure: Regenerated.
53950
d30cf5bb
RM
53951 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53952 Update tests that use readelf to use $READELF instead.
53953 * configure: Regenerated.
53954
8538fdb3
UD
539552011-07-08 Ulrich Drepper <drepper@gmail.com>
53956
53957 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53958 if the result is not used.
53959
04d08991
AJ
539602011-07-05 Andreas Jaeger <aj@suse.de>
53961
53962 [BZ#9696]
53963 * stdlib/tst-strtod.c: Add testcase.
53964
de283087
AD
539652011-07-07 Ulrich Drepper <drepper@gmail.com>
53966
4e5f31c8 53967 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53968 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53969 The latter has a higher limit. Take additional parameter to pass to
53970 the new function.
53971 (__pathconf): Pass file to __statfs_link_max.
53972 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53973 __statfs_link_max.
53974 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53975 __statfs_link_max.
53976
de283087
AD
53977 [BZ #12868]
53978 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53980 Handle Lustre.
53981 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53982 (__statfs_filesize_max): Likewise.
53983 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53984
c75fa153
AJ
539852011-07-05 Andreas Jaeger <aj@suse.de>
53986
53987 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53988
1a544854
UD
539892011-07-06 Marek Polacek <mpolacek@redhat.com>
53990
53991 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53992 `status' variable.
53993 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53994 Likewise.
53995
6f0eec67
UD
539962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53997
53998 * Makefile (strop-tests): Add strncat.
53999 * string/test-strncat.c: New file.
54000
aae30307
UD
540012011-06-30 Marek Polacek <mpolacek@redhat.com>
54002
54003 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54004
c0cfb5eb
UD
540052011-06-21 Andreas Jaeger <aj@suse.de>
54006
54007 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54008 Copy rule from iconvdata/Makefile.
54009
01636b21
UD
540102011-07-06 Ulrich Drepper <drepper@gmail.com>
54011
54012 [BZ #12922]
54013 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54014 but no long options are defined, just return 'W'.
54015
9895c8bc
UD
540162011-06-22 Marek Polacek <mpolacek@redhat.com>
54017
54018 [BZ #9696]
54019 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54020
5d4cf042
UD
540212011-07-06 Ulrich Drepper <drepper@gmail.com>
54022
54023 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54024 netgroups to read.
960e5535 54025 (innetgr): Likewise.
5d4cf042 54026
751eb97e
RM
540272011-07-05 Roland McGrath <roland@hack.frob.com>
54028
54029 * config.make.in (install_root): Default to $(DESTDIR).
54030
f15f1e45
UD
540312011-07-05 Ulrich Drepper <drepper@gmail.com>
54032
54033 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54034
4e34ac6a
RM
540352011-07-02 Roland McGrath <roland@hack.frob.com>
54036
5e9b6af4
RM
54037 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54038
84f9ea0f
RM
54039 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54040 containing directory rather than embedding absolute directory names.
54041
ea5ee9f7
RM
54042 * scripts/check-local-headers.sh: Rewritten using awk.
54043 Match by word, not by line. Print error messages for matches.
54044 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54045
1b74661a
RM
54046 * Makerules [shlib-lds-flags empty]:
54047 ($(common-objpfx)libc_pic.opts): New target.
54048 ($(common-objpfx)libc_pic.os.clean): New target.
54049 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54050
54051 * config.make.in (OBJCOPY): New variable.
54052 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54053 * configure: Regenerated.
54054
f781ef40
RM
54055 * config.make.in (use-default-link): New variable.
54056 * configure.in (use_default_link): Grok --with-default-link to set it.
54057 * configure: Regenerated.
54058 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54059 (shlib-lds, shlib-lds-flags): Define to empty.
54060
2d4fa81e
RM
54061 * Makerules (shlib-lds): New variable.
54062 (shlib-lds-flags): New variable.
54063 (build-shlib, build-moduile, build-module-asneeded): Use it.
54064 ($(common-objpfx)libc.so): Use $(shlib-lds).
54065 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54066 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54067
31fffa6b
RM
54068 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54069 DT_FLAGS/DT_FLAGS_1 with zero flags.
54070
4e34ac6a
RM
54071 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54072 linker script munging.
54073
fcfc776b
UD
540742011-07-02 Ulrich Drepper <drepper@gmail.com>
54075
54076 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54077 as 128-bit value.
54078 * crypt/sha512.c (sha512_process_block): Perform total addition using
54079 128-bit if possible.
54080 (__sha512_finish_ctx): Likewise.
54081 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54082 as 64-bit value.
54083 * crypt/sha256.c (SWAP64): Define.
54084 (sha256_process_block): Perform total addition using 64-bit if
54085 possible.
54086 (__sha256_finish_ctx): Likewise.
54087
99231d9a
UD
540882011-07-01 Ulrich Drepper <drepper@gmail.com>
54089
54090 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54091 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54092 * nscd/hstcache.c (cache_addhst): Likewise.
54093 * nscd/grpcache.c (cache_addgr): Likewise.
54094 * nscd/aicache.c (addhstaiX): Likewise
54095 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54096
445b4a53
TK
540972011-07-01 Thorsten Kukuk <kukuk@suse.de>
54098
54099 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54101 * nscd/hstcache.c (cache_addhst): Likewise.
54102 * nscd/grpcache.c (cache_addgr): Likewise.
54103 * nscd/aicache.c (addhstaiX): Likewise
54104
6d4d8e8e
AS
541052011-07-01 Andreas Schwab <schwab@redhat.com>
54106
54107 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54108 domain only when needed.
54109
89f654c5
AS
541102011-06-30 Andreas Schwab <schwab@redhat.com>
54111
54112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54113 is always restored.
54114
cf3b23ff
UD
541152011-06-29 Ulrich Drepper <drepper@gmail.com>
54116
54117 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54118 are re-adding the entry.
54119 * nscd/servicescache.c (cache_addserv): Likewise.
54120
751626f9
AJ
541212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54122
54123 * sysdeps/generic/dl-irel.h: fix protection against multiple
54124 inclusions.
54125 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54126
9113ea1f
UD
541272011-06-28 Ulrich Drepper <drepper@gmail.com>
54128
5c0b8d90
UD
54129 [BZ #12935]
54130 * malloc/memusage.sh: Fix quoting in message.
54131 * debug/xtrace.sh: Likewise.
54132
9113ea1f
UD
54133 * configure.in: Remove support for --experimental-malloc option, make
54134 it the default.
54135 * config.make.in: Likewise.
54136 * malloc/Makefile: Likewise.
54137
a4172181
AS
541382011-06-27 Andreas Schwab <schwab@redhat.com>
54139
54140 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54141 two-byte characters.
54142
78a7eee7
RM
541432011-06-27 Roland McGrath <roland@hack.frob.com>
54144
62bede13
RM
54145 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54146 AC_CACHE_CHECK invocation.
54147 * configure: Regenerated.
54148
78a7eee7
RM
54149 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54150
5ce33a62
UD
541512011-06-27 Ulrich Drepper <drepper@gmail.com>
54152
034807a9
UD
54153 [BZ #12350]
54154 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54155 bit from old_res_options.
54156
4902da17
UD
54157 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54158
5ce33a62
UD
54159 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54160 value type for setfct.
54161
c2344f56
L
541622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54163
54164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54165 __gettimeofday instead of gettimeofday.
54166
68468076
UD
541672011-06-26 Ulrich Drepper <drepper@gmail.com>
54168
54169 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54170
acb0d739
L
541712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54172
54173 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54174
54175 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54176 info.
54177
8912479f
L
541782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54179
54180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54181 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54182 strcpy-sse2-unaligned strncpy-sse2-unaligned
54183 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54184 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54185 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54186 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54187 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54188 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54189 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54190 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54191 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54192 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54193 (STRCPY): Support SSE2 and SSSE3 versions.
54194
d5495a11
UD
541952011-06-24 Ulrich Drepper <drepper@gmail.com>
54196
54197 [BZ #12874]
54198 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54199 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54200 kernels which artificially limit size of requests.
54201
0b1cbaae
L
542022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54203
54204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54205 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54206 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54207 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54208 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54209 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54210 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54211 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54212 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54213 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54214 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54215 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54216 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54217 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54218 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54220 Enable unaligned load optimization for Intel Core i3, i5 and i7
54221 processors.
54222 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54223 Define.
54224 (index_Fast_Unaligned_Load): Define.
54225 (HAS_FAST_UNALIGNED_LOAD): Define.
54226
07f494a0
MP
542272011-06-23 Marek Polacek <mpolacek@redhat.com>
54228
54229 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54230
fa3fc0fe
UD
542312011-06-22 Ulrich Drepper <drepper@gmail.com>
54232
54233 [BZ #12907]
54234 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54235 until it is clear that the information is realy needed.
54236 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54237
e12df166
AS
542382011-06-22 Andreas Schwab <schwab@redhat.com>
54239
54240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54241
852eb34d
UD
542422011-06-22 Ulrich Drepper <drepper@gmail.com>
54243
84e2a551
UD
54244 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54245 /sys/devices/system/cpu/online if it is usable.
54246
852eb34d
UD
54247 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54248 reading the information from the /proc filesystem to once a second.
54249
6e502e19
UD
542502011-06-21 Andreas Jaeger <aj@suse.de>
54251
54252 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54253 NULL after inclusion of kernel headers.
54254
75d39ff2
UD
542552011-06-21 Ulrich Drepper <drepper@gmail.com>
54256
51f9aa6a
UD
54257 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54258 calls to internal_setent.
54259
c0244a9d
UD
54260 [BZ #12885]
54261 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54262 addresses using gethostbyname4_r ignore IPv4 addresses.
54263
c5e3c2ae
UD
54264 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54265 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54266
75d39ff2
UD
54267 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54268
42675c6f
DM
542692011-06-20 David S. Miller <davem@davemloft.net>
54270
54271 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54272 inclusions.
54273 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54274
54275 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54276 (elf_irel): Use it.
54277 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54278 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54279 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54280 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54281 * sysdeps/x86_64/dl-irel.h: Likewise.
54282
54283 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54284 * elf/dl-sym.c: Likewise.
54285
57912a71
UD
542862011-06-15 Ulrich Drepper <drepper@gmail.com>
54287
54288 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54289 need to dereference resplen2.
54290
ee22793d
AS
542912011-06-14 Andreas Schwab <schwab@redhat.com>
54292
54293 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54294
a9e836b0
UD
542952011-06-15 Ulrich Drepper <drepper@gmail.com>
54296
77fb9117
UD
54297 * Makeconfig: Define vardbdir and inst_vardbdir.
54298 * nss/Makefile: Add rules to install db-Makefile.
54299
40c1b22c
UD
54300 * nss/nss_db/db-XXX.c: Cleanup.
54301
9f2da732
UD
54302 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54303 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54304 GLIBC_PRIVATE.
54305 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54306 * nss/makedb.c: Implement -g option to specify that value strings
54307 are generated and should not be added to table iterated over for
54308 get*ent calls.
54309 * nss/nss_db/db-initgroups.c: New file.
54310
82e9a1f7
UD
54311 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54312 interface.
54313
c41af17e
UD
54314 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54315 (internal_getgrouplist): Adjust to name change.
54316 Update use_initgroups_entry if this is not the first call.
54317 * nss/databases.def: Add initgroups entry.
54318
a9e836b0
UD
54319 * nss/makedb.c (compute_tables): Check result of multiple hash table
54320 sizes to minimize maximum chain length.
54321
2666d441
UD
543222011-06-14 Ulrich Drepper <drepper@gmail.com>
54323
54324 * Versions.def: Add entry for libnss_db.
54325 * shlib-versions: Likewise.
54326 * nss/Makefile: Add rules to build libnss_db.
54327 * nss/Versions: Add libnss_db information. Organize libnss_files
54328 entries better.
54329 * nss/db-Makefile: Add gshadow support. Change rules for the new
54330 makedb progra. Some minor improvements to generate smaller files.
54331 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54332 here from...
54333 * nss/makedb.c: ...here.
54334 Improve database format to be smaller and require less memory at
54335 runtime.
54336 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54337 db anymore.
54338 * nss/nss_db/db-netgrp.c: Likewise.
54339 * nss/nss_db/db-open.c: Likewise.
54340 * nss/nss_files/flies-XXX.x: Adjust comments.
54341 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54342 * nss/nss_files/files-grp.c: Likewise.
54343 * nss/nss_files/files-hosts.c: Likewise.
54344 * nss/nss_files/files-network.c: Likewise.
54345 * nss/nss_files/files-proto.c: Likewise.
54346 * nss/nss_files/files-pwd.c: Likewise.
54347 * nss/nss_files/files-rpc.c: Likewise.
54348 * nss/nss_files/files-service.c: Likewise.
54349 * nss/nss_files/files-sgrp.c: Likewise.
54350 * nss/nss_files/files-spwd.c: Likewise.
54351 * nss/nss_db/db-alias.c: Removed.
54352 * nss/nss_db/dummy-db.h: Removed.
54353
9ee76b5a
UD
543542011-06-02 Ulrich Drepper <drepper@gmail.com>
54355
54356 * nss/makedb.c: Rewritten to not use database library.
54357 * nss/Makefile: Update to build new makedb program.
54358
c71ca1f8
AJ
543592011-06-14 Andreas Jaeger <aj@suse.de>
54360
54361 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54362 memset declaration.
54363
3154bfb8
UD
543642011-06-10 Andreas Schwab <schwab@redhat.com>
54365
54366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54367 tmpbuf.
54368
b350afab
RM
543692011-06-10 Roland McGrath <roland@hack.frob.com>
54370
decd4e50
RM
54371 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54372 * elf/Makefile ($(objpfx)ld.so): Likewise.
54373
5615eaf2
RM
54374 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54375 Don't list ld.so twice in dependencies.
54376
54377 * posix/bug-regex31.c: Include <stdlib.h>.
54378
54379 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54380
54381 * nis/nss_compat/compat-spwd.c
54382 (getspent_next_nss_netgr): Remove unused variable.
54383 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54384
54385 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54386 nonmembers" output to use the right array.
54387
54388 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54389
54390 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54391
54392 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54393 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54394 * catgets/gencat.c (read_input_file): Likewise.
54395 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54396
54397 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54398 variable definition inside #if's controlling its use.
54399
54400 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54401
54402 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54403
54404 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54405
54406 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54407 unreachable code.
54408
54409 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54410
b68e08db
RM
54411 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54412 * configure: Regenerated.
54413
b350afab
RM
54414 * Makerules: Revert last change.
54415 * elf/Makefile: Likewise.
54416
28368601
RM
544172011-06-09 Roland McGrath <roland@hack.frob.com>
54418
54419 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54420 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54421 (reloc-link): Likewise.
54422
11988f8f
UD
544232011-06-09 Ulrich Drepper <drepper@gmail.com>
54424
54425 * elf/Makefile: Add rules to build pldd.
54426 * elf/pldd.c: New file.
54427 * elf/pldd-xx.c: New file.
54428
e80fab37
UD
544292011-06-07 Ulrich Drepper <drepper@gmail.com>
54430
54431 * version.h: Update for 2.15 development version.
54432
9b849836
DM
544332011-06-07 David S. Miller <davem@davemloft.net>
54434
54435 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54436 ifuncs.
54437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54438 elf_machine_lazy_rel): Likewise.
54439 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54441 elf_machine_lazy_rel): Likewise.
54442 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54443 dl_hwcap via passed in argument.
54444 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54445 Likewise.
54446
5a31b283
AK
544472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54448
54449 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54450
069e52f8
RM
544512011-06-06 Roland McGrath <roland@hack.frob.com>
54452
54453 [BZ #12849]
54454 * manual/fdl-1.1.texi: New file, verbatim from:
54455 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54456 * manual/lgpl-2.1.texi: New file, verbatim from:
54457 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54458 * manual/Makefile (licenses): New variable, list those new file names.
54459 (texis): Use it.
54460 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54461
54462 * manual/fdl.texi: File removed.
54463 * manual/lesser.texi: File removed.
54464 * manual/libc.texinfo (Copying, Documentation License):
54465 Use new @include file names, put @appendix directive before @include.
54466
f16846a5
JJ
544672011-06-04 Jakub Jelinek <jakub@redhat.com>
54468
54469 [BZ #12841]
54470 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54471 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54472 (mq_open): Add __NTH.
54473
3d29045b
L
544742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54475
54476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54477 Assume Intel Core i3/i5/i7 processor if AVX is available.
54478
8c297311
UD
544792011-05-31 Ulrich Drepper <drepper@gmail.com>
54480
54481 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54482 typo.
54483
c8fc0c91
UD
544842011-05-31 Andreas Schwab <schwab@redhat.com>
54485
54486 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54487 memory. Use alloca_account. Fix memory leak when retrying.
54488
5b27a807
UD
544892011-05-31 Ulrich Drepper <drepper@gmail.com>
54490
356f8bc6
UD
54491 * version.h (RELEASE): Bump for 2.14 release.
54492 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54493
5b27a807
UD
54494 * config.make.in (RANLIB): Remove entry.
54495
01f16ab0
UD
544962011-05-30 Ulrich Drepper <drepper@gmail.com>
54497
41fce8bd
UD
54498 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54499 (libc.pot): Work around missing support for .ksh extension in xgettext.
54500
4769ae77
UD
54501 [BZ #12684]
54502 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54503 if both request failed.
54504 (send_dg): In case of server errors clear resplen or *resplen2.
54505
6b1e7d19
UD
54506 [BZ #12454]
54507 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54508 when there are multiple maps.
54509 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54510 (_dl_fini): Remove test here.
54511
01f16ab0
UD
54512 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54513
b1ebd700
UD
545142011-05-29 Ulrich Drepper <drepper@gmail.com>
54515
7ae22829
UD
54516 [BZ #12350]
54517 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54518 bit from old_res_options.
54519 (gaih_inet): Likewise.
54520
553149f6 54521 [BZ #11099]
18a84741 54522 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54523 as signed.
54524
652ffab1
UD
54525 * resolv/res_init.c (res_setoptions): Make the code more compact.
54526
16985fd0
UD
54527 [BZ #11558]
54528 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54529 set RES_USEVC.
54530
0464f746
UD
54531 [BZ #11634]
54532 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54533
7d17596c
UD
54534 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54535
cf6bbbd7
UD
54536 [BZ #11781]
54537 * malloc/malloc.h: Declare malloc hook variables as volatile.
54538
13f1ab36
UD
54539 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54540 in last patch.
54541
b1ebd700
UD
54542 [BZ #11799]
54543 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54544 raise in the comment.
80e2212d
UD
54545 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54546 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54547 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54548
ce67228d
UD
545492011-05-28 Ulrich Drepper <drepper@gmail.com>
54550
8887a920
UD
54551 [BZ #12811]
54552 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54553 grow the buffers more if it already has to be sufficient.
54554 (build_wcs_upper_buffer): Likewise.
54555 * posix/regexec.c (check_matching): Likewise.
54556 (clean_state_log_if_needed): Likewise.
54557 (extend_buffers): Don't enlarge buffers beyond size of the input
54558 buffer.
54559 Patches mostly by Emil Wojak <emil@wojak.eu>.
54560 * posix/bug-regex32.c: New file.
54561 * posix/Makefile (tests): Add bug-regex32.
54562
4f031072
UD
54563 * locale/findlocale.c (_nl_find_locale): Return right away if
54564 _nl_explode_name failed.
54565 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54566
d0478f0c
UD
54567 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54568
de81b246
UD
54569 * debug/xtrace.sh: Unify messages.
54570 * malloc/memusage.sh: Likewise.
54571
c738465a
UD
54572 [BZ #12813]
54573 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54574 time symbol from vDSO. Substitute with vsyscall if not available.
54575 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54576 __vdso_time.
54577
f1f929d7
UD
54578 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54579 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54580 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54581 Add sendmmsg and internal_sendmmsg.
54582 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54583 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54584 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54585
ce67228d
UD
54586 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54587 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54588 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54589
e57420c6
UD
545902011-05-27 Ulrich Drepper <drepper@gmail.com>
54591
a8509ca5
UD
54592 [BZ #12813]
54593 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54594 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54595 available.
54596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54597 __vdso_getcpu.
54598
e57420c6
UD
54599 [BZ #12814]
54600 * iconvdata/Makefile (tests): Add bug-iconv9.
54601 * iconvdata/bug-iconv9.c: New file.
54602
4d07db15
AS
546032011-05-27 Andreas Schwab <schwab@redhat.com>
54604
54605 [BZ #12814]
54606 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54607
ea486f69
JJ
546082011-05-25 Jakub Jelinek <jakub@redhat.com>
54609
54610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54611 (struct user_regs_struct): Change intcs field back to cs.
54612
6f038433
UD
546132011-05-25 Ulrich Drepper <drepper@gmail.com>
54614
54615 * po/ja.po: Update from translation team.
54616
67f86a25
UD
546172011-05-23 Ulrich Drepper <drepper@gmail.com>
54618
54619 [BZ #12795]
54620 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54621 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54622
def7fbd6
AS
546232011-05-20 Andreas Schwab <schwab@redhat.com>
54624
54625 * stdlib/longlong.h: Update from GCC.
54626
f50ef8f1
AS
546272011-05-23 Andreas Schwab <schwab@redhat.com>
54628
54629 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54630 parameter name.
54631 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54632 Add parameter name.
54633 (__sysconf): Pass it down.
54634
de7ce8f1
UD
546352011-05-22 Ulrich Drepper <drepper@gmail.com>
54636
f2962a71
UD
54637 [BZ #12671]
54638 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54639 some situations.
54640 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54641 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54642 add in in __libc_use_alloca calls. Adjust callers.
54643 (glob): Use malloc in some situations.
54644
de7ce8f1
UD
54645 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54646 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54647 pltexit.
54648
aec84f53
UD
546492011-05-21 Ulrich Drepper <drepper@gmail.com>
54650
05bb4a68
UD
54651 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54652 and CLOCK_BOOTTIME_ALARM.
54653
7ea72f99
UD
54654 [BZ #12782]
54655 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54656 is returned.
54657
7e4afad5
UD
54658 * string/_strerror.c (__strerror_r): Print negative errors as signed
54659 numbers.
54660
8e211fec
UD
54661 [BZ #12777]
54662 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54663 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54664 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54665
f7d82dc9
UD
54666 * configure.in: Fix typo in redirection and correct removal of test
54667 files in two cases.
54668
cc9e536d
UD
54669 [BZ #12788]
54670 * locale/setlocale.c (new_composite_name): Fix test to check for
54671 identical name of all categories.
54672
aec84f53
UD
54673 [BZ #12792]
54674 * libio/filedoalloc.c (local_isatty): New function.
54675 (_IO_file_doallocate): Use local_isatty.
54676 * stdio-common/perror.c (perror): In case a new stream is used
54677 forward the stream error.
54678 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54679 error flag.
54680
78e64fdc
RT
546812011-05-20 Ulrich Drepper <drepper@gmail.com>
54682
34a9094f
UD
54683 [BZ #11869]
54684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54685 alloca.
54686 * include/alloca.h (extend_alloca_account): Define.
54687
78e64fdc
RT
54688 [BZ #11857]
54689 * posix/regex.h: Fix comments with documentation of user-accessible
54690 fields after compilation and describe correct free'ing of pattern
54691 after re_compile_pattern.
54692 Patch by Reuben Thomas <rrt@sc3d.org>.
54693
457bddfc
RA
546942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54695
54696 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54697 and -mno-altivec to prevent the compiler from using Altivec and/or
54698 VSX instructions when the corresponding registers are not available.
54699
a4527b51
AS
547002011-05-19 Andreas Schwab <schwab@redhat.com>
54701
54702 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54703
ed690b2f
UD
547042011-05-19 Ulrich Drepper <drepper@gmail.com>
54705
54706 * libio/freopen.c (freopen): Use __dup2, not dup2.
54707 * libio/freopen64.c (freopen64): Likewise.
54708
8db73634
L
547092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54710
54711 [BZ #12775]
54712 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54713 * math/Makefile (tests): Add test-powl.
54714 (CFLAGS-test-powl.c): Define.
54715 * math/test-powl.c: New file.
54716
0a197a9d
L
547172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54718
54719 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54720
ee30c380
UD
547212011-05-17 Ulrich Drepper <drepper@gmail.com>
54722
54723 [BZ #11837]
54724 * iconvdata/gb18030.c: Update to GB18020-2005.
54725
6ce75379
UD
547262011-05-16 Ulrich Drepper <drepper@gmail.com>
54727
a4b89fd8
AR
54728 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54729 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54730 Patch by Aharon Robbins <arnold@skeeve.com>.
54731
ea389b12
UD
54732 [BZ #11892]
54733 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54734 on the stack.
54735
68a3f91f
UD
54736 [BZ #11895]
54737 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54738 through underflows.
54739
15cc7dd1
UD
54740 [BZ #12766]
54741 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54742 point to strings before performing equality test for error_one_per_line
54743 mode.
54744
f3799213
UD
54745 [BZ #11697]
54746 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54747
d79a9c94
UD
54748 [BZ #11820]
54749 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54750 (struct user_fpregs_struct): Avoid __uint*_t types.
54751
56e5eb46
UD
54752 [BZ #6420]
54753 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54754 symbol info. Use it instead of calling _dl_addr locally.
54755 (lock_and_info): New function.
54756 (tr_freehook): Call lock_and_info and pass symbol info as additional
54757 parameter to tr_where.
54758 (tr_mallochook): Likewise.
54759 (tr_reallochook): Likewise.
54760 (tr_memalignhook): Likewise.
54761
6ce75379
UD
54762 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54763 used and couldn't be at all thread-safe.
54764
f8a3b5bf
UD
547652011-05-15 Ulrich Drepper <drepper@gmail.com>
54766
94b7cc37
UD
54767 * libio/freopen.c (freopen): Don't close old file descriptor
54768 before the new one is opened. Instead dup the new file descriptor
54769 to the old one after the new stream is created.
54770 * libio/freopen64.c (freopen64): Likewise.
54771 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54772 * libio/fileops.c (_IO_new_file_close_it): Handle new
54773 _IO_FLAGS2_NOCLOSE flag.
54774 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54775 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54776 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54777 _IO_FLAGS2_NOCLOSE flag.
54778 * include/unistd.h: Add hidden_proto for dup3.
54779 Define __have_dup3.
54780 * io/dup3.c: Define hidden symbol.
54781 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54782
bd25564e
UD
54783 [BZ #7101]
54784 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54785 when an incomplete long option is used.
54786 * posix/tst-getopt_long1.c: New file.
54787 * posix/Makefile (tests): Add tst-getopt_long1.
54788
c84cfef4
UD
54789 [BZ #10138]
54790 * scripts/config.guess: Update from autoconf-2.68.
54791 * scripts/config.sub: Likewise.
54792
3b85df27
UD
54793 [BZ #10157]
54794 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54795 tests into ...
54796 (has_cpuclock): ...this. New function.
54797 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54798 macro here based on has_cpuclock code.
54799
15a856b1
UD
54800 [BZ #10149]
54801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54802 First byte (not low byte) is now always NUL.
54803 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54804
05f399e6
UD
54805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54806 Use non-cancelable interfaces.
54807
10a52685 54808 [BZ #9809]
94ecc67d
UD
54809 * locale/iso-639.def: Add entry for Sorani.
54810
f8a3b5bf
UD
54811 [BZ #11901]
54812 * include/stdlib.h: Move include protection to the right place.
54813 Define abort_msg_s. Declare __abort_msg with it.
54814 * stdlib/abort.c (__abort_msg): Adjust type.
54815 * assert/assert.c (__assert_fail_base): New function. Majority
54816 of code from __assert_fail. Allocate memory for __abort_msg with
54817 mmap.
54818 (__assert_fail): Now call __assert_fail_base.
54819 * assert/assert-perr.c: Remove bulk of implementation. Use
54820 __assert_fail_base.
54821 * include/assert.hL Declare __assert_fail_base.
54822 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54823 mmap.
54824 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54825
1af4e298
UD
548262011-05-14 Ulrich Drepper <drepper@gmail.com>
54827
f8a3b5bf 54828 [BZ #11952]
d26dfc60
MG
54829 [BZ #12453]
54830 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54831 until all modules are registered in the DTV.
54832 * elf/Makefile: Add rules to build and run tst-tls19.
54833 * elf/tst-tls19.c: New file.
54834 * elf/tst-tls19mod1.c: New file.
54835 * elf/tst-tls19mod2.c: New file.
54836 * elf/tst-tls19mod3.c: New file.
54837 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54838
2fc54d6f
UD
54839 [BZ #12083]
54840 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54841 correctly.
54842
98d76b46
UD
54843 [BZ #12601]
54844 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54845 two-byte sequence errors.
54846 * iconvdata/Makefile (tests): Add bug-iconv8.
54847 * iconvdata/bug-iconv8.c: New file.
54848
da3c19ef
UD
54849 [BZ #12626]
54850 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54851 buf2 definition.
54852
ca408c15
UD
54853 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54854
d6f67f7d
UD
54855 [BZ #12432]
54856 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54857 (dummy_getcfa): New function.
54858 (init): Get _Unwind_GetCFA address, use dummy if not found.
54859 (backtrace_helper): In recursion check, also check whether CFA changes.
54860 (__backtrace): Completely initialize arg.
54861
1af4e298 54862 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54863 storing incomplete byte sequence in state object. Avoid testing for
54864 guaranteed too small input if we know there is enough data available.
1af4e298 54865
da62f81b
AS
548662011-05-11 Andreas Schwab <schwab@redhat.com>
54867
54868 * Makeconfig (+link-pie): Indent.
54869 * Rules (binaries-pie): Define if $(have-fpie) and
54870 $(build-shared).
54871 (binaries-shared): Also filter out $(binaries-pie).
54872 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54873 * nscd/Makefile (others-pie): Add nscd.
54874 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54875 ($(objpfx)nscd): Remove command override.
54876 * login/Makefile (others-pie): Add pt_chown.
54877 ($(objpfx)pt_chown): Remove command override.
54878 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54879 remove command overrides.
54880
fcabc0f8
UD
548812011-05-13 Ulrich Drepper <drepper@gmail.com>
54882
20030ae6
UD
54883 * libio/tst_putwc.c: Fix error messages.
54884
fcabc0f8
UD
54885 [BZ #12724]
54886 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54887 currently writing and seek to current position when not.
54888 * libio/Makefile (tests): Add bug-fclose1.
54889 * libio/bug-fclose1.c: New file.
54890
320a5dc0
PB
548912011-05-12 Ulrich Drepper <drepper@gmail.com>
54892
54893 [BZ #12511]
54894 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54895 don't set DF_1_NODELETE here.
54896 (do_lookup_x): When entering new entry test for copy relocation
54897 and if necessary set DF_1_NODELETE flag.
54898 * elf/tst-unique4.cc: New file.
54899 * elf/tst-unique4.h: New file.
54900 * elf/tst-unique4lib.cc: New file.
54901 * elf/Makefile: Add rules to build and run tst-unique4.
54902 Patch by Piotr Bury <pbury@goahead.com>.
54903
22836f52
UD
549042011-05-11 Ulrich Drepper <drepper@gmail.com>
54905
f574184a
UD
54906 [BZ #12052]
54907 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54908
e1fb097f
UD
54909 [BZ #12625]
54910 * misc/mntent_r.c (addmntent): Flush the stream after the output
54911
22836f52
UD
54912 [BZ #12393]
54913 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54914 (is_trusted_path_normalize): Skip initial colon. Append slash
54915 to empty buffer. Duplicate is_trusted_path code but allow
54916 constructed patch to be prefix.
54917 (is_dst): Allow $ORIGIN followed by /.
54918 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54919 Correct testing of result of is_trusted_path_normalize
54920 (decompose_rpath): Fix warning.
54921
7b3b0b2a
UD
549222011-05-10 Ulrich Drepper <drepper@gmail.com>
54923
54924 [BZ #11257]
54925 * grp/initgroups.c (internal_getgrouplist): When we found the service
54926 list through the initgroups entry in nsswitch.conf do not always
54927 continue on a successful lookup. Don't always use the
eac80ce2 54928 __nss_group_database value if it is set.
7b3b0b2a
UD
54929 * nss/nsswitch.conf (initgroups): Change action for successful db
54930 lookup to continue for compatibility.
54931
2a81eaa5
UD
549322011-05-09 Ulrich Drepper <drepper@gmail.com>
54933
be97a69e
UD
54934 [BZ #11532]
54935 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54936 and CP774 modules.
54937 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54938 and CP774 modules.
54939 * iconvdata/tst-tables.sh: Likewise.
54940 * iconvdata/cp770.c: New file.
54941 * iconvdata/cp771.c: New file.
54942 * iconvdata/cp772.c: New file.
54943 * iconvdata/cp773.c: New file.
54944 * iconvdata/cp774.c: New file.
54945 * iconvdata/testdata/CP770: New file.
54946 * iconvdata/testdata/CP770..UTF8: New file.
54947 * iconvdata/testdata/CP771: New file.
54948 * iconvdata/testdata/CP771..UTF8: New file.
54949 * iconvdata/testdata/CP772: New file.
54950 * iconvdata/testdata/CP772..UTF8: New file.
54951 * iconvdata/testdata/CP773: New file.
54952 * iconvdata/testdata/CP773..UTF8: New file.
54953 * iconvdata/testdata/CP774: New file.
54954 * iconvdata/testdata/CP774..UTF8: New file.
54955
54956 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54957 END CHARMAP line.
54958 * iconvdata/gen-8bit-gap.sh: Likewise.
54959 * iconvdata/gen-8bit.sh: Likewise.
54960
c1e9e399
UD
54961 * locale/iso-639.def: Add ary entry.
54962
24c55fb3 54963 [BZ #11258]
96b4b1b0
UD
54964 * locale/C-translit.h.in: Add U20A1 transliteration.
54965
bdc2f971
KB
54966 [BZ #12178]
54967 * locale/iso-639.def: Add wae entry.
54968 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54969
2952b117
UD
54970 [BZ #12545]
54971 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54972 for n.
54973
2a81eaa5
UD
54974 [BZ #12711]
54975 * locale/C-translit.h.in: Add entry for U20B9.
54976 Patch by pravin.d.s@gmail.com.
54977
28377d1b
UD
549782011-05-08 Ulrich Drepper <drepper@gmail.com>
54979
7fb90fb8
UD
54980 [BZ #12713]
54981 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54982 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54983 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54984 in rtld. Use *stat64.
7fb90fb8 54985 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54986 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54987 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54988 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54989 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54990 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54991 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54992 __fstatat64 macros.
7fb90fb8
UD
54993 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54994 * dirent/rewinddir.c: Add libc_hidden_def.
54995 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54996 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54997
28377d1b
UD
54998 * include/dirent.h (__alloc_dir): Add flags parameter.
54999 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55000 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55001 __alloc_dir.
55002 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55003 from fdopendir if O_CLOEXEC is already set.
55004
66bdbaa4
AM
550052011-03-15 Alan Modra <amodra@gmail.com>
55006
55007 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55008 l_tls_firstbyte_offset non-zero. Save padding offset in
55009 l_tls_firstbyte_offset for later use.
55010 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55011 freeing static tls block.
55012
95721191
JN
550132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55014
55015 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55016 where #ifdef was intended. The intent is to prevent ARG_MAX from
55017 being defined by the kernel headers.
55018
f87dfb1f
UD
550192011-05-07 Ulrich Drepper <drepper@gmail.com>
55020
55021 [BZ #12734]
55022 * resolv/resolv.h: Define RES_NOTLDQUERY.
55023 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55024 no-tld-query and set RES_NOTLDQUERY.
55025 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55026 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55027 modern BIND to search name as TLD unless forbidden.
55028
47c3cd7a
UD
550292011-05-07 Petr Baudis <pasky@suse.cz>
55030 Ulrich Drepper <drepper@gmail.com>
55031
55032 [BZ #12393]
55033 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55034 (is_trusted_path): ...to here.
c1e9ea35 55035 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55036 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55037 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55038
8a35c912
PP
550392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55040
55041 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55042 __BEGIN/__END_DECLS.
55043
acd41f47
UD
550442011-05-06 Ulrich Drepper <drepper@gmail.com>
55045
55046 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55047 NSS_STATUS_NOTFOUND if no record was found.
55048
597df647
AS
550492011-05-05 Andreas Schwab <schwab@redhat.com>
55050
55051 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55052 (headers-not-in-tirpc): Remove rpc/netdb.h
55053 * resolv/netdb.h: Revert last change.
55054
b9af1301
PP
550552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55056
55057 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55058 circular dependency between libgcc.a and libc.a.
55059
4e34d5f5
AS
550602011-05-05 Andreas Schwab <schwab@redhat.com>
55061
55062 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55063 * nis/Makefile: Don't install rpcsvc/*.
55064 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55065 instead of <rpc/types.h>.
55066 (MAXHOSTNAMELEN): Define.
55067
00ee369c
AS
550682011-05-03 Andreas Schwab <schwab@redhat.com>
55069
55070 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55071
0b592a30
MB
550722011-04-28 Maciej Babinski <mbabinski@google.com>
55073
55074 [BZ #12714]
55075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55076 gethostbyname4_r when IPv6 results are possible.
55077
6e04cbbe
UD
550782011-05-02 Ulrich Drepper <drepper@gmail.com>
55079
55080 [BZ #12723]
55081 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55082 _PC_PIPE_BUF handling.
55083
e4ecafe0
BH
550842011-04-30 Bruno Haible <bruno@clisp.org>
55085
55086 [BZ #12717]
55087 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55088 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55089 to 'int'.
55090 * inet/getnameinfo.c (getnameinfo): Likewise.
55091
125ee683
UD
550922011-04-29 Ulrich Drepper <drepper@gmail.com>
55093
55094 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55095 to groups setting in database lookup.
55096 * nss/nsswitch.conf: Add initgroups entry.
55097
b722481a
EB
550982011-04-22 Ulrich Drepper <drepper@gmail.com>
55099
55100 [BZ #12685]
55101 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55102 mode string.
55103 Patch by Eric Blake <eblake@redhat.com>.
55104
4df46dbd
L
551052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55106
55107 * sunrpc/Makefile (need-export-routines): Add svc_run.
55108 (routines): Remove svc_run.
55109 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55110 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55111 * sunrpc/svc_run.c (svc_run): Likewise.
55112 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55113
e84142d2
UD
551142011-04-21 Ulrich Drepper <drepper@gmail.com>
55115
55116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55117 problem in reallocation in last patch.
55118
877175d8
UD
551192011-04-20 Ulrich Drepper <drepper@gmail.com>
55120
55121 * sunrpc/Makefile: Move inclusion of Rules.
55122
ab8eed78
UD
551232011-04-19 Ulrich Drepper <drepper@gmail.com>
55124
55125 * nss/nss_files/files-initgroups.c: New file.
55126 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55127 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55128 _nss_files_initgroups_dyn.
55129
e3d8f584
RS
551302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55131
55132 * elf/elf.h (R_ARM_IRELATIVE): Define.
55133
af190f45
UD
551342011-04-19 Ulrich Drepper <drepper@gmail.com>
55135
55136 * po/ru.po: Update from translation team.
55137
53cf59ef
UD
551382011-04-17 Ulrich Drepper <drepper@gmail.com>
55139
55140 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55141 dependencies.
55142
4c559bcd
MF
551432011-02-06 Mike Frysinger <vapier@gentoo.org>
55144
55145 [BZ #12653]
55146 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55147 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55148 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55149 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55150 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55151
4420675c
AS
551522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55153
55154 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55155 differing bytes.
55156 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55159
75ea32ab
UD
551602011-04-17 Ulrich Drepper <drepper@gmail.com>
55161
55162 [BZ #12420]
55163 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55164 storing it.
55165 * stdlib/bug-getcontext.c: New file.
55166 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55167
27390476
AK
551682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55169
55170 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55171 instructions into .machine "z9-109".
55172 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55173 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55174
10442705
AK
551752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55176
55177 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55178 between environment variables and auxiliary vector.
55179
7b57bfe5
UD
551802011-04-16 Ulrich Drepper <drepper@gmail.com>
55181
55182 * Makefile: Add rules to build linkobj/libc.so.
55183 * include/libc-symbols.h: Define libc_hidden_nolink.
55184 * include/rpc/auth.h: Mark functions which are to be hidden.
55185 * include/rpc/auth_des.h: Likewise.
55186 * include/rpc/auth_unix.h: Likewise.
55187 * include/rpc/clnt.h: Likewise.
55188 * include/rpc/des_crypt.h: Likewise.
55189 * include/rpc/key_prot.h: Likewise.
55190 * include/rpc/pmap_clnt.h: Likewise.
55191 * include/rpc/pmap_prot.h: Likewise.
55192 * include/rpc/pmap_rmt.h: Likewise.
55193 * include/rpc/rpc_msg.h: Likewise.
55194 * include/rpc/svc.h: Likewise.
55195 * include/rpc/svc_auth.h: Likewise.
55196 * include/rpc/xdr.h: Likewise.
55197 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55198 * nss/Makefile: Likewise.
55199 * sunrpc/Makefile: Don't install headers. Build library with normal
55200 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55201 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55202 for the compat linking library. Remove use of INTDEF/INTUSE.
55203 * sunrpc/auth_none.c: Likewise.
55204 * sunrpc/auth_unix.c: Likewise.
55205 * sunrpc/authdes_prot.c: Likewise.
55206 * sunrpc/authuxprot.c: Likewise.
55207 * sunrpc/clnt_gen.c: Likewise.
55208 * sunrpc/clnt_perr.c: Likewise.
55209 * sunrpc/clnt_raw.c: Likewise.
55210 * sunrpc/clnt_simp.c: Likewise.
55211 * sunrpc/clnt_tcp.c: Likewise.
55212 * sunrpc/clnt_udp.c: Likewise.
55213 * sunrpc/clnt_unix.c: Likewise.
55214 * sunrpc/des_crypt.c: Likewise.
55215 * sunrpc/des_soft.c: Likewise.
55216 * sunrpc/get_myaddr.c: Likewise.
55217 * sunrpc/key_call.c: Likewise.
55218 * sunrpc/key_prot.c: Likewise.
55219 * sunrpc/netname.c: Likewise.
55220 * sunrpc/pm_getmaps.c: Likewise.
55221 * sunrpc/pm_getport.c: Likewise.
55222 * sunrpc/pmap_clnt.c: Likewise.
55223 * sunrpc/pmap_prot.c: Likewise.
55224 * sunrpc/pmap_prot2.c: Likewise.
55225 * sunrpc/pmap_rmt.c: Likewise.
55226 * sunrpc/publickey.c: Likewise.
55227 * sunrpc/rpc_cmsg.c: Likewise.
55228 * sunrpc/rpc_common.c: Likewise.
55229 * sunrpc/rpc_dtable.c: Likewise.
55230 * sunrpc/rpc_prot.c: Likewise.
55231 * sunrpc/rpc_thread.c: Likewise.
55232 * sunrpc/rtime.c: Likewise.
55233 * sunrpc/svc.c: Likewise.
55234 * sunrpc/svc_auth.c: Likewise.
55235 * sunrpc/svc_authux.c: Likewise.
55236 * sunrpc/svc_raw.c: Likewise.
55237 * sunrpc/svc_run.c: Likewise.
55238 * sunrpc/svc_simple.c: Likewise.
55239 * sunrpc/svc_tcp.c: Likewise.
55240 * sunrpc/svc_udp.c: Likewise.
55241 * sunrpc/svc_unix.c: Likewise.
55242 * sunrpc/svcauth_des.c: Likewise.
55243 * sunrpc/xcrypt.c: Likewise.
55244 * sunrpc/xdr.c: Likewise.
55245 * sunrpc/xdr_array.c: Likewise.
55246 * sunrpc/xdr_float.c: Likewise.
55247 * sunrpc/xdr_intXX_t.c: Likewise.
55248 * sunrpc/xdr_mem.c: Likewise.
55249 * sunrpc/xdr_rec.c: Likewise.
55250 * sunrpc/xdr_ref.c: Likewise.
55251 * sunrpc/xdr_sizeof.c: Likewise.
55252 * sunrpc/xdr_stdio.c: Likewise.
55253
e6c61494
UD
552542011-04-10 Ulrich Drepper <drepper@gmail.com>
55255
55256 [BZ #12650]
55257 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55258 * sysdeps/ia64/dl-tls.h: Likewise.
55259 * sysdeps/powerpc/dl-tls.h: Likewise.
55260 * sysdeps/s390/dl-tls.h: Likewise.
55261 * sysdeps/sh/dl-tls.h: Likewise.
55262 * sysdeps/sparc/dl-tls.h: Likewise.
55263 * sysdeps/x86_64/dl-tls.h: Likewise.
55264 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55265
34fe483e
AS
552662011-03-14 Andreas Schwab <schwab@redhat.com>
55267
55268 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55269 rpath element also skip the following colon.
55270 (expand_dynamic_string_token): Add is_path parameter and pass
55271 down to DL_DST_REQUIRED and _dl_dst_substitute.
55272 (decompose_rpath): Call expand_dynamic_string_token with
55273 non-zero is_path. Ignore empty rpaths.
55274 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55275 with zero is_path.
55276
f12a32e6
AS
552772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55278
55279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55280 Make cancelable.
55281
38a7d692
UD
552822011-04-09 Ulrich Drepper <drepper@gmail.com>
55283
55284 [BZ #12655]
55285 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55286 Patch by Filipe David Manana <fdmanana@apache.org>.
55287
e451d22b
AS
552882011-04-07 Andreas Schwab <schwab@redhat.com>
55289
55290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55291 Maintain aligned stack.
55292 (CHECK_RSP): Remove unused macro.
55293
dedc7c7b
UD
552942011-04-03 Ulrich Drepper <drepper@gmail.com>
55295
55296 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55297 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55298
94521213
UD
552992011-04-02 Ulrich Drepper <drepper@gmail.com>
55300
55301 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55302
8cb700c0 55303 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55304
0354e355
L
553052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55306
55307 [BZ #12518]
55308 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55309 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55310 * sysdeps/x86_64/memmove.c: New file.
55311 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55312 (memcpy): Renamed to ...
55313 (__new_memcpy): This.
55314 (memcpy): Provide GLIBC_2_14 memcpy.
55315 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55316 (memcpy): Provide GLIBC_2_2_5 memcpy.
55317
8593482f
UD
553182011-04-01 Ulrich Drepper <drepper@gmail.com>
55319
55320 [BZ #12631]
55321 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55322
81a5726b
AS
553232011-03-30 Andreas Schwab <schwab@redhat.com>
55324
55325 * misc/syncfs.c: New file.
55326 * misc/Makefile (routines): Add syncfs.
55327 * posix/unistd.h: Declare syncfs.
55328 * sysdeps/unix/syscalls.list: Add syncfs.
55329
00e5419f
AS
553302011-04-01 Andreas Schwab <schwab@redhat.com>
55331
55332 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55333 open_by_handle_at.
55334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55335 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55336 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55337 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55339 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55340 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55341
748876bf
UD
553422011-04-01 Ulrich Drepper <drepper@gmail.com>
55343
658e451d
UD
55344 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55346 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55348 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55351
748876bf
UD
55352 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55353 sync_file_range.c with -fexceptions.
55354 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55355 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55356 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55357 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55358 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55359 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55360 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55361 sync_file_range as cancellation point
55362 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55363 now a wrapper around __call_sync_file_range with cancellation handling.
55364 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55365 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55366 function name to __call_sync_file_range.
55367 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55368 Add call_sync_file_range.
748876bf 55369
6e63d5e1
AS
553702011-04-01 Andreas Schwab <schwab@redhat.com>
55371
55372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55373 bits/timex.h.
6e63d5e1 55374
46998f74
UD
553752011-04-01 Ulrich Drepper <drepper@gmail.com>
55376
4c1423ed
UD
55377 * iconv/iconv.h: Fix typo in comment.
55378 * io/fcntl.h: Likewise.
55379 * libio/stdio.h: Likewise.
55380 * posix/spawn.h: Likewise.
55381 * posix/unistd.h: Likewise.
55382 * stdlib/stdlib.h: Likewise.
55383 * time/time.h: Likewise.
55384 * wcsmbs/wchar.h: Likewise.
55385
158648c0
UD
55386 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55387 open_by_handle): Add.
55388 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55389 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55390 Augment a few comments.
55391 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55396 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55397 open_by_handle.
55398
46998f74
UD
55399 * io/fcntl.h (AT_EMPTY_PATH): Define.
55400
83fe108b
UD
554012011-03-30 Ulrich Drepper <drepper@gmail.com>
55402
55403 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55404 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55405 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55406 to...
55407 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55408 * Versions.def: Add GLIBC_2.14.
55409 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55410 Export.
83fe108b 55411
bb242059
UD
554122011-03-22 Ulrich Drepper <drepper@gmail.com>
55413
55414 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55415 round counter.
55416 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55417
c97a1282
L
554182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55419
55420 [BZ #12597]
55421 * string/test-strncmp.c (do_page_test): New function.
55422 (check2): Likewise.
55423 (test_main): Call check2.
55424 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55425
2a115601
UD
554262011-03-20 Ulrich Drepper <drepper@gmail.com>
55427
55428 [BZ #12587]
55429 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55430 Handle cache information in CPU leaf 4.
55431 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55432
8126d904
UD
554332011-03-18 Ulrich Drepper <drepper@gmail.com>
55434
042c49c6 55435 [BZ #12583]
8126d904
UD
55436 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55437 character representation.
55438 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55439
ccfe366e
RA
554402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55441
55442 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55443 END(__isnan) to END(__isnanf) to match function entry point/label
55444 EALIGN(__isnanf,...).
55445
c6e13027
JJ
554462011-03-10 Jakub Jelinek <jakub@redhat.com>
55447
55448 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55449
33f85a3f
UD
554502011-03-10 Ulrich Drepper <drepper@gmail.com>
55451
028478fa
UD
55452 [BZ #12510]
55453 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55454 copy from the symbol referenced in the relocation to initialize the
55455 used variable.
55456 Patch by Piotr Bury <pbury@goahead.com>.
55457 * elf/Makefile: Add rules to build and tst-unique3.
55458 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55459 * elf/tst-unique3.cc: New file.
55460 * elf/tst-unique3.h: New file.
55461 * elf/tst-unique3lib.cc: New file.
55462 * elf/tst-unique3lib2.cc: New file.
55463
33f85a3f
UD
55464 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55465
03592fc7
MF
554662011-03-10 Mike Frysinger <vapier@gentoo.org>
55467
55468 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55469 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55470 to _start.
03592fc7 55471
6a5ee102
UD
554722011-03-06 Ulrich Drepper <drepper@gmail.com>
55473
55474 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55475 to-be-loaded object along a path to loader is ld.so.
55476
7e4ba49c
HJ
554772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55478 Ulrich Drepper <drepper@gmail.com>
55479
55480 * sysdeps/x86_64/memset.S: After aligning destination, code
55481 branches to different locations depending on the value of
55482 misalignment, when multiarch is enabled. Fix this.
55483
554842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55485
55486 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55487 Set _x86_64_preferred_memory_instruction for AMD processsors.
55488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55489 Set bit_Prefer_SSE_for_memop for AMD processors.
55490
13a804de
UD
554912011-03-04 Ulrich Drepper <drepper@gmail.com>
55492
55493 * libio/fmemopen.c (fmemopen): Optimize a bit.
55494
9d25c392
AS
554952011-03-03 Andreas Schwab <schwab@redhat.com>
55496
55497 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55498
a5543c6a
RM
554992011-03-03 Roland McGrath <roland@redhat.com>
55500
55501 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55502
012d35f7
DM
555032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55504
7e4ba49c 55505 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55506 __bzero_ultra1 instead of __memset_ultra1.
55507
4bff6e01
AS
555082011-02-23 Andreas Schwab <schwab@redhat.com>
55509 Ulrich Drepper <drepper@gmail.com>
55510
55511 [BZ #12509]
55512 * include/link.h (struct link_map): Add l_orig_initfini.
55513 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55514 returning unsuccessfully.
55515 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55516 close of a file loaded at startup, restore the original l_initfini
55517 list.
55518 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55519 list, store the pointer.
55520 * elf/Makefile ($(objpfx)noload-mem): New rule.
55521 (noload-ENV): Define.
55522 (tests): Add $(objpfx)noload-mem.
55523 * elf/noload.c: Include <memcheck.h>.
55524 (main): Call mtrace. Close all opened handles.
55525
f2092faf
AS
555262011-02-17 Andreas Schwab <schwab@redhat.com>
55527
55528 [BZ #12454]
55529 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55530 dependencies are missing.
55531
6c8a2e88
ST
555322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55533
f2092faf 55534 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55535 Hurd needs munmap.
55536 * sysdeps/mach/hurd/ifreq.h: New file.
55537
84a42118
PB
555382011-01-27 Petr Baudis <pasky@suse.cz>
55539 Ulrich Drepper <drepper@gmail.com>
55540
071f805e 55541 [BZ 12445]#
84a42118
PB
55542 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55543 to extend_alloca().
55544 * stdio-common/bug23.c: New file.
55545 * stdio-common/Makefile (tests): Add bug23.
55546
e23fe25b
AS
555472010-09-28 Andreas Schwab <schwab@redhat.com>
55548 Ulrich Drepper <drepper@gmail.com>
55549
55550 [BZ #12489]
55551 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55552 before performing relro protection. At old place add assertion
55553 to make sure nothing changed.
55554
d3f02e10
NS
555552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55556 Glauber de Oliveira Costa <glommer@gmail.com>
55557
55558 * elf/elf.h: Add new ARM TLS relocs.
55559
d55fd7a5
RA
555602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55561
55562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55563 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55564 cast from r3.
55565 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55566 'tests' variable.
55567 * sysdeps/wordsize-64/tst-writev.c: New file.
55568
2206397e
RA
555692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55570
55571 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55572 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55573 insns in _dl_start to prevent a TOC reference before relocs are
55574 resolved.
55575
e9433893
UD
555762011-02-15 Ulrich Drepper <drepper@gmail.com>
55577
55578 [BZ #12469]
55579 * Makeconfig: Remove RANLIB definition.
55580 * Makerules: Don't use RANLIB.
55581 * aclocal.m4: Remove ranlib test.
55582 * configure.in: No need to check for ranlib.
55583 * elf/rtld-Rules: Don't use RANLIB.
55584
f75286c6
ST
555852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55586
8e31c82d
ST
55587 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55588 protection macro.
55589 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55590 inclusion protection macro.
55591
f75286c6
ST
55592 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55593 SIGRTMIN and SIGRTMAX and print information in that case only when
55594 SIGRTMIN is defined.
55595
c1d0e639
JJ
555962011-02-11 Jakub Jelinek <jakub@redhat.com>
55597
55598 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55599 arginfo fn returning -1.
55600
55601 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55602 and thousands string is zero terminated.
55603
edf9294e
AS
556042011-02-03 Andreas Schwab <schwab@redhat.com>
55605
55606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55607 sysdeps/unix/sysv/linux/bits/socket.h.
55608
2b7e92df
ST
556092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55610
edf9294e
AS
55611 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55612 (__CPU_COUNT): Remove old macros.
55613 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55614 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55615 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55616 (__sched_cpualloc, __sched_cpufree): Add declarations.
55617
a4c7ea7b
UD
556182011-02-05 Ulrich Drepper <drepper@gmail.com>
55619
55620 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55621 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55622 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55623 (readdhstai): Return value of addhstaiX call.
55624 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55625 (addgrbyX): Return value returned by cache_addgr.
55626 (readdgrbyname): Return value returned by addgrbyX.
55627 (readdgrbygid): Likewise.
55628 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55629 (addpwbyX): Return value returned by cache_addpw.
55630 (readdpwbyname): Return value returned by addhstbyX.
55631 (readdpwbyuid): Likewise.
55632 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55633 (addservbyX): Return value returned by cache_addserv.
55634 (readdservbyname): Return value returned by addservbyX:
55635 (readdservbyport): Likewise.
55636 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55637 (addhstbyX): Return value returned by cache_addhst.
55638 (readdhstbyname): Return value returned by addhstbyX.
55639 (readdhstbyaddr): Likewise.
55640 (readdhstbynamev6): Likewise.
55641 (readdhstbyaddrv6): Likewise.
55642 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55643 (readdinitgroups): Return value returned by addinitgroupsX.
55644 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55645 (prune_cache): Keep track of timeout value of re-added entries.
55646 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55647 * nscd/nscd.h: Adjust prototypes of readd* functions.
55648
a0bf67cc
RM
556492011-02-04 Roland McGrath <roland@redhat.com>
55650
55651 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55652 (nis_stats): Likewise.
55653 * nis/nis_modify.c (nis_modify): Likewise.
55654 * nis/nis_remove.c (nis_remove): Likewise.
55655 * nis/nis_add.c (nis_add): Likewise.
55656
55657 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55658
55659 * posix/fnmatch_loop.c: Add some consts.
55660
55661 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55662
435b95eb
L
556632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55664
55665 [BZ #12460]
55666 * config.make.in (config-cflags-novzeroupper): Define.
55667 * configure.in: Substitute libc_cv_cc_novzeroupper.
55668 * elf/Makefile (AVX-CFLAGS): Define.
55669 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55670 (CFLAGS-tst-auditmod4a.c): Likewise.
55671 (CFLAGS-tst-auditmod4b.c): Likewise.
55672 (CFLAGS-tst-auditmod6b.c): Likewise.
55673 (CFLAGS-tst-auditmod6c.c): Likewise.
55674 (CFLAGS-tst-auditmod7b.c): Likewise.
55675 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55676
8517b15e
UD
556772011-02-02 Ulrich Drepper <drepper@gmail.com>
55678
55679 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55680 function to the callback.
55681 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55682
10a656fe
AS
556832011-02-02 Andreas Schwab <schwab@redhat.com>
55684
55685 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55686 of errno.
55687
968dad0a
UD
556882011-01-19 Ulrich Drepper <drepper@gmail.com>
55689
9f94d2ea 55690 [BZ #11724]
968dad0a
UD
55691 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55692 of constructors.
55693 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55694 of destructors.
55695 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55696
55697 [BZ #11724]
55698 * elf/Makefile: Add rules to build and run new test.
55699 * elf/tst-initorder.c: New file.
55700 * elf/tst-initorder.exp: New file.
55701 * elf/tst-initordera1.c: New file.
55702 * elf/tst-initordera2.c: New file.
55703 * elf/tst-initordera3.c: New file.
55704 * elf/tst-initordera4.c: New file.
55705 * elf/tst-initorderb1.c: New file.
55706 * elf/tst-initorderb2.c: New file.
55707 * elf/tst-order-a1.c: New file.
55708 * elf/tst-order-a2.c: New file.
55709 * elf/tst-order-a3.c: New file.
55710 * elf/tst-order-a4.c: New file.
55711 * elf/tst-order-b1.c: New file.
55712 * elf/tst-order-b2.c: New file.
55713 * elf/tst-order-main.c: New file.
55714 New test case by George Gensure <werkt0@gmail.com>.
55715
86e92359
UD
557162010-10-01 Andreas Schwab <schwab@redhat.com>
55717
55718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55719 decoding ACE if AI_CANONIDN.
55720
5d5732b0
UD
557212011-01-18 Ulrich Drepper <drepper@gmail.com>
55722
55723 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55724
a77e8cbc
UD
557252011-01-17 Ulrich Drepper <drepper@gmail.com>
55726
6392473f
UD
55727 * version.h (RELEASE): Bump for 2.13 release.
55728 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55729
620a0529
UD
55730 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55731
18ba70a5
UD
55732 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55733 MADV_NOHUGEPAGE.
32465c3e
UD
55734 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55735 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55736 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55737 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55738 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55739 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55740
c0dafcf1
UD
55741 * posix/getconf.c: Update copyright year.
55742 * catgets/gencat.c: Likewise.
55743 * csu/version.c: Likewise.
55744 * debug/catchsegv.sh: Likewise.
55745 * debug/xtrace.sh: Likewise.
55746 * elf/ldconfig.c: Likewise.
55747 * elf/ldd.bash.in: Likewise.
55748 * elf/sprof.c (print_version): Likewise.
55749 * iconv/iconv_prog.c: Likewise.
55750 * iconv/iconvconfig.c: Likewise.
55751 * locale/programs/locale.c: Likewise.
55752 * locale/programs/localedef.c: Likewise.
55753 * malloc/memusage.sh: Likewise.
55754 * malloc/mtrace.pl: Likewise.
55755 * nscd/nscd.c (print_version): Likewise.
55756 * nss/getent.c: Likewise.
55757
a77e8cbc
UD
55758 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55759 PF_CAIF, and PF_ALG.
55760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55761
77e8bddf
AS
557622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55763
1f20b93a
AS
55764 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55765 (modules-names): Use them.
55766 (ifunc-test-modules, ifunc-pie-tests): Define.
55767 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55768 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55769 (test-extras): Likewise.
55770 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55771 $(compile-command.c).
55772 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55773 (all-built-dso): Define.
55774 (check-textrel.out, check-execstack.out): Depend on it.
55775
77e8bddf
AS
55776 * configure.in: Don't override --enable-multi-arch.
55777
bc425b33
UD
557782011-01-15 Ulrich Drepper <drepper@gmail.com>
55779
55780 [BZ #6812]
55781 * nscd/hstcache.c (tryagain): Define.
55782 (cache_addhst): Return tryagain not notfound for temporary errors.
55783 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55784 failed.
55785
794c3ad3
UD
557862011-01-14 Ulrich Drepper <drepper@gmail.com>
55787
70181fdd
UD
55788 [BZ #10563]
55789 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55790 to make the syscall.
55791 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55792
794c3ad3
UD
55793 [BZ #12378]
55794 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55795 and fall back to matching as normal character if the string ends before
55796 the matching ']' is found. This is what POSIX requires.
55797 * posix/testfnm.c: Adjust test result.
55798 * posix/globtest.sh: Adjust test result. Add new test.
55799 * posix/tst-fnmatch.input: Likewise.
55800 * posix/tst-fnmatch2.c: Add new test.
55801
68dc9497
AS
558022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55803
55804 * elf/Makefile (check-execstack): Revert last change. Depend on
55805 check-execstack.h.
55806 (check-execstack.h): New target.
55807 (generated): Add check-execstack.h.
55808 * elf/check-execstack.c: Include "check-execstack.h".
55809 (main): Revert last change.
55810 (handle_file): Return zero if GNU_STACK is absent and
55811 DEFAULT_STACK_PERMS doesn't include PF_X.
55812
451f001b
UD
558132011-01-13 Ulrich Drepper <drepper@gmail.com>
55814
cfa28e56
UD
55815 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55816 in child fails because the descriptor is already closed.
8cf8ce17
UD
55817 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55818 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55819 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55820
1086d70d
UD
55821 [BZ #12397]
55822 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55823 syscall.
55824
451f001b
UD
55825 [BZ #10484]
55826 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55827 temporary buffer used to handle multi lookups locally.
a85b5cb4 55828 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55829
08769175
UD
558302011-01-12 Ulrich Drepper <drepper@gmail.com>
55831
55832 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55833 loader is ld.so.
55834
5e49c52e
UD
558352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55836
55837 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55838 alignment for SSE2.
55839
60522a5f
UD
558402011-01-12 Ulrich Drepper <drepper@gmail.com>
55841
55842 [BZ #12394]
55843 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55844 characters. When rounding increased number of integer digits recompute
55845 number of groups.
55846 * stdio-common/tst-grouping.c: New file.
55847 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55848
f257bbd7
UD
558492011-01-09 Ulrich Drepper <drepper@gmail.com>
55850
55851 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55852 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55853
55854 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55855 void.
55856 * bits/select.h: Likewise.
55857
fa9c15cb
UD
558582011-01-08 Ulrich Drepper <drepper@gmail.com>
55859
55860 * po/ja.po: Update from translation team.
55861
16c2895f
DM
558622011-01-04 David S. Miller <davem@sunset.davemloft.net>
55863
55864 [BZ #11155]
55865 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55866 implementation just like for lxstat, fxstatat, et al.
55867
2543fef2
JM
558682010-12-27 Jim Meyering <meyering@redhat.com>
55869
55870 [BZ #12348]
55871 * posix/regexec.c (build_trtable): Return failure indication upon
55872 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55873
98727dbe
UD
558742010-12-25 Ulrich Drepper <drepper@gmail.com>
55875
5bd6dc5c
UD
55876 [BZ #12201]
55877 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55878 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55879 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55880 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55881
97983464
UD
55882 [BZ #12207]
55883 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55884
98727dbe
UD
55885 [BZ #12204]
55886 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55887 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55888
4a531bb0
L
558892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55890
55891 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55892 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55893 script has SORT_BY_INIT_PRIORITY.
55894 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55895 NO_CTORS_DTORS_SECTIONS is defined.
55896 * elf/soinit.c: Likewise.
55897 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55898 NO_CTORS_DTORS_SECTIONS is defined.
55899 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55900 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55901 * sysdeps/sh/init-first.c: Likewise.
55902 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55903
07eb4b71
UD
559042010-12-24 Ulrich Drepper <drepper@gmail.com>
55905
55906 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55907 always use the slow path.
55908
30950a5f
RA
559092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55910
55911 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55912 similar rule which adds the sysdep directories to the header search in
55913 order to pick up the correct platform stackinfo.h.
55914 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55915 perform test if it is, otherwise return successfully without testing.
55916 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55917 DEFAULT_STACK_PERMS define in stackinfo.h.
55918 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55919 defined in stackinfo.h.
55920 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55921 DEFAULT_STACK_PERMS defined in stackinfo.h.
55922 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55923 * sysdeps/ia64/stackinfo.h: Likewise.
55924 * sysdeps/s390/stackinfo.h: Likewise.
55925 * sysdeps/sh/stackinfo.h: Likewise.
55926 * sysdeps/sparc/stackinfo.h: Likewise.
55927 * sysdeps/x86_64/stackinfo.h: Likewise.
55928 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55929 PF_X for powerpc64. Retain PF_X for powerpc32.
55930
db753e2c
UD
559312010-12-19 Ulrich Drepper <drepper@gmail.com>
55932
14b697f7
UD
55933 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55934 accurately.
db753e2c
UD
55935 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55936 GETDENTS_64BIT_ALIGNED.
55937
28300719
UD
559382010-12-14 Ulrich Drepper <dreper@gmail.com>
55939
14b697f7 55940 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55941
4f197237
AS
559422010-12-10 Andreas Schwab <schwab@redhat.com>
55943
dbb0472f
AS
55944 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55945 _GNU_SOURCE.
55946
4f197237
AS
55947 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55948 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55949 Remove __restrict.
55950 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55951 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55952
fb88ac72
UD
559532010-12-09 Ulrich Drepper <drepper@gmail.com>
55954
55955 [BZ #11655]
55956 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55957 are initialized.
55958
42acbb92
JJ
559592010-12-09 Jakub Jelinek <jakub@redhat.com>
55960
55961 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55962
c038d98d
UD
559632010-12-03 Ulrich Drepper <drepper@gmail.com>
55964
55965 * po/it.po: Update from translation team.
55966
3a4a2499
L
559672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55968
55969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55970 unused codes.
55971
1e24cf6e
UD
559722010-11-30 Ulrich Drepper <drepper@gmail.com>
55973
55974 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55975
a7690819
AS
559762010-11-24 Andreas Schwab <schwab@redhat.com>
55977
55978 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55979 specially.
55980 (gaih_getanswer_slice): Likewise.
55981
3bf8d1b1
JJ
559822010-10-20 Jakub Jelinek <jakub@redhat.com>
55983
55984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55985
6db52fbb
PB
559862010-05-31 Petr Baudis <pasky@suse.cz>
55987
55988 [BZ #11149]
55989 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55990 silently even in the chroot mode.
55991
eaca7569
UD
559922010-11-22 Ulrich Drepper <drepper@gmail.com>
55993
55994 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55995 last patch a bit. Pretty printing
55996
3056dcdb
UD
559972010-05-31 Petr Baudis <pasky@suse.cz>
55998
55999 [BZ #10085]
56000 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56001 initialization of skip_initgroups_dyn.
56002
cf7c9078
UD
560032010-11-19 Ulrich Drepper <drepper@gmail.com>
56004
56005 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56006 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56007
a1fb5e3e
UD
560082010-11-16 Ulrich Drepper <drepper@gmail.com>
56009
56010 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56011
3540d66b
AS
560122010-11-11 Andreas Schwab <schwab@redhat.com>
56013
56014 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56015 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56016 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56017 ($(objpfx)tst-fnmatch-mem): New rule.
56018 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56019 * posix/tst-fnmatch.c (main): Call mtrace.
56020
13b69574
L
560212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56022
56023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56024 Support Intel processor model 6 and model 0x2c.
56025
da93d214
LM
560262010-11-10 Luis Machado <luisgpm@br.ibm.com>
56027
56028 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56029 signed comparison.
56030
8ca52c6e
L
560312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56032
56033 [BZ #12205]
56034 * string/test-strncasecmp.c (check_result): New function.
56035 (do_one_test): Use it.
56036 (check1): New function.
56037 (test_main): Use it.
56038 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56039 Support strcasecmp and strncasecmp.
56040
69da074d
UD
560412010-11-08 Ulrich Drepper <drepper@gmail.com>
56042
56043 [BZ #12194]
56044 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56045 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56046
ff02d528
L
560472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56048
56049 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56050 IFUNC support.
56051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56052 memset-x86-64.
56053 * sysdeps/x86_64/multiarch/bzero.S: New file.
56054 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56055 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56056 * sysdeps/x86_64/multiarch/memset.S: New file.
56057 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56059 Set bit_Prefer_SSE_for_memop for Intel processors.
56060 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56061 Define.
56062 (index_Prefer_SSE_for_memop): Define.
56063 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56064
344d0b54
LM
560652010-11-04 Luis Machado <luisgpm@br.ibm.com>
56066
56067 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56068 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56069
c0dde15b
UD
560702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56071
56072 [BZ #12191]
56073 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56074 (__x86_64_raw_data_cache_size_half): Likewise.
56075 (__x86_64_raw_shared_cache_size): Likewise.
56076 (__x86_64_raw_shared_cache_size_half): Likewise.
56077
56078 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56079 (__x86_64_raw_data_cache_size_half): Likewise.
56080 (__x86_64_raw_shared_cache_size): Likewise.
56081 (__x86_64_raw_shared_cache_size_half): Likewise.
56082 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56083 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56084 and __x86_64_raw_shared_cache_size_half. Round
56085 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56086 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56087 to multiple of 256 bytes.
56088
0e516e0e
MS
560892010-11-03 Ulrich Drepper <drepper@gmail.com>
56090
56091 [BZ #12167]
56092 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56093 of inacessible symlinks. Verify result of symlink before returning it.
56094 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56095 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56096
0e012e87
ER
560972010-10-28 Erich Ritz <erichritz@gmail.com>
56098
56099 * math/math.h (isinf): Fix typo in comment.
56100
de0ff7bc
UD
561012010-11-01 Ulrich Drepper <drepper@gmail.com>
56102
56103 * po/da.po: Update from translation team.
56104
fa41c84d
UD
561052010-10-26 Ulrich Drepper <drepper@gmail.com>
56106
56107 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56108 is added to the list.
56109
f0967738
AK
561102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56111 Ulrich Drepper <drepper@gmail.com>
56112
56113 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56114 the global list here. Move code to...
56115 (_dl_add_to_namespace_list): ...here. New function.
56116 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56117 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56118 * elf/dl-load.c (lose): Don't remove the element from the list.
56119 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56120 (_dl_map_object): Likewise.
56121
561222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56123
56124 [BZ #12159]
56125 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56126 into all bytes of SSE register.
56127 Patch by Richard Li <richardpku@gmail.com>.
56128
f0967738 561292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56130
56131 [BZ #12140]
56132 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56133 perturbing.
56134
d0b9e94f
MB
561352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56136
56137 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56138 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56139 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56140 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56142 submachine.
56143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56144
8e9f92e9
AS
561452010-10-22 Andreas Schwab <schwab@redhat.com>
56146
56147 * include/dlfcn.h (__RTLD_SECURE): Define.
56148 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56149 mode & __RTLD_SECURE instead.
56150 (open_path): Rename preloaded parameter to secure.
56151 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56152 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56153 * elf/dl-deps.c (openaux): Likewise.
56154 * elf/rtld.c (struct map_args): Remove is_preloaded.
56155 (map_doit): Don't use it.
56156 (dl_main): Likewise.
56157 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56158 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56159
bc96fbda
AS
561602010-09-09 Andreas Schwab <schwab@redhat.com>
56161
56162 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56163 (sysd-rules-targets): Remove duplicates.
56164 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56165 rtld-%.$o dependency.
56166
22cd1c9b
AS
561672010-10-18 Andreas Schwab <schwab@redhat.com>
56168
56169 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56170 _dl_map_object do it.
56171
18edac48
UD
561722010-10-19 Ulrich Drepper <drepper@gmail.com>
56173
56174 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56175 fast fma builtins, define the macros in the C99 standard.
56176 (FP_FAST_FMAF): Likewise.
56177 (FP_FAST_FMAL): Likewise.
56178 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56179
56180 * bits/mathdef.h: Update copyright year.
56181 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56182
d2050124
MM
561832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56184
56185 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56186 builtins, define the macros in the C99 standard.
56187 (FP_FAST_FMAF): Likewise.
56188 (FP_FAST_FMAL): Likewise.
56189 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56190 multiply/add.
56191 (FP_FAST_FMAF): Likewise.
56192
475facd1
JJ
561932010-10-15 Jakub Jelinek <jakub@redhat.com>
56194
56195 [BZ #3268]
56196 * math/libm-test.inc (fma_test): Some new testcases.
56197 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56198 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56199 y and infinite z. Do multiplication by C already in long double.
56200 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56202 y and infinite z. Do bitwise or of inexact bit into u.d.
56203 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56204 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56205 * sysdeps/i386/fpu/s_fma.S: Removed.
56206 * sysdeps/i386/fpu/s_fmal.S: Removed.
56207
7c08a05c
JJ
562082010-10-16 Jakub Jelinek <jakub@redhat.com>
56209
56210 [BZ #3268]
56211 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56212 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56213 computation is not scheduled after fetestexcept. Fix value
56214 of minimum denormal long double.
56215
f3f7372d
JJ
562162010-10-14 Jakub Jelinek <jakub@redhat.com>
56217
56218 [BZ #3268]
56219 * math/libm-test.inc (fma_test): Add some more tests.
56220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56221 correctly.
56222
14d43591
AS
562232010-10-15 Andreas Schwab <schwab@redhat.com>
56224
56225 * scripts/data/localplt-s390-linux-gnu.data: New file.
56226 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56227
5e908464
JJ
562282010-10-13 Jakub Jelinek <jakub@redhat.com>
56229
56230 [BZ #3268]
56231 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56232 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56233 instead of dbl-64.
56234 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56235 inlines.
56236 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56238 if one of x and y is very large and the other is subnormal.
56239 * sysdeps/s390/fpu/s_fmaf.c: New file.
56240 * sysdeps/s390/fpu/s_fma.c: New file.
56241 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56242 * sysdeps/powerpc/fpu/s_fma.S: New file.
56243 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56244 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56245 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56246
562472010-10-12 Jakub Jelinek <jakub@redhat.com>
56248
56249 [BZ #3268]
56250 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56251 fma tests.
56252 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56253 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56254 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56255 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56256 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56257 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56258 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56259
b833d51f
UD
562602010-10-12 Ulrich Drepper <drepper@redhat.com>
56261
56262 [BZ #12078]
56263 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56264 * posix/bug-regex31.input: Add test case.
56265
1751705d
UD
562662010-10-11 Ulrich Drepper <drepper@gmail.com>
56267
e9b9cbf5
UD
56268 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56269 * posix/bug-regex31.input: New file.
56270
56271 [BZ #12078]
56272 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56273 (parse_sub_exp): Fix last change, use postorder.
56274
ef06edbe
UD
56275 * posix/bug-regex31.c: New file.
56276 * posix/Makefile: Add rules to build and run bug-regex31.
56277
a129c80d
UD
56278 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56279
56280 [BZ #12078]
56281 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56282
b76b818e
UD
56283 [BZ #12108]
56284 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56285 to have entries in sys_siglist.
56286
1751705d
UD
56287 [BZ #12093]
56288 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56289 be NULL.
56290
9ff8d36f
JJ
562912010-10-07 Jakub Jelinek <jakub@redhat.com>
56292
56293 [BZ #3268]
56294 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56295 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56296 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56297 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56298 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56299 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56300 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56301 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56302 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56303 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56304 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56305 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56306 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56307 * math/ftestexcept.c (fetestexcept): Likewise.
56308 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56309 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56310 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56311 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56312 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56313 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56314 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56315
af325969
UD
563162010-10-11 Ulrich Drepper <drepper@gmail.com>
56317
c579b202 56318 [BZ #12107]
af325969
UD
56319 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56320 newline.
56321
67a67b95
UD
563222010-10-06 Ulrich Drepper <drepper@gmail.com>
56323
56324 * string/bug-strstr1.c: New file.
56325 * string/Makefile: Add rules to build and run bug-strstr1.
56326
5fb308bc
EB
563272010-10-05 Eric Blake <eblake@redhat.com>
56328
56329 [BZ #12092]
56330 * string/str-two-way.h (two_way_long_needle): Always clear memory
56331 when skipping input due to the shift table.
56332
45db99c7
UD
563332010-10-03 Ulrich Drepper <drepper@gmail.com>
56334
3b111893
UD
56335 [BZ #12005]
56336 * malloc/mcheck.c: Handle large requests.
56337
45db99c7
UD
56338 [BZ #12077]
56339 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56340 for strncmp and strncasecmp.
56341 * string/stratcliff.c: Add tests for strcmp and strncmp.
56342 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56343
cf7a1eb8
NI
563442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56345
56346 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56347 __set_fpscr.
56348
6484ba5e
AJ
563492010-09-30 Andreas Jaeger <aj@suse.de>
56350
56351 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56352 (CGROUP_SUPER_MAGIC): Define.
56353 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56354 Handle btrfs and cgroup file systems.
56355 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56356 Likewise.
56357
91c42559
LM
563582010-09-27 Luis Machado <luisgpm@br.ibm.com>
56359
56360 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56361 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56362
87a97932
AK
563632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56364
56365 [BZ #12067]
56366 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56367 trying to locate the ELF header.
56368
c21cc9bc
AS
563692010-09-27 Andreas Schwab <schwab@redhat.com>
56370
56371 [BZ #11611]
56372 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56373 Mask out sign-bit copies when constructing f_fsid.
56374
315970f6
PB
563752010-09-24 Petr Baudis <pasky@suse.cz>
56376
56377 * debug/stack_chk_fail_local.c: Add missing licence exception.
56378 * debug/warning-nop.c: Likewise.
56379
1ac7a2c7
JM
563802010-09-15 Joseph Myers <joseph@codesourcery.com>
56381
56382 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56383 implementing getdents64 using getdents syscall, set d_type if
56384 __ASSUME_GETDENTS32_D_TYPE.
56385
56801c50
AS
563862010-09-16 Andreas Schwab <schwab@redhat.com>
56387
56388 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56389 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56390
dda51327
UD
563912010-09-21 Ulrich Drepper <drepper@redhat.com>
56392
56393 [BZ #12037]
56394 * posix/unistd.h: Undo change of feature selection for ftruncate from
56395 2010-01-11.
56396
8ffcee4a
UD
563972010-09-20 Ulrich Drepper <drepper@redhat.com>
56398
a545ecd9 56399 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56400 detection.
56401
e24f0a8b
AS
564022010-09-20 Andreas Schwab <schwab@redhat.com>
56403
56404 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56405 fanotify_mark.
56406 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56407
7291c56f
AS
564082010-09-14 Andreas Schwab <schwab@redhat.com>
56409
56410 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56411 variables after CHECK_SP call.
56412 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56413
bc5fb037
AS
564142010-09-13 Andreas Schwab <schwab@redhat.com>
56415 Ulrich Drepper <drepper@redhat.com>
56416
56417 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56418 re-relocationg ld.so.
56419 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56420 _dl_init_paths call.
56421 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56422 here anymore.
56423
e66e7419
UD
564242010-09-14 Ulrich Drepper <drepper@redhat.com>
56425
56426 * resolv/res_init.c (__res_vinit): Count the default server we added.
56427
c044aa75
CLT
564282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56429 Ulrich Drepper <drepper@redhat.com>
56430
56431 [BZ #11968]
56432 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56433 (____longjmp_chk): Use %ebx for saving value across system call.
56434 Add unwind info.
56435
32cf4069
AS
564362010-09-06 Andreas Schwab <schwab@redhat.com>
56437
56438 * manual/Makefile: Don't mix pattern rules with normal rules.
56439
817328ee
AS
564402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56441
56442 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56443 operation.
56444 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56445 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56446 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56447 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56449 Likewise.
56450
29fddf61
UD
564512010-09-04 Ulrich Drepper <drepper@redhat.com>
56452
56453 [BZ #11979]
56454 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56455 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56456
0959ffc9
UD
564572010-09-02 Ulrich Drepper <drepper@redhat.com>
56458
56459 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56460 * sysdeps/x86_64/addmul_1.S: Likewise.
56461 * sysdeps/x86_64/lshift.S: Likewise.
56462 * sysdeps/x86_64/mul_1.S: Likewise.
56463 * sysdeps/x86_64/rshift.S: Likewise.
56464 * sysdeps/x86_64/sub_n.S: Likewise.
56465 * sysdeps/x86_64/submul_1.S: Likewise.
56466
ece29840
ST
564672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56468
0959ffc9
UD
56469 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56470 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56471 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56472 * bits/sched.h [__need_schedparam]
ece29840 56473 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56474 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56475 (__defined_schedparam): Define to 1.
ece29840
ST
56476 (__sched_param): New structure, identical to sched_param.
56477 (__need_schedparam): Undefine.
56478
e53a31fe
MF
564792010-08-31 Mike Frysinger <vapier@gentoo.org>
56480
fdc0c10d
MF
56481 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56482 (epoll_create1): Declare.
56483
e53a31fe
MF
56484 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56485
a726d796
AS
564862010-08-31 Andreas Schwab <schwab@redhat.com>
56487
56488 [BZ #7066]
56489 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56490 shifting retval into place.
56491
2f3e3dc7
UD
564922010-09-01 Ulrich Drepper <drepper@redhat.com>
56493
f2933da9
UD
56494 * nis/rpcsvc/nis.h: Update copyright notice.
56495 * nis/rpcsvc/nis.x: Likewise.
56496 * nis/rpcsvc/nis_callback.h: Likewise.
56497 * nis/rpcsvc/nis_callback.x: Likewise.
56498 * nis/rpcsvc/nis_object.x: Likewise.
56499 * nis/rpcsvc/nis_tags.h: Likewise.
56500 * nis/rpcsvc/yp.h: Likewise.
56501 * nis/rpcsvc/yp.x: Likewise.
56502 * nis/rpcsvc/ypupd.h: Likewise.
56503 * nis/yp_xdr.c: Likewise.
56504 * nis/ypupdate_xdr.c: Likewise.
56505
2f3e3dc7
UD
56506 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56507 mainly the body of pmap_getport. Add parameters to specify timeouts.
56508 (pmap_getport): Use __libc_rpc_getport.
56509 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56510 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56511 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56512
f3dcc2f9
AS
565132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56514
56515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56516 fanotify_mark.
56517
6d34eb5b
RM
565182010-08-27 Roland McGrath <roland@redhat.com>
56519
56520 * sysdeps/i386/i686/multiarch/Makefile
56521 (CFLAGS-varshift.c): New variable.
56522
9ea3de11
UD
565232010-08-27 Ulrich Drepper <drepper@redhat.com>
56524
c96d23fc
UD
56525 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56526 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56527
9ea3de11
UD
56528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56529
56530 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56531
623aac7f
L
565322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56533
56534 * sysdeps/x86_64/strlen.S: Unroll the loop.
56535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56536 strlen-sse2 strlen-sse2-bsf.
56537 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56538 __strlen_no_bsf if bit_Slow_BSF is set.
56539 (__strlen_sse42): Removed.
56540 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56541 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56542
8b2b7715
RM
565432010-08-25 Roland McGrath <roland@redhat.com>
56544
56545 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56546 * sysdeps/x86_64/multiarch/varshift.c: New file.
56547 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56548 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56549 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56550 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56551
e73015f2
L
565522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56553
56554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56555 strlen-sse2 strlen-sse2-bsf.
56556 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56557 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56558 (__strlen_sse2): Removed.
56559 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56560 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56562 bit_Slow_BSF for Atom.
56563 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56564 (index_Slow_BSF): Define.
56565 (HAS_SLOW_BSF): Define.
56566
df24a73e
UD
565672010-08-25 Ulrich Drepper <drepper@redhat.com>
56568
56569 [BZ #10851]
56570 * resolv/res_init.c (__res_vinit): When no server address at all
56571 is given default to loopback.
56572
f2ac4868
RM
565732010-08-24 Roland McGrath <roland@redhat.com>
56574
09055553
RM
56575 * configure.in: Remove config-name.h generation.
56576 * configure: Regenerated.
56577 * config-name.in: File removed.
56578 * scripts/config-uname.sh: New file.
56579 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56580 ($(objdir)config-name.h): New target.
56581
f2ac4868
RM
56582 * sunrpc/rpc_parse.h: Avoid nested comment.
56583
73f27d5e
RH
565842010-08-24 Richard Henderson <rth@redhat.com>
56585 Ulrich Drepper <drepper@redhat.com>
56586 H.J. Lu <hongjiu.lu@intel.com>
56587
56588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56590 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56591 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56592 _mm_alignr_epi8 with _mm_loadu_si128.
56593 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56594 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56595 (__m128i_shift_right): Removed.
56596 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56597 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56598 * sysdeps/x86_64/multiarch/varshift.h: New file.
56599 * sysdeps/x86_64/multiarch/varshift.S: New file.
56600
84b9230c
MF
566012010-08-21 Mike Frysinger <vapier@gentoo.org>
56602
56603 * configure.in: Move assembler checks to before sysdep dir checking.
56604
9bbd0ddc
PB
566052010-08-20 Petr Baudis <pasky@suse.cz>
56606
56607 * LICENSES: Sync the sunrpc license.
56608
9da4bb31
UD
566092010-08-19 Ulrich Drepper <drepper@redhat.com>
56610
a7ab6ec8
UD
56611 * sunrpc/auth_des.c: Update copyright notice once again.
56612 * sunrpc/auth_none.c: Likewise.
56613 * sunrpc/auth_unix.c: Likewise.
56614 * sunrpc/authdes_prot.c: Likewise.
56615 * sunrpc/authuxprot.c: Likewise.
56616 * sunrpc/bindrsvprt.c: Likewise.
56617 * sunrpc/clnt_gen.c: Likewise.
56618 * sunrpc/clnt_perr.c: Likewise.
56619 * sunrpc/clnt_raw.c: Likewise.
56620 * sunrpc/clnt_simp.c: Likewise.
56621 * sunrpc/clnt_tcp.c: Likewise.
56622 * sunrpc/clnt_udp.c: Likewise.
56623 * sunrpc/clnt_unix.c: Likewise.
56624 * sunrpc/des_crypt.c: Likewise.
56625 * sunrpc/des_soft.c: Likewise.
56626 * sunrpc/get_myaddr.c: Likewise.
56627 * sunrpc/getrpcport.c: Likewise.
56628 * sunrpc/key_call.c: Likewise.
56629 * sunrpc/key_prot.c: Likewise.
56630 * sunrpc/openchild.c: Likewise.
56631 * sunrpc/pm_getmaps.c: Likewise.
56632 * sunrpc/pm_getport.c: Likewise.
56633 * sunrpc/pmap_clnt.c: Likewise.
56634 * sunrpc/pmap_prot.c: Likewise.
56635 * sunrpc/pmap_prot2.c: Likewise.
56636 * sunrpc/pmap_rmt.c: Likewise.
56637 * sunrpc/rpc/auth.h: Likewise.
56638 * sunrpc/rpc/auth_unix.h: Likewise.
56639 * sunrpc/rpc/clnt.h: Likewise.
56640 * sunrpc/rpc/des_crypt.h: Likewise.
56641 * sunrpc/rpc/key_prot.h: Likewise.
56642 * sunrpc/rpc/netdb.h: Likewise.
56643 * sunrpc/rpc/pmap_clnt.h: Likewise.
56644 * sunrpc/rpc/pmap_prot.h: Likewise.
56645 * sunrpc/rpc/pmap_rmt.h: Likewise.
56646 * sunrpc/rpc/rpc.h: Likewise.
56647 * sunrpc/rpc/rpc_des.h: Likewise.
56648 * sunrpc/rpc/rpc_msg.h: Likewise.
56649 * sunrpc/rpc/svc.h: Likewise.
56650 * sunrpc/rpc/svc_auth.h: Likewise.
56651 * sunrpc/rpc/types.h: Likewise.
56652 * sunrpc/rpc/xdr.h: Likewise.
56653 * sunrpc/rpc_clntout.c: Likewise.
56654 * sunrpc/rpc_cmsg.c: Likewise.
56655 * sunrpc/rpc_common.c: Likewise.
56656 * sunrpc/rpc_cout.c: Likewise.
56657 * sunrpc/rpc_dtable.c: Likewise.
56658 * sunrpc/rpc_hout.c: Likewise.
56659 * sunrpc/rpc_main.c: Likewise.
56660 * sunrpc/rpc_parse.c: Likewise.
56661 * sunrpc/rpc_parse.h: Likewise.
56662 * sunrpc/rpc_prot.c: Likewise.
56663 * sunrpc/rpc_sample.c: Likewise.
56664 * sunrpc/rpc_scan.c: Likewise.
56665 * sunrpc/rpc_scan.h: Likewise.
56666 * sunrpc/rpc_svcout.c: Likewise.
56667 * sunrpc/rpc_tblout.c: Likewise.
56668 * sunrpc/rpc_util.c: Likewise.
56669 * sunrpc/rpc_util.h: Likewise.
56670 * sunrpc/rpcinfo.c: Likewise.
56671 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56672 * sunrpc/rpcsvc/key_prot.x: Likewise.
56673 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56674 * sunrpc/rpcsvc/mount.x: Likewise.
56675 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56676 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56677 * sunrpc/rpcsvc/rex.x: Likewise.
56678 * sunrpc/rpcsvc/rstat.x: Likewise.
56679 * sunrpc/rpcsvc/rusers.x: Likewise.
56680 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56681 * sunrpc/rpcsvc/spray.x: Likewise.
56682 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56683 * sunrpc/rtime.c: Likewise.
56684 * sunrpc/svc.c: Likewise.
56685 * sunrpc/svc_auth.c: Likewise.
56686 * sunrpc/svc_authux.c: Likewise.
56687 * sunrpc/svc_raw.c: Likewise.
56688 * sunrpc/svc_run.c: Likewise.
56689 * sunrpc/svc_simple.c: Likewise.
56690 * sunrpc/svc_tcp.c: Likewise.
56691 * sunrpc/svc_udp.c: Likewise.
56692 * sunrpc/svc_unix.c: Likewise.
56693 * sunrpc/svcauth_des.c: Likewise.
56694 * sunrpc/xcrypt.c: Likewise.
56695 * sunrpc/xdr.c: Likewise.
56696 * sunrpc/xdr_array.c: Likewise.
56697 * sunrpc/xdr_float.c: Likewise.
56698 * sunrpc/xdr_mem.c: Likewise.
56699 * sunrpc/xdr_rec.c: Likewise.
56700 * sunrpc/xdr_ref.c: Likewise.
56701 * sunrpc/xdr_sizeof.c: Likewise.
56702 * sunrpc/xdr_stdio.c: Likewise.
56703
9da4bb31
UD
56704 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56705 handling.
56706
bdaa77bc
AS
567072010-08-19 Andreas Schwab <schwab@redhat.com>
56708
56709 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56710
fe2f79db
LM
567112010-08-19 Luis Machado <luisgpm@br.ibm.com>
56712
56713 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56714 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56715 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56716 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56717 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56718 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56719 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56720 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56721 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56722 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56723 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56724 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56725 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56726 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56727
b9b42ee0
AB
567282010-07-26 Anton Blanchard <anton@samba.org>
56729
56730 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56731 * malloc/arena.c (heap_trim): Likewise.
56732
1c06ba31
UD
567332010-08-16 Ulrich Drepper <drepper@redhat.com>
56734
56735 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56736 here. Not...
56737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56738 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56739
f8392f40
L
567402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56741
56742 * sysdeps/i386/elf/Makefile: New file.
56743
3162f12e
AS
567442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56745
56746 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56747 from fanotify_init.
56748 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56750
28c90b2c
UD
567512010-08-15 Ulrich Drepper <drepper@redhat.com>
56752
56753 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56754 of strncasecmp_l.
1feccb6c 56755 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56756
ca6bb004
UD
567572010-08-14 Ulrich Drepper <drepper@redhat.com>
56758
e9f82e0d
UD
56759 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56760 strncase_l-nonascii.
56761 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56762 Add strncase_l-ssse3.
56763 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56764 * sysdeps/x86_64/strcmp.S: Likewise.
56765 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56766 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56767 * sysdeps/x86_64/strncase.S: New file.
56768 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56769 * sysdeps/x86_64/strncase_l.S: New file.
56770 * string/Makefile (strop-tests): Add strncasecmp.
56771 * string/test-strncasecmp.c: New file.
56772
56773 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56774 warning.
56775
ca6bb004
UD
56776 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56777 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56778
052fa7b3
AS
567792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56780
56781 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56782
962dba78
UD
567832010-08-12 Ulrich Drepper <drepper@redhat.com>
56784
56785 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56786 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56787 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56788
bebff237
AM
567892010-05-01 Alan Modra <amodra@gmail.com>
56790
56791 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56792 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56793 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56794 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56795 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56796 tidying. Don't tail-call __sigjmp_save for static lib.
56797 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56798 save location.
56799 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56800 (CALL_MCOUNT): Add eh info, and nop after bl.
56801 (TAIL_CALL_SYSCALL_ERROR): New macro.
56802 (PSEUDO_RET): Use it.
56803 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56804 Correct save location of integer regs and cr.
56805 (_dl_profile_resolve): Correct cr save location. Delete nops
56806 after bl when SHARED. Reduce cfi size a little by better
56807 placement of cfi directives.
56808 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56809 make a stack frame. Instead use parm save area as a temp.
56810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56811 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56813 Don't make a stack frame for parent, use parm save area.
56814 Increase child stack frame to 112 bytes. Don't save unused reg,
56815 and adjust reg usage. Set up cfi on error recovery and
56816 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56818 (__makecontext): Add dummy nop after jump to exit.
56819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56820 Use correct parm save area and cr save, reduce stack frame.
56821 Correct cfi for possible PSEUDO_RET frame setup.
56822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56823 Branch to local label emitted by PSEUDO_RET rather than
56824 __syscall_error.
56825
02637374
AS
568262010-08-12 Andreas Schwab <schwab@redhat.com>
56827
56828 [BZ #11904]
56829 * locale/programs/locale.c (print_assignment): New function.
56830 (show_locale_vars): Use it.
56831
c3e2f19b
UD
568322010-08-11 Ulrich Drepper <drepper@redhat.com>
56833
3cdaa6ad
UD
56834 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56835 field.
56836 (struct statfs64): Likewise.
56837 (_STATFS_F_FLAGS): Define.
56838 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56839 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56840 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56841 (ST_VALID): Define locally.
56842 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56843 __statvfs_getflags, use the provided value.
56844 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56845 __ASSUME_STATFS_F_FLAGS.
56846
754f7da3
UD
56847 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56848
10b3bedc
UD
56849 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56850 Add sys/fanotify.h.
56851 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56852 fanotify_mask for GLIBC_2.13.
56853 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56854 fanotify_init and fanotify_mark.
56855 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56856 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56857
c08fb0d7
UD
56858 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56859 Add prlimit.
56860 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56861 prlimit64 for GLIBC_2.13.
56862 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56863 prlimit64.
56864 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56865 syscall.
56866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56867 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56868 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56869 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56871 add prlimit alias.
56872 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56873
15bac72b
UD
56874 [BZ #11903]
56875 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56876 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56877
c3e2f19b
UD
56878 * nss/Makefile: Add rules to build and run tst-nss-test1.
56879 * shlib-versions: Add entry for libnss_test1.
56880 * nss/nss_test1.c: New file.
56881 * nss/tst-nss-test1.c: New file.
56882
56883 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56884 (__nss_configure_lookup): Set appropriate entry in
56885 __nss_configure_lookup to true.
56886 * nss/nsswitch.h: Define enum with indeces of databases in
56887 databases and __nss_database_custom arrays. Declare
56888 __nss_database_custom.
56889 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56890 to avoid using nscd when custom rules are installed.
56891 * nss/getXXbyYY_r.c: Likewise.
56892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56893
56894 * nss/nss_files/files-parse.c: Whitespace fixes.
56895
f15ce4d8
UD
568962010-08-09 Ulrich Drepper <drepper@redhat.com>
56897
56898 [BZ #11883]
56899 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56900 * posix/fnmatch_loop.c: Likewise.
56901
d22e4cc9
AK
569022010-07-17 Andi Kleen <ak@linux.intel.com>
56903
56904 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56905 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56906 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56907 * Versions.def [GLIBC_2.13]: Add.
56908
805bc17d
UD
569092010-08-06 Ulrich Drepper <drepper@redhat.com>
56910
56911 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56912 Also fail if tpwd after pwuid call is NULL.
56913
5a42321d
ST
569142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56915
56916 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56917 when converting to ms.
56918
fd3ebeda
ST
569192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56920
56921 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56922 EOPNOTSUPP errors with ENOTTY.
56923 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56924 EOPNOTSUPP errors with ENOTTY.
56925
73507d3a
UD
569262010-07-31 Ulrich Drepper <drepper@redhat.com>
56927
56928 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56929 Add strcasecmp_l-ssse3.
56930 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56931 strcasecmp.
56932 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56933 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56934 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56935
fe36dd02
UD
569362010-07-30 Ulrich Drepper <drepper@redhat.com>
56937
66f6765a
UD
56938 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56939
42e08a54
UD
56940 * string/Makefile (strop-tests): Add strcasecmp.
56941 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56942 strcasecmp_l-nonascii.
56943 (gen-as-const-headers): Add locale-defines.sym.
56944 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56945 * sysdeps/x86_64/strcasecmp.S: New file.
56946 * sysdeps/x86_64/strcasecmp_l.S: New file.
56947 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56948 * sysdeps/x86_64/locale-defines.sym: New file.
56949 * string/test-strcasecmp.c: New file.
56950
fe36dd02
UD
56951 * string/test-strcasestr.c: Test both ends of the range of characters.
56952 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56953
48cbc0d6
RM
569542010-07-29 Roland McGrath <roland@redhat.com>
56955
76e6d6bc 56956 [BZ #11856]
48cbc0d6
RM
56957 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56958
880113d9
UD
569592010-07-27 Ulrich Drepper <drepper@redhat.com>
56960
56961 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56962 for ld.so.
56963
deb9cabb
AS
569642010-07-27 Andreas Schwab <schwab@redhat.com>
56965
56966 * manual/memory.texi (Malloc Tunable Parameters): Document
56967 M_PERTURB.
56968
1c7570ff
RM
569692010-07-26 Roland McGrath <roland@redhat.com>
56970
56971 [BZ #11840]
56972 * configure.in (-fgnu89-inline check): Set and substitute
56973 gnu89_inline, not libc_cv_gnu89_inline.
56974 * configure: Regenerated.
56975 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56976
24fb0f88
UD
569772010-07-26 Ulrich Drepper <drepper@redhat.com>
56978
56979 * string/test-strnlen.c: New file.
56980 * string/Makefile (strop-tests): Add strnlen.
56981 * string/tester.c (test_strnlen): Add a few more test cases.
56982 * string/tst-strlen.c: Better error reporting.
56983
56984 * sysdeps/x86_64/strnlen.S: New file.
56985
8e96b93a
UD
569862010-07-24 Ulrich Drepper <drepper@redhat.com>
56987
56988 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56989 lower-latency instructions.
56990
dbc676d4
UD
569912010-07-23 Ulrich Drepper <drepper@redhat.com>
56992
56993 * string/test-strcasestr.c: New file.
56994 * string/test-strstr.c: New file.
56995 * string/Makefile (strop-tests): Add strstr and strcasestr.
56996 * string/str-two-way.h: Don't undefine MAX.
56997 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56998
f6a31e0e
AS
569992010-07-21 Andreas Schwab <schwab@redhat.com>
57000
57001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57002 strcasestr-nonascii.
57003 (CFLAGS-strcasestr-nonascii.c): Define.
57004 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57005 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57006 Remove unused attribute.
57007
5dbc3b6c
RM
570082010-07-20 Roland McGrath <roland@redhat.com>
57009
57010 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57011 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57012 ld.so.cache was broken. With it, there is no way to disable dsocaps
57013 like LD_HWCAP_MASK can disable hwcaps.
57014
23d101d8
EPM
570152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57016
57017 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57018
cc9f2e47
UD
570192010-07-16 Ulrich Drepper <drepper@redhat.com>
57020
57021 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57022 call in strcasestr.
57023 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57024 __strcasestr_sse42_nonascii.
57025 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57026 strcasestr-nonascii.c.
57027 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57028
77c1b069
LM
570292010-06-15 Luis Machado <luisgpm@br.ibm.com>
57030
57031 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57032 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57034 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57035
440566c3
UD
570362010-07-09 Ulrich Drepper <drepper@redhat.com>
57037
57038 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57039 fcntl.
57040
5be9d05d
AS
570412010-07-06 Andreas Schwab <schwab@redhat.com>
57042
c30b7ee2 57043 [BZ #11577]
5be9d05d
AS
57044 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57045 dl_signal_cerror.
57046
8a492a67
UD
570472010-07-06 Ulrich Drepper <drepper@redhat.com>
57048
57049 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57050 _PC_PIPE_BUF using F_GETPIPE_SZ.
57051
713df3d5
RM
570522010-07-05 Roland McGrath <roland@redhat.com>
57053
57054 * manual/arith.texi (Rounding Functions): Fix rint description
57055 implicit in round description.
57056
702e8f14
UD
570572010-07-02 Ulrich Drepper <drepper@redhat.com>
57058
57059 * elf/Makefile: Fix linking for a few tests to make recent linker
57060 happy.
57061
52ed8be9
AS
570622010-06-30 Andreas Schwab <schwab@redhat.com>
57063
57064 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57065 $(common-objpfx)libc_nonshared.a.
57066
f47c9a11
LM
570672010-06-21 Luis Machado <luisgpm@br.ibm.com>
57068
57069 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57070 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57071 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57072 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57073 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57074 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57075 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57076 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57091 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57092 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57093 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57094 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57095 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57096 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57097 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57098 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57099 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57100 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57101 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57102 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57117
6fb8cbcb
L
571182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57119
57120 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57121 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57122 * string/memmove.c (memmove): Renamed to ...
57123 (MEMMOVE): ...this. Default to memmove.
57124 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57125 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57126 (END_CHK): Define.
57127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57128 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57129 mempcpy-ssse3-back memmove-ssse3-back.
57130 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57131 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57132 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57133 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57134 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57135 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57136 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57137 * sysdeps/x86_64/multiarch/memmove.c: New file.
57138 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57139 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57140 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57141 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57142 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57143 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57144 Define.
57145 (index_Fast_Copy_Backward): Define.
57146 (HAS_ARCH_FEATURE): Define.
57147 (HAS_FAST_REP_STRING): Define.
57148 (HAS_FAST_COPY_BACKWARD): Define.
57149
4e733bac 571502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57151
57152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57153 Restore proper fallback handling.
57154
63c4ed22
UD
571552010-06-19 Ulrich Drepper <drepper@redhat.com>
57156
ac2b484c
UD
57157 [BZ #11701]
57158 * posix/group_member.c (__group_member): Correct checking loop.
57159
63c4ed22
UD
57160 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57161 OOM in getpwuid_r correctly. Return error number when the caller
57162 should return, otherwise -1.
57163 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57164 call returning > 0 value.
57165 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57166
765ade4b
AS
571672010-06-07 Andreas Schwab <schwab@redhat.com>
57168
57169 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57170 libc_nonshared.a from targets in modules-names.
57171
80da2e09
KS
571722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57173
57174 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57175 requires it.
57176
158db122
LM
571772010-06-10 Luis Machado <luisgpm@br.ibm.com>
57178
57179 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57180 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57181 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57182 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57183
caa78cf8
AS
571842010-06-02 Andreas Schwab <schwab@redhat.com>
57185
57186 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57187
b2ef2c01
UD
571882010-06-14 Ulrich Drepper <drepper@redhat.com>
57189
57190 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57191 and F_GETPIPE_SZ.
57192 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57194 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57197 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57198
fbd643b6
RM
571992010-06-14 Roland McGrath <roland@redhat.com>
57200
57201 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57202
f32f2869
JJ
572032010-06-07 Jakub Jelinek <jakub@redhat.com>
57204
57205 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57206 __REDIRECT followed by __THROW.
57207 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57208 * posix/getopt.h (getopt): Likewise.
57209
2a50c078
EPM
572102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57211
57212 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57213 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57214 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57215 in AT_FLAGS.
57216 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57217 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57218
eb5ad2eb
LM
572192010-05-28 Luis Machado <luisgpm@br.ibm.com>
57220
57221 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57222
3c88fe1e
L
572232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57224
57225 [BZ #11640]
57226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57227 Properly check family and model.
57228
d2f73151
TY
572292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57230
57231 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57232
ebd2e13d
LM
572332010-05-24 Luis Machado <luisgpm@br.ibm.com>
57234
57235 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57236
b32b8b45
UD
572372010-05-21 Ulrich Drepper <drepper@redhat.com>
57238
57239 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57240 symbol reference.
57241
9acbe24d
AS
572422010-05-19 Andreas Schwab <schwab@redhat.com>
57243
57244 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57245 symbol reference.
57246
f0ccf6ea
AS
572472010-05-21 Andreas Schwab <schwab@redhat.com>
57248
3d04ff3a
AS
57249 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57250 and internal_recvmmsg.
57251 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57252 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57253 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57254 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57255
f0ccf6ea
AS
57256 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57257 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57258 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57259
5b08ac57
AS
572602010-05-20 Andreas Schwab <schwab@redhat.com>
57261
57262 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57263
4828935d
LM
572642010-05-17 Luis Machado <luisgpm@br.ibm.com>
57265
57266 POWER7 optimizations.
57267 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57268 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57269
373d545e
UD
572702010-05-19 Ulrich Drepper <drepper@redhat.com>
57271
57272 * version.h: Update for 2.13 development version.
57273
21a2b1ae
AS
572742010-05-12 Andrew Stubbs <ams@codesourcery.com>
57275
57276 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57277 exceptions. Return 0.
57278
3f7dcb2b
RM
572792010-05-07 Roland McGrath <roland@redhat.com>
57280
57281 * elf/ldconfig.c (main): Add a const.
57282
5f24d53a 572832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57284
a160f8d8
UD
57285 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57286 (args_options): Add no-idn option.
57287 (ahosts_keys_int): Add idn_flags to ai_flags.
57288 (parse_option): Handle 'i' option to clear idn_flags.
57289
5f24d53a
UD
57290 * malloc/malloc.c (_int_free): Possible race in the most recently
57291 added check. Only act on the data if no current modification
57292 happened.
265bb1ce
UD
57293
57294See ChangeLog.17 for earlier changes.