]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix asin missing underflows (bug 16351).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
380bd0fd
JM
12015-02-26 Joseph Myers <joseph@codesourcery.com>
2
ec0ce0d3
JM
3 [BZ #16351]
4 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5 (MO): New macro.
6 (__ieee754_asin): Force underflow exception for results with small
7 absolute value.
8 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9 (MO): New macro.
10 (__ieee754_asinf): Force underflow exception for results with
11 small absolute value.
12 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13 (__ieee754_asin): Force underflow exception for results with small
14 absolute value.
15 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16 (__ieee754_asinf): Force underflow exception for results with
17 small absolute value.
18 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19 (__ieee754_asinl): Force underflow exception for results with
20 small absolute value.
21 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22 (__ieee754_asinl): Force underflow exception for results with
23 small absolute value.
24 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25 (__ieee754_asinl): Force underflow exception for results with
26 small absolute value.
27 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28 Include <math.h>.
29 * math/auto-libm-test-in: Do not mark underflow exceptions as
30 possibly missing for bug 16351.
31 * math/auto-libm-test-out: Regenerated.
32
380bd0fd
JM
33 [BZ #18030]
34 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35 of power of 2 down when low part has opposite sign.
36 * math/libm-test.inc (logb_test_data): Add more tests.
37
4a28f4d5
AS
382015-02-26 Andreas Schwab <schwab@suse.de>
39
40 [BZ #18032]
41 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
42 over collating symbol inside a bracket expression. Minor cleanup.
43 * posix/tst-fnmatch3.c (do_test): Add test case.
44
524ae9ea
JM
452015-02-26 Joseph Myers <joseph@codesourcery.com>
46
47 [BZ #18029]
48 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
49 Adjust exponent of power of 2 down when low part has opposite
50 sign.
51 * math/libm-test.inc (ilogb_test_data): Add more tests.
52
23d43090
AO
532015-02-26 Alexandre Oliva <aoliva@redhat.com>
54
55 [BZ #15969]
56 * locale/findlocale.c (_nl_find_locale): Fix constness error in
57 the previous change.
0d822a01
AO
58
59 [BZ #15969]
60 * locale/findlocale.c (_nl_find_locale): Retry archive search
61 after alias expansion.
62
d19df6ac
RM
632015-02-25 Roland McGrath <roland@hack.frob.com>
64
ca681b7b
RM
65 * iconv/tst-iconv3.c (main): Converted to ...
66 (do_test): ... this.
67 (TEST_FUNCTION): New macro.
68 Include test-skeleton.c.
69
fd1f2f1c
RM
70 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
71 (convert): Make function static.
72 (test_unalign): Likewise. Add const to argument pointee types.
73 (main): Replace with static function do_test.
74 Print "Succeeded." only if RET is zero.
75 (TEST_FUNCTION): New macro.
76 Include test-skeleton.c.
77
d19df6ac
RM
78 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
79 returns a null pointer.
80
115e0de7
AZ
812015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82
83 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
84 to __memcpy_ppc only for static builds.
85
137cef7d
JM
862015-02-25 Joseph Myers <joseph@codesourcery.com>
87
88 [BZ #18020]
89 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
90 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
91 * math/auto-libm-test-in: Add more tests of asinh.
92 * math/auto-libm-test-out: Regenerated.
93 * sysdeps/i386/fpu/libm-test-ulps: Update.
94 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
95
cb43bb0d
CW
962015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
97
98 [BZ #15850]
99 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
100 and ip6_mtuinfo definitions here.
101 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
102 in this define too. Update comment.
103
9be1052b
BS
1042015-02-24 Benno Schulenberg <bensberg@justemail.net>
105
106 * elf/sprof.c (load_shobj): Tweak error message to match others.
107
6807b1db
KE
1082015-02-24 Kevin Easton <kevin@guarana.org>
109
110 [BZ #16145] (partial fix)
111 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
112 to reduce lock contention.
113
b433df00
ML
1142015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
115
116 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
117 (struct timex): Update time comment.
118 (ADJ_SETOFFSET): Define.
119
440169d6
JM
1202015-02-24 Joseph Myers <joseph@codesourcery.com>
121
122 [BZ #18019]
123 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
124 2**56 not 2**28 as threshold for log (2x) formula.
125 * math/auto-libm-test-in: Add more tests of acosh.
126 * math/auto-libm-test-out: Regenerated.
127 * sysdeps/i386/fpu/libm-test-ulps: Update.
128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
129
ba7d2c54
MF
1302015-02-24 Mike Frysinger <vapier@gentoo.org>
131
132 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
133 parenthesis around the buf assignment.
134 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
135
9438b237
JM
1362015-02-24 Joseph Myers <joseph@codesourcery.com>
137
138 [BZ #16783]
139 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
140 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
141 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
142 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
143 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
144 * math/libm-test.inc (scalb_test_data): Add more tests.
145
6909d276
PP
1462015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
147
148 [BZ #17916]
149 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
150 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
151
65f6f938
ER
1522015-02-24 Eric Rannaud <e@nanocritical.com>
153
154 [BZ #17523]
155 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
156 * io/bits/fcntl2.h (open): Use it.
157 (openat): Likewise.
158 * io/open.c (__libc_open): Likewise.
159 * io/open64.c (__libc_open64): Likewise.
160 * io/open64_2.c (__open64_2): Likewise.
161 * io/open_2.c (__open_2): Likewise.
162 * io/openat.c (__openat): Likewise.
163 * io/openat64.c (__openat64): Likewise.
164 * io/openat64_2.c (__openat64_2): Likewise.
165 * io/openat_2.c (__openat_2): Likewise.
166 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
167 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
168 * sysdeps/posix/open64.c (__libc_open64): Likewise.
169 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
170 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
171 (__open_nocancel): Likewise.
172 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
173 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
174 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
175
3e3002ff
SP
1762015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
177
178 [BZ #14841]
179 * resolv/gethnamaddr.c (getanswer): Skip logging if
180 RES_USE_DNSSEC is set.
181 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
182
9813dd58
MF
1832015-02-24 Mike Frysinger <vapier@gentoo.org>
184
185 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
186
7b1ec6a0
AO
1872015-02-23 Alexandre Oliva <aoliva@redhat.com>
188
189 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
190 201304L, for Unicode 7.
191
d49499c1
L
1922015-02-23 H.J. Lu <hongjiu.lu@intel.com>
193
194 [BZ #17836]
195 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
196 shared library. Add gmon-start.os otherwise.
197 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
198 $(objpfx)gmon-start.os if builing shared library.
199 ($(objpfx)g$(static-start-installed-name)): Likewise.
200
51225803
AS
2012015-02-23 Andreas Schwab <schwab@suse.de>
202
203 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
204
bdf1ff05
PP
2052015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
206
207 [BZ #17269]
208 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
209 (enlarge_userbuf): Likewise.
210
95296112
CLT
2112015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
212
213 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
214 * math/atest-exp.c (TIMEOUT): Adjust to 200.
215 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
216 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
217
e4a399dc
JM
2182015-02-20 Joseph Myers <joseph@codesourcery.com>
219
220 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
221 expression inside statement expression.
222
7133957f
SL
2232015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
224
225 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
226 <sysdeps/nptl/lowlevellock.h> and remove macros and
227 functions that are now defined there.
228 (SYS_futex): Remove.
229 (lll_compare_and_swap): Remove.
230 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
231
40176158
JM
2322015-02-19 Joseph Myers <joseph@codesourcery.com>
233
234 [BZ #17999]
235 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
236 instead of scandirat.
237 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
238 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
239 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
240 __scandirat.
241 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
242 (__scandirat): Declare. Use libc_hidden_proto.
243 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
244 Remove variable.
245 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
246
4629c866
JM
2472015-02-18 Joseph Myers <joseph@codesourcery.com>
248
249 [BZ #15319]
250 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
251 (MO): New macro.
252 (__ieee754_atan2): For results with small absolute value, force
253 underflow exception and remove excess range and precision from
254 return value.
255 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
256 (MO): New macro.
257 (__ieee754_atan2f): For results with small absolute value, force
258 underflow exception and remove excess range and precision from
259 return value.
260 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
261 (MO): New macro.
262 (__atan): For results with small absolute value, force underflow
263 exception and remove excess range and precision from return value.
264 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
265 (MO): New macro.
266 (__atanf): For results with small absolute value, force underflow
267 exception and remove excess range and precision from return value.
268 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
269 <math.h>.
270 (__ieee754_atan2): Force underflow exception for results with
271 small absolute value.
272 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
273 <math_private.h>.
274 (atan): Force underflow exception for results with small absolute
275 value.
276 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
277 (__atanf): Force underflow exception for results with small
278 absolute value.
279 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
280 <math.h>.
281 (__atanl): Force underflow exception for results with small
282 absolute value.
283 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
284 (__atanl): Force underflow exception for results with small
285 absolute value.
286 * sysdeps/x86/fpu/bits/mathinline.h
287 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
288 (__ieee754_atan2): Only define inline for long double.
289 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
290 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
291 * math/auto-libm-test-in: Do not mark underflow exceptions as
292 possibly missing for bug 15319. Add more tests of atan2.
293 * math/auto-libm-test-out: Regenerated.
294 * math/libm-test.inc (casin_test_data): Do not mark underflow
295 exceptions as possibly missing for bug 15319.
296 (casinh_test_data): Likewise.
297 * sysdeps/i386/fpu/libm-test-ulps: Update.
298
9ee16d8b
SE
2992015-02-18 Steve Ellcey <sellcey@imgtec.com>
300
301 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
302 * sysdeps/mips/bits/endian.h: Fix comments.
303
4ffb1771
JM
3042015-02-18 Joseph Myers <joseph@codesourcery.com>
305
306 [BZ #17996]
307 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
308 (hdestroy_r): Likewise.
309 (hsearch_r): Likewise.
310 (__hcreate_r): Declare and use libc_hidden_proto.
311 (__hdestroy_r): Likewise.
312 (__hsearch_r): Likewise.
313 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
314 (hcreate): Call __hcreate_r instead of hcreate_r.
315 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
316 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
317 as weak alias of __hcreate_r.
318 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
319 __hdestroy_r.
320 (hsearch_r): Rename to __hsearch_r and define as weak alias of
321 __hsearch_r.
322 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
323 Remove variable.
324 (test-xfail-XPG4/search.h/linknamespace): Likewise.
325 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
326 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
327 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
328
94c5a52a
SP
3292015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
330
331 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
332 arena_lock into a single arena_get.
333
8a35c3fe
CD
3342015-02-17 Carlos O'Donell <carlos@redhat.com>
335
336 * dl-reloc.c: Inlucde libc-internal.h.
337 (_dl_try_allocate_static_tls): Call ALIGN_UP.
338 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
339 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
340 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
341 (grow_heap): Likewise.
342 * malloc/malloc.c: Include libc-internal.h.
343 (do_check_malloc): Call powerof2.
344 (sysmalloc): Use pagesize. Call ALIGN_UP.
345 (systrim): Use pagesize.
346 (mremap_chunk): Use pagesize. Call ALIGN_UP.
347 (__libc_valloc): Use pagesize.
348 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
349
1a2325c0
JM
3502015-02-17 Joseph Myers <joseph@codesourcery.com>
351
352 [BZ #17991]
353 * include/sys/resource.h (__getrlimit64): Declare. Use
354 libc_hidden_proto.
355 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
356 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
357 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
358 getrlimit64.
359 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
360 __getrlimit64.
361 [!getrlimit64] (getrlimit64): Define as weak alias of
362 __getrlimit64. Use libc_hidden_weak.
363 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
364 using __getrlimit64 not __new_getrlimit64.
365 (__GI_getrlimit64): Likewise.
366 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
367 Likewise.
368 (__GI_getrlimit64): Likewise.
369 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
371 (getrlimit): Add __getrlimit64 alias.
372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
373 Likewise.
374 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
375 Remove variable.
376 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
377 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
378
8ae4bb5a
PP
3792015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
380
381 * libio/fileops.c: Add missing sys/mman.h
382 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
383
18a218b7
JM
3842015-02-17 Joseph Myers <joseph@codesourcery.com>
385
386 * manual/math.texi (Errors in Math Functions): Clarify goals
387 regarding inexact and underflow exceptions.
388
e72ad0ef
SE
3892015-02-17 Steve Ellcey <sellcey@imgtec.com>
390
391 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
392 * sysdeps/mips/memset.S: Ditto.
393
2caa4099
SE
3942015-02-17 Steve Ellcey <sellcey@imgtec.com>
395
396 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
397
f20bfc9b
SL
3982015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
399
400 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
401 (__v1longjmp): Remove versioned symbol.
402 (__v1siglongjmp): Remove alias and versioned symbol.
403 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
404 (__v2siglongjmp): Likewise.
405
71c06b69
TR
4062015-02-16 Torvald Riegel <triegel@redhat.com>
407
408 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
409
a9a05adb
MF
4102015-02-16 Mike Frysinger <vapier@gentoo.org>
411
412 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
413
ce8fc784
JM
4142015-02-16 Joseph Myers <joseph@codesourcery.com>
415
416 [BZ #17987]
417 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
418 zero result does not depend on the sign resulting from
419 subtraction.
420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
421 Likewise.
422 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
423 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
424 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
425 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
426 * math/libm-test.inc (remquo_test_data): Add more tests.
427
0d7036bd
PE
4282015-02-16 Paul Eggert <eggert@cs.ucla.edu>
429
430 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
431 Problem reported by J William Piggott.
432
86c56b16
JM
4332015-02-16 Joseph Myers <joseph@codesourcery.com>
434
a820f9b3
JM
435 [BZ #17978]
436 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
437 products 4 * y and 2 * y where those would overflow.
438 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
439 Likewise.
440 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
441 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
442 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
443 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
444 * math/libm-test.inc (remquo_test_data): Add more tests.
445
be802953
JM
446 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
447
e5e72fe9
JM
448 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
449 [defined _COMPILING_NEWLIB].
450 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
451 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
452
86c56b16
JM
453 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
454 [!defined __mips_isa_rev || __mips_isa_rev < 6].
455
35264d14
TR
4562015-02-16 Torvald Riegel <triegel@redhat.com>
457
458 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
459 acquired.
460
6f49e32a
MF
4612015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
462
463 [BZ #17792]
464 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
465 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
466 HOST_STACK_END_ADDR): Likewise.
467
e525154e
SE
4682015-02-13 Steve Ellcey <sellcey@imgtec.com>
469
470 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
471 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
472 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
473
4ab770b7
RM
4742015-02-13 Roland McGrath <roland@hack.frob.com>
475
476 * sysdeps/generic/c++-types.data: New file.
477 * sysdeps/generic/ld.abilist: New file.
478 * sysdeps/generic/libBrokenLocale.abilist: New file.
479 * sysdeps/generic/libanl.abilist: New file.
480 * sysdeps/generic/libc.abilist: New file.
481 * sysdeps/generic/libcrypt.abilist: New file.
482 * sysdeps/generic/libdl.abilist: New file.
483 * sysdeps/generic/libm.abilist: New file.
484 * sysdeps/generic/libpthread.abilist: New file.
485 * sysdeps/generic/libresolv.abilist: New file.
486 * sysdeps/generic/librt.abilist: New file.
487
d9afe48d
JM
4882015-02-13 Joseph Myers <joseph@codesourcery.com>
489
490 [BZ #17569]
491 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
492 Compute absolute value of x as modified by fmod, not original
493 value of x.
494 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
495 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
496 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
497 RUN_TEST_ffI_f1_mod8.
498 (remquo_test_data): Add more tests.
499
3846188b
RM
5002015-02-13 Roland McGrath <roland@hack.frob.com>
501
502 * sysdeps/init_array/pt-crti.S: New file.
503
95c26233
JM
5042015-02-13 Joseph Myers <joseph@codesourcery.com>
505
506 [BZ #17967]
507 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
508 __builtin_fmaf instead of relying on contraction of a * b + c.
509
3f293d61
WP
5102015-02-12 J William Piggott <elseifthen@gmx.com>
511
512 [BZ #17969]
513 * manual/time.texi: correct the zoneinfo path in the TZ Variable
514 node.
515
e8bd5286
JM
5162015-02-12 Joseph Myers <joseph@codesourcery.com>
517
518 [BZ #17964]
519 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
520 __builtin_fma instead of relying on contraction of a * b + c.
521
04f5a636
RM
5222015-02-12 Roland McGrath <roland@hack.frob.com>
523
96a15749
RM
524 * Makeconfig (ASFLAGS): Add -Werror=undef.
525 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
526 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
527 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
528
04f5a636
RM
529 * Makeconfig (after-link): New variable.
530 (+link-pie, +link-pie-tests): Use it.
531 (+link-static, +link-static-tests): Likewise.
532 (+link, +link-tests): Likewise.
533 * Makerules (build-module, build-module-asneeded): Likewise.
534 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
535 Likewise.
536 * elf/Makefile ($(objpfx)ld.so): Likewise.
537
87a629c5
RS
5382015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
539
540 [BZ #17965]
541 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
542 both struct timeval and struct timespec.
543
03d95bd4
JM
5442015-02-12 Joseph Myers <joseph@codesourcery.com>
545
546 [BZ #16560]
547 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
548 and redefine.
549 (__ieee754_exp2l): Do not multiply small fractional parts by
550 M_LN2l.
551 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
552 small argument.
553 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
554 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
555 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
556 * math/auto-libm-test-in: Add more tests of exp2.
557 * math/auto-libm-test-out: Regenerated.
558
98408b95
RS
5592015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
560
561 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
562 unaligned path.
563
6f741503
AZ
5642015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565
566 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
567 little endian.
568
2868e070
AS
5692015-02-12 Andreas Schwab <schwab@suse.de>
570
571 [BZ #15790]
572 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
573 Filter out elision flags from value returned in kind.
574 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
575 * nptl/tst-pthread-mutexattr.c: New file.
576
ebf27d12
ST
5772015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
578
579 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
580 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
581 into gnu-gnu, and update comment to refer to abi-tags.
582
d435569c
JM
5832015-02-11 Joseph Myers <joseph@codesourcery.com>
584
585 [BZ #15467]
586 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
587 (__sincos): Set errno to EDOM for infinite argument.
588 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
589 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
590 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
591 (__sincosl): Set errno to EDOM for infinite argument.
592 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
593 (__sincosl): Set errno to EDOM for infinite argument.
594 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
595 (__sincosl): Set errno to EDOM for infinite argument.
596 * math/libm-test.inc (sincos_test_data): Test errno setting.
597
d35273f2
LH
5982015-02-11 Leonhard Holz <leonhard.holz@web.de>
599
600 * string/strxfrm_l.c: Remove #define STRCMP.
601 * string/strcoll_l.c: Remove #define STRLEN.
602 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
603 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
604
306bc0d1
JM
6052015-02-10 Joseph Myers <joseph@codesourcery.com>
606
607 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
608 * sysdeps/mips/mips32/sfp-machine.h: ... here.
609 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
610 * sysdeps/mips/mips64/Makefile: ... here.
611 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
612 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
613 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
614 * sysdeps/mips/mips64/sfp-machine.h: ... here.
615 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
616 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
617 * sysdeps/mips/mips64/n64/Implies: Likewise.
618
92b67e8d
RM
6192015-02-10 Roland McGrath <roland@hack.frob.com>
620
621 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
622 <sys/time.h>, <string.h>, and <errno.h>.
623 (dest_offset, dest_address, value, zero): Remove unused variables.
624 (ldouble): Remove typedef.
625 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
626 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
627 1). Fix code style.
628 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
629 (check): Function removed.
630 (CHECK): New macro.
631 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
632 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
633 Don't call set_sigaction_FP and remove_sigaction_FP here.
634 (ldouble_test): Just use 'long double' as macro argument, no need for
635 the 'ldouble' typedef.
636 (do_test): Set up SIGFPE handler at start, using plain signal rather
637 than sigaction. Fix code style.
638
132a1328
EF
6392015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
640
641 [BZ #17949]
642 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
643 jump label.
644
3001e54c
AZ
6452015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
646
bc0cdc49
AZ
647 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
648 * sysdeps/powerpc/powerpc32/configure: Regenerated.
649
83658961
AZ
650 * sysdeps/powerpc/configure.ac: Remove file.
651 * sysdeps/powerpc/configure: Likewise.
652
10169938
AZ
653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
654 [sysdep_routines]: Remove wordcopy-power6 object.
655 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
656 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
657 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
658 (__memmove_ppc32): Likewise.
659 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
660 file.
661 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
662 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
663 Remove preprocessor.
664
8548a53d
AZ
665 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
666 [sysdep_routines]: Remove wide chars objects.
667 [wcsmbs]: New rule for wide char objects.
668
b2692114
AZ
669 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
670 Remove wordcopy-power6 obejct.
671 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
672 Use local call for wordcopy and memcpy symbols.
673 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
674 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
675 implementation for loader.
676 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
677
18e270aa
AZ
678 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
679 Remove wordcopy-power7 object.
680 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
681 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
682 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
683 (_wordcopy_fwd_dest_aligned): Likewise.
684 (_wordcopy_bwd_aligned): Likewise.
685 (_wordcopy_bwd_dest_aligned): Likewise.
686
6f0993a6
AZ
687 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
688 Rewrite to call __memmove_ppc instead of include default
689 implementation.
690
3001e54c
AZ
691 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
692 Remove wide chars objects.
693 [wcsmbs]: New rule for wide char objects.
694
59b61c82
AS
6952015-02-09 Andreas Schwab <schwab@suse.de>
696
697 [BZ #17912]
698 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
699 in terms of __O_DIRECTORY.
700
ebd7aede
ST
7012015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
702
703 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
704 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
705 call PTR_MANGLE.
706 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
707 PTR_DEMANGLE.
ebd7aede 708
3999d26e
PE
7092015-02-07 Paul Eggert <eggert@cs.ucla.edu>
710
711 Add ersatz _Static_assert on older C hosts
712 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
713 pre-C11 C platform that is not known to support _Static_assert.
714
e9a5bc1c
ST
7152015-02-07 Richard Braun <rbraun@sceen.net>
716
717 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
718 sigstate.
e86c5b64 719 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 720
e2049d17
ST
7212015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
722
723 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
724 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
725 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
726 instead of int.
727 * misc/fchflags.c (fchflags): Likewise.
728 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
729 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
730 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
731 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
732 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
733 Declare macros.
734 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
735 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
736 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
737 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
738 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
739 45.
a9a002fb
ST
740 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
741 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
742 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
743 MACH_RCV_TIMED_OUT.
f96ec27a
ST
744 * hurd/hurd/signal.h (_hurd_self_sigstate,
745 _hurd_critical_section_lock, _hurd_critical_section_unlock):
746 Explicit casts from void *.
4fc81a77 747 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 748 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 749
f05826f0
ST
750 [BZ #4719]
751 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
752 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
753 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
754 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
755 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
756 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
757
a5eb23de
ST
758 [BZ #17944]
759 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
760 duplicates ADDR->sun_path with sockaddr LEN limitation.
761 * sysdeps/mach/hurd/connect.c: Include <string.h>
762 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
763 * sysdeps/mach/hurd/sendmsg.c: Likewise.
764 * sysdeps/mach/hurd/sendto.c: Likewise.
765 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
766 implementing it by hand.
767
ac9e0e5e
RM
7682015-02-06 Roland McGrath <roland@hack.frob.com>
769
f8d1bb4c
RM
770 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
771 Use sfi_breg on ldr.
772 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
773 Likewise.
774
022f4812
RM
775 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
776 it's defined.
777 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
778 Test SIGSETXID only if it's defined.
779
1ac074e6
RM
780 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
781
f50ad78b
RM
782 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
783 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
784
9e7265f4
RM
785 * nptl/tst-align2.c: Moved ...
786 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
787 * nptl/Makefile (tests): Remove tst-align2.
788 * sysdeps/unix/sysv/linux/Makefile
789 [$(subdir) = nptl] (tests): Add tst-align-clone.
790 * nptl/tst-getpid1.c: Moved ...
791 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
792 * nptl/tst-getpid2.c: Moved ...
793 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
794 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
795 * sysdeps/unix/sysv/linux/Makefile
796 [$(subdir) = nptl] (tests): ... here.
797 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
798 * sysdeps/unix/sysv/linux/Makefile
799 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
800
62ad2abc
RM
801 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
802 Drop trailing \n from perror argument. Use return rather than exit.
803
cfa69b0b
RM
804 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
805 on [SA_SIGINFO].
806 * nptl/tst-cancel21.c (do_test): Likewise.
807 * debug/tst-backtrace6.c: Include <signal.h> first thing.
808 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
809 [!SA_SIGINFO]: Make it a stub test.
810
82727806
RM
811 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
812 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
813
da3a1594
RM
814 * posix/tst-getlogin.c: Move to ...
815 * login/tst-getlogin.c: ... here.
816 * posix/Makefile (tests): Move tst-getlogin to ...
817 * login/Makefile (tests): ... here.
818
b65c0ff9
RM
819 * libio/tst-atime.c (do_test): Move local variables SV and E
820 inside [ST_NOATIME] conditional.
821
56606ab3
RM
822 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
823
ebf7d6ee
RM
824 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
825
ca0e0675
RM
826 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
827 (wait_code): New function replaces macro.
828 Call nanosleep rather than syscall.
829
8c28bbc6
RM
830 * nptl/pt-system.c: Rewritten. Put everything under
831 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
832 Use IFUNC to redirect when possible.
833
ec2a88b3
RM
834 * nptl/pt-longjmp.c: Rewritten. Put everything under
835 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
836 Use IFUNC to redirect when possible.
837
beff1d13
RM
838 * nptl/pt-fork.c: Rewritten. Put everything under
839 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
840 Use IFUNC to redirect when possible.
841 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
842
ea02c6b8
RM
843 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
844 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
845 unconditionally nowadays. This included the only reference to
846 __vdso_clock_gettime that appears outside libc proper.
847 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
848 Remove version set (containing only __vdso_clock_gettime).
849 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
850 Add attribute_hidden.
851 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
852 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
853 libc_hidden_data_def.
854 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
855 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
856
a1309c2b
RM
857 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
858 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
859 setrpcent, and getrpcport to ...
860 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
861 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
862 getrpcbynumber_r, and getrpcent_r to ...
863 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
864 * inet/getrpcbyname.c: Moved ...
865 * sunrpc/getrpcbyname.c: ... here.
866 * inet/getrpcbyname_r.c: Moved ...
867 * sunrpc/getrpcbyname_r.c: ... here.
868 * inet/getrpcbynumber.c: Moved ...
869 * sunrpc/getrpcbynumber.c: ... here.
870 * inet/getrpcbynumber_r.c: Moved ...
871 * sunrpc/getrpcbynumber_r.c: ... here.
872 * inet/getrpcent.c: Moved ...
873 * sunrpc/getrpcent.c: ... here.
874 * inet/getrpcent_r.c: Moved ...
875 * sunrpc/getrpcent_r.c: ... here.
876 * inet/Makefile (routines): Move those to ...
877 * sunrpc/Makefile (routines): ... here.
878 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
879 the $(subdirs) list.
880 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
881 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
882 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
883 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
884
ac9e0e5e
RM
885 * elf/Makefile (routines): Include $(all-dl-routines), not just
886 $(dl-routines).
887 (rtld-routines): Likewise. Use = rather than :=.
888 * sysdeps/aarch64/Makefile [$(subdir) = elf]
889 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
890 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
891 * sysdeps/arm/Makefile: Likewise.
892 * sysdeps/i386/Makefile: Likewise.
893 * sysdeps/x86_64/Makefile: Likewise.
894 * sysdeps/hppa/Makefile [$(subdir) = elf]
895 (sysdep_routines, sysdep-rtld-routines): Don't add
896 $(sysdep-dl-routines) to these.
897 * sysdeps/ia64/Makefile: Likewise.
898 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
899 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
900 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
901 Don't add dl-static to these; sysdep-dl-routines alone is enough.
902 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
903 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
905 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
906 * sysdeps/powerpc/Makefile [$(subdir) = elf]
907 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
908 these; sysdep-dl-routines alone is enough.
909
639e42eb
JM
9102015-02-06 Joseph Myers <joseph@codesourcery.com>
911
1c7a4a51
JM
912 [BZ #17932]
913 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
914 where multiplication results in zero and third argument is finite
915 and nonzero.
916 * math/auto-libm-test-in: Add more tests of fma.
917 * math/auto-libm-test-out: Regenerated.
918
61f006c1
JM
919 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
920 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
921 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
922 (_FP_CMP_EQ): Likewise.
923 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
924
639e42eb
JM
925 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
926 extra argument CHECK_NAN. Redefine as wrapper around
927 _FP_EXTEND_CNAN.
928
3c0c543b
CD
9292015-02-06 Carlos O'Donell <carlos@systemhalted.org>
930
4e42b5b8
CD
931 * version.h (RELEASE): Set to "stable".
932 (VERSION): Set to "2.21"
933 * include/features.h (__GLIBC_MINOR__): Set to 21.
934
3c0c543b
CD
935 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
936
5bd80bfe 9372015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 938 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
939
940 [BZ #16618]
941 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
942 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
943 size in bytes. Store needed elements in wpmax. Use needed size
944 in bytes for extend_alloca.
945
3f823f48
CD
9462015-02-05 Carlos O'Donell <carlos@systemhalted.org>
947
04cb913d
CD
948 * manual/install.texi: Latest tested versions are GCC 4.9.2,
949 binutls 2.25, and texinfo 5.2.
950 * INSTALL: Regenerate.
951 * sysdeps/nios2/configure: Regenerate.
952 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
953 * manual/contrib.texi: Update.
954 * po/be.po: Update.
955 * po/bg.po: Update.
956 * po/ca.po: Update.
957 * po/cs.po: Update.
958 * po/da.po: Update.
959 * po/de.po: Update.
960 * po/el.po: Update.
961 * po/eo.po: Update.
962 * po/es.po: Update.
963 * po/fi.po: Update.
964 * po/fr.po: Update.
965 * po/gl.po: Update.
966 * po/hr.po: Update.
967 * po/hu.po: Update.
968 * po/ia.po: Update.
969 * po/id.po: Update.
970 * po/it.po: Update.
971 * po/ja.po: Update.
972 * po/ko.po: Update.
973 * po/lt.po: Update.
974 * po/nb.po: Update.
975 * po/nl.po: Update.
976 * po/pl.po: Update.
977 * po/pt_BR.po: Update.
978 * po/ru.po: Update.
979 * po/rw.po: Update.
980 * po/sk.po: Update.
981 * po/sl.po: Update.
982 * po/sv.po: Update.
983 * po/tr.po: Update.
984 * po/uk.po: Update.
985 * po/vi.po: Update.
986 * po/zh_CN.po: Update.
987 * po/zh_TW.po: Update.
988
3f823f48
CD
989 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
990 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
991 * sysdeps/hppa/dl-irel.h: Remove #warning.
992 * sysdeps/hppa/entry.h: Provide prototype for
993 __canonicalize_funcptr_for_compare and cast argument.
994 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
995 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
996 * sysdeps/hppa/sotruss-lib.c: New file.
997 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
998 (atomic_compare_and_exchange_val_acq): Use __typeof__.
999 (atomic_compare_and_exchange_bool_acq): Likewise.
1000 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1001 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1002
1003 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1004 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1005 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1006
34c56048
CLT
10072015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1008
1009 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1010 called function in non-PIC case.
1011
d4abeca5
DM
10122015-01-31 David S. Miller <davem@davemloft.net>
1013
edac0a60
DM
1014 * sysdeps/sparc/sparc32/bits/atomic.h
1015 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1016 unlock not after it.
1017 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1018 volatile register usage warnings from the compiler.
1019
d4abeca5
DM
1020 * sysdeps/sparc/nptl/sem_init.c: Delete.
1021 * sysdeps/sparc/nptl/sem_post.c: Delete.
1022 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1023 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1024 * sysdeps/sparc/sparc32/sem_init.c: New file.
1025 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1026 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1027 padding explicitly initialized.
1028 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1029 padding for in-semaphore spinlock.
1030 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1031 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1032 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1033 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1034 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1035 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1036 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1037 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1038 version.
1039 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1040 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1041
5f3d0b78
L
10422015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 [BZ #17801]
1045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1046 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1047 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1048 New.
1049 (index_AVX_Fast_Unaligned_Load): Likewise.
1050 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1051 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1052 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1053 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1054 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1055 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1056 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1057 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1058 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1059
b658fdd8
AS
10602015-01-29 Andreas Schwab <schwab@suse.de>
1061
1062 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1063
3cb26316
SP
10642015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1065
1066 [BZ #17892]
1067 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1068
527de9e4
MS
10692015-01-28 Martin Sebor <msebor@redhat.com>
1070
1071 * math/README.libm-test: Clarify. Add "How to read the test output."
1072
06991eb8
CM
10732015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1074
1075 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1076 Define to 0.
1077
df341342
JM
10782015-01-28 Joseph Myers <joseph@codesourcery.com>
1079
1080 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1081 (__HAVE_64B_ATOMICS): Define to 0.
1082
08cee2a4
AZ
10832015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1084
d4d0ecb2
AZ
1085 [BZ #17885]
1086 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1087 value to set as new flag.
1088
08cee2a4
AZ
1089 [BZ #16576]
1090 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1091 and use _ARCH_PPCSQ instead.
1092 (__ieee754_sqrt): Likewise.
1093 (__ieee754_sqrtf): Likewise.
1094 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1095 _ARCH_PPCSQ is defined.
1096 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1097 fsqrt instruction.
1098 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1099 _ARCH_PPCSQ is defined.
1100 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1101 fsqrts instruction.
1102 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1103
5fe8e359
AK
11042015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1105
1106 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1107 bug (GCC BZ #64739).
1108
24bb7432
AS
11092015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1110
fa20da31
AS
1111 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1112 Mark _retval as used.
1113 (lll_futex_wake_unlock): Likewise.
1114 (lll_futex_timed_wait_requeue_pi): Likewise.
1115
45819cbc
AS
1116 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1117 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1118 register variables.
1119
403cc231
AS
1120 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1121 libm_hidden_def.
1122
24bb7432
AS
1123 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1124 (__bswap_64): Mark as __always_inline.
1125
9317ea65
B
11262015-01-25 Bram <bug_rh@spam.wizbit.be>
1127
1128 [BZ #15378]
1129 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1130 when none of the search directories exist.
1131
0e87343e
AZ
11322015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1133
bea58013
AZ
1134 [BZ #17869]
1135 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1136 power8 in .machine directive.
1137
0e87343e
AZ
1138 [BZ #17868]
1139 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1140 set dependency from opd value.
1141
ede0236c
L
11422015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1145 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1146 architecture.
ede0236c 1147
22971c35
L
11482015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1149
1150 [BZ #17870]
1151 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1152 with uint64_t.
1153 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1154 (uint64_t) 1.
e0da28a1 1155 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1156 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1157 Replace 1UL with (uint64_t) 1.
1158 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1159 int with uint64_t.
1160
da5bf245
RM
11612015-01-23 Roland McGrath <roland@hack.frob.com>
1162
2ec2d703
RM
1163 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1164 (if_freenameindex): Likewise.
1165
da5bf245
RM
1166 * resource/getrlimit64.c: Add missing libc_hidden_def.
1167
d7423856
JM
11682015-01-22 Joseph Myers <joseph@codesourcery.com>
1169
1170 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1171 __label__.
1172 (_FP_FMA): Likewise.
1173 (_FP_TO_INT_ROUND): Likewise.
1174 (_FP_FROM_INT): Likewise.
1175
6b2ba95b
AZ
11762015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177
1178 [BZ #16418]
1179 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1180 Make code racy and cancel safe.
1181
ccdb048d
CD
11822015-01-21 Carlos O'Donell <carlos@redhat.com>
1183
191220b3
CD
1184 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1185 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1186 attribution.
1187
0897c551
CD
1188 * pwd/tst-getpw.c: Rewrite.
1189
ccdb048d
CD
1190 [BZ #17702]
1191 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1192 (modules-names): Add moddummy1 and moddummy2.
1193 ($(objpfx)tst-rec-dlopen): Define.
1194 * dlfcn/moddummy1.c: New file.
1195 * dlfcn/moddummy2.c: New file.
1196 * dlfcn/tst-rec-dlopen.c: New file.
1197 * elf/dl-cache.c (_dl_load_cache_lookup):
1198 Return char*. Copy result with alloca/strcpy/strdup.
1199 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1200 returns char*. Free cached. If not saving realname
1201 free cached.
1202 * elf/dl-open.c (dl_open_worker): Do not assert that
1203 _r_debug->r_state is RT_CONSISTENT.
1204 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1205 returns char*.
1206
042e1521
CD
12072015-01-21 Torvald Riegel <triegel@redhat.com>
1208 Carlos O'Donell <carlos@redhat.com>
1209
1210 [BZ #12674]
1211 * nptl/sem_waitcommon.c: New file.
1212 * nptl/sem_wait.c: Include sem_waitcommon.c.
1213 (__sem_wait_cleanup, do_futex_wait): Remove.
1214 (__new_sem_wait): Adapt.
1215 (__new_sem_trywait): New function.
1216 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1217 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1218 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1219 (sem_timedwait): Adapt.
1220 * nptl/sem_post.c (__new_sem_post): Adapt.
1221 (futex_wake): New function.
1222 (__old_sem_post): Add release MO fence.
1223 * nptl/sem_open.c (sem_open): Adapt.
1224 * nptl/sem_init.c (__new_sem_init): Adapt.
1225 (futex_private_if_supported): New function.
1226 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1227 (__old_sem_getvalue): Add using previous code.
1228 * sysdeps/nptl/internaltypes.h: Adapt.
1229 * nptl/tst-sem13.c (do_test): Adapt.
1230 * nptl/tst-sem11.c (main): Adapt.
1231 * nptl/sem_trywait.c: Remove.
1232 * nptl/DESIGN-sem.txt: Remove.
1233 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1234 (gen-as-const-headers): Remove structsem.sym.
1235 * nptl/structsem.sym: Remove.
1236 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1237 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1238 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1239 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1240 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1241 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1242 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1243 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1244 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1245 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1246 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1247 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1248 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1249 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1250 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1251 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1252 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1253 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1254 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1255 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1256 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1257 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1258
fe0e85af
CD
12592015-01-20 Carlos O'Donell <carlos@redhat.com>
1260
a8db092e
CD
1261 * INSTALL: Regenerated.
1262
fe0e85af
CD
1263 * po/libc.pot: Regenerated.
1264
522e6ee3
CLT
12652015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1266 Sandra Loosemore <sandra@codesourcery.com>
1267 Andrew Jenner <andrew@codesourcery.com>
1268 Joseph Myers <joseph@codesourcery.com>
1269 Nathan Sidwell <nathan@codesourcery.com>
1270
1271 * NEWS: Mention new Nios II port.
1272 * sysdeps/nios2/Implies: New file.
1273 * sysdeps/nios2/Makefile: New file.
1274 * sysdeps/nios2/Subdirs: New file.
1275 * sysdeps/nios2/Versions: New file.
1276 * sysdeps/nios2/__longjmp.S: New file.
1277 * sysdeps/nios2/abort-instr.h: New file.
1278 * sysdeps/nios2/backtrace.c: New file.
1279 * sysdeps/nios2/bits/endian.h: New file.
1280 * sysdeps/nios2/bits/fenv.h: New file.
1281 * sysdeps/nios2/bits/link.h: New file.
1282 * sysdeps/nios2/bits/setjmp.h: New file.
1283 * sysdeps/nios2/bsd-_setjmp.S: New file.
1284 * sysdeps/nios2/bsd-setjmp.S: New file.
1285 * sysdeps/nios2/configure: New generated file.
1286 * sysdeps/nios2/configure.ac: New file.
1287 * sysdeps/nios2/crti.S: New file.
1288 * sysdeps/nios2/crtn.S: New file.
1289 * sysdeps/nios2/dl-init.c: New file.
1290 * sysdeps/nios2/dl-machine.h: New file.
1291 * sysdeps/nios2/dl-sysdep.h: New file.
1292 * sysdeps/nios2/dl-tls.h: New file.
1293 * sysdeps/nios2/dl-trampoline.S: New file.
1294 * sysdeps/nios2/gccframe.h: New file.
1295 * sysdeps/nios2/gmp-mparam.h: New file.
1296 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1297 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1298 * sysdeps/nios2/ldsodefs.h: New file.
1299 * sysdeps/nios2/libc-tls.c: New file.
1300 * sysdeps/nios2/libm-test-ulps: New file.
1301 * sysdeps/nios2/machine-gmon.h: New file.
1302 * sysdeps/nios2/math-tests.h: New file.
1303 * sysdeps/nios2/math_private.h: New file.
1304 * sysdeps/nios2/memusage.h: New file.
1305 * sysdeps/nios2/nptl/Makefile: New file.
1306 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1307 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1308 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1309 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1310 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1311 * sysdeps/nios2/nptl/tls.h: New file.
1312 * sysdeps/nios2/preconfigure: New file.
1313 * sysdeps/nios2/s_fma.c: New file.
1314 * sysdeps/nios2/s_fmaf.c: New file.
1315 * sysdeps/nios2/setjmp.S: New file.
1316 * sysdeps/nios2/sfp-machine.h: New file.
1317 * sysdeps/nios2/sotruss-lib.c: New file.
1318 * sysdeps/nios2/stackguard-macros.h: New file.
1319 * sysdeps/nios2/stackinfo.h: New file.
1320 * sysdeps/nios2/start.S: New file.
1321 * sysdeps/nios2/sysdep.h: New file.
1322 * sysdeps/nios2/tls-macros.h: New file.
1323 * sysdeps/nios2/tst-audit.h: New file.
1324 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1325 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1326 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1327 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1328 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1329 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1330 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1331 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1332 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1333 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1334 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1335 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1336 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1337 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1338 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1339 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1340 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1341 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1342 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1343 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1344 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1345 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1346 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1347 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1348 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1349 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1350 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1351 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1352 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1353 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1354 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1355 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1356 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1357 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1358 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1359 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1360 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1361 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1362 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1363 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1364 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1365 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1366 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1367 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1368
026eb207
SL
13692015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1370
1371 [BZ #17844]
1372 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1373 (getutent): Use weak_alias in non SHARED case
1374 and default_symbol_version in SHARED case.
1375 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1376 (getutent_r, pututline): Likewise.
1377 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1378 (getutid): Likewise.
1379 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1380 (getutid_r): Likewise.
1381 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1382 (getutline): Likewise.
1383 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1384 (getutline_r): Likewise.
1385 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1386 (updwtmp): Likewise.
1387
1d532483
SL
13882015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1389
1390 [BZ #17848]
1391 * sysdeps/s390/s390-32/memcmp.S
1392 (memcmp_g5): Rename to __memcmp_g5.
1393 * sysdeps/s390/s390-32/memcpy.S
1394 (memcpy_g5): Rename to __memcpy_g5.
1395 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1396 (memcpy_mvcle) Rename to __memcpy_mvcle.
1397 * sysdeps/s390/s390-32/memset.S
1398 (memset_g5): Rename to __memset_g5.
1399 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1400 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1401 and use prefixed functions.
1402 * sysdeps/s390/s390-32/multiarch/memcmp.S
1403 (memcmp_z196): Rename to __memcmp_z196.
1404 (memcmp_z10): Rename to __memcmp_z10.
1405 (memcmp): Set alias to __memcmp_g5.
1406 (bcmp): Set alias to __memcmp_g5.
1407 * sysdeps/s390/s390-32/multiarch/memcpy.S
1408 (memcpy_z196): Rename to __memcpy_z196.
1409 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1410 (memcpy_z10): Rename to __memcpy_z10.
1411 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1412 (memcpy): Set alias to __memcpy_g5.
1413 * sysdeps/s390/s390-32/multiarch/memset.S
1414 (memset_z196): Rename to __memset_z196.
1415 Jump to __memset_mvcle instead of memset_mvcle.
1416 (memset_z10): Rename to __memset_z10.
1417 Jump to __memset_mvcle instead of memset_mvcle.
1418 (memset_mvcle) Rename to __memset_mvcle.
1419 (memset): Set alias to __memset_g5.
1420 * sysdeps/s390/s390-64/memcmp.S
1421 (memcmp_z900): Rename to __memcmp_z900.
1422 * sysdeps/s390/s390-64/memcpy.S
1423 (memcpy_z900): Rename to __memcpy_z900.
1424 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1425 (memcpy_mvcle) Rename to __memcpy_mvcle.
1426 * sysdeps/s390/s390-64/memset.S
1427 (memset_z900): Rename to __memset_z900.
1428 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1429 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1430 and use prefixed functions.
1431 * sysdeps/s390/s390-64/multiarch/memcmp.S
1432 (memcmp_z196): Rename to __memcmp_z196.
1433 (memcmp_z10): Rename to __memcmp_z10.
1434 (memcmp): Set alias to __memcmp_z900.
1435 (bcmp): Set alias to __memcmp_z900.
1436 * sysdeps/s390/s390-64/multiarch/memcpy.S
1437 (memcpy_z196): Rename to __memcpy_z196.
1438 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1439 (memcpy_z10): Rename to __memcpy_z10.
1440 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1441 (memcpy): Set alias to __memcpy_z900.
1442 * sysdeps/s390/s390-64/multiarch/memset.S
1443 (memset_z196): Rename to __memset_z196.
1444 Jump to __memset_mvcle instead of memset_mvcle.
1445 (memset_z10): Rename to __memset_z10.
1446 Jump to __memset_mvcle instead of memset_mvcle.
1447 (memset_mvcle) Rename to __memset_mvcle.
1448 (memset): Set alias to __memset_z900.
1449
53fbd169
JM
14502015-01-14 Joseph Myers <joseph@codesourcery.com>
1451
1452 [BZ #17748]
1453 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1454 __fesetenv instead of fesetenv.
1455
d639a363
SP
14562015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1457
1458 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1459 macro.
1460
d3b00f46
AZ
14612015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1462
ce6615c9
AZ
1463 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1464 regression on LE.
1465
d3b00f46
AZ
1466 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1467 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1468 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1469 strncmp-power8 object.
1470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1471 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1472 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1473 * NEWS: Update.
1474
72607db0
RS
14752015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1476 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1477
1478 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1479 trailing byte check.
1480
54dc5461
DM
14812015-01-13 David S. Miller <davem@davemloft.net>
1482
1483 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1484
1c6e6f23
RM
14852015-01-13 Roland McGrath <roland@hack.frob.com>
1486
1487 * login/logout.c (logout): Use memset rather than bzero.
1488 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1489 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1490 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1491 (_gethtbyaddr): Likewise.
1492 * locale/programs/simple-hash.c (bcopy): Macro removed.
1493
96d6fd6c
AZ
14942015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495
8bedcb5f
AZ
1496 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1497 Add strcmp-power8 object.
1498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1499 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1500 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1501 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1502 __strcmp_power8 implementation.
1503 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1504 * NEWS: Update.
1505
f06a4faf
AZ
1506 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1507 Add strncpy-power8 and stpncpy-power8 objects.
1508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1509 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1510 implementations.
1511 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1512 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1513 __stpncpy_power8 implementation.
1514 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1515 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1516 __strncpy_power8 implementation.
1517 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1518 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1519 * NEWS: Update.
1520
9f2f36e5
AZ
1521 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1522 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1523 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1524
96d6fd6c 1525 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1526 strncat-power8 object.
1527 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1528 __strcat_power8 implementation.
1529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1530 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1531 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1532 optimized strcat for power8.
1533
1534 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1535 strcpy-power8 and stpcpy-power8 objects.
1536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1537 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1538 implementations.
1539 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1540 multiarch stpcpy implementation for POWER8.
1541 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1542 multiarch strcpy implementation for POWER8.
1543 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1544 __strcpy_power8 function.
1545 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1546 stpcpy for POWER8.
1547 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1548 strcpy for POWER8.
1549 * NEWS: Update.
1550
0f9e5854
LH
15512015-01-13 Leonhard Holz <leonhard.holz@web.de>
1552
1553 [BZ #16009]
1554 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1555 weights and rules. Use do_xfrm_cached if data fits in cache,
1556 do_xfrm otherwise. Moved former main loop to...
1557 * (do_xfrm_cached): New function.
1558 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1559 find_idx, find_position and stack_push.
1560 * (find_idx): New function.
1561 * (find_position): Likewise.
1562 * localedata/sort-test.sh: Added test run for do_xfrm.
1563 * localedata/xfrm-test.c (main): Added command line option
1564 -nocache to run the test with strings that are too large for
1565 the STRXFRM cache.
1566
c60ec0e0
TR
15672015-01-13 Torvald Riegel <triegel@redhat.com>
1568
1569 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1570 variable to lll_futex_wake call, not the value itself.
1571
34e93d6c
JM
15722015-01-12 Joseph Myers <joseph@codesourcery.com>
1573
5a9e4c09
JM
1574 [BZ #17803]
1575 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1576 twom64. Adjust value to 0x1p-64L.
1577 (__scalblnl): Only return standard underflowing result for K <=
1578 -64 not K <= -63; adjust exponent for underflowing result by 64
1579 not 63.
1580 * math/libm-test.inc (scalbn_test_data): Add more tests.
1581 (scalbln_test_data): Likewise.
1582
34e93d6c
JM
1583 [BZ #17834]
1584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1585 0x1p63L.
1586 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1587 not HX.
1588 * math/libm-test.inc (scalbn_test_data): Add more tests.
1589 (scalbln_test_data): Likewise.
1590
ca677d3c
AZ
15912015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 Stefani Seibold <stefani@seibold.net>
1593
1594 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1595 (sysdep_routines): Add dl-vdso here, ...
1596 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1597 (sysdep_routines): ... not here.
1598 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1599 fallback when vDSO is not presented.
1600 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1601 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1602 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1603 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1604 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1605 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1606 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1607 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1608 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1610 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1611 fallback configurable symbol when vDSO is not available.
1612 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1613 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1614 be able to redefine fallback symbol when vDSO is not available.
1615 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1616 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1617
49a9f6ab 16182015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1619
56cf2763
AZ
1620 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1621 (TLS_INIT_TP): Add tm_capable initialization.
1622 (TLS_DEFINE_INIT_TP): Likewise.
1623 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1624 TCB.
1625 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1626 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1627 calculation.
1628 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1629 transactoion is lock elision is built and TCB tm_capable is set.
1630 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1632 (INTERNAL_SYSCALL_NCS): Likewise.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1634 (INTERNAL_SYSCALL_NCS): Likewise.
1635 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1636
4b45943a
AZ
1637 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1638 for powerpc.
1639 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1640 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1641 and remove it for 32 bits case.
1642 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1643 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1644 initialization.
1645 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1646 Disable lock elision with rdlocks if elision is not available.
1647
8d2c0a59
AZ
1648 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1649 (sysdep_routines): Add lock elision objects.
1650 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1651 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1652 [pthread_mutex_t] (__elision): Add field.
1653 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1654 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1655 elision definitions for powerpc.
1656 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1657 implementation of lock elision for powerpc.
1658 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1659 implementation of timed lock elision for powerpc.
1660 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1661 implementation of trylock with lock elision for powerpc.
1662 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1663 implementaion of unlock for lock elision for powerpc.
1664 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1665 automatic enable lock elision for mutexes.
1666 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1667 transaction execution definitions for powerpc.
1668 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1669 definitions.
1670 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1671 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1672 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1673 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1674 * NEWS: Update.
1675
bc0ed9f7
RM
16762015-01-09 Roland McGrath <roland@hack.frob.com>
1677
1678 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1679 for #include of <shm-directory.h>.
1680
585d9c18
CLT
16812015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1682
1683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1684 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1685
aee6626c
MF
16862015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1687
1688 [BZ #17791]
1689 * NEWS: Mention bug fix.
1690 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1691 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1692 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1693
9e560f48
TR
16942015-01-09 Torvald Riegel <triegel@redhat.com>
1695
1696 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1697
e1cfbd0c
TR
16982015-01-09 Torvald Riegel <triegel@redhat.com>
1699
1700 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1701
cf71e44f
DH
17022015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1703
1704 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1705 pointer and cast to uintptr_t.
1706
b360ee62
DH
17072015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1708
1709 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1710 removed.
1711 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1712
caff764e
DH
17132015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1714
1715 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1716 of 0.
1717
59ff172f
RM
17182015-01-08 Roland McGrath <roland@hack.frob.com>
1719
c97d27f1
RM
1720 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1721 <nptl/pthreadP.h> instead.
1722 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1723
08734ccd
RM
1724 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1725 already defined.
1726 [__SIGRTMIN] (init): Function removed.
1727 [__SIGRTMIN] (initialized): Variable removed.
1728 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1729 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1730 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1731 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1732 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1733 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1734 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1735 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1736 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1737 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1738 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1739 * sysdeps/nptl/allocrtsig.c: New file.
1740 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1741 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1742 * sysdeps/generic/testrtsig.h: File removed.
1743
7b052e33
RM
1744 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1745 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1746
cc40d25e
RM
1747 * nptl/nptl-init.c (pthread_functions): Conditionalize
1748 .ptr__nptl_setxid initialization on [SIGSETXID].
1749
9287adf0
RM
1750 * sysdeps/nptl/sys/procfs.h: New file.
1751 * nptl_db/Makefile (headers): Add it.
1752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1753
59ff172f
RM
1754 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1755 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1756 * nptl/pthread_attr_setaffinity.c: Include it.
1757 * nptl/pthread_setattr_default_np.c: Likewise.
1758 * nptl/check-cpuset.h: New file.
1759
b9205857
RH
17602015-01-08 Richard Henderson <rth@redhat.com>
1761
1762 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1763 (CFLAGS-tst-execstack-prog.c): Likewise.
1764 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1765
1a0a8d15
CLT
17662015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1767 Sandra Loosemore <sandra@codesourcery.com>
1768 Andrew Jenner <andrew@codesourcery.com>
1769 Joseph Myers <joseph@codesourcery.com>
1770 Nathan Sidwell <nathan@codesourcery.com>
1771
1772 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1773 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1774 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1775 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1776 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1777 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1778 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1779 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1780 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1781 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1782 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1783 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1784 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1785 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1786 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1787 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1788 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1789
dd6e8af6
AZ
17902015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791
1792 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1793 timespec struct member in syscall macro.
1794 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1795 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1796 first timeval struct member in syscall macro.
1797 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1798
8116321f
JM
17992015-01-07 Joseph Myers <joseph@codesourcery.com>
1800
1801 [BZ #17748]
1802 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1803 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1804 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1805 __feupdateenv and define as weak alias of __feupdateenv. Use
1806 libm_hidden_weak.
1807 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1808 libm_hidden_def.
1809 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1810 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1811 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1812 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1813 libm_hidden_def.
1814 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1815 __feupdateenv and define as weak alias of __feupdateenv. Use
1816 libm_hidden_weak.
1817 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1818 libm_hidden_def.
1819 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1820 __feupdateenv and define as weak alias of __feupdateenv. Use
1821 libm_hidden_weak.
1822 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1823 libm_hidden_def.
1824 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1825 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1826 (__feupdateenv): Likewise.
1827 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1828 __feupdateenv and define as weak alias of __feupdateenv. Use
1829 libm_hidden_weak.
1830 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1831 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1832 libm_hidden_def.
1833 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1834 function.
1835 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1836 libm_hidden_def.
1837 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1838 __feupdateenv instead of feupdateenv.
1839 (default_libc_feupdateenv_test): Likewise.
1840 (libc_feresetround_ctx): Likewise.
1841
882dfe18
AZ
18422015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1843
1844 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1845 prototype.
1846
39a12f8d
CM
18472015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1848
1849 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1850 COLL_SYM in a couple of places to avoid uninitialized variable
1851 wanings on tilegx gcc 4.8.2.
1852
dc400d7b
RE
18532015-01-07 Richard Earnshaw <rearnsha@arm.com>
1854
1855 * sysdeps/aarch64/strcpy.S: New file.
1856 * sysdeps/aarch64/stpcpy.S: New file.
1857 * NEWS: Updated.
1858
ec582ca0
RE
18592015-01-07 Richard Earnshaw <rearnsha@arm.com>
1860
1861 * sysdeps/aarch64/strrchr.S: New file.
1862 * NEWS: Updated.
1863
d5b1c5ed
EB
18642015-01-07 Eric Biggers <ebiggers3@gmail.com>
1865
1866 [BZ #17658]
1867 * stdlib/setenv.c: Fix memory leak when setting large,
1868 duplicate string.
1869
fb87ee96
VN
18702015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1871
60f046a8 1872 [BZ #17273]
fb87ee96
VN
1873 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1874 and tabs from buffer before parsing fstab entry.
1875 * misc/tst-mntent.c (main): Add test for mount entry with
1876 trailing spaces and tabs.
1877
cd42798a
JM
18782015-01-06 Joseph Myers <joseph@codesourcery.com>
1879
01238691
JM
1880 [BZ #17748]
1881 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1882 * math/fesetround.c (fesetround): Rename to __fesetround and
1883 define as weak alias of __fesetround. Use libm_hidden_weak.
1884 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1885 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1886 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1887 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1888 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1889 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1890 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1891 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1892 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1893 __fesetround_inline.
1894 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1895 __fesetround_inline instead of __fesetround.
1896 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1897 __fesetround and define as weak alias of __fesetround. Use
1898 libm_hidden_weak. Call __fesetround_inline instead of
1899 __fesetround.
1900 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1901 __fesetround and define as weak alias of __fesetround. Use
1902 libm_hidden_weak.
1903 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1904 Likewise.
1905 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1906 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1907 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1908 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1909 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1910 __fesetround and define as weak alias of __fesetround. Use
1911 libm_hidden_weak.
1912 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1913 __fesetround instead of fesetround.
1914 (default_libc_feholdexcept_setround): Likewise.
1915 (libc_feholdsetround_ctx): Likewise.
1916 (libc_feholdsetround_noex_ctx): Likewise.
1917
cd42798a
JM
1918 [BZ #17748]
1919 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1920 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1921 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1922 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1923 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1924 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1925 define as weak alias of __fesetenv. Use libm_hidden_weak.
1926 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1927 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1928 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1929 define as weak alias of __fesetenv. Use libm_hidden_weak.
1930 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1931 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1932 define as weak alias of __fesetenv. Use libm_hidden_weak.
1933 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1934 libm_hidden_def.
1935 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1936 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1937 Likewise.
1938 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1939 define as weak alias of __fesetenv. Use libm_hidden_weak.
1940 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1941 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1942 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1943 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1944 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1945 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1946 __fesetenv instead of fesetenv.
1947 (libc_feresetround_noex_ctx): Likewise.
1948 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1949 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1950 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1951 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1952 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1953 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1954 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1955 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1956 (__feupdateenv): Likewise.
1957 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1958 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1959 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1960 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1961
38949026
AJ
19622015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1963
1cf98e27 1964 [BZ #17806]
38949026
AJ
1965 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1966 addresses have been freed.
1967
5fe55e9c
AJ
19682015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1969
1970 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1971 and nservall.
1972
dc8ab018
OB
19732015-01-06 Ondřej Bílka <neleai@seznam.cz>
1974
1975 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1976 Clean up check_pf allocation pattern. addresses
1977
14bb4e57
AZ
19782015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979
1980 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1981 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1982 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1983 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1984 * nptl/pthread_join.c (pthread_join): Likewise.
1985 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1986 * sysdeps/posix/waitid.c (__waitid): Likewise.
1987 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1988 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1989 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1990 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1991 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1992 Likewise.
1993 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1994 (__libc_pread64): Likewise.
1995 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1996 (__libc_pwrite): Likewise.
1997 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1998 (__libc_pwrite64): Likewsie.
1999 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2000 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2001 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2002 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2003 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2004 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2005 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2007 Likewise.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2009 (__libc_pread64): Likewise.
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2011 Likewise.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2013 (__libc_pwrite64): Likewise.
2014 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2015 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2016 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2017 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2018 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2019 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2020 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2021 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2022 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2023 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2024 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2025 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2026 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2027 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2028 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2029 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2030 Likewise.
2031
10a5e112
AS
20322015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2033
2034 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2035 (CFLAGS-test-double.c): Likewise.
2036 (CFLAGS-test-ldouble.c): Likewise.
2037 (CPPFLAGS-test-ifloat.c): Likewise.
2038 (CPPFLAGS-test-idouble.c): Likewise.
2039 (CPPFLAGS-test-ildoubl.c): Likewise.
2040 (CFLAGS-test-test-fenv.c): Remove variable.
2041 (CFLAGS-test-misc.c): Likewise.
2042
57ada0e7
L
20432015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2044
2045 [BZ #17797]
2046 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2047 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2048 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2049 CLOCKS_PER_SEC == 1000000.
2050 * time/clocktest.c (main): Replace %ld with %jd and cast to
2051 intmax_t.
2052
46abb64d
RM
20532015-01-05 Roland McGrath <roland@hack.frob.com>
2054
2055 * sysdeps/generic/unwind-resume.h: New file.
2056 * sysdeps/gnu/unwind-resume.c: Include it.
2057 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2058 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2059 argument list.
2060 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2061 global rather than static.
2062 (_Unwind_Resume): Update user.
2063 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2064 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2065 rather than static. Add __attribute__ ((cold)).
2066 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2067 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2068 * sysdeps/arm/arm-unwind-resume.S: New file.
2069 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2070 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2071 * sysdeps/arm/Makefile [$(subdir) = csu]
2072 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2073 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2074 Add rt-arm-unwind-resume.
2075 [$(subdir) = nptl]
2076 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2077 Add pt-arm-unwind-resume.
2078 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2079 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2080
ef9faf13
JM
20812015-01-05 Joseph Myers <joseph@codesourcery.com>
2082
2083 [BZ #17748]
2084 * include/fenv.h (__feholdexcept): Declare. Use
2085 libm_hidden_proto.
2086 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2087 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2088 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2089 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2090 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2091 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2092 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2093 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2094 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2095 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2096 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2097 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2098 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2099 (feholdexcept): Likewise.
2100 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2101 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2102 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2103 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2104 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2105 __feholdexcept instead of feholdexcept.
2106 (default_libc_feholdexcept_setround): Likewise.
2107
295a453e
SE
21082015-01-05 Steve Ellcey <sellcey@imgtec.com>
2109
2110 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2111 to avoid using stl/str to align destination.
2112
882c4b9f
SE
21132015-01-05 Steve Ellcey <sellcey@imgtec.com>
2114
2115 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2116
ac4c11f5
JM
21172015-01-05 Joseph Myers <joseph@codesourcery.com>
2118
2119 [BZ #17796]
2120 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2121 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2122 Define as weak alias not strong alias.
2123
03403e30
SE
21242015-01-05 Steve Ellcey <sellcey@imgtec.com>
2125
2126 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2127 bltzal with addiupc.
2128 (RTLD_START): Ditto.
2129
1dca195e
CM
21302015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2131
00b8b9ba
SP
2132 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2133 for __vdso_* functions in declarations.
2134 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2135 definitions.
2136 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2137 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2138
1dca195e
CM
2139 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2140 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2141 function with cast from llround().
2142 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2143 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2144 Define.
2145
a287953a
JM
21462015-01-05 Joseph Myers <joseph@codesourcery.com>
2147
ab70da77
JM
2148 [BZ #17793]
2149 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2150 Define as weak alias not strong alias.
2151
b8986484
JM
2152 [BZ #17635]
2153 * ctype/ctype-c99.c: New file. isblank implementation moved from
2154 ...
2155 * ctype/ctype-extn.c: ... here.
2156 (__isblank_l): Move to ...
2157 * ctype/ctype-c99_l.c: ... here. New file.
2158 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2159 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2160 Remove variable.
2161 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2162 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2163 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2164 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2165 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2166
a287953a
JM
2167 [BZ #17777]
2168 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2169 (posix_fadvise64): Define as weak alias not strong alias.
2170 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2171 (posix_fallocate64): Likewise.
2172 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2173 Remove variable.
2174 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2175 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2176 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2177 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2178 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2179
b1efe3bb
MF
21802015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2181
2182 [BZ #16191]
2183 * NEWS: Mention bug fix.
2184 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2185 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2186 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2187 (HOST_STACK_END_ADDR): Likewise.
2188
9706dc5f
JM
21892015-01-02 Joseph Myers <joseph@codesourcery.com>
2190
b93c2205
JM
2191 [BZ #17748]
2192 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2193 * math/fegetround.c (fegetround): Rename to __fegetround and
2194 define as weak alias of __fegetround. Use libm_hidden_weak.
2195 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2196 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2197 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2198 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2199 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2200 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2201 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2202 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2203 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2204 Undefine after rather than before function definition; use
2205 parentheses around function name in definition.
2206 (__fegetround): Also undefine macro after function definition.
2207 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2208 __fegetround and define as weak alias of __fegetround. Use
2209 libm_hidden_weak. Do not undefine as macro.
2210 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2211 Likewise.
2212 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2213 __fegetround and define as weak alias of __fegetround. Use
2214 libm_hidden_weak.
2215 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2216 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2217 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2218 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2219 __fegetround and define as weak alias of __fegetround. Use
2220 libm_hidden_weak.
2221 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2222 __fegetround instead of fegetround.
2223
253a59cc
JM
2224 [BZ #17782]
2225 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2226 Condition macro definition on [__USE_MISC].
2227
27dae011
JM
2228 [BZ #17781]
2229 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2230 (struct sigaction): Change type of sa_flags field to int.
2231
172019c0
JM
2232 [BZ #17780]
2233 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2234 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2235 __glibc_reserved0.
2236
522ad1d6
JM
2237 * nptl/version.c (banner): Use single year in copyright notice.
2238
9706dc5f
JM
2239 * NEWS: Update copyright dates.
2240 * catgets/gencat.c (print_version): Likewise.
2241 * csu/version.c (banner): Likewise.
2242 * debug/catchsegv.sh: Likewise.
2243 * debug/pcprofiledump.c (print_version): Likewise.
2244 * debug/xtrace.sh (do_version): Likewise.
2245 * elf/ldconfig.c (print_version): Likewise.
2246 * elf/ldd.bash.in: Likewise.
2247 * elf/pldd.c (print_version): Likewise.
2248 * elf/sotruss.sh: Likewise.
2249 * elf/sprof.c (print_version): Likewise.
2250 * iconv/iconv_prog.c (print_version): Likewise.
2251 * iconv/iconvconfig.c (print_version): Likewise.
2252 * locale/programs/locale.c (print_version): Likewise.
2253 * locale/programs/localedef.c (print_version): Likewise.
2254 * login/programs/pt_chown.c (print_version): Likewise.
2255 * malloc/memusage.sh (do_version): Likewise.
2256 * malloc/memusagestat.c (print_version): Likewise.
2257 * malloc/mtrace.pl: Likewise.
2258 * manual/libc.texinfo: Likewise.
2259 * nptl/version.c (banner): Likewise.
2260 * nscd/nscd.c (print_version): Likewise.
2261 * nss/getent.c (print_version): Likewise.
2262 * nss/makedb.c (print_version): Likewise.
2263 * posix/getconf.c (main): Likewise.
2264 * scripts/test-installation.pl: Likewise.
2265 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2266
b8607aac
WN
22672015-01-02 Will Newton <will.newton@linaro.org>
2268
2269 * sysdeps/arm/armv7/configure: Removed.
2270 * sysdeps/arm/armv7/configure.ac: Likewise.
2271
b168057a
JM
22722015-01-02 Joseph Myers <joseph@codesourcery.com>
2273
2274 * All files with FSF copyright notices: Update copyright dates
2275 using scripts/update-copyrights.
2276 * intl/plural.c: Regenerated.
2277 * locale/programs/charmap-kw.h: Likewise.
2278 * locale/programs/locfile-kw.h: Likewise.
2279
b217c15f
SP
22802015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2281
2282 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2283
73a268c7
JM
22842014-12-31 Joseph Myers <joseph@codesourcery.com>
2285
2286 [BZ #17748]
2287 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2288 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2289 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2290 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2291 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2292 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2293 define as weak alias of __fegetenv. Use libm_hidden_weak.
2294 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2295 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2296 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2297 define as weak alias of __fegetenv. Use libm_hidden_weak.
2298 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2299 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2300 define as weak alias of __fegetenv. Use libm_hidden_weak.
2301 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2302 libm_hidden_def.
2303 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2304 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2305 Likewise.
2306 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2307 define as weak alias of __fegetenv. Use libm_hidden_weak.
2308 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2309 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2310 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2311 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2312 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2313 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2314 __fegetenv instead of fegetenv.
2315 (libc_feholdsetround_noex_ctx): Likewise.
2316
0bd95672
MF
23172014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2318
2319 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2320 (Elf_MIPS_ABIFlags_v0): New structure.
2321 (EF_MIPS_FP64): Define.
2322 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2323 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2324 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2325 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2326 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2327 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2328 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2329 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2330 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2331 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2332 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2333 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2334 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2335 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2336 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2337 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2338 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2339 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2340 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2341 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2342 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2343 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2344 field.
2345 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2346 EF_MIPS_FP64.
2347 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2348 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2349 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2350 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2351 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2352 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2353 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2354 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2355 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2356 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2357 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2358 record the current FP ABI extension.
2359 (mips-mode-switch): Define to show if kernel headers support mode
2360 switching.
2361 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2362 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2363 supported SYSV ABI version to 3.
2364 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2365 feature.
2366
f59ad976
RS
23672014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2368 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369
2370 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2371 path.
2372 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2373
4a3d3999
JM
23742014-12-31 Joseph Myers <joseph@codesourcery.com>
2375
2376 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2377 __fegetround and redefine to call __fegetround. Remove condition
2378 on [!__NO_MATH_INLINES].
2379 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2380 function.
2381 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2382 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2383 Remove macro.
2384 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2385 instead of <fenv_libc.h>.
2386 (__llrintl): Call fegetround instead of __fegetround.
2387 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2388 instead of <fenv_libc.h>.
2389 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2390 (__lrintl): Call fegetround instead of __fegetround.
2391 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2392 instead of <fenv_libc.h>.
2393 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2394 (__rintl): Call fegetround instead of __fegetround.
2395
195f3afc
SP
23962014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2397
2398 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2399 arrays.
2400
7062bd42
L
24012014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2402
2403 [BZ #17775]
2404 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2405 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2406 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2407
07256e18
AS
24082014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2409
2410 * sysdeps/i386/tls-macros.h: Include <features.h>.
2411 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2412 (TLS_IE): Likewise.
2413 (TLS_LD): Likewise.
2414 (TLS_GD): Likewise.
2415 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2416 define for GCC >= 5.0.
2417
1ff950ad
CM
24182014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2419
2420 * math/test-fenv.c (test_single_exception, set_single_exc,
2421 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2422 feexcp_mask_test, feenable_test, fe_single_test): Add
2423 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2424 case where they are not used.
2425 * math/libm-test.inc: Likewise.
2426 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2427 unused in the absence of FP rounding/exception support.
2428 * stdio-common/tst-printf-round.c: Likewise.
2429 * stdlib/tst-strtod-round.c: Likewise.
2430 * stdlib/tst-strtod-underflow.c: Likewise.
2431
0747f818
JM
24322014-12-30 Joseph Myers <joseph@codesourcery.com>
2433
2434 [BZ #17723]
2435 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2436 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2437 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2438 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2439 libm_hidden_weak.
2440 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2441 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2442 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2443 libm_hidden_def.
2444 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2445 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2446 libm_hidden_weak.
2447 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2448 Likewise.
2449 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2450 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2451 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2452 libm_hidden_weak.
2453 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2454 libm_hidden_def.
2455 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2456 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2457 (__feraiseexcept): Likewise.
2458 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2459 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2460 libm_hidden_weak.
2461 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2462 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2463 libm_hidden_def.
2464 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2465 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2466 Use libm_hidden_def.
2467 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2468 libm_hidden_def.
2469 (feraiseexcept): Define as weak not strong alias. Use
2470 libm_hidden_weak.
2471 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2472 New inline function. Factored out of ...
2473 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2474 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2475 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2476 feraiseexcept.
2477 * math/w_acos.c (__acos): Likewise.
2478 * math/w_asin.c (__asin): Likewise.
2479 * math/w_ilogb.c (__ilogb): Likewise.
2480 * math/w_j0.c (y0): Likewise.
2481 * math/w_j1.c (y1): Likewise.
2482 * math/w_jn.c (yn): Likewise.
2483 * math/w_log.c (__log): Likewise.
2484 * math/w_log10.c (__log10): Likewise.
2485 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2486 * sysdeps/aarch64/fpu/math_private.h
2487 (libc_feupdateenv_test_aarch64): Likewise.
2488 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2489 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2490 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2491 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2492 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2493 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2494 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2495 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2496 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2497 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2498
8d2b2763
L
24992014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2500
2501 [BZ #17732]
2502 * io/test-utime.c (main): Replace %ld with %jd and cast to
2503 intmax_t.
41fad830 2504 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2505 * nptl/tst-mutex5.c: Include <stdint.h>.
2506 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2507 * posix/tst-regex.c (run_test): Likewise.
2508 (run_test_backwards): Likewise.
5d619de4
L
2509 * rt/tst-clock.c: Include <stdint.h>.
2510 (clock_test): Replace %ld with %jd and cast to intmax_t.
2511 * rt/tst-cpuclock1.c: Include <stdint.h>.
2512 (do_test): Replace %lu with %ju and cast to uintmax_t.
2513 * rt/tst-cpuclock2.c: Include <stdint.h>.
2514 (do_test): Replace %lu with %ju and cast to uintmax_t.
2515 * rt/tst-mqueue1.c: Include <stdint.h>.
2516 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2517 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2518 intmax_t.
2519 * rt/tst-mqueue4.c (do_test): Likewise.
2520 * rt/tst-timer4.c: Include <stdint.h>.
2521 (check_ts): Replace %ld with %jd and cast to intmax_t.
2522 (do_test): Likewise.
ad86fbc3
L
2523 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2524 and cast to intmax_t.
37f46900 2525 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2526 * time/clocktest.c (main): Likewise.
2527 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2528 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2529
8b4416d8
AS
25302014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2531 H.J. Lu <hongjiu.lu@intel.com>
2532
2533 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2534 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2535 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2536 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2537 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2538 version if bit_Fast_Unaligned_Load is set.
2539 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2540 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2541 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2542 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2543 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2544 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2546 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2547 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2548 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2549 to 4.
2550 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2551 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2552 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2553 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2554
e47b8d3b
CM
25552014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2556
6d6d7fde
CM
2557 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2558 instead of #if to avoid a Wundef warning.
2559 * stdlib/tst-limits.c (do_test): Likewise.
2560
cd2c37c9
CM
2561 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2562 parallel other exception macros.
2563 (fegetenv): Convert from macro to extern inline so that it applies
2564 retroactively to inline functions already seen by the compiler.
2565 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2566
e47b8d3b
CM
2567 * posix/Makefile (before-compile): Use $(objpfx) for
2568 posix-conf-vars-def.h.
2569
4a6aca7b
SP
25702014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2571
7910c2ae
SP
2572 * posix/getconf.c (main): Use size_t for type of I.
2573 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2574 NSPEC.
2575
50cbbaa9
SP
2576 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2577 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2578 * posix/posix-envs.def: Likewise.
2579 * sysdeps/posix/sysconf.c: Likewise.
2580 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2581 (specs): Remove array.
2582 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2583 array.
2584
3b566046
SP
2585 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2586 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2587 (__sysconf): Use CONF_IS_* macros.
2588
4a6aca7b
SP
2589 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2590 ($(objpfx)posix-conf-vars-def.h): New target.
2591 * posix/posix-conf-vars.list: New file.
2592 * posix/posix-conf-vars.h: New file.
2593 * posix/confstr.c: Include posix-conf-vars.h.
2594 (confstr): Use CONF_IS_* macros.
2595 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2596 CONF_IS_* macros.
2597 * scripts/gen-posix-conf-vars.awk: New file.
2598
7c1395a7
CM
25992014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2600
0025b4cc
CM
2601 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2602 fegetround): Add no-op macros to avoid linknamespace issues.
2603
d8aaf74b
CM
2604 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2605 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2606
5d24aa60
CM
2607 * sysdeps/unix/sysv/linux/tile/sysdep.h
2608 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2609 assembly-specific section to avoid a redefinition warning.
2610
7c1395a7
CM
2611 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2612 long before casting to pointer to avoid a cast warning.
2613
3c87c616
CM
26142014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2615
2616 * sysdeps/tile/tilegx/Implies: New file.
2617
f559d8cf
RE
26182014-12-23 Richard Earnshaw <rearnsha@arm.com>
2619
2620 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2621
7d81e8d6
FW
26222014-12-23 Florian Weimer <fweimer@redhat.com>
2623
2624 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2625
90aa3d09
JM
26262014-12-22 Joseph Myers <joseph@codesourcery.com>
2627
2628 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2629 not define.
2630 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2631 <kernel-features.h>.
2632 (__utimes) [__NR_utimes]: Make code unconditional.
2633 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2634 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2635 (__ASSUME_UTIMES): Do not undefine.
2636 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2637 (__ASSUME_UTIMES): Likewise.
2638 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2639 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2640 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2641 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2642
4c0c0e2a
SE
26432014-12-22 Steve Ellcey <sellcey@imgtec.com>
2644
2645 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2646
0dacd7a3
CM
26472014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2648
b638f96a
CM
2649 [BZ #17747]
2650 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2651 alias to weak alias for j0l, y0l.
2652 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2653 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2654
0dacd7a3
CM
2655 [BZ #17746]
2656 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2657 conversion.
2658
528479c4
SE
26592014-12-22 Steve Ellcey <sellcey@imgtec.com>
2660
2661 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2662 to zero if not already defined.
2663
f56f9124
JM
26642014-12-22 Joseph Myers <joseph@codesourcery.com>
2665
2666 [BZ #17724]
2667 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2668 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2669 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2670 (char *) casts added.
2671 * sysdeps/ieee754/k_standardf.c: New file.
2672 * sysdeps/ieee754/k_standardl.c: Likewise.
2673 * math/Makefile (libm-support): Remove k_standard.
2674 (libm-calls): Add k_standard.
2675
8622d556
WD
26762014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2677
2678 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2679 Optimize to avoid an unnecessary FPCR read.
2680
f3806bdb
WD
26812014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2682
2683 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2684 Optimize to reduce FPCR/FPSR accesses.
2685
9b47df58
WD
26862014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2687
2688 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2689 Call libc_fetestexcept_aarch64.
2690
97be3cac
WD
26912014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2692
2693 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2694 Call libc_fesetround_aarch64.
2695
935ab817
JM
26962014-12-22 Joseph Myers <joseph@codesourcery.com>
2697
2698 [BZ #17733]
2699 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2700 (__bind): Do not define as weak alias.
2701 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2702 define.
2703 (__getsockname): Do not define as weak alias.
2704
cc8623f1
WN
27052014-12-22 Will Newton <will.newton@linaro.org>
2706
2707 * manual/install.texi: Document that we require bison 2.7
2708 or above.
2709 * INSTALL: Regenerate.
2710 * configure.ac: Use AC_CHECK_PROG_VER instead of
2711 AC_PATH_PROG when checking for bison and check for
2712 version 2.7 or above.
2713 * configure: Regenerate.
2714
a19ca65a
CM
27152014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2716
92901170 2717 [BZ #17745]
e969965a
CM
2718 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2719 * sysdeps/tile/ffsll.c (ffsll): To here.
2720
a19ca65a
CM
2721 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2722
050f7298
L
27232014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2724
2725 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2726 if not defined.
2727 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2728 definition.
2729 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2730 hidden ___tls_get_addr.
2731 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2732 hidden __tls_get_addr.
2733 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2734 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2735 Likewise.
2736
6df5547e
AS
27372014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2738
2739 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2740 _dl_init call.
2741
7432d613
L
27422014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2743
2744 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2745 from "call _dl_init@PLT".
2746 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2747
98fe149e
AK
27482014-12-21 Anders Kaseorg <andersk@mit.edu>
2749
2750 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2751 guarantees.
2752
d12455f5
CM
27532014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2754
2755 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2756
95dee05f
CM
27572014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2758
92901170 2759 [BZ #17744]
95dee05f
CM
2760 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2761 strnlen.
2762
2ef4b74a
SE
27632014-12-19 Steve Ellcey <sellcey@imgtec.com>
2764
2765 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2766 of multu on MIPSr6.
2767 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2768 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2769 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2770 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2771 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2772
27732014-12-19 Steve Ellcey <sellcey@imgtec.com>
2774
2775 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2776 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2777 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2778 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2779 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2780 mips32r6/mips64r6.
2781 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2782
3eb38795
OB
27832014-12-19 Ondřej Bílka <neleai@seznam.cz>
2784
2785 * string/strncat.c (STRNCAT): Simplify implementation.
2786
6d4188dd
DM
27872014-12-19 David S. Miller <davem@davemloft.net>
2788
0d4ba8be
DM
2789 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2790 access the quad as both a long double and as a series of 4 words.
2791
6d4188dd
DM
2792 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2793 link_map->l_info array access.
2794
4ef91cdc
CM
27952014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2796
804c54f7
CM
2797 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2798
4ef91cdc
CM
2799 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2800 * math/atest-exp2.c (TIMEOUT): Likewise.
2801 * math/atest-sincos.c (TIMEOUT): Likewise.
2802
afd176d6
L
28032014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2804
2805 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2806 -Wno-error with -fno-builtin-lround.
2807
a4a43a90
TR
28082014-12-19 Torvald Riegel <triegel@redhat.com>
2809
2810 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2811 Contains futex constants and functions moved over from ...
2812 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2813 <lowlevellock-futex.h>.
2814 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2815 (lll_timedwait_tid): Add comments and parentheses around macro
2816 arguments.
2817
76f71081
TR
28182014-12-19 Torvald Riegel <triegel@redhat.com>
2819
2820 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2821 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2822 (__lll_private_flag): Remove.
2823 (lll_futex_wait): Likewise.
2824 (lll_futex_timed_wait): Likewise.
2825 (lll_futex_wake): Likewise.
2826 (lll_futex_requeue): Likewise.
2827 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2828 (__lll_timedwait_tid): Spell out argument names.
2829 (lll_timedwait_tid): Add comments and parentheses around macro
2830 arguments.
2831 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2832 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2833
6b814909
TR
28342014-12-19 Torvald Riegel <triegel@redhat.com>
2835
2836 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2837 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2838 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2839 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2840 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2841 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2842 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2843 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2844 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2845 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2846 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2847 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2848 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2849 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2850 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2851 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2852 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2853 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2854 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2855
9cd4d4ab
L
28562014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 * sysdeps/x86_64/x32/Makefile: New file.
2859
c9c1a2d0
L
28602014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2861
2862 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2863 1L with (mp_limb_t) 1.
2864
af102d95
RM
28652014-12-17 Roland McGrath <roland@hack.frob.com>
2866
dd690454
RM
2867 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2868 * nptl/libc_pthread_init.c: ... here.
2869 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2870 * nptl/register-atfork.c: ... here.
2871
74eb826c
RM
2872 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2873 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2874 Use assert_perror to check its return value.
2875 (__gai_create_helper_thread): Likewise.
2876
c9ce306b
RM
2877 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2878
af102d95
RM
2879 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2880
8ac5a76a
JM
28812014-12-17 Joseph Myers <joseph@codesourcery.com>
2882
ea41469b
JM
2883 [BZ #17725]
2884 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2885 __profil_counter.
2886 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2887 Likewise.
2888 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2889 Likewise.
2890 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2891 Likewise.
2892 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2893 (profil_counter): Likewise.
2894 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2895 (profil_counter): Likewise.
2896 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2897 Likewise.
2898 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2899 Likewise.
2900 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2901 (profil_counter): Likewise.
2902 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2903 Likewise.
2904 [!__profil_counter] (profil_counter): Define as weak alias of
2905 __profil_counter.
2906 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2907 (profil_counter): Rename to __profil_counter.
2908 [!__profil_counter] (profil_counter): Define as weak alias of
2909 __profil_counter.
2910 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2911 (profil_counter): Rename to __profil_counter.
2912 [!__profil_counter] (profil_counter): Define as weak alias of
2913 __profil_counter.
2914 * sysdeps/posix/profil.c: Update comment referring to
2915 profil_counter.
2916 (__profil): Use __profil_counter instead of profil_counter.
2917 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2918 __profil_counter. Use __profil_counter_ushort and
2919 __profil_counter_uint in definitions.
2920 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2921 instead of profil_counter_uint and profil_counter_ushort.
2922
8ac5a76a
JM
2923 [BZ #17722]
2924 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2925 define as weak alias of __inet_makeaddr.
2926 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2927 as weak alias of __inet_addr.
2928 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2929 as weak alias of __inet_pton. Use libc_hidden_weak.
2930 * include/arpa/inet.h (__inet_pton): Declare. Use
2931 libc_hidden_proto.
2932 (inet_makeaddr): Don't use libc_hidden_proto.
2933 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2934 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2935 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2936 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2937 Remove variable.
2938 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2939 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2940
66ce3cb1
SE
29412014-12-17 Steve Ellcey <sellcey@imgtec.com>
2942
2943 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2944
d22ce01b
SL
29452014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2946
2947 * stdio-common/bug-vfprintf-nargs.c (do_test):
2948 Cast value to intptr_t to avoid format warning
2949 for usage with PRIdPTR printing macro.
2950
eca2772b
SL
29512014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2952
2953 * libio/tst-widetext.c (do_test):
2954 Use format type %td instead of %Zd for ptrdiff_t
2955 in order to avoid format warning.
2956
bdf079da
AS
29572014-12-17 Andreas Schwab <schwab@suse.de>
2958
2959 * nscd/mem.c (gc): Add size_t cast to match printf format.
2960
3eb5d2fc
RM
29612014-12-16 Roland McGrath <roland@hack.frob.com>
2962
2963 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2964 (init): Apply PTR_MANGLE to pointers before storing them.
2965 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2966 before using them.
2967
d003ada2
JM
29682014-12-16 Joseph Myers <joseph@codesourcery.com>
2969
380292ba
JM
2970 [BZ #17719]
2971 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2972 define as weak alias of __memrchr.
2973 (__memrchr): Do not define as strong alias of memrchr.
2974 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2975 Remove variable.
2976 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2977 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2978 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2979
9a44d530
JM
2980 [BZ #17717]
2981 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2982 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2983 (if_indextoname): Rename to __if_indextoname and define as weak
2984 alias of __if_indextoname. Use libc_hidden_weak.
2985 (if_freenameindex): Rename to __if_freenameindex and define as
2986 weak alias of __if_freenameindex.
2987 (if_nameindex): Rename to __if_nameindex and define as weak alias
2988 of __if_nameindex.
2989 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2990 __if_nametoindex and define as weak alias of __if_nametoindex.
2991 Use libc_hidden_weak.
2992 (if_freenameindex): Rename to __if_freenameindex and define as
2993 weak alias of __if_freenameindex.
2994 (if_nameindex): Rename to __if_nameindex and define as weak alias
2995 of __if_nameindex.
2996 (if_indextoname): Rename to __if_indextoname and define as weak
2997 alias of __if_indextoname. Use libc_hidden_weak.
2998 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2999 __if_nametoindex and define as weak alias of __if_nametoindex.
3000 Use libc_hidden_weak.
3001 (if_freenameindex): Rename to __if_freenameindex and define as
3002 weak alias of __if_freenameindex. Use libc_hidden_weak.
3003 (if_nameindex_netlink): Use __if_freenameindex instead of
3004 if_freenameindex.
3005 (if_nameindex): Rename to __if_nameindex and define as weak alias
3006 of __if_nameindex. Use libc_hidden_weak.
3007 (if_indextoname): Rename to __if_indextoname and define as weak
3008 alias of __if_indextoname. Use libc_hidden_weak.
3009 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3010 libc_hidden_proto.
3011 [!_ISOMAC] (__if_freenameindex): Likewise.
3012 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3013 if_nametoindex.
3014 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3015 variable.
3016 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3017 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3018 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3019 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3020 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3021 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3022 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3023
d003ada2
JM
3024 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3025 Remove variable.
3026 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3027 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3028
a0d424ef
SP
30292014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3030
0cd85520
SP
3031 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3032 subscript above bounds'
3033
a0d424ef
SP
3034 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3035 bounds.
3036
0e426475
AS
30372014-12-16 Arjun Shankar <arjun.is@lostca.se>
3038
8b460906
AS
3039 * libio/tst-fopenloc.c: Use test-skeleton.c.
3040
fa13e15b
AS
3041 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3042 (entry): Rename to ITEM.
3043 (do_test, comp): Adjust.
3044
0e426475
AS
3045 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3046
4f646bce
TR
30472014-12-16 Torvald Riegel <triegel@redhat.com>
3048
3049 * string/tester.c: Include <libc-internal.h>.
3050 (test_memset): Ignore -Wmemset-transposed-args.
3051
a07c4427
TR
30522014-12-16 Torvald Riegel <triegel@redhat.com>
3053
3054 * misc/tst-mntent2.c (do_test): Fix warning.
3055
1469f466
TR
30562014-12-16 Torvald Riegel <triegel@redhat.com>
3057
3058 * elf/tst-unique4lib.cc(a): Mark as used.
3059
11e3417a
FW
30602014-12-16 Florian Weimer <fweimer@redhat.com>
3061
3062 [BZ #17630]
3063 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3064 names.
3065
ae61fc7b
AM
30662014-12-16 Allan McRae <allan@archlinux.org>
3067
3068 * stdio-common/Makefile (tests): Re-add bug26.
3069
363a9899
OB
30702014-12-15 Ondřej Bílka <neleai@seznam.cz>
3071
3072 [BZ #17657]
3073 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3074 static array.
3075
d52c62df
TR
30762014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3077
3078 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3079 (__lll_lock_wait): Likewise.
3080 (__lll_timedlock_wait): Likewise.
3081 (__lll_timedwait_tid): Likewise.
3082 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3083 (__lll_robust_timedlock_wait): Likewise.
3084 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3085 (lll_cond_trylock): Likewise.
3086 (__lll_lock): Likewise.
3087 (__lll_robust_lock): Likewise.
3088 (__lll_cond_lock): Likewise.
3089 (lll_robust_cond_lock): Likewise.
3090 (__lll_timedlock): Likewise.
3091 (__lll_robust_timedlock): Likewise.
3092 (__lll_unlock): Likewise.
3093 (__lll_robust_unlock): Likewise.
3094 (lll_wait_tid): Likewise.
3095 (lll_timedwait_tid): Likewise.
3096
045a6bcd
TR
30972014-12-15 Torvald Riegel <triegel@redhat.com>
3098
3099 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3100
7f786dc1
TR
31012014-12-15 Torvald Riegel <triegel@redhat.com>
3102
3103 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3104
e7e21cba
AZ
31052014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3106
3107 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3108 * stdio-common/tst-sprintf.c: Likewise.
3109
bc89c0fc
TR
31102014-12-15 Torvald Riegel <triegel@redhat.com>
3111
3112 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3113
a5357b7c
JL
31142014-12-15 Jeff Law <law@redhat.com>
3115
3116 [BZ #16617]
3117 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3118 on the heap. (CVE-2012-3406)
3119 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3120 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3121 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3122
3a12c70f
WN
31232014-12-15 Will Newton <will.newton@linaro.org>
3124
3125 * manual/install.texi: Bump required version of texinfo
3126 to 4.7 from 4.5.
3127 * INSTALL: Regenerated.
3128 * configure.ac: Check for makeinfo version 4.7 and above.
3129 * configure: Regenerated.
3130
e4f639e4
RM
31312014-12-12 Roland McGrath <roland@hack.frob.com>
3132
3133 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3134 PREFIX, string constant to insert between directory and name.
3135 * sysdeps/posix/shm_open.c: Update caller.
3136 * sysdeps/posix/shm_unlink.c: Likewise.
3137 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3138 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3139 (SEM_SHM_PREFIX): New macro.
3140 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3141 [$(have-thread-library) = no].
3142 * nptl/Makefile (libpthread-routines): Add shm-directory.
3143 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3144 * sysdeps/nptl/shm-directory.h: New file.
3145 * sysdeps/posix/shm-directory.c
3146 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3147 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3148 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3149 INTERNAL_SYSCALL.
3150 (__where_is_shmfs): Function removed.
3151 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3152 Variables removed.
3153 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3154 Use SHM_GET_NAME.
3155 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3156
3157 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3158 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3159 unconditional for use inside libpthread.
3160 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3161
439c43f6
RM
31622014-12-12 Roland McGrath <roland@hack.frob.com>
3163
c76d1ff5
RM
3164 * nptl/pthread_getaffinity.c: New file.
3165 * nptl/pthread_setaffinity.c: New file.
3166 * nptl/pthread_getname.c: New file.
3167 * nptl/pthread_setname.c: New file.
3168
439c43f6
RM
3169 * nptl/pthread_create.c (START_THREAD_DEFN)
3170 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3171
48e435cd
SL
31722014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3173 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3174
3175 * resolv/res_send.c (send_vc): Disable warning resplen may
3176 be used uninitialized.
3177
9d9c0019
SL
31782014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3179
3180 * nptl/tst-mutex6.c
3181 (ATTR_NULL): New define checks ATTR against NULL.
3182 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3183 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3184
9173840b
JL
31852014-12-11 James Lemke <jwlemke@codesourcery.com>
3186
3187 [BZ #17581]
3188 * malloc/hooks.c
3189 (mem2mem_check): Revert my previous change.
3190 (malloc_check_get_size): Revert my previous change.
3191 (mem2chunk_check): Revert my previous change.
3192
78e21c5d
RM
31932014-12-11 Roland McGrath <roland@hack.frob.com>
3194
3195 * sysdeps/posix/shm-directory.c: New file.
3196 * sysdeps/posix/shm-directory.h: New file.
3197 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3198 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3199 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3200 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3201 Transmute EPERM to EACCES.
3202 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3203 from ...
3204 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3205 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3206
f82c43af
KK
32072014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3208
3209 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3210 pointer and cast to uintptr_t.
3211 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3212 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3213 Add cast to avoid warning.
3214 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3215
fc00cf7b
JM
32162014-12-11 Joseph Myers <joseph@codesourcery.com>
3217
3218 * nptl/semaphore.h: Move to ...
3219 * sysdeps/pthread/semaphore.h: ... here.
3220 * Makefile (installed-headers): Change nptl/semaphore.h to
3221 sysdeps/pthread/semaphore.h.
3222
1c4053db
RM
32232014-12-11 Roland McGrath <roland@hack.frob.com>
3224
73b0c1a1
RM
3225 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3226 generated error format strings.
3227
1c4053db
RM
3228 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3229 -Wformat-extra-args warnings for scanf formats.
3230 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3231 test of zero-length format (duh).
3232 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3233 corner-case scanf format test.
3234 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3235 generated fprintf format string.
3236 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3237 corner-case sprintf format tests.
3238 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3239 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3240 -Wformat-extra-args warnings throughout.
3241 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3242 (CFLAGS-scanf4.c): Likewise.
3243 (CFLAGS-scanf7.c): Likewise.
3244 (CFLAGS-tst-sprintf.c): Likewise.
3245 (CFLAGS-tst-printf.c): Likewise.
3246 (CFLAGS-tst-printfsz.c): Likewise.
3247
47d51f4f
JM
32482014-12-11 Joseph Myers <joseph@codesourcery.com>
3249
a1edbf3c
JM
3250 * include/cpio.h: New file.
3251 * include/fmtmsg.h: Likewise.
3252
47d51f4f
JM
3253 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3254 corresponding format argument to size_t.
3255 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3256 arguments.
3257 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3258 corresponding format argument to size_t.
3259 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3260 arguments.
3261 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3262 corresponding format argument to size_t.
3263 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3264 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3265 (CFLAGS-tst-mbswcs2.c): Likewise.
3266 (CFLAGS-tst-mbswcs3.c): Likewise.
3267 (CFLAGS-tst-mbswcs4.c): Likewise.
3268 (CFLAGS-tst-mbswcs5.c): Likewise.
3269 (CFLAGS-tst-trans.c): Likewise
3270
e9813cfb
RM
32712014-12-11 Roland McGrath <roland@hack.frob.com>
3272
3273 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3274 rather than assuming they won't contain any '%'s.
3275
f627ca82
CM
32762014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3277
3278 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3279 inhibit_loop_to_libcall to avoid recursive calls.
3280 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3281 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3282
7f296942
AZ
32832014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3284
3285 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3286 prototype.
3287
d0276e18
SE
32882014-12-11 Steve Ellcey <sellcey@imgtec.com>
3289
3290 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3291 integer value instead of boolean.
3292
fc56e970
SE
32932014-12-11 Steve Ellcey <sellcey@imgtec.com>
3294
3295 * malloc/malloc.c: Fix powerof2 check.
3296
40e53917
SL
32972014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3298
3299 * locale/programs/locfile.h (maybe_swap_uint32):
3300 Remove inline and add unused attribute.
3301
1ea166df
SL
33022014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3303
9d9c0019 3304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3305 Truncating assembler expression to a .long expression.
3306
acf869f4
AS
33072014-12-11 Andreas Schwab <schwab@suse.de>
3308
3309 * elf/rtld.c (struct map_args): Constify str member.
3310 (do_preload): Constify fname argument.
3311
9d969099
AZ
33122014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3313
3314 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3315 constants definition.
3316
da5bcaa4
AS
33172014-12-11 Andreas Schwab <schwab@suse.de>
3318
b0a3c164
AS
3319 [BZ #16657]
3320 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3321 FORCE_ELISION instead of DO_ELISION.
3322 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3323 Remove.
3324 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3325 Likewise.
3326
da5bcaa4
AS
3327 * iconvdata/gconv-modules: Remove duplicate entry.
3328
6d248857
WN
33292014-12-11 Will Newton <will.newton@linaro.org>
3330
3331 Merge gettext 0.19.3 into intl/.
3332
3333 This involves a number of cosmetic changes to comments
3334 and ANSI function definitions and prototypes throughout
3335 all the files. The gettext copyright header is used but
3336 with the date ranges taken from the glibc copy.
3337
3338 * NEWS: Add gettext merge to 2.21.
3339 * intl/bindtextdom.c: Switch to gettext copyright.
3340 Use ANSI definitions and prototypes.
3341 Use gl_* locking primitives rather than __libc_* ones.
3342 Use __builtin_expect rather than __glibc_likely/unlikely.
3343 * intl/dcgettext.c: Switch to gettext copyright.
3344 Use ANSI definitions and prototypes.
3345 * intl/dcigettext.c: Switch to gettext copyright.
3346 Use ANSI definitions and prototypes.
3347 (INTDIV0_RAISES_SIGFPE): New define.
3348 Use gl_* locking primitives rather than __libc_* ones.
3349 Include eval-plural.h instead of plural-eval.c.
3350 Use __builtin_expect rather than __glibc_likely/unlikely.
3351 * intl/dcngettext.c: Switch to gettext copyright.
3352 Use ANSI definitions and prototypes.
3353 * intl/dgettext.c: Likewise.
3354 * intl/dngettext.c: Likewise.
3355 * intl/plural-eval.c: Renamed to...
3356 * intl/eval-plural.h: ...this.
3357 * intl/explodename.c: Switch to gettext copyright.
3358 Use ANSI definitions and prototypes.
3359 (_nl_explode_name): Use strchr instead of __rawmemchr.
3360 * intl/finddomain.c: Switch to gettext copyright.
3361 Use ANSI definitions and prototypes.
3362 Use gl_* locking primitives rather than __libc_* ones.
3363 (_nl_find_domain): Use malloc rather than alloca for
3364 allocation of temporary locale name.
3365 * intl/gettext.c: Switch to gettext copyright.
3366 Use ANSI definitions and prototypes.
3367 * intl/gettextP.h: Switch to gettext copyright.
3368 Use ANSI definitions and prototypes.
3369 Use gl_* locking primitives rather than __libc_* ones.
3370 * intl/gmo.h: Switch to gettext copyright.
3371 (struct sysdep_string): Move struct segment_pair outside of
3372 struct definition.
3373 * intl/hash-string.c: Use ANSI definitions and prototypes.
3374 * intl/hash-string.h: Switch to gettext copyright.
3375 Use ANSI definitions and prototypes.
3376 * intl/l10nflist.c: Switch to gettext copyright.
3377 Use ANSI definitions and prototypes.
3378 (_nl_normalize_codeset): Avoid integer overflow.
3379 * intl/loadinfo.h: Switch to gettext copyright.
3380 Use ANSI definitions and prototypes.
3381 (LIBINTL_DLL_EXPORTED): New define.
3382 (PATH_SEPARATOR): New define.
3383 * intl/loadmsgcat.c: Switch to gettext copyright.
3384 * intl/localealias.c: Switch to gettext copyright.
3385 Use ANSI definitions and prototypes.
3386 (_nl_expand_alias): Use PATH_SEPARATOR.
3387 * intl/ngettext.c: Switch to gettext copyright.
3388 Use ANSI definitions and prototypes.
3389 * intl/plural-exp.c: Likewise.
3390 * intl/plural-exp.h: Switch to gettext copyright.
3391 Use ANSI definitions and prototypes.
3392 (struct expression): Move definition of enum operator outside
3393 of struct definition.
3394 * intl/plural.c: Regenerate.
3395 * intl/plural.y: Switch to gettext copyright.
3396 Use ANSI definitions and prototypes.
3397 Port to bison 3.0.
3398 * intl/textdomain.c: Switch to gettext copyright.
3399 Use ANSI definitions and prototypes.
3400 Use gl_* locking primitives rather than __libc_* ones.
3401
48c43298
SE
34022014-12-10 Steve Ellcey <sellcey@imgtec.com>
3403
3404 * debug/warning-nop.c: Add used atrribute.
3405
2b89bce9
JM
34062014-12-10 Joseph Myers <joseph@codesourcery.com>
3407
c153ac9f
JM
3408 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3409
2b89bce9
JM
3410 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3411 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3412 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3413
2cfbdb9a
JM
34142014-12-10 Joseph Myers <joseph@codesourcery.com>
3415 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3416
3417 [BZ #17634]
3418 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3419 Undefine after defining function. Define as weak alias of
3420 __wcschr. Use libc_hidden_weak.
3421 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3422 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3423 (libc_hidden_def): Also define __GI___wcschr alias.
3424 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3425 __wcschr and define as weak alias of __wcschr.
3426 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3427 __wcschr.
3428 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3429 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3430 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3431 libc_hidden_weak. Do not use libc_hidden_def.
3432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3433 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3434 __GI___wcschr alias.
3435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3436 [IS_IN (libc)] (wcschr): Define as macro expanding to
3437 __redirect_wcschr.
3438 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3439 [IS_IN (libc)] (__wcschr_power6): Likewise.
3440 [IS_IN (libc)] (__wcschr_power7): Likewise.
3441 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3442 instead of wcschr.
3443 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3444 __libc_wcschr.
3445 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3446 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3447 __wcschr and define as weak alias of __wcschr. Use
3448 libc_hidden_builtin_def.
3449 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3450 as weak alias of __wcschr. Use libc_hidden_weak.
3451 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3452 wcschr.
3453 * time/era.c (_nl_init_era_entries): Likewise.
3454 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3455 variable.
3456 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3457 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3458
1b8bf351
JM
34592014-12-10 Joseph Myers <joseph@codesourcery.com>
3460
3461 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3462 format for long int variable.
3463
f5f46d51
AK
34642014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3465
3466 [BZ #10672]
07008f7d 3467 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3468 qsort stable.
3469
217a74a8
AS
34702014-12-10 Andreas Schwab <schwab@suse.de>
3471
3472 [BZ #12847]
3473 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3474 user-controlled locks.
3475
aa76a5c7
RE
34762014-12-10 Richard Earnshaw <rearnsha@arm.com>
3477
3478 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3479 register.
3480
2084e7ca
JM
34812014-12-10 Joseph Myers <joseph@codesourcery.com>
3482
a4ecc9eb
JM
3483 * configure.ac (--disable-werror): New configure option.
3484 (enable_werror): New AC_SUBST.
3485 * configure: Regenerated.
3486 * config.make.in (enable-werror): New variable.
3487 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3488 -Wno-error=undef.
3489 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3490 * manual/install.texi (Configuring and compiling): Document
3491 --disable-werror.
3492 * INSTALL: Regenerated.
3493 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3494 (CFLAGS-tst-chk2.c): Likewise.
3495 (CFLAGS-tst-chk3.c): Likewise.
3496 (CFLAGS-tst-chk4.cc): Likewise.
3497 (CFLAGS-tst-chk5.cc): Likewise.
3498 (CFLAGS-tst-chk6.cc): Likewise.
3499 (CFLAGS-tst-lfschk1.c): Likewise.
3500 (CFLAGS-tst-lfschk2.c): Likewise.
3501 (CFLAGS-tst-lfschk3.c): Likewise.
3502 (CFLAGS-tst-lfschk4.cc): Likewise.
3503 (CFLAGS-tst-lfschk5.cc): Likewise.
3504 (CFLAGS-tst-lfschk6.cc): Likewise.
3505
0f88636c
JM
3506 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3507 (main): Disable -Wdeprecated-declarations around calls to
3508 register_printf_function.
3509
c81e9deb
JM
3510 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3511 (do_test): Disable -Wdiv-by-zero around some calls to
3512 fwrite_unlocked and fread_unlocked.
3513
2084e7ca
JM
3514 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3515 (DIAG_POP_NEEDS_COMMENT): Likewise.
3516 (_DIAG_STR1): Likewise.
3517 (_DIAG_STR): Likewise.
3518 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3519 * stdio-common/bug21.c: Include <libc-internal.h>.
3520 (do_test): Disable -Wformat around call to sscanf.
3521 * stdio-common/scanf14.c: Include <libc-internal.h>.
3522 (main): Disable -Wformat around some calls to scanf functions.
3523
df7ecc6b
TR
35242014-12-09 Torvald Riegel <triegel@redhat.com>
3525
3526 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3527
2aa3862e
AZ
35282014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3529
3530 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3531 stack variable alignment.
3532
c5c2b7c3
JM
35332014-12-06 Joseph Myers <joseph@codesourcery.com>
3534
3535 [BZ #17682]
3536 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3537 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3538 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3539 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3540 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3541 __getrlimit instead of getrlimit.
3542 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3543 __gettimeofday instead of gettimeofday.
3544 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3545 Likewise.
3546 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3547 Likewise.
3548 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3549 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3550 Remove variable.
3551 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3552 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3553
9752c3cd
AZ
35542014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3555
3556 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3557 for wide-character tests.
3558
4bee4cd9
RM
35592014-12-04 Roland McGrath <roland@hack.frob.com>
3560
3561 * io/openat64.c: #include <libc-internal.h>
3562 (__openat64): Prototypify. Use ignore_value on MODE.
3563 * io/openat.c: Likewise.
3564 * misc/reboot.c: #include <libc-internal.h>
3565 (reboot): Prototypify. Use ignore_value on HOWTO.
3566 * misc/ptrace.c: #include <libc-internal.h>
3567 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3568
84dbedb6
JM
35692014-12-04 Joseph Myers <joseph@codesourcery.com>
3570
3571 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3572 XPG4, UNIX98 and XOPEN2K.
3573 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3574 Remove variable.
3575 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3576
b7a3e1c4 35772014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3578
af50dfc1 3579 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3580 * libio/iofopen.c: Likewise.
3581 * libio/wfileops.c: Likewise.
3582
fe8b4d98
SP
3583 [BZ #17653]
3584 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3585 offset on EOF.
3586 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3587 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3588 (fgets_func): Function pointer to fgets and fgetws.
3589 (do_ftell_test): Add test to verify ftell value after read
3590 EOF.
3591 (do_test): Set fgets_func.
3592
61b4f792
SP
3593 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3594 O_TRUNC flag for w and w+ modes.
3595 (do_rewind_test): Likewise.
3596 (do_ftell_test): Likewise.
3597 (do_write_test): Likewise.
3598
be349d70
SP
3599 [BZ #17647]
3600 * libio/fileops.c (do_ftell): Seek only when there are
3601 unflushed writes.
3602 * libio/wfileops.c (do_ftell_wide): Likewise.
3603 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3604 test case.
3605 (do_one_test): Call it.
3606
e3d6dba5
JM
36072014-12-03 Joseph Myers <joseph@codesourcery.com>
3608
3609 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3610 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3611 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3612 Remove variable.
3613 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3614 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3615 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3616
7f994279
JM
36172014-12-02 Joseph Myers <joseph@codesourcery.com>
3618
28a91e8f
JM
3619 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3620 Remove variable.
3621 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3622
7f994279
JM
3623 [BZ #17668]
3624 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3625 as weak alias of __getifaddrs. Use libc_hidden_weak.
3626 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3627 __freeifaddrs. Use libc_hidden_weak.
3628 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3629 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3630 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3631 __freeifaddrs. Use libc_hidden_weak.
3632 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3633 __getifaddrs and define as weak alias of __getifaddrs. Use
3634 libc_hidden_weak.
3635 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3636 __freeifaddrs. Use libc_hidden_weak.
3637 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3638 Remove variable.
3639 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3640 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3641
bbe4c142
PJ
36422014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3643
3644 [BZ #17601]
3645 * sysdeps/mips/start.S (__start): Use indirect jump to call
3646 __libc_start_main.
3647
66cadc05
JM
36482014-12-02 Joseph Myers <joseph@codesourcery.com>
3649
909e16d9
JM
3650 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3651
4e0b9016
JM
3652 * nptl/tst-mutex1.c: Include <stdbool.h>.
3653 [!ATTR] (ATTR_NULL): New macro.
3654 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3655 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3656 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3657
b1aff6a4
JM
3658 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3659 to char *.
3660
266865c0
JM
3661 [BZ #17665]
3662 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3663 Change conditional to [__USE_MISC].
3664
84e5e756
JM
3665 [BZ #17664]
3666 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3667 fgets_unlocked.
3668 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3669 __fgets_unlocked.
3670 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3671 fgets_unlocked.
3672 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3673 Remove variable.
3674 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3675 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3676 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3677 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3678 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3679 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3680 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3681 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3682 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3683
66cadc05
JM
3684 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3685
2e8a2de2 36862014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3687
3688 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3689 Remove strpbrk objects.
3690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3691 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3692 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3693 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3694 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3695 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3696
bb2542e0
AZ
3697 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3698 Remove strcspn objects.
3699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3700 (__libc_ifunc_impl_list): Remove strcspn implementation.
3701 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3702 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3703 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3704 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3705
3706 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3707 Remove strspn objetcs.
3708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3709 (__libc_ifunc_impl_list): Remove strspn implementation.
3710 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3711 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3712 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3713 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3714
08f1e1d2
JL
37152014-12-01 James Lemke <jwlemke@codesourcery.com>
3716
3717 [BZ #17581]
3718 * malloc/hooks.c
3719 (mem2mem_check): Add a terminator to the chain of checking blocks.
3720 (malloc_check_get_size): Use it here.
3721 (mem2chunk_check): Ditto.
3722
a8a7d7d2
RS
37232014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3724
3725 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3726 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3727
97114a38
CD
37282014-11-29 Carlos O'Donell <carlos@redhat.com>
3729
c8dc1727
CD
3730 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3731
6d03458e
CD
3732 * nptl/nptl-init.c: Include libc-internal.h.
3733 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3734
97114a38
CD
3735 * elf/ldconfig.c (search_dir): Expand comment.
3736
0e7e69ba
JM
37372014-11-29 Joseph Myers <joseph@codesourcery.com>
3738
3739 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3740 variable.
3741 (linknamespace-symlist-stdlibs-tests): Likewise.
3742 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3743 instead of $(objpfx)symlist-stdlibs.
3744 (linknamespace-libs-isoc): New variable.
3745 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3746 (linknamespace-libs-ISO): New variable.
3747 (linknamespace-libs-ISO99): Likewise.
3748 (linknamespace-libs-ISO11): Likewise.
3749 (linknamespace-libs-XPG3): Likewise.
3750 (linknamespace-libs-XPG4): Likewise.
3751 (linknamespace-libs-POSIX): Likewise.
3752 (linknamespace-libs-UNIX98): Likewise.
3753 (linknamespace-libs-XOPEN2K): Likewise.
3754 (linknamespace-libs-POSIX2008): Likewise.
3755 (linknamespace-libs-XOPEN2K8): Likewise.
3756 ($(objpfx)symlist-stdlibs): Replace by
3757 $(linknamespace-symlist-stdlibs-tests). Use
3758 $(linknamespace-libs-$*) as set of libraries.
3759 ($(linknamespace-header-tests)): Update dependencies. Use
3760 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3761 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3762 * conform/linknamespace.pl: Remove comment about considering
3763 definitions of symbols from irrelevant libraries.
3764
d8dd0080
L
37652014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3766
3767 [BZ #13862]
3768 * elf/dl-tls.c: Include <atomic.h>.
3769 (oom): Remove #ifdef SHARED/#endif.
3770 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3771 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3772 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3773 big enough.
3774 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3775 * nptl/Makefile (tests): Add tst-stack4.
3776 (modules-names): Add tst-stack4mod.
3777 ($(objpfx)tst-stack4): New.
3778 (tst-stack4mod.sos): Likewise.
3779 ($(objpfx)tst-stack4.out): Likewise.
3780 ($(tst-stack4mod.sos)): Likewise.
3781 (clean): Likewise.
3782 * nptl/tst-stack4.c: New file.
3783 * nptl/tst-stack4mod.c: Likewise.
3784
167da422
B
37852014-11-27 J. Brown <jb999@gmx.de>
3786
3787 * sysdeps/x86/bits/string.h: Add recent CPUs.
3788
9114625b
JM
37892014-11-27 Joseph Myers <joseph@codesourcery.com>
3790
6b5189eb
JM
3791 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3792 sigblock.
3793
49051f8e
JM
3794 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3795 feof.
3796
9114625b
JM
3797 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3798 variable.
3799
e7300fef
SL
38002014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3801
3802 * nscd/connections.c: Include libc-internal.h because of macro
3803 usage ignore_value.
3804
1721f0a4
SP
38052014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3806
3807 * string/bits/string3.h (__warn_memset_zero_len): Don't
3808 declare for gcc newer than 5.0.
3809 (memset): Don't test for zero-length __LEN for gcc newer than
3810 5.0.
3811
be970916
JM
38122014-11-27 Joseph Myers <joseph@codesourcery.com>
3813
d88548f4
JM
3814 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3815 size_t for %zu format.
3816
be970916
JM
3817 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3818 difference, not %ju.
3819
3b20fd5c
JM
38202014-11-26 Joseph Myers <joseph@codesourcery.com>
3821
8915eace
JM
3822 * include/libc-internal.h (ignore_value): New macro.
3823 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3824 with ignore_value.
3825
f1a5a0e3
JM
3826 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3827 definition.
3828
59ef1715
JM
3829 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3830 pthread_cleanup_push to void *.
3831
a6f3079b
JM
3832 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3833 Undefine.
3834
706688aa
JM
3835 [BZ #16619]
3836 [BZ #16740]
3837 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3838 instead of 1L << 52.
3839
12da14a5
JM
3840 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3841 * libio/bug-rewind2.c (do_test): Likewise.
3842
bd5dadac
JM
3843 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3844 * debug/test-strcpy_chk-ifunc.c: Likewise.
3845 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3846 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3847 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3848 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3849 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3850 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3851 * Rules [$(multi-arch) = no] (tests): Do not filter out
3852 $(tests-ifunc).
3853 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3854 * debug/Makefile (tests-ifunc): Remove variable.
3855 (tests): Do not add $(tests-ifunc).
3856 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3857 (tests): Do not add $(tests-ifunc).
3858 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3859 [TEST_IFUNC]: Remove conditionals.
3860 * string/test-string.h (TEST_IFUNC): Remove macro.
3861 [TEST_IFUNC]: Remove conditionals.
3862
3b20fd5c
JM
3863 * string/test-strchr.c [!WIDE] (L): New macro.
3864 [WIDE] (L): Likewise.
3865 (check1): Use CHAR instead of char. Use L on string and character
3866 constants.
3867
704f7947
AZ
38682014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3869
3870 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3871 tests.
3872 * sysdeps/powerpc/bits/atomic.h
3873 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3874 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3875 (atomic_exchange_and_add_acq): Likewise.
3876 (atomic_exchange_and_add_rel): Likewise.
3877 * sysdeps/powerpc/powerpc32/bits/atomic.h
3878 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3879 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3880 * sysdeps/powerpc/powerpc64/bits/atomic.h
3881 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3882 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3883
cdcb42d7
TR
38842014-11-26 Torvald Riegel <triegel@redhat.com>
3885
3886 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3887 Change synchronization of __sched_fifo_min_prio and
3888 __sched_fifo_max_prio.
3889 * nptl/pthread_mutexattr_getprioceiling.c
3890 (pthread_mutexattr_getprioceiling): Likewise.
3891 * nptl/pthread_mutexattr_setprioceiling.c
3892 (pthread_mutexattr_setprioceiling): Likewise.
3893 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3894 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3895 Likewise.
3896
c82f5c0c
JM
38972014-11-26 Joseph Myers <joseph@codesourcery.com>
3898
3899 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3900 void.
3901
439e1ad6
JM
39022014-11-25 Joseph Myers <joseph@codesourcery.com>
3903
3904 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3905 third argument const.
3906
b1eda10e
PE
39072014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3908
3909 fnmatch: work around GCC compiler warning bug with uninit var
3910 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3911 This works around a bug with x86-64 GCC 4.9.2 and earlier
3912 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3913 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3914 used uninitialized in this function [-Wmaybe-uninitialized]".
3915
bde2667a
JM
39162014-11-25 Joseph Myers <joseph@codesourcery.com>
3917
3918 * posix/bug-regex31.c (main): Return RES not 0.
3919
5fbb5691
AB
39202014-11-25 Anton Blanchard <anton@samba.org>
3921
3922 * sysdeps/powerpc/bits/atomic.h
3923 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3924
467fec0b
BM
39252014-11-24 Sterling Augustine <saugustine@google.com>
3926
3927 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3928
e9ff8efb
RC
39292014-11-24 Ryan Cumming <etaoins@gmail.com>
3930
3931 [BZ #17608]
3932 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3933
9744496f
JM
39342014-11-24 Joseph Myers <joseph@codesourcery.com>
3935
3936 [BZ #17633]
3937 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3938 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3939 variable.
3940 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3941 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3942
6423d475
WD
39432014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3944
3945 * string/strncpy.c (strncpy): Improve performance by using memset.
3946
39472014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3948
3949 * string/strcpy.c (strcpy):
3950 Improve performance by using strlen and memcpy.
3951
5d178c37
LH
39522014-11-24 Leonhard Holz <leonhard.holz@web.de>
3953
3954 * string/strcoll_l.c (get_next_seq): __always_inline.
3955 * string/strcoll_l.c (do_compare): __always_inline.
3956
279bc5b3
SP
39572014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3958
7a9ebfa1
SP
3959 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3960 defined.
3961 * include/mqueue.h: Likewise.
3962 * include/stdlib.h: Likewise.
3963
4f41c682
SP
3964 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3965 (get_null_defines): Adjust.
3966 * sunrpc/Makefile: Adjust comment.
3967 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3968 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3969 (CFLAGS-interp.c): Likewise.
3970 (CFLAGS-ldconfig.c): Likewise.
3971 (CPPFLAGS-.os): Likewise.
3972 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3973 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3974 * extra-modules.mk (extra-modules.mk): Likewise.
3975 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3976 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3977 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3978 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3979 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3980 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3981 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3982 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3983 * iconvdata/Makefile (CPPFLAGS): Likewise.
3984 (cpp-srcs-left): Add libof for all iconvdata routines.
3985 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3986 * include/assert.h: Likewise.
3987 * include/ctype.h: Likewise.
3988 * include/errno.h: Likewise.
3989 * include/libc-symbols.h: Likewise.
3990 * include/math.h: Likewise.
3991 * include/netdb.h: Likewise.
3992 * include/resolv.h: Likewise.
3993 * include/stdio.h: Likewise.
3994 * include/stdlib.h: Likewise.
3995 * include/string.h: Likewise.
3996 * include/sys/stat.h: Likewise.
3997 * include/wctype.h: Likewise.
3998 * intl/l10nflist.c: Likewise.
3999 * libidn/idn-stub.c: Likewise.
4000 * libio/libioP.h: Likewise.
4001 * nptl/libc_multiple_threads.c: Likewise.
4002 * nptl/pthreadP.h: Likewise.
4003 * posix/regex_internal.h: Likewise.
4004 * resolv/res_hconf.c: Likewise.
4005 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4006 * sysdeps/arm/memmove.S: Likewise.
4007 * sysdeps/arm/sysdep.h: Likewise.
4008 * sysdeps/generic/_itoa.h: Likewise.
4009 * sysdeps/generic/symbol-hacks.h: Likewise.
4010 * sysdeps/gnu/errlist.awk: Likewise.
4011 * sysdeps/gnu/errlist.c: Likewise.
4012 * sysdeps/i386/i586/memcpy.S: Likewise.
4013 * sysdeps/i386/i586/memset.S: Likewise.
4014 * sysdeps/i386/i686/memcpy.S: Likewise.
4015 * sysdeps/i386/i686/memmove.S: Likewise.
4016 * sysdeps/i386/i686/mempcpy.S: Likewise.
4017 * sysdeps/i386/i686/memset.S: Likewise.
4018 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4019 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4020 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4021 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4022 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4024 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4025 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4026 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4028 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4029 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4030 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4031 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4032 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4033 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4034 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4035 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4036 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4037 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4039 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4040 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4041 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4042 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4043 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4044 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4045 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4046 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4047 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4048 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4049 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4051 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4054 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4055 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4056 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4057 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4058 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4059 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4060 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4061 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4062 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4063 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4065 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4067 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4068 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4069 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4070 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4071 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4072 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4073 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4074 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4075 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4076 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4077 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4078 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4079 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4080 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4081 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4082 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4083 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4084 * sysdeps/posix/closedir.c: Likewise.
4085 * sysdeps/posix/opendir.c: Likewise.
4086 * sysdeps/posix/readdir.c: Likewise.
4087 * sysdeps/posix/rewinddir.c: Likewise.
4088 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4089 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4090 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4091 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4092 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4093 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4094 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4095 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4098 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4099 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4100 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4101 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4102 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4103 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4104 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4105 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4106 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4107 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4108 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4109 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4110 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4111 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4112 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4114 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4116 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4123 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4124 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4125 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4126 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4127 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4128 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4129 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4130 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4131 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4132 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4133 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4134 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4135 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4136 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4137 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4138 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4139 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4140 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4141 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4142 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4143 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4145 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4146 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4147 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4148 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4149 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4150 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4151 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4152 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4153 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4154 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4155 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4156 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4157 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4158 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4159 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4160 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4161 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4162 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4163 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4164 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4165 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4166 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4167 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4168 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4169 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4170 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4172 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4173 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4174 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4175 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4176 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4177 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4178 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4179 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4180 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4184 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4186 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4187 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4189 * sysdeps/unix/alpha/sysdep.S: Likewise.
4190 * sysdeps/unix/alpha/sysdep.h: Likewise.
4191 * sysdeps/unix/make-syscalls.sh: Likewise.
4192 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4193 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4194 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4195 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4196 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4197 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4198 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4199 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4200 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4201 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4202 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4203 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4205 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4206 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4207 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4208 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4209 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4210 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4211 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4212 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4213 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4214 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4215 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4216 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4217 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4218 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4221 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4222 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4226 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4227 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4229 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4230 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4231 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4232 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4233 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4234 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4236 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4239 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4240 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4242 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4243 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4244 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4245 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4246 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4247 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4248 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4250 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4251 * sysdeps/x86_64/memcpy.S: Likewise.
4252 * sysdeps/x86_64/memmove.c: Likewise.
4253 * sysdeps/x86_64/memset.S: Likewise.
4254 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4255 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4256 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4257 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4258 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4261 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4262 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4263 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4264 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4265 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4266 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4267 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4268 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4269 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4270 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4271 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4272 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4273 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4274 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4275 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4277 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4278 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4279 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4280 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4281 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4282 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4283 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4284 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4285 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4286 * sysdeps/x86_64/strcmp.S: Likewise.
4287
76ca86a5
SP
4288 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4289
a3848485
SP
4290 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4291 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4292 * elf/rtld-Rules: Likewise.
4293 * elf/setup-vdso.h: Likewise.
4294 * include/assert.h: Likewise.
4295 * include/bits/stdlib-float.h: Likewise.
4296 * include/errno.h: Likewise.
4297 * include/sys/stat.h: Likewise.
4298 * include/unistd.h: Likewise.
4299 * sysdeps/aarch64/setjmp.S: Likewise.
4300 * sysdeps/alpha/setjmp.S: Likewise.
4301 * sysdeps/arm/__longjmp.S: Likewise.
4302 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4303 * sysdeps/arm/setjmp.S: Likewise.
4304 * sysdeps/arm/sysdep.h: Likewise.
4305 * sysdeps/generic/_itoa.h: Likewise.
4306 * sysdeps/generic/dl-sysdep.h: Likewise.
4307 * sysdeps/generic/ldsodefs.h: Likewise.
4308 * sysdeps/i386/dl-tls.h: Likewise.
4309 * sysdeps/i386/setjmp.S: Likewise.
4310 * sysdeps/m68k/setjmp.c: Likewise.
4311 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4312 * sysdeps/mach/hurd/opendir.c: Likewise.
4313 * sysdeps/posix/getcwd.c: Likewise.
4314 * sysdeps/posix/opendir.c: Likewise.
4315 * sysdeps/posix/profil.c: Likewise.
4316 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4317 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4318 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4319 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4320 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4321 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4322 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4323 * sysdeps/s390/dl-tls.h: Likewise.
4324 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4325 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4326 * sysdeps/sh/sh3/setjmp.S: Likewise.
4327 * sysdeps/sh/sh4/setjmp.S: Likewise.
4328 * sysdeps/unix/alpha/sysdep.h: Likewise.
4329 * sysdeps/unix/arm/sysdep.S: Likewise.
4330 * sysdeps/unix/i386/sysdep.S: Likewise.
4331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4332 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4333 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4334 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4336 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4337 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4338 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4339 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4340 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4341 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4342 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4343 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4346 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4347 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4349 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4350 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4351 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4354 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4355 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4356 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4358 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4359 * sysdeps/x86_64/setjmp.S: Likewise.
4360
a109996e
SP
4361 * include/math.h: Use IS_IN instead of IS_IN_libm.
4362 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4374 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4382 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4383 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4384 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4385 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4386 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4387 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4389 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4390 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4391 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4392 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4393 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4394 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4396 Likewise.
4397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4398 Likewise.
4399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4400 Likewise.
4401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4402 Likewise.
4403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4404 Likewise.
4405 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4406 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4407 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4408 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4409 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4410 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4416 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4417 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4418 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4419 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4420 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4421 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4422 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4423 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4424 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4425 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4426 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4427 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4429 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4431 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4432
ce9f10f7
SP
4433 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4434 * nptl/pthreadP.h: Likewise.
4435 * nptl_db/structs.def: Likewise.
4436 * sysdeps/arm/sysdep.h: Likewise.
4437 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4438 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4439 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4440 * sysdeps/unix/alpha/sysdep.h: Likewise.
4441 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4442 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4443 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4444 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4445 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4446 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4448 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4449 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4450 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4451 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4452 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4453 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4454 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4457 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4459 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4461 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4462 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4463 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4464 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4465 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4466 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4467
016afc75
SP
4468 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4469 * nptl/pthreadP.h: Likewise.
4470 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4471 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4472 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4473 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4474 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4475 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4476 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4477 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4478 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4479 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4480 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4481 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4483 Likewise.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4485 Likewise.
4486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4487 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4488 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4491 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4492 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4493 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4494
9b42a0b3
SP
4495 * dlfcn/dladdr.c: Use IS_IN.
4496 * dlfcn/dladdr1.c: Likewise.
4497 * dlfcn/dlclose.c: Likewise.
4498 * dlfcn/dlerror.c: Likewise.
4499 * dlfcn/dlinfo.c: Likewise.
4500 * dlfcn/dlmopen.c: Likewise.
4501 * dlfcn/dlopen.c: Likewise.
4502 * dlfcn/dlsym.c: Likewise.
4503 * dlfcn/dlvsym.c: Likewise.
4504
85f36372
SP
4505 * include/ifaddrs.h: Use IS_IN.
4506 * inet/check_pf.c: Likewise.
4507 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4508 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4509
fb6784e3
SP
4510 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4511 IS_IN_ldconfig.
4512 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4513 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4514
2886d2d1
SP
4515 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4516 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4517 IS_IN (libc).
4518
9a484857
SP
4519 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4520
a10178bd
SP
4521 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4522 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4523 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4524 * include/libc-symbols.h (IS_IN_LIB): New macro.
4525 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4526 * include/netdb.h: Likewise.
4527 * include/stap-probe.h: Remove all uses of IN_LIB.
4528
279bc5b3
SP
4529 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4530 instead of IN_MODULE.
4531 * include/libc-symbols.h (IN_MODULE): Define using
4532 MODULE_NAME.
4533 (PASTE_NAME, PASTE_NAME1): New macros.
4534 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4535 of IN_LIB.
4536 (STAP_PROBE_ASM): Likewise.
4537
e0cfa510
ST
45382014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4539
4540 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4541 __mach_init in dlopened libc.
4542
34d97d87
MF
45432014-11-22 Mike Frysinger <vapier@gentoo.org>
4544
4545 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4546 * sysdeps/arm/preconfigure: Regenerate.
4547
33cd1f74
RM
45482014-11-21 Roland McGrath <roland@hack.frob.com>
4549
4550 * nptl/pthread_create.c (__pthread_create_2_1): Set
4551 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4552 when copying values from IATTR into PD.
4553
8c230039
WN
45542014-11-21 Will Newton <will.newton@linaro.org>
4555 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4556
6d3db89b
AP
4557 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4558 Refactor inline-asm. Also add comment.
4559
01194ba1
WN
4560 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4561 ElfW macro instead of hardcoded Elf64 types.
4562 (la_aarch64_gnu_pltenter): Likewise.
4563 * sysdeps/aarch64/dl-machine.h
4564 (elf_machine_runtime_setup): Use ElfW(Addr).
4565
8c230039
WN
4566 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4567 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4568 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4569 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4570 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4571 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4572 (R_AARCH64_TLS_DTPMOD): This.
4573 (R_AARCH64_TLS_DTPREL64): Rename to ...
4574 (R_AARCH64_TLS_DTPREL): This.
4575 (R_AARCH64_TLS_TPREL64): Rename to ...
4576 (R_AARCH64_TLS_TPREL): This.
4577 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4578 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4579 R_AARCH64_TLS_TPREL64.
4580 (elf_machine_rela): Likewise.
4581
0d79fa53
TR
45822014-11-21 Torvald Riegel <triegel@redhat.com>
4583
4584 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4585 by setting it to 0. 64b atomics are not supported currently.
4586
b59d114b
AO
45872014-11-21 Alexandre Oliva <aoliva@redhat.com>
4588
4589 [BZ #16469]
4590 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4591 search domain names.
4592
f3d945d5
AO
45932014-11-21 Alexandre Oliva <aoliva@redhat.com>
4594
4595 [BZ #16469]
4596 * NEWS: Update.
4597 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4598 trailing dot.
4599 * posix/tst-getaddrinfo5.c: New.
4600 * posix/Makefile (tests): Add it.
4601
49698902
AO
46022014-11-21 Alexandre Oliva <aoliva@redhat.com>
4603
4604 [BZ #14498]
4605 * NEWS: Fixed.
4606 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4607 after parsing line but before break_if_match.
4608 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4609 if there is a protocol mismatch.
4610
81959214
MS
46112014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4612
4613 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4614 because the potential race is on the user-supplied stream.
4615
7729e0e9
AO
46162014-11-21 Alexandre Oliva <aoliva@redhat.com>
4617
4618 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4619 string literal if not passed a buffer.
4620 * manual/job.texi (ctermid): Update reasoning, note deviation
4621 from posix, suggest mtasurace when not passed a buffer, for
4622 future non-preliminary safety notes.
4623
a4ea5e28
AO
46242014-11-21 Alexandre Oliva <aoliva@redhat.com>
4625
4626 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4627 of not passing it a buffer.
4628 Reported by Peng Haitao.
4629
a2b581cb
AO
46302014-11-21 Alexandre Oliva <aoliva@redhat.com>
4631
4632 * manual/Makefile ($(objpfx)stamp-summary): Require
4633 check-safety.sh to pass.
4634 * manual/check-safety.sh: Wish for verification that every
4635 @deftypefn and @deftypefun is followed by a @safety remark.
4636
f214ff74
RM
46372014-11-20 Roland McGrath <roland@hack.frob.com>
4638
7f0dfae0
RM
4639 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4640
2f531bbb
RM
4641 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4642 PTHREAD_CANCEL_ASYNCHRONOUS.
4643 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4644 send SIGCANCEL.
4645
f214ff74
RM
4646 * nptl/default-sched.h: New file.
4647 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4648 * nptl/pthread_create.c: Include it.
4649 (__pthread_create_2_1): Use collect_default_sched instead of making
4650 Linux syscalls here directly.
4651
e37c91d4
TR
46522014-11-20 Torvald Riegel <triegel@redhat.com>
4653
4654 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4655 __pthread_once): Use C11 atomics.
4656
1eccfecd
TR
46572014-11-20 Torvald Riegel <triegel@redhat.com>
4658
4659 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4660
ff871426
TR
46612014-11-20 Torvald Riegel <triegel@redhat.com>
4662
4663 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4664 atomic_thread_fence_acquire, atomic_thread_fence_release,
4665 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4666 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4667 atomic_compare_exchange_weak_relaxed,
4668 atomic_compare_exchange_weak_acquire,
4669 atomic_compare_exchange_weak_release,
4670 atomic_exchange_acquire, atomic_exchange_release,
4671 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4672 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4673 atomic_fetch_and_acquire,
4674 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4675
1ea339b6
TR
46762014-11-20 Torvald Riegel <triegel@redhat.com>
4677
4678 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4679 USE_ATOMIC_COMPILER_BUILTINS): Define.
4680 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4681 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4682 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4683 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4684 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4685 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4686 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4687 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4688 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4689 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4690 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4691 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4692 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4693 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4694 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4695 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4696 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4697 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4698 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4699 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4700 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4701 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4702 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4703 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4704 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4705 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4706 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4707 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4708 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4709 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4710 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4711 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4712 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4713 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4714 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4715 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4716 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4717 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4718 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4719 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4720
cbd463e2
RM
47212014-11-19 Roland McGrath <roland@hack.frob.com>
4722
d960211f
RM
4723 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4724 the sched_priority value here. It was already checked when the user
4725 called pthread_attr_setschedparam.
4726
cbd463e2
RM
4727 * nptl/tst-bad-schedattr.c: New file.
4728 * nptl/Makefile (tests): Add it.
4729
a39208bd
CD
47302014-11-19 Carlos O'Donell <carlos@redhat.com>
4731 Florian Weimer <fweimer@redhat.com>
4732 Joseph Myers <joseph@codesourcery.com>
4733 Adam Conrad <adconrad@0c3.net>
4734 Andreas Schwab <schwab@suse.de>
4735 Brooks <bmoses@google.com>
4736
4737 [BZ #17625]
4738 * wordexp-test.c (__dso_handle): Add prototype.
4739 (__register_atfork): Likewise.
4740 (__app_register_atfork): New function.
4741 (registered_forks): New global.
4742 (register_fork): New function.
4743 (test_case): Add 3 new tests for WRDE_CMDSUB.
4744 (main): Call __app_register_atfork.
4745 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4746 fork count is non-zero fail the test.
4747 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4748 is set.
4749 (parse_dollars): Remove check for WRDE_NOCMD.
4750 (parse_dquote): Likewise.
4751
9cd47470
SP
47522014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4753
130ac68c
SP
4754 * Makeconfig (built-modules): List non-library modules to be
4755 built.
4756 (module-cppflags): Include libc-modules.h for
4757 everything except shlib-versions.v.i.
4758 (CPPFLAGS): Use it.
4759 (before-compile): Add libc-modules.h.
4760 ($(common-objpfx)libc-modules.h,
4761 $(common-objpfx)libc-modules.stmp): New targets.
4762 (common-generated): Add libc-modules.h and libc-modules.stmp.
4763 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4764 * include/libc-symbols.h: Don't include libc-modules.h.
4765 * include/libc-modules.h: Remove file.
4766 * scripts/gen-libc-modules.awk: New script to generate
4767 libc-modules.h.
4768 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4769 Depend on libc-modules.stmp.
4770
286663c3
SP
4771 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4772
9cd47470
SP
4773 * Makeconfig (in-module): Get value of libof set for the
4774 translation unit.
4775 (CPPFLAGS): Use $(in-module).
4776 * Makerules: Don't suffix routine names for nonlib.
4777 * include/libc-modules.h: New file.
4778 * include/libc-symbols.h: Include libc-modules.h
4779 (IS_IN): New macro to replace IS_IN_* macros.
4780 * elf/Makefile: Set libof-* for each routine.
4781 * elf/rtld-Rules: Likewise.
4782 * extra-modules.mk: Likewise.
4783 * iconv/Makefile: Likewise.
4784 * iconvdata/Makefile: Likewise.
4785 * locale/Makefile: Likewise.
4786 * malloc/Makefile: Likewise.
4787 * nss/Makefile: Likewise.
4788 * sysdeps/gnu/Makefile: Likewise.
4789 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4790 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4791 * sysdeps/s390/s390-64/Makefile: Likewise.
4792 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4793 CPPFLAGS for nscd instead of nonlib.
4794
32fed10f
RM
47952014-11-18 Roland McGrath <roland@hack.frob.com>
4796
d71035bd
RM
4797 * nptl/createthread.c: New file.
4798
6540b991
RM
4799 * nptl/createthread.c: Moved ...
4800 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4801
32fed10f
RM
4802 * nptl/createthread.c: Add proper top-line comment.
4803 (do_clone): Folded into ...
4804 (create_thread): ... here. Take new arguments STOPPED_START and
4805 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4806 increment __nptl_threads, do event-reporting logic, do
4807 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4808 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4809 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4810 just send SIGCANCEL.
4811 * nptl/pthread_create.c: Forward-declare create_thread before
4812 including createthread.c.
4813 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4814 declaration, and new macro START_THREAD_SELF to replace argument.
4815 Remove return statement.
4816 (report_thread_creation): New function.
4817 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4818 synchronization logic, and __nptl_nthreads increment here, around
4819 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4820 PD->parent_cancelhandling here, before create_thread. When
4821 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4822 __deallocate_stack, and ENOMEM translation here.
4823
107a5bf0
JM
48242014-11-18 Joseph Myers <joseph@codesourcery.com>
4825
4826 [BZ #17616]
4827 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4828 (mptwo): Rename to __mptwo.
4829 (__inv): Use __mptwo instead of mptwo.
4830 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4831 (mptwo): Rename to __mptwo.
4832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4833 of mpone and __mptwo instead of mptwo.
4834 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4835 instead of mpone.
4836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4837 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4838 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4839 of mpone and __mptwo instead of mptwo.
4840 (__mpranred): Use __mpone instead of mpone.
4841 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4842 variable.
4843 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4844 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4845 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4846 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4847 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4848 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4849 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4850 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4851 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4852 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4853 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4854 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4855 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4856 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4857 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4858 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4859 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4860 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4861 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4862
3b679ab3
TV
48632014-11-18 Tom de Vries <tom@codesoucery.com>
4864
4865 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4866 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4867
48682014-11-17 Richard Henderson <rth@redhat.com>
4869
4870 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4871 (_FP_PACK_RAW_2): Remove.
4872 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4873 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4874 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4875 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4876 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4877 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4878 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4879 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4880 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4881 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4882 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4883 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4884 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4885 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4886 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4887 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4888
0781a777
RM
48892014-11-14 Roland McGrath <roland@hack.frob.com>
4890
4891 * signal/signal.h [__USE_MISC]
4892 (struct sigvec): Remove type.
4893 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4894 (sigvec): Remove declaration.
4895 * sysdeps/posix/sigvec.c: Moved ...
4896 * signal/sigvec.c: ... here, replacing old file.
4897 (struct sigvec): New type, copied from old signal.h definition.
4898 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4899 (__sigvec): Convert definition to prototype.
4900 (sigvec): Replace weak_alias with compat_symbol.
4901 * signal/Versions (libc: GLIBC_2.21): New version set.
4902 * include/signal.h: Remove __sigvec declaration.
4903 * sysdeps/unix/bsd/sigvec.c: Remove file.
4904 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4905 * manual/signal.texi (BSD Handler): Remove subsection.
4906 Move siginterrupt up to ...
4907 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4908 (Blocking in BSD): Fold subsection into its parent.
4909 * NEWS: Mention sigvec removal.
4910
a4733812
JM
49112014-11-14 Joseph Myers <joseph@codesourcery.com>
4912
5ae4fe60
JM
4913 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4914 (DLA_FMS): Make definition conditional only on [__FMA4__].
4915 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4916 definition.
4917
6a0dd472
JM
4918 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4919 Make definition conditional only on [PROF].
4920 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4921 definition.
4922 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4923 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4924
a4733812
JM
4925 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4926 !__GNUC__].
4927 * include/signal.h (__sigpause): Move declaration above call to
4928 libc_hidden_proto.
4929 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4930 variable.
4931 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4932 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4933
cf7246dd
DM
49342014-11-14 David S. Miller <davem@davemloft.net>
4935
4936 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4937 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4938
c1b0aadc
JM
49392014-11-14 Joseph Myers <joseph@codesourcery.com>
4940
4863355a
JM
4941 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4942 * configure: Regenerated.
4943 * manual/install.texi (Tools for Compilation): Document a
4944 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4945 compiler verified to work.
4946 * INSTALL: Regenerated.
4947
c1b0aadc
JM
4948 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4949 redeclare with asm name.
4950 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4951 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4952 including <string.h>.
4953 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4954 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4955 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4956 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4957 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4958 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4959 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4960
2a1cfd94
JM
49612014-11-13 Joseph Myers <joseph@codesourcery.com>
4962
bf438382
JM
4963 * stdlib/strtol.c (__strtol): Use prototype definition.
4964
2a1cfd94
JM
4965 [BZ #17594]
4966 * stdlib/strtol.c (SYM__): New macro.
4967 (SYM__1): Likewise.
4968 (__strtol): Likewise.
4969 (strtol): Rename to __strtol and define as weak alias of
4970 __strtol. Use libc_hidden_weak.
4971
20ed0d26
SL
49722014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4973
4974 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4975 Use numbered labels in inline assembly.
4976
53244a4e
SL
49772014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4978
4979 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4980 Add setjmp LIBC_PROBE.
4981 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4982 Likewise.
4983 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4984 Add longjmp, longjmp_target LIBC_PROBE.
4985 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4986 Likewise.
4987
47df8251
SL
49882014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4989
4990 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4991 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4992 to get rid of unused variable warning.
4993
618cebef
SL
49942014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4995
4996 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4997 Check for unwind_backtrace == NULL only in SHARED case.
4998 (__backchain_backtrace): Compile only in SHARED case.
4999 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5000 Likewise.
5001 (__backchain_backtrace): Declare as static.
5002
c6aab2cb
RM
50032014-11-12 Roland McGrath <roland@hack.frob.com>
5004
5005 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5006 (__libc_multiple_threads_ptr): Variable moved ...
5007 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5008
5a6fa4d7
JM
50092014-11-12 Joseph Myers <joseph@codesourcery.com>
5010
24f4f825
JM
5011 * conform/GlibcConform.pm: New file.
5012 * conform/conformtest.pl: Use GlibcConform module.
5013 * conform/linknamespace.pl: New file.
5014 * conform/list-header-symbols.pl: Likewise.
5015 * conform/Makefile (linknamespace-symlists-base): New variable.
5016 (linknamespace-symlists-tests): Likewise.
5017 (linknamespace-header-base): Likewise.
5018 (linknamespace-header-tests): Likewise.
5019 (tests-special): Add new tests.
5020 ($(linknamespace-symlists-tests)): New rule.
5021 (linknamespace-libs): New variable.
5022 ($(objpfx)symlist-stdlibs): New rule.
5023 ($(linknamespace-header-tests)): Likewise.
5024 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5025 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5026 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5027 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5028 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5029 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5030 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5031 (test-xfail-ISO/math.h/linknamespace): Likewise.
5032 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5033 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5034 (test-xfail-ISO/time.h/linknamespace): Likewise.
5035 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5036 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5037 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5038 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5039 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5040 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5041 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5042 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5043 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5044 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5045 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5046 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5047 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5048 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5049 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5050 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5051 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5052 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5053 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5054 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5055 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5056 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5057 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5058 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5059 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5060 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5061 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5062 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5063 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5064 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5065 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5066 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5067 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5068 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5069 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5070 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5071 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5072 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5073 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5074 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5075 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5076 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5077 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5078 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5079 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5080 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5081 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5082 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5083 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5084 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5085 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5086 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5087 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5088 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5089 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5090 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5091 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5092 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5093 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5094 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5095 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5096 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5097 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5098 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5099 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5100 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5101 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5102 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5103 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5104 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5105 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5106 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5107 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5108 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5109 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5110 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5111 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5112 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5113 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5114 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5115 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5116 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5117 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5118 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5119 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5120 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5121 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5122 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5123 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5124 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5125 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5126 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5127 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5128 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5129 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5130 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5131 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5132 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5133 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5134 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5135 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5136 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5137 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5138 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5139 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5140 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5141 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5142 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5143 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5144 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5145 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5146 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5147 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5148 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5149 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5150 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5151 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5152 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5153 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5154 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5155 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5156 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5157 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5158 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5159 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5160 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5161 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5162 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5163 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5164 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5165 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5166 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5167 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5168 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5169 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5170 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5171 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5172 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5173 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5174 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5175 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5176 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5177 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5178 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5179 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5180 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5181 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5182 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5183 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5184 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5185
cc67478e
JM
5186 [BZ #17589]
5187 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5188 of fgets_unlocked.
5189
9975e3d3
JM
5190 [BZ #17585]
5191 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5192 (memmem): Rename to __memmem and define as weak alias of
5193 __memmem. Use libc_hidden_weak.
5194 (__memmem): Use libc_hidden_def.
5195 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5196 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5197 memmem.
5198
c4eae752
JM
5199 [BZ #17582]
5200 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5201 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5202 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5203 and define as weak alias of __fgets_unlocked. Use
5204 libc_hidden_weak.
5205 (__fgets_unlocked): Use libc_hidden_def.
5206 * include/stdio.h (__fgets_unlocked): Declare. Use
5207 libc_hidden_proto.
5208 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5209 __fgets_unlocked instead of fgets_unlocked.
5210 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5211 (GET_NPROCS_CONF_PARSER): Likewise.
5212 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5213 (GET_NPROCS_CONF_PARSER): Likewise.
5214
01cad84e
JM
5215 [BZ #17574]
5216 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5217 weak alias of __wmemset. Use libc_hidden_weak.
5218 (__wmemset): Use libc_hidden_def.
5219 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5220 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5221 of wmemset.
5222
939da411
JM
5223 [BZ #17573]
5224 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5225 with asm name __mempcpy.
5226 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5227
293d9a41
JM
5228 [BZ #17572]
5229 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5230 and define as weak alias of __rawmemchr.
5231 (__rawmemchr): Do not define as strong alias of rawmemchr.
5232
bef8fd60
JM
5233 [BZ #17571]
5234 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5235 alias of __qsort_r.
5236 (qsort): Call __qsort_r instead of qsort_r.
5237 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5238 (__qsort_r): Declare. Call libc_hidden_proto.
5239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5240 instead of qsort_r.
5241 * nscd/gai.c (__qsort_r): Define to qsort_r.
5242 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5243 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5244 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5245
c52ff39e
JM
5246 [BZ #17570]
5247 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5248 define as weak alias of __malloc_info.
5249
2f5c1b00
JM
5250 [BZ #17584]
5251 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5252 as weak alias of __rewinddir. Don't use libc_hidden_def.
5253 (__rewinddir): Use libc_hidden_def.
5254 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5255 as weak alias of __rewinddir. Don't use libc_hidden_def.
5256 (__rewinddir): Use libc_hidden_def.
5257 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5258 weak alias of __rewinddir. Don't use libc_hidden_def.
5259 (__rewinddir): Use libc_hidden_def.
5260 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5261 (__rewinddir): Use libc_hidden_proto.
5262 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5263 rewinddir.
5264 (__getcwd): Use __rewinddir instead of rewinddir.
5265
5a6fa4d7
JM
5266 [BZ #17583]
5267 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5268 alias of __fileno. Use libc_hidden_weak.
5269 (__fileno): Use libc_hidden_def.
5270 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5271 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5272 alias of __ftello.
5273 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5274 __ftello.
5275 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5276 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5277 libc_hidden_def.
5278 (fread_unlocked): Don't use libc_hidden_ver.
5279 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5280 and define as weak alias of __fread_unlocked. Don't use
5281 libc_hidden_def.
5282 (__fread_unlocked): Use libc_hidden_def.
5283 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5284 (ftello): Don't use libc_hidden_proto.
5285 (__ftello): Declare. Use libc_hidden_proto.
5286 (fread_unlocked): Don't use libc_hidden_proto.
5287 (__fread_unlocked): Declare. Use libc_hidden_proto.
5288 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5289 and __ftello instead of fileno, fread_unlocked and ftello.
5290
2581b98e
SP
52912012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5292
5293 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5294 GOT12.
5295 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5296 Likewise.
5297 (_dl_start_user): Likewise.
5298 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5299
533bb7c2
SP
53002014-11-12 Carlos O'Donell <carlos@redhat.com>
5301 Siddhesh Poyarekar <siddhesh@redhat.com>
5302
5303 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5304 Move argv and envp down instead of moving argc up.
5305 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5306
fffa1cf8
LH
53072014-11-12 Leonhard Holz <leonhard.holz@web.de>
5308
5309 [BZ #17506]
5310 * test-skeleton.c (main): Return successful if one of
5311 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5312 * string/tst-strcoll-overflow.c: Define expected status.
5313
fb89b46d
TU
53142014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5315
5316 [BZ #17475]
5317 * locale/iso-639.def: Define Bhili and Tulu language codes.
5318
5c40c3ba
AH
53192014-11-11 Alan Hayward <alan.hayward@arm.com>
5320
5321 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5322
b17fe01b 53232014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5324
5325 [BZ #17555]
5326 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5327
bd805071
AS
53282014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5329
5330 * configure.ac: Updated check of minimal required version to
5331 2.22.
5332 * manual/install.texi (Tools for Compilation): Updated version
5333 number.
5334 * configure: Regenerated.
5335 * INSTALL: Likewise.
5336
1400983e
AS
53372014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5338
5339 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5340 __tls_get_addr.
5341
2c46a66a
JM
53422014-11-07 Joseph Myers <joseph@codesourcery.com>
5343
5344 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5345 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5346 (__waitpid): Don't define as alias. Use libc_hidden_def not
5347 libc_hidden_weak.
5348 (waitpid): Define as alias of __waitpid.
5349 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5350 __waitpid.
5351 (__waitpid): Don't define as alias. Use libc_hidden_def not
5352 libc_hidden_weak.
5353 (waitpid): Define as alias of __waitpid.
5354 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5355 __libc_waitpid alias.
5356 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5357 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5358 Likewise.
5359 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5360 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5361 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5362 alias.
5363 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5364 __waitpid.
5365 (__waitpid): Don't define as alias. Use libc_hidden_def not
5366 libc_hidden_weak.
5367 (waitpid): Define as alias of __waitpid.
5368
da53d6db
CD
53692014-11-06 Carlos O'Donell <carlos@redhat.com>
5370
a2887bdb
CD
5371 * manual/llio.texi: Add comment that write safety has been
5372 fixed in Linux.
5373
da53d6db
CD
5374 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5375 (localplt-build-dso): Add elf/ld.so.
5376 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5377 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5378 and free for ld.so.
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5380 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5382 Likewise.
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5384 Likewise.
5385 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5386 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5387 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5388 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5389 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5390 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5391 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5392 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5393 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5394 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5395 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5396
9cf27b8d
JM
53972014-11-05 Joseph Myers <joseph@codesourcery.com>
5398
5399 [BZ #14132]
5400 * include/libc-symbols.h (INTUSE): Remove macro.
5401 (INTDEF): Likewise.
5402 (INTVARDEF): Likewise.
5403 (_INTVARDEF): Likewise.
5404 (INTDEF2): Likewise.
5405 (INTVARDEF2): Likewise.
5406 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5407 rtld_hidden_def instead of INTVARDEF.
5408 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5409 (_dl_starting_up_internal): Remove declaration.
5410 (_dl_starting_up): Use rtld_hidden_proto.
5411 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5412 declaration.
5413 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5414 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5415 _dl_starting_up.
5416 * elf/dl-writev.h (_dl_writev): Likewise.
5417 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5418 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5419 _dl_starting_up_internal.
5420
af83568d
AZ
54212014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5422
5423 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5424 test-skeleton.c.
5425
b01ee67c
WN
54262014-11-05 Will Newton <will.newton@linaro.org>
5427
5428 * benchtests/Makefile: (bench-malloc): Add malloc thread
5429 scalability benchmark.
5430 * benchtests/bench-malloc-threads.c: New file.
5431
be9d4ccc
RE
54322014-11-05 Richard Earnshaw <rearnsha@arm.com>
5433
5434 * sysdeps/aarch64/strchrnul.S: New file.
5435
7110166d
AZ
54362014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5437
5438 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5439 definition.
5440 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5441 Likwise.
5442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5443 Likewise.
5444 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5445 Likewise.
5446 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5447 Likewise.
5448 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5449 Likewise.
5450
54512014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5452
5453 * catgets/test-gencat.c: Use test-skeleton.c.
5454 * catgets/tst-catgets.c: Likewise.
5455 * csu/tst-empty.c: Likewise.
5456 * elf/tst-audit2.c: Likewise.
5457 * elf/tst-global1.c: Likewise.
5458 * elf/tst-pathopt.c: Likewise.
5459 * elf/tst-piemod1.c: Likewise.
5460 * elf/tst-tls10.c: Likewise.
5461 * elf/tst-tls11.c: Likewise.
5462 * elf/tst-tls12.c: Likewise.
5463 * gnulib/tst-gcc.c: Likewise.
5464 * iconvdata/tst-e2big.c: Likewise.
5465 * iconvdata/tst-loading.c: Likewise.
5466 * iconv/tst-iconv1.c: Likewise.
5467 * iconv/tst-iconv2.c: Likewise.
5468 * inet/test-inet6_opt.c: Likewise.
5469 * inet/tst-gethnm.c: Likewise.
5470 * inet/tst-network.c: Likewise.
5471 * inet/tst-ntoa.c: Likewise.
5472 * intl/tst-codeset.c: Likewise.
5473 * intl/tst-gettext2.c: Likewise.
5474 * intl/tst-gettext3.c: Likewise.
5475 * intl/tst-ngettext.c: Likewise.
5476 * intl/tst-translit.c: Likewise.
5477 * io/test-stat.c: Likewise.
5478 * libio/test-fmemopen.c: Likewise.
5479 * libio/tst-freopen.c: Likewise.
5480 * libio/tst-sscanf.c: Likewise.
5481 * libio/tst-ungetwc1.c: Likewise.
5482 * libio/tst-ungetwc2.c: Likewise.
5483 * libio/tst-widetext.c: Likewise.
5484 * localedata/tst-ctype.c: Likewise.
5485 * localedata/tst-digits.c: Likewise.
5486 * localedata/tst-leaks.c: Likewise.
5487 * localedata/tst-mbswcs1.c: Likewise.
5488 * localedata/tst-mbswcs2.c: Likewise.
5489 * localedata/tst-mbswcs3.c: Likewise.
5490 * localedata/tst-mbswcs4.c: Likewise.
5491 * localedata/tst-mbswcs5.c: Likewise.
5492 * localedata/tst-setlocale.c: Likewise.
5493 * localedata/tst-trans.c: Likewise.
5494 * localedata/tst-wctype.c: Likewise.
5495 * localedata/tst-xlocale1.c: Likewise.
5496 * login/tst-grantpt.c: Likewise.
5497 * malloc/tst-calloc.c: Likewise.
5498 * malloc/tst-malloc.c: Likewise.
5499 * malloc/tst-mallocstate.c: Likewise.
5500 * malloc/tst-mcheck.c: Likewise.
5501 * malloc/tst-mtrace.c: Likewise.
5502 * malloc/tst-obstack.c: Likewise.
5503 * math/atest-exp2.c: Likewise.
5504 * math/atest-exp.c: Likewise.
5505 * math/atest-sincos.c: Likewise.
5506 * math/test-matherr.c: Likewise.
5507 * math/test-misc.c: Likewise.
5508 * math/test-powl.c: Likewise.
5509 * math/tst-definitions.c: Likewise.
5510 * misc/tst-dirname.c: Likewise.
5511 * misc/tst-efgcvt.c: Likewise.
5512 * misc/tst-fdset.c: Likewise.
5513 * misc/tst-hsearch.c: Likewise.
5514 * misc/tst-mntent2.c: Likewise.
5515 * nptl/tst-sem7.c: Likewise.
5516 * nptl/tst-sem8.c: Likewise.
5517 * nptl/tst-sem9.c: Likewise.
5518 * nss/test-netdb.c: Likewise.
5519 * posix/tst-fnmatch.c: Likewise.
5520 * posix/tst-getlogin.c: Likewise.
5521 * posix/tst-gnuglob.c: Likewise.
5522 * posix/tst-mmap.c: Likewise.
5523 * pwd/tst-getpw.c: Likewise.
5524 * resolv/tst-inet_ntop.c: Likewise.
5525 * rt/tst-timer.c: Likewise.
5526 * stdio-common/test-fseek.c: Likewise.
5527 * stdio-common/test-popen.c: Likewise.
5528 * stdio-common/test-vfprintf.c: Likewise.
5529 * stdio-common/tst-cookie.c: Likewise.
5530 * stdio-common/tst-fileno.c: Likewise.
5531 * stdio-common/tst-gets.c: Likewise.
5532 * stdio-common/tst-obprintf.c: Likewise.
5533 * stdio-common/tst-perror.c: Likewise.
5534 * stdio-common/tst-sprintf2.c: Likewise.
5535 * stdio-common/tst-sprintf3.c: Likewise.
5536 * stdio-common/tst-sprintf.c: Likewise.
5537 * stdio-common/tst-swprintf.c: Likewise.
5538 * stdio-common/tst-tmpnam.c: Likewise.
5539 * stdio-common/tst-unbputc.c: Likewise.
5540 * stdio-common/tst-wc-printf.c: Likewise.
5541 * stdlib/tst-environ.c: Likewise.
5542 * stdlib/tst-fmtmsg.c: Likewise.
5543 * stdlib/tst-limits.c: Likewise.
5544 * stdlib/tst-rand48-2.c: Likewise.
5545 * stdlib/tst-rand48.c: Likewise.
5546 * stdlib/tst-random2.c: Likewise.
5547 * stdlib/tst-random.c: Likewise.
5548 * stdlib/tst-strtol.c: Likewise.
5549 * stdlib/tst-strtoll.c: Likewise.
5550 * stdlib/tst-tls-atexit.c: Likewise.
5551 * stdlib/tst-xpg-basename.c: Likewise.
5552 * string/test-ffs.c: Likewise.
5553 * string/tst-bswap.c: Likewise.
5554 * string/tst-inlcall.c: Likewise.
5555 * string/tst-strtok.c: Likewise.
5556 * string/tst-strxfrm.c: Likewise.
5557 * sysdeps/x86_64/tst-audit10.c: Likewise.
5558 * sysdeps/x86_64/tst-audit3.c: Likewise.
5559 * sysdeps/x86_64/tst-audit4.c: Likewise.
5560 * sysdeps/x86_64/tst-audit5.c: Likewise.
5561 * time/tst-ftime_l.c: Likewise.
5562 * time/tst-getdate.c: Likewise.
5563 * time/tst-mktime3.c: Likewise.
5564 * time/tst-mktime.c: Likewise.
5565 * time/tst-posixtz.c: Likewise.
5566 * time/tst-strptime2.c: Likewise.
5567 * time/tst-strptime3.c: Likewise.
5568 * wcsmbs/tst-btowc.c: Likewise.
5569 * wcsmbs/tst-mbrtowc.c: Likewise.
5570 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5571 * wcsmbs/tst-wchar-h.c: Likewise.
5572 * wcsmbs/tst-wcpncpy.c: Likewise.
5573 * wcsmbs/tst-wcrtomb.c: Likewise.
5574 * wcsmbs/tst-wcsnlen.c: Likewise.
5575 * wcsmbs/tst-wcstof.c: Likewise.
5576
2004e7fb
JM
55772014-11-04 Joseph Myers <joseph@codesourcery.com>
5578
ab97ee8f
JM
5579 [BZ #14132]
5580 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5581 INTDEF.
5582 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5583 declaration.
5584 (_dl_mcount): Use rtld_hidden_proto.
5585 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5586 _dl_mcount.
5587 * elf/rtld.c (_rtld_global_ro): Likewise.
5588
c5684fdb
JM
5589 [BZ #14132]
5590 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5591 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5592 of _dl_init_internal.
5593 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5594 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5595 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5596 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5597 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5598 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5599 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5600 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5601 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5602 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5603 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5604 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5605 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5606 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5607 * sysdeps/tile/dl-start.S (_start): Likewise.
5608 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5609 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5610
4243cbea
JM
5611 [BZ #14132]
5612 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5613 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5614 (rtld_progname): Make macro definition unconditional.
5615 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5616 INTDEF.
5617 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5618 (dl_main): Likewise.
5619 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5620 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5621 instead of _dl_argv_internal.
5622 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5623 __GI__dl_argv instead of INTUSE(_dl_argv).
5624 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5625 __GI__dl_argv instead of _dl_argv_internal.
5626
2004e7fb
JM
5627 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5628 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5629 macro.
5630 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5631 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5632 New macro.
5633 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5634 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5635 macro.
5636 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5637 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5638
97827bfc
AS
56392014-11-04 Andreas Schwab <schwab@suse.de>
5640
5641 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5642
5e4df284
AZ
56432014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5644
5645 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5646 mtvsrd instruction in binary form.
5647
04b76b5a
AS
56482014-11-03 Andreas Schwab <schwab@suse.de>
5649
5650 [BZ #17522]
5651 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5652 for less than MB_LEN_MAX use a local buffer of that size.
5653 * libio/tst-fputws.c: New file.
5654 * libio/Makefile (tests): Add tst-fputws.
5655
4c6da7da
JM
56562014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5657
5658 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5659 the size of the fpu_fr.fpu_dregs[] array.
5660
1679ba8e
JM
56612014-11-01 Joseph Myers <joseph@codesourcery.com>
5662
5663 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5664 (__nanosleep): Do not define as alias.
5665 (nanosleep): Define as alias of __nanosleep.
5666 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5667 __libc_nanosleep name.
5668
2626c183
JM
56692014-10-31 Joseph Myers <joseph@codesourcery.com>
5670
5671 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5672 install.texi in comment.
5673
7f981fc2
TR
56742014-10-31 Torvald Riegel <triegel@redhat.com>
5675
5676 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5677 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5678 ... add here and use lwsync or sync ...
5679 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5680 ... and add here using lwsync.
5681
d6f373d2
MF
56822014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5683
5684 * elf/dl-machine-reject-phdr.h: New file.
5685 * elf/dl-load.c: #include that.
5686 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5687 if that returned true.
5688
67c37987
RM
56892014-10-31 Roland McGrath <roland@hack.frob.com>
5690
5691 [BZ #17496]
5692 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5693 gen-as-const-headers chunk. Add a big scare comment after the last
5694 safe place to touch before-compile.
5695
94a42455 56962014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5697
f3f5d895
JM
5698 * manual/install.texi (Tools for Compilation): Update autoconf
5699 version requirements.
5700 * INSTALL: Regenerated.
5701
f62ff286
JM
5702 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5703 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5704 (__libc_pselect): Likewise.
94a42455
JM
5705
5706 [BZ #14138]
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5711
ff9dbdc0
TR
57122014-10-31 Torvald Riegel <triegel@redhat.com>
5713
5714 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5715 correct barrier instruction.
5716 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5717 Likewise.
5718 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5719 Likewise.
5720
b4f66884
RM
57212014-10-30 Roland McGrath <roland@hack.frob.com>
5722
5723 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5724 after defining inlines. Instead, just use parens to defeat macro
5725 expansion of __isctype in its declaration.
5726
e19c95fd
JM
57272014-10-30 Joseph Myers <joseph@codesourcery.com>
5728
5729 * include/sys/uio.h (__libc_readv): Remove declaration.
5730 (__libc_writev): Likewise.
5731 * misc/readv.c (__libc_readv): Rename to __readv.
5732 (__readv): Do not define as alias.
5733 (readv): Define as alias of __readv.
5734 * misc/writev.c (__libc_writev): Rename to __writev.
5735 (__writev): Do not define as alias.
5736 (writev): Define as alias of __writev.
5737 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5738 (__readv): Do not define as alias.
5739 (readv): Define unconditionally as alias of __readv.
5740 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5741 (__writev): Do not define as alias.
5742 (writev): Define unconditionally as alias of __writev.
5743 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5744 name.
5745 (writev): Do not define __libc_writev name.
5746
65b00b6c
RM
57472014-10-30 Roland McGrath <roland@hack.frob.com>
5748
5749 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5750 (convert_charseq): New function, broken out of ...
5751 (use_from_charmap): ... here. Call it.
5752 (use_to_charmap): Use convert_charseq and free instead of duplicating
5753 its code with a variable-length stack struct.
5754
d4e157aa
JM
57552014-10-30 Joseph Myers <joseph@codesourcery.com>
5756
5757 * include/fcntl.h (__libc_creat): Remove declaration.
5758 * io/creat.c (__libc_creat): Rename to creat.
5759 (creat): Do not define as alias.
5760 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5761 of creat instead of __libc_creat.
5762 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5763 to creat.
5764 (creat): Do not define as alias.
5765 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5766 __libc_creat.
5767 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5768 __libc_creat name.
5769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5770 Likewise.
5771
0c6891a0
CD
57722014-10-29 Carlos O'Donell <carlos@redhat.com>
5773
5774 * manual/llio.texi: Add comments discussing why write() may be
5775 considered MT-unsafe on Linux.
5776
cc00cece
CD
57772014-10-28 Carlos O'Donell <carlos@redhat.com>
5778
5779 * dl-load.c (local_strdup): Remove.
5780 (expand_dynamic_string_token): Use __strdup.
5781 (decompose_rpath): Likewise.
5782 (_dl_map_object): Likewise.
5783
51e623f2
JM
57842014-10-28 Joseph Myers <joseph@codesourcery.com>
5785
5786 [BZ #14132]
5787 * sysdeps/generic/unwind-dw2-fde.c
5788 (__register_frame_info_bases_internal): Do not declare.
5789 (__register_frame_info_table_bases_internal): Likewise.
5790 (__deregister_frame_info_bases_internal): Likewise.
5791 (__register_frame_info_bases): Declare and use hidden_proto before
5792 definition. Use hidden_def instead of INTDEF.
5793 (__register_frame_info_table_bases): Likewise.
5794 (__deregister_frame_info_bases): Likewise.
5795 (__register_frame_info): Do not use INTUSE.
5796 (__register_frame): Likewise.
5797 (__register_frame_info_table): Likewise.
5798 (__register_frame_table): Likewise.
5799 (__deregister_frame_info): Likewise.
5800 (__deregister_frame): Likewise.
5801
03d41216
GC
58022014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5803
5804 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5805 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5806 not undefine.
5807 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5808 Likewise.
5809 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5810 Likewise.
5811
a4b3624d
JM
58122014-10-27 Joseph Myers <joseph@codesourcery.com>
5813
5814 [BZ #14138]
5815 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5816 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5817 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5818 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5819 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5820 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5821 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5822 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5823 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5824 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5825 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5826 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5827 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5828 syscall.
5829 (setfsuid): Likewise.
5830 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5831 (setfsuid): Likewise.
5832 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5833 (setfsuid): Likewise.
5834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5835 Likewise.
5836 (setfsuid): Likewise.
5837 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5838 (setfsuid): Likewise.
5839 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5840 Likewise.
5841 (setfsuid): Likewise.
5842
3574f2fd
AS
58432014-10-27 Andreas Schwab <schwab@suse.de>
5844
5845 [BZ #17501]
5846 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5847 check for Slow_SSE4_2 feature bit.
5848 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5849 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5850 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5851 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5852
70996a37
RM
58532014-10-24 Roland McGrath <roland@hack.frob.com>
5854
461a7b1e
RM
5855 * configure.ac: Validate compiler version with a empirical test of
5856 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5857 $CC -v output.
5858 * configure: Regenerated.
5859
70996a37
RM
5860 * inet/htons.c (htons): Prototypify.
5861 * inet/htonl.c (htonl): Likewise.
5862
e80514b5
WD
58632014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5864
5865 * string/strncat.c (strncat): Improve performance by using strlen.
5866
6e46de42
WD
58672014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5868
5869 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5870
6a9ad2fa
WD
58712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5872
5873 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5874 Call libc_fetestexcept_aarch64.
5875
1c8810ed
WD
58762014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5877
5878 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5879 Call libc_feholdexcept_aarch64.
5880
8b1af712
WD
58812014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5882
5883 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5884 Call get_rounding_mode.
5885
a7b00c11
WD
58862014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5887
5888 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5889 Simplify logic.
5890
3a84f1a6
WD
58912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5892
5893 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5894 Simplify logic.
5895
48eb7a94
JM
58962014-10-24 Joseph Myers <joseph@codesourcery.com>
5897
c8bc4038
JM
5898 [BZ #14138]
5899 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5900 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5901 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5902 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5903 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5904 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5905 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5906 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5907 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5908 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5909 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5910 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5911 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5912 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5913 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5914 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5915 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5916 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5917 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5918 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5919 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5920 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5921 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5922 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5923 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5924 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5925 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5926 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5927 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5928 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5929 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5930 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5931 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5932 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5933 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5934 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5935 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5936 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5937 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5938 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5939 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5940 syscall.
5941 (geteuid): Likewise.
5942 (getgid): Likewise.
5943 (getuid): Likewise.
5944 (getresgid): Likewise.
5945 (getresuid): Likewise.
5946 (getgroups): Likewise.
5947 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5948 (geteuid): Likewise.
5949 (getgid): Likewise.
5950 (getuid): Likewise.
5951 (getresgid): Likewise.
5952 (getresuid): Likewise.
5953 (getgroups): Likewise.
5954 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5955 (geteuid): Likewise.
5956 (getgid): Likewise.
5957 (getuid): Likewise.
5958 (getresgid): Likewise.
5959 (getresuid): Likewise.
5960 (getgroups): Likewise.
5961 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5962 Likewise.
5963 (geteuid): Likewise.
5964 (getgid): Likewise.
5965 (getuid): Likewise.
5966 (getresgid): Likewise.
5967 (getresuid): Likewise.
5968 (getgroups): Likewise.
5969 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5970 (geteuid): Likewise.
5971 (getgid): Likewise.
5972 (getuid): Likewise.
5973 (getresgid): Likewise.
5974 (getresuid): Likewise.
5975 (getgroups): Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5977 Likewise.
5978 (geteuid): Likewise.
5979 (getgid): Likewise.
5980 (getuid): Likewise.
5981 (getgroups): Likewise.
5982
48eb7a94
JM
5983 [BZ #14138]
5984 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5985 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5986 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5987 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5988 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5989 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5990 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5991 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5992 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5993 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5994 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5995 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5996 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5997 __chown.
5998 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5999 (lchown): Likewise.
6000 (fchown): Likewise.
6001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6002 Likewise.
6003 (lchown): Likewise.
6004 (fchown): Likewise.
6005 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6006 (lchown): Likewise.
6007 (fchown): Likewise.
6008 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6009 Likewise.
6010 (lchown): Likewise.
6011 (fchown): Likewise.
6012
ea9a7c8b
WD
60132014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6014
6015 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6016 Simplify logic.
6017
e226de33
WD
60182014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6019
6020 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6021 Cleanup logic.
6022
6e3d8ed3
WD
60232014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6024
6025 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6026 Remove unused include.
6027
eb04247d
WD
60282014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6029
6030 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6031 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6032 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6033 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6034
13d84554
CD
60352014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6036 Helge Deller <deller@gmx.de>
6037
6038 [BZ #17508]
6039 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6040 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6041 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6042
15f9c5df
JM
60432014-10-23 Joseph Myers <joseph@codesourcery.com>
6044
6045 [BZ #14132]
6046 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6047 Remove macro definition.
6048 (__ashrdi3_v_glibc20): Likewise.
6049 (__lshrdi3_v_glibc20): Likewise.
6050 (__cmpdi2_v_glibc20): Likewise.
6051 (__ucmpdi2_v_glibc20): Likewise.
6052 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6053 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6054 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6055 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6056 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6057 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6058
c6dfed24
RM
60592014-10-22 Roland McGrath <roland@hack.frob.com>
6060
6061 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6062 old GNU extension [0] syntax.
6063 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6064 alloca rather than an array member with variable length.
6065 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6066 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6067 (parse_opt): ... here. Likewise use alloca there.
6068 Validate the -i argument before checking for rootness.
6069 (send_shutdown): New function, broken out of ...
6070 (parse_opt): ... here.
6071
8c2b1ed8
RM
60722014-10-22 Roland McGrath <roland@hack.frob.com>
6073
6074 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6075 macro to get at the _rt_local_ro field.
6076 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6077 ([PIC] case) or _dl_hwcap ([!PIC] case).
6078 * sysdeps/arm/setjmp.S: Likewise.
6079
6080 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6081 * sysdeps/arm/configure.ac: New check to define it.
6082 * sysdeps/arm/configure: Regenerated.
6083 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6084 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6085 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6086 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6087 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6088 Use move/movt pair instead of a load.
6089 (LDST_GLOBAL): Macro removed.
6090 (LDR_GLOBAL): New macro replaces it.
6091 (LDR_HIDDEN): New macro.
6092 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6093 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6094
6095 * setjmp/tst-setjmp-static.c: New file.
6096 * setjmp/Makefile (tests): Add it.
6097 (tests-static): New variable.
6098
b5af9297
MR
60992014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6100
6101 [BZ #17485]
6102 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6103
a13d0d74
JM
61042014-10-21 Joseph Myers <joseph@codesourcery.com>
6105
6106 [BZ #14132]
6107 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6108
f05e73f6
RM
61092014-10-21 Roland McGrath <roland@hack.frob.com>
6110
6111 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6112
6ab1d1ea
RM
61132014-10-20 Roland McGrath <roland@hack.frob.com>
6114
6115 * io/fts.c (dirent_not_directory): New function.
6116 (fts_build): Call it.
6117
ab49e763
RM
61182014-10-20 Roland McGrath <roland@hack.frob.com>
6119
e436eb79
RM
6120 * nptl/version.c (__nptl_main): Use normal __write rather than
6121 INTERNAL_SYSCALL.
6122 (banner): Update copyright years.
6123
6af246cf
RM
6124 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6125 gettimeofday.
6126 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6127 * nptl/pthread_cond_timedwait.c: Likewise.
6128 * nptl/pthread_mutex_timedlock.c: Likewise.
6129 * nptl/sem_timedwait.c: Likewise.
6130
ab49e763
RM
6131 * sysdeps/nptl/bits/libc-lock.h
6132 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6133 (__libc_lock_init_recursive): Return void, not 0.
6134 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6135 (__libc_rwlock_init): Likewise.
6136 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6137
f50277c1
TR
61382014-10-20 Torvald Riegel <triegel@redhat.com>
6139
6140 [BZ #15215]
6141 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6142 (__pthread_once_slow): ... here.
6143 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6144 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6145
63668b70
TR
61462014-10-20 Torvald Riegel <triegel@redhat.com>
6147
6148 [BZ #15215]
6149 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6150 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6151 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6152 * nptl/pthread_once.c (__pthread_once): Likewise.
6153 Update comments.
6154
42b7f5d4
JM
61552014-10-20 Joseph Myers <joseph@codesourcery.com>
6156
6157 [BZ #14138]
6158 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6159 name.
6160 (writev): Use __libc_writev as strong name.
6161 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6162 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6163
b0643088
RM
61642014-10-17 Roland McGrath <roland@hack.frob.com>
6165
114c4e09
RM
6166 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6167
674b8978
RM
6168 * sysdeps/i386/nptl/tls.h
6169 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6170 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6171 New macros.
6172 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6173 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6174 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6175 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6176 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6177 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6178
184ee940
RM
6179 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6180 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6181 on [__NR_futex].
6182 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6183 broken out of ...
6184 (__pthread_mutex_init): ... here. Call it.
6185 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6186 Conditionalize PI cases on [__NR_futex].
6187 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6188 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6189 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6190
327ae257
RM
6191 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6192 conditional on [SIGSETXID].
6193 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6194 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6195 is defined. Likewise for SIGSETXID.
6196 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6197 Conditionalize definitions on [SIGSETXID].
6198 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6199 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6200 unblocking on [SIGCANCEL].
6201
b0643088
RM
6202 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6203 [__NR_set_robust_list].
6204
33cc770b
SP
62052014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6206
6207 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6208 (do_compare): Likewise.
6209
0742aef6
LH
62102014-10-17 Leonhard Holz <leonhard.holz@web.de>
6211
6212 [BZ #15884]
6213 * string/strcoll_l.c: Don't include stdio.h.
6214 (coll_seq): Remove members idxarr and rulearr.
6215 (get_next_seq_cached): Remove function.
6216 (get_next_seq): Likewise.
6217 (get_next_seq_nocache): Rename to get_next_seq.
6218 (do_compare): Remove function.
6219 (do_compare_nocache): Rename to do_compare.
6220 (STRCOLL): Remove weight and rules cache.
6221
ee54ce44
RM
62222014-10-16 Roland McGrath <roland@hack.frob.com>
6223
6224 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6225 * sysdeps/arm/sfp-machine.h: ... to here.
6226 * sysdeps/arm/Implies: Remove arm/soft-fp.
6227
a75d3b02
JM
62282014-10-14 Joseph Myers <joseph@codesourcery.com>
6229
6230 * conform/data/sys/utsname.h-data (*_t): Allow.
6231 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6232 [POSIX] (WEXITED): Do not expect constant.
6233 [POSIX] (WSTOPPED): Likewise.
6234 [POSIX] (WNOHANG): Likewise.
6235 [POSIX] (WNOWAIT): Likewise.
6236 [POSIX] (siginfo_t): Do not expect type or elements.
6237 [POSIX] (pid_t): Do not expect type.
6238 [POSIX] (signal.h): Do not allow header.
6239 [POSIX] (sys/resource.h): Likewise.
6240 [POSIX] (si_*): Do not allow pattern.
6241 [POSIX] (W*): Likewise.
6242 [POSIX] (P_*): Likewise.
6243 [POSIX] (BUS_*): Likewise.
6244 [POSIX] (CLD_*): Likewise.
6245 [POSIX] (FPE_*): Likewise.
6246 [POSIX] (ILL_*): Likewise.
6247 [POSIX] (POLL_*): Likewise.
6248 [POSIX] (SEGV_*): Likewise.
6249 [POSIX] (SI_*): Likewise.
6250 [POSIX] (TRAP_*): Likewise.
6251 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6252 variable.
6253
fda389c8
SP
62542014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6255
6256 [BZ #12926]
6257 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6258 infinite loop when __recvmsg returns 0.
6259
6bc6bd3b
JM
62602014-10-10 Joseph Myers <joseph@codesourcery.com>
6261
fcb32af1
JM
6262 * CANCEL-FCT-WAIVE: Remove file.
6263 * CANCEL-FILE-WAIVE: Likewise.
6264
6bc6bd3b
JM
6265 [BZ #14132]
6266 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6267 instead of INTVARDEF.
6268 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6269 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6270 rtld_hidden_data_def instead of INTVARDEF.
6271 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6272 * elf/dl-deps.c (expand_dst): Likewise.
6273 * elf/dl-load.c (_dl_dst_count): Likewise.
6274 (_dl_dst_substitute): Likewise.
6275 (decompose_rpath): Likewise.
6276 (_dl_init_paths): Likewise.
6277 (open_path): Likewise.
6278 (_dl_map_object): Likewise.
6279 * elf/rtld.c (dl_main): Likewise.
6280 (process_dl_audit): Likewise.
6281 (process_envvars): Likewise.
6282 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6283 Remove declaration.
6284 (__libc_enable_secure): Use rtld_hidden_proto.
6285
b8c80a7e
KS
62862014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6287
6288 * elf/dl-load.c
6289 (add_path): New function broken out of _dl_rtld_di_serinfo.
6290 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6291
ff12c11f
JM
62922014-10-09 Joseph Myers <joseph@codesourcery.com>
6293
5c0508a3
JM
6294 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6295 parentheses around macro arguments.
6296 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6297 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6298 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6299 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6300 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6301 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6302 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6303 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6304 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6305 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6306 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6307 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6308 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6309 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6310 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6311 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6312 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6313 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6314 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6317 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6320 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6321 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6322 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6323 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6324 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6325 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6326 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6327 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6328 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6329 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6330 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6331 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6332 Likewise.
6333 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6334 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6335 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6336 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6339 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6340 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6341 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6342 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6343 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6344 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6345 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6346 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6347 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6348 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6349 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6350 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6351 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6352 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6353 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6354 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6355 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6356 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6357 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6358 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6359 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6360 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6361 (_FP_FRAC_SRS_1): Likewise.
6362 (_FP_FRAC_CLZ_1): Likewise.
6363 (_FP_MUL_MEAT_1_imm): Likewise.
6364 (_FP_MUL_MEAT_1_wide): Likewise.
6365 (_FP_MUL_MEAT_1_hard): Likewise.
6366 (_FP_SQRT_MEAT_1): Likewise.
6367 (_FP_FRAC_ASSEMBLE_1): Likewise.
6368 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6369 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6370 (__FP_CLZ_2): Likewise.
6371 (_FP_MUL_MEAT_2_wide): Likewise.
6372 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6373 (_FP_MUL_MEAT_2_gmp): Likewise.
6374 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6375 (_FP_SQRT_MEAT_2): Likewise.
6376 (_FP_FRAC_ASSEMBLE_2): Likewise.
6377 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6378 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6379 (_FP_FRAC_CLZ_4): Likewise.
6380 (_FP_MUL_MEAT_4_wide): Likewise.
6381 (_FP_MUL_MEAT_4_gmp): Likewise.
6382 (_FP_SQRT_MEAT_4): Likewise.
6383 (_FP_FRAC_ASSEMBLE_4): Likewise.
6384 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6385 * soft-fp/op-common.h (_FP_CMP): Likewise.
6386 (_FP_CMP_EQ): Likewise.
6387 (_FP_CMP_UNORD): Likewise.
6388 (_FP_TO_INT): Likewise.
6389 (_FP_FROM_INT): Likewise.
6390 [!__FP_CLZ] (__FP_CLZ): Likewise.
6391 (_FP_DIV_HELP_imm): Likewise.
6392 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6393 Likewise.
6394 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6397 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6398 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6399 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6400 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6401 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6402 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6403 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6404 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6405 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6406 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6407 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6408 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6409 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6410 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6412 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6415 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6416 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6417 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6418 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6419 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6420 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6421 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6422 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6423 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6424 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6425 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6426 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6427 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6428 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6429 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6430 (FP_UNPACK_RAW_SP): Likewise.
6431 (FP_PACK_RAW_S): Likewise.
6432 (FP_PACK_RAW_SP): Likewise.
6433 (FP_UNPACK_S): Likewise.
6434 (FP_UNPACK_SP): Likewise.
6435 (FP_UNPACK_SEMIRAW_S): Likewise.
6436 (FP_UNPACK_SEMIRAW_SP): Likewise.
6437 (FP_PACK_S): Likewise.
6438 (FP_PACK_SP): Likewise.
6439 (FP_PACK_SEMIRAW_S): Likewise.
6440 (FP_PACK_SEMIRAW_SP): Likewise.
6441 (_FP_SQRT_MEAT_S): Likewise.
6442 (FP_CMP_S): Likewise.
6443 (FP_CMP_EQ_S): Likewise.
6444 (FP_CMP_UNORD_S): Likewise.
6445 (FP_TO_INT_S): Likewise.
6446 (FP_FROM_INT_S): Likewise.
6447
a736ec37
JM
6448 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6449
ff12c11f
JM
6450 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6451 (FP_EX_INVALID_IMZ): Likewise.
6452 (FP_EX_INVALID_IMZ_FMA): Likewise.
6453 (FP_EX_INVALID_ISI): Likewise.
6454 (FP_EX_INVALID_ZDZ): Likewise.
6455 (FP_EX_INVALID_IDI): Likewise.
6456 (FP_EX_INVALID_SQRT): Likewise.
6457 (FP_EX_INVALID_CVI): Likewise.
6458 (FP_EX_INVALID_VC): Likewise.
6459 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6460 "invalid" exceptions.
6461 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6462 (_FP_ADD_INTERNAL): Likewise.
6463 (_FP_MUL): Likewise.
6464 (_FP_FMA): Likewise.
6465 (_FP_DIV): Likewise.
6466 (_FP_CMP_CHECK_NAN): Likewise.
6467 (_FP_SQRT): Likewise.
6468 (_FP_TO_INT): Likewise.
6469 (FP_EXTEND): Likewise.
6470
b6dcfe8c
AM
64712014-10-09 Allan McRae <allan@archlinux.org>
6472
6473 * po/fr.po: Update French translation from translation project.
6474
2d6a47ba
JM
64752014-10-09 Joseph Myers <joseph@codesourcery.com>
6476
cb831245
JM
6477 [BZ #14132]
6478 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6479 of INTDEF.
6480 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6481 (__cxa_atexit): Use libc_hidden_proto.
6482 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6483
5deeb190
JM
6484 [BZ #14132]
6485 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6486 declaration.
6487 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6488 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6489 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6490 [!_ISOMAC] (__iswctype_internal): Likewise.
6491 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6492 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6493 alias.
6494 (fcntl): Remove __fcntl_internal alias.
6495 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6496 __connect_internal alias.
6497 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6498 Likewise.
6499
454ac701
JM
6500 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6501 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6502 FP_DENORM_ZERO.
6503 (_FP_CHECK_FLUSH_ZERO): New macro.
6504 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6505 (_FP_CMP): Likewise.
6506 (_FP_CMP_EQ): Likewise.
6507 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6508 FP_DENORM_ZERO.
6509 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6510 (FP_TRUNC): Likewise.
6511
0022e688
JM
6512 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6513 treated as invalid conversion, not as normal exponent.
6514
73e28d9c
JM
6515 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6516 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6517 (_FP_CMP_EQ): Likewise.
6518 (_FP_CMP_UNORD): Likewise.
6519 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6520 (FP_CMP_EQ_D): Likewise.
6521 (FP_CMP_UNORD_D): Likewise.
6522 * soft-fp/extended.h (FP_CMP_E): Likewise.
6523 (FP_CMP_EQ_E): Likewise.
6524 (FP_CMP_UNORD_E): Likewise.
6525 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6526 (FP_CMP_EQ_Q): Likewise.
6527 (FP_CMP_UNORD_Q): Likewise.
6528 * soft-fp/single.h (FP_CMP_S): Likewise.
6529 (FP_CMP_EQ_S): Likewise.
6530 (FP_CMP_UNORD_S): Likewise.
6531 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6532 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6533 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6534 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6535 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6536 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6537 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6538 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6539 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6540 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6541 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6542 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6543 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6544 to FP_CMP_Q.
6545 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6546 FP_CMP_Q.
6547 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6548 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6549 FP_CMP_EQ_Q.
6550 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6551 FP_CMP_Q.
6552 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6553 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6554 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6555 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6556 FP_CMP_EQ_Q.
6557 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6558 FP_CMP_Q.
6559 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6560 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6561 FP_CMP_EQ_Q.
6562 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6563 FP_CMP_Q.
6564 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6565 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6566 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6567 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6568 FP_CMP_EQ_Q.
6569
43059f42
JM
6570 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6571 a subnormal result, set the underflow exception if trapping on
6572 underflow is enabled.
6573 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6574 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6575 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6576 redefine to 0.
6577 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6578 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6579 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6580 * soft-fp/extendxftf2.c (__extendxftf2): Use
6581 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6582
2d6a47ba
JM
6583 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6584 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6585 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6586 FP_HANDLE_EXCEPTIONS.
6587 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6588 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6589 FP_HANDLE_EXCEPTIONS.
6590 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6591 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6592 FP_HANDLE_EXCEPTIONS.
6593 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6594 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6595 FP_HANDLE_EXCEPTIONS.
6596
620f462e
JM
65972014-10-08 Joseph Myers <joseph@codesourcery.com>
6598
6599 [BZ #14132]
6600 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6601 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6602 use INTUSE.
6603 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6604 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6605 Remove alias.
6606 (__adjtimex): Define using libc_hidden_ver.
6607 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6608 Remove declaration.
6609 (ntp_gettime): Call __adjtimex directly.
6610 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6611 Remove declaration.
6612 (ntp_gettimex): Call __adjtimex directly.
6613 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6614 __adjtimex_internal alias.
6615
c763c5d2
RM
66162014-10-08 Roland McGrath <roland@hack.frob.com>
6617
6618 [BZ #17460]
6619 * nscd/nscd.c (more_help): Rewrite list of tables collection
6620 using xstrdup and asprintf.
6621
6622 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6623
7b8fb2b8
RM
66242014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6625 Roland McGrath <roland@hack.frob.com>
6626
6627 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6628 (do_lookup_unique): ... local function 'enter' here; update callers.
6629
abb280f7
JM
66302014-10-06 Joseph Myers <joseph@codesourcery.com>
6631
f7b42517
JM
6632 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6633 compat_symbol calls on [SHARED].
6634 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6635 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6636 Remove.
6637 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6638 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6639 (oldsetrlimit): Remove.
6640 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6642 (lchown): New syscall entry.
6643 (oldsetrlimit): Remove.
6644 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6645 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6646 (oldsetrlimit): Remove.
6647 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6648
abb280f7
JM
6649 [BZ #14138]
6650 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6651 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6652 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6653 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6654 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6655 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6656 (fchown): Likewise.
6657 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6658 (fchown): Likewise.
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6660 Likewise.
6661
47d46237
AZ
66622014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6663
6664 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6665 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6666 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6667 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6668 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6669 Likewise.
6670 (__old_sem_post): Likewise.
6671
66722014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6673
845a7343
CM
6674 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6675 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6676 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6677 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6678 Use INLINE_VSYSCALL macro.
6679 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6680 __vdso_clock_gettime.
6681 * sysdeps/unix/sysv/linux/tile/init-first.c
6682 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6683 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6684 __vdso_clock_gettime.
6685
83d641ef
CM
6686 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6687 to set up frame more cleanly.
6688
d9cd52e6
CM
6689 * sysdeps/tile/memcmp.c: New file.
6690
4b68ea11
CM
6691 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6692
c86f7b80
CM
6693 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6694 * sysdeps/tile/tilegx/strcasestr.c: New file.
6695 * sysdeps/tile/tilegx/strnlen.c: New file.
6696 * sysdeps/tile/tilegx/strstr.c: New file.
6697
1c4c1a6f
CM
6698 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6699
99d86ea3
AS
67002014-10-06 Arjun Shankar <arjun.is@lostca.se>
6701
6702 * nptl/tst-setuid3.c: Write errors to stdout.
6703
06210a44
KS
67042014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6705
6706 * elf/dl-deps.c
6707 (preload): New functions broken out of _dl_map_object_deps.
6708 (_dl_map_object_deps): Remove a nested function. Update call sites.
6709
6268f532
JM
67102014-10-01 Joseph Myers <joseph@codesourcery.com>
6711
6712 [BZ #14138]
6713 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6714 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6715
b925285f
SE
67162014-10-01 Steve Ellcey <sellcey@mips.com>
6717
6718 * sysdeps/mips/strcmp.S: New.
6719
754a15c6
JM
67202014-09-30 Joseph Myers <joseph@codesourcery.com>
6721
6722 [BZ #14138]
6723 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6724 (linkat): Likewise.
6725 (mkdirat): Likewise.
6726 (readlinkat): Likewise.
6727 (renameat): Likewise.
6728 (symlinkat): Likewise.
6729 (unlinkat): Likewise.
6730 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6731 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6732 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6733 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6734 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6735 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6736 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6737
85bb81c9
WN
67382014-09-30 Will Newton <will.newton@linaro.org>
6739
dc6fe23b
WN
6740 * math/math.h: Define long double math functions if
6741 _LIBC_TEST is defined.
6742 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6743
85bb81c9
WN
6744 * localedata/Makefile: Move assignment to tests-special
6745 into an ifdef testing run-built-tests.
6746 * timezone/Makefile: Likewise.
6747
b7e02da4
JM
67482014-09-29 Joseph Myers <joseph@codesourcery.com>
6749
6750 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6751 with $(BASH) not $(SHELL).
6752
62058ce6
CD
67532014-09-29 Carlos O'Donell <carlos@redhat.com>
6754 Matthew LeGendre <legendre1@llnl.gov>
6755
6756 [BZ #17411]
6757 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6758 l_reloc_result.
6759
8e257a29
KS
67602014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6761
6762 * stdio-common/printf_fp.c
6763 (hack_digit): New function, broken out of ...
6764 (__printf_fp): ... local function here. Update call sites.
6765 hack_digit now takes an additional parameter that is a pointer
6766 to a struct of the referenced locals. Those locals moved inside
6767 the struct and references updated.
6768
f4a58f0d
L
67692014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6770
6771 * aclocal.m4: Require autoconf 2.69.
6772 * configure: Regenerated.
6773 * sysdeps/aarch64/configure: Likewise.
6774 * sysdeps/alpha/configure: Likewise.
6775 * sysdeps/arm/armv7/configure: Likewise.
6776 * sysdeps/arm/configure: Likewise.
6777 * sysdeps/ia64/configure: Likewise.
6778 * sysdeps/mach/configure: Likewise.
6779 * sysdeps/mips/configure: Likewise.
6780 * sysdeps/s390/configure: Likewise.
6781 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6783
6784 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6785 file.
6786 * sysdeps/ia64/configure.ac: Likewise.
6787
93ae1eba
JM
67882014-09-26 Joseph Myers <joseph@codesourcery.com>
6789
1810d3ab
JM
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6791 specify symbol version for ld.so. Do not include entry for
6792 libpthread.
6793 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6794 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6795 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6796
93ae1eba
JM
6797 [BZ #14171]
6798 * Makeconfig [$(build-shared) = yes]
6799 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6800 makefiles.
6801 [$(build-shared) = yes && $(soversions.mk-done) = t]
6802 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6803 [$(build-shared) = yes && $(soversions.mk-done) = t]
6804 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6805 to Makerules.
6806 [$(build-shared) = yes && $(soversions.mk-done) = t]
6807 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6808 here.
6809 [$(build-shared) = yes && $(soversions.mk-done) = t]
6810 (common-generated): Don't append gnu/lib-names.h and
6811 gnu/lib-names.stmp here.
6812 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6813 (lib-names-h-abi): New variable.
6814 [$(build-shared) = yes && $(soversions.mk-done) = t]
6815 (lib-names-stmp-abi): Likewise.
6816 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6817 abi-variants] (before-compile): Append
6818 $(common-objpfx)$(lib-names-h-abi).
6819 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6820 abi-variants] (common-generated): Append gnu/lib-names.h.
6821 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6822 abi-variants] (install-others-nosubdir): Depend on
6823 $(inst_includedir)/$(lib-names-h-abi).
6824 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6825 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6826 [$(build-shared) = yes && $(soversions.mk-done) = t]
6827 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6828 [$(build-shared) = yes && $(soversions.mk-done) = t]
6829 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6830 [$(build-shared) = yes && $(soversions.mk-done) = t]
6831 (common-generated): Append $(lib-names-h-abi) and
6832 $(lib-names-stmp-abi).
6833 * scripts/lib-names.awk: Do not handle multi being set.
6834 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6835 Remove variable.
6836 (abi-lp64_be-ld-soname): Likewise.
6837 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6838 Likewise.
6839 (abi-hard-ld-soname): Likewise.
6840 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6841 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6842 Remove variable.
6843 (abi-o32_hard-ld-soname): Likewise.
6844 (abi-o32_soft_2008-ld-soname): Likewise.
6845 (abi-o32_hard_2008-ld-soname): Likewise.
6846 (abi-n32_soft-ld-soname): Likewise.
6847 (abi-n32_hard-ld-soname): Likewise.
6848 (abi-n32_soft_2008-ld-soname): Likewise.
6849 (abi-n32_hard_2008-ld-soname): Likewise.
6850 (abi-n64_soft-ld-soname): Likewise.
6851 (abi-n64_hard-ld-soname): Likewise.
6852 (abi-n64_soft_2008-ld-soname): Likewise.
6853 (abi-n64_hard_2008-ld-soname): Likewise.
6854 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6855 Likewise.
6856 (abi-64-v2-ld-soname): Likewise.
6857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6858 ld.so entries.
6859 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6860 variable.
6861 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6862 entry.
6863 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6864 variable.
6865 (abi-64-ld-soname): Likewise.
6866 (abi-x32-ld-soname): Likewise.
6867 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6868 entry.
6869 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6870
68870f12
JM
68712014-09-23 Joseph Myers <joseph@codesourcery.com>
6872
6873 [BZ #14138]
6874 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6875 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6876 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6877 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6879 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6880 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6881 syscall entry for GLIBC_2.2 symbol version.
6882 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6883 Likewise.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6885 (setrlimit): Likewise.
6886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6887 Likewise.
6888
ea58f202
WN
68892014-09-23 Will Newton <will.newton@linaro.org>
6890
6891 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6892 _LINUX_ARM_SYSDEP_H include guard too.
6893 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6894 define.
6895
69eb9a18
RV
68962014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6897
6898 * sysdeps/unix/sysv/linux/eventfd.c:
6899 Make first argument unsigned.
6900 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6901 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6902
20e5a5f7
OB
69032014-09-20 Ondřej Bílka <neleai@seznam.cz>
6904
6905 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6906 * socket/sys/socket.h: Likewise
6907 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6908
d3c827e7
AK
69092014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6910
6911 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6912
fe1cc35a
AS
69132014-09-17 Arjun Shankar <arjun.is@lostca.se>
6914
6915 * time/tst-ftime.c: New test.
6916 * time/Makefile (tests): Add tst-ftime.
6917
4e8afe69
JM
69182014-09-17 Joseph Myers <joseph@codesourcery.com>
6919
c4fe3ea7
JM
6920 * soft-fp/extended.h: Fix comment formatting.
6921 * soft-fp/op-1.h: Likewise.
6922 * soft-fp/op-2.h: Likewise.
6923 * soft-fp/op-4.h: Likewise.
6924 * soft-fp/op-8.h: Likewise.
6925 * soft-fp/op-common.h: Likewise.
6926 * soft-fp/soft-fp.h: Likewise.
6927
4e8afe69
JM
6928 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6929
af296fcd
JM
69302014-09-16 Joseph Myers <joseph@codesourcery.com>
6931
6932 [BZ #6652]
6933 * Makeconfig (soversions-default-setname): Remove variable.
6934 ($(common-objpfx)soversions.i): Don't pass default_setname to
6935 soversions.awk.
6936 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6937 oldest_abi to abi-versions.awk.
6938 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6939 * config.make.in (oldest-abi): Remove variable.
6940 * configure.ac (--enable-oldest-abi): Remove configure option.
6941 * configure: Regenerated.
6942 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6943 text.
6944 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6945 * scripts/soversions.awk: Do not handle default_setname variable.
6946 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6947 variable.
6948 * sysdeps/mach/hurd/configure: Regenerated.
6949 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6950 variable.
6951 * sysdeps/unix/sysv/linux/configure: Regenerated.
6952
545583d6
SP
69532014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6954
d330b980
SP
6955 * elf/Makefile (CFLAGS-interp.c): Remove.
6956 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6957 path string.
6958 * elf/interp.c: Include generated runtime-linker.h
6959
02657da2
SP
6960 * Makerules (lib%.so): Don't include $(+interp) in
6961 prerequisites.
6962 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6963 * dlfcn/eval.c: Remove file.
6964
653b1080
SP
6965 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6966 macros.
6967
602f80ec
SP
6968 [BZ #17266]
6969 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6970 4.2 and newer.
6971
545583d6
SP
6972 [BZ #17370]
6973 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6974
884ddc50
SP
69752014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6976 Jakub Jelinek <jakub@redhat.com>
6977
6978 [BZ #17266]
6979 * libio/stdio.h: Check definition of __fortify_function
6980 instead of __extern_always_inline to include bits/stdio2.h.
6981 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6982 check if __extern_always_inline is defined.
6983 [__USE_MISC || __USE_XOPEN]: Likewise.
6984 [__USE_ISOC99] Likewise.
6985 * misc/sys/cdefs.h (__fortify_function): Define only if
6986 __extern_always_inline is defined.
6987 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6988 __extern_always_inline and __extern_inline only for g++-4.3
6989 and newer or a compatible gcc.
6990
a7b87268
AS
69912014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6992
6993 [BZ #17371]
6994 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6995 last change to handle zero prefix length.
6996
3f41521d
SP
69972014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6998
61fe374a
SP
6999 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7000 _SC_REGEX_VERSION.
7001
3f41521d
SP
7002 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7003 _POSIX_RAW_SOCKETS.
7004
d8f879ee
AM
70052014-09-13 Allan McRae <allan@archlinux.org>
7006
7007 * po/ru.po: Update Russian translation from translation project.
7008
c079afb7
RM
70092014-09-12 Roland McGrath <roland@hack.frob.com>
7010
a62b3c15
RM
7011 * locale/programs/locale.c (show_locale_vars): Inline local function
7012 into its sole call site. Clean up some style nits.
7013 (print_item): New function, broken out of ...
7014 (show_info): ... local function here. Clean up style nits.
7015
d7e49b19
RM
7016 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7017 out of ...
7018 (set_class_defaults): ... local function set_default here.
7019 Define set_default as a macro locally to pass constant parameters.
7020 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7021 rather than a shared local.
7022
c079afb7
RM
7023 * stdlib/rpmatch.c (try): New function, broken out of ...
7024 (rpmatch): ... local function here. Also, prototypify definition.
7025
0bd72468
JM
70262014-09-12 Joseph Myers <joseph@codesourcery.com>
7027
ba90e050
JM
7028 * scripts/soversions.awk: Do not handle configuration names.
7029 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7030 vendor and os variables to soversions.awk.
7031 * configure.ac: Do not modify gnu-* host_os.
7032 * configure: Regenerated
7033 * shlib-versions: Remove first column with configuration names.
7034 * nptl/shlib-versions: Likewise.
7035 * nptl_db/shlib-versions: Likewise.
7036 * sysdeps/hppa/shlib-versions: Likewise.
7037 * sysdeps/m68k/shlib-versions: Likewise.
7038 * sysdeps/mach/hurd/shlib-versions: Likewise.
7039 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7040 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7041 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7042 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7043 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7044 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7045 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7046 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7048 Likewise.
7049 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7050 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7051 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7052 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7053 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7054 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7055 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7056 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7057
73a39112
JM
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7059 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7061 Regenerated.
7062 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7064 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7065
c729e7c1
JM
7066 * shlib-versions: Remove OS-specific entries. Moved to files in
7067 sysdeps.
7068 * sysdeps/mach/hurd/shlib-versions: New file.
7069 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7070
dc932a24
JM
7071 * nptl/shlib-versions: Remove architecture-specific entries.
7072 Moved to files in sysdeps.
7073 * shlib-versions: Likewise.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7075 file.
7076 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7077 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7078 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7079 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7080
0bd72468
JM
7081 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7082 (UDP_NO_CHECK6_RX): Likewise.
7083
920238e0
SP
70842014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
7086 * sysdeps/posix/sysconf.c (__sysconf): Spell
7087 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7088
ba7b4d29
FW
70892014-08-12 Florian Weimer <fweimer@redhat.com>
7090
7091 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7092 loading.
7093 * iconv/Versions (__gconv_transliterate): Export for use from
7094 gconv modules.
7095 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7096 (struct __gconv_trans_data, __gconv_trans_fct,
7097 __gconv_trans_context_fct, __gconv_trans_query_fct,
7098 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7099 definitions.
7100 (struct __gconv_step_data): Remove __trans member.
7101 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7102 longer hidden. Remove unused trans_data argument.
7103 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7104 (__gconv_translit_find): Remove declaration.
7105 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7106 prototype.
7107 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7108 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7109 trans_data argument. Add hidden definition.
7110 (__gconv_translit_find): Remove.
7111 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7112 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7113 * iconv/skeleton.c: Remove transliteration initialization.
7114 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7115 __gconv_step_data initialization.
7116 * libio/iofwide.c (__libio_translit_): Remove.
7117 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7118 * wcsmbs/btowc.c (__btowc): Likewise.
7119 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7120 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7121 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7122 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7123 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7124 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7125 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7126 * wcsmbs/wctob.c (wctob): Likewise.
7127
5379aebd
SP
71282014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7129
7130 [BZ #16194]
7131 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7132 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7133 register usage.
7134 * sysdeps/x86/Makefile: Adjust.
7135
8c0ab919
RM
71362014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7137 Roland McGrath <roland@hack.frob.com>
7138
7139 * locale/weight.h: Add include guard.
7140 (findidx): Make static rather than auto; take new parameters
7141 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7142 * locale/weightwc.h: Likewise.
7143 * posix/fnmatch_loop.c
7144 (FCT): Change type of EXTRA from int32_t to wint_t.
7145 Don't include either header inside the function.
7146 Call FINDIDX rather than findidx, and pass new arguments.
7147 #undef FINDIDX at the end of the file.
7148 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7149 FINDIDX before including fnmatch_loop.c for the non-wide version.
7150 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7151 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7152 for the wide version.
7153 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7154 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7155 Pass new arguments to findidx.
7156 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7157 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7158 Don't #include it inside the function. Pass new arguments to findidx.
7159 * posix/regex_internal.h
7160 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7161 (re_string_elem_size_at): Don't #include it inside the function.
7162 Pass new arguments to findidx.
7163 * string/strcoll_l.c: #include WEIGHT_H at top level.
7164 (get_next_seq): Don't #include it inside the function.
7165 Pass new arguments to findidx.
7166 (get_next_seq_nocache): Likewise.
7167 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7168 (STRXFRM): Don't #include it inside the function.
7169 Pass new arguments to findidx.
7170
52ffbdf2
FW
71712014-09-11 Florian Weimer <fweimer@redhat.com>
7172
7173 [BZ #17344]
7174 * malloc/malloc.c (unlink): Turn asserts into a call to
7175 malloc_printerr.
7176
984c0ea9
TL
71772014-09-11 Tim Lammens <tim.lammens@gmail.com>
7178
7179 [BZ #17370]
7180 * libio/wfileops (do_ftell_wide): Free OUT.
7181
3daee107
CM
71822014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7183
7184 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7185
58b930ae
SP
71862014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7187
7188 [BZ #17363]
7189 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7190 group if the current group is empty.
7191
3b473fec
AZ
71922014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7193
71ae8647
AZ
7194 * benchtests/bench-memset.c (test_main): Add more test from size
7195 from 32 to 512 bytes.
7196 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7197 Add POWER8 memset object.
7198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7199 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7200 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7201 implementation.
7202 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7203 Likewise.
7204 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7205 multiarch POWER8 memset optimization.
7206 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7207 POWER8 memset optimization.
7208
3b473fec
AZ
7209 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7210 Remove bzero multiarch objects.
7211 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7212 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7213 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7214 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7215 Remove define.
7216 [__bzero]: Redefine to specific name.
7217 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7218 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7219 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7220 define.
7221 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7222 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7223
e6fb9587
FW
72242014-09-10 Florian Weimer <fweimer@redhat.com>
7225
7226 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7227 warnings into errors.
7228
7229 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7230 __cxa_thread_atexit_impl prototype.
7231
9d3a350b
SE
72322014-09-09 Steve Ellcey <sellcey@mips.com>
7233
7234 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7235 Fix capitalization of error message.
7236
0febba23
SE
72372014-09-09 Steve Ellcey <sellcey@mips.com>
7238
7239 * sysdeps/mips/preconfigure: Modify ABI tests.
7240
645a0e9c
CD
72412014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7242
7243 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7244
d83f0734
CD
72452014-09-07 Roland McGrath <roland@hack.frob.com>
7246 Carlos O'Donell <carlos@systemhalted.org>
7247
7248 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7249 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7250 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7251 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7252 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7253 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7254 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7255 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7256 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7257 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7258 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7259 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7260 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7261 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7262 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7263 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7264 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7265 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7266 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7267 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7268 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7269 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7270 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7271 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7272 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7273 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7274 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7275 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7276 Deconditionalize the code that was previously under [RESET_PID].
7277 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7278 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7279 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7280 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7281 include sysdep.h.
7282
21c83793
AM
72832014-09-08 Allan McRae <allan@archlinux.org>
7284
7285 * version.h (RELEASE): Set to "development".
7286 (VERSION): Set to "2.20.90"
7287
1cd9b65c
AM
72882014-09-07 Allan McRae <allan@archlinux.org
7289
b8079dd0
AM
7290 * version.h (RELEASE): Set to "stable".
7291 (VERSION): Set to "2.20"
7292 * include/features.h (__GLIBC_MINOR__): Set to 20.
7293
c46303ef
AM
7294 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7295 Liebler.
7296
1cd9b65c
AM
7297 * po/ko.po: Update Korean translation from translation project.
7298
8622092d
CM
72992014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7300
7301 [BZ #17354]
7302 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7303 macro for handling signed relocations.
7304
41488498
FW
73052014-09-03 Florian Weimer <fweimer@redhat.com>
7306
7307 [BZ #17325]
7308 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7309 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7310 assert.
7311 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7312 * iconvdata/ibm935.c (BODY): Likewise.
7313 * iconvdata/ibm937.c (BODY): Likewise.
7314 * iconvdata/ibm939.c (BODY): Likewise.
7315 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7316 assert.
7317 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7318 script.
7319 * iconvdata/run-iconv-test.sh: New test loop for checking for
7320 decoder crashers.
7321
a78b712d
KR
73222014-09-02 Khem Raj <raj.khem@gmail.com>
7323
7324 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7325 libm_hidden_ver.
7326
cb08abc6
AM
73272014-09-01 Allan McRae <allan@archlinux.org>
7328
2c31e102
AM
7329 * po/eo.po: Update Esperanto translation from translation project.
7330
cb08abc6
AM
7331 * po/ca.po: Update Catalan translation from translation project.
7332
17a62de1
ST
73332014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7334
7335 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7336 __proc_dostop call.
7337
9570bc53
MW
73382014-08-27 Mark Wielaard <mjw@redhat.com>
7339
7340 [BZ #17319]
7341 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7342 to call set_thread_area instead of hand written asm.
7343 (__NR_set_thread_area): Removed define.
7344 (TLS_FLAG_WRITABLE): Likewise.
7345 (__ASSUME_SET_THREAD_AREA): Remove check.
7346 (TLS_EBX_ARG): Remove define.
7347 (TLS_LOAD_EBX): Likewise.
7348
b0f955c9
ST
73492014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7350
7351 Simplify atomicity of socket creation in bind.
7352
7353 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7354 looking up the name after linking the file.
7355
529bf515
AM
73562014-08-27 Allan McRae <allan@archlinux.org>
7357
7358 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7359
a1a6a401
FW
73602014-08-26 Florian Weimer <fweimer@redhat.com>
7361
7362 [BZ #17187]
7363 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7364 trans_compare, open_translit, __gconv_translit_find):
7365 Remove module loading code.
7366
686ab290
AM
73672014-08-26 Allan McRae <allan@archlinux.org>
7368
e4e7cfd2
AM
7369 * po/vi.po: Update Vietnamese translation from translation project.
7370
6aa09f71
AM
7371 * po/uk.po: Update Ukrainian translation from translation project.
7372
edc0660e
AM
7373 * po/fr.po: Update French translation from translation project.
7374
7eea72ac
AM
7375 * po/ru.po: Update Russian translation from translation project.
7376
93c49eff
AM
7377 * po/pl.po: Update Polish translation from translation project.
7378
46acaf63
AM
7379 * po/cs.po: Update Czech translation from translation project.
7380
a9f5ce98
AM
7381 * po/de.po: Update German translation from translation project.
7382
373f2b78
AM
7383 * po/bg.po: Update Bulgarian translation from translation project.
7384
e7548bd8
AM
7385 * po/sv.po: Update Sweedish translation from translation project.
7386
c526bf4d
AM
7387 * po/nl.po: Update Dutch translation from translation project.
7388
686ab290
AM
7389 * po/es.po: Update Spanish translation from translation project.
7390
eb72478a
SP
73912014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7392
dd763fdb
SP
7393 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7394
318c7a58
SP
7395 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7396 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7397 (CPPFLAGS-iconvconfig): Likewise.
7398 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7399
eb72478a
SP
7400 * include/libc-symbols.h: Remove unnecessary check for
7401 NOT_IN_libc.
7402 * nptl/pthreadP.h: Likewise.
7403 * sysdeps/aarch64/setjmp.S: Likewise.
7404 * sysdeps/alpha/setjmp.S: Likewise.
7405 * sysdeps/arm/sysdep.h: Likewise.
7406 * sysdeps/i386/setjmp.S: Likewise.
7407 * sysdeps/m68k/setjmp.c: Likewise.
7408 * sysdeps/posix/getcwd.c: Likewise.
7409 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7410 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7411 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7412 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7413 * sysdeps/sh/sh3/setjmp.S: Likewise.
7414 * sysdeps/sh/sh4/setjmp.S: Likewise.
7415 * sysdeps/unix/alpha/sysdep.h: Likewise.
7416 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7417 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7418 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7419 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7422 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7423 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7424 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7427 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7429 * sysdeps/x86_64/setjmp.S: Likewise.
7430
d44a052c
JM
74312014-08-13 Joseph Myers <joseph@codesourcery.com>
7432
7433 [BZ #17263]
7434 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7435 <stdint.h>.
7436 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7437 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7438
508ce3ac
SP
74392014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7440
e44c8b0e
SP
7441 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7442
508ce3ac
SP
7443 [BZ #17262]
7444 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7445 and __x86_64__ when disabling x87 inline functions.
7446
b4acef1f
L
74472014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7448
7449 [BZ #17259]
7450 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7451 asm statement with __cpuid_count.
7452
61b1ef6e
MF
74532014-08-12 Mike Frysinger <vapier@gentoo.org>
7454
7455 * configure.ac: Change __ehdr_start code to dereference the struct.
7456 Run readelf on the output to look for relocations.
7457 * configure: Regenerated.
7458
898c62f4
JM
74592014-08-12 Joseph Myers <joseph@codesourcery.com>
7460
7461 [BZ #17261]
7462 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7463 value to 0.
7464 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7465
9a8a5720
RM
74662014-08-12 Roland McGrath <roland@hack.frob.com>
7467
7468 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7469
4e75751c
BO
74702014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7471
7472 [BZ #16892]
7473 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7474 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7475
bb2ce416
SA
74762014-08-12 Sean Anderson <seanga2@gmail.com>
7477
7478 * malloc/malloc.c: Fix typo in comment.
7479
7950a4ee
AM
74802014-08-09 Allan McRae <allan@archlinux.org>
7481
7482 * Regenerate libc.po.
7483
f469c49f
MF
74842014-08-08 Mike Frysinger <vapier@gentoo.org>
7485
7486 * intl/tst-gettext2.sh: Check every lang file for creation.
7487
656b84c2
WD
74882014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7489
7490 * sysdeps/aarch64/fpu/math_private.h
7491 (libc_feholdsetround_noex_aarch64_ctx): New function.
7492
538e9e45
W
74932014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7494
7495 * sysdeps/arm/armv6/strcpy.S (strcpy):
7496 Fix performance issue in misaligned cases.
7497
d4795e4a
AZ
74982014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7499
7500 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7501 Move definition from termios.h.
7502 (struct termio): Likewise.
7503 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7504 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7505 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7506 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7507 Likewise.
7508 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7509 Move definition to ioctl-types.h
7510 (struct termio): Likewise.
7511 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7512 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7513 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7514 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7515 Likewise.
7516
64accb62
RH
75172014-08-05 Richard Henderson <rth@redhat.com>
7518
27bb6dc0
RH
7519 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7520 exceptions.
7521 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7522 Add fraiseexcpt.
7523 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7524 Use __feraiseexcept.
7525 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7526 Protect libm symbols with IS_IN_libm.
7527
64accb62
RH
7528 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7529
e5292691
BO
75302014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7531
7532 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7533
5b4bd2d4
WN
75342014-08-04 Will Newton <will.newton@linaro.org>
7535
7536 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7537 file.
7538
fcadaeef
MF
75392014-08-04 Mike Frysinger <vapier@gentoo.org>
7540
7541 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7542 variants for each function.
7543
43a94c64
RM
75442014-08-04 Roland McGrath <roland@hack.frob.com>
7545
7546 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7547 appended ...
7548 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7549 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7550 appended ...
7551 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7552 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7553 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7554 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7555 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7556 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7557 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7558 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7559 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7560 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7561 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7562 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7563 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7564 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7565 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7566 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7567 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7568 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7569 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7570 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7571 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7572 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7573 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7574 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7575 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7576 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7577 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7578 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7579 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7580 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7581 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7582 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7583 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7584 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7585 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7586 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7587 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7588 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7589 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7590 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7591 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7593 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7594 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7595 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7596 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7597 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7598 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7599 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7600 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7601 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7602 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7603 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7604 Update #include.
7605 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7606 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7607
8f3c1fa4
RM
76082014-08-04 Roland McGrath <roland@hack.frob.com>
7609
7610 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7611 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7612 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7613 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7614 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7615 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7616
ca08746f
RM
76172014-08-04 Roland McGrath <roland@hack.frob.com>
7618
7619 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7620 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7621 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7622 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7623
9c925ff9
RM
76242014-08-04 Roland McGrath <roland@hack.frob.com>
7625
7626 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7627 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7628 (__libc_vfork): Define function under this name.
7629 (__vfork): Define as an alias.
7630 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7631 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7632
e641054c
RM
76332014-08-04 Roland McGrath <roland@hack.frob.com>
7634
7635 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7636 that was previously under [RESET_PID].
7637 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7638
dacdc867
AS
76392014-08-04 Andreas Schwab <schwab@suse.de>
7640
7641 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7642
41f725ff
MF
76432014-08-03 Mike Frysinger <vapier@gentoo.org>
7644
7645 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7646 (main): Likewise.
7647
277cfb31
RM
76482014-08-01 Roland McGrath <roland@hack.frob.com>
7649
7650 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7651
4896f049
RH
76522014-08-01 Richard Henderon <rth@redhat.com>
7653
7654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7655 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7656 typo in exact zero test.
7657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7658 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7660
6f64e7d7
RM
76612014-08-01 Roland McGrath <roland@hack.frob.com>
7662
7663 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7664 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7665 * sysdeps/arm/sysdep.h: ... here.
7666 [!__ASSEMBLER__]: Include <stdint.h>.
7667
3f3dd810
SP
76682014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7669
a476ac4b
SP
7670 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7671 (HAVE_WCTYPE_H): Likewise.
7672 (HAVE_ISWCTYPE): Likewise.
7673 (ENABLE_NLS): Likewise.
7674 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7675 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7676
78dd658a
SP
7677 * posix/regex_internal.c: Check if DEBUG is defined and is
7678 set.
7679
3f3dd810
SP
7680 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7681 (HAVE_MBSRTOWCS): Likewise.
7682 * posix/fnmatch.c: Include string.h unconditionally.
7683
95ee7fb1
SL
76842014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7685
7686 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7687 reversal.
7688
23fe486b
RM
76892014-07-31 Roland McGrath <roland@hack.frob.com>
7690
f61a113f
RM
7691 * sysdeps/generic/safe-fatal.h: New file.
7692 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7693 * nptl/forward.c: Include it.
7694 (__pthread_unwind): Use __safe_fatal as default action, rather
7695 than a bogus use of INTERNAL_SYSCALL that could never work.
7696
9fe7e787
RM
7697 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7698 * configure.ac (libc_cv_builtin_trap): New test.
7699 * configure: Regenerated.
7700 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7701 (ABORT_INSTRUCTION): Define using __builtin_trap.
7702
23fe486b
RM
7703 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7704 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7705 * sysdeps/nptl/nptl-signals.h: New file.
7706 * nptl/pthreadP.h: Include <nptl-signals.h>.
7707
f349489e
SL
77082014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7709
7710 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7711 (ONE_DIRECTION): Define.
7712 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7713 (ONE_DIRECTION): Define.
7714 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7715 (ONE_DIRECTION): Define.
7716
2f438e20
SL
77172014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7718
7719 * sysdeps/s390/Makefile: Delete file.
7720 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7721 * sysdeps/s390/__longjmp.c: Delete file.
7722 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7723 Remove fields __flags and __reserved.
7724 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7725 and add versioning.
7726 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7727 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7728 * sysdeps/s390/rtld-setjmp.S: Likewise.
7729 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7730 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7731 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7732 * sysdeps/s390/s390-32/setjmp.S: ... here.
7733 Add versioning.
7734 (__sigsetjmp): Remove setting __flags field.
7735 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7736 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7737 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7738 * sysdeps/s390/s390-64/setjmp.S: ... here.
7739 Add versioning.
7740 (__sigsetjmp): Remove setting __flags field.
7741 * sysdeps/s390/setjmp.S: Delete file.
7742 * sysdeps/s390/sigjmp.c: Likewise.
7743 * sysdeps/s390/v1-longjmp.c: Likewise.
7744 * sysdeps/s390/v1-setjmp.h: Likewise.
7745 * sysdeps/s390/v1-sigjmp.c: Likewise.
7746 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7747 Remove v1-longjmp_chk.
7748 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7749 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7750 Include debug/longjmp_chk.c and add versioning.
7751 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7752 Include nptl/pt-longjmp.c and add versioning.
7753 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7754 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7755 Include __longjmp.c.
7756 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7757 Move to ...
7758 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7759 (__getcontext): Remove setting __flags field.
7760 Add versioning.
7761 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7762 Don't restore upper high grps.
7763 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7764 Likewise.
7765 (__swapcontext): Remove setting uc_flags field.
7766 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7767 Delete file.
7768 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7769 Include __longjmp.c.
7770 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7771 Move to ...
7772 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7773 (__getcontext): Remove setting __flags field.
7774 Add versioning.
7775 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7776 (__swapcontext): Remove setting uc_flags field.
7777 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7778 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7779 Remove fields uc_high_gprs and __reserved.
7780 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7781 New file with reverted content.
7782 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7784 Regenerated.
7785 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7786 Regenerated.
7787
6c9578a2
AS
77882014-07-31 Andreas Schwab <schwab@suse.de>
7789
7790 * config.h.in (HAVE_IFUNC): Define to 0.
7791 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7792 definedness.
7793
05f3633d
LM
77942014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7795
7796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7797 memmove-avx-unaligned, memcpy-avx-unaligned and
7798 mempcpy-avx-unaligned.
7799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7800 Add tests for AVX memcpy functions.
7801 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7802 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7803 memcpy_chk.
7804 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7805 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7806 memmove_chk.
7807 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7808 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7809 mempcpy_chk.
7810 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7811 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7812 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7813
a53fbd8e
AZ
78142013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815
7816 [BZ #17213]
7817 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7818 powerpc64le.
7819
0961f7e1
JL
78202014-07-29 Jeff Layton <jlayton@poochiereds.net>
7821
7822 [BZ #16839]
7823 * manual/llio.texi: Add section about open file description locks.
7824 * manual/examples/ofdlocks.c: Example of open file description
7825 lock usage.
7826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7827 F_OFD_SETLK, and F_OFD_SETLKW.
7828
cc5fb300
AM
78292014-07-23 Allan McRae <allan@archlinux.org>
7830
7831 * po/es.po: Update Spanish translation from translation project.
7832
23329dca
AS
78332014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7834
7835 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7836
9c82da17
MR
78372014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7838
7839 [BZ #17078]
7840 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7841 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7842 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7843
29c4f53e
JM
78442014-07-17 Joseph Myers <joseph@codesourcery.com>
7845
831b9896
JM
7846 [BZ #17088]
7847 * math/fesetenv.c (__fesetenv)
7848 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7849 * math/feupdateenv.c (__feupdateenv)
7850 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7851
b21c2d50
JM
7852 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7853 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7854 (__ASSUME_SOCKETCALL): Do not define.
7855
067764ef
JM
7856 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7857 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7858 (__ASSUME_SOCKETCALL): Do not define.
7859 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7860 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7861 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7862 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7863 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7864 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7865 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7866 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7867
642530c1
JM
7868 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7869 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7870 (__ASSUME_SOCKETCALL): Do not define.
7871 (__ASSUME_IPC64): Define unconditionally.
7872 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7873 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7874 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7875 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7876 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7877 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7878 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7879 Likewise.
7880
03f77315
JM
7881 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7882 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7883 (__ASSUME_SOCKETCALL): Do not define.
7884 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7885 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7886 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7887 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7888 (__ASSUME_REQUEUE_PI): Define unconditionally.
7889 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7890 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7891 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7892 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7893 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7894 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7895
083b1f7c
JM
7896 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7897 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7898 (__ASSUME_SOCKETCALL): Do not define.
7899 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7900 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7901 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7902 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7903 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7904 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7905
5be44ea6
JM
7906 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7907 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7908 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7909 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7910 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7911 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7912 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7913 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7914 (__ASSUME_GETCPU_SYSCALL): Likewise.
7915
d95ffd4c
JM
7916 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7917 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7918 cases for individual architectures.
7919 * sysdeps/gnu/configure: Regenerated.
7920 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7921 LIBC_SLIBDIR_RTLDDIR.
7922 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7923 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7924 LIBC_SLIBDIR_RTLDDIR.
7925 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7927 LIBC_SLIBDIR_RTLDDIR.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7929 Regenerated.
7930 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7931 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7932 file.
7933 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7934 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7935 file.
7936 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7937 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7938 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7939 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7940
29c4f53e
JM
7941 * sysdeps/aarch64/shlib-versions: Move to ...
7942 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7943 * sysdeps/alpha/shlib-versions: Move to ...
7944 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7945 * sysdeps/arm/shlib-versions: Move to ...
7946 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7947 * sysdeps/hppa/shlib-versions: Move all contents except for
7948 libgcc_s entry to ...
7949 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7950 entry from ...
7951 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7952 * sysdeps/ia64/shlib-versions: Move to ...
7953 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7954 entry from ...
7955 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7956 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7957 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7958 * sysdeps/microblaze/shlib-versions: Move to ...
7959 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7960 * sysdeps/mips/shlib-versions: Move to ...
7961 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7962 entry from ...
7963 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7964 * sysdeps/tile/shlib-versions: Move to ...
7965 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7966 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7967 from ...
7968 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7969 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7970 entry from ...
7971 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7972
32bead5b
WN
79732014-07-17 Will Newton <will.newton@linaro.org>
7974
57977c4b
WN
7975 * sysdeps/arm/bits/atomic.h
7976 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7977 (__arch_compare_and_exchange_bool_16_int): Likewise.
7978 (__arch_compare_and_exchange_bool_64_int): Likewise.
7979
32bead5b
WN
7980 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7981 into an #else block.
7982
37fccd41
RM
79832014-07-16 Roland McGrath <roland@hack.frob.com>
7984
7985 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7986 just Linux configurations. Test empirically that the compiler sets
7987 __ARM_EABI__, rather than using the tuple to decide.
7988 * sysdeps/arm/preconfigure: Regenerated.
7989 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7990 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7991 contents appended ...
7992 * sysdeps/arm/configure.ac: ... here.
7993 * sysdeps/arm/configure: Regenerated.
7994
b365f3ec
RM
79952014-07-15 Roland McGrath <roland@hack.frob.com>
7996
8badf496
RM
7997 * nptl/pthread_kill.c: New file.
7998 * nptl/pthread_sigmask.c: New file.
7999 * nptl/pthread_sigqueue.c: New file.
8000
3df6f22e
RM
8001 * sysdeps/nptl/lowlevellock.h: New file.
8002 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8003 * sysdeps/nptl/lowlevellock-futex.h: New file.
8004
b365f3ec
RM
8005 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8006 Remove dead declarations.
8007
f2fef657
L
80082014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8009
8010 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8011 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8012 config-cflags-avx2.
8013 * sysdeps/x86_64/configure.ac: Likewise.
8014 * sysdeps/i386/configure: Regenerated.
8015 * sysdeps/x86_64/configure: Likewise.
8016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8017 memset-avx2 only if config-cflags-avx2 is yes.
8018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8019 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8020 defined.
8021 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8022 only if HAVE_AVX2_SUPPORT is defined.
8023 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8024
f6c44d47
AM
80252014-07-14 Alan Modra <amodra@gmail.com>
8026
8027 [BZ #17153]
8028 * elf/elf.h (DT_PPC64_NUM): Correct value.
8029 * NEWS: Add to fixed bug list.
8030
7ee03f00
JM
80312014-07-13 Jim Meyering <meyering@fb.com>
8032
8033 [BZ 17150]
8034 regex: don't deref NULL upon heap allocation failure
8035 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8036 failure in one more place.
8037 To trigger the segfault, configure grep -with-included-regex,
8038 build it, and run these commands:
8039 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8040
9d39d517
AS
80412014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8042
8043 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8044
a75b89b7
RH
80452014-07-11 Richard Henderson <rth@redhat.com>
8046
8047 * sysdeps/aarch64/libm-test-ulps: Update.
8048
771eb141
FW
80492014-07-10 Florian Weimer <fweimer@redhat.com>
8050
8051 [BZ #17135]
8052 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8053 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8054 (__nptl_setxid): Initialize error member. Call
8055 __nptl_setxid_error.
8056 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8057 * nptl/descr.h (struct xid_command): Add error member.
8058 * nptl/tst-setuid3.c: New file.
8059 * nptl/Makefile (tests): Add it.
8060
bc1da176
AZ
80612014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8062
8063 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8064 New define.
8065 (__lll_trylock): Use __lll_base_trylock.
8066 (__lll_cond_trylock): Likewise.
8067
887865fc
RM
80682014-07-10 Roland McGrath <roland@hack.frob.com>
8069
c0c6bac9
RM
8070 * nptl/pthread_create.c (start_thread): Use atomic_or and
8071 lll_futex_wake directly rather than lll_robust_dead.
8072 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8073 (lll_robust_dead): Macro removed.
6a42be57 8074 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8075 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8076 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8077 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8078 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8079 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8080 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8081 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8082 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8084 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8085 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8086 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8087 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8088 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8089
887865fc
RM
8090 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8091 Use atomic_compare_and_exchange_val_acq directly rather than
8092 lll_robust_trylock.
8093 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8094 (__lll_robust_trylock, lll_robust_trylock): Removed.
8095 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8096 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8097 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8098 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8099 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8100 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8101 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8102 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8104 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8105 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8106 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8107 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8108 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8109
58536726
FW
81102014-07-02 Florian Weimer <fweimer@redhat.com>
8111
8112 * manual/locale.texi (Locale Names): New section documenting
8113 locale name syntax. Adjust menu and node chaining accordingly.
8114 (Choosing Locale): Reference Locale Names, Locale Categories.
8115 Mention setting LC_ALL=C. Reflect that name syntax is now
8116 documented.
8117 (Locale Categories): New section title. Reference Locale Names.
8118 LC_ALL is an environment variable, but not a category.
8119 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8120 description, now in Locale Name. Reference that section. Locale
8121 name syntax is now documented.
8122
4e8f95a0
FW
81232014-07-02 Florian Weimer <fweimer@redhat.com>
8124
8125 [BZ #17137]
8126 * locale/findlocale.c (name_present, valid_locale_name): New
8127 functions.
8128 (_nl_find_locale): Use the loc_name variable to store name
8129 candidates. Call name_present and valid_locale_name to check and
8130 validate locale names. Return an error if the locale is invalid.
8131
d1836456
FW
81322014-07-02 Florian Weimer <fweimer@redhat.com>
8133
8134 * locale/setlocale.c (setlocale): Use strdup for allocating
8135 composite name copy.
8136
d69b7f5a
SP
81372014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8138
888c679b
SP
8139 Sync up with gnulib.
8140 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8141 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8142 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8143 and _GL_ARG_NONNULL.
8144 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8145 [!_LIBC]: Include code for Windows and Cygwin.
8146 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8147 Include prototype for int strerror_r.
8148 [!_LIBC] (is_open): New function.
8149 (flush_stdout): New function.
8150 (print_errno_message): Use it.
8151 (error): Likewise.
8152 (error_at_line): Likewise.
8153 (error_tail) Add function attribute macros. Use
8154 __builtin_expect.
8155
180e0e4b
SP
8156 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8157
d22f1fe2
SP
8158 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8159
12f2254b
SP
8160 * io/ftw.c: Include sys/param.h unconditionally.
8161
c3c7c360
SP
8162 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8163
d62aa75a
SP
8164 [BZ #17125]
8165 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8166 libc_freeres_ptr.
8167 (freecache): New function to free CACHE on exit.
8168
d69b7f5a
SP
8169 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8170 initialization.
8171
5efe06a1
DM
81722014-07-09 David S. Miller <davem@davemloft.net>
8173
8174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8175
7000d82e
DM
8176 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8177 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8178 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8179 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8180 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8181 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8182 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8183 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8184 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8185 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8186 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8187 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8188 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8189
c213442d
AS
81902014-07-09 Andreas Schwab <schwab@suse.de>
8191
4a2552c3
AS
8192 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8193 output.
8194 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8195 (do_test): Likewise.
8196
c213442d
AS
8197 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8198
82374e65
WN
81992014-07-09 Will Newton <will.newton@linaro.org>
8200
8201 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8202 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8203 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8204 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8205 * sysdeps/hppa/start.S (_start): Likewise.
8206
6680738a
SP
82072014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8208
6ee3eab4
SP
8209 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8210
6680738a
SP
8211 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8212 defined.
8213
80b5c505
SP
82142014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8215
e35c53e3
SP
8216 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8217 after checking that it is non-NULL.
8218
80b5c505
SP
8219 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8220
91f4b564
AZ
82212014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8222
27b75f56
AZ
8223 * sysdeps/powerpc/memmove.c: Remove file.
8224 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8225 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8226 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8227 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8229 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8230 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8231 string memmove instead of removed powerpc one.
8232
e7f95bb5
AZ
8233 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8234 [weak_alias]: Fix compiler warning due trailing data.
8235 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8236 [weak_alias]: Likewise.
8237 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8238 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8239
91f4b564
AZ
8240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8241 (__libc_ifunc_impl_list): Add memmove functions.
8242
7c33f1e5
SP
82432014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8244
8245 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8246 Remove code.
8247 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8248 Likewise
8249 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8250 Likewise
8251 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8252 Likewise
8253 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8254 Likewise
8255 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8256 Likewise
8257 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8258 Likewise
8259 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8260 Likewise
8261 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8262 Likewise
8263 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8264 Likewise
8265 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8266 Likewise
8267 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8268 Likewise
8269 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8270 Likewise
8271 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8272 Likewise
8273 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8274 Likewise
8275 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8276 Likewise
8277 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8278 Likewise
8279
3f17b03b
AZ
82802014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8281
87868c24
AZ
8282 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8283 to avoid alignment traps in non-cacheable memory.
8284 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8285
07aedd78
AZ
8286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8287 multiarch objects.
8288 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8289 file: multiarch power7 memmove.
8290 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8291 multiarch default memmove.
8292 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8293 multiarch memove for powerpc32/power4.
8294
17762f66
AZ
8295 * string/bcopy.c: Use full path to include memmove.c.
8296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8297 multiarch objects.
8298 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8299 bcopy for powerpc64.
8300 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8301 bcopy for powerpc64.
8302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8303 and memmove implementations.
8304 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8305 optimized multiarch memmove for POWER7/powerpc64.
8306 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8307 default multiarch memmove for powerpc64.
8308 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8309 multiarch for powerpc64.
8310 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8311 for POWER7/powerpc64.
8312 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8313 memmove for POWER7/powerpc64.
8314
d6f68bbe
AZ
8315 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8316 glibc default one.
8317
3f17b03b
AZ
8318 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8319 __ELF_NATIVE_CLASS equal to 64.
8320
08192659
RM
83212014-07-07 Roland McGrath <roland@hack.frob.com>
8322
f4c4021b
RM
8323 * sysdeps/nptl/lowlevellock.h: File removed.
8324
f083450f
RM
8325 * NEWS: NPTL is no longer an add-on!
8326 * nptl/internaltypes.h: Moved ...
8327 * sysdeps/nptl/internaltypes.h: ... here.
8328 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8329 * sysdeps/nptl/fork.c: Likewise.
8330 * sysdeps/nptl/gai_misc.h: Likewise.
8331 * sysdeps/nptl/librt-cancellation.c: Likewise.
8332 * sysdeps/nptl/jmp-unwind.c: Likewise.
8333 * sysdeps/nptl/setxid.h: Likewise.
8334 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8335 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8336 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8337 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8338 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8339 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8340 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8341 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8342 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8343 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8344 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8345 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8346 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8347 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8348 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8349 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8350 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8351 * nptl/Makeconfig: Moved ...
8352 * sysdeps/nptl/Makeconfig: ... here.
8353 * nptl/configure: File removed.
8354 * nptl/ANNOUNCE: File removed.
8355 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8356 * sysdeps/unix/sysv/linux/configure: Regenerated.
8357
08192659
RM
8358 * nptl/Makefile (routines): Add libc_pthread_init,
8359 libc_multiple_threads, register-atfork and unregister-atfork.
8360 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8361 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8362 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8363 pthread-pi-defines.sym, structsem.sym.
8364 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8365 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8366 [$(subdir) = nptl] (tests): Add tst-setgetname.
8367 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8368 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8369 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8370 [!LIBC_SIGACTION]: Remove aliases.
8371 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8372 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8373 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8374 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8375 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8376 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8377 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8378 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8379 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8380 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8381 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8382 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8383 __libc_allocate_rtsig_private.
8384 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8385 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8386 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8387 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8388 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8389 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8390 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8391 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8392 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8393 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8394 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8395 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8396 * nptl/internaltypes.h: ... here.
8397 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8398 * sysdeps/nptl/jmp-unwind.c: ... here.
8399 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8400 * nptl/libc-lowlevellock.c: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8402 * nptl/libc_multiple_threads.c: ... here.
8403 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8404 * nptl/libc_pthread_init.c: ... here.
8405 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8406 * nptl/lowlevelbarrier.sym: ... here.
8407 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8408 * nptl/lowlevelcond.sym: ... here.
8409 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8410 * nptl/lowlevellock.c: ... here.
8411 * nptl/lowlevellock.h: Moved ...
8412 * sysdeps/nptl/lowlevellock.h: ... here.
8413 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8414 * nptl/lowlevelrobustlock.c: ... here.
8415 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8416 * nptl/lowlevelrobustlock.sym: ... here.
8417 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8418 * nptl/lowlevelrwlock.sym: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8420 * nptl/pt-fork.c: ... here.
8421 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8422 * nptl/pthread-pi-defines.sym: ... here.
8423 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8424 * nptl/pthread_attr_getaffinity.c: ... here.
8425 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8426 * nptl/pthread_attr_setaffinity.c: ... here.
8427 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8428 * nptl/pthread_mutex_cond_lock.c: ... here.
8429 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8430 Update #include.
8431 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8432 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8433 * nptl/pthread_once.c: ... here, replacing old file.
8434 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8435 * nptl/pthread_yield.c: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8437 * nptl/register-atfork.c: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8439 * nptl/sem_post.c: ... here.
8440 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8441 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8442 * nptl/sem_timedwait.c: ... here.
8443 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8444 * nptl/sem_trywait.c: ... here.
8445 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8446 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8447 * nptl/sem_wait.c: ... here.
8448 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8449 * nptl/structsem.sym: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8451 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8452 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8453 * nptl/unregister-atfork.c: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8455 * nptl/unwindbuf.sym: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8457 * sysdeps/nptl/fork.c: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8459 * sysdeps/nptl/fork.h: ... here.
8460 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8461 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8462 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8463 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8464 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8465 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8466 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8467 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8468 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8469 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8470 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8471 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8472 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8473 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8474 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8475 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8476 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8477 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8478 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8479 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8480 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8481 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8482 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8483 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8484 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8486 * sysdeps/unix/sysv/linux/raise.c: ... here.
8487 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8488 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8489 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8490 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8491 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8492 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8493 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8494 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8495 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8496 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8497 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8498 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8499 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8500 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8501 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8502
96baf6ff
SP
85032014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8504
8505 * sysdeps/generic/memcopy.h: Add comment for
8506 MEMCPY_OK_FOR_FWD_MEMMOVE.
8507
6b7b14b2
WN
85082014-07-04 Will Newton <will.newton@linaro.org>
8509
1570a72b
WN
8510 * string/memchr.c: Merge from gnulib.
8511 [_LIBC]: Remove conditionals.
8512 (__ptr_t): Remove define.
8513 (LONG_MAX_32_BITS): Likewise.
8514 (LONG_MAX): Likewise.
8515 (MEMCHR): Use ANSI prototype and optimize algorithm.
8516
6b7b14b2
WN
8517 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8518
38851324
SP
85192014-07-03 Roland McGrath <roland@hack.frob.com>
8520
3d9eb57c
RM
8521 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8522 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8523
78b984ae
RM
8524 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8525 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8526 in a bare environment with no <stdlib.h> installed.
8527 * sysdeps/nptl/configure: Regenerated.
8528
2d5976a5
RM
8529 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8530
c1f5acd4
RM
8531 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8532 AC_EGREP_CPP for kernel header checks, so they only succeed if
8533 including <linux/version.h> actually works right.
8534 * sysdeps/unix/sysv/linux/configure: Regenerated.
8535
4d614fe5
RM
8536 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8537 value so it's not diagnosed as unused.
8538
38851324
SP
8539 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8540 thing) with "ifeq ($(subdir),rt)".
8541
b3ec00e5
RH
85422014-07-03 Richard Henderson <rth@redhat.com>
8543
69862e25
RH
8544 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8545 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8546 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8547
d5e16ade
RH
8548 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8549 (math_force_eval): New.
8550
ca7b945c
RH
8551 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8552 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8553
cd1175a3
RH
8554 * sysdeps/alpha/fpu/s_round.c: Remove file.
8555 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8556
b3ec00e5
RH
8557 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8558 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8559 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8560 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8561 (_dl_start, print_statistics): Likewise.
8562 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8563 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8564
8565 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8566 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8567 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8568 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8569 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8570 (HP_SMALL_TIMING_AVAIL): Define.
8571 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8572 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8573 (HP_SMALL_TIMING_AVAIL): Define.
8574 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8575 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8576
8577 * sysdeps/aarch64/hp-timing.h: New file.
8578
8579 * sysdeps/generic/hp-timing.h: Remove dead comment.
8580 * sysdeps/generic/hp-timing-common.h: New file.
8581 * sysdeps/alpha/hp-timing.h: Include it.
8582 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8583 * sysdeps/i386/i686/hp-timing.h: Likewise.
8584 * sysdeps/ia64/hp-timing.h: Likewise.
8585 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8586 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8587 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8588 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8589 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8590 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8591 (hp_timing_t): New.
8592
8593 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8594 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8595 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8596 * elf/rtld.c (_dl_start_final): Likewise.
8597 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8598 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8599 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8600 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8601 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8603 (HP_TIMING_DIFF_INIT): Remove.
8604 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8605 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8606 (HP_TIMING_DIFF_INIT): Remove.
8607 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8608 * sysdeps/i386/i686/hp-timing.c: Remove file.
8609 * sysdeps/x86_64/hp-timing.c: Remove file.
8610 * sysdeps/ia64/hp-timing.c: Remove file.
8611 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8612 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8613 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8614 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8615
8616 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8617 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8618 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8619 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8621 (HP_TIMING_ACCUM): Remove.
8622 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8623 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8624 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8625
8626 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8627 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8628 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8629 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8630 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8631 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8632 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8633 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8634
8635 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8636
225f410f
MR
86372014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8638
8639 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8640
3247f285
SP
86412014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8642
8643 Sync up with gettext.
8644 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8645 [_MSC_VER]: Include malloc.h
8646 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8647 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8648 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8649 TEMP_FAILURE_RETRY. Cast return of alloca.
8650 [!_LIBC] Call gl_rwlock_init.
8651 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8652
d12704c7
SP
86532014-07-02 Roland McGrath <roland@hack.frob.com>
8654
8655 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8656 before checking its value.
8657
99f8dc92
SP
86582014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8659
05fdac77
SP
8660 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8661
99f8dc92
SP
8662 * debug/memcpy_chk.c: Don't include pagecopy.h.
8663 * debug/mempcpy_chk.c: Likewise.
8664 * string/memcpy.c: Likewise.
8665 * string/memmove.c: Likewise.
8666 * sysdeps/powerpc/memmove.c: Likewise.
8667 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8668 definition of PAGE_COPY_FWD_MAYBE here...
8669 * sysdeps/generic/pagecopy.h: ... from here.
8670 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8671
bc8ea385
VR
86722014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8673 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8674
8675 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8677 optimizations.
8678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8679 (__libc_ifunc_impl_list): Likewise.
8680 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8681 multiarch strcat for PPC64.
8682 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8683 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8684
fe5f34e4
RM
86852014-07-02 Roland McGrath <roland@hack.frob.com>
8686
8687 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8688
256aa665
SP
86892014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8690
d4eb8195
SP
8691 * intl/loadmsgcat.c: Remove declaration of
8692 get_sysdep_segment_value.
8693 (get_sysdep_segment_value): Use ISO C style.
8694 (_nl_load_domain): Use ISO C style. Get rid of redundant
8695 semicolon. Fix typo and formatting in comment.
8696 (_nl_unload_domain): Use ISO C style.
8697
256aa665
SP
8698 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8699
b100f9aa
WN
87002014-07-02 Will Newton <will.newton@linaro.org>
8701
8702 * malloc/obstack.c: Merge from gnulib master.
8703 [HAVE_CONFIG_H]: Remove conditional code.
8704 [!_LIBC]: Include config.h.
8705 [!ELIDE_CODE]: Don't include inttypes.h, include
8706 stdint.h unconditionally.
8707 (print_and_abort): Mark as _Noreturn.
8708 (_obstack_allocated_p): Mark as __attribute_pure__.
8709 (obstack_free): Rename to __obstack_free.
8710 [!__attribute__]: Remove conditional code.
8711 * malloc/obstack.h: Merge from gnulib master.
8712 [__cplusplus]: Move conditional down.
8713 [!__attribute_pure__]: Define __attribute_pure__ here
8714 if it is not already defined.
8715 (_obstack_memory_used): Mark as __attribute_pure__.
8716 [!__obstack_free]: Define as obstack_free.
8717 [__GNUC__]: Remove check for ancient NeXT gcc.
8718
c4c41244
PE
87192014-07-02 Will Newton <will.newton@linaro.org>
8720 Paul Eggert <eggert@cs.ucla.edu>
8721
8722 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8723
e1e041c4
SP
87242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8725
8726 * resolv/gethnamaddr.c: Add comment warning that the file is
8727 not maintained.
8728
ccf431ff
CD
87292014-07-01 Carlos O'Donell <carlos@redhat.com>
8730
d34570a6
CD
8731 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8732 entries.
8733
ccf431ff
CD
8734 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8735 entry for aio_cancel and aio_cancel64.
8736 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8737 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8738 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8739 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8740 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8741 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8742 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8743 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8744 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8745 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8746 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8747 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8748 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8749
ca06321d
RM
87502014-07-01 Roland McGrath <roland@hack.frob.com>
8751
8752 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8753 * nptl/pthread_mutex_lock.c: Likewise.
8754 * nptl/pthread_mutex_timedlock.c: Likewise.
8755 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8756
a1ac3184
RH
87572014-07-01 Richard henderson <rth@redhat.com>
8758
631021e0
RH
8759 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8760 (__isnan, __isnanl): Remove.
8761 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8762
a1ac3184
RH
8763 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8764
0c1d731f
SL
87652014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8766
8767 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8768
76985d3e
SP
87692014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8770
8771 * resolv/nss_dns/dns-host.c (getanswer_r)
8772 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8773
b0cb3096
JM
87742014-07-01 Joseph Myers <joseph@codesourcery.com>
8775
8776 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8777 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8778 undefine.
8779 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8780 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8781
4d76cb39
RM
87822014-07-01 Roland McGrath <roland@hack.frob.com>
8783
8784 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8785 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8786
8787 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8788 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8789
8790 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8791 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8792 ... here.
8793 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8794 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8795
8796 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8797 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8798 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8799 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8800
8801 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8802 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8803 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8804 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8805 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8806 Moved ...
8807 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8808 ... here.
8809 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8810 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8811 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8812 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8813 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8814 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8815 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8816 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8817 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8818 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8819 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8820 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8821 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8822 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8823 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8824 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8825 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8826 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8827 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8828 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8829 ... here.
8830 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8833 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8834 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8835 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8836 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8837 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8838
0cdcad17
DH
88392014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8840
8841 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8842 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8843 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8844 Add sysdep.
8845
9b71d0e3
AZ
88462014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8847
8848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8849
665390c2
JM
88502014-06-30 Joseph Myers <joseph@codesourcery.com>
8851
ae05a9d7
JM
8852 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8853 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8854
a7672a2f
JM
8855 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8856
665390c2
JM
8857 * sysdeps/arm/libm-test-ulps: Regenerated.
8858
d7a05d07
MR
88592014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8860 Roland McGrath <roland@hack.frob.com>
8861
8862 * test-skeleton.c (signal_handler): Kill the whole process group
8863 before killing the child individually.
8864 (main): Report any failure on `setpgid'.
8865
46f1d8a6
RM
88662014-06-30 Roland McGrath <roland@hack.frob.com>
8867
8868 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8869 from _TLS_H to _ARM_NPTL_TLS_H.
8870 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8871 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8872
9c37ec0b
JM
88732014-06-30 Joseph Myers <joseph@codesourcery.com>
8874
ce9c5b3e
JM
8875 [BZ #16539]
8876 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8877 (__expm1l): Return argument unchanged when small but not
8878 subnormal.
8879
3a6e9887
JM
8880 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8881 include macro name.
8882 (_FP_UNPACK_RAW_1_P): Likewise.
8883 (_FP_PACK_RAW_1): Likewise.
8884 (_FP_PACK_RAW_1_P): Likewise.
8885 (_FP_MUL_MEAT_1_wide): Likewise.
8886 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8887 (_FP_MUL_MEAT_1_hard): Likewise.
8888 (_FP_DIV_MEAT_1_imm): Likewise.
8889 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8890 (_FP_DIV_MEAT_1_udiv): Likewise.
8891 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8892 (_FP_UNPACK_RAW_2): Likewise.
8893 (_FP_UNPACK_RAW_2_P): Likewise.
8894 (_FP_PACK_RAW_2): Likewise.
8895 (_FP_PACK_RAW_2_P): Likewise.
8896 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8897 (_FP_MUL_MEAT_2_wide): Likewise.
8898 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8899 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8900 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8901 (_FP_MUL_MEAT_2_gmp): Likewise.
8902 (_FP_DIV_MEAT_2_udiv): Likewise.
8903 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8904 (_FP_FRAC_SRL_4): Likewise.
8905 (_FP_FRAC_SRST_4): Likewise.
8906 (_FP_FRAC_SRS_4): Likewise.
8907 (_FP_UNPACK_RAW_4): Likewise.
8908 (_FP_UNPACK_RAW_4_P): Likewise.
8909 (_FP_PACK_RAW_4): Likewise.
8910 (_FP_PACK_RAW_4_P): Likewise.
8911 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8912 (_FP_MUL_MEAT_4_wide): Likewise.
8913 (_FP_MUL_MEAT_4_gmp): Likewise.
8914 (umul_ppppmnnn): Likewise.
8915 (_FP_DIV_MEAT_4_udiv): Likewise.
8916 (__FP_FRAC_ADD_4): Likewise.
8917 (__FP_FRAC_SUB_3): Likewise.
8918 (__FP_FRAC_SUB_4): Likewise.
8919 (__FP_FRAC_DEC_3): Likewise.
8920 (__FP_FRAC_DEC_4): Likewise.
8921 (__FP_FRAC_ADDI_4): Likewise.
8922 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8923 (_FP_FRAC_SRL_8): Likewise.
8924 (_FP_FRAC_SRS_8): Likewise.
8925
9c37ec0b
JM
8926 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8927 include macro name.
8928 (FP_UNPACK_RAW_EP): Likewise.
8929 (FP_PACK_RAW_E): Likewise.
8930 (FP_PACK_RAW_EP): Likewise.
8931 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8932 (_FP_ISSIGNAN): Likewise.
8933 (_FP_ADD_INTERNAL): Likewise.
8934 (_FP_FMA): Likewise.
8935 (_FP_CMP): Likewise.
8936 (_FP_SQRT): Likewise.
8937 (_FP_TO_INT): Likewise.
8938 (_FP_FROM_INT): Likewise.
8939 (FP_EXTEND): Likewise.
8940 (_FP_DIV_MEAT_N_loop): Likewise.
8941
2125f674
MR
89422014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8943
8944 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8945 throughout.
8946
edea4028
JM
89472014-06-29 Joseph Myers <joseph@codesourcery.com>
8948
8949 [BZ #17097]
8950 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8951 result with correct sign in case of exponents that produce
8952 overflow except for X very close to 1.
8953
dd0ba018
PE
89542014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8955
8956 mktime: merge #if/#ifdef usage from glibc
8957 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8958 as that works with both Glibc's and Gnulib's style.
8959 See thread starting at Siddhesh Poyarekar's bug report at:
8960 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8961
64df73c2
SP
89622014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8963
8964 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8965 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8966 * sysdeps/tile/tilegx/memmove.c: Remove file.
8967
f1eafb41
JM
89682014-06-27 Joseph Myers <joseph@codesourcery.com>
8969
8970 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8971 abi-name definition.
8972 * scripts/soversions.awk: Do not handle or generate ABI lines.
8973 * shlib-versions: Remove ABI entries.
8974 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8975 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8976
58eb0862
RM
89772014-06-27 Roland McGrath <roland@hack.frob.com>
8978
37caf178
RM
8979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8980 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8981 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8982 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8984 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8986 Moved ...
8987 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8988 ... here.
8989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8990 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8994 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8995 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8996 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8998 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8999 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9000 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9002 Moved ...
9003 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9004 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9005 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9006 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9007 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9008 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9009 Moved ...
9010 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9012 Moved ...
9013 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9014 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9015 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9016 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9017 Moved ...
9018 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9019 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9020 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9021 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9022 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9023 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9024 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9026 Moved ...
9027 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9029 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9030 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9031 Moved ...
9032 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9033 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9034 Moved ...
9035 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9036 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9037 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9038 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9039 Moved ...
9040 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9041 ... here.
9042 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9043 Identical file removed.
9044 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9045 Moved ...
9046 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9047 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9048 Identical file removed.
9049 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9050 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9051 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9052 Moved ...
9053 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9054 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9055 Identical file removed.
9056 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9057 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9058 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9059 Identical file removed.
9060 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9061 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9062 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9063 Identical file removed.
9064 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9065 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9066 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9067 Identical file removed.
9068 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9069 Moved ...
9070 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9071 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9072 Identical file removed.
9073 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9074 Moved ...
9075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9076 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9077 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9078 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9079 Identical file removed.
9080 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9081 Moved ...
9082 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9083 ... here.
9084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9085 Identical file removed.
9086 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9087 Moved ...
9088 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9090 Identical file removed.
9091 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9092 Moved ...
9093 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9094 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9095 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9096 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9097 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9098 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9099 Moved ...
9100 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9101 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9102 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9103
58eb0862
RM
9104 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9105 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9106 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9107 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9108 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9109
6f12d062
AS
91102014-06-27 Arjun Shankar <arjun.is@lostca.se>
9111
9112 [BZ #17092]
9113 * nscd/nscd.c (monitor_child): Return exit status of child
9114 instead of return value from wait syscall.
9115
be254932
JM
91162014-06-27 Joseph Myers <joseph@codesourcery.com>
9117
cb403c34
JM
9118 * configure.ac (libc_commonpagesize): Remove variable.
9119 (libc_relro_required): Likewise.
9120 (libc_cv_z_relro): Remove configure test.
9121 * configure: Regenerated.
9122 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9123 variable.
9124 (libc_relro_required): Likewise.
9125 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9126 (libc_relro_required): Likewise.
9127 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9128 (libc_relro_required): Likewise.
9129 * sysdeps/arm/preconfigure: Regenerated.
9130 * sysdeps/ia64/preconfigure: Remove file.
9131 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9132 variable.
9133 (libc_relro_required): Likewise.
9134
be254932
JM
9135 [BZ #16561]
9136 [BZ #16562]
9137 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9138 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9139 recompute overflowing results in original rounding mode.
9140 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9141 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9142 recompute overflowing results in original rounding mode.
9143 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9144 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9145 recompute overflowing results in original rounding mode.
9146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9147 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9148 recompute overflowing results in original rounding mode.
9149 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9150 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9151 recompute overflowing results in original rounding mode.
9152 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9153 (libc_feholdsetround_ctx): New macro.
9154 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9155 * sysdeps/i386/fpu/libm-test-ulps: Update.
9156 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9157
b351d85a
JM
91582014-06-26 Joseph Myers <joseph@codesourcery.com>
9159
9160 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9161 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9162 corresponding .cpsetup call.
9163
3cb4de47
RM
91642014-06-26 Roland McGrath <roland@hack.frob.com>
9165
9166 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9167 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9168 * sysdeps/arm/Makefile [$(subdir) = csu]
9169 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9170 (static-only-routines): Add aeabi_read_tp here.
9171 (shared-only-routines): Add libc-aeabi_read_tp here.
9172 (CFLAGS-libc-start.c): Add -fexceptions here.
9173 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9174 (sysdep_routines, static-only-routines, shared-only-routines):
9175 Don't add to these here.
9176 (CFLAGS-libc-start.c): Likewise.
9177
9178 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9179 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9180 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9181 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9182 * sysdeps/arm/Makefile [$(subdir) = rt]
9183 (librt-sysdep_routines, librt-shared-only-routines):
9184 Append rt-aeabi_unwind_cpp_pr1 here.
9185 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9186 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9187 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9188 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9189 Append nptl-aeabi_unwind_cpp_pr1 here.
9190 (tests): Filter out tst-cleanupx4 here.
9191 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9192 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9193 Don't do those here.
9194
354426bb
JM
91952014-06-26 Joseph Myers <joseph@codesourcery.com>
9196
9197 * scripts/list-sources.sh: Do not handle ports specially.
9198
28b0a8c9
RM
91992014-06-26 Roland McGrath <roland@hack.frob.com>
9200
a3dd035d
RM
9201 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9202 * sysdeps/arm/feupdateenv.c: Likewise.
9203
28b0a8c9
RM
9204 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9205
e66a8203
JM
92062014-06-26 Joseph Myers <joseph@codesourcery.com>
9207
9208 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9209 trailing whitespace removed.
9210 * scripts/config.guess: Update to version 2014-03-23.
9211 * scripts/config.sub: Update to version 2014-05-01
9212 * scripts/install-sh: Update to version 2013-12-25.23.
9213 * scripts/move-if-change: Update from gnulib.
9214
74171115
SP
92152014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9216
b97c9ce5
SP
9217 * debug/memmove_chk.c: Remove pagecopy.h include.
9218
4000f892
SP
92192014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9220
74171115
SP
9221 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9222 identical to gnulib mktime.
9223
a8779c28
JM
92242014-06-26 Joseph Myers <joseph@codesourcery.com>
9225
e64708de
JM
9226 * configure.ac: Do not test for machine being rs6000. Do not test
9227 for powerpc*-*soft.
9228 * configure: Regenerated.
9229
a8779c28
JM
9230 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9231 test.
9232 * configure: Regenerated.
9233 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9234 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9235 Remove configure test.
9236 * sysdeps/arm/configure: Regenerated.
9237 * sysdeps/nptl/configure.ac: Do not check
9238 libc_cv_asm_cfi_directives.
9239 * sysdeps/nptl/configure: Regenerated.
9240 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9241 * sysdeps/x86_64/nptl/configure: Remove generated file.
9242 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9243 unconditional.
9244 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9245
2aac0a86
SP
92462014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9247
059bf913
SP
9248 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9249 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9250 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9251 it is defined.
9252
4cf5b6d0
SP
9253 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9254 instead of whether it is defined.
9255 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9256 * sysdeps/hppa/dl-machine.h: Likewise.
9257 * sysdeps/ia64/dl-machine.h: Likewise.
9258 * sysdeps/m68k/dl-machine.h: Likewise.
9259 * sysdeps/microblaze/dl-machine.h: Likewise.
9260 * sysdeps/mips/dl-machine.: Likewise.
9261 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9262 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9263 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9264 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9265 * sysdeps/sh/dl-machine.h: Likewise.
9266 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9267 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9268 * sysdeps/tile/dl-machine.h: Likewise.
9269 * sysdeps/x86_64/dl-machine.h: Likewise.
9270
2aac0a86
SP
9271 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9272 code.
9273 (verify_persistent_db): Likewise.
9274
6ad2df0b
RM
92752014-06-26 Roland McGrath <roland@hack.frob.com>
9276
d8a483f3
RM
9277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9278 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9280 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9282 Moved ...
9283 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9284 ... here.
9285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9286 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9288 Identical file removed.
9289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9290 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9292 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9294 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9296 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9298 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9300 Moved ...
9301 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9307 Moved ...
9308 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9310 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9312 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9314 Identical file removed.
9315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9316 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9318 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9320 Moved ...
9321 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9322 ... here.
9323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9324 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9326 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9330 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9332 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9334 Moved ...
9335 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9337 Moved ...
9338 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9340 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9342 Moved ...
9343 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9345 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9346
52ae23b4
RM
9347 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9348 folded into ...
9349 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9350 * sysdeps/unix/sysv/linux/s390/Versions
9351 (libpthread: GLIBC_2.19): New version set.
9352 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9353 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9354 (librt: GLIBC_2.3.3): New version set.
9355 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9356 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9357 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9358 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9359 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9360 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9361 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9362 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9363 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9364 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9365 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9366 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9367 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9368 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9369 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9371 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9372 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9373 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9375 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9377 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9379 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9380 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9381 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9382 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9383 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9384 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9385 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9386 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9388 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9391 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9393 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9395 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9396 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9397 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9399 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9400
39507e4a
RM
9401 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9402 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9403 (__libc_vfork): Define the function under this name.
9404 [!NOT_IN_libc] (__vfork): Make this an alias.
9405 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9407 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9408 (__libc_vfork): Define the function under this name.
9409 [!NOT_IN_libc] (__vfork): Make this an alias.
9410 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9411 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9412 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9413 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9414 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9415 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9416
e549ee56
RM
9417 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9418 code that was previously under [RESET_PID].
9419 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9420 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9421 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9422
6ad2df0b
RM
9423 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9424 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9425 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9426 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9427 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9428 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9429 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9430 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9431 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9432 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9433 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9434 Moved ...
9435 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9436 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9440 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9441 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9442 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9447 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9448 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9449 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9450 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9451 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9452 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9453 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9454 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9455 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9456 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9457 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9459 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9460 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9461 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9463 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9464
7c1c1d8e
RM
94652014-06-25 Roland McGrath <roland@hack.frob.com>
9466
9467 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9468 that was previously under [RESET_PID].
9469 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9470
3e239be6
JM
94712014-06-25 Joseph Myers <joseph@codesourcery.com>
9472
74385da5
JM
9473 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9474 not undefine and redefine.
9475 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9476 [O_CLOEXEC]: Make code unconditional.
9477 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9478 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9479 <kernel-features.h>.
9480 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9481 conditional variable definition.
9482 (shm_open) [O_CLOEXEC]: Make code unconditional.
9483 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9484 code.
9485
c2570a0b
JM
9486 * configure.ac (USE_REGPARMS): Don't define here.
9487 * configure: Regenerated.
9488 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9489 * sysdeps/i386/configure: Regenerated.
9490
11b076bb
JM
9491 * nptl/createthread.c: Don't include kernel-features.h.
9492 * nptl/pthread_cancel.c: Likewise.
9493 * nptl/pthread_condattr_setclock.c: Likewise.
9494 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9495 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9496 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9497 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9498 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9499 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9500 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9503 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9504 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9505 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9506 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9507 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9508 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9509 * nscd/gai.c: Likewise.
9510 * nss/nss_db/db-open.c: Likewise.
9511 * sysdeps/generic/ldsodefs.h: Likewise.
9512 * sysdeps/sh/nptl/tls.h: Likewise.
9513 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9514 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9515 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9516 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9517 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9518 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9519 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9520 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9521 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9522 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9523 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9524 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9525 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9526 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9527 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9528 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9529 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9530 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9531 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9532 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9533 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9534 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9535 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9536 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9537 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9538 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9539 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9540 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9541 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9542 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9543 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9544 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9545 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9546 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9547 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9548 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9549 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9550 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9551 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9552 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9553 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9554 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9555 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9556 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9557 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9558 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9559 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9560 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9561 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9562 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9563 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9564 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9565 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9566 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9567 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9568 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9569 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9570 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9593 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9594 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9595 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9596 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9597 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9598 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9599 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9600 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9601 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9602 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9603 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9604 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9605 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9606 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9607 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9608 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9609 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9610 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9611 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9612 * sysdeps/unix/sysv/linux/system.c: Likewise.
9613 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9614 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9615 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9616 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9617 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9618 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9619 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9620
92072d57
JM
9621 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9622 * configure: Regenerated.
9623 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9624
3e239be6
JM
9625 * configure.ac (base_machine): Do not set specially for particular
9626 machines here.
9627 * configure: Regenerated.
9628 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9629 settings from configure.ac.
9630 * sysdeps/i386/preconfigure: New file.
9631 * sysdeps/s390/preconfigure: Likewise.
9632 * sysdeps/sh/preconfigure: Likewise.
9633 * sysdeps/sparc/preconfigure: Likewise.
9634
06d50baa
RM
96352014-06-25 Roland McGrath <roland@hack.frob.com>
9636
74836003
RM
9637 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9638 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9639 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9640 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9641 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9642 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9643 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9644 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9645 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9646 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9647 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9648 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9649 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9650 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9651 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9652 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9653 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9654 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9655 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9656
9657 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9658 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9659 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9660 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9661 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9662 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9663 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9664 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9665 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9666 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9667 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9668 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9669 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9670 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9671 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9672 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9673 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9674 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9675 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9676 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9677 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9678 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9679 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9680 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9681 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9682 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9683 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9684 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9685 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9686 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9687 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9688 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9689 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9690 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9691 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9692 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9693 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9694 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9695
06d50baa
RM
9696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9697 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9699 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9701 Moved ...
9702 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9703 ... here.
9704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9705 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9707 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9709 Moved ...
9710 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9712 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9714 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9716 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9718 Moved ...
9719 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9721 Moved ...
9722 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9724 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9726 Moved ...
9727 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9729 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9731 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9733 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9735 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9737 Moved ...
9738 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9739 ... here.
9740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9741 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9743 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9745 Moved ...
9746 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9748 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9750 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9752 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9754 Moved ...
9755 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9757 Moved ...
9758 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9760 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9762 Moved ...
9763 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9765 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9767 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9768
a4ccbc9b
JM
97692014-06-25 Joseph Myers <joseph@codesourcery.com>
9770
0828edbf
JM
9771 * timezone/checktab.awk: Update from tzcode 2014e.
9772 * timezone/private.h: Likewise.
9773 * timezone/tzfile.h: Likewise.
9774 * timezone/zdump.c: Likewise.
9775 * timezone/zic.c: Likewise.
9776
a4ccbc9b
JM
9777 * sysdeps/unix/sysv/linux/kernel-features.h
9778 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9779 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9780 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9781 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9782 Remove conditional code.
9783
9aea0cb8
WN
97842014-06-25 Will Newton <will.newton@linaro.org>
9785
9786 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9787 (_dl_arm_cap_flags): Add HWCAP2 values.
9788 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9789 (_DL_HWCAP_COUNT): Increase to 37.
9790 (_DL_HWCAP_LAST): New define.
9791 (_DL_HWCAP2_LAST): New define.
9792 (_dl_procinfo): Add support for printing
9793 AT_HWCAP2 entries.
9794 (_dl_string_hwcap): Use _dl_hwcap_string.
9795
6eaa65ce
AZ
97962014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9797
9798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9799
0f5b7185
JM
98002014-06-25 Joseph Myers <joseph@codesourcery.com>
9801
cfd2ea50
JM
9802 * README: Do not mention ports directory.
9803
cecf2ed4
JM
9804 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9805 Remove macro.
9806 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9807 <kernel-features.h>.
9808 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9809 conditional variable definition.
9810 (__futimes): Update comment.
9811 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9812 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9813
a638de82
JM
9814 [BZ #16560]
9815 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9816 arguments close to 0.
9817 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9818 Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9820 Likewise.
9821 * math/auto-libm-test-in: Add more tests of exp10.
9822 * math/auto-libm-test-out: Regenerated.
9823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9824
0f5b7185
JM
9825 * sysdeps/unix/sysv/linux/kernel-features.h
9826 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9827 * sysdeps/unix/sysv/linux/readv.c: Do not include
9828 <kernel-features.h>.
9829 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9830 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9831 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9832 unconditional.
9833 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9834 conditional code.
9835 * sysdeps/unix/sysv/linux/writev.c: Do not include
9836 <kernel-features.h>.
9837 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9838 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9839 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9840 unconditional.
9841 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9842 conditional code.
9843
c7aec4be
WN
98442014-06-25 Will Newton <will.newton@linaro.org>
9845
9846 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9847 comment changes throughout the file. Remove checks
9848 for HAVE_*_H definitions that are not required.
9849 (__gen_tempname): Call abort if an unknown kind value is
9850 passed.
9851
c5241f95
AS
98522014-06-25 Andreas Schwab <schwab@suse.de>
9853
9854 [BZ #17086]
9855 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9856 scalbln, scalblnf, scalblnl in libc.
9857
911422da
SP
98582014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9859
9860 [BZ #17086]
9861 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9862 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9863 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9864
0d749bbe
RM
98652014-06-24 Roland McGrath <roland@hack.frob.com>
9866
9867 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9868 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9869 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9870 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9871 Update #include.
9872 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9873 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9874 Update #include.
9875 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9876 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9877 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9878 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9879 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9880 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9881 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9882 * sysdeps/x86/bits/semaphore.h: ... here.
9883 * sysdeps/x86/nptl/elide.h: Moved ...
9884 * sysdeps/x86/elide.h: ... here.
9885 * sysdeps/x86_64/nptl/Implies: File removed.
9886 * sysdeps/i386/nptl/Implies: File removed.
9887
0ea5d373
JM
98882014-06-24 Joseph Myers <joseph@codesourcery.com>
9889
4060283d
JM
9890 [BZ #16539]
9891 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9892 return the argument for normal arguments with exponent below -64.
9893 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9894 Likewise.
9895 * math/auto-libm-test-in: Add another test of expm1.
9896 * math/auto-libm-test-out: Regenerated.
9897
e7dd3c8c
JM
9898 [BZ #16287]
9899 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9900 calling __erfcl for arguments at least 16.
9901 * math/auto-libm-test-in: Add more tests of erf.
9902 * math/auto-libm-test-out: Regenerated.
9903
0ea5d373
JM
9904 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9905 individual architectures.
9906 * sysdeps/unix/sysv/linux/configure: Regenerated.
9907 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9908 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9909 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9910 (ldd_rewrite_script): Define variable.
9911 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9913 file.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9915 generated file.
9916 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9917 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9918 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9919 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9920 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9921 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9922 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9923 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9924
2307e126
SP
99252014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9926
9927 [BZ #17084]
9928 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9929 Rename member __data.d to __data.__elision_data.
9930
c0a4ed77
W
99312014-06-24 Wilco <wdijkstr@arm.com>
9932
9933 * NEWS: Add 16918 to fixed bug list.
9934
b8c00573
W
99352014-06-24 Wilco <wdijkstr@arm.com>
9936
9937 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9938
b5570d92
W
99392014-06-24 Wilco <wdijkstr@arm.com>
9940
9941 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9942 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9943 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9944 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9945 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9946 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9947 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9948 Use _FPU_MASK_RM.
9949
947bdca2
W
99502014-06-24 Wilco <wdijkstr@arm.com>
9951
9952 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9953
00f669ed
W
99542014-06-24 Wilco <wdijkstr@arm.com>
9955
9956 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9957 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9958 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9959 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9960
db59bad3
W
99612014-06-24 Wilco <wdijkstr@arm.com>
9962
9963 [BZ #16918]
9964 * sysdeps/arm/feupdateenv.c (feupdateenv):
9965 Rewrite to reduce FPSCR accesses and fix return value.
9966
001f7b77
W
99672014-06-24 Wilco <wdijkstr@arm.com>
9968
9969 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9970 Optimize to avoid unnecessary FPSCR writes.
9971 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9972 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9973 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9974 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9975
4841e6a6
W
99762014-06-24 Wilco <wdijkstr@arm.com>
9977
9978 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9979 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9980 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9981 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9982 Call libc_fetestexcept_vfp.
9983 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9984 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9985 __SOFTFP__ ifdef so that they can be built for softfp.
9986
0813022c
SP
99872014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9988
08e5862f
SP
9989 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9990 argument type signed char.
9991
0813022c
SP
9992 * Makerules (check-abi): Dump diff of symlist if the test
9993 fails.
9994
3fc7236a
RM
99952014-06-23 Roland McGrath <roland@hack.frob.com>
9996
aba8ef95
RM
9997 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9998 using abort.
9999
3fc7236a
RM
10000 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10001 Remove unused variable ST.
10002
4da6db51
JM
100032014-06-23 Joseph Myers <joseph@codesourcery.com>
10004
4648909d
JM
10005 [BZ #16354]
10006 [BZ #17061]
10007 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10008 small arguments before calling __expm1.
10009 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10010 small arguments before calling __expm1f.
10011 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10012 small arguments before calling __expm1l.
10013 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10014 Likewise.
10015 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10016 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10017 spurious underflow for some cosh tests.
10018 * math/auto-libm-test-out: Regenerated.
10019 * sysdeps/i386/fpu/libm-test-ulps: Update.
10020
46a3d3c7
JM
10021 [BZ #17050]
10022 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10023 (__ieee754_y1): Set errno if return value overflows.
10024 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10025 (__ieee754_y1f): Set errno if return value overflows.
10026 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10027 (__ieee754_y1l): Set errno if return value overflows.
10028 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10029 (__ieee754_y1l): Set errno if return value overflows.
10030 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10031 * math/auto-libm-test-out: Regenerated.
10032
863893ec
JM
10033 * math/gen-auto-libm-tests.c: Document use of
10034 ignore-zero-inf-sign.
10035 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10036 (input_flags): Add ignore-zero-inf-sign.
10037 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10038 * math/gen-libm-test.pl (generate_testfile): Handle
10039 ignore-zero-inf-sign.
10040 * math/auto-libm-test-in: Mark some cpow tests with
10041 ignore-zero-inf-sign and some with xfail-rounding.
10042 * math/auto-libm-test-out: Regenerated.
10043 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10046
4da6db51
JM
10047 [BZ #16315]
10048 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10049 overflowing or underflowing operations take place with sign of
10050 result.
10051 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10052 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10053 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10054 (__ieee754_pow): Recompute overflowing and underflowing results in
10055 original rounding mode.
10056 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10057 (__powl_helper): Allow negative argument X and scale negated value
10058 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10059 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10060 overflowing or underflowing operations take place with sign of
10061 result.
10062 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10063 Include <math.h>.
10064 * math/auto-libm-test-in: Add more tests of pow.
10065 * math/auto-libm-test-out: Regenerated.
10066 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10067 (pow_tonearest_test_data): Remove.
10068 (pow_test_tonearest): Likewise.
10069 (pow_towardzero_test_data): Likewise.
10070 (pow_test_towardzero): Likewise.
10071 (pow_downward_test_data): Likewise.
10072 (pow_test_downward): Likewise.
10073 (pow_upward_test_data): Likewise.
10074 (pow_test_upward): Likewise.
10075 (main): Don't call removed functions.
10076 * sysdeps/i386/fpu/libm-test-ulps: Update.
10077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10078
5686b236
RM
100792014-06-23 Roland McGrath <roland@hack.frob.com>
10080
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10082 Moved ...
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10085 Moved ...
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10088 Moved ...
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10091 Moved ...
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10094 File removed.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10096 File removed.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10098 File removed.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10100 File removed.
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10102 File removed.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10104 File removed.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10106 File removed.
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10108 File removed.
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10110 File removed.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10112 File removed.
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10114 File removed.
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10116 File removed.
10117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10118 Moved ...
10119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10121 Moved ...
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10123 ... here.
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10125 Moved ...
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10128 Moved ...
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10131 Moved ...
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10134 Moved ...
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10137 Moved ...
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10140 Moved ...
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10143 Moved ...
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10147 ... here.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10149 Moved ...
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10152 Moved ...
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10154 ... here.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10156 Moved ...
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10158 ... here.
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10160 Moved ...
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10162 ... here.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10164 Moved ...
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10167 Moved ...
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10172 Moved ...
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10174 ... here.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10176 Moved ...
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10178 ... here.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10180 Moved ...
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10183 Moved ...
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10186 Moved ...
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10189 Moved ...
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10192 Moved ...
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10194 ... here.
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10196 Moved ...
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10199 Moved ...
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10202 Moved ...
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10205 Moved ...
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10210 Moved ...
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10213 Moved ...
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10216 Moved ...
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10218 ... here.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10220 Moved ...
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10222 ... here.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10224 Moved ...
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10226 ... here.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10228 Moved ...
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10231 Moved ...
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10234 Moved ...
10235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10237 Moved ...
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10239 ... here.
10240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10241 Moved ...
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10243 ... here.
10244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10245 Moved ...
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10247 ... here.
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10249 Moved ...
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10252 Moved ...
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10254
e6d90d67
WD
102552014-06-23 Will Newton <will.newton@linaro.org>
10256 Wilco <wdijkstr@arm.com>
10257
10258 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10259 implementation. Include get-rounding-mode.h.
10260 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10261 [!libc_feholdsetround_noex_ctx]: Define
10262 libc_feholdsetround_noex_ctx.
10263 [!libc_feholdsetround_noexf_ctx]: Define
10264 libc_feholdsetround_noexf_ctx.
10265 [!libc_feholdsetround_noexl_ctx]: Define
10266 libc_feholdsetround_noexl_ctx.
10267 (libc_feholdsetround_ctx): New function.
10268 (libc_feresetround_ctx): New function.
10269 (libc_feholdsetround_noex_ctx): New function.
10270 (libc_feresetround_noex_ctx): New function.
10271
d42df555
RM
102722014-06-23 Roland McGrath <roland@hack.frob.com>
10273
88a46474
RM
10274 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10275 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10276 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10277 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10278 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10279 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10280
15bed472
RM
10281 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10282 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10283 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10284 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10285 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10286 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10287 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10288 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10290 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10291 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10292 Moved ...
10293 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10294 ... here.
10295 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10296 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10297 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10298 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10300 Moved ...
10301 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10302 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10303 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10304 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10305 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10306 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10307 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10308 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10309 Moved ...
10310 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10312 Moved ...
10313 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10314 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10315 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10316 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10317 Moved ...
10318 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10322 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10323 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10324 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10325 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10326 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10328 Moved ...
10329 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10330 ... here.
10331 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10332 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10334 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10336 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10337 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10338 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10344 Moved ...
10345 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10347 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10349 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10350 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10351 Moved ...
10352 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10353 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10354 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10355 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10356 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10357
d42df555
RM
10358 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10359 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10360 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10363 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10364 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10365 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10367 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10369 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10370 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10371 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10373 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10374 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10375 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10377 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10378 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10379 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10380 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10381 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10386
76e5216e
JM
103872014-06-23 Joseph Myers <joseph@codesourcery.com>
10388
10389 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10390 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10391 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10392 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10393 (IPV6_PMTUDISC_INTERFACE): Likewise.
10394 (IPV6_PMTUDISC_OMIT): Likewise.
10395
7a81cbcc
AS
103962014-06-23 Andreas Schwab <schwab@suse.de>
10397
10398 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10399 Remove unused errout label.
10400
db224009
AZ
104012014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10402
10403 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10404 macro: hardware supports Vector Crypto instructions.
10405
f393b4aa
WN
104062014-06-23 Will Newton <will.newton@linaro.org>
10407
cc7d0447
WN
10408 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10409 rather than __builtin_expect.
10410
d6d06225
WN
10411 * elf/dl-lookup.c (undefined_msg): Remove variable.
10412 (_dl_lookup_symbol_x): Replace undefined_msg with string
10413 literal.
10414
f393b4aa
WN
10415 * elf/dl-lookup.c (do_lookup_unique): New function.
10416 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10417 to a separate function.
10418
ac60763e
AS
104192014-06-23 Andreas Schwab <schwab@suse.de>
10420
10421 [BZ #17079]
10422 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10423 before reading the next line.
10424
c5c13355
WN
104252014-06-23 Will Newton <will.newton@linaro.org>
10426
10427 * test-skeleton.c (signal_handler): Use printf and %m
10428 rather than perror. Use printf rather than fprintf to
10429 stderr. Use puts rather than fputs to stderr.
10430 (main): Likewise.
10431
bd3675f9
LC
104322014-06-22 Ludovic Courtès <ludo@gnu.org>
10433
10434 * nscd/nscd.c (thread_info_t): Remove typedef.
10435 (thread_info): Remove variable.
10436
d03efb2f
AM
104372014-06-21 Allan McRae <allan@archlinux.org>
10438
10439 * NEWS: Mention CVE-2014-4043.
10440
bc4a86fa
RM
104412014-06-20 Roland McGrath <roland@hack.frob.com>
10442
dc9a54f8
RM
10443 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10444 * nptl/smp.h: ... here.
10445
bd7022c4
RM
10446 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10447
26ffd5e6
RM
10448 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10449 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10450 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10451 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10452
93a6d082
RM
10453 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10454 * nptl/stack-aliasing.h: New file.
10455 * sysdeps/i386/i686/stack-aliasing.h: New file.
10456 * sysdeps/i386/i686/nptl/Makefile: File removed.
10457 * sysdeps/x86_64/stack-aliasing.h: New file.
10458 * sysdeps/x86_64/nptl/Makefile
10459 (CFLAGS-pthread_create.c): Variable removed.
10460
bc4a86fa
RM
10461 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10462 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10463 old file.
10464 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10465 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10466 old file.
10467
2272ffc1
JM
104682014-06-21 Joseph Myers <joseph@codesourcery.com>
10469
10470 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10471 (__ASSUME_SIGFRAME_V2): Remove macro.
10472 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10473 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10474 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10475 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10476 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10477 Declare as function. Remove conditional macro definitions.
10478 (__default_rt_sa_restorer): Likewise.
10479 (__default_sa_restorer_v1): Remove declaration.
10480 (__default_sa_restorer_v2): Likewise.
10481 (__default_rt_sa_restorer_v1): Likewise.
10482 (__default_rt_sa_restorer_v2): Likewise.
10483 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10484 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10485 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10486
4b88139b
RM
104872014-06-20 Roland McGrath <roland@hack.frob.com>
10488
10489 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10490 (libpthread-routines): Add sysdep.
10491 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10492 * sysdeps/unix/sysv/linux/sparc/Versions
10493 (libpthread: GLIBC_2.3.3): New version set.
10494 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10495 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10496 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10497 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10498 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10499 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10500 Moved ...
10501 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10502 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10503 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10504 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10505 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10506 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10507 * sysdeps/sparc/nptl/sem_init.c: ... here.
10508 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10509 * sysdeps/sparc/nptl/sem_post.c: ... here.
10510 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10511 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10512 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10513 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10514 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10515 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10516 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10517 (libpthread-routines): Add cpu_relax.
10518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10519 File removed.
10520 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10521 (librt: GLIBC_2.3.3): New version set.
10522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10523 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10524 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10525 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10528 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10530 Moved ...
10531 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10533 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10535 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10537 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10539 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10541 Moved ...
10542 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10543 Update #include.
10544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10545 Moved ...
10546 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10547 Update #include.
10548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10549 Moved ...
10550 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10551 Update #include.
10552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10553 Moved ...
10554 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10555 Update #include.
10556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10557 Moved ...
10558 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10559 Update #include.
10560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10561 Moved ...
10562 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10563 Update #include.
10564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10565 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10571 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10573 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10575 Moved ...
10576 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10578 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10580 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10581
d7109027
JM
105822014-06-20 Joseph Myers <joseph@codesourcery.com>
10583
9bc6103d
JM
10584 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10585 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10586 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10587 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10588 * nscd/nscd.c: Likewise.
10589 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10590 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10591 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10592 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10593
d7109027
JM
10594 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10595 <kernel-features.h>.
10596 (init_mq_netlink): Remove conditional have_sock_cloexec
10597 definitions. Remove code conditional on have_sock_cloexec < 0.
10598 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10599 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10600 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10601 <kernel-features.h>.
10602 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10603 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10604
d92d8f8a
L
106052014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10606
10607 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10608 Add tests for memset_chk and memset.
10609
10610 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10611 with AVX2_Usable.
10612
4e6d2347
MR
106132014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10614
257ce712
MR
10615 [BZ #16046]
10616 * elf/tst-dl-iter-static.c: New file.
10617 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10618
4e6d2347
MR
10619 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10620 error.
10621
a2a76afe
JM
106222014-06-20 Joseph Myers <joseph@codesourcery.com>
10623
7fd00f99
JM
10624 * sysdeps/unix/sysv/linux/kernel-features.h
10625 (__ASSUME_F_GETOWN_EX): Remove macro.
10626 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10627 <kernel-features.h>.
10628 (miss_F_GETOWN_EX): Remove variable or macro.
10629 (do_fcntl): Do not check miss_F_GETOWN_EX.
10630 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10631
4a103975
JM
10632 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10633 Remove macro.
10634 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10635 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10636 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10637
a2a76afe
JM
10638 * sysdeps/unix/sysv/linux/kernel-features.h
10639 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10640 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10641 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10642 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10643
90e5dd48
MR
106442014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10645
10646 [BZ #17075]
10647 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10648 Fix calculation of the symbol's value.
10649 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10650 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10651 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10652 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10653 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10654 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10655 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10656 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10657 (modules-names): Add `tst-armtlsdescmod',
10658 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10659 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10660 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10661 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10662 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10663 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10664 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10665 ($(objpfx)tst-armtlsdescloc): New dependency.
10666 ($(objpfx)tst-armtlsdescextnow): Likewise.
10667 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10668 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10669 TLS scheme support.
10670 * sysdeps/arm/configure: Regenerate.
10671
809fdf0d
JM
106722014-06-20 Joseph Myers <joseph@codesourcery.com>
10673
10674 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10675 (__atfct_seterrno_2): Likewise.
10676 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10677 <kernel-features.h>.
10678 (__ASSUME_ATFCTS): Do not undefine and redefine.
10679 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10680 (__have_atfcts): Remove conditional definition.
10681 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10682 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10683 unreachable if [__ASSUME_ATFCTS].
10684 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10685 not undefine and redefine.
10686 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10687 <kernel-features.h>.
10688 (faccessat) [__NR_faccessat]: Make code unconditional.
10689 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10690 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10691 <kernel-features.h>.
10692 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10693 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10694 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10695 <kernel-features.h>.
10696 (fchownat) [__NR_fchownat]: Make code unconditional.
10697 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10698 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10699 <kernel-features.h>.
10700 (futimesat) [__NR_futimesat]: Make code unconditional.
10701 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10702 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10703 <kernel-features.h>.
10704 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10705 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10706 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10707 <kernel-features.h>.
10708 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10709 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10710 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10711 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10712 <kernel-features.h>.
10713 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10714 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10715 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10716 <kernel-features.h>.
10717 (linkat) [__NR_linkat]: Make code unconditional.
10718 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10719 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10720 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10721 <kernel-features.h>.
10722 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10723 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10724 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10725 <kernel-features.h>.
10726 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10727 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10728 * sysdeps/unix/sysv/linux/openat.c: Do not include
10729 <kernel-features.h>.
10730 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10731 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10732 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10733 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10734 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10735 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10736 <kernel-features.h>.
10737 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10738 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10739 result of INLINE_SYSCALL directly, not via int variable.
10740 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10741 <kernel-features.h>.
10742 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10743 (renameat) [__NR_renameat]: Make code unconditional.
10744 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10745 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10746 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10747 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10748 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10749 (__ASSUME_ATFCTS): Do not undefine and redefine.
10750 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10751 <kernel-features.h>.
10752 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10753 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10754 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10755 <kernel-features.h>.
10756 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10757 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10758 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10759 (__ASSUME_ATFCTS): Do not undefine and redefine.
10760 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10761 <kernel-features.h>.
10762 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10763 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10764 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10765 <kernel-features.h>.
10766 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10767 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10768
224c6c51
L
107692014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10770
10771 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10772
aa6ec754
AS
107732014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10774
10775 [BZ #17069]
10776 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10777 constructed tree before returning error.
10778 * posix/bug-regexp36.c: Expand test case.
10779
d8c2869d
SL
107802014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10781
3ef6b850
SL
10782 [BZ #6803]
10783 * math/libm-test.inc (scalbln_test_date):
10784 Add errno expectations.
10785 * math/w_scalblnf.c: New File.
10786 Add wrapper which checks for setting errno to ERANGE.
10787 Add weak_alias for corresponding scalbln function.
10788 * math/w_scalbln.c: Likewise.
10789 * math/w_scalblnl.c: Likewise.
10790 * math/Makefile (libm-calls): Add w_scalbln.
10791 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10792 Remove weak_alias for corresponding scalbln function.
10793 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10797 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10798 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10799 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10800 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10801 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10802 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10803 Remove long_double_symbol for scalblnl function in libm, libc.
10804 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10805 Add wrapper which checks for setting errno to ERANGE.
10806 Add long_double_symbol for scalblnl function in libm, libc.
10807 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10808 Remove long_double_symbol for scalblnl in libm.
10809 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10810 Add wrapper which checks for setting errno to ERANGE.
10811 Add long_double_symbol for scalblnl function in libm.
10812 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10813 Do not use wrapper because of own implementation.
10814
c8daec5c
L
108152014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10818 3 bytes for __pad1 for x32.
10819 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10820
5c74e47c
LM
108212014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10822 H.J. Lu <hongjiu.lu@intel.com>
10823
10824 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10825 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10826 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10827 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10828 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10829
4d43ef1e
AS
108302014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10831
10832 [BZ #17069]
10833 * posix/regcomp.c (parse_expression): Deallocate partially
10834 constructed tree before returning error.
10835 * posix/Makefile.c (tests): Add bug-regex36.
10836 (generated): Add bug-regex36.mtrace.
10837 (tests-special): Add $(objpfx)bug-regex36-mem.out
10838 (bug-regex36-ENV): New variable.
10839 ($(objpfx)bug-regex36-mem.out): New rule.
10840 * posix/bug-regex36.c: New file.
10841
51a7380b
WN
108422014-06-19 Will Newton <will.newton@linaro.org>
10843
10844 * malloc/malloc.c (systrim): If extra is zero then return
10845 early.
10846
91b84fe5
SP
108472014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10848
10849 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10850
f940b965
RE
108512014-06-19 Richard Earnshaw <rearnsha@arm.com>
10852
10853 * sysdeps/aarch64/strchr.S: New file.
10854
4ba7a00f
JM
108552014-06-18 Joseph Myers <joseph@codesourcery.com>
10856
10857 [BZ #17022]
10858 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10859 from arguments -2 or below.
10860 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10861 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10862
b3a9f56b
AS
108632014-06-18 Andreas Schwab <schwab@suse.de>
10864
10865 [BZ #17062]
10866 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10867 of a bracket expr not to run off the end of the string.
10868 * posix/Makefile (tests): Add tst-fnmatch3.
10869 * posix/tst-fnmatch3.c: New file.
10870
85d89278
JM
108712014-06-18 Joseph Myers <joseph@codesourcery.com>
10872
10873 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10874 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10875 [$(cross-compiling) = no]: Likewise.
10876 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10877 [$(cross-compiling) = no]: Likewise.
10878
754c5a08
RS
108792014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10880
10881 [BZ #17031]
10882 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10883 double, adjusted for any remainder from the high double.
10884 * math/libm-test.inc (nearbyint): Add tests.
10885 (rint): Likewise.
10886
556f529d
AZ
108872014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10888
10889 * nptl/sysdeps/powerpc/Makefile: Moved ...
10890 * sysdeps/powerpc/nptl/Makefile: ... here.
10891 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10892 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10893 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10894 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10895 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10896 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10897 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10898 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10899 * nptl/sysdeps/powerpc/tls.h: Moved ...
10900 * sysdeps/powerpc/nptl/tls.h: ... here.
10901
91c03c53
JM
109022014-06-16 Joseph Myers <joseph@codesourcery.com>
10903
10904 [BZ #16681]
10905 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10906 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10907 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10908 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10909 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10910 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10911 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10912 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10913 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10914
a76e63c5
AS
109152014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10916
10917 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10918
f2f6d82f
AS
109192014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10920
ea8a15f6
AS
10921 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10922 defined operator.
10923
f2f6d82f
AS
10924 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10925 $TIMEOUTFACTOR.
10926
a7291117
FW
109272014-06-16 Florian Weimer <fweimer@redhat.com>
10928
10929 [BZ #17058]
10930 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10931 non-executed part of the test.
10932
3d7c00e3
AS
109332014-06-16 Andreas Schwab <schwab@suse.de>
10934
10935 * string/bits/string2.h (strdup, strndup): Update feature guard.
10936
6957fb31
DM
109372014-06-14 David S. Miller <davem@davemloft.net>
10938
10939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10940
11b9e55b
AS
109412014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10942
1d2a0492
AS
10943 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10944 that was previously under [RESET_PID].
10945 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10946
11b9e55b
AS
10947 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10948 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10949 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10950 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10951 (__libc_vfork): New strong alias.
10952 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10953
0f6901d0
AK
109542014-06-14 Andi Kleen <ak@linux.intel.com>
10955
10956 * sysdeps/generic/elide.h: New file.
10957
38bbbb9f
SL
109582014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10959
10960 * Makefile (installed-headers): Adjust path of pthread.h header.
10961
45193bb8
RM
109622014-06-13 Roland McGrath <roland@hack.frob.com>
10963
9a25fd1e
RM
10964 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10965 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10966 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10967 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10968
4004f7e4
RM
10969 * nptl/sysdeps/s390/Makefile: Moved ...
10970 * sysdeps/s390/nptl/Makefile: ... here.
10971 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10972 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10973 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10974 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10975 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10976 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10977 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10978 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10979 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10980 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10981 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10982 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10983 * nptl/sysdeps/s390/tls.h: Moved ...
10984 * sysdeps/s390/nptl/tls.h: ... here.
10985
45193bb8
RM
10986 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10987 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10988
f6fdf533
DM
109892014-06-13 David S. Miller <davem@davemloft.net>
10990
10991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10994 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10998 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10999 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11000 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11001 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11002 Remove RESET_PID cpp guards.
11003 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11004 Remove RESET_PID cpp guards.
11005 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11006
f5d71e14
AS
110072014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11008
11009 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11010 __sp to uintptr_t.
11011
b7aa8caa
AK
110122014-06-13 Andi Kleen <ak@linux.intel.com>
11013
4b266200
AZ
11014 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11015 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11016 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11017 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11018 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11019 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11020 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11021 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11022 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11023 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11024 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11025 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11026 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11027 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11028 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11029 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11030 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11031 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11032 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11033 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11034
11035 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11036 (pthread_rwlock_rdlock): Add elision.
11037 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11038 (pthread_rwlock_wrlock): Add elision.
11039 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11040 (pthread_rwlock_trywrlock): Add elision.
11041 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11042 (pthread_rwlock_tryrdlock): Add elision.
11043 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11044 (pthread_rwlock_tryrdlock): Add elision unlock.
11045 * nptl/sysdeps/pthread/pthread.h:
11046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11047 (PTHREAD_RWLOCK_INITIALIZER,
11048 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11049 Handle new elision field.
11050 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11051 * sysdeps/arm/nptl/bits/pthreadtypes.h
11052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11053 * sysdeps/sh/nptl/bits/pthreadtypes.h
11054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11055 * sysdeps/tile/nptl/bits/pthreadtypes.h
11056 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11057 * sysdeps/a/nptl/bits/pthreadtypes.h
11058 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11059 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11061 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11062 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11063 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11065 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11066 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11067 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11068 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11069 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11070 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11071 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11073 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11074 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11075 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11076 (elision_init): Set try_xbegin to zero when no RTM.
11077 * sysdeps/x86/nptl/bits/pthreadtypes.h
11078 (pthread_rwlock_t): Change __pad1 to __rwelision.
11079 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11080
a832bdd3
AK
110812014-06-13 Andi Kleen <ak@linux.intel.com>
11082
11083 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11084 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11085 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11086 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11087
995a46bb
MI
110882014-06-13 Meador Inge <meadori@codesourcery.com>
11089
11090 [BZ #16996]
03ed7738 11091 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11092 that the cached result has been set before returning it.
11093
45262aee
RM
110942014-06-12 Roland McGrath <roland@hack.frob.com>
11095
febf6cc5
RM
11096 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11097 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11098 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11099 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11100 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11101 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11102
e2682246
RM
11103 * nptl/sysdeps/sparc/Makefile: Moved ...
11104 * sysdeps/sparc/nptl/Makefile: ... here.
11105 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11106 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11107 * nptl/sysdeps/sparc/tls.h: Moved ...
11108 * sysdeps/sparc/nptl/tls.h: ... here.
11109 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11110 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11111 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11112 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11113 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11114 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11115 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11116 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11117 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11118 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11119 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11120 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11121 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11122 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11123 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11124 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11125 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11126 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11127 Update #include.
11128 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11129 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11130 Update #include.
11131 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11132 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11133 Update #include.
11134 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11135 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11136 Update #include.
11137
b0725f43
RM
11138 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11139
b14368b8
RM
11140 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11141 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11142
c5620eb3
RM
11143 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11144 (struct list_links): Type removed.
11145 (struct thread_node, struct timer_node): Replace struct list_links
11146 with struct list_head.
11147 (list_unlink_ip): Likewise.
11148 * sysdeps/pthread/timer_routines.c
11149 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11150 (list_append, list_insbefore): Likewise.
11151 (list_init): Function removed.
11152 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11153 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11154 * sysdeps/pthread/Makefile: ... here, new file.
11155
11156 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11157 * sysdeps/nptl/Implies: ... here.
11158 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11159 * nptl/sysdeps/pthread/list.h: Moved ...
11160 * include/list.h: ... here.
11161 * nptl/sysdeps/pthread/createthread.c: Moved ...
11162 * nptl/createthread.c: ... here.
11163 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11164 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11165 * nptl/pt-longjmp.c: ... here.
11166 * nptl/sysdeps/pthread/Makefile: Moved ...
11167 * sysdeps/nptl/Makefile: ... here.
11168 * nptl/sysdeps/pthread/Subdirs: Moved ...
11169 * sysdeps/nptl/Subdirs: ... here.
11170 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11171 * sysdeps/nptl/aio_misc.h: ... here.
11172 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11173 * sysdeps/nptl/bits/libc-lock.h: ... here.
11174 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11175 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11176 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11177 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11178 * nptl/sysdeps/pthread/configure: Moved ...
11179 * sysdeps/nptl/configure: ... here.
11180 * nptl/sysdeps/pthread/configure.ac: Moved ...
11181 * sysdeps/nptl/configure.ac: ... here.
11182 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11183 * sysdeps/nptl/gai_misc.h: ... here.
11184 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11185 * sysdeps/nptl/librt-cancellation.c: ... here.
11186 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11187 * sysdeps/nptl/malloc-machine.h: ... here.
11188 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11189 * sysdeps/nptl/pthread-functions.h: ... here.
11190 * nptl/sysdeps/pthread/pthread.h: Moved ...
11191 * sysdeps/nptl/pthread.h: ... here.
11192 * nptl/sysdeps/pthread/setxid.h: Moved ...
11193 * sysdeps/nptl/setxid.h: ... here.
11194 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11195 * sysdeps/nptl/sigfillset.c: ... here.
11196 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11197 * sysdeps/nptl/tcb-offsets.h: ... here.
11198 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11199 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11200 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11201 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11202 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11203 * sysdeps/pthread/allocalim.h: ... here.
11204 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11205 * sysdeps/pthread/bits/sigthread.h: ... here.
11206 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11207 * sysdeps/pthread/flockfile.c: ... here.
11208 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11209 * sysdeps/pthread/ftrylockfile.c: ... here.
11210 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11211 * sysdeps/pthread/funlockfile.c: ... here.
11212 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11213 * sysdeps/pthread/posix-timer.h: ... here.
11214 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11215 * sysdeps/pthread/timer_create.c: ... here.
11216 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11217 * sysdeps/pthread/timer_delete.c: ... here.
11218 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11219 * sysdeps/pthread/timer_getoverr.c: ... here.
11220 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11221 * sysdeps/pthread/timer_gettime.c: ... here.
11222 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11223 * sysdeps/pthread/timer_routines.c: ... here.
11224 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11225 * sysdeps/pthread/timer_settime.c: ... here.
11226 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11227 * sysdeps/pthread/tst-timer.c: ... here.
11228 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11229 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11230
e876b090
RM
11231 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11232 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11233
f6b07b3d
RM
11234 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11235 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11236 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11237 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11238 Update #include target.
11239 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11240 * sysdeps/i386/i686/nptl/Makefile: ... here.
11241 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11242 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11243 Update #include target.
11244 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11245 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11246 * nptl/sysdeps/i386/Makefile: Moved ...
11247 * sysdeps/i386/nptl/Makefile: ... here.
11248 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11249 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11250 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11251 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11252 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11253 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11254 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11255 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11256 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11257 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11258 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11259 * nptl/sysdeps/i386/tls.h: Moved ...
11260 * sysdeps/i386/nptl/tls.h: ... here.
11261
45262aee
RM
11262 * sysdeps/sh/Makefile [$(subdir) = csu]
11263 (gen-as-const-headers): Add tcb-offsets.sym.
11264 * nptl/sysdeps/sh/Makefile: File removed.
11265 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11266 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11267 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11268 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11269 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11270 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11271 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11272 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11273 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11274 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11275 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11276 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11277 * nptl/sysdeps/sh/tls.h: Moved ...
11278 * sysdeps/sh/nptl/tls.h: ... here.
11279 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11280 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11281 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11282 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11283 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11284 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11285 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11286 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11288 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11290 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11291 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11292 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11293 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11294 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11295 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11296 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11298 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11300 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11302 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11304 Moved ...
11305 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11306 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11307 Moved ...
11308 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11309 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11310 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11312 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11314 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11316 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11317 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11318 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11319 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11320 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11321 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11322 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11323 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11324 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11325 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11326 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11327
35a5e3e3
SL
113282014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11329
11330 * posix/spawn_faction_addopen.c: Include string.h.
11331
14642b85
RM
113322014-06-11 Roland McGrath <roland@hack.frob.com>
11333
11334 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11335 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11336 * nptl/sysdeps/x86_64/Makefile: Moved ...
11337 * sysdeps/x86_64/nptl/Makefile: ... here.
11338 * nptl/sysdeps/x86_64/configure: Moved ...
11339 * sysdeps/x86_64/nptl/configure: ... here.
11340 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11341 * sysdeps/x86_64/nptl/configure.ac: ... here.
11342 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11343 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11344 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11345 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11346 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11347 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11348 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11349 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11350 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11351 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11352 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11353 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11354 * nptl/sysdeps/x86_64/tls.h: Moved ...
11355 * sysdeps/x86_64/nptl/tls.h: ... here.
11356 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11357 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11358 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11359 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11360
11361 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11362
31c44fea
AZ
113632014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11364
11365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11366
e81a4f9a
JM
113672014-06-11 Joseph Myers <joseph@codesourcery.com>
11368
11369 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11370 type.
11371 [POSIX] (off_t): Likewise.
11372 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11373 [POSIX] (S_ISBLK): Require macro.
11374 [POSIX] (S_ISCHR): Likewise.
11375 [POSIX] (S_ISDIR): Likewise.
11376 [POSIX] (S_ISFIFO): Likewise.
11377 [POSIX] (S_ISREG): Likewise.
11378 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11379 optional-macro.
11380 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11381 type.
11382 [POSIX] (time_t): Likewise.
11383 [POSIX] (timer_t): Likewise.
11384
89e435f3
FW
113852014-06-11 Florian Weimer <fweimer@redhat.com>
11386
11387 [BZ #17048]
11388 * posix/spawn_int.h (struct __spawn_action): Make the path string
11389 non-const to support deallocation.
11390 * posix/spawn_faction_addopen.c
11391 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11392 * posix/spawn_faction_destroy.c
11393 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11394 path in all spawn_do_open actions.
11395 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11396 posix_spawn_file_actions_addopen.
11397
c3a2ebe1
CM
113982014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11399
11400 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11401 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11402 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11403 conditional code always true.
11404 (__libc_vfork): New alias.
11405
9503784a
RM
114062014-06-11 Roland McGrath <roland@hack.frob.com>
11407
c9cab3d2
RM
11408 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11409 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11410
d3996c79
RM
11411 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11412
ba5ec611
RM
11413 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11414 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11415
f12b4814
RM
11416 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11417 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11418
9503784a
RM
11419 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11420 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11421
e23d3d26
VR
114222014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11423
11424 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11425 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11426 multiarch strcmp for PPC64.
11427 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11428 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11430 multiarch optimizations.
11431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11432 (__libc_ifunc_impl_list): Likewise.
11433
42b1161e
SP
114342014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11435
11436 * benchtests/scripts/validate_benchout.py: New script.
11437 * benchtests/Makefile (bench-func): Call it.
11438 * benchtests/scripts/benchout.schema.json: New file.
11439
2d0fc4dc
CM
114402014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11441
4a594c34
AZ
11442 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11443 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11444 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11445 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11446 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11447 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11448 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11449 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11450 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11451 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11452 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11453 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11454 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11455 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11456 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11457 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11459 Moved ...
4a594c34 11460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11461 ... here.
4a594c34 11462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11463 Moved ...
4a594c34
AZ
11464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11466 Moved ...
4a594c34 11467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11468 ... here.
4a594c34 11469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11470 Moved ...
4a594c34 11471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11472 ... here.
4a594c34 11473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11474 Moved ...
4a594c34
AZ
11475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11477 Moved ...
4a594c34 11478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11479 ... here.
4a594c34 11480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11481 Moved ...
4a594c34 11482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11483 ... here.
4a594c34 11484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11485 Moved ...
4a594c34
AZ
11486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11488 Moved ...
4a594c34 11489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11490 ... here.
4a594c34 11491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11492 Moved ...
4a594c34 11493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11494 ... here.
4a594c34 11495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11496 Moved ...
4a594c34 11497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11498 ... here.
4a594c34 11499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11500 Moved ...
4a594c34
AZ
11501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11503 Moved ...
4a594c34 11504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11505 ... here.
4a594c34 11506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11507 Moved ...
4a594c34 11508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11509 ... here.
4a594c34 11510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11511 Moved ...
4a594c34 11512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11513 ... here.
4a594c34 11514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11515 Moved ...
4a594c34
AZ
11516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11518 Moved ...
4a594c34 11519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11520 ... here.
4a594c34 11521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11522 Moved ...
4a594c34 11523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11524 ... here.
4a594c34 11525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11526 Moved ...
4a594c34
AZ
11527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11529 Moved ...
4a594c34 11530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11531 ... here.
4a594c34 11532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11533 Moved ...
4a594c34
AZ
11534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11536 Moved ...
4a594c34
AZ
11537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11539 Moved ...
4a594c34 11540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11541 ... here.
4a594c34 11542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11543 Moved ...
4a594c34 11544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11545 ... here.
4a594c34 11546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11547 Moved ...
4a594c34 11548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11549 ... here.
4a594c34 11550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11551 Moved ...
4a594c34
AZ
11552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11554 Moved ...
4a594c34 11555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11556 ... here.
4a594c34 11557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11558 Moved ...
4a594c34 11559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11560 ... here.
4a594c34
AZ
11561 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11562 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11564 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11566 Moved ...
4a594c34 11567 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11568 ... here.
4a594c34
AZ
11569 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11570 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11572 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11574 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11576 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11577 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11578 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11579 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11580 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11581 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11582 Moved ...
4a594c34
AZ
11583 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11584 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11585 Moved ...
4a594c34
AZ
11586 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11588 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11589 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11590 Moved ...
4a594c34
AZ
11591 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11592 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11593 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11594 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11595 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11596 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11597 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11598
0570cfed
W
115992014-06-10 Wilco <wdijkstr@arm.com>
11600
11601 * math/test-fenv-return.c: New file.
11602 * math/Makefile: Add new test test-fenv-return.
11603
f8ba1b56
JM
116042014-06-10 Joseph Myers <joseph@codesourcery.com>
11605
11606 [BZ #17042]
11607 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11608 when x - 1 is zero.
11609 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11610 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11611 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11612 0.0L for an argument of 1.0L.
11613 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11614 Likewise.
11615 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11616 value when x - 1 is zero.
11617 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11618 * sysdeps/i386/fpu/libm-test-ulps: Update.
11619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11620
2c3520d9
BO
116212014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11622
11623 [BZ #15119]
11624 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11625
acaa4d24
RM
116262014-06-09 Roland McGrath <roland@hack.frob.com>
11627
11628 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11629 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11630
962b744d
RM
116312014-06-09 Roland McGrath <roland@hack.frob.com>
11632
d752f0cc
RM
11633 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11634 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11635
34eda6d1
RM
11636 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11637 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11638
50f0a637
RM
11639 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11640 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11641
08f41f04
RM
11642 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11643 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11644
962b744d
RM
11645 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11646 if not already defined.
11647 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11648 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11649 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11650 (TLS_INIT_TP): Use it.
11651 (TLS_DEFINE_INIT_TP): New macro.
11652 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11653
09f19b05
JM
116542014-06-09 Joseph Myers <joseph@codesourcery.com>
11655
11656 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11657 constant.
11658 [POSIX] (IXANY): Likewise.
11659 [POSIX] (OLCUC): Likewise.
11660 [POSIX || POSIX2008] (CBAUD): Do not allow.
11661 [POSIX || POSIX2008] (DEFECHO): Likewise.
11662 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11663 [POSIX || POSIX2008] (ECHOKE): Likewise.
11664 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11665 [POSIX || POSIX2008] (EXTA): Likewise.
11666 [POSIX || POSIX2008] (EXTB): Likewise.
11667 [POSIX || POSIX2008] (FLUSHO): Likewise.
11668 [POSIX || POSIX2008] (LOBLK): Likewise.
11669 [POSIX || POSIX2008] (PENDIN): Likewise.
11670 [POSIX || POSIX2008] (SWTCH): Likewise.
11671 [POSIX || POSIX2008] (VDISCARD): Likewise.
11672 [POSIX || POSIX2008] (VDSUSP): Likewise.
11673 [POSIX || POSIX2008] (VLNEXT): Likewise.
11674 [POSIX || POSIX2008] (VREPRINT): Likewise.
11675 [POSIX || POSIX2008] (VSTATUS): Likewise.
11676 [POSIX || POSIX2008] (VWERASE): Likewise.
11677 (B*): Change to B[0123456789]*.
11678 * conform/data/time.h-data [POSIX || UNIX98]
11679 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11680 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11681 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11682 [POSIX] (tm_*): Do not allow.
11683
686554bf
JM
116842014-06-07 Joseph Myers <joseph@codesourcery.com>
11685
11686 * Makefile (install): Don't set LANGUAGE.
11687 * Makefile.in (install): Likewise.
11688 * assert/Makefile (test-assert-ENV): Remove variable.
11689 (test-assert-perr-ENV): Likewise.
11690 * elf/Makefile (neededtest4-ENV): Likewise.
11691 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11692 [$(cross-compiling) = no]: Don't set LANGUAGE.
11693 * io/ftwtest-sh (LANG): Remove variable.
11694 * libio/Makefile (tst-widetext-ENV): Likewise.
11695 * manual/install.texi (Running make install): Don't refer to
11696 environment settings for make install.
11697 * INSTALL: Regenerated.
11698 * nptl/tst-tls6.sh: Don't set LANG.
11699 * posix/globtest.sh (LANG): Remove variable.
11700 * string/Makefile (tester-ENV): Likewise.
11701 (inl-tester-ENV): Likewise.
11702 (noinl-tester-ENV): Likewise.
11703 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11704 [$(cross-compiling) = no]: Don't set LANGUAGE.
11705 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11706 without explicit environment settings.
11707
68e6b6b1
RM
117082014-06-06 Roland McGrath <roland@hack.frob.com>
11709
11710 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11711 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11712 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11713 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11714
4d3ae034
CM
117152014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11716
11717 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11718 other files in the crypt directory.
11719 * crypt/crypt.c: Remove duplicate includes.
11720 * crypt/crypt-entry.c: Likewise.
11721 * crypt/crypt_util.c: Likewise.
11722
8540f6d2
JM
117232014-06-06 Joseph Myers <joseph@codesourcery.com>
11724
11725 * Makeconfig (run-program-env): New variable.
11726 (run-program-prefix-before-env): Likewise.
11727 (run-program-prefix-after-env): Likewise.
11728 (run-program-prefix): Define in terms of new variables.
11729 (built-program-cmd-before-env): New variable.
11730 (built-program-cmd-after-env): Likewise.
11731 (built-program-cmd): Define in terms of new variables.
11732 (test-program-prefix-before-env): New variable.
11733 (test-program-prefix-after-env): Likewise.
11734 (test-program-prefix): Define in terms of new variables.
11735 (test-program-cmd-before-env): New variable.
11736 (test-program-cmd-after-env): Likewise.
11737 (test-program-cmd): Define in terms of new variables.
11738 * Rules (make-test-out): Use $(run-program-env).
11739 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11740 (help): Do not mention environment variables. Mention
11741 --timeoutfactor option.
11742 (timeoutfactor): New variable.
11743 (blacklist_exports): Remove function.
11744 (exports): Remove variable.
11745 (command): Do not include ${exports}.
11746 * manual/install.texi (Configuring and compiling): Do not mention
11747 test wrappers preserving environment variables. Mention that last
11748 assignment to a variable must take precedence.
11749 * INSTALL: Regenerated.
11750 * benchtests/Makefile (run-bench): Use $(run-program-env).
11751 * catgets/Makefile ($(objpfx)test1.cat): Use
11752 $(built-program-cmd-before-env), $(run-program-env) and
11753 $(built-program-cmd-after-env).
11754 ($(objpfx)test2.cat): Do not specify environment variables
11755 explicitly.
11756 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11757 $(run-program-env) and $(built-program-cmd-after-env).
11758 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11759 $(run-program-env) and $(test-program-cmd-after-env).
11760 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11761 explicitly.
11762 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11763 run_program_env and test_program_cmd_after_env arguments.
11764 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11765 * elf/tst-pathopt.sh: Use run_program_env argument.
11766 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11767 $(test-wrapper-env) and $(run-program-env).
11768 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11769 run_program_env arguments.
11770 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11771 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11772 $(test-program-prefix-before-env), $(run-program-env) and
11773 $(test-program-prefix-after-env).
11774 ($(objpfx)tst-gettext2.out): Likewise.
11775 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11776 run_program_env and test_program_prefix_after_env arguments.
11777 * intl/tst-gettext2.sh: Likewise.
11778 * intl/tst-gettext4.sh: Do not set environment variables
11779 explicitly.
11780 * intl/tst-gettext6.sh: Likewise.
11781 * intl/tst-translit.sh: Likewise.
11782 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11783 $(test-program-prefix-before-env), $(run-program-env) and
11784 $(test-program-prefix-after-env).
11785 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11786 run_program_env and test_program_prefix_after_env arguments.
11787 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11788 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11789 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11790 explicitly with each use of ${test_wrapper_env}.
11791 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11792 $(test-program-prefix-before-env), $(run-program-env) and
11793 $(test-program-prefix-after-env).
11794 * posix/tst-getconf.sh: Do not set environment variables
11795 explicitly.
11796 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11797 run_program_env and test_program_prefix_after_env arguments.
11798 * stdio-common/tst-printf.sh: Do not set environment variables
11799 explicitly.
11800 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11801 $(test-program-prefix-before-env), $(run-program-env) and
11802 $(test-program-prefix-after-env).
11803 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11804 run_program_env and test_program_prefix_after_env arguments.
11805 Split $test calls into $test_pre and $test.
11806 * timezone/Makefile (build-testdata): Use
11807 $(built-program-cmd-before-env), $(run-program-env) and
11808 $(built-program-cmd-after-env).
11809
ed36bfa1
AZ
118102014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11811
11812 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11813 strlen for non SHARED builds.
11814
fc75bf46
SP
118152014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11816
11817 * nptl/allocatestack.c (check_list): Inlined function...
11818 (__reclaim_stacks): ... here.
11819
d89b3d80
OB
118202014-06-05 Ondřej Bílka <neleai@seznam.cz>
11821
11822 [BZ #15698]
11823 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11824 memory overrun.
11825
2bf18041
JM
118262014-06-05 Joseph Myers <joseph@codesourcery.com>
11827
11828 * Rules (make-test-out): Include
11829 LOCPATH=$(common-objpfx)localedata in default environment.
11830 * debug/Makefile (tst-chk1-ENV): Remove variable.
11831 (tst-chk2-ENV): Likewise.
11832 (tst-chk3-ENV): Likewise.
11833 (tst-chk4-ENV): Likewise.
11834 (tst-chk5-ENV): Likewise.
11835 (tst-chk6-ENV): Likewise.
11836 (tst-lfschk1-ENV): Likewise.
11837 (tst-lfschk2-ENV): Likewise.
11838 (tst-lfschk3-ENV): Likewise.
11839 (tst-lfschk4-ENV): Likewise.
11840 (tst-lfschk5-ENV): Likewise.
11841 (tst-lfschk6-ENV): Likewise.
11842 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11843 (tst-iconv7-ENV): Likewise.
11844 * intl/Makefile (LOCPATH-ENV): Likewise.
11845 (tst-codeset-ENV): Likewise.
11846 (tst-gettext3-ENV): Likewise.
11847 (tst-gettext5-ENV): Likewise.
11848 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11849 (tst-fopenloc-ENV): Likewise.
11850 (tst-fgetws-ENV): Remove variable.
11851 (tst-ungetwc1-ENV): Likewise.
11852 (tst-ungetwc2-ENV): Likewise.
11853 (bug-ungetwc2-ENV): Likewise.
11854 (tst-swscanf-ENV): Likewise.
11855 (bug-ftell-ENV): Likewise.
11856 (tst-fgetwc-ENV): Likewise.
11857 (tst-fseek-ENV): Likewise.
11858 (tst-ftell-partial-wide-ENV): Likewise.
11859 (tst-ftell-active-handler-ENV): Likewise.
11860 (tst-ftell-append-ENV): Likewise.
11861 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11862 (tst-regexloc-ENV): Likewise.
11863 (bug-regex1-ENV): Likewise.
11864 (tst-regex-ENV): Likewise.
11865 (tst-regex2-ENV): Likewise.
11866 (bug-regex5-ENV): Likewise.
11867 (bug-regex6-ENV): Likewise.
11868 (bug-regex17-ENV): Likewise.
11869 (bug-regex18-ENV): Likewise.
11870 (bug-regex19-ENV): Likewise.
11871 (bug-regex20-ENV): Likewise.
11872 (bug-regex22-ENV): Likewise.
11873 (bug-regex23-ENV): Likewise.
11874 (bug-regex25-ENV): Likewise.
11875 (bug-regex26-ENV): Likewise.
11876 (bug-regex30-ENV): Likewise.
11877 (bug-regex32-ENV): Likewise.
11878 (bug-regex33-ENV): Likewise.
11879 (bug-regex34-ENV): Likewise.
11880 (bug-regex35-ENV): Likewise.
11881 (tst-rxspencer-ENV): Likewise.
11882 (tst-rxspencer-no-utf8-ENV): Likewise.
11883 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11884 (tst-sscanf-ENV): Likewise.
11885 (tst-swprintf-ENV): Likewise.
11886 (tst-swscanf-ENV): Likewise.
11887 (test-vfprintf-ENV): Likewise.
11888 (scanf13-ENV): Likewise.
11889 (bug14-ENV): Likewise.
11890 (tst-grouping-ENV): Likewise.
11891 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11892 (tst-strtod3-ENV): Likewise.
11893 (tst-strtod4-ENV): Likewise.
11894 (tst-strtod5-ENV): Likewise.
11895 (testmb2-ENV): Likewise./
11896 * string/Makefile (tst-strxfrm-ENV): Likewise.
11897 (tst-strxfrm2-ENV): Likewise.
11898 (bug-strcoll1-ENV): Likewise.
11899 (test-strcasecmp-ENV): Likewise.
11900 (test-strncasecmp-ENV): Likewise.
11901 * time/Makefile (tst-strptime-ENV): Likewise.
11902 (tst-ftime_l-ENV): Likewise.
11903 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11904 (tst-mbrtowc-ENV): Likewise.
11905 (tst-wcrtomb-ENV): Likewise.
11906 (tst-mbrtowc2-ENV): Likewise.
11907 (tst-c16c32-1-ENV): Likewise.
11908 (tst-mbsnrtowcs-ENV): Likewise.
11909
cd1fb604
OB
119102014-06-05 Ondřej Bílka <neleai@seznam.cz>
11911
11912 * manual/resource.texi (How to get information about the memory
11913 subsystem?): Fix typo.
11914 Reported by Peon de la Parra Ivan <peon@keba.com>
11915
b42eca7d
GY
119162014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11917
11918 [BZ #16882]
11919 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11920 (pthread_spin_lock): Branch out of spin loop to proper location.
11921 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11922 (pthread_spin_lock): Likewise.
11923
902b71f9
DM
11924 * nptl/tst-spin4.c: New test.
11925 * nptl/Makefile (tests): Add tst-spin4.
11926
f9d2d032
AS
119272014-06-03 Andreas Schwab <schwab@suse.de>
11928
11929 [BZ #15946]
11930 * resolv/res_send.c (send_dg): Reload file descriptor after
11931 calling reopen.
11932
cf7bfd28
SL
119332014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11934
11935 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11936
111cc714
RH
119372014-06-03 Richard Henderson <rth@redhat.com>
11938
89b4bd6b
RH
11939 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11940 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11941 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11942 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11943 in the SAVE_PID block.
11944 (__libc_vfork): New alias.
71840409 11945 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11946
111cc714
RH
11947 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11948 child in registers, not on the stack. Remove RESET_PID conditionals.
11949 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11950
ccc39911
MS
119512014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11952
11953 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11954
693096cc
W
119552014-06-03 Wilco <wdijkstr@arm.com>
11956
11957 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11958 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11959 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11960 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11961 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11962 Likewise.
11963
0b4366bc
W
119642014-06-03 Wilco <wdijkstr@arm.com>
11965
11966 * sysdeps/aarch64/fpu/math_private.h
11967 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11968 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11969 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11970 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11971 Fix declarations.
11972
8747cd03
KS
119732014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11974
11975 * crypt/crypt-private.h: Include ufc-crypt.h.
11976 (__b64_from_24bit): Declare extern.
11977 * crypt/crypt_util.c(__b64_from_24bit): New function.
11978 (b64t): New static const variable.
11979 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11980 (b64t): Remove variable.
11981 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11982 * crypt/sha256-crypt.c: Include crypt-private.h.
11983 (b64t): Remove variable.
11984 (__sha256_crypt_r): Remove b64_from_24bit and replace
11985 with __b64_from_24bit.
11986 * crypt/sha512-crypt.c: Likewise.
11987
d936d379
RM
119882014-06-02 Roland McGrath <roland@hack.frob.com>
11989
11990 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11991 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11992 Label the code __libc_vfork rather than __vfork.
11993 [!NOT_IN_libc] (vfork): Define as weak alias.
11994 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11995 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11996 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11997
9fa76613
SP
119982014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11999
12000 * malloc/malloc.c (malloc_info): Fix format specifier for
12001 n_mmaps.
12002
a88dadbe
W
120032014-06-02 Wilco <wdijkstr@arm.com>
12004
12005 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12006 FPCR write.
12007
c95b3011
W
120082014-06-02 Wilco <wdijkstr@arm.com>
12009
12010 [BZ #17009]
12011 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12012 Rewrite to reduce FPCR/FPSR accesses.
12013
6b4d7a90
DM
120142014-06-01 David S. Miller <davem@davemloft.net>
12015
12016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12017
30f3d07c
DM
120182014-05-31 David S. Miller <davem@davemloft.net>
12019
12020 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12021 to occur in round to nearest mode when |x| >= 2.0
12022
74f31c18
RH
120232014-05-30 Richard Henderson <rth@twiddle.net>
12024
f0712b54
RH
12025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12026 (PSEUDO_RET_NOERRNO): Remove.
12027 (ret): Don't redefine.
12028 (ret_NOERRNO): Define in terms of ret.
12029 (ret_ERRVAL): Likewise.
12030
74f31c18
RH
12031 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12032 use of PSEUDO_RET; perform the error check directly.
12033
30477995
MM
120342014-05-30 Marko Myllynen <myllynen@redhat.com>
12035
12036 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12037 with __int128_t.
12038
62a58816
SP
120392014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12040
12041 * malloc/malloc (malloc_info): Fix formatting.
12042
4d653a59
SP
120432014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12044 Roland McGrath <roland@hack.frob.com>
12045
12046 * malloc/malloc (malloc_info): Also print mmapped statistics.
12047
5190c17f
RM
120482014-05-30 Roland McGrath <roland@hack.frob.com>
12049
12050 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12051 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12052
987c0269
OB
120532014-05-30 Ondřej Bílka <neleai@seznam.cz>
12054
12055 * malloc/malloc.c (malloc_info): Inline mi_arena.
12056
af4e8ef9
RH
120572014-05-29 Richard Henderson <rth@twiddle.net>
12058
1670e207
RH
12059 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12060 Remove comma before expanding ASM_ARGS_##nr.
12061 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12062 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12063 of ASM_ARGS_##nr.
12064 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12065 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12066 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12067 (ASM_ARGS_1): Add leading comma.
12068
11a28aee
RH
12069 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12070 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12071 to __errno_location.
12072 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12073 Remove the expected plt for __errno_location.
12074
a17e5ffb 12075 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12076 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12077 call to __read_tp.
12078
b5be4597
RH
12079 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12080 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12081 it and break it down.
12082 (DOCARGS_0, DOCARGS_1): Do nothing.
12083 (DOCARGS_2): Update to store into the new stack frame.
12084 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12085 (UNDOCARGS_1): Update to restore from the new stack frame.
12086 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12087 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12088
645d44ab
RH
12089 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12090 (SINGLE_THREAD_P): New parameter for result regno.
12091 (PSEUDO): Update to match; use cbz instead of beq.
12092
a8b4f04a
RH
12093 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12094 Use ENTRY to define the _nocancel entry point. Share the syscall
12095 and syscall error check paths with the cancel path.
12096 (PSEUDO_END): New.
12097
af4e8ef9
RH
12098 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12099 whitespace; tabs before and after asm mnemonics.
12100
26b0d2e1
EW
121012014-05-29 Eric Wong <normalperson@yhbt.net>
12102
12103 [BZ #15132]
12104 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12105 Call fstat64 or stat64 internally, depending on arguments passed.
12106 Replace stat buffer argument with file descriptor argument.
12107 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12108 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12109 Pass fd to __internal_statvfs instead of calling fstat64.
12110 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12111 Pass fd to __internal_statvfs64 instead of calling fstat64.
12112 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12113 Pass -1 to __internal_statvfs instead of calling stat64.
12114 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12115 Pass -1 to __internal_statvfs64 instead of calling stat64.
12116
1efe2bd9
RM
121172014-05-28 Roland McGrath <roland@hack.frob.com>
12118
0d3b7a19
RM
12119 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12120 that was previously under [RESET_PID].
12121 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12122
1efe2bd9
RM
12123 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12124 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12125
a6bea3ca
RM
121262014-05-27 Roland McGrath <roland@hack.frob.com>
12127
30b6629e
RM
12128 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12129
a6bea3ca
RM
12130 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12131 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12132
3dfb9a5c
OB
121332014-05-27 Ondřej Bílka <neleai@seznam.cz>
12134
12135 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12136
774f9285
AS
121372014-05-27 Andreas Schwab <schwab@suse.de>
12138
12139 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12140 TLS_INIT_TP macro.
12141 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12142 * elf/rtld.c (init_tls, dl_main): Likewise.
12143 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12144 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12145 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12146 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12147 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12148 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12149 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12150 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12151 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12152 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12153 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12154 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12155 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12156 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12157 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12158 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12159 * sysdeps/generic/tls.h: Update description.
12160
36ffe739
WN
121612014-05-27 Will Newton <will.newton@linaro.org>
12162
12163 [BZ #16990]
12164 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12165 and restore r2 rather than just restoring.
12166
2482ae43
SP
121672014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12168
12169 [BZ #16724]
12170 * libio/tst-ftell-append.c: New test case.
12171 * libio/Makefile (tests): Add test case.
12172 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12173 append mode.
12174 * libio/wfileops.c (do_ftell_wide): Likewise.
12175
3d1024e8
AZ
121762014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12177
bab90016
AZ
12178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12179
c7a8d667
AZ
12180 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12181 ...
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12184 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12185 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12186 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12187 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12188 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12189 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12191 Moved ...
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12194 Moved ...
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12196 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12197 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12198 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12199 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12200 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12201 ...
12202 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12203 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12204 Moved ...
12205 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12206 here.
12207 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12208 ...
12209 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12210 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12211 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12212
daee7851
AZ
12213 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12214 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12215 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12216 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12217
50a40819
AZ
12218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12219 merge into ...
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12222 ...
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12224 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12225 ...
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12228 Moved ...
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12230 here.
12231 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12232 Moved ...
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12235 Moved ...
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12237
8464c2a1
AZ
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12239 conditional [RESET_PID].
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12242 removed.
12243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12244 removed.
12245
3d1024e8
AZ
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12247 <tcb-offsets.h>.
12248 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12249 (__libc_vfork): New strong alias.
12250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12251 removed.
12252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12253 Removed.
12254
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12256 <tcb-offsets.h>.
12257 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12258 (__libc_vfork): New strong alias.
12259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12260 removed.
12261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12262 removed.
12263
fdfd175d
CD
122642014-05-26 Carlos O'Donell <carlos@redhat.com>
12265
12266 * malloc/malloc.c (mi_arena): New function.
12267 (malloc_info): Remove nested function mi_arena. Call non-nosted
12268 function mi_arena.
12269
d298c416
AZ
122702014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12271
12272 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12273 by insrwi.
12274 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12275 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12276 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12277 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12278 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12279 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12280 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12281
b60ea6ff
AS
122822014-05-26 Andreas Schwab <schwab@suse.de>
12283
12284 [BZ #16984]
12285 * locale/programs/repertoire.c (repertoire_read): Add slash
12286 between I18NPATH element and file name.
12287 * locale/programs/locfile.c (locfile_read): Likewise.
12288
67365926
SL
122892014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12290
12291 * nptl/pthread_mutexattr_settype.c
12292 (__pthread_mutexattr_settype):
12293 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12294
f8bdf1f0
SL
122952014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12296
12297 * nptl/tst-mutex5 (do_test):
12298 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12299
15eaf6ff
SP
123002014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12301
12302 * benchtests/README: Document 'init' directive.
12303 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12304 BENCH_INIT.
12305 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12306 (parse_file): Recognize 'init' directive.
12307
75f11331
KM
123082014-05-26 Kyle McMartin <kyle@redhat.com>
12309
12310 [BZ #16796]
12311 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12312 alignment of struct pthread.
12313
c3ec475c
SP
123142014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12315
12316 [BZ #16878]
12317 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12318 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12319 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12320 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12321
82aab97c
RH
123222014-05-25 Richard Henderson <rth@twiddle.net>
12323
aa2f176d
RH
12324 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12325 (SINGLE_THREAD_P_PIC): Remove.
12326 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12327 (SINGLE_THREAD_P_PIC): Remove.
12328
ca3cfa40
RH
12329 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12330 branch to syscall error ...
12331 (PSEUDO): ... here.
12332 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12333 from __local_syscall_error to .Lsyscall_error.
12334 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12335 (SYSCALL_ERROR): Update label name.
12336
6e6c2d01
RH
12337 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12338 Do not use DOARGS/UNDOARGS.
12339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12340 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12341 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12342 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12343 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12344
c69abcee
RH
12345 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12346 block comment.
12347
82aab97c
RH
12348 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12349 define if !NOT_IN_libc.
12350 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12351 define with non-default symbol versions.
12352
8820e3ac
RH
123532014-05-23 Richard Henderson <rth@twiddle.net>
12354
900e445f
RH
12355 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12356 (vfork, __vfork): Define via compat_symbol.
12357
8820e3ac
RH
12358 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12359 [!HAVE_IFUNC] (vfork_compat): Remove.
12360 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12361
e59252a5
JM
123622014-05-23 Joseph Myers <joseph@codesourcery.com>
12363
12364 [BZ #16978]
12365 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12366 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12367 variable.
12368
132c7f5f
RH
123692014-05-23 Richard Henderson <rth@twiddle.net>
12370
bc89e962
RH
12371 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12372 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12373 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12374 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12375
12376 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12377 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12378 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12379 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12380 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12381 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12382 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12383 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12384 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12385 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12386 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12387 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12388 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12389 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12390 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12391 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12392 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12393 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12394 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12395 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12396 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12397 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12398 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12399 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12400 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12401 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12402 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12403 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12404 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12405 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12406 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12407 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12408 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12409 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12410 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12411 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12412 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12413 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12414 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12415 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12416 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12417 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12418 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12419 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12420 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12421 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12422 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12423 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12425 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12426 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12427 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12428 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12429 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12430 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12431 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12432
e2fa4bc2
RH
12433 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12434 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12435 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12436 before exiting on error.
12437 (__libc_vfork): New strong alias.
12438 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12439 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12440
279b24e2
RH
12441 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12442 that was previously under [RESET_PID].
12443 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12444
132c7f5f
RH
12445 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12446
b72592e7
JM
124472014-05-23 Joseph Myers <joseph@codesourcery.com>
12448
12449 [BZ #16977]
12450 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12451 value when x - 1 is zero.
12452 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12453 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12454 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12455 0.0L for an argument of 1.0L.
12456 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12457 Likewise.
12458 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12459 value when x - 1 is zero.
12460 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12461 * sysdeps/i386/fpu/libm-test-ulps: Update.
12462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12463
2302d679
RV
124642014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12465
12466 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12467 alphasort and versionsort.
12468
32999d63
AZ
124692014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12470
12471 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12472 macro.
12473 [copysignf]: Likewise.
12474
019324d0
SP
124752014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12476
12477 * crypt/md5-crypt.c: Fix formatting.
12478
34fff5c2
KS
124792014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12480
12481 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12482 (b64_from_24bit): New function.
12483
3d2badac
AZ
124842014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12485
12486 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12487 libc_hidden_builtin_def to ifunc.
12488 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12489 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12490
f7bb179f 124912014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12492
12493 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12494 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12495
4134b50d
JM
124962014-05-21 Joseph Myers <joseph@codesourcery.com>
12497
bb7d0337
JM
12498 * nscd/Depend (linuxthreads): Remove.
12499 (nptl): Add.
12500 * resolv/Depend (linuxthreads): Remove.
12501 * rt/Depend (linuxthreads): Remove.
12502
4134b50d
JM
12503 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12504 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12505 $(common-objpfx)elf/.
12506 (link-libc-before-gnulib): Likewise.
12507 (elfobjdir): Remove variable.
12508 * Makefile (install): Use $(elf-objpfx) instead of
12509 $(common-objpfx)elf/.
12510 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12511 $(elfobjdir)/.
12512 (link-libc-deps): Likewise.
12513 ($(common-objpfx)libc.so): Likewise.
12514 ($(common-objpfx)linkobj/libc.so): Likewise.
12515 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12516 instead of $(common-objpfx)elf/.
12517 (symbolic-link-list): Likewise.
12518 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12519 [$(cross-compiling) = no]: Likewise.
12520 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12521 $(elfobjdir)/.
12522 (static-gnulib-arch): Likewise.
12523 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12524 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12525 $(common-objpfx)elf/.
12526
3612eb8f
RH
125272014-05-21 Richard Henderson <rth@redhat.com>
12528
a6b3657b
RH
12529 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12530 (SINGLE_THREAD_P): Use the correct width load. Fold
12531 into the ldr offset.
12532
3612eb8f
RH
12533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12534 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12535
175cef41
JM
125362014-05-20 Joseph Myers <joseph@codesourcery.com>
12537
12538 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12539 (libgcc_s_resume): Use __attribute_used__.
12540 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12541 Likewise.
12542
e13bccd3
AZ
125432014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12544
12545 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12546 optimization when used with float constants.
12547
7c112a38
AZ
12548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12549
ae75a883
AJ
125502014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12551
12552 [BZ #16915]
12553 * locale/nl_langinfo_l.c: Make direct reference to every
12554 _nl_current_CATEGORY symbol.
12555 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12556 (tests-static): Add tst-langinfo-static.
12557 (tests-special): Add tst-langinfo-static.out.
12558 ($(objpfx)tst-langinfo.out): Redirect output.
12559 ($(objpfx)tst-langinfo-static.out): New.
12560 * localedata/tst-langinfo.sh: Send output to stdout.
12561 * localedata/tst-langinfo-static.c: New file.
12562
4406c41c
AJ
12563 [BZ #16965]
12564 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12565 when the shift amount is modulo the limb size.
12566
4c0a1e63
RH
125672014-05-20 Richard Henderson <rth@redhat.com>
12568
de9d8f20
RH
12569 [BZ #16967]
12570 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12571 Change type of sa_flags from unsigned int to int.
12572
4c0a1e63
RH
12573 [BZ #16966]
12574 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12575
12576 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12577
a60339aa
WN
125782014-05-20 Will Newton <will.newton@linaro.org>
12579
12580 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12581 Test the return value of the system call in the nocancel case.
12582
7d05a816
YR
125832014-05-20 Will Newton <will.newton@linaro.org>
12584 Yvan Roux <yvan.roux@linaro.org>
12585
12586 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12587 #include of asm/ptrace.h.
12588 (PTRACE_GET_THREAD_AREA): Remove #undef.
12589 (PTRACE_GETHBPREGS): Likewise.
12590 (PTRACE_SETHBPREGS): Likewise.
12591 (struct user_regs_struct): New structure.
12592 (struct user_fpsimd_struct): New structure.
12593 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12594 #include of asm/ptrace.h and second #include of sys/user.h.
12595 (PTRACE_GET_THREAD_AREA): Remove #undef.
12596 (PTRACE_GETHBPREGS): Likewise.
12597 (PTRACE_SETHBPREGS): Likewise.
12598 (ELF_NGREG): Use new struct user_regs_struct.
12599 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12600
af121e37
AZ
126012014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12602
12603 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12604 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12605
834caf06
JM
126062014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12607
12608 [BZ #16958]
12609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12610 membar to avoid block loads/stores to overlap previous stores.
12611
e184a918
RH
126122014-05-17 Richard Henderson <rth@redhat.com>
12613
12614 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12615 Create the __##syscall_name##_nocancel entry point.
12616 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12617 Remove; let the sysdep-cancel.h code create it.
12618
f56c7a6a
DM
126192014-05-17 David S. Miller <davem@davemloft.net>
12620
12621 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12622 Protect with __USE_GNU.
12623 (TIOCSET_TEMPT): Likewise.
12624 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12625 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12626 these are already provided in bits/ioctl-types.h
12627
f75616b2
RM
126282014-05-16 Roland McGrath <roland@hack.frob.com>
12629
3edeca86
RM
12630 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12631 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12632
f75616b2
RM
12633 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12634 Use wait4 regardless of [__NR_waitpid].
12635
deb0f7f6
MR
126362014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12637
12638 PR libgcc/60166
12639 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12640 (_FP_NANSIGN_Q): Set the quiet bit.
12641
79520f4b
JM
126422014-05-16 Joseph Myers <joseph@codesourcery.com>
12643
12644 * benchtests/Makefile
12645 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12646 not $(common-objpfx)math/libm.so.
12647 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12648 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12649 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12650 $(common-objpfx)dlfcn/libdl.so.
12651 ($(objpfx)tst-audit8): Depend on $(libm), not
12652 $(common-objpfx)math/libm.so.
12653 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12654 not $(common-objpfx)dlfcn/libdl.so.
12655 * math/Makefile
12656 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12657 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12658 [$(build-shared) = yes].
12659 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12660 $(common-objpfx)nptl/libpthread.so.
12661 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12662 $(common-objpfx)math/libm.so$(libm.so-version) or
12663 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12664 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12665 $(common-objpfx)dlfcn/libdl.so.
12666 * setjmp/Makefile (link-libm): Remove variable.
12667 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12668 * stdio-common/Makefile (link-libm): Remove variable.
12669 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12670 * stdlib/Makefile (link-libm): Remove variable.
12671 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12672 ($(objpfx)tst-strtod-round): Likewise.
12673 ($(objpfx)tst-tininess): Likewise.
12674 ($(objpfx)tst-strtod-underflow): Likewise.
12675 ($(objpfx)tst-strtod6): Likewise.
12676 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12677 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12678 $(common-objpfx)dlfcn/libdl.so.
12679
026b0fe4
AZ
126802014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12681
12682 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12683 BSD terminal modes definitions.
12684
def4bcb2
RM
126852014-05-16 Roland McGrath <roland@hack.frob.com>
12686
fe39b021
RM
12687 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12688 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12689
1d1fc46e 12690 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12691 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12692 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12693 Don't do #include_next.
12694 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12695 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12696 Don't do #include_next.
12697 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12698 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12699 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12700 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12701
c72399fb
AM
127022014-05-16 Allan McRae <allan@archlinux.org>
12703
d51d659d
AM
12704 * po/sv.po: Update Swedish translation from translation project.
12705
c72399fb
AM
12706 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12707 in sed expression.
12708
d0583c40
AJ
127092014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12710
12711 [BZ #16917]
12712 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12713 errno if the TIOCGPTN ioctl fails with an error different than
12714 EINVAL.
12715 * login/tst-ptsname.c: New file.
12716 * login/Makefile (tests): Add tst-ptsname.
12717
d16e6ec7
AJ
12718 [BZ #16943]
12719 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12720 and prlimit64.
12721
cf26a0cb
SP
127222014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12723
12724 [BZ #16849]
12725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12726 herrno to return EAI_AGAIN.
12727
5675da1e
RM
127282014-05-14 Roland McGrath <roland@hack.frob.com>
12729
a5d87b3d
RM
12730 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12731 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12732 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12733 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12734 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12735 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12736 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12737 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12739 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12740 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12741 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12742 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12743 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12744 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12745 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12746 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12747 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12748 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12749 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12750 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12751 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12752 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12753 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12754 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12755 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12756 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12757 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12758 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12759 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12761 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12763 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12765 Moved ...
12766 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12768 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12770 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12772 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12774 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12776 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12778 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12780 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12782 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12784 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12786 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12788 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12790 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12792 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12794 Moved ...
12795 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12797 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12799 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12801 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12803 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12805 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12807 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12809 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12811 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12813 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12815 Moved ...
12816 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12818 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12819
039890a6
RM
12820 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12821 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12822 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12823 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12824 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12825 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12826 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12827 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12828 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12829 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12830 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12831 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12832 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12833 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12834 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12835 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12836 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12837 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12838 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12839 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12840 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12841 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12842 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12843 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12844 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12845 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12846 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12847 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12848 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12849 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12850 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12851
65c89320
RM
12852 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12853 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12854
348f8e8c
RM
12855 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12856 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12857 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12858 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12859 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12860 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12861 Moved ...
12862 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12863 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12864 Moved ...
12865 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12866 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12867 Moved ...
12868 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12869 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12870 Moved ...
12871 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12872 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12873 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12874 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12875 Moved ...
12876 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12877 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12878 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12879 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12880 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12881 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12882 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12883 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12884 Moved ...
12885 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12886 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12887 Moved ...
12888 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12889 ... here.
12890 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12891 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12892 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12893 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12894 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12895 Moved ...
12896 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12897 ... here.
12898 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12899 Moved ...
12900 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12901 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12902 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12903 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12904 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12905 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12906 Moved ...
12907 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12908 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12909 Moved ...
12910 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12911 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12912 Moved ...
12913 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12914 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12915 Moved ...
12916 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12917 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12918 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12919 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12920 Moved ...
12921 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12922 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12923 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12924 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12925 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12926 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12927 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12928 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12929 Moved ...
12930 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12931 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12932 Moved ...
12933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12934 ... here.
12935 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12936 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12937 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12938 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12939 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12940 Moved ...
12941 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12942 ... here.
12943 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12944 Moved ...
12945 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12946 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12947 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12948 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12949 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12950 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12951 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12952 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12953 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12954 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12955 Moved ...
12956 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12958 Moved ...
12959 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12960 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12961 Moved ...
12962 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12963 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12964 Moved ...
12965 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12966 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12967 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12968 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12969 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12970 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12971 Moved ...
12972 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12973 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12974 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12975 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12976 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12977 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12978 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12979 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12980 Moved ...
12981 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12983 Moved ...
12984 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12985 ... here.
12986 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12987 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12988 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12989 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12990 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12991 Moved ...
12992 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12993 ... here.
12994 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12995 Moved ...
12996 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12997 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12998 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12999 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13000 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13001 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13002 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13003 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13004 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13005 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13006 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13007
5085af05
RM
13008 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13009 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13010
708f0813
RM
13011 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13012 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13013
c96067bc
RM
13014 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13015 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13016 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13017 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13018 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13019 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13020 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13021 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13022 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13023 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13024 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13025 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13026 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13027 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13028 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13030 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13031 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13032 Moved ...
13033 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13034 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13035 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13036 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13037 Moved ...
13038 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13040 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13041 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13042 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13043 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13044 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13045 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13046 Moved ...
13047 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13048 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13049 Moved ...
13050 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13051 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13052 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13053 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13054 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13055 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13056 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13057 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13058 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13059 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13060 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13061 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13062 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13063 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13064 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13065 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13066 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13067
ec136444
RM
13068 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13069 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13070 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13071 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13072 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13073
2fbdf533
RM
13074 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13075 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13076 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13077 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13078 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13079 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13080 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13081 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13082 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13083 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13084
4c68138b
RM
13085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13087
4eaae765
RM
13088 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13089 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13090 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13091 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13092 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13093 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13094 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13095 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13096 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13097 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13098 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13099 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13100 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13101 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13103 Update #include.
13104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13105 Likewise.
13106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13107 Likewise.
13108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13109 Likewise.
13110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13111 Likewise.
13112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13113 Likewise.
13114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13115 Likewise.
13116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13117 Likewise.
13118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13119 Likewise.
13120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13121 Likewise.
4ef6befa
RM
13122 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13124 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13126 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13127 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13128 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13129 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13130 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13131 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13132 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13133 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13134 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13135 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13136 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13137
941d7dfd
RM
13138 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13139 that was previously under [RESET_PID].
13140 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13141 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13142 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13143
1b731c35
RM
13144 * sysdeps/i386/nptl/Implies: New file.
13145 * sysdeps/x86_64/nptl/Implies: New file.
13146 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13147 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13148 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13149 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13150
e2787137
RM
13151 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13152 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13153 (__libc_vfork): New strong alias.
13154 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13155 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13156
13157 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13158 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13159 (__libc_vfork): New strong alias.
13160 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13161 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13162
5675da1e
RM
13163 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13164 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13165 (__libc_vfork): New strong alias.
13166 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13167 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13168 * nptl/pt-vfork.c: New file.
13169 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13170 (libpthread: GLIBC_2.20): New version set (empty).
13171
4f02e2b8
WN
131722014-05-14 Will Newton <will.newton@linaro.org>
13173
13174 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13175 rather than #if.
13176
0bf061d3
JM
131772014-05-14 Joseph Myers <joseph@codesourcery.com>
13178
1a84c3d6
JM
13179 [BZ #16564]
13180 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13181 arguments with exponent 65 or above.
13182 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13183 arguments 0x1p113L or above.
13184 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13185 to arguments 0x1p107L or above.
13186 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13187 positive arguments with exponent 65 or above.
13188 * math/auto-libm-test-in: Add more tests of log1p.
13189 * math/auto-libm-test-out: Regenerated.
13190
01dbacd2
JM
13191 [BZ #16928]
13192 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13193 non-finite arguments is +0.
13194 * math/s_cacosf.c (__cacosf): Likewise.
13195 * math/s_cacosl.c (__cacosl): Likewise.
13196 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13197 * sysdeps/i386/fpu/libm-test-ulps: Update.
13198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13199
913d03c8
JM
13200 [BZ #16927]
13201 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13202 value.
13203 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13204 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13205 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13206 for explicit high bit of mantissa when testing for argument equal
13207 to 1.
13208 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13209 * sysdeps/i386/fpu/libm-test-ulps: Update.
13210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13211
0bf061d3
JM
13212 [BZ #16516]
13213 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13214 (__erf): Scale by 16 instead of 8 in potentially underflowing
13215 case. Ensure exception if result actually underflows.
13216 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13217 (__erff): Scale by 16 instead of 8 in potentially underflowing
13218 case. Ensure exception if result actually underflows.
13219 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13220 (efx8): Remove variable.
13221 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13222 case. Ensure exception if result actually underflows.
13223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13224 (efx8): Remove variable.
13225 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13226 case. Ensure exception if result actually underflows.
13227 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13228 (efx8): Remove variable.
13229 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13230 case. Ensure exception if result actually underflows.
13231 * math/auto-libm-test-in: Add more tests of erf.
13232 * math/auto-libm-test-out: Regenerated.
13233
73ba67cb
AS
132342014-05-14 Andreas Schwab <schwab@suse.de>
13235
3d8c8bff
AS
13236 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13237 Remove code conditionalized on USE___THREAD.
13238
73ba67cb
AS
13239 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13240 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13241 not definedness.
13242
5c521ecd
JM
132432014-05-14 Joseph Myers <joseph@codesourcery.com>
13244
5e7698c6
JM
13245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13246 Define unconditionally.
13247 (__ASSUME_O_CLOEXEC): Likewise.
13248 (__ASSUME_SOCK_CLOEXEC): Likewise.
13249 (__ASSUME_IN_NONBLOCK): Likewise.
13250 (__ASSUME_PIPE2): Likewise.
13251 (__ASSUME_EVENTFD2): Likewise.
13252 (__ASSUME_SIGNALFD4): Likewise.
13253 (__ASSUME_DUP3): Likewise.
13254 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13255 (__ASSUME_DUP3): Do not define.
13256 (__ASSUME_EVENTFD2): Likewise.
13257 (__ASSUME_IN_NONBLOCK): Likewise.
13258 (__ASSUME_O_CLOEXEC): Likewise.
13259 (__ASSUME_PIPE2): Likewise.
13260 (__ASSUME_SIGNALFD4): Likewise.
13261 (__ASSUME_SOCK_CLOEXEC): Likewise.
13262 (__ASSUME_UTIMES): Undefine.
13263 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13264 (__ASSUME_UTIMES): Do not define.
13265 (__ASSUME_O_CLOEXEC): Likewise.
13266 (__ASSUME_SOCK_CLOEXEC): Likewise.
13267 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13268 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13269 0x020621].
13270 (__ASSUME_PIPE2): Likewise.
13271 (__ASSUME_EVENTFD2): Likewise.
13272 (__ASSUME_SIGNALFD4): Likewise.
13273 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13274 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13275 Do not define.
13276 (__ASSUME_EVENTFD2): Likewise.
13277 (__ASSUME_SIGNALFD4): Likewise.
13278 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13279 (__ASSUME_32BITUIDS): Likewise.
13280 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13281 (__ASSUME_IPC64): Likewise.
13282 (__ASSUME_ST_INO_64_BIT): Likewise.
13283 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13284 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13285 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13286 (__ASSUME_UTIMES): Do not define.
13287 (__ASSUME_PSELECT): Likewise.
13288 (__ASSUME_PPOLL): Likewise.
13289 (__ASSUME_O_CLOEXEC): Likewise.
13290 (__ASSUME_SOCK_CLOEXEC): Likewise.
13291 (__ASSUME_IN_NONBLOCK): Likewise.
13292 (__ASSUME_PIPE2): Likewise.
13293 (__ASSUME_EVENTFD2): Likewise.
13294 (__ASSUME_SIGNALFD4): Likewise.
13295 (__ASSUME_DUP3): Likewise.
13296 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13297 (__ASSUME_UTIMES): Likewise.
13298 (__ASSUME_O_CLOEXEC): Likewise.
13299 (__ASSUME_SOCK_CLOEXEC): Likewise.
13300 (__ASSUME_IN_NONBLOCK): Likewise.
13301 (__ASSUME_PIPE2): Likewise.
13302 (__ASSUME_EVENTFD2): Likewise.
13303 (__ASSUME_SIGNALFD4): Likewise.
13304 (__ASSUME_DUP3): Likewise.
13305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13306 (__ASSUME_UTIMES): Likewise.
13307 (__ASSUME_O_CLOEXEC): Likewise.
13308 (__ASSUME_SOCK_CLOEXEC): Likewise.
13309 (__ASSUME_IN_NONBLOCK): Likewise.
13310 (__ASSUME_PIPE2): Likewise.
13311 (__ASSUME_EVENTFD2): Likewise.
13312 (__ASSUME_SIGNALFD4): Likewise.
13313 (__ASSUME_DUP3): Likewise.
13314 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13315 Likewise.
13316 (__ASSUME_UTIMES): Likewise.
13317 (__ASSUME_EVENTFD2): Likewise.
13318 (__ASSUME_SIGNALFD4): Likewise.
13319 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13320 (__ASSUME_O_CLOEXEC): Likewise.
13321 (__ASSUME_SOCK_CLOEXEC): Likewise.
13322 (__ASSUME_IN_NONBLOCK): Likewise.
13323 (__ASSUME_PIPE2): Likewise.
13324 (__ASSUME_EVENTFD2): Likewise.
13325 (__ASSUME_SIGNALFD4): Likewise.
13326 (__ASSUME_DUP3): Likewise.
13327 (__ASSUME_UTIMES): Undefine.
13328
5c521ecd
JM
13329 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13330 feclearexcept. Remove symbol versioning code.
13331 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13332 symbol versioning code.
13333 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13334 symbol versioning code.
13335 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13336 feupdateenv. Remove symbol versioning code.
13337 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13338 fegetexceptflag. Remove symbol versioning code.
13339 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13340 fesetexceptflag. Remove symbol versioning code.
13341 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13342 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13343 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13344 (__posix_fadvise64_l32): Remove prototype.
13345 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13346 code.
13347
5da9dfad
RM
133482014-05-13 Roland McGrath <roland@hack.frob.com>
13349
13350 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13351 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13352 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13353 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13354
893b4f37
SK
133552014-05-13 Sami Kerola <kerolasa@iki.fi>
13356
13357 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13358 current working directory
13359
e0db6517
RM
133602014-05-13 Roland McGrath <roland@hack.frob.com>
13361
58aa195d
RM
13362 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13363 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13364 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13365 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13366 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13367 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13368 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13369 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13370 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13371 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13372 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13373 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13374 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13375 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13376 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13377 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13378 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13379 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13380 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13381 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13382 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13383 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13384 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13385 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13386 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13387 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13388 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13389 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13390 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13391 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13392 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13393 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13394 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13395 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13396 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13397 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13398 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13399 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13400 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13401 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13402 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13403 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13404
8c6d01f0
RM
13405 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13406 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13407
13408 * sysdeps/unix/sysv/linux/arm/Makefile
13409 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13410 Add rt-aeabi_unwind_cpp_pr1.
13411 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13412 Add nptl-aeabi_unwind_cpp_pr1.
13413 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13414 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13415 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13416 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13417 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13418 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13419
13420 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13421 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13422 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13423 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13424
bba6da4e
RM
13425 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13426 Deconditionalize the code that was previously under [RESET_PID].
13427 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13428
e0db6517
RM
13429 * sysdeps/generic/exit-thread.h: New file.
13430 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13431 * include/unistd.h (__exit_thread): Remove declaration.
13432 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13433 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13434 * csu/libc-start.c: Include <exit-thread.h>.
13435 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13436 * nptl/pthread_create.c: Include <exit-thread.h>.
13437 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13438 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13439 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13440 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13441 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13442 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13443 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13444 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13445 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13446 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13447 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13448 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13449 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13450 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13451 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13452 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13453 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13454
01eb16fd
AS
134552014-05-13 Andreas Schwab <schwab@suse.de>
13456
13457 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13458
637461d9
JM
134592014-05-12 Joseph Myers <joseph@codesourcery.com>
13460
13461 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13462 (__ASSUME_UTIMES): Do not condition on kernel version.
13463 (__ASSUME_PSELECT): Define unconditionally.
13464 (__ASSUME_PPOLL): Likewise.
13465 (__ASSUME_ATFCTS): Likewise.
13466 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13467 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13468 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13469 (__ASSUME_UTIMENSAT): Define unconditionally.
13470 (__ASSUME_PRIVATE_FUTEX): Likewise.
13471 (__ASSUME_FALLOCATE): Likewise.
13472 (__ASSUME_O_CLOEXEC): Likewise.
13473 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13474 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13475 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13476 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13477 (__ASSUME_IN_NONBLOCK): Likewise.
13478 (__ASSUME_PIPE2): Likewise.
13479 (__ASSUME_EVENTFD2): Likewise.
13480 (__ASSUME_SIGNALFD4): Likewise.
13481 (__ASSUME_DUP3): Likewise.
13482 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13483 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13484 (__ASSUME_AT_RANDOM): Likewise.
13485 (__ASSUME_PREADV): Likewise.
13486 (__ASSUME_PWRITEV): Likewise.
13487 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13488 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13489 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13490 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13491 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13493 (__ASSUME_O_CLOEXEC): Define unconditionally.
13494 (__ASSUME_PSELECT): Do not undefine conditionally.
13495 (__ASSUME_PPOLL): Likewise.
13496 (__ASSUME_ATFCTS): Likewise.
13497 (__ASSUME_SET_ROBUST_LIST): Likewise.
13498 (__ASSUME_UTIMENSAT): Likewise.
13499 (__ASSUME_FDATASYNC): Define unconditionally.
13500 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13501 (__ASSUME_SIGFRAME_V2): Likewise.
13502 )__ASSUME_EVENTFD2): Likewise.
13503 (__ASSUME_SIGNALFD4): Likewise.
13504 (__ASSUME_PSELECT): Do not undefine conditionally.
13505 (__ASSUME_PPOLL): Likewise.
13506 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13507 (__ASSUME_PSELECT): Define unconditionally.
13508 (__ASSUME_PPOLL): Likewise.
13509 (__ASSUME_O_CLOEXEC): Likewise.
13510 (__ASSUME_SOCK_CLOEXEC): Likewise.
13511 (__ASSUME_IN_NONBLOCK): Likewise.
13512 (__ASSUME_PIPE2): Likewise.
13513 (__ASSUME_EVENTFD2): Likewise.
13514 (__ASSUME_SIGNALFD4): Likewise.
13515 (__ASSUME_DUP3): Likewise.
13516 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13517 (__ASSUME_O_CLOEXEC): Likewise.
13518 (__ASSUME_SOCK_CLOEXEC): Likewise.
13519 (__ASSUME_IN_NONBLOCK): Likewise.
13520 (__ASSUME_PIPE2): Likewise.
13521 (__ASSUME_EVENTFD2): Likewise.
13522 (__ASSUME_SIGNALFD4): Likewise.
13523 (__ASSUME_DUP3): Likewise.
13524 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13525 (__ASSUME_EVENTFD2): Likewise.
13526 (__ASSUME_SIGNALFD4): Likewise.
13527 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13528
315eb1d8
AS
135292014-05-12 Andreas Schwab <schwab@suse.de>
13530
13531 [BZ #16932]
13532 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13533 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13534 than maximum RPC packet size.
13535 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13536 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13537 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13538 (_nss_nis_getservbyport_r): Likewise.
13539
91df99f7
WN
135402014-05-12 Will Newton <will.newton@linaro.org>
13541
13542 * malloc/Makefile (tests): Add tst-mallopt.
13543 * malloc/tst-mallopt.c: New file.
13544
0a982a29
RM
135452014-05-09 Roland McGrath <roland@hack.frob.com>
13546
13547 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13548 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13549
0ded08a5
AZ
135502014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13551
13552 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13553 (tst-tlsmod6.so): Likewise.
13554
55d4d550
RM
135552014-05-09 Roland McGrath <roland@hack.frob.com>
13556
13557 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13558
77d08aca
JM
135592014-05-09 Joseph Myers <joseph@codesourcery.com>
13560
13561 [BZ #16064]
13562 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13563 and <dl-procinfo.h>.
13564 (__fegetenv): Save SSE state in envp->__eip if supported.
13565 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13566 envp->__eip if supported.
13567 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13568 and <dl-procinfo.h>.
13569 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13570 __data_offset and __data_selector in environment to 0. Set SSE
13571 state if supported.
13572 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13573 test-fenv-sse.
13574 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13575 -mfpmath=sse.
13576 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13577
28162f4d
WN
135782014-05-09 Will Newton <will.newton@linaro.org>
13579
13580 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13581 and libc_relro_required for ARM.
13582 * sysdeps/arm/preconfigure: Regenerate.
13583
5a414ff7
DV
135842014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13585 Stefan Liebler <stli@linux.vnet.ibm.com>
13586
13587 * config.make.in (enable-lock-elision): New Makefile variable.
13588 * configure.ac: Likewise.
13589 * configure: Regenerate.
13590 * sysdeps/s390/configure.ac:
13591 Add check for gcc transactions support.
13592 * sysdeps/s390/configure: Regenerate.
13593 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13594 Build elision files if enabled.
13595 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13596 Add lock elision support for s390.
13597 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13598 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13599 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13600 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13601 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13602 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13603 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13604 Likewise.
13605 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13606 Likewise.
13607 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13608 Likewise.
13609 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13610 Likewise.
13611 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13612 (__lll_timedlock_elision, __lll_lock_elision)
13613 (__lll_unlock_elision, __lll_trylock_elision)
13614 (lll_timedlock_elision, lll_lock_elision)
13615 (lll_unlock_elision, lll_trylock_elision): Add.
13616 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13617 (pthread_mutex_t): Add lock elision support for s390.
13618
1a2f40e5
W
136192014-05-14 Wilco <wdijkstr@arm.com>
13620
13621 * sysdeps/arm/fclrexcpt.c: Cleanup.
13622 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13623 * sysdeps/arm/feenablxcpt.c: Cleanup.
13624 * sysdeps/arm/fegetenv.c: Cleanup.
13625 * sysdeps/arm/fegetexcept.c: Cleanup.
13626 * sysdeps/arm/fegetround.c: Cleanup.
13627 * sysdeps/arm/feholdexcpt.c: Cleanup.
13628 * sysdeps/arm/fesetenv.c: Cleanup.
13629 * sysdeps/arm/fesetround.c: Cleanup.
13630 * sysdeps/arm/feupdateenv.c: Cleanup.
13631 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13632 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13633 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13634 * sysdeps/arm/ftestexcept.c: Cleanup.
13635 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13636 * sysdeps/arm/setfpucw.c: Cleanup.
13637
f63c86fe
WN
136382014-05-09 Will Newton <will.newton@linaro.org>
13639
13640 * sysdeps/arm/armv7/strcmp.S: New file.
13641 * NEWS: Mention addition of ARMv7 optimized strcmp.
13642
7a1a51b5
RM
136432014-05-08 Roland McGrath <roland@hack.frob.com>
13644
95afbbe5
RM
13645 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13646 look for %.ac rather than %.in.
13647
13648 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13649 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13650 * sysdeps/mach/hurd/configure: Regenerated.
13651 * sysdeps/unix/sysv/linux/configure: Regenerated.
13652
7a1a51b5
RM
13653 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13654
5057ad3b
SE
136552014-05-07 Steve Ellcey <sellcey@mips.com>
13656
13657 [BZ# 16922]
13658 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13659 (LONG_SUB): Ditto.
13660 (PTR_SUB): Ditto.
13661
8dc97517
AS
136622014-05-07 Andreas Schwab <schwab@suse.de>
13663
13664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13665 when skipping over non-matching result from nscd.
13666
ce0c5b8f
OB
136672014-05-07 Ondřej Bílka <neleai@seznam.cz>
13668
13669 [BZ #16876]
13670 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13671
a1189263
OB
13672 [BZ #16877]
13673 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13674 nscd security class.
ce0c5b8f 13675
0f58d252
RM
136762014-05-06 Roland McGrath <roland@hack.frob.com>
13677
13678 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13679 * sysdeps/arm/unwind.h: ... here.
13680
83df9ad0
AJ
136812014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13682
ce0c5b8f
OB
13683 [BZ# 16916]
13684 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13685 Define.
83df9ad0 13686
f360f94a
VR
136872014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13688
13689 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13690 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13691 multiarch strncpy for PPC64.
13692 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13693 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13695 multiarch optimizations.
13696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13697 (__libc_ifunc_impl_list): Likewise.
13698 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13699 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13700 multiarch stpncpy for PPC64.
13701 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13702 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13703
978a41c3
AS
137042014-05-06 Andreas Schwab <schwab@suse.de>
13705
13706 [BZ #16912]
13707 * gmon/mcount.c (_MCOUNT_DECL): Use
13708 atomic_compare_and_exchange_bool_acq instead of
13709 catomic_compare_and_exchange_bool_acq.
13710
eb1ed03d
RM
137112014-05-05 Roland McGrath <roland@hack.frob.com>
13712
fe658845
RM
13713 * elf/Makefile (others, install-bin): Remove pldd.
13714 (pldd-modules): Variable removed.
13715 ($(objpfx)pldd): Target removed.
13716 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13717 (others, install-bin): Append pldd here.
13718 ($(objpfx)pldd): New target.
13719
eb1ed03d
RM
13720 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13721 to 0, so the first #if test emitted later doesn't see it undefined.
13722 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13723 * sysdeps/gnu/errlist.c: Regenerated.
13724
19c4bec0
AZ
137252014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13726
13727 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13728 [libc_hidden_builtin_def]: Define to empty value.
13729 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13730 [libc_hidden_builtin_def]: Likewise.
13731 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13732 [libc_hidden_builtin_def]: Likewise.
13733 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13734 [libc_hidden_builtin_def]: Likewise.
13735 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13736 __redirect_memcpy and define ifunc as default hidden symbol.
13737 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13738 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13739
7776e669
AC
137402014-05-04 Adam Conrad <adconrad@0c3.net>
13741
13742 * locale/iso-4217.def: Reintroduce XDR currency.
13743
d69aeb12
AM
137442014-05-04 Allan McRae <allan@archlinux.org>
13745
13746 * po/eo.po: Update Esperanto translation from translation project.
13747
8f1df5cf
CD
137482014-05-02 Carlos O'Donell <carlos@redhat.com>
13749
13750 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13751 and FEATURE_INDEX_MAX to 1.
13752 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13753
13e402e7
SE
137542014-05-01 Steve Ellcey <sellcey@mips.com>
13755
13756 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13757 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13758 * iconvdata/big5.c (ONE_DIRECTION): Define.
13759 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13760 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13761 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13762 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13763 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13764 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13765 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13766 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13767 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13768 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13769 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13770 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13771 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13772 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13773 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13774 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13775 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13776 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13777 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13778 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13779 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13780 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13781 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13782 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13783 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13784 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13785 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13786 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13787 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13788 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13789 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13790 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13791 * iconvdata/johab.c (ONE_DIRECTION): Define.
13792 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13793 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13794 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13795 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13796 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13797 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13798 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13799 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13800 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13801 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13802
c727f032
RM
138032014-05-01 Roland McGrath <roland@hack.frob.com>
13804
8f2f08d0
RM
13805 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13806 (_IO_JUMPS_OFFSET): Define to 0.
13807
c727f032
RM
13808 * nptl/sysdeps/pthread/bits/libc-lock.h
13809 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13810 (__libc_lock_define_initialized_recursive): Always define using
13811 initializer. Modern compilers treat uninitialized (implicit zero) and
13812 explicit zero initializers the same (i.e. put the datum in bss).
13813
a849e800
AS
138142014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13815
13816 * nscd/nscd-client.h: Include <string.h>.
13817
5331255b
DM
138182014-05-01 David S. Miller <davem@davemloft.net>
13819
13820 [BZ #16885]
13821 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13822 multiple zero bytes exist at the end of a string.
13823 Reported by Aurelien Jarno <aurelien@aurel32.net>
13824
13825 * string/test-strcmp.c (check): Add explicit test for situations where
13826 there are multiple zero bytes after the first.
13827
4fdfe821
AS
138282014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13829
13830 [BZ #16890]
13831 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13832 when compiling wprintf.
13833 * stdio-common/tstdiomisc.c (t3): New function.
13834 (main): Call it.
13835
0cdddc25
SE
138362014-05-01 Steve Ellcey <sellcey@mips.com>
13837
13838 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13839 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13840 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13841 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13842
6426d77e
SE
138432014-05-01 Steve Ellcey <sellcey@mips.com>
13844
13845 * stdlib/longlong.h: Updated from GCC.
13846
6d96f5e4
WN
138472014-05-01 Will Newton <will.newton@linaro.org>
13848 Bernard Ogden <bernie.ogden@linaro.org>
13849
7470db0c
WN
13850 * NEWS: Update fixed bug list.
13851
6d96f5e4
WN
13852 [BZ #15119]
13853 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13854
211d653c
DM
138552014-04-30 David S. Miller <davem@davemloft.net>
13856
4fa262fa
DM
13857 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13858 (libc_feholdexcept_setround_sparc_ctx): New function.
13859 (libc_fesetenv_sparc_ctx): Likewise.
13860 (libc_feupdateenv_sparc_ctx): Likewise.
13861 (libc_feholdsetround_sparc_ctx): Likewise.
13862 (libc_feholdexcept_setround_ctx): Define.
13863 (libc_feholdexcept_setroundf_ctx): Likewise.
13864 (libc_feholdexcept_setroundl_ctx): Likewise.
13865 (libc_fesetenv_ctx): Likewise.
13866 (libc_fesetenvf_ctx): Likewise.
13867 (libc_fesetenvl_ctx): Likewise.
13868 (libc_feupdateenv_ctx): Likewise.
13869 (libc_feupdateenvf_ctx): Likewise.
13870 (libc_feupdateenvl_ctx): Likewise.
13871 (libc_feresetround_ctx): Likewise.
13872 (libc_feresetroundf_ctx): Likewise.
13873 (libc_feresetroundl_ctx): Likewise.
13874 (libc_feholdsetround_ctx): Likewise.
13875 (libc_feholdsetroundf_ctx): Likewise.
13876 (libc_feholdsetroundl_ctx): Likewise.
13877
1d3d93ef
DM
13878 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13879 with __USE_GNU instead of XOPEN cpp guards.
13880
8aa583c3
DM
13881 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13882 0.
13883
211d653c
DM
13884 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13885 with XOPEN cpp guards.
13886
60c8f1f6
JB
138872014-04-30 Julian Brown <julian@codesourcery.com>
13888
13889 [BZ #16888]
13890 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13891 handling.
13892
9a461d46
JM
138932014-04-30 Joseph Myers <joseph@codesourcery.com>
13894
d0f5b3f8
JM
13895 [BZ #9894]
13896 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13897 Change to 2.6.32.
13898 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13899 * sysdeps/unix/sysv/linux/configure: Regenerated.
13900 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13901 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13902 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13903 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13904 * README: Update reference to required Linux kernel version.
13905 * manual/install.texi (Linux): Update reference to required Linux
13906 kernel headers version.
13907 * INSTALL: Regenerated.
13908
9a461d46
JM
13909 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13910 header inclusion.
13911 [POSIX] (limits.h): Likewise.
13912 [POSIX] (math.h): Likewise.
13913 [POSIX] (sys/wait.h): Likewise.
13914 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13915 function.
13916 [POSIX] (stddef.h): Do not allow header inclusion.
13917
1775babf
AZ
139182014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13919
57f41c40 13920 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13921
8f630cca
YY
139222014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13923
13924 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13925 Return immediately after lll_futex_wake.
13926
1cdeb237
SP
139272014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13928
bc8f194c
SP
13929 [BZ #16791]
13930 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13931 structure.
13932 (datahead_init_pos): Call datahead_init_common early.
13933 (datahead_init_neg): Likewise.
13934
1cdeb237
SP
13935 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13936 datahead_init_neg): New functions.
13937 * nscd/aicache.c (addhstaiX): Use them.
13938 * nscd/grpcache.c (cache_addgr): Likewise.
13939 * nscd/hstcache.c (cache_addhst): Likewise.
13940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13941 * nscd/netgroupcache.c (do_notfound): Likewise.
13942 (addgetnetgrentX): Likewise.
13943 (addinnetgrX): Likewise.
13944 * nscd/pwdcache.c (cache_addpw): Likewise.
13945 * nscd/servicescache.c (cache_addserv): Likewise.
13946
16b293a7
SP
139472014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13948 Atsushi Onoe <atsushi@onoe.org>
13949
13950 [BZ #14308]
13951 [BZ #12994]
13952 [BZ #13651]
13953 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13954 one response is valid.
13955 * resolv/res_send.c (send_dg): Check for validity of other
13956 response if the current response is a referral.
13957
a28a9b94
SE
139582014-04-29 Steve Ellcey <sellcey@mips.com>
13959
13960 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13961
2ca180e9
SL
139622014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13963
13964 [BZ #16823]
13965 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13966 Always divide by positive zero when computing -Inf result.
13967 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13968 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13969
18f2945a
AZ
139702014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13971
13972 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13973 FPSCR if value do not change.
13974 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13975 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13976 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13977 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13978 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13979 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13980 function.
13981
5abebba4
CD
139822014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13983
13984 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13985 * sysdeps/unix/sysv/linux/hppa: Move directory from
13986 ports/systeps/unix/sysv/linux/hppa.
13987 * README: Update listing for hppa-*-linux-gnu.
13988
f7ed60c2
OB
139892014-04-28 Ondřej Bílka <neleai@seznam.cz>
13990
fff763a5
OB
13991 [BZ #16754]
13992 * manual/stdio.texi (Hook functions): Fix types of stream hook
13993 functions.
f7ed60c2
OB
13994 [BZ #16854]
13995 * socket/sys/socket.h: Fix typo in comment.
13996
df639d73
WD
139972014-04-28 Wilco <wdijkstr@arm.com>
13998
f7ed60c2 13999 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14000 * sysdeps/arm/math_private.h: New file.
14001 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14002
48332d82
L
140032014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14004
14005 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14006 with __int128_t.
14007 (La_x86_64_retval): Likewise.
14008
e5e0d9a4
IB
140092014-04-24 Ian Bolton <ian.bolton@arm.com>
14010
14011 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14012 fpsr if value didn't change.
14013 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14014 to fpcr if value didn't change.
14015 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14016 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14017 fpsr or fpcr if value didn't change.
14018 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14019 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14020 fpcr if value didn't change.
14021 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14022 to fpsr if value didn't change.
14023
bacc75f7
SP
140242014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14025
14026 * nptl/tst-sem3.c: Use test-skeleton.c
14027 (main): Rename to do_test. Use return instead of
14028 exit.
14029 * nptl/tst-sem4.c: Use test-skeleton.c
14030 (main): Rename to do_test.
14031
a059d359
DM
140322014-04-22 David S. Miller <davem@davemloft.net>
14033
14034 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14035 (struct sigaction): New struct member __glibc_reserved0, change
14036 type of sa_flags to int.
14037
ea6c92f3
YZ
140382014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14039
14040 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14041 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14042
766c4a36
SP
140432014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14044
14045 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14046 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14047
140cc7ab
VK
140482014-04-22 Will Newton <will.newton@linaro.org>
14049 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14050
14051 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14052 (__longjmp): Add longjmp and longjmp_target SystemTap
14053 probes.
14054 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14055 (__sigsetjmp): Add setjmp SystemTap probe.
14056
c54e5cf7
CD
140572014-04-17 Carlos O'Donell <carlos@redhat.com>
14058
14059 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14060 match manual order.
14061
75ffb047
AZ
140622014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14063
14064 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14065
2cd925f7
AZ
14066 * sysdeps/powerpc/fpu/fenv_private.h
14067 (libc_feholdexcept_setroundl_ctx): Define to
14068 libc_feholdexcept_setround_ppc_ctx.
14069 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14070 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14071 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14072 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14073
39e6cd8d
IB
140742014-04-17 Ian Bolton <ian.bolton@arm.com>
14075
14076 * sysdeps/aarch64/math-tests.h: New file.
14077
f9281df9
SY
140782014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14079
14080 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14081 New.
14082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14083 Check and set bit_AVX2_Usable.
14084 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14085 macro.
14086 (bit_AVX2): Likewise.
14087 (index_AVX2_Usable): Likewise.
14088 (CPUID_AVX2): Likewise.
14089 (HAS_AVX2): Likewise.
14090
37d35007
WN
140912014-04-17 Will Newton <will.newton@linaro.org>
14092
7c677662
WN
14093 * manual/setjmp.texi (System V contexts): Add note that
14094 calling setcontext on a context created by a call to a
14095 signal handler is undefined. Update text to note that
14096 setcontext from a signal handler is possible but not
14097 recommended.
14098
37d35007 14099 [BZ #16629]
e04a4e9d
WN
14100 * stdlib/tst-setcontext.c: Include signal.h.
14101 (main): Check that the signal stack before and
14102 after swapcontext is the same.
14103
37d35007
WN
14104 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14105 Re-implement to restore registers in user code and avoid
14106 rt_sigreturn system call.
14107
423a7160
W
141082014-04-17 Wilco <wdijkstr@arm.com>
14109
14110 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14111 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14112 * math/test-fenv.c: Skip exception trap tests on targets which only
14113 support non-stop mode.
14114
bc93ab29
IB
141152014-04-17 Ian Bolton <ian.bolton@arm.com>
14116 Wilco Dijkstra <wilco.dijkstra@arm.com>
14117
14118 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14119 (libc_feholdsetround_aarch64_ctx)
14120 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14121 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14122 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14123 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14124 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14125 (libc_feresetround_noexl_ctx): Define.
14126
95fc5fa3
RH
141272014-04-16 Richard Henderson <rth@redhat.com>
14128
ddb04724
RH
14129 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14130
d77c0899
RH
14131 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14132 unwind tables.
14133
a3df56fc
RH
14134 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14135 const from the non-libc, non-ldso copy.
14136
95fc5fa3
RH
14137 * sysdeps/alpha/libm-test-ulps: Regenerate.
14138
7e0b6763
IB
141392014-04-16 Ian Bolton <ian.bolton@arm.com>
14140 Wilco Dijkstra <wilco.dijkstra@arm.com>
14141
14142 * sysdeps/aarch64/fpu/math_private.h: New file.
14143
a9ea2e0c
MS
141442014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14145
14146 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14147
ea8ba7cd
IZ
141482014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14149
7e54fd04 14150 [BZ #16275]
ea8ba7cd
IZ
14151 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14152 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14154 Intel MPX bound registers before _dl_profile_fixup.
14155 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14156 registers after _dl_profile_fixup. Save and restore bound
14157 registers bnd0/bnd1 when calling _dl_call_pltexit.
14158 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14159 (LR_BND_OFFSET): Likewise.
14160 (LRV_BND0_OFFSET): Likewise.
14161 (LRV_BND1_OFFSET): Likewise.
14162
9f2a4fbc
ST
141632014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14164
14165 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14166 to...
14167 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14168 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14169 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14170 fields.
9f2a4fbc 14171
fd15a59b
ST
141722014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14173
14174 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14175
f19dfa0a
SL
141762014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14177
14178 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14179
4fa8bc3b
SL
141802014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14181
14182 [BZ #14770]
14183 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14184 * sysdeps/s390/configure: Regenerate.
14185
8ea587db
SL
14186 [BZ #16824]
14187 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14188 Set round-to-nearest internally to reduce error accumulation.
14189
aa5f0ff1
AM
141902014-04-16 Alan Modra <amodra@gmail.com>
14191
14192 [BZ #16740]
14193 [BZ #16619]
14194 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14195 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14196 * NEWS: Update fixed bug list.
aa5f0ff1 14197
bb9c256f
SP
141982014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14199
14200 * benchtests/Makefile: Depend on libraries in build directory.
14201 (bench-math): Separate out math tests.
14202 (bench-pthread): Separate out pthread tests.
14203 (bench): Include math and pthread tests.
14204
f737dfd0
CD
142052014-04-14 Carlos O'Donell <carlos@redhat.com>
14206
14207 [BZ #16831]
14208 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14209 _dl_debug_initialize.
14210
0699f766
CD
14211 * configure.ac: Remove SELinux header check.
14212 * configure: Regenerate.
14213 * nscd/selinux.c (perms): Array of const char* to permission names.
14214 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14215 default policy. Call string_to_security_class and string_to_av_perm to
14216 translate strings. Enforce default policy and call avs_has_perm with
14217 results of translated strings.
14218
809bd45f
DM
142192014-04-13 David S. Miller <davem@davemloft.net>
14220
14221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14222
89e691f2
AM
142232014-04-12 Allan McRae <allan@archlinux.org>
14224
14225 [BZ #16838]
14226 * manual/string.texi (Collation Functions): Fix qsort argument
14227 order in example.
14228 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14229
9c9daaeb
CM
142302014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14231
14232 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14233 Make the test a no-op if there are no exceptions defined.
14234
95561fb9
PP
142352014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14236
fe8d072c 14237 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14238 enable-hardcoded-path-in-tests
14239
970c602a
WN
142402014-04-11 Will Newton <will.newton@linaro.org>
14241
14242 * benchtests/Makefile (extra-objs): Add json-lib.o.
14243 (bench-func): Tidy up JSON output.
14244 * benchtests/bench-skeleton.c: Include json-lib.h.
14245 (main): Use JSON library functions to do output of
14246 benchmark results.
14247 * benchtests/bench-timing-type.c (main): Output the
14248 timing type simply, leaving formatting to the user.
14249 * benchtests/json-lib.c: New file.
14250 * benchtests/json-lib.h: Likewise.
14251
36875b06
TR
142522014-04-11 Torvald Riegel <triegel@redhat.com>
14253
14254 [BZ #15215]
14255 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14256 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14257 memory barriers. Add comments.
14258 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14259 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14260 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14261 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14262 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14263 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14264
579db35a
SL
142652014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14266
14267 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14268 * sysdeps/s390/s390-64/configure.ac: ... this ...
14269 * sysdeps/s390/configure.ac: ... to here.
14270 * sysdeps/s390/s390-32/configure: Delete file.
14271 * sysdeps/s390/s390-64/configure: Delete file.
14272 * sysdeps/s390/configure: Regenerate.
14273
c12e9f37
JAPH
142742014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14275
14276 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14277
439bda32
WN
142782014-04-11 Will Newton <will.newton@linaro.org>
14279
14280 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14281 to zero if it is not defined elsewhere. (mtrim): Test
14282 the value of MALLOC_DEBUG with #if rather than #ifdef.
14283
6a5d6ea1
TR
142842014-04-10 Torvald Riegel <triegel@redhat.com>
14285
14286 * benchtests/pthread_once-inputs: New file.
14287 * benchtests/pthread_once-source.c: New file.
14288 * benchtests/README: Update documentation.
14289
a4c75cfd
IZ
142902014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14291 H.J. Lu <hongjiu.lu@intel.com>
14292
7e54fd04 14293 [BZ #16275]
a4c75cfd
IZ
14294 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14295 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14296 * sysdeps/x86_64/configure: Regenerated.
14297 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14298 macro.
14299 (REGISTER_SAVE_RAX): Likewise.
14300 (REGISTER_SAVE_RCX): Likewise.
14301 (REGISTER_SAVE_RDX): Likewise.
14302 (REGISTER_SAVE_RSI): Likewise.
14303 (REGISTER_SAVE_RDI): Likewise.
14304 (REGISTER_SAVE_R8): Likewise.
14305 (REGISTER_SAVE_R9): Likewise.
14306 (REGISTER_SAVE_BND0): Likewise.
14307 (REGISTER_SAVE_BND1): Likewise.
14308 (REGISTER_SAVE_BND2): Likewise.
14309 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14310 bound registers when calling _dl_fixup.
14311
27822ce6
AZ
143122014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14313
14314 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14315 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14316 of its definition.
27822ce6
AZ
14317 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14318 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14319 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14320 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14321 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14322 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14323 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14324
a88ddc90
PTB
143252014-04-09 Peter Brett <peter@peter-b.co.uk>
14326
14327 [BZ #15514]
14328 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14329 pathconf(_PC_NAME_MAX).
14330
01f8eac2
AZ
143312014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14332
14333 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14334 Remove macro usage.
14335 (__PTHREAD_SPINS): Move definition to ...
14336 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14337 (__PTHREAD_SPINS): ... here.
14338 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14339 (__PTHREAD_SPIN): Likewise.
14340 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14341 (__PTHREAD_SPIN): Likewise.
14342 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14343 (__PTHREAD_SPIN): Likewise.
14344 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14345 (__PTHREAD_SPIN): Likewise.
14346 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14347 (__PTHREAD_SPIN): Likewise.
14348 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14349 (__PTHREAD_SPIN): Likewise.
14350 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14351 (__PTHREAD_SPIN): Likewise.
14352 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14353 (__PTHREAD_SPIN): Likewise.
14354 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14355 (__PTHREAD_SPIN): Likewise.
14356 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14357 (__PTHREAD_SPIN): Likewise.
14358 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14359 (__PTHREAD_SPIN): Likewise.
14360 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14361 (__PTHREAD_SPIN): Likewise.
14362
de21c33c
AZ
14363 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14364 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14365 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14366 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14367 imply folder.
14368 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14369 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14370 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14371 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14372 correct imply path.
14373 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14374 strlen symbol for non multi-arch builds.
14375 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14376 missing hidden_def and weak_alias.
14377
862c472e
CD
143782014-04-08 Carlos O'Donell <carlos@redhat.com>
14379
14380 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14381
8667f90e
WN
143822014-04-07 Will Newton <will.newton@linaro.org>
14383
14384 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14385 and contents. [!_LIBC] Remove #ifndef and contents.
14386 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14387 * string/memccpy.c (__memccpy): Use ANSI prototype.
14388 * string/memfrob.c (memfrob): Likewise.
14389 * string/strcoll.c (STRCOLL): Likewise.
14390 * string/strlen.c (strlen): Likewise.
14391 * string/strtok.c (STRTOK): Likewise.
14392 * string/strcat.c: Remove unused #include of memcopy.h.
14393 (strcat): Use ANSI prototype.
14394 * string/strchr.c: Remove unused #include of memcopy.h.
14395 (strchr): Use ANSI prototype.
14396 * string/strcmp.c: Remove unused #include of memcopy.h.
14397 (strcmp): Use ANSI prototype.
14398 * string/strcpy.c: Remove unused #include of memcopy.h.
14399 (strcpy): Use ANSI prototype.
14400
7ffa9423
AZ
144012014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14402
14403 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14404 * config.make.in (config-extra-cppflags): Set it from
14405 libc_extra_cppflags.
14406 * configure.ac (libc_extra_cflags): Make it accumulate over
14407 configure fragments.
14408 (libc_extra_cppflags): New flag.
14409 * configure. Regenerate.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14411 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14412 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14414
8bd70862
AZ
14415 [BZ #16815]
14416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14417 result for FE_DOWNWARD rounding mode.
14418 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14419 Likewise.
14420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14421
d42f3448
CM
144222014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14423
14424 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14425 in function argument name.
14426
1c21d115
DS
144272014-04-03 David Svoboda <svoboda@cert.org>
14428
14429 [BZ #5666]
14430 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14431 explicitly.
14432
fcccd512
RM
144332014-04-03 Roland McGrath <roland@hack.frob.com>
14434
14435 * elf/dl-unmap-segments.h: New file.
14436 * sysdeps/generic/ldsodefs.h
14437 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14438 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14439 * elf/dl-fptr.c: Likewise.
14440 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14441 * sysdeps/aarch64/tlsdesc.c: Likewise.
14442 * sysdeps/arm/tlsdesc.c: Likewise.
14443 * sysdeps/i386/tlsdesc.c: Likewise.
14444 * sysdeps/tile/dl-runtime.c: Likewise.
14445 * sysdeps/x86_64/tlsdesc.c: Likewise.
14446 * elf/dl-load.h: New file.
14447 * elf/dl-load.c: Include it.
14448 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14449 Macros moved to dl-load.h.
14450 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14451 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14452 Use _dl_unmap_segments in place of __munmap.
14453 Break out segment-mapping loop into ...
14454 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14455
f6488e2b
WN
144562014-04-03 Will Newton <will.newton@linaro.org>
14457
14458 * elf/dl-lookup.c (do_lookup_x): Remove comment
14459 referring to nested function and move variable
14460 declarations down to before first use.
14461
6f05bafe
JM
144622014-04-02 Joseph Myers <joseph@codesourcery.com>
14463
a84e78c8
JM
14464 [BZ #16799]
14465 [BZ #16800]
14466 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14467 with 0 numerator.
14468 * math/s_catanf.c (__catanf): Likewise.
14469 * math/s_catanh.c (__catanh): Likewise.
14470 * math/s_catanhf.c (__catanhf): Likewise.
14471 * math/s_catanhl.c (__catanhl): Likewise.
14472 * math/s_catanl.c (__catanl): Likewise.
14473 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14474 by positive zero when computing -Inf result.
14475 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14476 (catanh_test): Likewise.
14477 * sysdeps/i386/fpu/libm-test-ulps: Update.
14478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14479
6f05bafe
JM
14480 [BZ #16789]
14481 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14482 instead of using underflowing value in computing result.
14483 * math/s_clog10.c (__clog10): Likewise.
14484 * math/s_clog10f.c (__clog10f): Likewise.
14485 * math/s_clog10l.c (__clog10l): Likewise.
14486 * math/s_clogf.c (__clogf): Likewise.
14487 * math/s_clogl.c (__clogl): Likewise.
14488 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14489 (clog10_test): Likewise.
14490 * sysdeps/i386/fpu/libm-test-ulps: Update.
14491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14492
b0abbc21
AM
144932014-04-02 Alan Modra <amodra@gmail.com>
14494
14495 [BZ #16739]
14496 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14497 output when value is near a power of two. Use int64_t for lx and
14498 remove casts. Use decimal rather than hex exponent constants.
14499 Don't use long double multiplication when double will suffice.
14500 * math/libm-test.inc (nextafter_test_data): Add tests.
14501 * NEWS: Add 16739 and 16786 to bug list.
14502
af6b1797
AM
14503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14504
483818d7
AM
14505 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14506
f6c55796
WN
145072014-04-01 Will Newton <will.newton@linaro.org>
14508
14509 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14510 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14511
13f7fe35
FW
145122014-04-01 Florian Weimer <fweimer@redhat.com>
14513
14514 [BZ #13347]
14515 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14516 * nptl/tst-setuid2.c: New file.
14517 * nptl/Makefile (xtests): Add tst-setuid2.
14518
c859b32e
AM
145192014-04-01 Alan Modra <amodra@gmail.com>
14520
14521 [BZ #16786]
14522 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14523
54fa2475
JM
145242014-03-31 Joseph Myers <joseph@codesourcery.com>
14525
8795b4a4
JM
14526 [BZ #6803]
14527 [BZ #6804]
14528 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14529 set errno as appropriate.
14530 * math/w_scalbf.c (__scalbf): Likewise.
14531 * math/w_scalbl.c (__scalbl): Likewise.
14532 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14533 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14534 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14535 Add more NaN tests.
14536
54fa2475
JM
14537 [BZ #16349]
14538 * math/w_atan2.c: Include <errno.h>.
14539 (__atan2): Set errno for result underflowing to zero.
14540 * math/w_atan2f.c: Include <errno.h>.
14541 (__atan2f): Set errno for result underflowing to zero.
14542 * math/w_atan2l.c: Include <errno.h>.
14543 (__atan2l): Set errno for result underflowing to zero.
14544 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14545 tests.
14546 * math/auto-libm-test-out: Regenerated.
14547
757d9dd5
AZ
145482014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14549
14550 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14551 Encode instruction correctly in little endian.
14552 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14553 Likewise.
14554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14555 Likewise.
14556 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14557 Likewise.
14558 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14559 Likewise.
14560
d7a68734
JM
145612014-03-31 Joseph Myers <joseph@codesourcery.com>
14562
47c5adeb
JM
14563 [BZ #9894]
14564 * sysdeps/unix/sysv/linux/kernel-features.h
14565 [__sparc__ && !__arch64__ && !__sparc_v9__]
14566 (__ASSUME_SET_ROBUST_LIST): Do not define.
14567 [__sparc__ && !__arch64__ && !__sparc_v9__]
14568 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14569 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14570 Likewise.
14571 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14572 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14573 (__ASSUME_REQUEUE_PI): Likewise.
14574 (__ASSUME_SET_ROBUST_LIST): Likewise.
14575 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14576 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14577 Undefine.
14578 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14579 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14580 Likewise.
14581 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14582 Likewise.
14583 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14584 Likewise.
14585 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14586 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14587 Undefine.
14588 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14589 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14590 Likewise.
14591
d7a68734
JM
14592 [BZ #16648]
14593 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14594 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14595 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14596
c760f5c2
WN
145972014-03-31 Will Newton <will.newton@linaro.org>
14598
14599 * benchtests/Makefile (bench): Add ffs and ffsll to list
14600 of tests.
14601 * benchtests/ffs-inputs: New file.
14602 * benchtests/ffsll-inputs: Likewise.
14603
ea6029b1
JM
146042014-03-29 Joseph Myers <joseph@codesourcery.com>
14605
14606 [BZ #16770]
14607 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14608 too large before casting to int.
14609 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14610 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14611 * math/libm-test.inc (scalb_test_data): Add more tests.
14612
cf806aff
SP
146132014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14614
56737508
SP
14615 * benchtests/Makefile (DETAILED_OPT): New make option.
14616 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14617 set.
14618 * benchtests/bench-skeleton.c: Include stdbool.h.
14619 (main): Store and print timings per input.
14620 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14621 member to each argument value.
14622 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14623 (_print_arg_data): Initialize per-input timing to 0.
14624
cb5e4aad
SP
14625 * benchtests/Makefile (timing-type): New binary.
14626 (bench-clean): Also remove bench-timing-type.
14627 (bench): New target for timing-type.
14628 (bench-func): Print output in JSON format.
14629 * benchtests/bench-skeleton.c (main): Print output in JSON
14630 format.
14631 * benchtests/bench-timing-type.c: New file.
14632 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14633 (TIMING_PRINT_STATS): Remove.
14634 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14635 name separately.
14636
cf806aff
SP
14637 * benchtests/bench-modf.c: Remove.
14638 * benchtests/modf-inputs: New inputs file.
14639
289e0779
JM
146402014-03-28 Joseph Myers <joseph@codesourcery.com>
14641
14642 [BZ #16362]
14643 * math/s_clog10.c (M_PI_LOG10E): New macro.
14644 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14645 imaginary parts are 0.
14646 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14647 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14648 imaginary parts are 0.
14649 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14650 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14651 imaginary parts are 0.
14652 * math/libm-test.inc (clog10_test_data): Update expected results
14653 for when real and imaginary parts are 0.
14654
277ae3f1
PP
146552014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14656
14657 * elf/dl-load.c: Finish conversion of __builtin_expect into
14658 __glibc_{un}likely.
14659
03a7091f
JM
146602014-03-27 Joseph Myers <joseph@codesourcery.com>
14661
14662 [BZ #16348]
14663 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14664 1+x for argument with exponent below -67.
14665 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14666 Likewise.
14667 * math/auto-libm-test-in: Add more tests of exp.
14668 * math/auto-libm-test-out: Regenerated.
14669
ea7d8b95
SP
146702014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14671
dd3022d7
SP
14672 [BZ #16759]
14673 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14674 (nscd_getnetgrent): Use it.
14675
ea7d8b95
SP
14676 [BZ #16760]
14677 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14678 of stpcpy.
14679
df5b85da
AK
146802014-03-27 Andi Kleen <ak@linux.intel.com>
14681
57f41c40
AS
14682 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14683 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14684 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14685 (lll_robust_unlock): Remove out of line section. Use cfi
14686 intrinsics.
df5b85da 14687 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14688 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14689 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14690 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14691 (lll_robust_unlock): Remove out of line section. Use cfi
14692 intrinsics.
df5b85da
AK
14693 (LLL_STUB_UNWIND_INFO*): Remove.
14694
fbd6b5a4
SP
146952014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14696
14697 [BZ #16758]
14698 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14699 blank values.
14700
1b26b855
PP
147012014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14702
14703 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14704
9be36fb8
JM
147052014-03-26 Joseph Myers <joseph@codesourcery.com>
14706
14707 [BZ #16198]
14708 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14709 fnstenv.
14710 * math/test-fenv-preserve.c: New file.
14711 * math/Makefile (tests): Add test-fenv-preserve.
14712
60a2f3c1
WN
147132014-03-26 Will Newton <will.newton@linaro.org>
14714
14715 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14716
a5e5f1e2
RM
147172014-03-25 Roland McGrath <roland@hack.frob.com>
14718
14719 * scripts/versionlist.awk: Partition the version sets and emit all
14720 GLIBC_* (sorted) before all others (sorted).
14721
00f4012a
JM
147222014-03-25 Joseph Myers <joseph@codesourcery.com>
14723
14724 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14725 GLIBC_2.2.5 version.
14726
7bc5a741
AZ
147272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14728
14729 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14730 calls.
14731
7578473b
AZ
14732 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14733 previous change.
14734
f3f1dab3
AZ
14735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14736
6da36183
AS
147372014-03-25 Andreas Schwab <schwab@suse.de>
14738
14739 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14740 label to be used after in6ailist is initialized.
14741
f3f1dab3 147422014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14743
7578473b 14744 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14745 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14746
046651c1
JM
147472014-03-25 Joseph Myers <joseph@codesourcery.com>
14748
14749 [BZ #16357]
14750 [BZ #16599]
14751 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14752 min_plus_half.
14753 (fp_formats): Update initializers.
14754 (init_fp_formats): Initialize new field.
14755 (output_for_one_input_case): Allow underflow for results up to
14756 min_plus_half.
14757 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14758 * math/auto-libm-test-in: Don't mark some underflows from asin and
14759 atanh as spurious.
14760 * math/auto-libm-test-out: Regenerated.
14761 * sysdeps/i386/fpu/libm-test-ulps: Update.
14762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14763
003e49ed
AS
147642014-03-25 Andreas Schwab <schwab@suse.de>
14765
14766 * libio/Makefile (tst-ftell-partial-wide-ENV)
14767 (tst-ftell-active-handler-ENV): Define.
14768
de031874
SL
147692014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14770
14771 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14772
55a81e3b
PP
147732014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14774
14775 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14776
f3426898
JM
147772014-03-24 Joseph Myers <joseph@codesourcery.com>
14778
14779 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14780 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14781 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14782
a42faf59
PP
147832014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14784
14785 [BZ #16634]
a42faf59 14786 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14787 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14788 (open_path): Change from boolean 'secure' to complete flag 'mode'
14789 (_dl_map_object): Adjust.
a42faf59
PP
14790 * elf/Makefile (tests): Add tst-dlopen-aout.
14791 * elf/tst-dlopen-aout.c: New test.
14792
50936127
SL
147932014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14794
14795 [BZ #16714]
14796 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14797 (struct stat): Rename member pad0 to __glibc_reserved0.
14798
26011b5c
SL
14799 [BZ #16712]
14800 * sysdeps/s390/s390-32/bits/wordsize.h
14801 (__WORDSIZE32_SIZE_ULONG): New define.
14802 * sysdeps/s390/s390-64/bits/wordsize.h
14803 (__WORDSIZE32_SIZE_ULONG): Likewise.
14804 * sysdeps/generic/stdint.h (SIZE_MAX):
14805 Define as UL if __WORDSIZE32_SIZE_ULONG.
14806
a2d86bf1
SL
14807 [BZ #16713]
14808 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14809 (__glibc_reserved0): New variable.
14810 (sa_flags): Change type to int.
14811
78b6eebc
SL
14812 * posix/Makefile (before-compile): Use += before-compile instead
14813 of a :=.
14814
f1399b5a
SL
14815 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14816 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14817
a071766e
AS
148182014-03-20 Andreas Schwab <schwab@suse.de>
14819
14820 [BZ #16743]
14821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14822 non-matching result from nscd.
14823
27c673b8
SP
148242014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14825
14826 * scripts/bench.py: Moved to ...
14827 * benchtests/scripts/bench.py: ... here.
14828 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14829
44152e4b
AS
148302014-03-24 Andreas Schwab <schwab@suse.de>
14831
14832 [BZ #16002]
14833 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14834 alloca_account and account alloca use for struct in6ailist.
14835
b376a11a
JM
148362014-03-24 Joseph Myers <joseph@codesourcery.com>
14837
14838 [BZ #16284]
14839 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14840 rounding mode to recompute results that overflow to infinity or
14841 underflow to zero.
14842 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14843 bug 16284.
14844 * math/auto-libm-test-out: Regenerated.
14845 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14846 (ccosh_test): Likewise.
14847 (csin_test_data): Use plus_oflow.
14848 (csin_test): Use ALL_RM_TEST.
14849 (csinh_test_data): Use plus_oflow.
14850 (csinh_test): Use ALL_RM_TEST.
14851 * sysdeps/i386/fpu/libm-test-ulps: Update.
14852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14853
f7be7376
JM
148542014-03-21 Joseph Myers <joseph@codesourcery.com>
14855
1ca2d03e
JM
14856 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14857 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14858 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14859
f7be7376
JM
14860 [BZ #16731]
14861 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14862 when x - 1 is zero.
14863 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14864 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14865 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14866 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14867 argument is 1.
14868 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14869 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14870 zero.
14871 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14872 * sysdeps/i386/fpu/libm-test-ulps: Update.
14873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14874
fdf4534d
SP
148752014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14876
df26ea53
SP
14877 * scripts/bench.pl: Remove file.
14878 * scripts/bench.py: New benchmark script.
14879 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14880 * benchtests/README: Mention python dependency.
14881 * scripts/pylintrc: New file.
14882 * scripts/pylint: New file.
14883
fdf4534d
SP
14884 * bits/mathdef.h: Use #ifdef instead of #if.
14885 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14886 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14887 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14888 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14889 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14890 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14891
6f23d093
AZ
148922014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14893 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14894
14895 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14897 and strpbrk-ppc64 objects.
14898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14899 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14900 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14901 multiarch strpbrk for POWER7.
14902 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14903 multiarch strpbrk for PPC64.
14904 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14905 ifunc selector.
14906 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14907 strpbrk for POWER7.
14908
8c92dfff
JM
149092014-03-20 Joseph Myers <joseph@codesourcery.com>
14910
14911 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14912 (atan_test): Likewise.
14913 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14914 (atanh_test): Use ALL_RM_TEST.
14915 (atan2_test_data): Likewise.
14916 (cabs_test): Likewise.
14917 (cacosh_test): Likewise.
14918 (carg_test): Likewise.
14919 (casin_test): Likewise.
14920 (casinh_test): Likewise.
14921 (cbrt_test): Likewise.
14922 (csqrt_test): Likewise.
14923 (erf_test): Likewise.
14924 (erfc_test): Likewise.
14925 (pow10_test): Likewise.
14926 (exp2_test): Likewise.
14927 (hypot_test): Likewise.
14928 (j0_test): Likewise.
14929 (j1_test): Likewise.
14930 (lgamma_test): Likewise.
14931 (gamma_test): Likewise.
14932 (sincos_test): Likewise.
14933 (tanh_test): Likewise.
14934 (y0_test): Likewise.
14935 (y1_test): Likewise.
14936 * sysdeps/i386/fpu/libm-test-ulps: Update.
14937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14938
6eaf95cb
AZ
149392014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14940
a387428c
SP
14941 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14943 and strcspn-ppc64 objects.
14944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14945 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14946 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14947 multiarch strcspn for POWER7.
14948 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14949 multiarch strcspn for PPC64.
14950 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14951 ifunc selector.
14952 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14953 strcspn for POWER7.
14954
ae3a5dff
JM
149552014-03-20 Joseph Myers <joseph@codesourcery.com>
14956
14957 * math/gen-libm-test.pl (generate_testfile): Expect only function
14958 name as argument to AUTO_TESTS_* and pass results for all rounding
14959 modes to parse_args.
14960 (parse_auto_input): Separate inputs of automatic tests from
14961 outputs before storing in %auto_tests.
14962 * math/libm-test.inc (acos_test_data): Update call to
14963 AUTO_TESTS_f_f.
14964 (acos_test): Use ALL_RM_TEST.
14965 (acos_tonearest_test_data): Remove.
14966 (acos_test_tonearest): Likewise.
14967 (acos_towardzero_test_data): Likewise.
14968 (acos_test_towardzero): Likewise.
14969 (acos_downward_test_data): Likewise.
14970 (acos_test_downward): Likewise.
14971 (acos_upward_test_data): Likewise.
14972 (acos_test_upward): Likewise.
14973 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14974 (asin_test_data): Likewise.
14975 (asin_test): Use ALL_RM_TEST.
14976 (asin_tonearest_test_data): Remove.
14977 (asin_test_tonearest): Likewise.
14978 (asin_towardzero_test_data): Likewise.
14979 (asin_test_towardzero): Likewise.
14980 (asin_downward_test_data): Likewise.
14981 (asin_test_downward): Likewise.
14982 (asin_upward_test_data): Likewise.
14983 (asin_test_upward): Likewise.
14984 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14985 (atan_test_data): Likewise.
14986 (atanh_test_data): Likewise.
14987 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14988 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14989 (carg_test_data): Likewise.
14990 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14991 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14992 (ccosh_test_data): Likewise.
14993 (cexp_test_data): Likewise.
14994 (clog_test_data): Likewise.
14995 (clog10_test_data): Likewise.
14996 (cos_test_data): Update call to AUTO_TESTS_f_f.
14997 (cos_test): Use ALL_RM_TEST.
14998 (cos_tonearest_test_data): Remove.
14999 (cos_test_tonearest): Likewise.
15000 (cos_towardzero_test_data): Likewise.
15001 (cos_test_towardzero): Likewise.
15002 (cos_downward_test_data): Likewise.
15003 (cos_test_downward): Likewise.
15004 (cos_upward_test_data): Likewise.
15005 (cos_test_upward): Likewise.
15006 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15007 (cosh_test): Use ALL_RM_TEST.
15008 (cosh_tonearest_test_data): Remove.
15009 (cosh_test_tonearest): Likewise.
15010 (cosh_towardzero_test_data): Likewise.
15011 (cosh_test_towardzero): Likewise.
15012 (cosh_downward_test_data): Likewise.
15013 (cosh_test_downward): Likewise.
15014 (cosh_upward_test_data): Likewise.
15015 (cosh_test_upward): Likewise.
15016 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15017 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15018 (ctan_test_data): Likewise.
15019 (ctan_test): Use ALL_RM_TEST.
15020 (ctan_tonearest_test_data): Remove.
15021 (ctan_test_tonearest): Likewise.
15022 (ctan_towardzero_test_data): Likewise.
15023 (ctan_test_towardzero): Likewise.
15024 (ctan_downward_test_data): Likewise.
15025 (ctan_test_downward): Likewise.
15026 (ctan_upward_test_data): Likewise.
15027 (ctan_test_upward): Likewise.
15028 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15029 (ctanh_test): Use ALL_RM_TEST.
15030 (ctanh_tonearest_test_data): Remove.
15031 (ctanh_test_tonearest): Likewise.
15032 (ctanh_towardzero_test_data): Likewise.
15033 (ctanh_test_towardzero): Likewise.
15034 (ctanh_downward_test_data): Likewise.
15035 (ctanh_test_downward): Likewise.
15036 (ctanh_upward_test_data): Likewise.
15037 (ctanh_test_upward): Likewise.
15038 (erf_test_data): Update call to AUTO_TESTS_f_f.
15039 (erfc_test_data): Likewise.
15040 (exp_test_data): Likewise.
15041 (exp_test): Use ALL_RM_TEST.
15042 (exp_tonearest_test_data): Remove.
15043 (exp_test_tonearest): Likewise.
15044 (exp_towardzero_test_data): Likewise.
15045 (exp_test_towardzero): Likewise.
15046 (exp_downward_test_data): Likewise.
15047 (exp_test_downward): Likewise.
15048 (exp_upward_test_data): Likewise.
15049 (exp_test_upward): Likewise.
15050 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15051 (exp10_test): Use ALL_RM_TEST.
15052 (exp10_tonearest_test_data): Remove.
15053 (exp10_test_tonearest): Likewise.
15054 (exp10_towardzero_test_data): Likewise.
15055 (exp10_test_towardzero): Likewise.
15056 (exp10_downward_test_data): Likewise.
15057 (exp10_test_downward): Likewise.
15058 (exp10_upward_test_data): Likewise.
15059 (exp10_test_upward): Likewise.
15060 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15061 (expm1_test_data): Likewise.
15062 (expm1_test): Use ALL_RM_TEST.
15063 (expm1_tonearest_test_data): Remove.
15064 (expm1_test_tonearest): Likewise.
15065 (expm1_towardzero_test_data): Likewise.
15066 (expm1_test_towardzero): Likewise.
15067 (expm1_downward_test_data): Likewise.
15068 (expm1_test_downward): Likewise.
15069 (expm1_upward_test_data): Likewise.
15070 (expm1_test_upward): Likewise.
15071 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15072 (fma_test): Use ALL_RM_TEST.
15073 (fma_towardzero_test_data): Remove.
15074 (fma_test_towardzero): Likewise.
15075 (fma_downward_test_data): Likewise.
15076 (fma_test_downward): Likewise.
15077 (fma_upward_test_data): Likewise.
15078 (fma_test_upward): Likewise.
15079 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15080 (j0_test_data): Update call to AUTO_TESTS_f_f.
15081 (j1_test_data): Likewise.
15082 (jn_test_data): Update call to AUTO_TESTS_if_f.
15083 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15084 (log_test_data): Update call to AUTO_TESTS_f_f.
15085 (log10_test_data): Likewise.
15086 (log1p_test_data): Likewise.
15087 (log2_test_data): Likewise.
15088 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15089 (pow_tonearest_test_data): Likewise.
15090 (sin_test_data): Update call to AUTO_TESTS_f_f.
15091 (sin_test): Use ALL_RM_TEST.
15092 (sin_tonearest_test_data): Remove.
15093 (sin_test_tonearest): Likewise.
15094 (sin_towardzero_test_data): Likewise.
15095 (sin_test_towardzero): Likewise.
15096 (sin_downward_test_data): Likewise.
15097 (sin_test_downward): Likewise.
15098 (sin_upward_test_data): Likewise.
15099 (sin_test_upward): Likewise.
15100 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15101 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15102 (sinh_test): Use ALL_RM_TEST.
15103 (sinh_tonearest_test_data): Remove.
15104 (sinh_test_tonearest): Likewise.
15105 (sinh_towardzero_test_data): Likewise.
15106 (sinh_test_towardzero): Likewise.
15107 (sinh_downward_test_data): Likewise.
15108 (sinh_test_downward): Likewise.
15109 (sinh_upward_test_data): Likewise.
15110 (sinh_test_upward): Likewise.
15111 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15112 (sqrt_test): Use ALL_RM_TEST.
15113 (sqrt_tonearest_test_data): Remove.
15114 (sqrt_test_tonearest): Likewise.
15115 (sqrt_towardzero_test_data): Likewise.
15116 (sqrt_test_towardzero): Likewise.
15117 (sqrt_downward_test_data): Likewise.
15118 (sqrt_test_downward): Likewise.
15119 (sqrt_upward_test_data): Likewise.
15120 (sqrt_test_upward): Likewise.
15121 (tan_test_data): Update call to AUTO_TESTS_f_f.
15122 (tan_test): Use ALL_RM_TEST.
15123 (tan_tonearest_test_data): Remove.
15124 (tan_test_tonearest): Likewise.
15125 (tan_towardzero_test_data): Likewise.
15126 (tan_test_towardzero): Likewise.
15127 (tan_downward_test_data): Likewise.
15128 (tan_test_downward): Likewise.
15129 (tan_upward_test_data): Likewise.
15130 (tan_test_upward): Likewise.
15131 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15132 (tgamma_test_data): Likewise.
15133 (y0_test_data): Likewise.
15134 (y1_test_data): Likewise.
15135 (yn_test_data): Update call to AUTO_TESTS_if_f.
15136 (main): Do not call removed functions.
15137
d71aeee8
JM
151382014-03-19 Joseph Myers <joseph@codesourcery.com>
15139
15140 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15141 (ldexp_test_data): Remove.
15142 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15143 scalbn_test_data.
15144 (scalb_test): Use ALL_RM_TEST.
15145
baaf1ded
AS
151462014-03-19 Andreas Schwab <schwab@suse.de>
15147
15148 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15149
b1115e91
JM
151502014-03-19 Joseph Myers <joseph@codesourcery.com>
15151
15152 [BZ #16649]
15153 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15154 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15155 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15156 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15157 (__ASSUME_PREADV): Undefine.
15158 (__ASSUME_PWRITEV): Likewise.
15159
0283ecca
RM
151602014-03-18 Roland McGrath <roland@hack.frob.com>
15161
7d375303
RM
15162 * bits/mman-linux.h: Add comment about non-Linux use.
15163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15164 bits/mman-linux.h resting place.
15165
0283ecca
RM
15166 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15167 * bits/mman-linux.h: ... here.
15168
aebe1003
AZ
151692014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15170
15171 * conform/conformtest.pl: Add standard definition when calling C
15172 preprocessor on data files.
15173 (checknamespace): Remove unused variable.
15174
b29b6bb8
JM
151752014-03-18 Joseph Myers <joseph@codesourcery.com>
15176
15177 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15178 minus_oflow, plus_uflow and minus_uflow in expected results.
15179 * math/libm-test.inc (scalbn_test_data): Add more tests of
15180 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15181 minus_uflow.
15182 (scalbn_test): Use ALL_RM_TEST.
15183 (scalbln_test_data): Add more tests of negative arguments. Use
15184 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15185 (scalbln_test): Use ALL_RM_TEST.
15186
c8f8fa15
RM
151872014-03-18 Roland McGrath <roland@hack.frob.com>
15188
15189 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15190
fede7a5f
WN
151912014-03-18 Will Newton <will.newton@linaro.org>
15192
15193 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15194 inaccurate comment.
15195
80cf0a58
JM
151962014-03-18 Joseph Myers <joseph@codesourcery.com>
15197
15198 * Makerules [!subdir] (check-abi): Exit with error status if a
15199 test failed.
15200
b3620862
JM
152012014-03-17 Joseph Myers <joseph@codesourcery.com>
15202
15203 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15204 for rint. Include results for all rounding modes.
15205 (nearbyint_test): Use ALL_RM_TEST.
15206 (rint_test_data): Include all tests used for nearbyint.
15207
788bba36
WN
152082014-03-17 Will Newton <will.newton@linaro.org>
15209
04ec140a
WN
15210 * nptl/sysdeps/pthread/pthread.h: Revert previous
15211 change.
15212
7579d8d5
WN
15213 * sysdeps/generic/ldsodefs.h: Revert previous
15214 change.
15215
c15cf13a
WN
15216 * libio/genops.c: Revert previous change.
15217 * libio/libioP.h: Likewise.
15218 * stdio-common/vfprintf.c: Likewise.
15219
d0ac1324
WN
15220 * sysdeps/generic/math_private.h: Revert previous
15221 change.
15222
9290130a
WN
15223 * sysdeps/generic/math_private.h: Check whether
15224 HAVE_RM_CTX is defined with #ifdef rather
15225 than #if.
15226
afb466fc
WN
15227 * argp/argp-fmtstream.h: Check whether
15228 __STRICT_ANSI__ is defined with #ifdef rather
15229 than #if.
15230 * argp/argp.h: Likewise.
15231
f7efd7c3
WN
15232 * libio/genops.c: Check whether
15233 _IO_JUMPS_OFFSET is defined with #ifdef rather
15234 than #if.
15235 * libio/libioP.h: Likewise.
15236 * stdio-common/vfprintf.c: Likewise.
15237
53f1bed3
WN
15238 * sysdeps/generic/ldsodefs.h: Check whether
15239 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15240 than #if.
15241
788bba36
WN
15242 * nptl/sysdeps/pthread/pthread.h: Check
15243 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15244 its value.
15245
fcd89ebe
SP
152462014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15247
ae42bbc5
SP
15248 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15249 setting O_APPEND.
15250 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15251 test case.
15252
ea33158c
SP
15253 [BZ #16680]
15254 * libio/fileops.c (_IO_file_open): Seek to end of file but
15255 don't cache the offset.
15256 (get_file_offset): Remove function.
15257 (do_ftell): Use cached offset when available.
15258 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15259 don't cache the offset.
15260 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15261 case.
15262 (do_one_test): Call it.
15263 (do_ftell_test): Fix up expected old offset for a+ mode.
15264 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15265 available.
15266
b1dbb426
SP
15267 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15268 up test status with function return status.
15269 (do_write_test): Likewise.
15270 (do_append_test): Likewise.
15271
fcd89ebe
SP
15272 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15273 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15274 Remove.
15275
9962a2d3
JM
152762014-03-17 Joseph Myers <joseph@codesourcery.com>
15277
15278 * math/gen-libm-test.pl (parse_args): Handle results specified for
15279 each rounding mode separately.
15280 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15281 tests and results from lrint_tonearest_test_data,
15282 lrint_towardzero_test_data, lrint_downward_test_data and
15283 lrint_upward_test_data.
15284 (lrint_test): Use ALL_RM_TEST.
15285 (lrint_tonearest_test_data): Remove.
15286 (lrint_test_tonearest): Likewise.
15287 (lrint_towardzero_test_data): Likewise.
15288 (lrint_test_towardzero): Likewise.
15289 (lrint_downward_test_data): Likewise.
15290 (lrint_test_downward): Likewise.
15291 (lrint_upward_test_data): Likewise.
15292 (lrint_test_upward): Likewise.
15293 (llrint_test_data): Merge in per-rounding-mode tests and results
15294 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15295 llrint_downward_test_data and llrint_upward_test_data.
15296 (llrint_test): Use ALL_RM_TEST.
15297 (llrint_tonearest_test_data): Remove.
15298 (llrint_test_tonearest): Likewise.
15299 (llrint_towardzero_test_data): Likewise.
15300 (llrint_test_towardzero): Likewise.
15301 (llrint_downward_test_data): Likewise.
15302 (llrint_test_downward): Likewise.
15303 (llrint_upward_test_data): Likewise.
15304 (llrint_test_upward): Likewise.
15305 (rint_test_data): Merge in per-rounding-mode tests and results
15306 from rint_tonearest_test_data, rint_towardzero_test_data,
15307 rint_downward_test_data and rint_upward_test_data. Add
15308 per-rounding-mode results for tests not in those arrays.
15309 (rint_test): Use ALL_RM_TEST.
15310 (rint_tonearest_test_data): Remove.
15311 (rint_test_tonearest): Likewise.
15312 (rint_towardzero_test_data): Likewise.
15313 (rint_test_towardzero): Likewise.
15314 (rint_downward_test_data): Likewise.
15315 (rint_test_downward): Likewise.
15316 (rint_upward_test_data): Likewise.
15317 (rint_test_upward): Likewise.
15318 (main): Don't call removed functions.
15319
5006148e
RM
153202014-03-14 Roland McGrath <roland@hack.frob.com>
15321
15322 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15323 "Compiled on ..." crapola. It is anti-useful.
15324
d6fe5e58
JM
153252014-03-14 Joseph Myers <joseph@codesourcery.com>
15326
15327 * scripts/evaluate-test.sh: Handle fourth argument to determine
15328 whether test run should stop on failure.
15329 * Makeconfig (stop-on-test-failure): New variable.
15330 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15331 $(stop-on-test-failure).
15332 * Makefile (tests): Give a summary of results from testing and
15333 exit with failure status if they include an ERROR or FAIL.
15334 (xtests): Likewise.
15335 * manual/install.texi (Configuring and compiling): Mention
15336 stop-on-test-failure=y.
15337 * INSTALL: Regenerated.
15338
498a2233
RM
153392014-03-14 Roland McGrath <roland@hack.frob.com>
15340
22dbc19d
RM
15341 * scripts/versionlist.awk: New file.
15342 * Makerules [$(build-shared) = yes]
15343 (postclean-generated): Add Versions.def, not Versions.def.v and
15344 Versions.def.v.i.
15345 ($(common-objpfx)Versions.def.v.i): Target removed.
15346 ($(common-objpfx)Versions.def): New target.
15347 ($(common-objpfx)Versions.all): Depend on that rather that
15348 $(common-objpfx)Versions.def.v.
15349 * Versions.def: File removed.
15350
498a2233
RM
15351 * Makeconfig (+gccwarn): Add -Wundef.
15352 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15353 a dl-sysdep.h breaking its contract.
15354 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15355 * include/stackinfo.h: New file.
15356 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15357 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15358 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15359 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15360 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15361 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15362 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15363 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15364 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15365 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15366 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15367 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15368 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15369 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15370 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15371
c7de5025
AZ
153722014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15373
15374 [BZ #16707]
15375 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15376 implementation.
15377 * math/libm-test.inc (round_test_data): Add more tests.
15378
98fb27a3
AZ
15379 [BZ #16706]
15380 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15381 implementation.
15382 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15383
374f7f61
AZ
15384 [BZ #16701]
15385 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15386 implementation.
15387 * math/libm-test.inc (ceil_test_data): Add more tests.
15388
4655c291
AZ
15389 * math/libm-test.inc (trunc_test_data): Add more tests related to
15390 BZ#16414.
15391
d7329d4b
RM
153922014-03-14 Roland McGrath <roland@hack.frob.com>
15393
15394 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15395 with #if rather than #ifdef.
15396 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15397
aa4de9ce
L
153982014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15399
15400 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15401 first. Disable AVX-512 GCC support if assembler doesn't support
15402 it.
15403 * sysdeps/x86_64/configure: Regenerated.
15404
2e03fae7
CD
154052014-03-13 Carlos O'Donell <carlos@redhat.com>
15406
15407 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15408 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15409 (__old_pthread_attr_setstack): Likewise.
15410 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15411 [!_STACK_GROWS_DOWN]: Likewise.
15412
43ca83ec
MF
154132014-03-13 Mike Frysinger <vapier@gentoo.org>
15414
15415 * config.make.in (have-bash2): Delete.
15416 * configure.ac (libc_cv_have_bash2): Delete.
15417 * configure: Regenerate.
15418 * elf/Makefile (common-ldd-rewrite): Rename to ...
15419 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15420 (sh-ldd-rewrite): Delete.
15421 (bash-ldd-rewrite): Delete.
15422 (have-bash2): Delete checks.
57f41c40
AS
15423 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15424 ldd-rewrite.
c66e48b4
MF
15425
15426 * config.make.in (have-ksh): Delete.
15427 (KSH): Delete.
15428 * configure.ac (libc_cv_have_ksh): Delete.
15429 * configure: Regenerate.
15430
b93834ef
MF
15431 * elf/Makefile: Delete $(have-ksh) check.
15432 ($(objpfx)sotruss): Change KSH to BASH.
15433 * elf/sotruss.ksh: Rename to ...
15434 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15435 function style to match POSIX. Drop ksh vim mode setting.
15436
f3a4632a
MF
15437 * manual/time.texi (Specifying the Time Zone with TZ): Change
15438 Tuesday to Thursday.
15439
5896c8bd
MF
15440 * debug/tst-longjmp_chk2.c: Update header comment.
15441 (stackoverflow_handler): Add comment. Call assert on pass value.
15442
2d63a517
IZ
154432014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15444
7e54fd04 15445 [BZ #16194]
2d63a517
IZ
15446 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15447 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15448 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15449 (La_x86_64_vector): Add zmm.
15450 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15451 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15452 ($(objpfx)tst-audit10): New target.
15453 ($(objpfx)tst-audit10.out): Likewise.
15454 (tst-audit10-ENV): New.
15455 (AVX512-CFLAGS): Likewise.
15456 (CFLAGS-tst-audit10.c): Likewise.
15457 (CFLAGS-tst-auditmod10a.c): Likewise.
15458 (CFLAGS-tst-auditmod10b.c): Likewise.
15459 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15460 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15461 * sysdeps/x86_64/configure: Regenerated.
15462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15463 AVX-512 zmm register support.
15464 (_dl_x86_64_save_sse): Likewise.
15465 (_dl_x86_64_restore_sse): Likewise.
15466 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15467 size vector registers.
15468 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15469 (ZMM_SIZE): Likewise.
15470 * sysdeps/x86_64/tst-audit10.c: New file.
15471 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15472 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15473
44c4e5d5
RM
154742014-03-13 Roland McGrath <roland@hack.frob.com>
15475
15476 * configure.ac (HAVE_EHDR_START): New check.
15477 * configure: Regenerated.
15478 * config.h.in (HAVE_EHDR_START): New #undef.
15479 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15480 assuming the lowest-addressed segment maps the start of the file.
15481
acd6e389
JM
154822014-03-13 Joseph Myers <joseph@codesourcery.com>
15483
15484 * INSTALL: Regenerated.
15485
6f918f36
WN
154862014-03-13 Will Newton <will.newton@linaro.org>
15487
15488 * manual/setjmp.texi (System V contexts): Improve
15489 clarity and grammar of documentation.
15490
798212a0
PP
154912014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15492
15493 [BZ #16381]
798212a0 15494 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15495 (tests-pie): Add tst-pie2.
798212a0
PP
15496 * elf/tst-pie2.c: New file.
15497 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15498 for ET_EXEC.
15499 * elf/rtld.c (map_doit): Load executable as lt_executable.
15500 (dl_main): Likewise.
15501
abe6d90c
JM
155022014-03-12 Joseph Myers <joseph@codesourcery.com>
15503
15504 [BZ #16642]
15505 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15506 (__ASSUME_PSELECT): Undefine.
15507
dd3946c6
AZ
155082014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15509
15510 [BZ #16689]
15511 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15512 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15513 static build.
15514 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15515 selector for static builds.
15516
c44496df
SP
155172014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15518
15519 [BZ #16695]
15520 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15521 key in the buffer.
15522
27c7220a
AZ
155232014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15524
57f41c40
AS
15525 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15526 IFUNC selector for static builds.
27c7220a 15527
600fa361
JM
155282014-03-11 Joseph Myers <joseph@codesourcery.com>
15529
76c96cf7
JM
15530 * sysdeps/mips/math_private.h [__mips_hard_float]
15531 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15532 libc_feresetround_mips_ctx.
15533 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15534 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15535 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15536
600fa361
JM
15537 [BZ #16677]
15538 * math/s_nextafter.c (__nextafter): Do not return value from
15539 overflowing computation.
15540 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15541 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15543 Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15545 Likewise.
15546 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15547 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15548
d7706c32
RM
155492014-03-11 Roland McGrath <roland@hack.frob.com>
15550
15551 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15552 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15553 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15554 the new mov targetting sp.
15555
4facea47
AZ
155562014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15557
15558 [BZ #16683]
15559 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15560 Define it for static builds as well.
15561 (NO_BZERO_IMPL): Likewise.
15562
e65caf1f
VR
155632014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15564
15565 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15566 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15567 multiarch strspn for PPC64.
15568 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15569 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15571 (__libc_ifunc_impl_list): Likewise.
15572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15573 multiarch optimizations
15574 * string/strspn.c (strspn): Using macro to redefine symbol name.
15575
ba9cc071
AZ
155762014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15577 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15578
15579 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15580 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15581 multiarch strncat for PPC64.
15582 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15583 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15585 (__libc_ifunc_impl_list): Likewise.
15586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15587 multiarch optimizations
15588
8b4ff974
SP
155892014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15590
15591 [BZ #16639]
15592 * nscd/nscd.service: Make service type forking.
15593
54b46a4b
AZ
155942014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15595
15596 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15597 sign in non default rounding modes.
15598 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15599
e9996ef7
JM
156002014-03-08 Joseph Myers <joseph@codesourcery.com>
15601
15602 * math/libm-test.inc (ALL_RM_TEST): New macro.
15603 (ceil_test): Use ALL_RM_TEST.
15604 (cimag_test): Likewise.
15605 (conj_test): Likewise.
15606 (copysign_test): Likewise.
15607 (cproj_test): Likewise.
15608 (creal_test): Likewise.
15609 (fabs_test): Likewise.
15610 (floor_test): Likewise.
15611 (fmax_test): Likewise.
15612 (fmin_test): Likewise.
15613 (fmod_test): Likewise.
15614 (fpclassify_test): Likewise.
15615 (frexp_test): Likewise.
15616 (ilogb_test): Likewise.
15617 (isfinite_test): Likewise.
15618 (finite_test): Likewise.
15619 (isgreater_test): Likewise.
15620 (isgreaterequal_test): Likewise.
15621 (isinf_test): Likewise.
15622 (isless_test): Likewise.
15623 (islessequal_test): Likewise.
15624 (islessgreater_test): Likewise.
15625 (isnan_test): Likewise.
15626 (isnormal_test): Likewise.
15627 (issignaling_test): Likewise.
15628 (isunordered_test): Likewise.
15629 (logb_test): Likewise.
15630 (logb_downward_test_data): Remove.
15631 (logb_test_downward): Likewise.
15632 (lround_test): Use ALL_RM_TEST.
15633 (llround_test): Likewise.
15634 (modf_test): Likewise.
15635 (nexttoward_test): Likewise.
15636 (remainder_test): Likewise.
15637 (drem_test): Likewise.
15638 (remainder_tonearest_test_data): Likewise.
15639 (remainder_test_tonearest): Likewise.
15640 (drem_test_tonearest): Likewise.
15641 (remainder_towardzero_test_data): Likewise.
15642 (remainder_test_towardzero): Likewise.
15643 (drem_test_towardzero): Likewise.
15644 (remainder_downward_test_data): Likewise.
15645 (remainder_test_downward): Likewise.
15646 (drem_test_downward): Likewise.
15647 (remainder_upward_test_data): Likewise.
15648 (remainder_test_upward): Likewise.
15649 (drem_test_upward): Likewise.
15650 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15651 (round_test): Use ALL_RM_TEST.
15652 (signbit_test): Likewise.
15653 (trunc_test): Likewise.
15654 (significand_test): Likewise.
15655 (main): Don't call removed functions.
15656
bc61d27c
JM
156572014-03-07 Joseph Myers <joseph@codesourcery.com>
15658
5c780849
JM
15659 [BZ #16674]
15660 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15661 || __USE_XOPEN2K8].
15662 (ILL_ILLOPN): Likewise.
15663 (ILL_ILLADR): Likewise.
15664 (ILL_ILLTRP): Likewise.
15665 (ILL_PRVOPC): Likewise.
15666 (ILL_PRVREG): Likewise.
15667 (ILL_COPROC): Likewise.
15668 (ILL_BADSTK): Likewise.
15669 (FPE_INTDIV): Likewise.
15670 (FPE_INTOVF): Likewise.
15671 (FPE_FLTDIV): Likewise.
15672 (FPE_FLTOVF): Likewise.
15673 (FPE_FLTUND): Likewise.
15674 (FPE_FLTRES): Likewise.
15675 (FPE_FLTINV): Likewise.
15676 (FPE_FLTSUB): Likewise.
15677 (SEGV_MAPERR): Likewise.
15678 (SEGV_ACCERR): Likewise.
15679 (BUS_ADRALN): Likewise.
15680 (BUS_ADRERR): Likewise.
15681 (BUS_OBJERR): Likewise.
15682 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15683 (TRAP_TRACE): Likewise.
15684 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15685 __USE_XOPEN2K8].
15686 (CLD_KILLED): Likewise.
15687 (CLD_DUMPED): Likewise.
15688 (CLD_TRAPPED): Likewise.
15689 (CLD_STOPPED): Likewise.
15690 (CLD_CONTINUED): Likewise.
15691 (POLL_IN): Likewise.
15692 (POLL_OUT): Likewise.
15693 (POLL_MSG): Likewise.
15694 (POLL_ERR): Likewise.
15695 (POLL_PRI): Likewise.
15696 (POLL_HUP): Likewise.
15697 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15698 Likewise.
15699 (ILL_ILLOPN): Likewise.
15700 (ILL_ILLADR): Likewise.
15701 (ILL_ILLTRP): Likewise.
15702 (ILL_PRVOPC): Likewise.
15703 (ILL_PRVREG): Likewise.
15704 (ILL_COPROC): Likewise.
15705 (ILL_BADSTK): Likewise.
15706 (FPE_INTDIV): Likewise.
15707 (FPE_INTOVF): Likewise.
15708 (FPE_FLTDIV): Likewise.
15709 (FPE_FLTOVF): Likewise.
15710 (FPE_FLTUND): Likewise.
15711 (FPE_FLTRES): Likewise.
15712 (FPE_FLTINV): Likewise.
15713 (FPE_FLTSUB): Likewise.
15714 (SEGV_MAPERR): Likewise.
15715 (SEGV_ACCERR): Likewise.
15716 (BUS_ADRALN): Likewise.
15717 (BUS_ADRERR): Likewise.
15718 (BUS_OBJERR): Likewise.
15719 (BUS_MCEERR_AR): Likewise.
15720 (BUS_MCEERR_AO): Likewise.
15721 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15722 (TRAP_TRACE): Likewise.
15723 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15724 __USE_XOPEN2K8].
15725 (CLD_KILLED): Likewise.
15726 (CLD_DUMPED): Likewise.
15727 (CLD_TRAPPED): Likewise.
15728 (CLD_STOPPED): Likewise.
15729 (CLD_CONTINUED): Likewise.
15730 (POLL_IN): Likewise.
15731 (POLL_OUT): Likewise.
15732 (POLL_MSG): Likewise.
15733 (POLL_ERR): Likewise.
15734 (POLL_PRI): Likewise.
15735 (POLL_HUP): Likewise.
15736 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15737 (ILL_ILLOPN): Likewise.
15738 (ILL_ILLADR): Likewise.
15739 (ILL_ILLTRP): Likewise.
15740 (ILL_PRVOPC): Likewise.
15741 (ILL_PRVREG): Likewise.
15742 (ILL_COPROC): Likewise.
15743 (ILL_BADSTK): Likewise.
15744 (FPE_INTDIV): Likewise.
15745 (FPE_INTOVF): Likewise.
15746 (FPE_FLTDIV): Likewise.
15747 (FPE_FLTOVF): Likewise.
15748 (FPE_FLTUND): Likewise.
15749 (FPE_FLTRES): Likewise.
15750 (FPE_FLTINV): Likewise.
15751 (FPE_FLTSUB): Likewise.
15752 (SEGV_MAPERR): Likewise.
15753 (SEGV_ACCERR): Likewise.
15754 (BUS_ADRALN): Likewise.
15755 (BUS_ADRERR): Likewise.
15756 (BUS_OBJERR): Likewise.
15757 (BUS_MCEERR_AR): Likewise.
15758 (BUS_MCEERR_AO): Likewise.
15759 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15760 (TRAP_TRACE): Likewise.
15761 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15762 __USE_XOPEN2K8].
15763 (CLD_KILLED): Likewise.
15764 (CLD_DUMPED): Likewise.
15765 (CLD_TRAPPED): Likewise.
15766 (CLD_STOPPED): Likewise.
15767 (CLD_CONTINUED): Likewise.
15768 (POLL_IN): Likewise.
15769 (POLL_OUT): Likewise.
15770 (POLL_MSG): Likewise.
15771 (POLL_ERR): Likewise.
15772 (POLL_PRI): Likewise.
15773 (POLL_HUP): Likewise.
15774 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15775 Likewise.
15776 (ILL_ILLOPN): Likewise.
15777 (ILL_ILLADR): Likewise.
15778 (ILL_ILLTRP): Likewise.
15779 (ILL_PRVOPC): Likewise.
15780 (ILL_PRVREG): Likewise.
15781 (ILL_COPROC): Likewise.
15782 (ILL_BADSTK): Likewise.
15783 (ILL_BADIADDR): Likewise.
15784 (ILL_BREAK): Likewise.
15785 (FPE_INTDIV): Likewise.
15786 (FPE_INTOVF): Likewise.
15787 (FPE_FLTDIV): Likewise.
15788 (FPE_FLTOVF): Likewise.
15789 (FPE_FLTUND): Likewise.
15790 (FPE_FLTRES): Likewise.
15791 (FPE_FLTINV): Likewise.
15792 (FPE_FLTSUB): Likewise.
15793 (FPE_DECOVF): Likewise.
15794 (FPE_DECDIV): Likewise.
15795 (FPE_DECERR): Likewise.
15796 (FPE_INVASC): Likewise.
15797 (FPE_INVDEC): Likewise.
15798 (SEGV_MAPERR): Likewise.
15799 (SEGV_ACCERR): Likewise.
15800 (SEGV_PSTKOVF): Likewise.
15801 (BUS_ADRALN): Likewise.
15802 (BUS_ADRERR): Likewise.
15803 (BUS_OBJERR): Likewise.
15804 (BUS_MCEERR_AR): Likewise.
15805 (BUS_MCEERR_AO): Likewise.
15806 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15807 (TRAP_TRACE): Likewise.
15808 (TRAP_BRANCH): Likewise.
15809 (TRAP_HWBKPT): Likewise.
15810 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15811 __USE_XOPEN2K8].
15812 (CLD_KILLED): Likewise.
15813 (CLD_DUMPED): Likewise.
15814 (CLD_TRAPPED): Likewise.
15815 (CLD_STOPPED): Likewise.
15816 (CLD_CONTINUED): Likewise.
15817 (POLL_IN): Likewise.
15818 (POLL_OUT): Likewise.
15819 (POLL_MSG): Likewise.
15820 (POLL_ERR): Likewise.
15821 (POLL_PRI): Likewise.
15822 (POLL_HUP): Likewise.
15823 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15824 (ILL_ILLOPN): Likewise.
15825 (ILL_ILLADR): Likewise.
15826 (ILL_ILLTRP): Likewise.
15827 (ILL_PRVOPC): Likewise.
15828 (ILL_PRVREG): Likewise.
15829 (ILL_COPROC): Likewise.
15830 (ILL_BADSTK): Likewise.
15831 (FPE_INTDIV): Likewise.
15832 (FPE_INTOVF): Likewise.
15833 (FPE_FLTDIV): Likewise.
15834 (FPE_FLTOVF): Likewise.
15835 (FPE_FLTUND): Likewise.
15836 (FPE_FLTRES): Likewise.
15837 (FPE_FLTINV): Likewise.
15838 (FPE_FLTSUB): Likewise.
15839 (SEGV_MAPERR): Likewise.
15840 (SEGV_ACCERR): Likewise.
15841 (BUS_ADRALN): Likewise.
15842 (BUS_ADRERR): Likewise.
15843 (BUS_OBJERR): Likewise.
15844 (BUS_MCEERR_AR): Likewise.
15845 (BUS_MCEERR_AO): Likewise.
15846 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15847 (TRAP_TRACE): Likewise.
15848 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15849 __USE_XOPEN2K8].
15850 (CLD_KILLED): Likewise.
15851 (CLD_DUMPED): Likewise.
15852 (CLD_TRAPPED): Likewise.
15853 (CLD_STOPPED): Likewise.
15854 (CLD_CONTINUED): Likewise.
15855 (POLL_IN): Likewise.
15856 (POLL_OUT): Likewise.
15857 (POLL_MSG): Likewise.
15858 (POLL_ERR): Likewise.
15859 (POLL_PRI): Likewise.
15860 (POLL_HUP): Likewise.
15861 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15862 (ILL_ILLOPN): Likewise.
15863 (ILL_ILLADR): Likewise.
15864 (ILL_ILLTRP): Likewise.
15865 (ILL_PRVOPC): Likewise.
15866 (ILL_PRVREG): Likewise.
15867 (ILL_COPROC): Likewise.
15868 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
15878 (SEGV_ACCERR): Likewise.
15879 (BUS_ADRALN): Likewise.
15880 (BUS_ADRERR): Likewise.
15881 (BUS_OBJERR): Likewise.
15882 (BUS_MCEERR_AR): Likewise.
15883 (BUS_MCEERR_AO): Likewise.
15884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15885 (TRAP_TRACE): Likewise.
15886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15887 __USE_XOPEN2K8].
15888 (CLD_KILLED): Likewise.
15889 (CLD_DUMPED): Likewise.
15890 (CLD_TRAPPED): Likewise.
15891 (CLD_STOPPED): Likewise.
15892 (CLD_CONTINUED): Likewise.
15893 (POLL_IN): Likewise.
15894 (POLL_OUT): Likewise.
15895 (POLL_MSG): Likewise.
15896 (POLL_ERR): Likewise.
15897 (POLL_PRI): Likewise.
15898 (POLL_HUP): Likewise.
15899 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15900 (ILL_ILLOPN): Likewise.
15901 (ILL_ILLADR): Likewise.
15902 (ILL_ILLTRP): Likewise.
15903 (ILL_PRVOPC): Likewise.
15904 (ILL_PRVREG): Likewise.
15905 (ILL_COPROC): Likewise.
15906 (ILL_BADSTK): Likewise.
15907 (FPE_INTDIV): Likewise.
15908 (FPE_INTOVF): Likewise.
15909 (FPE_FLTDIV): Likewise.
15910 (FPE_FLTOVF): Likewise.
15911 (FPE_FLTUND): Likewise.
15912 (FPE_FLTRES): Likewise.
15913 (FPE_FLTINV): Likewise.
15914 (FPE_FLTSUB): Likewise.
15915 (SEGV_MAPERR): Likewise.
15916 (SEGV_ACCERR): Likewise.
15917 (BUS_ADRALN): Likewise.
15918 (BUS_ADRERR): Likewise.
15919 (BUS_OBJERR): Likewise.
15920 (BUS_MCEERR_AR): Likewise.
15921 (BUS_MCEERR_AO): Likewise.
15922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15923 (TRAP_TRACE): Likewise.
15924 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15925 __USE_XOPEN2K8].
15926 (CLD_KILLED): Likewise.
15927 (CLD_DUMPED): Likewise.
15928 (CLD_TRAPPED): Likewise.
15929 (CLD_STOPPED): Likewise.
15930 (CLD_CONTINUED): Likewise.
15931 (POLL_IN): Likewise.
15932 (POLL_OUT): Likewise.
15933 (POLL_MSG): Likewise.
15934 (POLL_ERR): Likewise.
15935 (POLL_PRI): Likewise.
15936 (POLL_HUP): Likewise.
15937 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15938 (ILL_ILLOPN): Likewise.
15939 (ILL_ILLADR): Likewise.
15940 (ILL_ILLTRP): Likewise.
15941 (ILL_PRVOPC): Likewise.
15942 (ILL_PRVREG): Likewise.
15943 (ILL_COPROC): Likewise.
15944 (ILL_BADSTK): Likewise.
15945 (ILL_DBLFLT): Likewise.
15946 (ILL_HARDWALL): Likewise.
15947 (FPE_INTDIV): Likewise.
15948 (FPE_INTOVF): Likewise.
15949 (FPE_FLTDIV): Likewise.
15950 (FPE_FLTOVF): Likewise.
15951 (FPE_FLTUND): Likewise.
15952 (FPE_FLTRES): Likewise.
15953 (FPE_FLTINV): Likewise.
15954 (FPE_FLTSUB): Likewise.
15955 (SEGV_MAPERR): Likewise.
15956 (SEGV_ACCERR): Likewise.
15957 (BUS_ADRALN): Likewise.
15958 (BUS_ADRERR): Likewise.
15959 (BUS_OBJERR): Likewise.
15960 (BUS_MCEERR_AR): Likewise.
15961 (BUS_MCEERR_AO): Likewise.
15962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15963 (TRAP_TRACE): Likewise.
15964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15965 __USE_XOPEN2K8].
15966 (CLD_KILLED): Likewise.
15967 (CLD_DUMPED): Likewise.
15968 (CLD_TRAPPED): Likewise.
15969 (CLD_STOPPED): Likewise.
15970 (CLD_CONTINUED): Likewise.
15971 (POLL_IN): Likewise.
15972 (POLL_OUT): Likewise.
15973 (POLL_MSG): Likewise.
15974 (POLL_ERR): Likewise.
15975 (POLL_PRI): Likewise.
15976 (POLL_HUP): Likewise.
15977 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15978 (ILL_ILLOPN): Likewise.
15979 (ILL_ILLADR): Likewise.
15980 (ILL_ILLTRP): Likewise.
15981 (ILL_PRVOPC): Likewise.
15982 (ILL_PRVREG): Likewise.
15983 (ILL_COPROC): Likewise.
15984 (ILL_BADSTK): Likewise.
15985 (FPE_INTDIV): Likewise.
15986 (FPE_INTOVF): Likewise.
15987 (FPE_FLTDIV): Likewise.
15988 (FPE_FLTOVF): Likewise.
15989 (FPE_FLTUND): Likewise.
15990 (FPE_FLTRES): Likewise.
15991 (FPE_FLTINV): Likewise.
15992 (FPE_FLTSUB): Likewise.
15993 (SEGV_MAPERR): Likewise.
15994 (SEGV_ACCERR): Likewise.
15995 (BUS_ADRALN): Likewise.
15996 (BUS_ADRERR): Likewise.
15997 (BUS_OBJERR): Likewise.
15998 (BUS_MCEERR_AR): Likewise.
15999 (BUS_MCEERR_AO): Likewise.
16000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16001 (TRAP_TRACE): Likewise.
16002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16003 __USE_XOPEN2K8].
16004 (CLD_KILLED): Likewise.
16005 (CLD_DUMPED): Likewise.
16006 (CLD_TRAPPED): Likewise.
16007 (CLD_STOPPED): Likewise.
16008 (CLD_CONTINUED): Likewise.
16009 (POLL_IN): Likewise.
16010 (POLL_OUT): Likewise.
16011 (POLL_MSG): Likewise.
16012 (POLL_ERR): Likewise.
16013 (POLL_PRI): Likewise.
16014 (POLL_HUP): Likewise.
16015 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16016 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16017
bc61d27c
JM
16018 [BZ #16670]
16019 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16020 before #include of <time.h>.
16021 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16022 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16023 (test-xfail-UNIX98/sched.h/conform): Likewise.
16024
302949e2
MS
160252014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16026
16027 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16028 error absence of trapping exception support.
16029 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16030
a00f522a
JM
160312014-03-07 Joseph Myers <joseph@codesourcery.com>
16032
6f99f280
JM
16033 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16034 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16035 * timezone/Makefile (testdata): Move definition above include of
16036 Rules.
16037 (test-zones): New variable.
16038 (tests-special): Add zone files.
16039 (build-testdata): Use $(evaluate-test).
16040
0b20a9e8
JM
16041 * elf/Makefile (tests-special): Rename tests to end with .out.
16042 ($(objpfx)noload-mem): Likewise.
16043 ($(objpfx)tst-leaks1-mem): Likewise.
16044 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16045 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16046 $(objpfx)test-iconvconfig.out.
16047 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16048 set -e inside subshell and redirect output to file.
16049 * iconvdata/Makefile (generated): Rename tests to end with .out.
16050 Correct type.
16051 (tests-special): Rename tests to end with .out.
16052 ($(objpfx)mtrace-tst-loading): Likewise.
16053 * intl/Makefile (generated): Likewise.
16054 (tests-special): Likewise.
16055 ($(objpfx)mtrace-tst-gettext): Likewise.
16056 * misc/Makefile (generated): Likewise.
16057 (tests-special): Likewise.
16058 ($(objpfx)tst-error1-mem): Likewise.
16059 * nptl/Makefile (tests-special): Likewise.
16060 ($(objpfx)tst-stack3-mem): Likewise.
16061 (generated): Likewise.
16062 * posix/Makefile (generated): Likewise.
16063 (tests-special): Likewise.
16064 (xtests-special): Likewise.
16065 ($(objpfx)tst-fnmatch-mem): Likewise.
16066 ($(objpfx)bug-regex2-mem): Likewise.
16067 ($(objpfx)bug-regex14-mem): Likewise.
16068 ($(objpfx)bug-regex21-mem): Likewise.
16069 ($(objpfx)bug-regex31-mem): Likewise.
16070 ($(objpfx)tst-vfork3-mem): Likewise.
16071 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16072 ($(objpfx)tst-pcre-mem): Likewise.
16073 ($(objpfx)tst-boost-mem): Likewise.
16074 ($(objpfx)bug-ga2-mem): Likewise.
16075 ($(objpfx)bug-glob2-mem): Likewise.
16076 * resolv/Makefile (generate): Likewise.
16077 (tests-special): Likewise.
16078 (xtests-special): Likewise.
16079 (generated): Likewise.
16080 ($(objpfx)mtrace-tst-leaks): Likewise.
16081 ($(objpfx)mtrace-tst-leaks2): Likewise.
16082
265d52ab
JM
16083 * scripts/merge-test-results.sh: New file.
16084 * Makefile (tests-special-notdir): New variable.
16085 (tests): Run merge-test-results.sh.
16086 (xtests): Likewise.
16087 * Rules (tests-special-notdir): New variable.
16088 (xtests-special-notdir): Likewise.
16089 (tests): Run merge-test-results.sh
16090 (xtests): Likewise.
16091
54ee292d
JM
16092 * Makeconfig (test-xfail-name): New variable.
16093 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16094 compute variable name for expected failures.
16095 * conform/Makefile (conformtest-headers-data): New variable.
16096 (conformtest-standards): Likewise.
16097 (conformtest-headers-ISO): Likewise.
16098 (conformtest-headers-ISO99): Likewise.
16099 (conformtest-headers-ISO11): Likewise.
16100 (conformtest-headers-POSIX): Likewise.
16101 (conformtest-headers-XPG3): Likewise.
16102 (conformtest-headers-XPG4): Likewise.
16103 (conformtest-headers-UNIX98): Likewise.
16104 (conformtest-headers-XOPEN2K): Likewise.
16105 (conformtest-headers-POSIX2008): Likewise.
16106 (conformtest-headers-XOPEN2K8): Likewise.
16107 (conformtest-header-list-base): Likewise.
16108 (conformtest-header-list-tests): Likewise.
16109 (conformtest-header-base): Likewise.
16110 (conformtest-header-tests): Likewise.
16111 (tests-special): Add $(conformtest-header-list-tests). If
16112 [$(fast-check) && !$(cross-compiling)], add
16113 $(conformtest-header-tests) instead of
16114 $(objpfx)run-conformtest.out.
16115 (generated): Add $(conformtest-header-list-base). If
16116 [$(fast-check) && !$(cross-compiling)], add
16117 $(conformtest-header-base). Remove previous setting.
16118 ($(conformtest-header-list-tests)): New target.
16119 (test-xfail-run-conformtest): Remove variable.
16120 ($(objpfx)run-conformtest.out): Remove target.
16121 (test-xfail-ISO11/complex.h/conform): New variable.
16122 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16123 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16124 (test-xfail-XPG3/varargs.h/conform): Likewise.
16125 (test-xfail-XPG4/varargs.h/conform): Likewise.
16126 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16127 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16128 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16129 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16130 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16131 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16132 (test-xfail-XPG3/ftw.h/conform): Likewise.
16133 (test-xfail-XPG3/grp.h/conform): Likewise.
16134 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16135 (test-xfail-XPG3/limits.h/conform): Likewise.
16136 (test-xfail-XPG3/pwd.h/conform): Likewise.
16137 (test-xfail-XPG3/search.h/conform): Likewise.
16138 (test-xfail-XPG3/signal.h/conform): Likewise.
16139 (test-xfail-XPG3/stdio.h/conform): Likewise.
16140 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16141 (test-xfail-XPG3/string.h/conform): Likewise.
16142 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16143 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16144 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16145 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16146 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16147 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16148 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16149 (test-xfail-XPG3/termios.h/conform): Likewise.
16150 (test-xfail-XPG3/time.h/conform): Likewise.
16151 (test-xfail-XPG3/unistd.h/conform): Likewise.
16152 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16153 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16154 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16155 (test-xfail-XPG4/netdb.h/conform): Likewise.
16156 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16157 (test-xfail-XPG4/signal.h/conform): Likewise.
16158 (test-xfail-XPG4/stdio.h/conform): Likewise.
16159 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16160 (test-xfail-XPG4/stropts.h/conform): Likewise.
16161 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16162 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16163 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16164 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16165 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16166 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16167 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16168 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16169 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16170 (test-xfail-XPG4/termios.h/conform): Likewise.
16171 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16172 (test-xfail-XPG4/unistd.h/conform): Likewise.
16173 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16174 (test-xfail-POSIX/sched.h/conform): Likewise.
16175 (test-xfail-POSIX/signal.h/conform): Likewise.
16176 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16177 (test-xfail-POSIX/tar.h/conform): Likewise.
16178 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16179 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16180 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16181 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16182 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16183 (test-xfail-UNIX98/sched.h/conform): Likewise.
16184 (test-xfail-UNIX98/signal.h/conform): Likewise.
16185 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16186 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16187 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16188 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16189 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16190 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16191 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16192 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16193 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16194 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16195 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16196 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16197 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16198 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16199 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16200 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16201 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16202 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16203 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16204 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16205 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16206 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16207 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16208 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16209 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16210 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16211 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16212 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16213 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16214 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16215 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16216 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16217 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16218 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16219 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16220 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16221 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16222 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16223 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16224 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16225 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16226 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16227 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16228 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16229 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16230 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16231 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16232 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16233 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16234 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16235 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16236 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16237 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16238 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16239 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16240 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16241 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16242 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16243 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16244 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16245 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16246 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16247 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16248 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16249 (conformtest-cc-flags): Likewise.
16250 ($(conformtest-header-tests): New target.
16251 * conform/check-header-lists.sh: New file.
16252 * conform/run-conformtest.sh: Remove.
16253
a00f522a
JM
16254 * conform/conformtest.pl: Allow ' and \ in values given for
16255 constants.
16256 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16257 inclusion.
16258 [POSIX] (sys/types.h): Likewise.
16259 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16260 inclusion.
16261 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16262 inclusion.
16263 * conform/data/signal.h-data (SIGIO): Remove expectation.
16264 [XPG3] (SIGBUS): Do not expect.
16265 [POSIX || XPG3] (SIGPOLL): Likewise.
16266 [POSIX || XPG3] (SIGPROF): Likewise.
16267 [POSIX || XPG3] (SIGSYS): Likewise.
16268 [XPG3] (SIGTRAP): Likewise.
16269 [POSIX || XPG3] (SIGURG): Likewise.
16270 [POSIX || XPG3] (SIGVTALRM): Likewise.
16271 [POSIX || XPG3] (SIGXCPU): Likewise.
16272 [POSIX || XPG3] (SIGXFSZ): Likewise.
16273 [POSIX] (SA_SIGINFO): Expect.
16274 [XPG3] (siginfo_t): Do not expect type or contents.
16275 [POSIX] (si_pid): Do not expect element.
16276 [POSIX] (si_uid): Likewise.
16277 [POSIX] (si_addr): Likewise.
16278 [POSIX] (si_status): Likewise.
16279 [POSIX] (si_band): Likewise.
16280 [XPG4] (si_value): Likewise.
16281 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16282 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16283 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16284 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16285 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16286 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16287 [POSIX || XPG3] (ILL_COPROC): Likewise.
16288 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16289 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16290 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16291 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16292 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16293 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16294 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16295 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16296 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16297 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16298 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16299 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16300 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16301 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16302 [POSIX || XPG3] (CLD_EXITED): Likewise.
16303 [POSIX || XPG3] (CLD_KILLED): Likewise.
16304 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16305 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16306 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16307 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16308 [POSIX || XPG3] (POLL_IN): Likewise.
16309 [POSIX || XPG3] (POLL_OUT): Likewise.
16310 [POSIX || XPG3] (POLL_MSG): Likewise.
16311 [POSIX || XPG3] (POLL_ERR): Likewise.
16312 [POSIX || XPG3] (POLL_PRI): Likewise.
16313 [POSIX || XPG3] (POLL_HUP): Likewise.
16314 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16315 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16316 (SIG*): Do not allow.
16317 [XPG3] (si_*): Likewise.
16318 [XPG3] (SI_*): Likewise.
16319 [XPG3 || XPG4] (sigev_*): Likewise.
16320 [XPG3 || XPG4] (SIGEV_*): Likewise.
16321 [XPG3 || XPG4] (sival_*): Likewise.
16322 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16323 [POSIX || XPG3] (BUS_*): Likewise.
16324 [POSIX || XPG3] (CLD_*): Likewise.
16325 [POSIX || XPG3] (FPE_*): Likewise.
16326 [POSIX || XPG3] (ILL_*): Likewise.
16327 [POSIX || XPG3] (POLL_*): Likewise.
16328 [POSIX || XPG3] (SEGV_*): Likewise.
16329 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16330 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16331 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16332 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16333 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16334 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16335 Specify type and value.
16336 (TVERSLEN): Likewise.
16337 (REGTYPE): Likewise.
16338 (AREGTYPE): Likewise.
16339 (LNKTYPE): Likewise.
16340 (SYMTYPE): Likewise.
16341 (CHRTYPE): Likewise.
16342 (BLKTYPE): Likewise.
16343 (DIRTYPE): Likewise.
16344 (FIFOTYPE): Likewise.
16345 (CONTTYPE): Likewise.
16346 (TSUID): Likewise.
16347 (TSGID): Likewise.
16348 (TSVTX): Likewise.
16349 (TUREAD): Likewise.
16350 (TUWRITE): Likewise.
16351 (TUEXEC): Likewise.
16352 (TGREAD): Likewise.
16353 (TGWRITE): Likewise.
16354 (TGEXEC): Likewise.
16355 (TOREAD): Likewise.
16356 (TOWRITE): Likewise.
16357 (TOEXEC): Likewise.
16358 [POSIX] (TSVTX): Expect constant.
16359
aa97dee1
JM
163602014-03-06 Joseph Myers <joseph@codesourcery.com>
16361
f214606a
JM
16362 * Makefile (tests): Change dependencies to ....
16363 (tests-special): ... additions to this variable.
16364 (tests): Depend on $(tests-special).
16365 * Makerules (check-abi-list): New variable.
16366 (check-abi): Depend on $(check-abi-list).
16367 [$(subdir) = elf] (tests-special): Add
16368 $(objpfx)check-abi-libc.out.
16369 [$(build-shared) = yes && subdir] (tests-special): Add
16370 $(check-abi-list).
16371 [$(build-shared) = yes && subdir] (tests): Do not depend on
16372 check-abi.
16373 * Rules (tests): Depend on $(tests-special).
16374 (xtests): Depend on $(xtests-special).
16375 * catgets/Makefile (tests): Change dependencies to ....
16376 (tests-special): ... additions to this variable.
16377 * conform/Makefile (tests): Change dependencies to ....
16378 (tests-special): ... additions to this variable.
16379 * elf/Makefile (tests): Change dependencies to ....
16380 (tests-special): ... additions to this variable.
16381 * grp/Makefile (tests): Change dependencies to ....
16382 (tests-special): ... additions to this variable.
16383 * iconv/Makefile (xtests): Change dependencies to ....
16384 (xtests-special): ... additions to this variable.
16385 * iconvdata/Makefile (tests): Change dependencies to ....
16386 (tests-special): ... additions to this variable.
16387 * intl/Makefile (tests): Change dependencies to ....
16388 (tests-special): ... additions to this variable. Also add
16389 $(objpfx)tst-gettext.out.
16390 * io/Makefile (tests): Change dependencies to ....
16391 (tests-special): ... additions to this variable.
16392 * libio/Makefile (tests): Change dependencies to ....
16393 (tests-special): ... additions to this variable.
16394 * malloc/Makefile (tests): Change dependencies to ....
16395 (tests-special): ... additions to this variable.
16396 * misc/Makefile (tests): Change dependencies to ....
16397 (tests-special): ... additions to this variable.
16398 * nptl/Makefile (tests): Change dependencies to ....
16399 (tests-special): ... additions to this variable.
16400 * nptl_db/Makefile (tests): Change dependencies to ....
16401 (tests-special): ... additions to this variable.
16402 * posix/Makefile (tests): Change dependencies to ....
16403 (tests-special): ... additions to this variable.
16404 (xtests): Change dependencies to ....
16405 (xtests-special): ... additions to this variable.
16406 * resolv/Makefile (tests): Change dependencies to ....
16407 (tests-special): ... additions to this variable.
16408 (xtests): Change dependencies to ....
16409 (xtests-special): ... additions to this variable.
16410 * stdio-common/Makefile (tests): Change dependencies to ....
16411 (tests-special): ... additions to this variable.
16412 (do-tst-unbputc): Remove target.
16413 (do-tst-printf): Likewise.
16414 * stdlib/Makefile (tests): Change dependencies to ....
16415 (tests-special): ... additions to this variable.
16416 * string/Makefile (tests): Change dependencies to ....
16417 (tests-special): ... additions to this variable.
16418 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16419 (tests-special): ... additions to this variable.
16420
81700b53
JM
16421 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16422 whole file.
16423 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16424 whole file.
16425 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16426 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16427
2ea18461
JM
16428 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16429 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16430 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16431 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16432 * conform/data/libgen.h-data [XPG3]: Likewise.
16433 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16434 * conform/data/ndbm.h-data [XPG3]: Likewise.
16435 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16436 * conform/data/netdb.h-data [XPG3]: Likewise.
16437 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16438 * conform/data/poll.h-data [XPG3]: Likewise.
16439 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16440 * conform/data/strings.h-data [XPG3]: Likewise.
16441 * conform/data/stropts.h-data [XPG3]: Likewise.
16442 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16443 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16444 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16445 Likewise.
16446 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16447 * conform/data/sys/time.h-data [XPG3]: Likewise.
16448 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16449 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16450 * conform/data/sys/un.h-data [XPG3]: Likewise.
16451 * conform/data/syslog.h-data [XPG3]: Likewise.
16452 * conform/data/ucontext.h-data [XPG3]: Likewise.
16453 * conform/data/utmpx.h-data [XPG3]: Likewise.
16454 * conform/data/varargs.h-data [UNIX98]: Enable file.
16455
355bc986
JM
16456 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16457
215db402
JM
16458 * math/libm-test.inc (struct test_f_f_data): Move expected results
16459 into structure for each rounding mode.
16460 (struct test_ff_f_data): Likewise.
16461 (struct test_ff_f_data_nexttoward): Likewise.
16462 (struct test_fi_f_data): Likewise.
16463 (struct test_fl_f_data): Likewise.
16464 (struct test_if_f_data): Likewise.
16465 (struct test_fff_f_data): Likewise.
16466 (struct test_c_f_data): Likewise.
16467 (struct test_f_f1_data): Likewise.
16468 (struct test_fF_f1_data): Likewise.
16469 (struct test_ffI_f1_data): Likewise.
16470 (struct test_c_c_data): Likewise.
16471 (struct test_cc_c_data): Likewise.
16472 (struct test_f_i_data): Likewise.
16473 (struct test_ff_i_data): Likewise.
16474 (struct test_f_l_data): Likewise.
16475 (struct test_f_L_data): Likewise.
16476 (struct test_fFF_11_data): Likewise.
16477 (RM_): New macro.
16478 (RM_FE_DOWNWARD): Likewise.
16479 (RM_FE_TONEAREST): Likewise.
16480 (RM_FE_TOWARDZERO): Likewise.
16481 (RM_FE_UPWARD): Likewise.
16482 (RUN_TEST_LOOP_f_f): Update references to expected results.
16483 (RUN_TEST_LOOP_2_f): Likewise.
16484 (RUN_TEST_LOOP_fff_f): Likewise.
16485 (RUN_TEST_LOOP_c_f): Likewise.
16486 (RUN_TEST_LOOP_f_f1): Likewise.
16487 (RUN_TEST_LOOP_fF_f1): Likewise.
16488 (RUN_TEST_LOOP_fI_f1): Likewise.
16489 (RUN_TEST_LOOP_ffI_f1): Likewise.
16490 (RUN_TEST_LOOP_c_c): Likewise.
16491 (RUN_TEST_LOOP_cc_c): Likewise.
16492 (RUN_TEST_LOOP_f_i): Likewise.
16493 (RUN_TEST_LOOP_f_i_tg): Likewise.
16494 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16495 (RUN_TEST_LOOP_f_b): Likewise.
16496 (RUN_TEST_LOOP_f_b_tg): Likewise.
16497 (RUN_TEST_LOOP_f_l): Likewise.
16498 (RUN_TEST_LOOP_f_L): Likewise.
16499 (RUN_TEST_LOOP_fFF_11): Likewise.
16500 * math/gen-libm-test.pl (parse_args): Output four copies of
16501 expected results for each test.
16502
67737b8f
JM
16503 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16504 (__ASSUME_UTIMES): Remove.
16505 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16506 (__ASSUME_UTIMES): Likewise.
16507
aa97dee1
JM
16508 * math/gen-auto-libm-tests.c: Update comment on output format.
16509 (output_for_one_input_case): Generate before-rounding and
16510 after-rounding information as conditions on output flags not
16511 floating-point format.
16512 * math/auto-libm-test-out: Regenerated.
16513 * math/gen-libm-test.pl (cond_value): New function.
16514 (or_cond_value): Use cond_value.
16515 (generate_testfile): Handle conditional exceptions.
16516
e6b6a857
JM
165172014-03-05 Joseph Myers <joseph@codesourcery.com>
16518
2f0a0f44
JM
16519 * math/libm-test.inc (max_valid_error): New variable.
16520 (init_max_error): Take new argument specifying whether function
16521 results are exactly determined. Set max_valid_error and bound
16522 other variables for errors based on this argument.
16523 (set_max_error): Do not record results above max_valid_error.
16524 (check_float_internal): Only accept errors of up to 0.5ulps if
16525 also at most max_valid_error.
16526 (START): Take new argument EXACT and pass it to init_max_error.
16527 (acos_test): Update call to START.
16528 (acos_test_tonearest): Likewise.
16529 (acos_test_towardzero): Likewise.
16530 (acos_test_downward): Likewise.
16531 (acos_test_upward): Likewise.
16532 (acosh_test): Likewise.
16533 (asin_test): Likewise.
16534 (asin_test_tonearest): Likewise.
16535 (asin_test_towardzero): Likewise.
16536 (asin_test_downward): Likewise.
16537 (asin_test_upward): Likewise.
16538 (asinh_test): Likewise.
16539 (atan_test): Likewise.
16540 (atanh_test): Likewise.
16541 (atan2_test): Likewise.
16542 (cabs_test): Likewise.
16543 (cacos_test): Likewise.
16544 (cacosh_test): Likewise.
16545 (carg_test): Likewise.
16546 (casin_test): Likewise.
16547 (casinh_test): Likewise.
16548 (catan_test): Likewise.
16549 (catanh_test): Likewise.
16550 (cbrt_test): Likewise.
16551 (ccos_test): Likewise.
16552 (ccosh_test): Likewise.
16553 (ceil_test): Likewise.
16554 (cexp_test): Likewise.
16555 (cimag_test): Likewise.
16556 (clog_test): Likewise.
16557 (clog10_test): Likewise.
16558 (conj_test): Likewise.
16559 (copysign_test): Likewise.
16560 (cos_test): Likewise.
16561 (cos_test_tonearest): Likewise.
16562 (cos_test_towardzero): Likewise.
16563 (cos_test_downward): Likewise.
16564 (cos_test_upward): Likewise.
16565 (cosh_test): Likewise.
16566 (cosh_test_tonearest): Likewise.
16567 (cosh_test_towardzero): Likewise.
16568 (cosh_test_downward): Likewise.
16569 (cosh_test_upward): Likewise.
16570 (cpow_test): Likewise.
16571 (cproj_test): Likewise.
16572 (creal_test): Likewise.
16573 (csin_test): Likewise.
16574 (csinh_test): Likewise.
16575 (csqrt_test): Likewise.
16576 (ctan_test): Likewise.
16577 (ctan_test_tonearest): Likewise.
16578 (ctan_test_towardzero): Likewise.
16579 (ctan_test_downward): Likewise.
16580 (ctan_test_upward): Likewise.
16581 (ctanh_test): Likewise.
16582 (ctanh_test_tonearest): Likewise.
16583 (ctanh_test_towardzero): Likewise.
16584 (ctanh_test_downward): Likewise.
16585 (ctanh_test_upward): Likewise.
16586 (erf_test): Likewise.
16587 (erfc_test): Likewise.
16588 (exp_test): Likewise.
16589 (exp_test_tonearest): Likewise.
16590 (exp_test_towardzero): Likewise.
16591 (exp_test_downward): Likewise.
16592 (exp_test_upward): Likewise.
16593 (exp10_test): Likewise.
16594 (exp10_test_tonearest): Likewise.
16595 (exp10_test_towardzero): Likewise.
16596 (exp10_test_downward): Likewise.
16597 (exp10_test_upward): Likewise.
16598 (pow10_test): Likewise.
16599 (exp2_test): Likewise.
16600 (expm1_test): Likewise.
16601 (expm1_test_tonearest): Likewise.
16602 (expm1_test_towardzero): Likewise.
16603 (expm1_test_downward): Likewise.
16604 (expm1_test_upward): Likewise.
16605 (fabs_test): Likewise.
16606 (fdim_test): Likewise.
16607 (floor_test): Likewise.
16608 (fma_test): Likewise.
16609 (fma_test_towardzero): Likewise.
16610 (fma_test_downward): Likewise.
16611 (fma_test_upward): Likewise.
16612 (fmax_test): Likewise.
16613 (fmin_test): Likewise.
16614 (fmod_test): Likewise.
16615 (fpclassify_test): Likewise.
16616 (frexp_test): Likewise.
16617 (hypot_test): Likewise.
16618 (ilogb_test): Likewise.
16619 (isfinite_test): Likewise.
16620 (finite_test): Likewise.
16621 (isgreater_test): Likewise.
16622 (isgreaterequal_test): Likewise.
16623 (isinf_test): Likewise.
16624 (isless_test): Likewise.
16625 (islessequal_test): Likewise.
16626 (islessgreater_test): Likewise.
16627 (isnan_test): Likewise.
16628 (isnormal_test): Likewise.
16629 (issignaling_test): Likewise.
16630 (isunordered_test): Likewise.
16631 (j0_test): Likewise.
16632 (j1_test): Likewise.
16633 (jn_test): Likewise.
16634 (ldexp_test): Likewise.
16635 (lgamma_test): Likewise.
16636 (gamma_test): Likewise.
16637 (lrint_test): Likewise.
16638 (lrint_test_tonearest): Likewise.
16639 (lrint_test_towardzero): Likewise.
16640 (lrint_test_downward): Likewise.
16641 (lrint_test_upward): Likewise.
16642 (llrint_test): Likewise.
16643 (llrint_test_tonearest): Likewise.
16644 (llrint_test_towardzero): Likewise.
16645 (llrint_test_downward): Likewise.
16646 (llrint_test_upward): Likewise.
16647 (log_test): Likewise.
16648 (log10_test): Likewise.
16649 (log1p_test): Likewise.
16650 (log2_test): Likewise.
16651 (logb_test): Likewise.
16652 (logb_test_downward): Likewise.
16653 (lround_test): Likewise.
16654 (llround_test): Likewise.
16655 (modf_test): Likewise.
16656 (nearbyint_test): Likewise.
16657 (nextafter_test): Likewise.
16658 (nexttoward_test): Likewise.
16659 (pow_test): Likewise.
16660 (pow_test_tonearest): Likewise.
16661 (pow_test_towardzero): Likewise.
16662 (pow_test_downward): Likewise.
16663 (pow_test_upward): Likewise.
16664 (remainder_test): Likewise.
16665 (drem_test): Likewise.
16666 (remainder_test_tonearest): Likewise.
16667 (drem_test_tonearest): Likewise.
16668 (remainder_test_towardzero): Likewise.
16669 (drem_test_towardzero): Likewise.
16670 (remainder_test_downward): Likewise.
16671 (drem_test_downward): Likewise.
16672 (remainder_test_upward): Likewise.
16673 (drem_test_upward): Likewise.
16674 (remquo_test): Likewise.
16675 (rint_test): Likewise.
16676 (rint_test_tonearest): Likewise.
16677 (rint_test_towardzero): Likewise.
16678 (rint_test_downward): Likewise.
16679 (rint_test_upward): Likewise.
16680 (round_test): Likewise.
16681 (scalb_test): Likewise.
16682 (scalbn_test): Likewise.
16683 (scalbln_test): Likewise.
16684 (signbit_test): Likewise.
16685 (sin_test): Likewise.
16686 (sin_test_tonearest): Likewise.
16687 (sin_test_towardzero): Likewise.
16688 (sin_test_downward): Likewise.
16689 (sin_test_upward): Likewise.
16690 (sincos_test): Likewise.
16691 (sinh_test): Likewise.
16692 (sinh_test_tonearest): Likewise.
16693 (sinh_test_towardzero): Likewise.
16694 (sinh_test_downward): Likewise.
16695 (sinh_test_upward): Likewise.
16696 (sqrt_test): Likewise.
16697 (sqrt_test_tonearest): Likewise.
16698 (sqrt_test_towardzero): Likewise.
16699 (sqrt_test_downward): Likewise.
16700 (sqrt_test_upward): Likewise.
16701 (tan_test): Likewise.
16702 (tan_test_tonearest): Likewise.
16703 (tan_test_towardzero): Likewise.
16704 (tan_test_downward): Likewise.
16705 (tan_test_upward): Likewise.
16706 (tanh_test): Likewise.
16707 (tgamma_test): Likewise.
16708 (trunc_test): Likewise.
16709 (y0_test): Likewise.
16710 (y1_test): Likewise.
16711 (yn_test): Likewise.
16712 (significand_test): Likewise.
16713
e6b6a857
JM
16714 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16715 individual tests in comment.
16716 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16717 (prev_max_error): New variable.
16718 (prev_real_max_error): Likewise.
16719 (prev_imag_max_error): Likewise.
16720 (compare_ulp_data): Don't refer to test names in comment.
16721 (find_test_ulps): Remove function.
16722 (find_function_ulps): Likewise.
16723 (find_complex_function_ulps): Likewise.
16724 (init_max_error): Take function name as argument. Look up ulps
16725 for that function.
16726 (print_ulps): Remove function.
16727 (print_max_error): Use prev_max_error instead of calling
16728 find_function_ulps.
16729 (print_complex_max_error): Use prev_real_max_error and
16730 prev_imag_max_error instead of calling find_complex_function_ulps.
16731 (check_float_internal): Take max_ulp parameter instead of calling
16732 find_test_ulps. Don't call print_ulps.
16733 (check_float): Update call to check_float_internal.
16734 (check_complex): Update calls to check_float_internal.
16735 (START): Pass argument to init_max_error.
16736 * math/gen-libm-test.pl (%results): Don't include "kind"
16737 information.
16738 (parse_ulps): Don't handle ulps of individual tests.
16739 (print_ulps_file): Likewise.
16740 (output_ulps): Likewise.
16741 * math/README.libm-test: Update.
16742 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16743 individual tests.
16744 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16745 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16746 * sysdeps/arm/libm-test-ulps: Likewise.
16747 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16748 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16749 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16750 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16751 * sysdeps/microblaze/libm-test-ulps: Likewise.
16752 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16753 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16754 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16755 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16756 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16757 * sysdeps/sh/libm-test-ulps: Likewise.
16758 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16759 * sysdeps/tile/libm-test-ulps: Likewise.
16760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16761
45adef3c
JM
167622014-03-04 Joseph Myers <joseph@codesourcery.com>
16763
16764 * math/libm-test.inc (print_complex_max_error): Check separately
16765 whether real and imaginary errors are within allowed range and
16766 pass 0 to print_complex_function_ulps instead of value within
16767 allowed range.
16768
000232b9
SP
167692014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16770
d4b17258
SP
16771 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16772 formatting.
16773 (get_handles_fopen): Likewise.
16774 (do_write_test): Likewise.
16775
091eff71
SP
16776 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16777
fa3cd248
SP
16778 * libio/fileops.c (do_ftell): Use cached offset when
16779 available.
16780 * libio/iofwide.c (do_ftell_wide): Likewise.
16781 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16782 _IO_file_attach.
16783 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16784
000232b9
SP
16785 [BZ #16532]
16786 * libio/libioP.h (get_file_offset): New function.
16787 * libio/fileops.c (get_file_offset): Likewise.
16788 (do_ftell): Likewise.
16789 (_IO_new_file_seekoff): Split out ftell logic.
16790 * libio/wfileops.c (do_ftell_wide): Likewise.
16791 (_IO_wfile_seekoff): Split out ftell logic.
16792 * libio/tst-ftell-active-handler.c: New test case.
16793 * libio/Makefile (tests): Add it.
16794
116f4d1a
RM
167952014-03-03 Roland McGrath <roland@hack.frob.com>
16796
16797 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16798 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16799
532a6035
SP
168002014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16801
16802 [BZ #16639]
16803 * nscd/connections.c (nscd_init): Call do_exit.
16804 (start_threads): Call do_exit and notify_parent.
16805 (begin_drop_privileges): Call do_exit.
16806 (finish_drop_privileges): Likewise.
16807 * nscd/selinux.c (preserve_capabilities): Likewise.
16808 (install_real_capabilities): Likewise.
16809 (nscd_selinux_enabled): Likewise.
16810 (avc_create_thread): Likewise.
16811 (avc_alloc_lock): Likewise.
16812 (nscd_avc_init): Likewise.
16813 * nscd/nscd.c (parent_fd): New static variable.
16814 (main): Create a pipe between parent and child processes.
16815 Skip closing parent_fd.
16816 (monitor_child): New function.
16817 (do_exit): Likewise.
16818 (notify_parent): Likewise.
16819 * nscd/nscd.h (notify_parent): Likewise.
16820 (do_exit): Likewise.
16821
d6285c9f
CD
168222014-03-03 Carlos O'Donell <carlos@redhat.com>
16823
16824 * malloc/malloc.c (__libc_calloc): Revert last change.
16825
2b85d2a0
AZ
168262014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16827
16828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16829
c7debbdf
RS
168302014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16831
16832 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16834 implementation.
16835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16836 (__libc_ifunc_impl_list): Likewise.
16837 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16838 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16839 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16840 * string/strrchr.c: Define STRRCHR.
16841
235eed86
OB
168422014-02-28 Ondřej Bílka <neleai@seznam.cz>
16843
16844 * benchtest/bench-strtok.c (simple_strtok): Delete.
16845 (strtok_string): Use as benchmark.
16846 * string/strtok (STRTOK): New macro.
16847
8e25d1e7
CD
168482014-02-28 Carlos O'Donell <carlos@redhat.com>
16849
ef563f92
CD
16850 * manual/threads.texi: Add header and standard comments to all
16851 functions.
16852
8e25d1e7
CD
16853 * elf/dl-lookup.c (check_match): New function.
16854 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16855 (do_lookup_x): Remove nested function check_match. Use non-nested
16856 function check_match.
16857
ff71cc37
RM
168582014-02-28 Roland McGrath <roland@hack.frob.com>
16859
f08e9a26
RM
16860 * csu/Makefile (generated, before-compile): Use += rather than =.
16861 * catgets/Makefile (generated, generated-dirs): Likewise.
16862 * debug/Makefile (generated): Likewise.
16863 * dlfcn/Makefile (generated): Likewise.
16864 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16865 * iconvdata/Makefile (before-compile, generated): Likewise.
16866 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16867 * libio/Makefile (generated): Likewise.
16868 * malloc/Makefile (generated): Likewise.
16869 * manual/Makefile (generated, generated-dirs): Likewise.
16870 * misc/Makefile (generated): Likewise.
16871 * posix/Makefile (generated): Likewise.
16872 * resolv/Makefile (generated): Likewise.
16873 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16874 * timezone/Makefile (generated, generated-dirs): Likewise.
16875
ff71cc37
RM
16876 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16877
fe13a20c
AZ
168782014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16879
57f41c40
AS
16880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16881 power8 implementation.
16882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16883 file: POWER8 llround ifunc implementation.
16884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16885 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16886 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16887 POWER8 llround implementation.
16888
57f41c40
AS
16889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16890 power8 implementation.
16891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16892 file: POWER8 llrint ifunc implementation.
16893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16894 Add POWER8 implementation.
1ad8950a
AZ
16895 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16896 POWER8 llrint implementation.
16897
57f41c40
AS
16898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16899 power8 implementation.
16900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16901 file: POWER8 finite ifunc implementation.
16902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16903 Add POWER8 implementation.
cac626d6
AZ
16904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16905 Likewise.
16906 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16907 POWER8 finite implementation.
16908 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16909
57f41c40
AS
16910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16911 power8 implementation.
16912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16913 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16915 POWER8 implementation.
16916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16917 Likewise.
57f41c40
AS
16918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16919 isinf implementation.
4393fc11
AZ
16920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16921
57f41c40
AS
16922 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16923 (INIT_ARCH): Add hwcap2 initialization.
16924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16925 power8 implementation.
16926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16927 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16929 POWER8 implementation.
16930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16931 Likewise.
57f41c40
AS
16932 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16933 isnan implementation.
487972ae
AZ
16934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16935
7d92b787
JY
169362014-02-27 Joey Ye <joey.ye@arm.com>
16937
16938 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16939 (_FP_NANFRAC_Q): Set to zero.
16940
1cadc858
SP
169412014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16942
16943 [BZ #16623]
16944 * math/auto-libm-test-in: New test inputs.
16945 * math/auto-libm-test-out: Regenerate.
16946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16947 and DA.
16948 (__cos): Likewise.
16949 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16950
f8c17e79
JM
169512014-02-27 Joseph Myers <joseph@codesourcery.com>
16952
16953 * scripts/evaluate-test.sh: Take new argument indicating whether
16954 failure is expected.
16955 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16956 indicating whether failure is expected.
16957 * conform/Makefile (test-xfail-run-conformtest): New variable.
16958 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16959 level.
16960 * posix/Makefile (test-xfail-annexc): New variable.
16961 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16962
a5f891ac
JM
169632014-02-26 Joseph Myers <joseph@codesourcery.com>
16964
16965 * argp/Makefile: Include Makeconfig immediately after defining
16966 subdir.
16967 * assert/Makefile: Likewise.
16968 * benchtests/Makefile: Likewise.
16969 * catgets/Makefile: Likewise.
16970 * conform/Makefile: Likewise.
16971 * crypt/Makefile: Likewise.
16972 * csu/Makefile: Likewise.
16973 (all): Remove target.
16974 * ctype/Makefile: Include Makeconfig immediately after defining
16975 subdir.
16976 * debug/Makefile: Likewise.
16977 * dirent/Makefile: Likewise.
16978 * dlfcn/Makefile: Likewise.
16979 * gmon/Makefile: Likewise.
16980 * gnulib/Makefile: Likewise.
16981 * grp/Makefile: Likewise.
16982 * gshadow/Makefile: Likewise.
16983 * hesiod/Makefile: Likewise.
16984 * hurd/Makefile: Likewise.
16985 (all): Remove target.
16986 * iconvdata/Makefile: Include Makeconfig immediately after
16987 defining subdir.
16988 * inet/Makefile: Likewise.
16989 * intl/Makefile: Likewise.
16990 * io/Makefile: Likewise.
16991 * libio/Makefile: Likewise.
16992 (all): Remove target.
16993 * locale/Makefile: Include Makeconfig immediately after defining
16994 subdir.
16995 * login/Makefile: Likewise.
16996 * mach/Makefile: Likewise.
16997 (all): Remove target.
16998 * malloc/Makefile: Include Makeconfig immediately after defining
16999 subdir.
17000 (all): Remove target.
17001 * manual/Makefile: Include Makeconfig immediately after defining
17002 subdir.
17003 * math/Makefile: Likewise.
17004 * misc/Makefile: Likewise.
17005 * nis/Makefile: Likewise.
17006 * nss/Makefile: Likewise.
17007 * po/Makefile: Likewise.
17008 (all): Remove target.
17009 * posix/Makefile: Include Makeconfig immediately after defining
17010 subdir.
17011 * pwd/Makefile: Likewise.
17012 * resolv/Makefile: Likewise.
17013 * resource/Makefile: Likewise.
17014 * rt/Makefile: Likewise.
17015 * setjmp/Makefile: Likewise.
17016 * shadow/Makefile: Likewise.
17017 * signal/Makefile: Likewise.
17018 * socket/Makefile: Likewise.
17019 * soft-fp/Makefile: Likewise.
17020 * stdio-common/Makefile: Likewise.
17021 * stdlib/Makefile: Likewise.
17022 * streams/Makefile: Likewise.
17023 * string/Makefile: Likewise.
17024 * sunrpc/Makefile: Likewise.
17025 (all): Remove target.
17026 * sysvipc/Makefile: Include Makeconfig immediately after defining
17027 subdir.
17028 * termios/Makefile: Likewise.
17029 * time/Makefile: Likewise.
17030 * timezone/Makefile: Likewise.
17031 (all): Remove target.
17032 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17033 subdir.
17034 * wctype/Makefile: Likewise.
17035
5b456e9d
SE
170362014-02-26 Steve Ellcey <sellcey@mips.com>
17037
17038 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17039 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17040 (libc_feholdexcept_setround_mips): Ditto.
17041 (libc_feholdsetround): New.
17042 (libc_feholdsetroundf): New.
17043 (libc_feholdsetroundl): New.
17044 (libc_feupdateenv_test_mips): New.
17045 (libc_feupdateenv_test): New.
17046 (libc_feupdateenv_testf): New.
17047 (libc_feupdateenv_testl): New.
17048 (libc_feresetround): New.
17049 (libc_feresetroundf): New.
17050 (libc_feresetroundl): New.
17051 (libc_fetestexcept_mips): New.
17052 (libc_fetestexcept): New.
17053 (libc_fetestexceptf): New.
17054 (libc_fetestexceptl): New.
17055 (HAVE_RM_CTX): New.
17056 (libc_feholdexcept_setround_mips_ctx): New.
17057 (libc_feholdexcept_setround_ctx): New.
17058 (libc_feholdexcept_setroundf_ctx): New.
17059 (libc_feholdexcept_setroundl_ctx): New.
17060 (libc_fesetenv_mips_ctx): New.
17061 (libc_fesetenv_ctx): New.
17062 (libc_fesetenv_ctxf): New.
17063 (libc_fesetenv_ctxl): New.
17064 (libc_feupdateenv_mips_ctx): New.
17065 (libc_feupdateenv_ctx): New.
17066 (libc_feupdateenvf_ctx): New.
17067 (libc_feupdateenvl_ctx): New.
17068 (libc_feholdsetround_mips_ctx): New.
17069 (libc_feholdsetround_ctx): New.
17070 (libc_feholdsetroundf_ctx): New.
17071 (libc_feholdsetroundl_ctx): New.
17072 (libc_feresetround_mips_ctx): New.
17073 (libc_feresetround_ctx): New.
17074 (libc_feresetroundf_ctx): New.
17075 (libc_feresetroundl_ctx): New.
17076
085d0e35
CD
170772014-02-26 Carlos O'Donell <carlos@redhat.com>
17078
f067bf1f
CD
17079 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17080
085d0e35
CD
17081 * manual/ipc.texi: New file.
17082 * manual/Makefile (chapters): Add ipc.
17083 * manual/job.texi: Add "Inter-Process Communication" to next.
17084 * manual/process.texi: Add "Inter-Process Communication" to prev.
17085
86e58c08
AZ
170862014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17087
17088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17089
4248f0da
OB
170902014-02-26 Ondřej Bílka <neleai@seznam.cz>
17091
17092 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17093
cf822e3c
OB
17094 * manual/arith.texi: Fix spaces after sentences.
17095 * manual/charset.texi: Likewise.
17096 * manual/errno.texi: Likewise.
17097 * manual/install.texi: Likewise.
17098 * manual/llio.texi: Likewise.
17099 * manual/locale.texi: Likewise.
17100 * manual/maint.texi: Likewise.
17101 * manual/math.texi: Likewise.
17102 * manual/memory.texi: Likewise.
17103 * manual/message.texi: Likewise.
17104 * manual/probes.texi: Likewise.
17105 * manual/resource.texi: Likewise.
17106 * manual/signal.texi: Likewise.
17107 * manual/socket.texi: Likewise.
17108 * manual/stdio.texi: Likewise.
17109 * manual/string.texi: Likewise.
17110 * manual/time.texi: Likewise.
17111 * manual/users.texi: Likewise.
17112
ade40b10
CD
171132014-02-25 Carlos O'Donell <carlos@redhat.com>
17114
17115 [BZ #16632]
17116 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17117 _DEFAULT_SOURCE is defined.
17118
d0503676
CD
171192014-02-25 Ulrich Drepper <drepper@gmail.com>
17120 Carlos O'Donell <carlos@redhat.com>
17121
17122 [BZ #16613]
17123 * elf/dl-tls.c (_dl_count_modids): New function.
17124 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17125 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17126 audit library and increment generation counter.
17127 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17128 * elf/tst-audit9.c: New file.
17129 * elf/tst-auditmod9a.c: New file.
17130 * elf/tst-auditmod9b.c: New file.
17131 * elf/Makefile: Add rules to build and run tst-audit9.
17132
4cbf380c
FW
171332014-02-25 Florian Weimer <fweimer@redhat.com>
17134
17135 [BZ #15347]
17136 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17137
80a56cc3
WN
171382014-02-25 Will Newton <will.newton@linaro.org>
17139
17140 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17141 (__longjmp): Restore sp and lr before restoring callee
17142 saved registers. Add longjmp and longjmp_target
17143 SystemTap probe point.
17144 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17145 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17146 Define to zero to match jmpbuf layout.
17147 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17148 (__sigsetjmp): Save sp and lr before saving callee
17149 saved registers. Add setjmp SystemTap probe point.
17150
3ea0f74e
SL
171512014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17152
17153 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17154
b04acb26
AS
171552014-02-24 Andreas Schwab <schwab@suse.de>
17156
17157 [BZ #15804]
17158 * elf/pldd.c (wait_for_ptrace_stop): New function.
17159 (main): Call it after attaching.
17160
098ad55c
RM
171612014-02-22 Roland McGrath <roland@hack.frob.com>
17162
d4ec6ae1
RM
17163 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17164 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17165 Versions files is now verboten.
17166 * hurd/Versions (libc: GLIBC_2.0):
17167 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17168 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17169 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17170 * mach/Versions: Likewise.
17171
098ad55c
RM
17172 * csu/Versions: Remove unused %include.
17173 * resolv/Versions: Likewise.
17174
acd7f096
JM
171752014-02-21 Joseph Myers <joseph@codesourcery.com>
17176
f0881698
JM
17177 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17178 ($(objpfx)check-local-headers.out): Likewise.
17179 ($(objpfx)begin-end-check.out): Likewise.
17180 * Makerules (check-abi-%.out): Likewise.
17181 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17182 ($(objpfx)test2.cat): Likewise.
17183 ($(objpfx)de/libc.cat): Likewise.
17184 ($(objpfx)test-gencat.out): Likewise.
17185 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17186 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17187 ($(objpfx)noload-mem): Likewise.
17188 ($(objpfx)tst-pathopt.out): Likewise.
17189 ($(objpfx)tst-rtld-load-self.out): Likewise.
17190 ($(objpfx)tst-array1-cmp.out): Likewise.
17191 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17192 ($(objpfx)tst-array2-cmp.out): Likewise.
17193 ($(objpfx)tst-array3-cmp.out): Likewise.
17194 ($(objpfx)tst-array4-cmp.out): Likewise.
17195 ($(objpfx)tst-array5-cmp.out): Likewise.
17196 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17197 ($(objpfx)check-textrel.out): Likewise.
17198 ($(objpfx)check-execstack.out): Likewise.
17199 ($(objpfx)check-localplt.out): Likewise.
17200 ($(objpfx)order2-cmp.out): Likewise.
17201 ($(objpfx)tst-leaks1-mem): Likewise.
17202 ($(objpfx)tst-leaks1-static-mem): Likewise.
17203 ($(objpfx)tst-initorder-cmp.out): Likewise.
17204 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17205 ($(objpfx)tst-unused-dep.out): Likewise.
17206 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17207 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17208 * iconv/Makefile (test-iconvconfig): Likewise.
17209 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17210 ($(objpfx)iconv-test.out): Likewise.
17211 ($(objpfx)tst-tables.out): Likewise.
17212 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17213 ($(objpfx)tst-gettext.out): Likewise.
17214 ($(objpfx)tst-translit.out): Likewise.
17215 ($(objpfx)tst-gettext2.out): Likewise.
17216 ($(objpfx)tst-gettext4.out): Likewise.
17217 ($(objpfx)tst-gettext6.out): Likewise.
17218 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17219 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17220 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17221 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17222 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17223 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17224 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17225 ($(objpfx)wordexp-tst.out): Likewise.
17226 ($(objpfx)annexc.out): Likewise.
17227 ($(objpfx)tst-fnmatch-mem): Likewise.
17228 ($(objpfx)bug-regex2-mem): Likewise.
17229 ($(objpfx)bug-regex14-mem): Likewise.
17230 ($(objpfx)bug-regex21-mem): Likewise.
17231 ($(objpfx)bug-regex31-mem): Likewise.
17232 ($(objpfx)tst-vfork3-mem): Likewise.
17233 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17234 ($(objpfx)tst-pcre-mem): Likewise.
17235 ($(objpfx)tst-boost-mem): Likewise.
17236 ($(objpfx)tst-getconf.out): Likewise.
17237 ($(objpfx)bug-ga2-mem): Likewise.
17238 ($(objpfx)bug-glob2-mem): Likewise.
17239 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17240 ($(objpfx)mtrace-tst-leaks2): Likewise.
17241 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17242 ($(objpfx)tst-printf.out): Likewise.
17243 ($(objpfx)tst-setvbuf1.out): Likewise.
17244 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17245 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17246 ($(objpfx)tst-fmtmsg.out): Likewise.
17247 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17248 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17249
acd7f096
JM
17250 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17251 * bits/sigaction.h [__USE_MISC]: Likewise.
17252 * bits/waitstatus.h: Update #endif comments.
17253 * ctype/ctype.h: Likewise.
17254 * dirent/dirent.h: Likewise.
17255 [__USE_MISC]: Remove redundant conditionals.
17256 * grp/grp.h: Update #endif comments.
17257 [__USE_GNU]: Remove redundant conditionals.
17258 [__USE_MISC]: Likewise.
17259 * inet/netinet/in.h [__USE_GNU]: Likewise.
17260 * io/sys/stat.h [__USE_MISC]: Likewise.
17261 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17262 * libio/bits/stdio.h: Update #endif comments.
17263 [__USE_MISC]: Remove redundant conditionals.
17264 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17265 * libio/stdio.h: Update #endif comments.
17266 [__USE_MISC]: Remove redundant conditionals.
17267 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17268 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17269 * math/math.h: Update #else and #endif comments.
17270 [__USE_MISC]: Remove redundant conditionals.
17271 * misc/sys/uio.h: Update #endif comments.
17272 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17273 * posix/glob.h [__USE_MISC]: Likewise.
17274 * posix/sys/types.h: Update #endif comments.
17275 [__USE_MISC]: Remove redundant conditionals.
17276 * posix/sys/wait.h: Update #endif comments.
17277 [__USE_MISC]: Remove redundant conditionals.
17278 * posix/unistd.h: Update #endif comments.
17279 [__USE_MISC]: Remove redundant conditionals.
17280 * pwd/pwd.h [__USE_GNU]: Likewise.
17281 [__USE_MISC]: Likewise.
17282 * resolv/netdb.h [__USE_GNU]: Likewise.
17283 * signal/signal.h: Update #endif comments.
17284 [__USE_MISC]: Remove redundant conditionals.
17285 * stdlib/stdlib.h: Update #else and #endif comments.
17286 [__USE_MISC]: Remove redundant conditionals.
17287 [__USE_GNU]: Likewise.
17288 * string/bits/string2.h [__USE_MISC]: Likewise.
17289 * string/string.h: Update #endif comments.
17290 [__USE_MISC]: Remove redundant conditionals.
17291 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17292 Likewise.
17293 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17294 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17295 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17296 Likewise.
17297 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17298 Likewise.
17299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17300 comments.
17301 [__USE_MISC]: Remove redundant conditionals.
17302 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17303 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17304 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17305 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17306 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17307 Likewise.
17308 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17309 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17310 Likewise.
17311 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17312 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17313 Likewise.
17314 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17315 Likewise.
17316 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17318 Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17320 Likewise.
17321 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17322 * sysdeps/x86/bits/string.h: Update #endif comments.
17323 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17324 conditionals.
17325 * time/sys/time.h: Update #endif comments.
17326 * time/time.h: Likewise.
17327 [__USE_MISC]: Remove redundant conditionals.
17328
a5d82e4e
YG
173292014-02-21 Yury Gribov <y.gribov@samsung.com>
17330
17331 [BZ #16600]
17332 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17333
9a80491d
AS
173342014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17335
17336 * Versions.def (librt): Add GLIBC_2.17.
17337
105fa381
AC
173382014-02-21 Adam Conrad <adconrad@0c3.net>
17339
17340 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17341 synonym for _SYS_AUXV_H to allow direct inclusion.
17342 * sysdeps/sparc/bits/hwcap.h: Likewise.
17343 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17344 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17345 * sysdeps/sparc/sysdep.h: Likewise.
17346
b8cd1c4e
SP
173472014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17348
17349 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17350
bd939d23
RS
173512014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17352
17353 * benchtests/bench-strrchr.c: Print length instead of position.
17354
5d7b57ca
JM
173552014-02-20 Joseph Myers <joseph@codesourcery.com>
17356
bc688c10
JM
17357 [BZ #16611]
17358 * sysdeps/unix/sysv/linux/kernel-features.h
17359 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17360 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17361 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17362 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17363 Likewise.
17364 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17365 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17366 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17367 (__ASSUME_SENDMMSG): Define instead of using previous
17368 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17369 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17370 (__ASSUME_SENDMMSG_SYSCALL): Define.
17371 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17372 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17373 Likewise.
17374 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17375 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17376 Likewise.
17377 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17378 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17379 Likewise.
17380 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17381 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17382 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17383 [__ASSUME_SENDMMSG]: Change conditionals to
17384 [__ASSUME_SENDMMSG_SOCKETCALL].
17385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17386 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17387 Define.
17388 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17389 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17390 Likewise.
17391 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17392 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17393 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17394 [!__ASSUME_SENDMMSG]: Change conditional to
17395 [!__ASSUME_SENDMMSG_SOCKETCALL].
17396 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17397 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17398 Define.
17399
0e31b18c
JM
17400 [BZ #16610]
17401 * sysdeps/unix/sysv/linux/kernel-features.h
17402 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17403 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17404 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17405 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17406 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17407 [__i386__ || __sparc__]
17408 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17409 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17410 (__ASSUME_RECVMMSG): Define instead of using previous
17411 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17412 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17413 (__ASSUME_RECVMMSG_SYSCALL): Define.
17414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17416 Likewise.
17417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17418 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17419 Likewise.
17420 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17421 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17422 Likewise.
17423 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17424 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17425 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17426 [__ASSUME_RECVMMSG]: Change condition to
17427 [__ASSUME_RECVMMSG_SOCKETCALL].
17428 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17429 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17430 Define.
17431 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17433 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17434 Likewise.
17435 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17436 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17437 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17438 [!__ASSUME_RECVMMSG]: Change condition to
17439 [!__ASSUME_RECVMMSG_SOCKETCALL].
17440 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17441 (__ASSUME_RECVMMSG_SYSCALL): Define.
17442
dd481ccf
JM
17443 [BZ #16609]
17444 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17445 __powerpc__ || __s390__ || __sh__ || __sparc__]
17446 (__ASSUME_SOCKETCALL): Define.
17447 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17448 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17449 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17450 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17451 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17452 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17453 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17454 (__ASSUME_ACCEPT4): Define instead of using previous
17455 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17456 __powerpc__ || __sparc__ || __s390__)] condition.
17457 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17458 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17459 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17460 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17461 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17462 [!__ASSUME_ACCEPT4]: Change condition to
17463 [!__ASSUME_ACCEPT4_SOCKETCALL].
17464 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17465 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17466 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17467 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17468 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17469 __ASSUME_ACCEPT4_SYSCALL.
17470 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17471 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17472 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17473 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17474 __ASSUME_ACCEPT4_SYSCALL.
17475 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17476 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17477 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17478 [__ASSUME_ACCEPT4]: Change condition to
17479 [__ASSUME_ACCEPT4_SOCKETCALL].
17480 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17481 (__ASSUME_SOCKETCALL): Define.
17482 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17484 (__ASSUME_SOCKETCALL): Define.
17485 (__ASSUME_ACCEPT4): Remove.
17486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17487 Define.
17488 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17489 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17490 Likewise.
17491 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17492 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17493
5d7b57ca
JM
17494 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17495 macro.
17496 (HWCAP_ARM_LPAE): Likewise.
17497 (HWCAP_ARM_EVTSTRM): Likewise.
17498 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17499 Add vpfd32, lpae and evtstrm.
17500 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17501 Increase to 22.
17502
63689d61
JM
175032014-02-19 Joseph Myers <joseph@codesourcery.com>
17504
17505 * math/auto-libm-test-in: Add tests of clog10.
17506 * math/auto-libm-test-out: Regenerated.
17507 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17508 * sysdeps/i386/fpu/libm-test-ulps: Update.
17509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17510
ab09bf61
AS
175112014-02-18 Andreas Schwab <schwab@suse.de>
17512
17513 [BZ #16574]
17514 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17515 Store non-zero if the second buffer was newly allocated.
17516 (send_dg): Likewise.
17517 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17518 to send_vc and send_dg.
17519 (res_nsend): Pass NULL for ansp2_malloced.
17520 * resolv/res_query.c (__libc_res_nquery): Add parameter
17521 answerp2_malloced and pass it down to __libc_res_nsend.
17522 (res_nquery): Pass additional NULL to __libc_res_nquery.
17523 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17524 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17525 second answer buffer if answerp2_malloced was set.
17526 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17527 (__libc_res_nquerydomain): Add parameter
17528 answerp2_malloced and pass it down to __libc_res_nquery.
17529 (res_nquerydomain): Pass additional NULL to
17530 __libc_res_nquerydomain.
17531 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17532 additional NULL to __libc_res_nsend and __libc_res_nquery.
17533 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17534 additional NULL to __libc_res_nsearch.
17535 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17536 parameter of __libc_res_nsearch to check for separately allocated
17537 second buffer.
17538 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17539 __libc_res_nquery.
17540 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17541 additional NULL to __libc_res_nquery.
17542 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17543 __libc_res_nsearch.
17544 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17545 * include/resolv.h: Update prototypes of __libc_res_nquery,
17546 __libc_res_nsearch, __libc_res_nsend.
17547
a4fb7861
JM
175482014-02-18 Joseph Myers <joseph@codesourcery.com>
17549
c6af2d89
JM
17550 * math/auto-libm-test-in: Add tests of fma.
17551 * math/auto-libm-test-out: Regenerated.
17552 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17553 (fma_towardzero_test_data): Likewise.
17554 (fma_downward_test_data): Likewise.
17555 (fma_upward_test_data): Likewise.
17556 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17557 mpc_mode.
17558 (rounding_modes): Add values for new field.
17559 (func_calc_method): Add value mpfr_fff_f.
17560 (func_calc_desc): Add mpfr_fff_f union field.
17561 (test_function): Add field exact_args.
17562 (FUNC): Add macro argument EXACT_ARGS.
17563 (FUNC_mpfr_f_f): Update call to FUNC.
17564 (FUNC_mpfr_f_f): Likewise.
17565 (FUNC_mpfr_ff_f): Likewise.
17566 (FUNC_mpfr_if_f): Likewise.
17567 (FUNC_mpc_c_f): Likewise.
17568 (FUNC_mpc_c_c): Likewise.
17569 (test_functions): Add fma. Update calls to FUNC.
17570 (handle_input_arg): Add argument exact_args.
17571 (add_test): Update call to handle_input_arg.
17572 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17573 (output_for_one_input_case): Update call to calc_generic_results.
17574 Recalculate exact zero results in each rounding mode.
17575
a4fb7861
JM
17576 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17577 non-negative before setting low bit.
17578 * math/auto-libm-test-in: Mark one asin test possibly having
17579 spurious underflow.
17580 * math/auto-libm-test-out: Regenerated.
17581 * sysdeps/i386/fpu/libm-test-ulps: Update.
17582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17583
ef114eaf
DH
175842014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17585
2b7f4f2c
SP
17586 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17587 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17588 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17589 * README: Add missing listing for microblaze*-*-linux-gnu.
17590
8125aedc
AM
175912014-02-16 Ondřej Bílka <neleai@seznam.cz>
17592
17593 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17594 duplicate code
17595
c70a4b1d
MF
175962014-02-16 Mike Frysinger <vapier@gentoo.org>
17597
17598 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17599 * sysdeps/unix/sysv/linux/ia64: Move directory from
17600 ports/sysdeps/unix/sysv/linux/ia64.
17601 * README: Update listing for ia64-*-linux-gnu.
17602
591aeaf7
TD
176032014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17604 Joseph Myers <joseph@codesourcery.com>
17605
17606 * Makeconfig (test-name): New variable.
17607 (evaluate-test): Likewise.
17608 * Makerules (do-test-clean): Remove .test-result files.
17609 (common-mostlyclean): Likewise.
17610 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17611 * scripts/evaluate-test.sh: New file.
17612
6e89caf1
JM
176132014-02-14 Joseph Myers <joseph@codesourcery.com>
17614
7f98f180
JM
17615 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17616 separate $(objpfx)tst-fopenloc-cmp.out and
17617 $(objpfx)tst-fopenloc-mem.out targets.
17618 (tests): Update dependencies.
17619 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17620 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17621 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17622 (tst-rxspencer-no-utf8-ARGS): New variable.
17623 (tst-rxspencer-no-utf8-ENV): Likewise.
17624 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17625 instead of $(objpfx)tst-rxspencer-mem.
17626 ($(objpfx)tst-rxspencer-mem): Change target to
17627 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17628 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17629 * posix/tst-rxspencer-no-utf8.c: New file.
17630
6e89caf1
JM
17631 * elf/Makefile ($(objpfx)order.out): Remove rule.
17632 [$(run-built-tests) = yes] (tests): Depend on
17633 $(objpfx)order-cmp.out.
17634 ($(objpfx)order-cmp.out): New rule.
17635 [$(run-built-tests) = yes] (tests): Depend on
17636 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17637 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17638 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17639 $(objpfx)tst-array5-static-cmp.out.
17640 ($(objpfx)tst-array1.out): Remove rule.
17641 ($(objpfx)tst-array1-cmp.out): New rule.
17642 ($(objpfx)tst-array1-static.out): Remove rule.
17643 ($(objpfx)tst-array1-static-cmp.out): New rule.
17644 ($(objpfx)tst-array2.out): Remove rule.
17645 ($(objpfx)tst-array2-cmp.out): New rule.
17646 ($(objpfx)tst-array3.out): Remove rule.
17647 ($(objpfx)tst-array3-cmp.out): New rule.
17648 ($(objpfx)tst-array4.out): Remove rule.
17649 ($(objpfx)tst-array4-cmp.out): New rule.
17650 ($(objpfx)tst-array5.out): Remove rule.
17651 ($(objpfx)tst-array5-cmp.out): New rule.
17652 ($(objpfx)tst-array5-static.out): Remove rule.
17653 ($(objpfx)tst-array5-static-cmp.out): New rule.
17654 [$(run-built-tests) = yes] (tests): Depend on
17655 $(objpfx)order2-cmp.out.
17656 ($(objpfx)order2.out): Remove rule.
17657 ($(objpfx)order2-cmp.out): New rule.
17658 ($(objpfx)tst-initorder.out): Remove rule.
17659 [$(run-built-tests) = yes] (tests): Depend on
17660 $(objpfx)tst-initorder-cmp.out.
17661 ($(objpfx)tst-initorder-cmp.out): New rule.
17662 ($(objpfx)tst-initorder2.out): Remove rule.
17663 [$(run-built-tests) = yes] (tests): Depend on
17664 $(objpfx)tst-initorder2-cmp.out.
17665 ($(objpfx)tst-initorder2-cmp.out): New rule.
17666 [$(run-built-tests) = yes] (tests): Depend on
17667 $(objpfx)tst-unused-dep-cmp.out.
17668 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17669 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17670 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17671 on $(objpfx)tst-setvbuf1-cmp.out.
17672 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17673 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17674 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17675 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17676 ($(objpfx)tst-svc.out): Remove rule.
17677 ($(objpfx)tst-svc-cmp.out): New rule.
17678
ed9a38e2
JM
176792014-02-13 Joseph Myers <joseph@codesourcery.com>
17680
17681 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17682 * ctype/ctype.h [__USE_MISC]: Likewise.
17683 * dirent/dirent.h [__USE_MISC]: Likewise.
17684 * grp/grp.h [__USE_MISC]: Likewise.
17685 * io/fcntl.h [__USE_MISC]: Likewise.
17686 * io/sys/stat.h [__USE_MISC]: Likewise.
17687 * libio/stdio.h [__USE_MISC]: Likewise.
17688 * posix/unistd.h [__USE_MISC]: Likewise.
17689 * pwd/pwd.h [__USE_MISC]: Likewise.
17690 * stdlib.h [__USE_MISC]: Likewise.
17691 * string/bits/string2.h [__USE_MISC]: Likewise.
17692 * string/string.h [__USE_MISC]: Likewise.
17693 * time/time.h [__USE_MISC]: Likewise.
17694
d6680619
AS
176952014-02-13 Andreas Schwab <schwab@suse.de>
17696
17697 [BZ #16574]
17698 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17699 second answer buffer if it was separately allocated.
17700
ace614b8
JM
177012014-02-12 Joseph Myers <joseph@codesourcery.com>
17702
743151ae
JM
17703 * sysdeps/mips/math-tests.h: Include <features.h>.
17704 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17705 (ROUNDING_TESTS_long_double): Do not define.
17706 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17707 (EXCEPTION_TESTS_long_double): Likewise.
17708 * sysdeps/mips/mips64/libm-test-ulps: Update.
17709
498afc54
JM
17710 * include/features.h (__USE_BSD): Remove macro definitions.
17711 (__USE_SVID): Likewise.
17712 (_BSD_SOURCE): Likewise.
17713 (_SVID_SOURCE): Likewise.
17714 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17715 from definition of _DEFAULT_SOURCE.
17716 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17717 [_DEFAULT_SOURCE].
17718 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17719 * bits/mman.h [__USE_BSD]: Likewise.
17720 * bits/termios.h [__USE_BSD]: Likewise.
17721 * bits/waitstatus.h [__USE_BSD]: Likewise.
17722 * ctype/ctype.h [__USE_SVID]: Likewise.
17723 * dirent/dirent.h [__USE_BSD]: Likewise.
17724 * grp/grp.h [__USE_SVID]: Likewise.
17725 [__USE_BSD]: Likewise.
17726 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17727 * io/fcntl.h [__USE_BSD]: Likewise.
17728 * io/ftw.h [__USE_BSD]: Likewise.
17729 * io/sys/stat.h [__USE_BSD]: Likewise.
17730 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17731 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17732 * libio/stdio.h [__USE_SVID]: Likewise.
17733 [__USE_BSD]: Likewise.
17734 * math/math.h [__USE_SVID]: Likewise.
17735 [__USE_BSD]: Likewise.
17736 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17737 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17738 * misc/search.h [__USE_SVID]: Likewise.
17739 * misc/sys/mman.h [__USE_BSD]: Likewise.
17740 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17741 * misc/sys/uio.h [__USE_BSD]: Likewise.
17742 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17743 * posix/glob.h [__USE_BSD]: Likewise.
17744 * posix/regex.h [__USE_BSD]: Likewise.
17745 * posix/sys/types.h [__USE_BSD]: Likewise.
17746 [__USE_SVID]: Likewise.
17747 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17748 * posix/sys/wait.h [__USE_BSD]: Likewise.
17749 [__USE_SVID]: Likewise.
17750 * posix/unistd.h [__USE_BSD]: Likewise.
17751 [__USE_SVID]: Likewise.
17752 * pwd/pwd.h [__USE_SVID]: Likewise.
17753 * resolv/netdb.h [__USE_BSD]: Likewise.
17754 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17755 * signal/signal.h [__USE_BSD]: Likewise.
17756 [__USE_SVID]: Likewise.
17757 * socket/sys/socket.h [__USE_BSD]: Likewise.
17758 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17759 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17760 [__USE_SVID]: Likewise.
17761 * string/bits/string2.h [__USE_BSD]: Likewise.
17762 [__USE_SVID]: Likewise.
17763 * string/bits/string3.h [__USE_BSD]: Likewise.
17764 * string/endian.h [__USE_BSD]: Likewise.
17765 * string/string.h [__USE_SVID]: Likewise.
17766 [__USE_BSD]: Likewise.
17767 * string/strings.h [__USE_BSD]: Likewise.
17768 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17769 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17770 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17771 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17772 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17773 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17774 Likewise.
17775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17776 Likewise.
17777 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17778 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17779 Likewise.
17780 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17781 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17782 Likewise.
17783 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17784 Likewise.
17785 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17786 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17788 Likewise.
17789 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17790 Likewise.
17791 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17792 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17793 * termios/termios.h [__USE_BSD]: Likewise.
17794 * time/sys/time.h [__USE_BSD]: Likewise.
17795 * time/time.h [__USE_BSD]: Likewise.
17796 [__USE_SVID]: Likewise.
17797
dd7b064c
JM
17798 * Makefile (subdir_targets): Remove subdir_lint.out.
17799
a2c4c199
JM
17800 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17801 (do-tst-printf): Likewise.
17802 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17803 $(objpfx)tst-printf.out.
17804
8756f740
JM
17805 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17806
1b6dd3f1
JM
17807 * Makerules (check-abi-%): Change target to
17808 $(objpfx)check-abi-%.out.
17809 (check-abi target): Update dependencies.
17810 (check-abi-pattern variable): Redirect output of diff to $@.
17811 (check-abi variable): Likewise.
17812 * elf/Makefile (check-abi): Update dependencies.
17813
ace614b8
JM
17814 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17815 unused.
17816 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17817 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17818 subnormal range.
17819 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17820 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17821 value has largest subnormal exponent.
17822 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17823 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17824 * sysdeps/aarch64/soft-fp/sfp-machine.h
17825 (_FP_TININESS_AFTER_ROUNDING): New macro.
17826 * sysdeps/alpha/soft-fp/sfp-machine.h
17827 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17828 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17829 Likewise.
17830 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17831 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17832 * sysdeps/mips/soft-fp/sfp-machine.h
17833 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17834 * sysdeps/powerpc/soft-fp/sfp-machine.h
17835 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17836 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17837 Likewise.
17838 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17839 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17840 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17841 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17842 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17843 Likewise.
17844
fbfdf9cb
DAS
178452014-02-12 Dylan Alex Simon <dylan@dylex.net>
17846
17847 [BZ #16545]
17848 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17849 model 1.
17850
68b7efaa
RH
178512014-02-12 Richard Henderson <rth@redhat.com>
17852
c70a4b1d 17853 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17854 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17855 * sysdeps/unix/sysv/linux/alpha: Move directory from
17856 ports/sysdeps/unix/sysv/linux/alpha.
17857 * README: Update listing for alpha-*-linux-gnu.
17858
cb4a2928
JM
178592014-02-11 Joseph Myers <joseph@codesourcery.com>
17860
c941736c
JM
17861 * include/features.h: Update comment documenting feature test
17862 macros.
17863 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17864 _DEFAULT_SOURCE.
17865 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17866 (_SVID_SOURCE): Likewise.
17867 (_DEFAULT_SOURCE): Update description of default features.
17868 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17869 with _GNU_SOURCE.
17870 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17871 (S_ISVTX): Likewise.
17872 * manual/math.texi (Mathematical Constants): Likewise.
17873 * manual/signal.texi (Interrupted Primitives): Likewise.
17874 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17875 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17876 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17877 Don't refer to _SVID_SOURCE in warning text.
17878
e8d8d7ec
JM
17879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17880
cb4a2928
JM
17881 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17882 already defined.
17883 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17884 * sysdeps/mips/dl-lookup.c: Remove.
17885 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17886
7e6424e3
AK
178872014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17888
17889 [BZ #16447]
17890 * math/auto-libm-test-in: Add testcase for expl.
17891 * math/auto-libm-test-out: Regenerate.
17892 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17893 calculation of unsafe.
17894 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17895
75eff3fe
MS
178962014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17897
17898 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17899 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17900 ports/sysdeps/unix/sysv/linux/aarch64.
17901 * README: Update listing for aarch64*-*-linux-gnu.
17902
d35f1e80
WN
179032014-02-11 Will Newton <will.newton@linaro.org>
17904
17905 * manual/probes.texi (Mathematical Function Probes): Use
17906 "triggered" instead of "hit".
17907
7b3436d4
WN
17908 * manual/probes.texi (Internal Probes): Add documentation
17909 of setjmp, longjmp and longjmp_target probes.
17910
b4f12ca3
WN
17911 * include/stap-probe.h: Add comment about probe argument
17912 format.
17913
c13a72b7
WN
17914 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17915 definition. (tr_where, tr_freehook, tr_mallochook,
17916 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17917
195b8165
DM
179182014-02-11 David S. Miller <davem@davemloft.net>
17919
17920 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17921 processing int_tests.
17922
2ad7600b
JM
179232014-02-10 Joseph Myers <joseph@codesourcery.com>
17924
17925 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17926 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17927 * sysdeps/unix/sysv/linux/mips: Move directory from
17928 ports/sysdeps/unix/sysv/linux/mips.
17929 * README: Update listing for mips-*-linux-gnu and
17930 mips64-*-linux-gnu.
17931
73588a72
AS
179322014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17933
17934 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17935 * sysdeps/unix/sysv/linux/m68k: Move directory from
17936 ports/sysdeps/unix/sysv/linux/m68k.
17937 * README: Update listing for m68k-*-linux-gnu.
17938
4372980f
CM
179392014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17940
17941 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17942 * sysdeps/unix/sysv/linux/generic: Move directory from
17943 ports/sysdeps/unix/sysv/linux/generic.
17944 * sysdeps/unix/sysv/linux/tile: Move directory from
17945 ports/sysdeps/unix/sysv/linux/tile.
17946 * README: Update listing for tile*-*-linux-gnu.
17947
a1ffb40e
OB
179482014-02-10 Ondřej Bílka <neleai@seznam.cz>
17949
57f41c40
AS
17950 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17951 __builtin_expect.
a1ffb40e
OB
17952 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17953 * catgets/open_catalog.c (__open_catalog): Likewise.
17954 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17955 * debug/confstr_chk.c: Likewise.
17956 * debug/fread_chk.c (__fread_chk): Likewise.
17957 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17958 * debug/getgroups_chk.c: Likewise.
17959 * debug/mbsnrtowcs_chk.c: Likewise.
17960 * debug/mbsrtowcs_chk.c: Likewise.
17961 * debug/mbstowcs_chk.c: Likewise.
17962 * debug/memcpy_chk.c: Likewise.
17963 * debug/memmove_chk.c: Likewise.
17964 * debug/mempcpy_chk.c: Likewise.
17965 * debug/memset_chk.c: Likewise.
17966 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17967 * debug/strcat_chk.c (__strcat_chk): Likewise.
17968 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17969 * debug/strncat_chk.c (__strncat_chk): Likewise.
17970 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17971 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17972 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17973 * debug/wcpncpy_chk.c: Likewise.
17974 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17975 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17976 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17977 * debug/wcsncpy_chk.c: Likewise.
17978 * debug/wcsnrtombs_chk.c: Likewise.
17979 * debug/wcsrtombs_chk.c: Likewise.
17980 * debug/wcstombs_chk.c: Likewise.
17981 * debug/wmemcpy_chk.c: Likewise.
17982 * debug/wmemmove_chk.c: Likewise.
17983 * debug/wmempcpy_chk.c: Likewise.
17984 * debug/wmemset_chk.c: Likewise.
17985 * dirent/scandirat.c (SCANDIRAT): Likewise.
17986 * dlfcn/dladdr1.c (dladdr1): Likewise.
17987 * dlfcn/dladdr.c (dladdr): Likewise.
17988 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17989 * dlfcn/dlerror.c (__dlerror): Likewise.
17990 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17991 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17992 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17993 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17994 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17995 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17996 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17997 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17998 Likewise.
17999 * elf/dl-conflict.c: Likewise.
18000 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18001 * elf/dl-dst.h: Likewise.
18002 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18003 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18004 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18005 * elf/dl-init.c (call_init, _dl_init): Likewise.
18006 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18007 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18008 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18009 Likewise.
a1ffb40e
OB
18010 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18011 Likewise.
18012 * elf/dl-minimal.c (__libc_memalign): Likewise.
18013 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18014 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18015 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18016 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18017 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18018 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18019 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18020 * elf/dl-writev.h (_dl_writev): Likewise.
18021 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18022 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18023 (dl_main): Likewise.
a1ffb40e
OB
18024 * elf/setup-vdso.h (setup_vdso): Likewise.
18025 * grp/compat-initgroups.c (compat_call): Likewise.
18026 * grp/fgetgrent.c (fgetgrent): Likewise.
18027 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18028 * grp/putgrent.c (putgrent): Likewise.
18029 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18030 Likewise.
18031 * hurd/hurdinit.c: Likewise.
18032 * iconvdata/8bit-gap.c (struct): Likewise.
18033 * iconvdata/ansi_x3.110.c : Likewise.
18034 * iconvdata/big5.c : Likewise.
18035 * iconvdata/big5hkscs.c : Likewise.
18036 * iconvdata/cp1255.c: Likewise.
18037 * iconvdata/cp1258.c : Likewise.
18038 * iconvdata/cp932.c : Likewise.
18039 * iconvdata/euc-cn.c: Likewise.
18040 * iconvdata/euc-jisx0213.c : Likewise.
18041 * iconvdata/euc-jp.c: Likewise.
18042 * iconvdata/euc-jp-ms.c : Likewise.
18043 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18044 * iconvdata/gb18030.c : Likewise.
18045 * iconvdata/gbbig5.c (const): Likewise.
18046 * iconvdata/gbgbk.c: Likewise.
18047 * iconvdata/gbk.c : Likewise.
18048 * iconvdata/ibm1364.c : Likewise.
18049 * iconvdata/ibm930.c : Likewise.
18050 * iconvdata/ibm932.c: Likewise.
18051 * iconvdata/ibm933.c : Likewise.
18052 * iconvdata/ibm935.c : Likewise.
18053 * iconvdata/ibm937.c : Likewise.
18054 * iconvdata/ibm939.c : Likewise.
18055 * iconvdata/ibm943.c: Likewise.
18056 * iconvdata/iso_11548-1.c: Likewise.
18057 * iconvdata/iso-2022-cn.c : Likewise.
18058 * iconvdata/iso-2022-cn-ext.c : Likewise.
18059 * iconvdata/iso-2022-jp-3.c: Likewise.
18060 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18061 * iconvdata/iso-2022-kr.c : Likewise.
18062 * iconvdata/iso646.c (gconv_end): Likewise.
18063 * iconvdata/iso_6937-2.c : Likewise.
18064 * iconvdata/iso_6937.c : Likewise.
18065 * iconvdata/iso8859-1.c: Likewise.
18066 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18067 * iconvdata/shift_jisx0213.c : Likewise.
18068 * iconvdata/sjis.c : Likewise.
18069 * iconvdata/t.61.c : Likewise.
18070 * iconvdata/tcvn5712-1.c : Likewise.
18071 * iconvdata/tscii.c: Likewise.
18072 * iconvdata/uhc.c : Likewise.
18073 * iconvdata/unicode.c (gconv_end): Likewise.
18074 * iconvdata/utf-16.c (gconv_end): Likewise.
18075 * iconvdata/utf-32.c (gconv_end): Likewise.
18076 * iconvdata/utf-7.c (base64): Likewise.
18077 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18078 * iconv/gconv_close.c (__gconv_close): Likewise.
18079 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18080 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18081 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18082 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18083 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18084 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18085 * iconv/iconv.c (iconv): Likewise.
18086 * iconv/iconv_close.c: Likewise.
18087 * iconv/loop.c (SINGLE): Likewise.
18088 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18089 * include/atomic.h: Likewise.
18090 * inet/inet6_option.c (option_alloc): Likewise.
18091 * intl/bindtextdom.c (set_binding_values): Likewise.
18092 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18093 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18094 * intl/localealias.c (read_alias_file): Likewise.
18095 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18096 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18097 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18098 * libio/fmemopen.c (fmemopen): Likewise.
18099 * libio/iofgets.c (_IO_fgets): Likewise.
18100 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18101 * libio/iofgetws.c (fgetws): Likewise.
18102 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18103 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18104 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18105 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18106 * locale/findlocale.c (_nl_find_locale): Likewise.
18107 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18108 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18109 Likewise.
18110 * locale/setlocale.c (setlocale): Likewise.
18111 * login/programs/pt_chown.c (main): Likewise.
18112 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18113 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18114 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18115 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18116 * math/e_exp2l.c: Likewise.
18117 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18118 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18119 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18120 * math/s_catan.c (__catan): Likewise.
18121 * math/s_catanf.c (__catanf): Likewise.
18122 * math/s_catanh.c (__catanh): Likewise.
18123 * math/s_catanhf.c (__catanhf): Likewise.
18124 * math/s_catanhl.c (__catanhl): Likewise.
18125 * math/s_catanl.c (__catanl): Likewise.
18126 * math/s_ccosh.c (__ccosh): Likewise.
18127 * math/s_ccoshf.c (__ccoshf): Likewise.
18128 * math/s_ccoshl.c (__ccoshl): Likewise.
18129 * math/s_cexp.c (__cexp): Likewise.
18130 * math/s_cexpf.c (__cexpf): Likewise.
18131 * math/s_cexpl.c (__cexpl): Likewise.
18132 * math/s_clog10.c (__clog10): Likewise.
18133 * math/s_clog10f.c (__clog10f): Likewise.
18134 * math/s_clog10l.c (__clog10l): Likewise.
18135 * math/s_clog.c (__clog): Likewise.
18136 * math/s_clogf.c (__clogf): Likewise.
18137 * math/s_clogl.c (__clogl): Likewise.
18138 * math/s_csin.c (__csin): Likewise.
18139 * math/s_csinf.c (__csinf): Likewise.
18140 * math/s_csinh.c (__csinh): Likewise.
18141 * math/s_csinhf.c (__csinhf): Likewise.
18142 * math/s_csinhl.c (__csinhl): Likewise.
18143 * math/s_csinl.c (__csinl): Likewise.
18144 * math/s_csqrt.c (__csqrt): Likewise.
18145 * math/s_csqrtf.c (__csqrtf): Likewise.
18146 * math/s_csqrtl.c (__csqrtl): Likewise.
18147 * math/s_ctan.c (__ctan): Likewise.
18148 * math/s_ctanf.c (__ctanf): Likewise.
18149 * math/s_ctanh.c (__ctanh): Likewise.
18150 * math/s_ctanhf.c (__ctanhf): Likewise.
18151 * math/s_ctanhl.c (__ctanhl): Likewise.
18152 * math/s_ctanl.c (__ctanl): Likewise.
18153 * math/w_pow.c: Likewise.
18154 * math/w_powf.c: Likewise.
18155 * math/w_powl.c: Likewise.
18156 * math/w_scalb.c (sysv_scalb): Likewise.
18157 * math/w_scalbf.c (sysv_scalbf): Likewise.
18158 * math/w_scalbl.c (sysv_scalbl): Likewise.
18159 * misc/error.c (error_tail): Likewise.
18160 * misc/pselect.c (__pselect): Likewise.
18161 * nis/nis_callback.c (__nis_create_callback): Likewise.
18162 * nis/nis_call.c (__nisfind_server): Likewise.
18163 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18164 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18165 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18166 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18167 * nis/nis_lookup.c (nis_lookup): Likewise.
18168 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18169 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18170 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18171 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18172 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18173 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18174 * nis/nss_compat/compat-initgroups.c (add_group)
18175 (internal_getgrent_r): Likewise.
18176 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18177 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18178 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18179 (internal_getspnam_r): Likewise.
18180 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18181 (_nss_nis_getaliasbyname_r): Likewise.
18182 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18183 (_nss_nis_getntohost_r): Likewise.
18184 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18185 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18186 (_nss_nis_getgrgid_r): Likewise.
18187 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18188 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18189 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18190 (_nss_nis_gethostbyname4_r): Likewise.
18191 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18192 (initgroups_netid): Likewise.
a1ffb40e 18193 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18194 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18195 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18196 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18197 (_nss_nis_getprotobynumber_r): Likewise.
18198 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18199 (_nss_nis_getsecretkey): Likewise.
18200 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18201 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18202 (_nss_nis_getpwuid_r): Likewise.
18203 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18204 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18205 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18206 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18207 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18208 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18209 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18210 Likewise.
57f41c40
AS
18211 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18212 (_nss_nisplus_getntohost_r): Likewise.
18213 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18214 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18215 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18216 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18217 Likewise.
57f41c40
AS
18218 * nis/nss_nisplus/nisplus-initgroups.c
18219 (_nss_nisplus_initgroups_dyn): Likewise.
18220 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18221 (_nss_nisplus_getnetbyaddr_r): Likewise.
18222 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18223 (_nss_nisplus_getprotobynumber_r): Likewise.
18224 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18225 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18226 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18227 Likewise.
57f41c40
AS
18228 * nis/nss_nisplus/nisplus-service.c
18229 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18230 (_nss_nisplus_getservbyport_r): Likewise.
18231 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18232 (_nss_nisplus_getspnam_r): Likewise.
18233 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18234 Likewise.
a1ffb40e
OB
18235 * nscd/aicache.c (addhstaiX): Likewise.
18236 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18237 * nscd/connections.c (register_traced_file, send_ro_fd)
18238 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18239 (main_loop_epoll): Likewise.
a1ffb40e
OB
18240 * nscd/grpcache.c (addgrbyX): Likewise.
18241 * nscd/hstcache.c (addhstbyX): Likewise.
18242 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18243 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18244 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18245 (addinnetgrX): Likewise.
18246 * nscd/nscd-client.h (__nscd_acquire_maplock)
18247 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18248 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18249 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18250 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18251 Likewise.
18252 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18254 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18255 (__nscd_get_map_ref): Likewise.
a1ffb40e 18256 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18257 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18258 Likewise.
a1ffb40e
OB
18259 * nscd/pwdcache.c (addpwbyX): Likewise.
18260 * nscd/selinux.c (preserve_capabilities): Likewise.
18261 * nscd/servicescache.c (addservbyX): Likewise.
18262 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18263 * posix/fnmatch.c (fnmatch): Likewise.
18264 * posix/getopt.c (_getopt_internal_r): Likewise.
18265 * posix/glob.c (glob, glob_in_dir): Likewise.
18266 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18267 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18268 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18269 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18270 * resolv/res_init.c: Likewise.
18271 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18272 * resolv/res_query.c (__libc_res_nquery): Likewise.
18273 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18274 Likewise.
18275 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18276 * stdio-common/perror.c (perror): Likewise.
18277 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18278 * stdio-common/tmpnam.c (tmpnam): Likewise.
18279 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18280 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18281 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18282 Likewise.
a1ffb40e
OB
18283 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18284 * stdlib/putenv.c (putenv): Likewise.
18285 * stdlib/setenv.c (__add_to_environ): Likewise.
18286 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18287 * stdlib/strtol_l.c (INTERNAL): Likewise.
18288 * string/memmem.c (memmem): Likewise.
18289 * string/strerror.c (strerror): Likewise.
18290 * string/strnlen.c (__strnlen): Likewise.
18291 * string/test-memmem.c (simple_memmem): Likewise.
18292 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18293 * sunrpc/pm_getport.c (__get_socket): Likewise.
18294 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18295 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18296 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18297 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18298 Likewise.
18299 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18300 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18301 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18302 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18303 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18304 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18305 Likewise.
18306 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18307 Likewise.
a1ffb40e
OB
18308 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18309 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18311 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18312 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18314 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18315 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18316 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18317 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18318 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18319 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18320 Likewise.
18321 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18322 Likewise.
18323 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18324 Likewise.
18325 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18327 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18328 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18329 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18330 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18331 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18332 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18333 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18334 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18340 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18341 Likewise.
a1ffb40e
OB
18342 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18343 Likewise.
18344 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18345 Likewise.
18346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18347 Likewise.
18348 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18350 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18351 Likewise.
18352 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18353 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18354 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18355 * sysdeps/posix/sleep.c: Likewise.
18356 * sysdeps/posix/tempname.c: Likewise.
18357 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18358 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18359 Likewise.
57f41c40
AS
18360 * sysdeps/powerpc/powerpc32/dl-machine.h
18361 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18362 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18364 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18365 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18366 Likewise.
18367 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18368 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18369 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18370 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18371 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18372 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18373 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18374 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18375 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18376 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18378 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18379 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18381 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18382 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18383 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18384 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18385 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18386 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18387 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18388 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18390 Likewise.
18391 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18392 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18393 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18394 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18395 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18396 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18397 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18398 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18399 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18400 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18401 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18402 Likewise.
18403 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18404 (__posix_fallocate64_l64): Likewise.
18405 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18406 (posix_fallocate): Likewise.
57f41c40
AS
18407 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18408 Likewise.
a1ffb40e 18409 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18410 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18411 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18412 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18413 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18414 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18415 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18416 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18417 (__posix_fallocate64_l64): Likewise.
18418 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18419 Likewise.
18420 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18421 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18422 (__get_clockfreq): Likewise.
a1ffb40e
OB
18423 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18424 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18425 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18427 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18428 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18429 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18430 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18431 Likewise.
18432 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18433 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18434 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18435 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18436 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18437 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18438 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18439 Likewise.
18440 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18441 (posix_fallocate): Likewise.
18442 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18443 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18444 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18445 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18446 (elf_machine_rela, elf_machine_rela_relative)
18447 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18448 * time/asctime.c (asctime_internal): Likewise.
18449 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18450 * time/tzset.c (__tzset_parse_tz): Likewise.
18451 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18452 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18453 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18454 * wcsmbs/wcsmbsload.h: Likewise.
18455
f3d338c9
OB
18456 [BZ #15894]
18457 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18458
57f41c40
AS
18459 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18460 (arena_get2): Remove THREAD_STATS conditionals.
18461 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18462 (__malloc_stats, int): Likewise.
bdfe308a 18463
d674667c
MF
184642014-02-08 Mike Frysinger <vapier@gentoo.org>
18465
18466 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18467 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18468
6349768c
MF
18469 * manual/setjmp.texi: Fix typos/grammar errors.
18470
0b7c7473
MF
18471 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18472 Only return early when n is <= 0. Delete unused return statement.
18473
ac8cc9e3
MF
18474 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18475 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18476 * debug/tst-longjmp_chk3.c: New file.
18477
c5bb8e23
MF
18478 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18479 (test_main): Replace code with set_fortify_handler call.
18480 * debug/test-strcpy_chk.c: Likewise.
18481 * debug/tst-chk1.c: Likewise.
18482 * debug/tst-longjmp_chk.c: Likewise.
18483 * test-skeleton.c: Include fcntl.h & paths.h
18484 (set_fortify_handler): Define.
18485
10444e42
MF
18486 * debug/tst-longjmp_chk.c: Add header comment and include
18487 ../test-skeleton.c.
18488 (do_test): Mark static.
18489 (TEST_FUNCTION): Define.
18490
1e805e8d
MF
18491 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18492 (IP_PMTUDISC_INTERFACE): Likewise.
18493 (IP_MULTICAST_IF): Likewise.
18494 (IP_MULTICAST_TTL): Likewise.
18495 (IP_MULTICAST_LOOP): Likewise.
18496 (IP_ADD_MEMBERSHIP): Likewise.
18497 (IP_DROP_MEMBERSHIP): Likewise.
18498 (IP_UNBLOCK_SOURCE): Likewise.
18499 (IP_BLOCK_SOURCE): Likewise.
18500 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18501 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18502 (IP_MSFILTER): Likewise.
18503 (MCAST_JOIN_GROUP): Likewise.
18504 (MCAST_BLOCK_SOURCE): Likewise.
18505 (MCAST_UNBLOCK_SOURCE): Likewise.
18506 (MCAST_LEAVE_GROUP): Likewise.
18507 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18508 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18509 (MCAST_MSFILTER): Likewise.
18510 (IP_MULTICAST_ALL): Likewise.
18511 (IP_UNICAST_IF): Likewise.
18512
73f79bb7
MF
18513 * timezone/Makefile: Delete $(have-ksh) check.
18514 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18515 * timezone/tzselect.ksh: Add +x mode bits.
18516
8da79b60
MF
18517 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18518 (ANON_INODE_FS_MAGIC): Likewise.
18519 (BDEVFS_MAGIC): Likewise.
18520 (BINFMTFS_MAGIC): Likewise.
18521 (BTRFS_TEST_MAGIC): Likewise.
18522 (CRAMFS_MAGIC_WEND): Likewise.
18523 (DEBUGFS_MAGIC): Likewise.
18524 (ECRYPTFS_SUPER_MAGIC): Likewise.
18525 (EXT3_SUPER_MAGIC): Likewise.
18526 (EXT4_SUPER_MAGIC): Likewise.
18527 (FUTEXFS_SUPER_MAGIC): Likewise.
18528 (HOSTFS_SUPER_MAGIC): Likewise.
18529 (HUGETLBFS_MAGIC): Likewise.
18530 (MINIX3_SUPER_MAGIC): Likewise.
18531 (MTD_INODE_FS_MAGIC): Likewise.
18532 (NILFS_SUPER_MAGIC): Likewise.
18533 (OPENPROM_SUPER_MAGIC): Likewise.
18534 (PIPEFS_MAGIC): Likewise.
18535 (PSTOREFS_MAGIC): Likewise.
18536 (QNX6_SUPER_MAGIC): Likewise.
18537 (RAMFS_MAGIC): Likewise.
18538 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18539 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18540 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18541 (SECURITYFS_MAGIC): Likewise.
18542 (SELINUX_MAGIC): Likewise.
18543 (SMACK_MAGIC): Likewise.
18544 (SOCKFS_MAGIC): Likewise.
18545 (SQUASHFS_MAGIC): Likewise.
18546 (STACK_END_MAGIC): Likewise.
18547 (TMPFS_MAGIC): Likewise.
18548 (USBDEVICE_SUPER_MAGIC): Likewise.
18549 (V9FS_MAGIC): Likewise.
18550 (XENFS_SUPER_MAGIC): Likewise.
18551 (CRAMFS_MAGIC): Fix typo in comment.
18552 (EXT2_SUPER_MAGIC): Update comment.
18553 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18554
464263cc
JM
185552014-02-08 Joseph Myers <joseph@codesourcery.com>
18556
c6bfe5c4
JM
18557 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18558 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18559 * sysdeps/unix/sysv/linux/arm: Move directory from
18560 ports/sysdeps/unix/sysv/linux/arm.
18561 * README: Update listing for arm-*-linux-gnueabi.
18562
464263cc
JM
18563 * README: Remove mention of am33.
18564
32749f6c
RM
185652014-02-07 Roland McGrath <roland@hack.frob.com>
18566
18567 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18568 than the comma operator, to avoid "rhs of comma has no effect"
18569 compiler warnings.
18570 (__sigfillset, __sigandset, __sigorset): Likewise.
18571 * include/signal.h (__sigemptyset): Likewise.
18572 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18573
d5b396c1
AM
185742014-02-07 Allan McRae <allan@archlinux.org>
18575
18576 * version.h (RELEASE): Set to "development".
18577 (VERSION): Set to "2.19.90"
18578 * NEWS: Add 2.20 section.
18579
3bfff2ed
CD
185802014-02-06 Carlos O'Donell <carlos@redhat.com>
18581
18582 [BZ #16529]
18583 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18584
ee7cc385
SP
185852014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18586
18587 * manual/contrib.texi: Update entry for Carlos O'Donell,
18588 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18589
f877c4f2
CD
185902014-02-05 Carlos O'Donell <carlos@rehdat.com>
18591
27e839f6
CD
18592 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18593
f877c4f2
CD
18594 * sysdeps/unix/sysv/linux/kernel-features.h
18595 [__LINUX_KERNEL_VERSION >= 0x020621]
18596 (__ASSUME_PROC_PID_TASK_COMM): Define.
18597
68159946
SP
185982014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18599
ba17cdbd
SP
18600 [BZ #16398]
18601 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18602 conversion when destination buffer does not have enough space.
18603 * libio/tst-ftell-partial-wide.c: New test case.
18604 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18605
68159946
SP
18606 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18607 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18608 Leonard and Allan McRae.
18609
2b528732
DM
186102014-02-04 David S. Miller <davem@davemloft.net>
18611
18612 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18613 32-bit.
18614
0ff82463
AZ
186152014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18616
57f41c40
AS
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18618 New file
c01603f7
AZ
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18620 New file
57f41c40
AS
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18622 New file.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18624 New file.
c01603f7
AZ
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18626 New file.
57f41c40
AS
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18628 New file.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18630 New file.
c01603f7
AZ
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18632 New file.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18634 New file.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18636 New file.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18638 New file.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18640 New file.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18642 New file.
18643
186442014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18645
0ff82463
AZ
18646 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18647 * shlib-versions: Likewise.
18648
1695c773
AZ
186492014-02-04 Roland McGrath <roland@hack.frob.com>
18650 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18651
18652 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18653 (abilist-pattern): New variable, set to %-le.abilist.
18654
18655 * Makerules (abilist-pattern): New variable.
18656 (vpath): Use $(abilist-pattern) in place of %.abilist.
18657 (check-abi-% pattern rule): Likewise.
18658 (check-abi, update-abi): Likewise.
18659
6c0ce4b4
EW
186602014-02-04 Eric Wong <normalperson@yhbt.net>
18661
18662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18663
481e3524
CD
186642014-02-03 Carlos O'Donell <carlos@redhat.com>
18665
18666 * manual/startup.texi: Add next, previous, and top entries for
18667 the `Program Arguments' and `Environment Variables' nodes.
18668
375592d3
AO
186692014-02-03 Alexandre Oliva <aoliva@redhat.com>
18670
18671 * manual/macros.texi: Add comments before MTASC-safety macros.
18672
f54838ba
AO
18673 * manual/users.texi: Document MTASC-safety properties.
18674
57f41c40
AS
18675 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18676 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18677 @deftypefun, and add @safety note.
18678 * manual/signal.texi: Move comments that analyze the above
18679 functions to their home place.
18680
fd3daba4
AM
186812014-02-03 Allan McRae <allan@archlinux.org>
18682
18683 * po/sl.po: Update Slovenian translation from translation project.
18684
597636d7
AO
186852014-02-02 Alexandre Oliva <aoliva@redhat.com>
18686
18687 * manual/time.texi (timegm): Add missing blank after @c.
18688 Reported by Joseph Myers <joseph@codesourcery.com>.
18689
ee196e3c
AO
186902014-02-01 Alexandre Oliva <aoliva@redhat.com>
18691
18692 * manual/check-safety.sh: New.
18693 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18694
f8d529d5
AO
18695 * manual/terminal.texi: Document MTASC-safety properties.
18696
de55fdf4
AO
18697 * manual/filesys.texi: Document MTASC-safety properties.
18698
c3299c08
AO
18699 * manual/errno.texi: Document MTASC-safety properties.
18700
06e90b14
AO
18701 * manual/intro.texi: Document safety identifiers and
18702 conditionals.
18703
1acd4371
AO
18704 * manual/string.texi (wcstok): Fix prototype.
18705 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18706
23e5b8cb
AO
18707 * manual/time.texi: Document MTASC-safety properties.
18708
11087373
AO
18709 * manual/string.texi: Document MTASC-safety properties.
18710
5da2c93d
AO
18711 * manual/threads.texi: Document MTASC-safety properties.
18712
171e9210
AO
18713 * manual/stdio.texi: Document MTASC-safety properties.
18714
d9e02532
AO
18715 * manual/syslog.texi: Document MTASC-safety properties.
18716
6af8bab7
AO
18717 * manual/sysinfo.texi: Document MTASC-safety properties.
18718
663b02d7
AO
18719 * manual/startup.texi: Document MTASC-safety properties.
18720
973f180b
AO
18721 * manual/socket.texi: Document MTASC-safety properties.
18722
8f3c25c8
AO
18723 * manual/signal.texi: Document MTASC-safety properties.
18724
542210fb
AO
187252014-01-31 Alexandre Oliva <aoliva@redhat.com>
18726
18727 * manual/setjmp.texi: Document MTASC-safety properties.
18728
433c45a2
AO
18729 * manual/search.texi: Document MTASC-safety properties.
18730
c8ce789c
AO
18731 * manual/resource.texi: Document MTASC-safety properties.
18732
19f5d29c
AO
18733 * manual/process.texi: Document MTASC-safety properties.
18734
e2dfb7f4
AO
18735 * manual/platform.texi: Document MTASC-safety properties.
18736
8c1413f5
AO
18737 * manual/pipe.texi: Document MTASC-safety properties.
18738
03483ada
AO
18739 * manual/pattern.texi: Document MTASC-safety properties.
18740
29e7e2df
AO
18741 * manual/message.texi: Document MTASC-safety properties.
18742
9f529d7c
AO
18743 [BZ #12751]
18744 * manual/memory.texi: Document MTASC-safety properties.
18745
27aaa791
AO
18746 * manual/math.texi: Document MTASC-safety properties.
18747
f2d58726
AO
18748 * manual/locale.texi: Document MTASC-safety properties.
18749
2cc3615c
AO
18750 * manual/llio.texi: Document MTASC-safety properties.
18751
d9f0ec97
AO
18752 * manual/libdl.texi: New.
18753
e7c4409a
AO
18754 * manual/lang.texi: Document MTASC-safety properties.
18755
27bdc63c
AO
18756 * manual/job.texi: Document MTASC-safety properties.
18757
a7b90ea9
AO
18758 * manual/getopt.texi: Document MTASC-safety properties.
18759
c49130e3
AO
18760 * manual/ctype.texi: Document MTASC-safety properties.
18761
0d23a5c1
MR
187622014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18763
18764 [BZ #16046]
18765 * csu/libc-tls.c (static_map): Remove variable.
18766 (__libc_setup_tls): Use main executable's link map for TLS data.
18767 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18768 casing for LM_ID_BASE and GL(dl_nns).
18769 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18770 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18771 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18772 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18773 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18774 member.
18775 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18776 l_phnum members.
18777
0037bb60
AO
187782014-01-30 Alexandre Oliva <aoliva@redhat.com>
18779
18780 * manual/debug.texi: Document MTASC-safety properties.
18781
409e00bd
L
187822014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18783
18784 [BZ #16510]
18785 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18786 of __x86_64__ when disabling x87 inline functions.
18787
86e60666
AO
187882014-01-29 Alexandre Oliva <aoliva@redhat.com>
18789
18790 * manual/charset.texi: Document MTASC-safety properties.
18791
76167637
AO
18792 * manual/crypt.texi: Document MTASC-safety properties.
18793
e567f2a0
AO
18794 * manual/conf.texi: Document MTASC-safety properties.
18795
b719dafd
AO
18796 * manual/arith.texi: Document MTASC-safety properties.
18797
4a16c662
AO
18798 * manual/argp.texi: Document MTASC-safety properties.
18799
0a57b83e
AO
18800 * manual/macros.texi: Introduce macros to document multi
18801 thread, asynchronous signal and asynchronous cancellation
18802 safety properties.
18803 * manual/intro.texi: Introduce the properties themselves.
18804
feab2397
KK
188052014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18806
18807 * sysdeps/sh/sh4/Makefile: New file.
18808
1c0d11bc
AS
188092014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18810
18811 * math/gen-libm-test.pl ($srcdir): New variable.
18812 ($auto_input): Use it.
18813
af37a8a3
SP
188142014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18815
d7b00f98
SP
18816 [BZ #16506]
18817 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18818 access beyond array bounds when parsing netgroups file.
18819
af37a8a3
SP
18820 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18821 the old buffer before realloc.
18822
0c00f062
AM
188232014-01-27 Allan McRae <allan@archlinux.org>
18824
18825 * po/fr.po: Update French translation from translation project.
18826
7d69a1b0
KK
188272014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18828
18829 * sysdeps/sh/libm-test-ulps: Regenerate.
18830
6e697ff7
DM
188312014-01-24 David S. Miller <davem@davemloft.net>
18832
18833 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18834
9cadb35c
KK
188352014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18836
18837 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18838 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18839
5d41dadf
SP
188402013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18841
18842 [BZ #16474]
18843 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18844 string pointers after reallocation.
18845
0bad441c
KK
188462014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18847
18848 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18849 __SH4A__ instead of __SH_FPU_ANY__.
18850
7007c661
KK
188512014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18852
18853 * sysdeps/sh/fpu_control.h: New file.
18854 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18855 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18856 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18857 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18858 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18859 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18860 * sysdeps/sh/sys/ucontext.h: Remove.
18861 * sysdeps/sh/sys: Remove directory.
18862
0f0c35e4
AK
188632014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18864
18865 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18866 s390/sys/ucontext.h.
18867 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18868 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18869
4959e284
L
188702014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18871
18872 [BZ #15605]
18873 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18874
d98720e0
AZ
188752014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18876
18877 [BZ#16431]
18878 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18879 Adjust the vDSO correctly for internal calls.
18880 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18881
91cbd0bc
AM
188822014-01-20 Allan McRae <allan@archlinux.org>
18883
18884 * po/ca.po: Update Catalan translation from translation project.
18885
7a02cfad
MF
188862014-01-16 Mike Frysinger <vapier@gentoo.org>
18887
18888 * sysdeps/s390/sotruss-lib.c: New file.
18889
736c304a
AZ
188902014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18891
18892 [BZ#16430]
6e077ee5 18893 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18894 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18895 local calls issues by not having a PLT stub required for IFUNC calls.
18896 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18897
94d0cea0
JM
188982014-01-16 Joseph Myers <joseph@codesourcery.com>
18899
18900 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18901 * math/test-fpucw-static.c: Likewise.
18902
980cb518
SP
189032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18904
18905 [BZ #16453]
18906 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18907
2393fc01
AZ
189082014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18909
18910 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18911 implementation for powerpc.
18912
d359bcc2
OB
189132014-01-15 Ondřej Bílka <neleai@seznam.cz>
18914
18915 [BZ #14782]
18916 * sysdeps/posix/system.c (__libc_system): Do not enable
18917 asynchronous cancellation.
18918
7beb48cb
AK
189192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18920
18921 [BZ #16427]
18922 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18923 handling only for numbers special also in the IEEE case.
18924
c20d5bf5
AK
189252014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18926
18927 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18928
e83bd4ee
AM
189292014-01-11 Allan McRae <allan@archlinux.org>
18930
76d0ea69
AM
18931 * po/bg.po: Update Bulgarian translation from translation project.
18932
e83bd4ee
AM
18933 * po/de.po: Update German translation from translation project.
18934
bc2ba20a
RM
189352014-01-10 Roland McGrath <roland@hack.frob.com>
18936
18937 * sysdeps/generic/gcc-compat.h: New file.
18938
649ecea2
SP
189392014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18940
18941 * benchtests/asin-inputs: Correct slow inputs.
18942 * benchtests/acos-inputs: Likewise.
18943
1b19c006
AM
189442014-01-10 Allan McRae <allan@archlinux.org>
18945
a46dab08
AM
18946 * po:sv.po: Update Swedish translation from translation project.
18947
421df74a
AM
18948 * po/vi.po: Update Vietnamese translation from translation project.
18949
d61c51a7
AM
18950 * po/eo.po: Update Esperanto translation from translation project.
18951
0339a319
AM
18952 * po/cs.po: Update Czech translation from translation project.
18953
94ad3e99
AM
18954 * po/nl.po: Update Dutch translation from translation project.
18955
e349ca71
AM
18956 * po/pl.po: Update Polish translation from translation project.
18957
ddf930c1
AM
18958 * po/ru.po: Update Russian translation from translation project.
18959
1b19c006
AM
18960 * po/uk.po: Update Ukrainian translation from translation project.
18961
9f236c49
BM
189622014-01-08 Brooks Moses <bmoses@google.com>
18963
18964 * elf/dl-load.c: Fix comment typo.
18965
cd6701cf
CD
189662014-01-08 Carlos O'Donell <carlos@redhat.com>
18967
18968 * po/header.pot: Rename to...
18969 * po/pot.header: ... this.
18970 * po/Makefile: Use pot.header.
18971
66671c84
YK
189722014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18973 Maxim Kuvyrkov <maxim@kugelworks.com>
18974
18975 [BZ #16394]
cd6701cf
CD
18976 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18977 SRC and DEST against LEN.
66671c84 18978
38f34581
AZ
189792014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18980
18981 [BZ #16414]
18982 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18983 implementation.
18984 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18985
189862014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18987
18988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18989
4c327f2a
JM
189902014-01-08 Joseph Myers <joseph@codesourcery.com>
18991
18992 [BZ #16408]
18993 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18994 for large positive arguments.
18995
b821f414
JM
189962014-01-07 Joseph Myers <joseph@codesourcery.com>
18997
1f0f2067
JM
18998 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18999
a5a326f6
JM
19000 * math/auto-libm-test-in: Mark various tests with
19001 xfail-rounding:ldbl-128ibm.
19002 * math/auto-libm-test-out: Regenerated.
19003
b821f414
JM
19004 [BZ #16407]
19005 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19006 Increase overflow threshold.
19007
94c8a4bc
OB
190082014-01-07 Ondřej Bílka <neleai@seznam.cz>
19009
19010 [BZ #14286]
19011 * stdio-common/vfprintf.c: Check for integer overflow.
19012
87ded0c3
AK
190132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19014
19015 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19016 the first argument and return value of __tls_get_addr_internal.
19017
c5eebdd0
AK
190182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19019
19020 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19021 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19022
05d138ef
AK
190232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19024
19025 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19026 * sysdeps/s390/rtld-global-offsets.sym: New file.
19027 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19028 GLIBC_2.19 symbol.
19029 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19030 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19031 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19032 ... this.
19033 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19034 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19035 ... this.
19036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19037 Regenerate.
19038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19039 Regenerate.
19040 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19041 halfs of GPRs for high_gprs contexts.
19042 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19043 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19044 field.
19045 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19046 uc_flags field.
19047 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19048 64 bit versions:
19049 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19050 for high GPRs (uc_high_gprs) and for future extensions
19051 (__reserved).
19052 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19053 for future extensions (__reserved).
19054 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19055 64 bit versions:
19056 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19057 SC_HIGHGPRS offset definition.
19058 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19059 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19060
93a45ff1
AK
19061 * Versions.def: Add GLIBC_2.19 for libpthread.
19062 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19063 siglongjmp for libpthread with GLIBC_2.19 symver.
19064 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19065 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19066 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19067 * sysdeps/s390/__longjmp.c: New file.
19068 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19069 * sysdeps/s390/longjmp.c: New file.
19070 * sysdeps/s390/setjmp.S: New file.
19071 * sysdeps/s390/sigjmp.S: New file.
19072 * sysdeps/s390/v1-longjmp.c: New file.
19073 * sysdeps/s390/v1-setjmp.h: New file.
19074 * sysdeps/s390/v1-sigjmp.c: New file.
19075 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19076 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19077 GLIBC_2.19 version.
19078 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19079 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19080 versioned symbols for ____longjmp_chk.
19081 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19082 Likewise.
19083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19084 Regenerate.
19085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19086 Regenerate.
19087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19088 Regenerate.
19089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19090 Regenerate.
19091 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19092 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19093 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19094 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19095 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19096 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19097 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19098 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19099 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19100 * sysdeps/s390/rtld-__longjmp.c: New file.
19101 * sysdeps/s390/rtld-setjmp.S: New file.
19102
eb3fc44b
JM
191032014-01-06 Joseph Myers <joseph@codesourcery.com>
19104
19105 [BZ #16400]
19106 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19107 Return -__logl (x) for small positive arguments without evaluating
19108 a polynomial.
19109
9341dde4
MF
191102014-01-06 Mike Frysinger <vapier@gentoo.org>
19111
19112 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19113 Rename to ...
19114 (__ptrace_peeksiginfo_args): ... this.
19115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19116 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19117 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19118
4cff0293
AM
191192014-01-06 Allan McRae <allan@archlinux.org>
19120
19121 * inet/netinet/in.h: Fix typo in comment.
19122
75595dcf
AJ
191232014-01-05 Andreas Jaeger <aj@suse.de>
19124
19125 * sysdeps/i386/fpu/libm-test-ulps: Update.
19126
79c1e109
AM
191272014-01-05 Allan McRae <allan@archlinux.org>
19128
dd804818
AM
19129 * po/libc.pot: Regenerated.
19130
79c1e109
AM
19131 * malloc/memusagestat.c: Fix gettext call formatting.
19132
0c813d1f
SK
191332014-01-04 Sami Kerola <kerolasa@iki.fi>
19134
19135 * nscd/nscd.c: Improve usage() output.
19136
20f4a8d9
MF
191372014-01-04 Mike Frysinger <vapier@gentoo.org>
19138
19139 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19140 * sysdeps/unix/sysv/linux/configure: Regenerated.
19141 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19142 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19143
22562bb2
JM
191442014-01-03 Joseph Myers <joseph@codesourcery.com>
19145
19146 [BZ #16390]
19147 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19148 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19149
d7ad2d9b
AZ
191502014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19151
19152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19153 extra tokens at end of #undef directive.
19154 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19155 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19156 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19157
7dd009d8
JM
191582014-01-03 Joseph Myers <joseph@codesourcery.com>
19159
24db925a
JM
19160 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19161
7dd009d8
JM
19162 * math/auto-libm-test-in: Mark various tests with
19163 xfail-rounding:ldbl-128ibm.
19164 * math/auto-libm-test-out: Regenerated.
19165
396e3ecf
JM
191662014-01-02 Joseph Myers <joseph@codesourcery.com>
19167
819e5d50
JM
19168 [BZ #16386]
19169 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19170 numbers with subnormal high part when calculating exponent.
19171
90b6a1e5
JM
19172 [BZ #16385]
19173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19174 fabs.
19175
396e3ecf
JM
19176 [BZ #16384]
19177 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19178 M_LN2l.
19179 (__ieee754_acoshl): Use __log1pl not __log1p.
19180
6c8dbf00
OB
191812013-01-02 Ondřej Bílka <neleai@seznam.cz>
19182
57f41c40
AS
19183 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19184 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19185 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19186 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19187 (reused_arena, arena_get2): Convert to GNU style.
19188 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19189 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19190 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19191 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19192 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19193 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19194 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19195 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19196 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19197 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19198 * malloc/malloc.h: Likewise.
57f41c40
AS
19199 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19200 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19201 * malloc/mcheck.h: Likewise.
57f41c40
AS
19202 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19203 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19204 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19205 * malloc/morecore.c (__default_morecore): Likewise.
19206 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19207 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19208 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19209 (print_and_abort): Likewise.
6c8dbf00
OB
19210 * malloc/obstack.h: Likewise.
19211 * malloc/set-freeres.c (__libc_freeres): Likewise.
19212 * malloc/tst-mallocstate.c (main): Likewise.
19213 * malloc/tst-mtrace.c (main): Likewise.
19214 * malloc/tst-realloc.c (do_test): Likewise.
19215
d4124212
SP
192162013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19217
9a3c6a6f
SP
19218 [BZ #16366]
19219 * nscd/netgroupcache.c (do_notfound): New function.
19220 (addgetnetgrentX): Use it.
19221
d4124212
SP
19222 [BZ # 16365]
19223 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19224 NSS_STATUS_NOTFOUND.
19225
97b9a009
JM
192262014-01-01 Joseph Myers <joseph@codesourcery.com>
19227
19228 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19230
d4697bc9
AM
192312014-01-01 Allan McRae <allan@archlinux.org>
19232
ddb3687f
AM
19233 * scripts/update-copyrights: Update configure input file suffix.
19234
88726d48
AM
19235 * NEWS: Update copyright year.
19236 * catgets/gencat.c: Likewise.
19237 * csu/version.c: Likewise.
19238 * debug/catchsegv.sh: Likewise.
19239 * debug/pcprofiledump.c: Likewise.
19240 * debug/xtrace.sh: Likewise.
19241 * elf/ldconfig.c: Likewise.
19242 * elf/ldd.bash.in: Likewise.
19243 * elf/pldd.c: Likewise.
19244 * elf/sotruss.ksh: Likewise.
19245 * elf/sprof.c: Likewise.
19246 * iconv/iconv_prog.c: Likewise.
19247 * iconv/iconvconfig.c: Likewise.
19248 * locale/programs/locale.c: Likewise.
19249 * locale/programs/localedef.c: Likewise.
19250 * login/programs/pt_chown.c: Likewise.
19251 * malloc/memusage.sh: Likewise.
19252 * malloc/memusagestat.c: Likewise.
19253 * malloc/mtrace.pl: Likewise.
19254 * manual/libc.texinfo: Likewise.
19255 * nscd/nscd.c: Likewise.
19256 * nss/getent.c: Likewise.
19257 * nss/makedb.c: Likewise.
19258 * posix/getconf.c: Likewise.
19259 * scripts/test-installation.pl: Likewise.
19260
d4697bc9
AM
19261 * All files with FSF copyright notices: Update copyright dates
19262 using scripts/update-copyrights.
19263 * intl/plural.c: Regenerated.
19264 * locale/programs/charmap-kw.h: Likewise.
19265 * locale/programs/locfile-kw.h: Likewise.
19266
c8590f9d
MF
192672013-12-31 Mike Frysinger <vapier@gentoo.org>
19268
19269 * sysdeps/unix/sysv/linux/configure: Regenerated.
19270 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19271 the linux/fanotify.h header.
19272 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19273 HAVE_LINUX_FANOTIFY_H is defined.
19274
b19221b9
SP
192752013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19276
dd1d85e5
SP
19277 * benchtests/cos-inputs: New inputs.
19278 * benchtests/sin-inputs: Likewise.
19279
1acbb90f
SP
19280 * benchtests/atan-inputs: New inputs. Fix name of multiple
19281 precision fallback inputs.
19282
4c012ed3
SP
19283 * benchtests/atanh-inputs: New inputs.
19284 * benchtests/tanh-inputs: Likewise.
19285
eff98324
SP
19286 * benchtests/acosh-inputs: New inputs.
19287 * benchtests/asinh-inputs: Likewise.
19288
ce641152
SP
19289 * benchtests/cosh-inputs: New inputs.
19290 * benchtests/sinh-inputs: Likewise.
19291
b19221b9
SP
19292 * benchtests/acos-inputs: Add more inputs.
19293 * benchtests/asin-inputs: Likewise.
19294
030a4976 192952013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19296
030a4976 19297 [BZ #16375]
9dcc8f11
VS
19298 * manual/arith.texi: Fix spelling.
19299 * manual/charset.texi: Likewise.
19300 * manual/errno.texi: Likewise.
19301 * manual/filesys.texi: Likewise.
19302 * manual/lang.texi: Likewise.
19303 * manual/llio.texi: Likewise.
19304 * manual/locale.texi: Likewise.
19305 * manual/message.texi: Likewise.
19306 * manual/resource.texi: Likewise.
19307 * manual/search.texi: Likewise.
19308 * manual/setjmp.texi: Likewise.
19309 * manual/stdio.texi: Likewise.
19310 * manual/string.texi: Likewise.
19311 * manual/sysinfo.texi: Likewise.
19312 * manual/time.texi: Likewise.
19313
11520a57
CD
193142013-12-27 Carlos O'Donell <carlos@redhat.com>
19315
19316 * po/sl.po: New file.
19317
471103ae
MF
193182013-12-27 Mike Frysinger <vapier@gentoo.org>
19319
19320 * .gitignore: Add core/.gdbinit/.gdb_history.
19321
6c9642ed
AM
193222013-12-27 Allan McRae <allan@archlinux.org>
19323
19324 [BZ #16369]
19325 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19326 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19327
3f637079
BM
193282013-12-24 Brooks Moses <bmoses@google.com>
19329
19330 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19331 all compilers that claim C++98 compliance, not just GCC.
19332 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19333 Likewise.
19334
abc26e99
MK
193352013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19336
19337 * NEWS: Restore accidentally deleted bug-fix entries.
19338
362b47fe
MK
193392013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19340 Ondřej Bílka <neleai@seznam.cz>
19341
19342 [BZ #15073]
19343 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19344 have_lock.
362b47fe 19345
b9bcbbcb
OB
193462013-12-23 Ondřej Bílka <neleai@seznam.cz>
19347
19348 [BZ #12986]
19349 * manual/stdio.texi (String Input Conversions): Clarify that character
19350 classes are not supported.
19351
fb55fcd2
AZ
193522013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19353
19354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19355
ef7344f0
JM
193562013-12-22 Joseph Myers <joseph@codesourcery.com>
19357
4f40e4b3
JM
19358 [BZ #16337]
19359 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19360 Calculate results for small negative arguments directly rather
19361 than using reflection formula with special underflow handling.
19362
ef7344f0
JM
19363 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19364 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19365 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19366 (fchflags): Likewise.
19367 (revoke): Likewise.
19368 (setlogin): Likewise.
19369 (sigaltstack): Likewise.
19370 (wait4): Likewise.
19371 (sigblock): Remove.
19372 (sigsetmask): Likewise.
19373 (wait3): Likewise.
19374 (waitpid): Likewise.
19375 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19376 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19377 file.
19378 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19379 * sysdeps/unix/bsd/Makefile: ... here.
19380 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19381 * sysdeps/unix/bsd/Versions: ... here.
19382 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19383 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19384 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19385 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19386 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19387 * sysdeps/unix/bsd/sigblock.c: ... here.
19388 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19389 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19390 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19391 * sysdeps/unix/bsd/sigvec.c: ... here.
19392 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19393 * sysdeps/unix/bsd/tcdrain.c: ... here.
19394 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19395 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19396 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19397 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19398 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19399 * sysdeps/unix/bsd/wait.c: ... here.
19400 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19401 * sysdeps/unix/bsd/wait3.c: ... here.
19402 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19403 * sysdeps/unix/bsd/waitpid.c: ... here.
19404
5b0626b9
JM
194052013-12-21 Joseph Myers <joseph@codesourcery.com>
19406
19407 [BZ #16356]
19408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19409 round-to-nearest for [!USE_AS_EXPM1L].
19410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19411 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19412 more tests of exp and exp10. Expect some exp10 tests to miss
19413 exceptions or fail in directed rounding modes.
19414 * math/auto-libm-test-out: Regenerated.
19415 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19416 (exp10_test_tonearest): New function.
19417 (exp10_towardzero_test_data): New array.
19418 (exp10_test_towardzero): New function.
19419 (exp10_downward_test_data): New array.
19420 (exp10_test_downward): New function.
19421 (exp10_upward_test_data): New array.
19422 (exp10_test_upward): New function.
19423 (main): Call the new functions.
19424 * sysdeps/i386/fpu/libm-test-ulps: Update.
19425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19426
7fda5682
JM
194272013-12-20 Joseph Myers <joseph@codesourcery.com>
19428
31e3a405
JM
19429 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19430 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19431 * math/auto-libm-test-out: Regenerated.
19432 * math/libm-test.inc (acosh_test_data): Add more tests.
19433 (atanh_test_data): Likewise.
19434 (ceil_test_data): Likewise.
19435 (copysign_test_data): Likewise.
19436 * sysdeps/i386/fpu/libm-test-ulps: Update.
19437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19438
85bff96a
JM
19439 * timezone/checktab.awk: Update from tzcode 2013i.
19440 * timezone/private.h: Likewise.
19441 * timezone/scheck.c: Likewise.
19442 * timezone/tzfile.h: Likewise.
19443 * timezone/tzselect.ksh: Likewise.
19444 * timezone/zdump.c: Likewise.
19445 * timezone/zic.c: Likewise.
19446
b7867a3b
JM
19447 * math/auto-libm-test-in: Add tests of cpow.
19448 * math/auto-libm-test-out: Regenerated.
19449 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19450 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19451 mpc_cc_c.
19452 (func_calc_desc): Add mpc_cc_c union field.
19453 (test_functions): Add cpow.
19454 (special_fill_2pi): New function.
19455 (special_real_inputs): Add 2pi.
19456 (calc_generic_results): Handle mpc_cc_c.
19457 * sysdeps/i386/fpu/libm-test-ulps: Update.
19458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19459
7fda5682
JM
19460 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19461 csqrt, ctan and ctanh.
19462 * math/auto-libm-test-out: Regenerated.
19463 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19464 (TEST_COND_x86): Likewise.
19465 (ccos_test_data): Use AUTO_TESTS_c_c.
19466 (ccosh_test_data): Likewise.
19467 (cexp_test_data): Likewise.
19468 (clog_test_data): Likewise.
19469 (csqrt_test_data): Likewise.
19470 (ctan_test_data): Likewise.
19471 (ctan_tonearest_test_data): Likewise.
19472 (ctan_towardzero_test_data): Likewise.
19473 (ctan_downward_test_data): Likewise.
19474 (ctan_upward_test_data): Likewise.
19475 (ctanh_test_data): Likewise.
19476 (ctanh_tonearest_test_data): Likewise.
19477 (ctanh_towardzero_test_data): Likewise.
19478 (ctanh_downward_test_data): Likewise.
19479 (ctanh_upward_test_data): Likewise.
19480 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19481 mpc_c_c.
19482 (func_calc_desc): Add mpc_c_c union field.
19483 (FUNC_mpc_c_c): New macro.
19484 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19485 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19486 ctanh.
19487 (special_fill_min_subnorm_p120): New function.
19488 (special_real_inputs): Add min_subnorm_p120.
19489 (calc_generic_results): Handle mpc_c_c.
19490 * sysdeps/i386/fpu/libm-test-ulps: Update.
19491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19492
5ff8d60e
SP
194932013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19494
57f41c40
AS
19495 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19496 (do_sin_slow): New functions.
19497 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19498 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19499
84ba214c
SP
19500 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19501 Use M to change sign of result instead of X. Assume X is
19502 positive.
19503 (csloww1): Likewise.
19504 (__sin): Adjust.
19505 (__cos): Adjust.
19506
975195e4
SP
19507 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19508 arguments A and DA.
19509 (__sin): Adjust.
19510 (__cos): Likewise.
19511
5ff8d60e
SP
19512 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19513 (__cos): Likewise.
19514 (sloww1): Don't adjust sign of DX.
19515 (csloww1): Likewise.
19516 (sloww2): Use X directly and don't adjust sign of DX.
19517 (csloww2): Likewise.
19518
eb983568
JM
195192013-12-19 Joseph Myers <joseph@codesourcery.com>
19520
64a17f1a
JM
19521 * math/auto-libm-test-in: Add tests of cabs and carg.
19522 * math/auto-libm-test-out: Regenerated.
19523 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19524 (carg_test_data): Likewise.
19525 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19526 mpc_c_f.
19527 (func_calc_desc): Add mpc_c_f union field.
19528 (test_functions): Add cabs and carg.
19529 (calc_generic_results): Handle mpc_c_f.
19530
eb983568
JM
19531 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19532 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19533 as a macro and a compat symbol.
19534 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19535 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19536 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19537 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19538 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19539 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19540 not use .hidden.
19541 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19542 Likewise.
19543 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19544 Likewise.
19545 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19546 Likewise.
19547 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19548 Likewise.
19549 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19550 Likewise.
19551 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19552 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19553 from GLIBC_2.3.2.
19554
6eeb678a
AZ
195552013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19556
19557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19558
6f6fc482
JM
195592013-12-19 Joseph Myers <joseph@codesourcery.com>
19560
21fea2e2
JM
19561 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19562 trailing whitespace removed.
19563 * scripts/config.guess: Update to version 2013-11-29.
19564 * scripts/config.sub: Update to version 2013-10-01.
19565
6f6fc482
JM
19566 * math/auto-libm-test-in: Add tests of sincos.
19567 * math/auto-libm-test-out: Regenerated.
19568 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19569 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19570 mpfr_f_11.
19571 (func_calc_desc): Add mpfr_f_11 union field.
19572 (test_functions): Add sincos.
19573 (calc_generic_results): Handle mpfr_f_11.
19574 * sysdeps/i386/fpu/libm-test-ulps: Update.
19575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19576
83f5c32d
AS
195772013-12-19 Andreas Schwab <schwab@suse.de>
19578
19579 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19580 CALL_MCOUNT.
19581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19582 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19583 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19584
c688b419
JM
195852013-12-19 Joseph Myers <joseph@codesourcery.com>
19586
335ee092
JM
19587 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19588 * sysdeps/i386/fpu/libm-test-ulps: Update.
19589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19590
f88acd39
JM
19591 [BZ #16293]
19592 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19593 round-to-nearest mode when using frndint.
19594 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19595 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19596 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19597 Likewise.
19598 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19599 sinh test to fail.
19600 * math/auto-libm-test-out: Regenerated.
19601 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19602 (TEST_COND_x86): Likewise.
19603 (expm1_tonearest_test_data): New array.
19604 (expm1_test_tonearest): New function.
19605 (expm1_towardzero_test_data): New array.
19606 (expm1_test_towardzero): New function.
19607 (expm1_downward_test_data): New array.
19608 (expm1_test_downward): New function.
19609 (expm1_upward_test_data): New array.
19610 (expm1_test_upward): New function.
19611 (main): Run the new test functions.
19612 * sysdeps/i386/fpu/libm-test-ulps: Update.
19613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19614
c688b419
JM
19615 * include/features.h: Update comment documenting feature test
19616 macros. Mention _DEFAULT_SOURCE in comment.
19617 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19618 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19619 _BSD_SOURCE and _SVID_SOURCE.
19620 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19621 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19622 !_SVID_SOURCE]: Likewise.
19623 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19624 (__USE_POSIX_IMPLICITLY): Define.
19625 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19626 (_POSIX_SOURCE): Undefine and redefine.
19627 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19628 (_POSIX_C_SOURCE): Likewise.
19629 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19630 (Feature Test Macros): Update documentation of default features.
19631
9f6e964c
RS
196322013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19633
19634 * benchtests/Makefile: Add bench-strtok.
19635 * benchtests/bench-strtok.c: New file: strtok benchtest.
19636
ee0a148a
AM
196372013-12-19 Allan McRae <allan@archlinux.org>
19638
19639 * manual/install.texi: Suppress menu for plain text output.
19640 * INSTALL: Regenerated.
19641
b9ab448f
BM
196422013-12-18 Brooks Moses <bmoses@google.com>
19643
19644 [BZ #15846]
19645 * misc/getauxval.c: Include errno.h.
19646 (__getauxval): Set errno to ENOENT if the requested type is not
19647 found.
19648 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19649 don't declare with __attribute_const__.
19650 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19651 * manual/startup.texi: Document that getauxval sets errno.
19652
23776487
JM
196532013-12-18 Joseph Myers <joseph@codesourcery.com>
19654
f889953b
JM
19655 * math/auto-libm-test-in: Add tests of jn and yn.
19656 * math/auto-libm-test-out: Regenerated.
19657 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19658 (yn_test_data): Likewise.
19659 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19660 mpfr_if_f.
19661 (func_calc_desc): Add mpfr_if_f union field.
19662 (FUNC_mpfr_if_f): New macro.
19663 (test_functions): Add jn and yn.
19664 (calc_generic_results): Assert type of second input for
19665 mpfr_ff_f. Handle mpfr_if_f.
19666 (output_for_one_input_case): Disable all checking for arguments
19667 fitting floating-point types in case of an integer argument.
19668 * sysdeps/i386/fpu/libm-test-ulps: Update.
19669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19670
23776487
JM
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19672 Don't expect fegetround reference in libm.so.
19673
cb756c6d
MS
196742013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19675
19676 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19677 $(config-cflags-nofma).
19678
2dec468f
JM
196792013-12-18 Joseph Myers <joseph@codesourcery.com>
19680
5953eb3a
JM
19681 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19682 * math/auto-libm-test-out: Regenerated.
19683
2dec468f
JM
19684 [BZ #16338]
19685 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19686 to determine exponent and adjust argument to have exponent of -1.
19687 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19688 log2.
19689 * math/auto-libm-test-out: Regenerated.
19690 * sysdeps/i386/fpu/libm-test-ulps: Update.
19691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19692
4d84e6ad
OB
196932013-12-18 Ondřej Bílka <neleai@seznam.cz>
19694
19695 * manual/probes.texi: Remove cases when per-thread arenas are
19696 disabled.
19697
1818483b
AS
196982013-12-18 Andreas Schwab <schwab@suse.de>
19699
19700 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19701 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19702 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19703 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19704 * sysdeps/i386/i686/multiarch/Makefile: Update.
19705 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19706
25de95bf
JM
197072013-12-17 Joseph Myers <joseph@codesourcery.com>
19708
19709 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19710 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19711
674762d9
PE
197122013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19713
ed27ed83 19714 [BZ #15968]
0748546f
PE
19715 Support TZ transition times < 00:00:00.
19716 This is needed for version-3 tz-format files; it supports time
19717 stamps past 2037 for America/Godthab (the only entry in the tz
19718 database for which this change is relevant).
19719 * manual/time.texi (TZ Variable): Document transition times
19720 from -167:59:59 through -00:00:01.
19721 * time/tzset.c (tz_rule): Time of day is now signed.
19722 (__tzset_parse_tz): Parse negative time of day.
19723
4480e934
PE
19724 Document TZ transition times >= 25:00:00.
19725 * manual/time.texi (TZ Variable): Document transition times from
19726 25:00:00 through 167:59:59. These are already supported, and this
19727 support will help with version-3 tz-format files.
19728
69947401
PE
19729 * manual/time.texi (TZ Variable): Modernize North America example
19730 to reflect current (i.e., 2007-and-later) daylight saving rules.
19731
674762d9
PE
19732 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19733
7011c262
JM
197342013-12-17 Joseph Myers <joseph@codesourcery.com>
19735
2fc6557e
JM
19736 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19737 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19738 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19740 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19741 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19742 * sysdeps/unix/bsd/clock.c: Likewise.
19743 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19744 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19745 * sysdeps/unix/bsd/init-posix.c: Likewise.
19746 * sysdeps/unix/bsd/poll.c: Likewise.
19747 * sysdeps/unix/bsd/ptsname.c: Likewise.
19748 * sysdeps/unix/bsd/seekdir.c: Likewise.
19749 * sysdeps/unix/bsd/setegid.c: Likewise.
19750 * sysdeps/unix/bsd/seteuid.c: Likewise.
19751 * sysdeps/unix/bsd/setgid.c: Likewise.
19752 * sysdeps/unix/bsd/setrgid.c: Likewise.
19753 * sysdeps/unix/bsd/setruid.c: Likewise.
19754 * sysdeps/unix/bsd/setsid.c: Likewise.
19755 * sysdeps/unix/bsd/setuid.c: Likewise.
19756 * sysdeps/unix/bsd/sigaction.c: Likewise.
19757 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19758 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19759 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19760 * sysdeps/unix/bsd/telldir.c: Likewise.
19761 * sysdeps/unix/bsd/times.c: Likewise.
19762 * sysdeps/unix/bsd/usleep.c: Likewise.
19763
029c7b25
JM
19764 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19765 ($(objpfx)libbsd-compat.a): Remove rule.
19766
7011c262
JM
19767 * include/features.h (__FAVOR_BSD): Do not define.
19768 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19769 features conflicting with POSIX.
19770 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19771 (_BSD_SOURCE): Remove description of not being a subset of other
19772 feature test macros.
19773 * manual/job.texi (getpgrp): Do not document BSD version.
19774 (getpgid): Do not document by reference to BSD getpgrp.
19775 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19776 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19777 * signal/signal.h [__FAVOR_BSD]: Likewise.
19778 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19779 instead of making contents conditional on [__FAVOR_BSD].
19780 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19781
affb6f78
AZ
197822013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19783
19784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19785
c88769dd
JM
197862013-12-17 Joseph Myers <joseph@codesourcery.com>
19787
6432a540
JM
19788 [BZ #16314]
19789 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19790 values below 2**-450, not 2**-500.
19791 * math/auto-libm-test-in: Don't allow spurious underflow from
19792 hypot.
19793 * math/auto-libm-test-out: Regenerated.
19794
c88769dd
JM
19795 [BZ #16316]
19796 [BZ #16330]
19797 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19798 values of ha and hb and sort them after adjusting subnormal
19799 arguments.
19800 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19801 Likewise.
19802 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19803 values of ea and eb and sort them after adjusting subnormal
19804 arguments.
19805 * math/auto-libm-test-in: Do not expect some hypot tests of
19806 subnormals to fail. Add more hypot tests.
19807 * math/auto-libm-test-out: Regenerated.
19808
29618f6b
KK
198092013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19810
19811 [BZ #13304]
19812 * sysdeps/sh/s_fma.c: New file.
19813 * sysdeps/sh/s_fmaf.c: New file.
19814 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19815 version.
19816 * sysdeps/sh/Implies: Add sh/soft-fp.
19817
eacfdfbf
RM
198182013-12-16 Roland McGrath <roland@hack.frob.com>
19819
19820 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19821 level of indirection to members `objname', `errstring', `malloced'.
19822 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19823 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19824 it as the __longjmp argument (just pass 1 instead).
19825 (_dl_catch_error): Initialize C with argument pointers and address of
19826 volatile local ERRCODE rather than copying values out of C at return.
19827
ff362e5b
JM
198282013-12-16 Joseph Myers <joseph@codesourcery.com>
19829
19830 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19831 * math/auto-libm-test-out: Regenerated.
19832 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19833 (hypot_test_data): Likewise.
19834 (pow_test_data): Likewise.
19835 (pow_tonearest_test_data): Likewise.
19836 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19837 mpfr_ff_f.
19838 (func_calc_desc): Add mpfr_ff_f union field.
19839 (FUNC_mpfr_ff_f): New macro.
19840 (test_functions): Add atan2, hypot and pow.
19841 (special_fill_min): New function.
19842 (special_fill_minus_min): Likewise.
19843 (special_fill_min_subnorm): Likewise.
19844 (special_fill_minus_min_subnorm): Likewise.
19845 (special_real_inputs): Add min, -min, min_subnorm and
19846 -min_subnorm.
19847 (calc_generic_results): Handle mpfr_ff_f.
19848 * sysdeps/i386/fpu/libm-test-ulps: Update.
19849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19850
5764c27f
WN
198512013-12-16 Will Newton <will.newton@linaro.org>
19852
19853 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19854 (Aligned Memory Blocks): Add documentation for aligned_alloc
19855 and suggest it as an alternative to posix_memalign.
19856 (Hooks for Malloc): Document __memalign_hook is also called
19857 for aligned_alloc. (Summary of Malloc): Add summary for
19858 aligned alloc. Document __memalign_hook is also called
19859 for aligned_alloc.
19860
0a096e44
WN
198612013-12-16 Will Newton <will.newton@linaro.org>
19862
19863 * manual/memory.texi (Malloc Examples): Clarify default
19864 alignment documentation. Suggest posix_memalign rather
19865 than memalign or valloc.
19866 (Aligned Memory Blocks): Remove suggestion to use memalign
19867 or valloc. Remove obsolete comment about BSD.
19868 Document memalign errno values and mark the function obsolete.
19869 Document posix_memalign returned error codes. Mark valloc
19870 as obsolete. (Hooks for Malloc): __memalign_hook is also
19871 called for posix_memalign and valloc.
19872 (Summary of Malloc): Add posix_memalign to function summary.
19873 __memalign_hook is also called for posix_memalign and valloc.
19874
8d561986
SP
198752013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19876
19877 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19878 TAYLOR_SIN.
19879 (__sin): Adjust.
19880 (__cos): Likewise.
19881 (sloww): Use mynumber union. Expand ternary operator into
19882 if-else statements.
19883 (cslow): use mynumber union.
19884
73616a74
AM
198852013-12-16 Allan McRae <allan@archlinux.org>
19886
9e8ac24b
AM
19887 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19888 * configure: Regenerated.
19889
6f8e37eb
AM
19890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19891
8894bad3
AM
19892 [BZ #14120]
19893 * configure.ac: Added --enable-maintainer-mode. Check for
19894 autoconf when enabled.
19895 * configure: Regenerated.
19896
73616a74
AM
19897 * nscd/nscd.service: New file.
19898 * nscd/nscd.tmpfiles: New file.
19899
584b18eb
OB
199002013-12-14 Ondřej Bílka <neleai@seznam.cz>
19901
19902 [BZ #12100]
19903 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19904 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19905 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19906 (strstr): Add __strstr_sse2_unaligned ifunc.
19907 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19908 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19909 (strcasestr): Remove __strcasestr_sse42 ifunc.
19910 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19913
8a5c7897
KK
199142013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19915
19916 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19917 * sysdeps/sh/bits/fenv.h: ... here.
19918 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19919
fd712ef3
AZ
199202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19921
19922 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19923
42fcb46c
AZ
19924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19925 hypotf multiarch implementations.
19926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19927 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19929 multiarch hypot for PPC64.
19930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19931 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19932 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19933 multiarch hypotf for PPC64.
19934
83efded4
AZ
19935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19936 modff multiarch implementations.
19937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19940 multiarch modf for PPC64.
19941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19944 multiarch modff for PPC64.
19945
43e246d2
AZ
19946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19947 and logl multiarch implementations.
19948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19951 multiarch logb for PPC64.
19952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19955 multiarch logb for PPC64.
19956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19959 multiarch logb for PPC64.
19960
8fdad123
AZ
19961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19962 isinff multiarch implementation.
19963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19964 file.
19965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19967 multiarch isinf for PPC64.
19968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19969 file.
19970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19971 multiarch isinff for PPC64.
19972
1481d706
AZ
19973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19974 finitef multiarch implementation.
19975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19976 file.
19977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19979 multiarch finite for PPC64.
19980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19981 file.
19982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19983 multiarch finitef for PPC64.
19984
5ccd5fc8
AZ
19985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19986 lrint multiarch implementation.
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19988 file.
19989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19991 multiarch llrint for PPC64.
19992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19993 multiarch lrint for PPC64.
19994
2568f3fa
AZ
19995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19996 copysignf multiarch implementation.
19997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19998 file.
19999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20000 file.
20001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20002 multiarch copysign for PPC64.
20003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20004 multiarch copysignf for PPC64.
20005
1cb341fd
AZ
20006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20007 multiarch implementation.
20008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20009 file.
20010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20011 file.
20012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20013 file.
20014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20015 file.
20016 multiarch llround for PPC64.
20017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20018 multiarch trunc for PPC64.
20019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20020 multiarch truncf for PPC64.
20021
59a3e194
AZ
20022 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20023 multiarch implementation.
20024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20025 file.
20026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20027 file.
20028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20029 file.
20030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20031 file.
20032 multiarch llround for PPC64.
20033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20034 multiarch round for PPC64.
20035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20036 multiarch roundf for PPC64.
20037
357fd3b4
AZ
20038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20039 multiarch implementation.
20040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20041 file.
20042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20043 file.
20044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20045 file.
20046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20047 file.
20048 multiarch llround for PPC64.
20049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20050 multiarch floor for PPC64.
20051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20052 multiarch floorf for PPC64.
20053
96770f12
AZ
20054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20055 multiarch implementation.
20056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20057 file.
20058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20059 file.
20060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20061 file.
20062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20063 file.
20064 multiarch llround for PPC64.
20065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20066 multiarch ceil for PPC64.
20067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20068 multiarch ceilf for PPC64.
20069
c3627f6e
AZ
20070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20071 multiarch implementation.
20072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20073 file.
20074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20075 file.
20076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20077 file.
20078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20079 multiarch llround for PPC64.
20080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20081 multiarch lround for PPC64.
20082
b2284ad7
AZ
20083 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20084 multiarch implementation.
20085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20088 file.
20089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20092 multiarch isnan for PPC64.
20093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20094 multiarch isnanf for PPC64.
20095
69bbc63d
AZ
20096 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20097 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20098 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20099 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20100 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20102
c24517c9
AZ
20103 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20104 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20106 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20107
a52374e8
AZ
20108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20109 multiarch implementations.
20110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20111 (__libc_ifunc_impl_list): Likewise.
20112 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20113 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20114 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20115 multiarch stpcpy for PPC64.
20116
7f5ec113
AZ
20117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20118 multiarch implementations.
20119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20120 (__libc_ifunc_impl_list): Likewise.
20121 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20122 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20123 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20124 multiarch strcpy for PPC64.
20125
e28bcd42
AZ
20126 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20127 redefine function name.
20128 (_wordcopy_fwd_dest_aligned): Likewise.
20129 (_wordcopy_bwd_aligned): Likewise.
20130 (_wordcopy_bwd_dest_aligned): Likewise.
20131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20132 multiarch implementations.
20133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20134 (__libc_ifunc_impl_list): Likewise.
20135 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20136 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20137 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20138 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20139 multiarch wcscpy for PPC64.
20140
92cacfce
AZ
20141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20142 multiarch implementations.
20143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20144 (__libc_ifunc_impl_list): Likewise.
20145 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20146 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20147 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20149 multiarch wcscpy for PPC64.
20150
7b714620
AZ
20151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20152 multiarch implementations.
20153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20154 (__libc_ifunc_impl_list): Likewise.
20155 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20156 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20157 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20158 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20159 multiarch wcsrchr for PPC64.
20160
16fd2ae3
AZ
20161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20162 multiarch implementations.
20163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20164 (__libc_ifunc_impl_list): Likewise.
20165 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20166 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20167 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20168 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20169 multiarch wcschr for PPC64.
20170
9ee2969b
AZ
20171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20172 multiarch implementations.
20173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20174 (__libc_ifunc_impl_list): Likewise.
20175 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20176 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20177 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20178 multiarch strchrnul for PPC64.
20179
372dc060
AZ
20180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20181 implementations.
20182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20183 (__libc_ifunc_impl_list): Likewise.
20184 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20185 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20186 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20187 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20188 strchr for PPC64.
20189
24c2c3b9
AZ
20190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20191 implementations.
20192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20193 (__libc_ifunc_impl_list): Likewise.
20194 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20195 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20196 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20197 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20198 strncmp for PPC64.
20199
1c92d9a0
AZ
20200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20201 multiarch implementations.
20202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20203 (__libc_ifunc_impl_list): Likewise.
20204 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20205 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20206 strncasecmp for PPC64.
20207 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20208 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20209 multiarch strncasecmp_l for PPC64.
20210
17de3ee3
AZ
20211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20212 multiarch implementations.
20213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20214 (__libc_ifunc_impl_list): Likewise.
20215 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20216 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20217 multiarch strcasecmp for PPC64.
20218 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20219 file.
20220 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20221 multiarch strcasecmp_l for PPC64.
20222
62982bf9
AZ
20223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20224 implementations.
20225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20226 (__libc_ifunc_impl_list): Likewise.
20227 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20228 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20229 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20230 strnlen for PPC64.
20231
a65f4904
AZ
20232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20233 implementations.
20234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20235 (__libc_ifunc_impl_list): Likewise.
20236 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20237 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20238 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20239 strlen for PPC64.
20240
1fd005ad
AZ
20241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20242 implementations.
20243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20244 (__libc_ifunc_impl_list): Likewise.
20245 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20246 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20247 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20248 rawmemrchr for PPC64.
20249
cd05ba91
AZ
20250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20251 implementation.
20252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20253 (__libc_ifunc_impl_list): Likewise.
20254 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20255 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20256 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20257 memrchr for PPC64.
20258
870f8676
AZ
20259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20260 implementation.
20261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20262 (__libc_ifunc_impl_list): Likewise.
20263 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20264 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20265 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20266 memchr for PPC64.
20267
f00be62b
AZ
20268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20269 implementation.
20270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20271 (__libc_ifunc_impl_list): Likewise.
20272 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20273 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20274 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20275 mempcpy for PPC64.
20276
8a29a3d0
AZ
20277 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20278 avoid cretion of __bzero symbol.
20279 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20280 Likewise.
20281 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20282 Likewise.
20283 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20284 Likewise.
20285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20286 multiarch implementations.
20287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20288 (__libc_ifunc_impl_list): Likewise.
20289 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20290 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20291 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20292 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20293 bzero for PPC32.
20294 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20295 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20296 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20297 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20298 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20299 memset for PPC64.
20300 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20301
07253fcf
AZ
20302 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20304 implementations.
20305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20306 (__libc_ifunc_impl_list): Likewise.
20307 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20308 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20309 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20310 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20311 memcmp for PPC64.
20312
b5beafbc
AZ
20313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20314 multiarch for POWER/PPC64.
20315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20316 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20318 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20319 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20320 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20321 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20322 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20323 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20324 memcpy for PPC64.
20325
5e6a4d4b
AZ
20326 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20327 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20328 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20329 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20330 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20331 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20332 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20333 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20334 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20335 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20336 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20337 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20338 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20339 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20340 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20348
ddfab6dc
KK
203492013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20350
20351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20352
19b5525e
SP
203532013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20354
20355 * benchtests/Makefile (bench): Add exp2 and log2.
20356 (LDLIBS-bench-exp2): Add -lm.
20357 (LDLIBS-bench-log2): Likewise.
20358 * benchtests/exp2-inputs: New inputs file.
20359 * benchtests/log2-inputs: New inputs file.
20360 * benchtests/log-inputs: Add new inputs.
20361 * benchtests/tan-inputs: Likewise.
20362
196f7f5d
SP
203632013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20364
7a74607f
SP
20365 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20366 definition...
57f41c40
AS
20367 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20368 (csloww2): ... from here.
7a74607f 20369
196f7f5d
SP
20370 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20371 instead of structures.
20372 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20373 (POLYNOMIAL): Likewise.
20374 (TAYLOR_SLOW): Likewise.
20375 (__sin): Likewise.
20376 (__cos): Likewise.
20377 (slow1): Likewise.
20378 (slow2): Likewise.
20379 (sloww): Likewise.
20380 (sloww1); Likewise.
20381 (sloww2): Likewise.
20382 (bsloww1): Likewise.
20383 (bsloww2): Likewise.
20384 (cslow2): Likewise.
20385 (csloww): Likewise.
20386 (csloww1): Likewise.
20387 (csloww2): Likewise.
20388
0dfa665c
OB
203892013-12-10 Ondřej Bílka <neleai@seznam.cz>
20390
20391 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20392 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20393 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20394 * malloc/hooks.c (realloc_check): Likewise.
20395
5782a80f
OB
20396 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20397 * malloc/arena.c: Remove PER_THREAD conditional.
20398 [!PER_THREAD]: Remove code.
20399 (ptmalloc_unlock_all2): Likewise.
20400 (ptmalloc_init): Likewise.
20401 (_int_new_arena): Likewise.
20402 (arena_get2): Likewise.
20403 * malloc/hooks.c (__malloc_get_state): Likewise.
20404 (__malloc_set_state): Likewise.
20405 * malloc/malloc.c: Likewise.
20406 (struct malloc_state): Likewise.
20407 (struct malloc_par): Likewise.
20408 (__libc_realloc): Likewise.
20409 (__libc_mallopt): Likewise.
20410
aeb95445
AZ
204112013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20412
20413 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20414
e8349efd
OB
204152013-12-09 Ondřej Bílka <neleai@seznam.cz>
20416
20417 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20418 macro to a function. Check for zero perturb_byte.
20419 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20420
f3eeb3fc 20421 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20422 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20423 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20424 force_reg by atomic_forced_read.
20425 * malloc/arena.c (ptmalloc_init): Likewise.
20426 * malloc/hooks.c (top_check): Likewise.
20427
be2f9009
AZ
204282013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20429
20430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20431
e7b914bd
MT
204322013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20433
20434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20435
9f0be4f8
JM
204362013-12-08 Joseph Myers <joseph@codesourcery.com>
20437
20438 * math/auto-libm-test-in: Add tests of lgamma.
20439 * math/auto-libm-test-out: Regenerated.
20440 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20441 (M_LOG_2_SQRT_PIl): Likewise.
20442 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20443 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20444 mpfr_f_f1.
20445 (func_calc_desc): Add mpfr_f_f1 union field.
20446 (ARGS1): New macro.
20447 (ARGS2): Likewise.
20448 (ARGS3): Likewise.
20449 (ARGS4): Likewise.
20450 (RET1): Likewise.
20451 (RET2): Likewise.
20452 (CALC): Likewise.
20453 (FUNC): Likewise.
20454 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20455 (test_functions): Add lgamma.
20456 (calc_generic_results): Handle mpfr_f_f1.
20457 * sysdeps/i386/fpu/libm-test-ulps: Update.
20458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20459
24eeafdb
AZ
204602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20461
20462 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20463 __mpn_add_n for PowerPC64/POWER7.
20464 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20465 __mpn_sub_n for PowerPC64/POWER7.
20466
4a2c0fd4
AZ
20467 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20468 __mpn_addmul_1 for PowerPC64.
20469 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20470 __mpn_submul_1 for PowerPC64.
20471 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20472 for PowerPC64.
20473 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20474 for PowerPC64.
20475
4b5b548c
FS
204762013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20477
20478 [BZ #15089]
20479 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20480
0a3ac0aa
AZ
204812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20482
20483 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20484
ccdc8438
AZ
20485 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20486 add multiarch folders.
20487 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20488 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20489 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20490 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20491 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20492 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20493 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20494 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20495 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20496 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20497 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20504
2e973d99
AZ
20505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20506 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20508 New file.
20509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20510 New file.
20511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20512 multiarch __ieee754_hypot for PowerPC32.
20513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20514 New file.
20515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20516 New file.
20517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20518 multiarch __ieee754_hypotf for PowerPC32.
20519
2d9470b2
AZ
20520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20521 long_double_symbol only if __logbl is defined.
20522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20523 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20525 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20527 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20528 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20529 path for implementation.
20530 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20531 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20533 logb, and logbl multiarch implementations for PowerPC32.
20534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20535 file.
20536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20537 file.
20538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20539 multiarch logb for PowerPC32.
20540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20541 file.
20542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20543 file.
20544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20545 multiarch logbf for PowerPC32.
20546 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20548 file.
20549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20550 multiarch logbl implementation for PowerPC32.
20551
5212ffce
AZ
20552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20553 and modff multiarch implementations.
20554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20555 New file.
20556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20557 New file.
20558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20559 multiarch modf for PowerPC32.
20560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20561 New file.
20562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20563 New file.
20564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20565 multiarch modff for PowerPC32.
20566
79dccf31
AZ
20567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20568 and lrintf multiarch implementations.
20569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20570 New file.
20571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20572 New file.
20573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20574 multiarch lrint for PowerPC32.
20575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20576 file: multiarch lrintf for PowerPC32.
20577
deb66480
AZ
20578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20579 and lroundf multiarch implementations.
20580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20581 New file.
20582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20583 New file.
20584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20585 New file.
20586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20587 multiarch lround for PowerPC32.
20588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20589 file: multiarch lroundf for PowerPC32.
20590
264b036b
AZ
20591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20592 copysign and copysignf multiarch implementations.
20593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20594 New file.
20595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20596 New file.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20598 file: multiarch copysign for PowerPC32.
20599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20600 file: multiarch copysignf for PowerPC32.
20601
d47db6c9
AZ
20602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20603 and truncf multiarch implementations.
20604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20605 New file.
20606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20607 file.
20608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20609 multiarch trunc for PowerPC32.
20610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20611 New file.
20612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20613 New file.
20614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20615 multiarch truncf for PowerPC32.
20616
ddb60b5a
AZ
20617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20618 and roundf multiarch implementations.
20619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20620 New file.
20621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20622 file.
20623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20624 multiarch round for PowerPC32.
20625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20626 New file.
20627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20628 New file.
20629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20630 multiarch roundf for PowerPC32.
20631
bedcf49b
AZ
20632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20633 and floorf multiarch implementations.
20634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20635 New file.
20636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20637 file.
20638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20639 multiarch floor for PowerPC32.
20640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20641 New file.
20642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20643 New file.
20644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20645 multiarch floorf for PowerPC32.
20646
35ae5b40
AZ
20647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20648 and ceilf multiarch implementations.
20649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20650 New file.
20651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20652 file.
20653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20654 multiarch ceil for PowerPC32.
20655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20656 New file.
20657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20658 file.
20659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20660 multiarch ceilf for PowerPC32.
20661
ae1a4cd9
AZ
20662 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20663 is defined.
20664 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20665 FINITEF is defined.
20666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20667 and finitef multiarch implementations.
20668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20669 New file.
20670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20671 file.
20672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20673 multiarch finite for PowerPC32.
20674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20675 New file.
20676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20677 file: multiarch finitef for PowerPC32.
20678
64fffd65
AZ
20679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20680 and isinff multiarch implementations.
20681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20682 file.
20683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20684 file.
20685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20686 multiarch isinf for PowerPC32.
20687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20688 New file.
20689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20690 multiarch isinff for PowerPC32.
20691
8e4e7ba2
AZ
20692 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20693 alias when __isnan is defined.
20694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20695 and isnanf multiarch implementations.
20696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20697 file.
20698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20699 file.
20700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20701 file.
20702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20703 file.
20704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20705 multiarch isnan for PowerPC32.
20706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20707 New file.
20708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20709 New file.
20710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20711 multiarch isnanf for PowerPC32.
20712
ddba588e
AZ
20713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20714 and sqrtf multiarch implementations.
20715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20716 file.
20717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20718 file.
20719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20720 multiarch sqrt for PowerPC32.
20721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20722 file.
20723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20724 file.
20725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20726 multiarch sqrtf for PowerPC32.
20727
0f96a2f0
AZ
20728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20729 and llroundf multiarch implementations.
20730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20731 New file.
20732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20733 New file.
20734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20735 New file.
20736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20737 file: multiarch llround for PowerPC32.
20738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20739 file: multiarch llroundf for PowerPC32.
20740
c9b5d79e
AZ
20741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20742 multiarch PowerPC32 fpu implementations.
20743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20744 New file.
20745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20746 New file.
20747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20748 multiarch llrint for PowerPC32.
20749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20750 New file.
20751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20752 New file.
20753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20754 file.
20755
9cbb3aab
AZ
20756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20757
ea5a72f8
AZ
20758 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20759 file.
20760 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20761 file.
20762 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20763 file.
20764 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20765 multiarch wordcopy for PPC32.
20766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20767 wordcopy objects.
20768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20769 (__libc_ifunc_impl_list): Likewise.
20770 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20771 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20772 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20773 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20774 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20775 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20776
93be09e7
AZ
20777 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20779 file.
20780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20781 file.
20782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20783 file.
20784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20785 multiarch wcscpy for PPC32.
20786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20787 multiarch objects.
20788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20789 (__libc_ifunc_impl_list): Likewise.
20790 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20791 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20792 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20793 sysdeps/powerpc/power6/wcscpy.c.
20794
bb04e529
AZ
20795 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20797 file.
20798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20799 file.
20800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20801 file.
20802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20803 multiarch wcsrchr for PPC32.
20804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20805 multiarch objects.
20806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20807 (__libc_ifunc_impl_list): Likewise.
20808 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20809 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20810 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20811 sysdeps/powerpc/power6/wcsrchr.c.
20812
05b5cd1c
AZ
20813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20814 file.
20815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20816 file.
20817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20819 multiarch wcschr for PPc32.
20820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20821 multiarch objects.
20822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20823 (__libc_ifunc_impl_list): Likewise.
20824 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20825 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20826 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20827 sysdeps/powerpc/power6/wcschr.c.
20828
ba964147
AZ
20829 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20830 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20831 file.
20832 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20833 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20834 file: multiarch strchr for PPC32.
20835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20836 multiarch objects.
20837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20838 (__libc_ifunc_impl_list): Likewise.
20839
31c81aaa
AZ
20840 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20841 name.
20842 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20843 file.
20844 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20845 file.
20846 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20847 multiarch strchrnul for PPC32.
20848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20849 multiarch objects.
20850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20851 (__libc_ifunc_impl_list): Likewise.
20852
0d0607d9
AZ
20853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20854 file.
20855 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20856 multiarch strncasecmp for PPC32.
20857 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20858 file.
20859 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20860 multiarch strncasecmp_l for PPC32.
20861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20862 strncasecmp multiarch objects.
20863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20864 (__libc_ifunc_impl_list): Likewise.
20865
4dfd5c86
AZ
20866 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20867 file.
20868 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20869 multiarch strncasecmp for PPC32.
20870 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20871 New file.
20872 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20873 multiarch strcasecmp_l for PPC32.
20874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20875 multiarch objects.
20876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20877 (__libc_ifunc_impl_list): Likewise.
20878
a19e01a3
AZ
20879 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20880 file.
20881 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20882 file.
20883 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20884 multiarch strncmp for PPC32.
20885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20886 multiarch objects.
20887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20888 (__libc_ifunc_impl_list): Likewise.
20889
ae9cf7a2
AZ
20890 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20891 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20892 file.
20893 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20894 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20896 multiarch objects.
20897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20898 (__libc_ifunc_impl_list): Likewise.
20899
3148bb7d
AZ
20900 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20901 file.
20902 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20903 file.
20904 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20906 multiarch objects.
20907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20908 (__libc_ifunc_impl_list): Likewise.
20909
7af8b946
AZ
20910 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20911 file.
20912 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20913 file.
20914 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20915 multiarch rawmemchr for PPC32.
20916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20917 multiarch objects.
20918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20919 (__libc_ifunc_impl_list): Likewise.
20920
03a6aa6a
AZ
20921 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20922 file.
20923 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20924 file.
20925 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20926 file: memrchr multiarch for PPC32.
20927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20928 multiarch objects.
20929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20930 (__libc_ifunc_impl_list): Likewise.
20931
1c62e6d9
AZ
20932 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20933 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20934 file.
20935 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20936 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20937 multiarch memchr for PPC32.
20938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20939 multiarch objects.
20940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20941 (__libc_ifunc_impl_list): Likewise.
20942
87da8bdb
AZ
20943 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20944 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20945 file.
20946 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20947 file.
20948 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20949 file: multiarch mempcpy for PPC32.
20950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20951 multiarch objects.
20952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20953 (__libc_ifunc_impl_list): Likewise.
20954
20ed4714
AZ
20955 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20956 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20957 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20958 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20959 multiarch bzero for PPC32.
20960 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20961 file.
20962 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20963 file.
20964 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20965 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20966 file: multiarch memset for PPC32.
20967 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20969 memset multiarch objects.
20970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20971 (__libc_ifunc_impl_list): Likewise.
20972
ab3e3a46
AZ
20973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20974 file.
20975 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20977 memcmp for PPC32.
20978 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20980 multiarch objects.
20981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20982 (__libc_ifunc_impl_list): Likewise.
20983
930de6f0
AZ
20984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20987 file.
20988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20989 file.
20990 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20991 file.
20992 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20993 multiarch memcpy for PPC32.
20994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20995 multiarch objects.
20996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20997 (__libc_ifunc_impl_list): Likewise.
20998
4c628e00
AZ
20999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21000 support multiarch for POWER/PPC32.
21001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21002 Likewise.
21003 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21005 Implies file to make multiarch folder appers before the fpu and
21006 default folder for power4 configuration.
21007
f4479220
SP
210082013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21009
21010 * scripts/bench.pl: Append volatile keyword to type.
21011
8517800f
KK
210122013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21013
21014 * sysdeps/sh/sotruss-lib.c: New file.
21015 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21016
180138f1
AZ
210172013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21018
21019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21020
bbf37bdc
JM
210212013-12-05 Joseph Myers <joseph@codesourcery.com>
21022
e47cc4e0
JM
21023 [BZ #6810]
21024 * math/w_tgamma.c: Include <errno.h>.
21025 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21026 * math/w_tgammaf.c: Include <errno.h>.
21027 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21028 * math/w_tgammal.c: Include <errno.h>.
21029 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21030 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21031 underflow. Add more tgamma tests.
21032 * math/auto-libm-test-out: Regenerated.
21033 * sysdeps/i386/fpu/libm-test-ulps: Update.
21034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21035
bbf37bdc
JM
21036 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21037 sin, sinh, tan, tanh, tgamma, y0 and y1.
21038 * math/auto-libm-test-out: Regenerated.
21039 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21040 (TEST_COND_x86): Likewise.
21041 (M_E2l): Remove macro.
21042 (M_E3l): Likewise.
21043 (M_2_SQRT_PIl): Likewise.
21044 (M_SQRT_PIl): Likewise.
21045 (M_1_DIV_El): Likewise.
21046 (log_test_data): Use AUTO_TESTS_f_f.
21047 (log10_test_data): Likewise.
21048 (log1p_test_data): Likewise.
21049 (log2_test_data): Likewise.
21050 (sin_test_data): Likewise.
21051 (sin_tonearest_test_data): Likewise.
21052 (sin_towardzero_test_data): Likewise.
21053 (sin_downward_test_data): Likewise.
21054 (sin_upward_test_data): Likewise.
21055 (sinh_test_data): Likewise.
21056 (sinh_tonearest_test_data): Likewise.
21057 (sinh_towardzero_test_data): Likewise.
21058 (sinh_downward_test_data): Likewise.
21059 (sinh_upward_test_data): Likewise.
21060 (tan_test_data): Likewise.
21061 (tan_tonearest_test_data): Likewise.
21062 (tan_towardzero_test_data): Likewise.
21063 (tan_downward_test_data): Likewise.
21064 (tan_upward_test_data): Likewise.
21065 (tanh_test_data): Likewise.
21066 (tgamma_test_data): Likewise.
21067 (y0_test_data): Likewise.
21068 (y1_test_data): Likewise.
21069 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21070 (special_real_inputs): Add pi/4.
21071 * sysdeps/i386/fpu/libm-test-ulps: Update.
21072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21073
eb5ad6b9
AZ
210742013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21075
21076 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21077 "longjmp_target" static probes.
21078 (__longjmp): Rename to __longjmp_symbol.
21079 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21080 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21081 on which longjmp to generate.
21082 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21083 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21084 probe.
21085 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21086 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21087 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21088 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21089 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21090 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21092 __longjmp_symbol based on which __longjmp to generate.
21093 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21094 probe.
21095 (setjmp): Rename to setjmp_symbol.
21096 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21097 (_setjmp): Rename to _setjmp_symbol.
21098 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21099 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21100 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21101 which setjmp to generate.
21102 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21103 "longjmp_target" static probes.
21104
d136c6dc
SP
211052013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21106
9298ecba
SP
21107 * benchtests/README: Add note about output arguments.
21108 * benchtests/bench-sincos.c: Remove file.
21109 * benchtests/sincos-inputs: New file.
21110 * scripts/bench.pl: Identify output arguments and define
21111 static variables for them.
21112
232983e9
SP
21113 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21114
d136c6dc
SP
21115 [BZ #15941]
21116 * Makefile (INSTALL): Add install-plain.texi as the primary
21117 dependency.
21118 * manual/install-plain.texi: New file.
21119 * manual/install.texi: Include node directive only for
21120 non-plaintext output.
21121
699ff837
JM
211222013-12-04 Joseph Myers <joseph@codesourcery.com>
21123
ab07cea8
JM
21124 * stdlib/longlong.h: Update from GCC.
21125
699ff837
JM
21126 [BZ #6807]
21127 [BZ #15901]
21128 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21129 * math/w_j0f.c (y0f): Likewise.
21130 * math/w_j0l.c (__y0l): Likewise.
21131 * math/w_j1.c (y1): Likewise.
21132 * math/w_j1f.c (y1f): Likewise.
21133 * math/w_j1l.c (__y1l): Likewise
21134 * math/w_jn.c (yn): Likewise.
21135 * math/w_jnf.c (ynf): Likewise.
21136 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21137 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21138 value for Bessel function domain errors outside _SVID_ mode.
21139 Adjust sign of return value for yn (negative integer, 0).
21140 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21141 by zero in return for negative x and set sign appropriately for
21142 negative n.
21143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21144 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21145 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21146 expectations in error cases.
21147 (y1_test_data): Likewise.
21148 (yn_test_data): Likewise.
21149 * sysdeps/i386/fpu/libm-test-ulps: Update.
21150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21151
5b118558
UW
211522013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21153
21154 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21155 "64" to "64-v1". Add "64-v2".
21156 (abi-64-options): Rename to ...
21157 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21158 (abi-64-condition): Rename to ...
21159 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21160 (abi-64-ld-soname): Rename to ...
21161 (abi-64-v1-ld-soname): ... this.
21162 (abi-64-v2-options): Define.
21163 (abi-64-v2-condition): Likewise.
21164 (abi-64-v2-ld-soname): Likewise.
21165 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21166 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21170
61cd8fe4
UW
211712013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21172 Alan Modra <amodra@gmail.com>
21173
21174 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21175 New versions for use with the ELFv2 ABI.
21176 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21177 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21178 declaration.
21179 (struct La_ppc64v2_retval): Likewise.
21180 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21181 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21182 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21183 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21184 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21185 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21186 Do not save or restore CR.
21187 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21188 (_dl_profile_resolve): Do no save or restore CR. Support extended
21189 return values for ELFv2 ABI. Fix location of FPR return registers.
21190 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21191 updated values for _CALL_ELF == 2.
21192 (La_regs, La_retval, int_retval): Likewise.
21193
8b8a692c
UW
211942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21195
21196 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21197 (FRAME_MIN_SIZE_PARM): Likewise.
21198 (FRAME_BACKCHAIN): Likewise.
21199 (FRAME_CR_SAVE): Likewise.
21200 (FRAME_LR_SAVE): Likewise.
21201 (FRAME_TOC_SAVE): Likewise.
21202 (FRAME_PARM_SAVE): Likewise.
21203 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21204 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21205 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21206 (call_mcount_parm_offset): New macro.
21207 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21208 (PROF): Use symbolic stack frame offsets.
21209 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21210 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21211 Redefine in terms of FRAME_MIN_SIZE.
21212 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21213 (_dl_profile_resolve): Likewise. Update comment.
21214 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21215 symbols stack frame offsets.
21216 (__sigsetjmp): Likewise.
21217 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21218 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21219 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21220 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21221
21222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21223 (FRAME_BACKCHAIN): Remove.
21224 (FRAME_CR_SAVE): Likewise.
21225 (FRAME_LR_SAVE): Likewise.
21226 (FRAME_COMPILER_DW): Likewise.
21227 (FRAME_LINKER_DW): Likewise.
21228 (FRAME_TOC_SAVE): Likewise.
21229 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21230 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21231 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21232 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21234 (CHECK_SP): Use symbolic stack frame offsets.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21236 zone" instead of caller's parameter save area for temp storage.
21237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21238 Likewise. Also, use symbolic stack frame offsets.
21239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21240 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21241 our own stack frame instead of the caller's.
21242 (__socket): Use symbolic stack frame offsets.
21243
122b66de
UW
212442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21245 Alan Modra <amodra@gmail.com>
21246
21247 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21248 Define.
57f41c40
AS
21249 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21250 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21251 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21252 New function.
21253 (elf_machine_fixup_plt): Call it.
21254 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21255 reloc arguments.
21256 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21257 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21258 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21259 r2 before calling target.
21260
696caf1d
UW
212612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21262 Alan Modra <amodra@gmail.com>
21263
21264 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21265 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21266 versions of macros to support ELFv2 ABI.
21267 (LOCALENTRY): New macro.
21268 (ENTRY, EALIGN): Use it.
21269 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21270 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21271 fall through into ENTRY entry point.
21272 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21273 Only define if _CALL_ELF != 2.
21274
21275 (elf_machine_matches_host): Verify ABI version matches.
21276 (RTLD_START): Use LOCALENTRY.
21277 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21278 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21279 (PLT_ENTRY_WORDS): New macro.
21280 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21281 (elf_machine_runtime_setup): Support ELFv2 ABI.
21282 (elf_machine_fixup_plt): Likewise.
21283 (elf_machine_plt_conflict): Likewise.
21284 (resolve_ifunc): Likewise.
21285 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21286 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21287 Likewise.
21288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21289 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21291 (makecontext): Support ELFv2 ABI.
21292 * elf/elf.h (EF_PPC64_ABI): Define.
21293
d31beafa
UW
212942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21295
57f41c40
AS
21296 * sysdeps/powerpc/powerpc64/sysdep.h
21297 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21298 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21299 (ENTRY) [ASSEMBLER]: ... but instead here ...
21300 (EALIGN) [ASSEMBLER]: ... and here.
21301 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21302 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21303 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21304 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21305 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21306 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21307 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21308 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21310 Use PPC64_LOAD_FUNCPTR.
21311
b525166b
UW
21312 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21313
7ec07d9a
AM
213142013-12-04 Alan Modra <amodra@gmail.com>
21315
21316 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21317 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21318 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21319 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21320
21321 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21322 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21323 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21324 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21325 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21326 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21327
5162e7dd
UW
213282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21329
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21331 (__makecontext): Fix incorrect CFI when backtracing out of
21332 context created via makecontext.
21333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21334 (__setcontext): Fix incorrect CFI during switch to new context.
21335 (__novec_setcontext): Likewise.
21336
19e3372b
OB
213372013-12-04 Ondřej Bílka <neleai@seznam.cz>
21338
21339 [BZ #4772]
21340 * time/strptime_l.c (__strptime_internal): Allow modifiers
21341 in strptime.
21342 * time/tst-strptime.c (day_tests): Add testcase.
21343
ecaf142d
SP
213442013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21345
21346 * scripts/bench.pl: Skip over blank lines.
21347
fbf964ae
PE
213482013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21349
21350 [BZ #926]
21351 * manual/time.texi (Calendar Time): Clarify what timezone functions
21352 use.
21353
fa60a674
AZ
213542013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21355
21356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21357
d674f0ef
OB
213582013-12-04 Ondřej Bílka <neleai@seznam.cz>
21359
21360 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21361 implementation.
21362 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21363 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21364 * debug/memset_chk.c (__memset_chk): Likewise.
21365 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21366 * debug/strncpy_chk.c: Likewise.
21367
17dea188
JM
213682013-12-03 Joseph Myers <joseph@codesourcery.com>
21369
749008ff
JM
21370 [BZ #15268]
21371 [BZ #15425]
21372 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21373 (__ieee754_exp): For possibly underflowing results, check size of
21374 result and force underflow exception if required.
21375 * math/auto-libm-test-in: Add more tests of exp.
21376 * math/auto-libm-test-out: Regenerated.
21377 * sysdeps/i386/fpu/libm-test-ulps: Update.
21378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21379
17dea188
JM
21380 [BZ #16283]
21381 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21382 * math/w_exp2f.c (__exp2f): Likewise.
21383 * math/w_exp2l.c (__exp2l): Likewise.
21384 * math/auto-libm-test-in: Do not allow missing errno on exp2
21385 underflow.
21386 * math/auto-libm-test-out: Regenerated.
21387
b20de2c3
OB
213882013-12-03 Ondřej Bílka <neleai@seznam.cz>
21389
21390 [BZ #16274]
21391 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21392 handle filename validation.
21393 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21394 (do_open): Delete.
21395
d8e2dbe3
JM
213962013-12-03 Joseph Myers <joseph@codesourcery.com>
21397
34e16df5
JM
21398 [BZ #6786]
21399 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21400 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21401 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21402 <float.h>.
21403 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21404 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21405 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21407 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21408 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21409 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21410 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21411 Add more erfc tests.
21412 * math/auto-libm-test-out: Regenerated.
21413 * sysdeps/i386/fpu/libm-test-ulps: Update.
21414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21415
d8e2dbe3
JM
21416 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21417 exp2, expm1, j0 and j1.
21418 * math/auto-libm-test-out: Regenerated.
21419 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21420 (erfc_test_data): Likewise.
21421 (exp_test_data): Likewise.
21422 (exp_tonearest_test_data): Likewise.
21423 (exp_towardzero_test_data): Likewise.
21424 (exp_downward_test_data): Likewise.
21425 (exp_upward_test_data): Likewise.
21426 (exp10_test_data): Likewise.
21427 (exp2_test_data): Likewise.
21428 (expm1_test_data): Likewise.
21429 (j0_test_data): Likewise.
21430 (j1_test_data): Likewise.
21431 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21432 (input_flag_type): Add flag_xfail_rounding.
21433 (input_flags): Add xfail-rounding.
21434 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21435 (output_for_one_input_case): Handle flag_xfail_rounding.
21436 * sysdeps/i386/fpu/libm-test-ulps: Update.
21437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21438
18d14251
AJ
214392013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21440
3d2e6075 21441 [BZ #16289]
18d14251
AJ
21442 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21443 division by 0.
21444
520d437b
SP
214452013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21446
21447 [BZ #16195]
21448 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21449 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21450 (STAP_PROBE0): New macro.
21451 (STAP_PROBE1): Likewise.
21452 (STAP_PROBE2): Likewise.
21453 (STAP_PROBE3): Likewise.
21454 (STAP_PROBE4): Likewise.
21455
416e0145
OB
214562013-12-02 Ondřej Bílka <neleai@seznam.cz>
21457
21458 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21459
9d17796a
SE
214602013-12-02 Steve Ellcey <sellcey@mips.com>
21461
21462 * benchtests/Makefile (bench): Add sqrt.
21463 (LDLIBS-bench-sqrt): New.
21464 * benchtests/sqrt-input: New.
21465
f524d6a8
PS
214662013-12-02 Pavel Simerda <psimerda@redhat.com>
21467
639a0ef8
PS
21468 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21469 (GAIH_EAI): Likewise.
21470 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21471 (gaih_inet): Likewise.
21472 (getaddrinfo): Don't use GAIH_EAI.
21473
f524d6a8
PS
21474 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21475 (struct gaih): Remove definition.
21476
df3aedaf
SP
214772013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21478
21479 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21480 Use HERRNOP directly.
21481
1ab19dec
AZ
214822013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21483
b42ad38d 21484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21485
176b0c79
JM
214862013-11-30 Joseph Myers <joseph@codesourcery.com>
21487
21488 * math/gen-auto-libm-tests.c (test_functions): Add more
21489 single-argument functions.
21490 (special_fill_pi_2): New function.
21491 (special_fill_minus_pi_2): Likewise.
21492 (special_fill_pi_6): Likewise.
21493 (special_fill_minus_pi_6): Likewise.
21494 (special_fill_pi_3): Likewise.
21495 (special_fill_2pi_3): Likewise.
21496 (special_fill_e): Likewise.
21497 (special_fill_1_e): Likewise.
21498 (special_fill_e_minus_1): Likewise.
21499 (special_real_inputs): Add more special inputs.
21500 (output_for_one_input_case): Do not require ERANGE on underflow to
21501 zero if round-to-nearest result does not underflow to zero, unless
21502 exact results required.
21503 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21504 atan, atanh, cbrt, cos and cosh.
21505 * math/auto-libm-test-out: Regenerated.
21506 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21507 (acos_tonearest_test_data): Likewise.
21508 (acos_towardzero_test_data): Likewise.
21509 (acos_downward_test_data): Likewise.
21510 (acos_upward_test_data): Likewise.
21511 (acosh_test_data): Likewise.
21512 (asin_test_data): Likewise.
21513 (asin_tonearest_test_data): Likewise.
21514 (asin_towardzero_test_data): Likewise.
21515 (asin_upward_test_data): Likewise.
21516 (asinh_test_data): Likewise.
21517 (atan_test_data): Likewise.
21518 (atanh_test_data): Likewise.
21519 (cbrt_test_data): Likewise.
21520 (cos_test_data): Likewise.
21521 (cos_tonearest_test_data): Likewise.
21522 (cos_towardzero_test_data): Likewise.
21523 (cos_downward_test_data): Likewise.
21524 (cos_upward_test_data): Likewise.
21525 (cosh_test_data): Likewise.
21526 (cosh_tonearest_test_data): Likewise.
21527 (cosh_towardzero_test_data): Likewise.
21528 (cosh_downward_test_data): Likewise.
21529 (cosh_upward_test_data): Likewise.
21530 * sysdeps/i386/fpu/libm-test-ulps: Update.
21531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21532
ffb536d0
JM
215332013-11-29 Joseph Myers <joseph@codesourcery.com>
21534
2a77a467
JM
21535 [BZ #6787]
21536 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21537 * math/w_exp10f.c (__exp10f): Likewise.
21538 * math/w_exp10l.c (__exp10l): Likewise.
21539 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21540 errno settings in existing tests.
21541
ea3bc4e8
JM
21542 [BZ #14032]
21543 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21544 precision control set to double precision.
21545 * sysdeps/i386/fpu/w_sqrt.c: New file.
21546 * math/auto-libm-test-in: Add more tests.
21547 * math/auto-libm-test-out: Update.
21548
0712c9d8
JM
21549 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21550 (sqrt_test_tonearest): New function.
21551 (sqrt_towardzero_test_data): New variable.
21552 (sqrt_test_towardzero): New function.
21553 (sqrt_downward_test_data): New variable.
21554 (sqrt_test_downward): New function.
21555 (sqrt_upward_test_data): New variable.
21556 (sqrt_test_upward): New function.
21557 (main): Call the new functions.
21558
ffb536d0
JM
21559 * math/gen-auto-libm-tests.c: New file.
21560 * math/auto-libm-test-in: Likewise.
21561 * math/auto-libm-test-out: New generated file.
21562 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21563 variables.
21564 (%beautify): Add generated representations of zero.
21565 (top level): Set $auto_input and call parse_auto_input.
21566 (beautify): Remove trailing "f" from hex float constants.
21567 (parse_args): Handle XFAIL_TEST.
21568 (convert_condition): New function.
21569 (or_value): Likewise.
21570 (or_cond_value): Likewise.
21571 (generate_testfile): Handle AUTO_TESTS_* lines.
21572 (parse_auto_input): New function.
21573 * math/libm-test.inc (XFAIL_TEST): New macro.
21574 (ERRNO_UNCHANGED): Update value.
21575 (ERRNO_EDOM): Likewise.
21576 (ERRNO_ERANGE): Likewise.
21577 (IGNORE_RESULT): Likewise.
21578 (TEST_COND_flt_32): New macro.
21579 (TEST_COND_dbl_64): Likewise.
21580 (TEST_COND_ldbl_96_intel): Likewise.
21581 (TEST_COND_ldbl_96_m68k): Likewise.
21582 (TEST_COND_ldbl_128): Likewise.
21583 (TEST_COND_ldbl_128ibm): Likewise.
21584 (TEST_COND_long32): Likewise.
21585 (TEST_COND_long64): Likewise.
21586 (TEST_COND_before_rounding): Likewise.
21587 (TEST_COND_after_rounding): Likewise.
21588 (enable_test): Handle XFAIL_TEST flag.
21589 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21590 with finite results.
21591 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21592 auto-libm-test-out.
21593
acd98a8e
AK
215942013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21595 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21596
21597 [BZ #16214]
21598 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21599 __tls_get_addr_internal instead of __tls_get_offset in order to
21600 avoid GOT pointer dependency. Make rtld export
21601 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21602 __tls_get_addr since we are a __tls_get_offset platform.
21603 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21604 GOT pointer being set up before.
21605 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21606
3c1c46a6
JM
216072013-11-28 Joseph Myers <joseph@codesourcery.com>
21608
7475aef5
JM
21609 * manual/math.texi (Errors in Math Functions): Document accuracy
21610 goals.
21611
8bca7cd8
JM
21612 [BZ #15004]
21613 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21614 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21617 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21619 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21623 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21624 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21625 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21629
91a1f3fe
JM
21630 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21631 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21632 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21633 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21634 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21635 Likewise.
21636 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21637 Likewise.
21638 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21639 Likewise.
21640 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21641 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21642 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21643 atomic-feupdateenv and flt-rounds.
21644 * sysdeps/powerpc/nofpu/Versions (libc): Add
21645 __atomic_feholdexcept, __atomic_feclearexcept,
21646 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21647 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21648 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21649 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21650 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21651 here.
21652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21653 Update.
21654
c5df7609
JM
21655 * manual/arith.texi (FP Exceptions): Document that exceptions may
21656 not be raised when matherr is used.
21657 (Math Error Reporting): Document overflow in directed rounding
21658 modes. Document that errno may not be set when finite values are
21659 returned on overflow. Document intent to set errno on underflow
21660 only for underflow to zero.
21661
3c1c46a6
JM
21662 [BZ #16271]
21663 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21664 round-to-nearest then adjust result for other rounding modes.
21665 * include/fenv.h (fegetround): Use libm_hidden_proto.
21666 * math/fegetround.c (fegetround): Use libm_hidden_def.
21667 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21668 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21669 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21670 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21671 Likewise.
21672 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21673 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21674 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21675 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21676
5a4c6d53
SP
216772013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21678
21679 [BZ #16077]
21680 * nss/Versions (libnss_files): Add
21681 _nss_files_gethostbyname3_r.
21682 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21683 New function.
21684 (HOST_DB_LOOKUP): Remove macro.
21685 (_nss_files_gethostbyname_r): Implement function without the
21686 HOST_DB_LOOKUP macro.
21687 (_nss_files_gethostbyname2_r): Likewise.
21688
897b98ba
OB
216892013-11-28 Ondřej Bílka <neleai@seznam.cz>
21690
21691 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21692
6f476861
UB
216932013-11-26 Uros Bizjak <ubizjak@gmail.com>
21694
21695 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21696 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21697 warning.
21698
bd12ab55
AZ
216992013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21700
21701 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21702 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21703 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21704 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21705 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21706 __fe_nomask_env_priv and attribute_hidden.
21707 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21708 (libc_feupdateenv_test_ppc): Likewise.
21709 (libc_feresetround_ppc): Likewise.
21710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21711 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21712 compat_symbol macro.
21713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21714 (__fe_nomask_env): Likewise.
21715 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21716
52bb6543
OB
217172013-11-26 Ondřej Bílka <neleai@seznam.cz>
21718
21719 * string/Makefile: Remove ifunc tests.
21720 * string/test-string.h: Define TEST_IFUNC.
21721 * string/test-bcopy-ifunc.c: Remove.
21722 * string/test-bzero-ifunc.c: Likewise.
21723 * string/test-memccpy-ifunc.c: Likewise.
21724 * string/test-memchr-ifunc.c: Likewise.
21725 * string/test-memcmp-ifunc.c: Likewise.
21726 * string/test-memcpy-ifunc.c: Likewise.
21727 * string/test-memmem-ifunc.c: Likewise.
21728 * string/test-memmove-ifunc.c: Likewise.
21729 * string/test-mempcpy-ifunc.c: Likewise.
21730 * string/test-memrchr-ifunc.c: Likewise.
21731 * string/test-memset-ifunc.c: Likewise.
21732 * string/test-rawmemchr-ifunc.c: Likewise.
21733 * string/test-stpcpy-ifunc.c: Likewise.
21734 * string/test-stpncpy-ifunc.c: Likewise.
21735 * string/test-strcasecmp-ifunc.c: Likewise.
21736 * string/test-strcasestr-ifunc.c: Likewise.
21737 * string/test-strcat-ifunc.c: Likewise.
21738 * string/test-strchr-ifunc.c: Likewise.
21739 * string/test-strchrnul-ifunc.c: Likewise.
21740 * string/test-strcmp-ifunc.c: Likewise.
21741 * string/test-strcpy-ifunc.c: Likewise.
21742 * string/test-strcspn-ifunc.c: Likewise.
21743 * string/test-strlen-ifunc.c: Likewise.
21744 * string/test-strncasecmp-ifunc.c: Likewise.
21745 * string/test-strncat-ifunc.c: Likewise.
21746 * string/test-strncmp-ifunc.c: Likewise.
21747 * string/test-strncpy-ifunc.c: Likewise.
21748 * string/test-strnlen-ifunc.c: Likewise.
21749 * string/test-strpbrk-ifunc.c: Likewise.
21750 * string/test-strrchr-ifunc.c: Likewise.
21751 * string/test-strspn-ifunc.c: Likewise.
21752 * string/test-strstr-ifunc.c: Likewise.
21753
ab260039 217542013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21755
21756 * benchtests/Makefile: Remove ifunc tests.
21757 * benchtests/bench-string.h: Define TEST_IFUNC.
21758 * benchtests/bench-bcopy-ifunc.c: Remove.
21759 * benchtests/bench-bzero-ifunc.c: Likewise.
21760 * benchtests/bench-memccpy-ifunc.c: Likewise.
21761 * benchtests/bench-memchr-ifunc.c: Likewise.
21762 * benchtests/bench-memcmp-ifunc.c: Likewise.
21763 * benchtests/bench-memcpy-ifunc.c: Likewise.
21764 * benchtests/bench-memmem-ifunc.c: Likewise.
21765 * benchtests/bench-memmove-ifunc.c: Likewise.
21766 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21767 * benchtests/bench-memrchr-ifunc.c: Likewise.
21768 * benchtests/bench-memset-ifunc.c: Likewise.
21769 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21770 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21771 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21772 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21773 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21774 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21775 * benchtests/bench-strcat-ifunc.c: Likewise.
21776 * benchtests/bench-strchr-ifunc.c: Likewise.
21777 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21778 * benchtests/bench-strcmp-ifunc.c: Likewise.
21779 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21780 * benchtests/bench-strcpy-ifunc.c: Likewise.
21781 * benchtests/bench-strcspn-ifunc.c: Likewise.
21782 * benchtests/bench-strlen-ifunc.c: Likewise.
21783 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21784 * benchtests/bench-strncat-ifunc.c: Likewise.
21785 * benchtests/bench-strncmp-ifunc.c: Likewise.
21786 * benchtests/bench-strncpy-ifunc.c: Likewise.
21787 * benchtests/bench-strnlen-ifunc.c: Likewise.
21788 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21789 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21790 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21791 * benchtests/bench-strspn-ifunc.c: Likewise.
21792 * benchtests/bench-strstr-ifunc.c: Likewise.
21793
217942013-11-26 Ondřej Bílka <neleai@seznam.cz>
21795
ab260039
OB
21796 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21797
d1d9eaf4 217982013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21799
d1d9eaf4
OB
21800 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21801 * rt/aio.h: Likewise.
21802 * sysdeps/gnu/bits/utmp.h: Likewise.
21803 * sysdeps/gnu/bits/utmpx.h: Likewise.
21804 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21805 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21806 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21807 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21808 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21809 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21810 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21811 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21812 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21813 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21814 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21815 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21816 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21818 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21819 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21820 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21821 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21822 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21823 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21824 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21825 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21826 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21827 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21828 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21830 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21831 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21832 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21833 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21834 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21835 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21836 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21837 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21838 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21839 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21840 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21841 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21842 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21843 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21844 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21845 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21846
a7624ed9
CD
218472013-11-25 Carlos O'Donell <carlos@redhat.com>
21848
21849 [BZ #16245]
21850 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21851 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21852
63cfe52b
JM
218532013-11-25 Joseph Myers <joseph@codesourcery.com>
21854
21855 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21856 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21857 Likewise.
21858
41e8926a
AZ
218592013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21860
21861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21862 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21863 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21864 (__fesetround): Remove define.
21865 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21866 rounding and exceptions handling.
21867 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21868 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21869 (__fe_nomask_env): Likewise.
21870 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21871 __fegetround instead of fegetround.
21872 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21873 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21874
6851bd4d
RM
218752013-11-21 Roland McGrath <roland@hack.frob.com>
21876
070906ff
RM
21877 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21878 it's there.
21879
6851bd4d
RM
21880 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21881
84ae135d
MI
218822013-11-21 Meador Inge <meadori@codesourcery.com>
21883
21884 [BZ #11157]
21885 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21886 (encrypt_r): Likewise.
21887 * malloc/obstack.h (obstack_free): Likewise.
21888 * posix/unistd.h (encrypt): Likewise.
21889
daf75146
GM
218902013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21891
21892 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21893 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21894 DL_CALL_DT_FINI() that call the functions directly.
21895 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21896 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21897 * elf/dl-fini.c: Likewise.
21898
10ad46bc
OB
218992013-11-20 Ondřej Bílka <neleai@seznam.cz>
21900
21901 * malloc/hooks.c (memalign_check): Add alignment rounding.
21902 * malloc/malloc.c (_mid_memalign): New function.
21903 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21904 Implement by calling _mid_memalign.
21905 * manual/probes.texi (Memory Allocation Probes): Remove
21906 memory_valloc_retry and memory_pvalloc_retry.
21907
f3fd2628
SP
219082013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21909
4712799f
SP
21910 * locale/programs/locarchive.c (open_archive): Add const
21911 qualifier to ARCHIVEFNAME and copy default fname to
21912 DEFAULT_FNAME.
21913
0417b20f
SP
21914 [BZ #15601]
21915 * libio/tst-widetext.input: Rename Oriya to Odia.
21916 * locale/iso-639.def: Likewise.
21917
f3fd2628
SP
21918 * manual/probes.texi (Mathematical Function Probes): Add
21919 documentation for sin, cos, asin and acos probes.
21920 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21921 (__sin32): Add slowasin probe.
21922 (__cos32): Add slowacos probe.
21923 (__mpsin): Add slowsin probe.
21924 (__mpcos): Add slowcos probe.
21925
73c1ce4f
JM
219262013-11-19 Joseph Myers <joseph@codesourcery.com>
21927
21928 [BZ #15483]
21929 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21930 thread-local __sim_exceptions_thread and global
21931 __sim_exceptions_global.
21932 (__sim_disabled_exceptions): Change to thread-local
21933 __sim_disabled_exceptions_thread and global
21934 __sim_disabled_exceptions_global.
21935 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21936 and global __sim_round_mode_global.
21937 (__simulate_exceptions): Use thread-local floating-point state and
21938 set global state from it as needed.
21939 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21940 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21941 __sim_round_mode_thread.
21942 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21943 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21944 and global __sim_exceptions_global.
21945 (__sim_disabled_exceptions): Change to thread-local
21946 __sim_disabled_exceptions_thread and global
21947 __sim_disabled_exceptions_global.
21948 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21949 and global __sim_round_mode_global.
21950 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21951 (SIM_SET_GLOBAL): Likewise.
21952 * sysdeps/powerpc/soft-fp/sfp-machine.h
21953 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21954 __sim_round_mode_thread.
21955 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21956 __sim_disabled_exceptions_thread.
21957 (__sim_exceptions): Change to __sim_exceptions_thread.
21958 (__sim_disabled_exceptions): Change to
21959 __sim_disabled_exceptions_thread.
21960 (__sim_round_mode): Change to __sim_round_mode_thread.
21961 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21962 thread-local floating-point state and set global state from it as
21963 needed.
21964 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21965 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21966 (__sim_disabled_exceptions): Remove extern declaration.
21967 (feenableexcept): Use thread-local floating-point state and set
21968 global state from it as needed.
21969 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21970 extern declaration.
21971 (__sim_disabled_exceptions): Likewise.
21972 (__sim_round_mode): Likewise.
21973 (__fegetenv): Use thread-local floating-point state.
21974 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21975 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21976 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21977 floating-point state and set global state from it as needed.
21978 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21979 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21980 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21981 Likewise.
21982 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21983 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21984 Likewise.
21985 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21986 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21987 Use __sim_round_mode_thread.
21988 * math/test-fenv-tls.c: New file.
21989 * math/Makefile (tests): Add test-fenv-tls.
21990 ($(objpfx)test-fenv-tls): Depend on
21991 $(common-objpfx)nptl/libpthread.so.
21992
b5449b12
AS
219932013-11-19 Andreas Schwab <schwab@suse.de>
21994
21995 * locale/programs/locale.c (show_info): Decode wordarray elements.
21996 * locale/categories.def (LC_MONETARY): Add element for
21997 _NL_MONETARY_CRNCYSTR.
21998 * locale/C-monetary.c (conversion_rate): New variable.
21999 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22000 element.
22001
e186536b
CM
220022013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22003
22004 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22005 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22006
5c349950
PP
220072013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22008
22009 * elf/Makefile (tst-auxv): New test.
22010 * elf/tst-auxv.c: New
22011 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22012
699df45b
JM
220132013-11-18 Joseph Myers <joseph@codesourcery.com>
22014
22015 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22016 (hidden_proto): Caller changed.
22017 (hidden_tls_proto): New macro.
22018 (libc_hidden_tls_proto): Likewise.
22019 (rtld_hidden_tls_proto): Likewise.
22020 (libm_hidden_tls_proto): Likewise.
22021 (libresolv_hidden_tls_proto): Likewise.
22022 (librt_hidden_tls_proto): Likewise.
22023 (libdl_hidden_tls_proto): Likewise.
22024 (libnss_files_hidden_tls_proto): Likewise.
22025 (libnsl_hidden_tls_proto): Likewise.
22026 (libnss_nisplus_hidden_tls_proto): Likewise.
22027 (libutil_hidden_tls_proto): Likewise.
22028
b7589107
OB
220292013-11-18 Ondřej Bílka <neleai@seznam.cz>
22030
22031 [BZ #10253]
22032 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22033 (decompose_rpath): Defer expansion to fillin_rpath.
22034 (_dl_init_paths): Pass linkmap to fillin_rpath.
22035
250c23bd
RS
220362013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22037
22038 * benchtests/Makefile: Add strsep.
22039 * benchtests/bench-strsep.c: New file: strsep benchtest.
22040 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22041
a7931fcf
AS
220422013-11-18 Andreas Schwab <schwab@suse.de>
22043
22044 * locale/programs/locale.c (show_info) [case byte]: Check for
22045 '\377' instead of '\177'.
22046 * locale/C-monetary.c (not_available): Always use "\377".
22047 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22048 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22049 detect unavailable sign_posn locale elements.
22050 * locale/localeconv.c (__localeconv): For grouping and
22051 mon_grouping handle "\177" and "\377" like no grouping.
22052 (INT_ELEM): New macro. Use it to set all numeric members.
22053 * locale/programs/ld-monetary.c (monetary_read)
22054 <tok_mon_grouping>: Normalize single -1 to the empty string.
22055 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22056 Likewise.
22057
728dab0e
OB
220582013-11-07 Ondřej Bílka <neleai@seznam.cz>
22059
22060 [BZ #16055]
22061 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22062 when we match (nil).
22063 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22064
66294491
JM
220652013-11-16 Joseph Myers <joseph@codesourcery.com>
22066
ce665817
JM
22067 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22068 (NO_TEST_INLINE): Update value.
22069 (ERRNO_UNCHANGED): Likewise.
22070 (ERRNO_EDOM): Likewise.
22071 (ERRNO_ERANGE): Likewise.
22072 (IGNORE_RESULT): Likewise.
22073 (check_float_internal): Check signs of NaN results if
22074 TEST_NAN_SIGN used.
22075 (check_complex): Pass TEST_NAN_SIGN flag through to second
22076 check_float_internal call.
22077 (copysign_test_data): Add tests with quiet NaNs as second
22078 argument. Use TEST_NAN_SIGN.
22079 (fabs_test_data): Add test of negative quiet NaN argument. Use
22080 TEST_NAN_SIGN.
22081 (signbit_test_data): Add tests of quiet NaN argument.
22082 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22083
ee1466a9
JM
22084 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22085 $ignore_result.
22086 (parse_args): Handle function results specified as IGNORE.
22087 * math/libm-test.inc (IGNORE_RESULT): New macro.
22088 (check_float_internal): Do not check numerical result if flag
22089 IGNORE_RESULT set.
22090 (check_complex): Pass through IGNORE_RESULT to second
22091 check_float_internal call.
22092 (check_int): Do not check numerical result if flag IGNORE_RESULT
22093 set.
22094 (check_long): Likewise.
22095 (check_bool): Likewise.
22096 (check_longlong): Likewise.
22097 (lrint_test_data): Add tests of infinite and NaN arguments.
22098 (lrint_tonearest_test_data): Likewise.
22099 (lrint_towardzero_test_data): Likewise.
22100 (lrint_downward_test_data): Likewise.
22101 (lrint_upward_test_data): Likewise.
22102 (llrint_test_data): Likewise.
22103 (llrint_tonearest_test_data): Likewise.
22104 (llrint_towardzero_test_data): Likewise.
22105 (llrint_downward_test_data): Likewise.
22106 (llrint_upward_test_data): Likewise.
22107 (lround_test_data): Likewise.
22108 (llround_test_data): Likewise.
22109
14407b7e
JM
22110 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22111 (ERRNO_UNCHANGED): Update value.
22112 (ERRNO_EDOM): Likewise.
22113 (ERRNO_ERANGE): Likewise.
22114 (NO_TEST_INLINE_FLOAT): New macro.
22115 (NO_TEST_INLINE_DOUBLE): Likewise.
22116 (enable_test): New function.
22117 (RUN_TEST_f_f): Check enable_test before running test.
22118 (RUN_TEST_2_f): Likewise.
22119 (RUN_TEST_fff_f): Likewise.
22120 (RUN_TEST_c_f): Likewise.
22121 (RUN_TEST_f_f1): Likewise.
22122 (RUN_TEST_fF_f1): Likewise.
22123 (RUN_TEST_fI_f1): Likewise.
22124 (RUN_TEST_ffI_f1): Likewise.
22125 (RUN_TEST_c_c): Likewise.
22126 (RUN_TEST_cc_c): Likewise.
22127 (RUN_TEST_f_i): Likewise.
22128 (RUN_TEST_f_i_tg): Likewise.
22129 (RUN_TEST_ff_i_tg): Likewise.
22130 (RUN_TEST_f_b): Likewise.
22131 (RUN_TEST_f_b_tg): Likewise.
22132 (RUN_TEST_f_l): Likewise.
22133 (RUN_TEST_f_L): Likewise.
22134 (RUN_TEST_fFF_11): Likewise.
22135 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22136 conditionals.
22137 (cosh_test_data): Likewise.
22138 (exp_test_data): Likewise.
22139 (expm1_test_data): Likewise.
22140 (hypot_test_data): Likewise.
22141 (pow_test_data): Likewise.
22142 (sinh_test_data): Likewise.
22143 (tanh_test_data): Likewise.
22144 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22145 flags argument.
22146
ca07f197
JM
22147 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22148 tests with quiet NaN input and output.
22149 (acosh_test_data): Likewise.
22150 (asin_test_data): Likewise.
22151 (asinh_test_data): Likewise.
22152 (atan_test_data): Likewise.
22153 (atanh_test_data): Likewise.
22154 (atan2_test_data): Likewise.
22155 (cbrt_test_data): Likewise.
22156 (cos_test_data): Likewise.
22157 (cosh_test_data): Likewise.
22158 (erf_test_data): Likewise.
22159 (erfc_test_data): Likewise.
22160 (exp_test_data): Likewise.
22161 (exp10_test_data): Likewise.
22162 (exp2_test_data): Likewise.
22163 (expm1_test_data): Likewise.
22164 (hypot_test_data): Likewise.
22165 (j0_test_data): Likewise.
22166 (j1_test_data): Likewise.
22167 (jn_test_data): Likewise.
22168 (lgamma_test_data): Likewise.
22169 (log_test_data): Likewise.
22170 (log10_test_data): Likewise.
22171 (log1p_test_data): Likewise.
22172 (log2_test_data): Likewise.
22173 (pow_test_data): Likewise.
22174 (scalb_test_data): Likewise.
22175 (sin_test_data): Likewise.
22176 (sincos_test_data): Likewise.
22177 (sinh_test_data): Likewise.
22178 (tan_test_data): Likewise.
22179 (tanh_test_data): Likewise.
22180 (tgamma_test_data): Likewise.
22181 (y0_test_data): Likewise.
22182 (y1_test_data): Likewise.
22183 (yn_test_data): Likewise.
22184
66294491
JM
22185 [BZ #16167]
22186 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22187 argument being NaN and avoid computations with second argument in
22188 that case.
22189 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22190 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22191 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22192
1820b143
CL
221932013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22194
22195 * locale/iso-639.def: Add Chitwani Tharu (the).
22196
714bd261
AS
221972013-11-14 Andreas Schwab <schwab@suse.de>
22198
22199 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22200 word instead of empty string.
22201
7ab44563
AZ
222022013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22203
22204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22205 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22207 (__fe_nomask_env): Likewise.
22208
e8470ea2
SE
222092013-11-13 Steve Ellcey <sellcey@mips.com>
22210
22211 * benchtests/bench-timing.h: Include time.h.
22212
17c1d9f0
L
222132013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22214
22215 [BZ #15997]
22216 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22217 to 3.4.0 for x32.
22218 * sysdeps/unix/sysv/linux/configure: Regenerated.
22219
9310c284
JM
222202013-11-13 Joseph Myers <joseph@codesourcery.com>
22221
22222 [BZ #16151]
22223 * stdlib/strtod_l.c (round_and_return): Do not consider
22224 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22225 exponent one less than half the least subnormal exponent.
22226 * stdlib/test-strtod-round-data: Add more tests.
22227 * stdlib/tst-strtod-round.c (tests): Regenerated.
22228
7a2ad8cf
AZ
222292013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22230
22231 [BZ #14143]
22232 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22233 (__fe_mask_env): Likewise.
22234 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22235 libm_hidden_proto and add function prototype.
22236 (__fe_mask_env): Add function prototype.
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22238 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22240 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22242 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22243
50727aa7
MS
222442013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22245
b2f386c1 22246 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22247 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22248
a615be46
MS
222492013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22250
22251 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22252 of htab_find_slot().
22253
7ddace62
DM
222542013-11-11 David S. Miller <davem@davemloft.net>
22255
22256 [BZ #16150]
22257 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22258 symbol in the non-vis3 case in static builds.
22259 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22260 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22261 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22262 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22263
9182aa67
JK
222642013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22265
22266 [BZ #387]
22267 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22268 it is empty.
22269
450a2e2d
AZ
222702013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22271
b2f386c1
SP
22272 * benchtests/Makefile: Add bench-strtod.
22273 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22274
8ec3f656
AS
222752013-11-11 Andreas Schwab <schwab@suse.de>
22276
22277 [BZ #16153]
22278 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22279 terminating NUL in key length.
22280
76a9b998
AZ
222812013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22282
22283 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22284 Add artificial ODP entry for vDSO symbol for PPC64.
22285 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22286 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22287
e4368156
OB
222882013-11-07 Ondřej Bílka <neleai@seznam.cz>
22289
22290 [BZ #15374]
22291 * nss/getent.c (services_keys): Recognize services starting with digit.
22292
8d6bb57c
DM
222932013-11-06 David S. Miller <davem@davemloft.net>
22294
22295 [BZ #15985]
22296 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22297 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22298
e256c421
WN
222992013-11-06 Will Newton <will.newton@linaro.org>
22300
22301 * manual/memory.texi (Malloc Examples): Remove register
22302 keyword from examples.
22303
f6e12daa 223042013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22305
f6e12daa 22306 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22307
9d880655
AS
223082013-11-04 Joseph Myers <joseph@codesourcery.com>
22309
fd2f9486 22310 [BZ #6981]
9d880655
AS
22311 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22312 depending on [__GCC_IEC_559 > 0].
22313 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22314 depending on [__GCC_IEC_559_COMPLEX > 0].
22315
ae129d3c
CL
223162013-11-03 Chris Leonard <cjl@sugarlabs.org>
22317
22318 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22319 to iso-639.def.
22320
4a15c2a4 223212013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22322
22323 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22324
8b35e35d
OB
223252013-11-01 Ondřej Bílka <neleai@seznam.cz>
22326
22327 [BZ #16112]
22328 * malloc/malloc (malloc_info): Do not handle first bin as
22329 special case.
22330
1d70fd6c
CL
223312013-11-01 Chris Leonard <cjl@sugarlabs.org>
22332
22333 * locale/iso-639.def: Add Central Nahuatl (nhn).
22334
8c5c2600
BH
223352013-11-01 Bruno Haible <bruno@clisp.org>
22336
22337 [BZ #7003]
22338 * manual/math.texi (BSD Random): Specify range upper bound as
22339 in POSIX.
22340
da5579c2
CL
223412013-10-31 Chris Leonard <cjl@sugarlabs.org>
22342
22343 * locale/iso-639.def: Add Meadow Mari (mhr).
22344
5d30d853
OB
223452013-10-31 Ondřej Bílka <neleai@seznam.cz>
22346
22347 [BZ #14752], [BZ #15763]
22348 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22349 Validate name.
22350 * rt/tst_shm.c: Add test for escaping directory.
22351
a4966c61
AS
223522013-10-31 Andreas Schwab <schwab@suse.de>
22353
8a43e768 22354 [BZ #15917]
a4966c61
AS
22355 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22356 followed by 'x' as part of digit sequence.
22357 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22358
28d708c4
MAP
223592013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22360
22361 [BZ #16037]
22362 * configure.ac: allow GNU Make 4.0 and greater.
22363 * configure: Regenerated.
22364
a56ee40b
WN
223652013-10-30 Will Newton <will.newton@linaro.org>
22366
22367 [BZ #16038]
22368 * malloc/hooks.c (memalign_check): Limit alignment to the
22369 maximum representable power of two.
22370 * malloc/malloc.c (__libc_memalign): Likewise.
22371 * malloc/tst-memalign.c (do_test): Add test for very
22372 large alignment values.
22373 * malloc/tst-posix_memalign.c (do_test): Likewise.
22374
c6e4925d
OB
223752013-10-30 Ondřej Bílka <neleai@seznam.cz>
22376
22377 [BZ #11087]
22378 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22379 (munmap_chunk): Likewise.
22380 (mremap_chunk): Likewise.
22381
223822013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22383
8a43e768 22384 [BZ #15799]
bbea82f7
OB
22385 * stdlib/div.c (div): Remove obsolete code.
22386 * stdlib/ldiv.c (ldiv): Likewise.
22387 * stdlib/lldiv.c (lldiv): Likewise.
22388
977f4b31
SP
223892013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22390
22391 [BZ #16071]
22392 * nss/nss_files/files-XXX.c (get_contents_ret): New
22393 enumerator.
22394 (get_contents): New function.
22395 (internal_getent): Use it. Expand size of LINEBUFLEN.
22396
cb8a6dbd
MF
223972013-10-30 Mike Frysinger <vapier@gentoo.org>
22398
22399 * configure.in: Moved to ...
22400 * configure.ac: ... here. Change reference to configure.in
22401 to configure.ac.
22402 * sysdeps/arm/preconfigure.ac: ... here.
22403 configure.in to configure.ac.
22404 * sysdeps/gnu/configure.in: Moved to ...
22405 * sysdeps/gnu/configure.ac: ... here.
22406 * sysdeps/i386/configure.in: Moved to ...
22407 * sysdeps/i386/configure.ac: ... here.
22408 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22409 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22410 * sysdeps/mach/configure.in: Moved to ...
22411 * sysdeps/mach/configure.ac: ... here.
22412 * sysdeps/mach/hurd/configure.in: Moved to ...
22413 * sysdeps/mach/hurd/configure.ac: ... here.
22414 * sysdeps/powerpc/configure.in: Moved to ...
22415 * sysdeps/powerpc/configure.ac: ... here.
22416 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22417 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22418 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22419 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22420 * sysdeps/s390/s390-32/configure.in: Moved to ...
22421 * sysdeps/s390/s390-32/configure.ac: ... here.
22422 * sysdeps/s390/s390-64/configure.in: Moved to ...
22423 * sysdeps/s390/s390-64/configure.ac: ... here.
22424 * sysdeps/sh/configure.in: Moved to ...
22425 * sysdeps/sh/configure.ac: ... here.
22426 * sysdeps/sparc/configure.in: Moved to ...
22427 * sysdeps/sparc/configure.ac: ... here.
22428 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22429 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22430 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22431 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22432 * sysdeps/x86_64/configure.in: Moved to ...
22433 * sysdeps/x86_64/configure.ac: ... here.
22434 * sysdeps/x86_64/preconfigure.in: Moved to ...
22435 * sysdeps/x86_64/preconfigure.ac: ... here.
22436 * aclocal.m4: Change reference to configure.in to configure.ac.
22437 * config.h.in: Likewise.
22438 * manual/install.texi: Likewise.
22439 * manual/maint.texi: Likewise.
22440 * Makefile: Likewise.
22441 * malloc/Makefile: Likewise.
22442 * nscd/Makefile: Likewise.
22443 * Makeconfig: Change reference to configure.in and
22444 preconfigure.in to configure.ac and preconfigure.ac
22445 respectively.
22446 * INSTALL: Regenerated.
22447 * configure: Likewise.
22448 * sysdeps/gnu/configure: Likewise.
22449 * sysdeps/i386/configure: Likewise.
22450 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22451 * sysdeps/mach/configure: Likewise.
22452 * sysdeps/mach/hurd/configure: Likewise.
22453 * sysdeps/powerpc/configure: Likewise.
22454 * sysdeps/powerpc/powerpc32/configure: Likewise.
22455 * sysdeps/powerpc/powerpc64/configure: Likewise.
22456 * sysdeps/s390/s390-32/configure: Likewise.
22457 * sysdeps/s390/s390-64/configure: Likewise.
22458 * sysdeps/sh/configure: Likewise.
22459 * sysdeps/sparc/configure: Likewise.
22460 * sysdeps/unix/sysv/linux/configure: Likewise.
22461 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22462 * sysdeps/x86_64/configure: Likewise.
22463 * sysdeps/x86_64/preconfigure: Likewise.
22464
36a4953a
AS
224652013-10-29 Andreas Schwab <schwab@suse.de>
22466
22467 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22468
c79a1204
SP
224692013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22470
dfa1b402
SP
22471 * benchtests/pow-inputs: Add new inputs.
22472
54f73d9c
SP
22473 * benchtests/exp-inputs: Add new inputs.
22474
c79a1204
SP
22475 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22476 conditional check for return value.
22477 (__cos32): Likewise.
22478
67beb545 224792013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22480
22481 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22482 to provide a boost for large inputs with word alignment.
22483 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22484 implementation based on optimized PPC64 strcpy.
22485 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22486 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22487 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22488 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22489
151659f6
OB
224902013-10-25 Ondřej Bílka <neleai@seznam.cz>
22491
482a077e 22492 [BZ #2801]
151659f6
OB
22493 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22494
10b0f26b
OB
224952013-10-25 Ondřej Bílka <neleai@seznam.cz>
22496
22497 [BZ #14876]
22498 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22499 * time/tst-strptime.c (day_tests): Add testcase.
22500
ca42d35e
OB
225012013-10-25 Ondřej Bílka <neleai@seznam.cz>
22502
482a077e 22503 [BZ #14029]
ca42d35e
OB
22504 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22505
52e6d801
FB
225062013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22507
22508 [BZ #16074]
22509 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22510 MAP_FAILED on error.
22511
7cbcdb36
SP
225122013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22513
22514 [BZ #16072]
22515 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22516 heap for large requests.
22517
894f3f10
AM
225182013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22519
22520 [BZ #9954]
22521 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22522 result if the result has no associated interface.
22523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22524 interface for all 127.X.Y.Z addresses.
22525
b85545a6
CL
225262013-10-24 Chris Leonard <cjl@sugarlabs.org>
22527
22528 * locale/iso-639.def: Add Ligurian (lij)
22529
d1f23d46
OB
225302013-10-21 Ondřej Bílka <neleai@seznam.cz>
22531
22532 [BZ #15825]
22533 * sunrpc/rpc_main.c: Document rpcgen -5.
22534
4db5b08f
MS
225352013-10-19 Michael Stahl <mstahl@redhat.com>
22536
22537 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22538
a471e96a
OB
225392013-10-19 Ondřej Bílka <neleai@seznam.cz>
22540
d1f23d46 22541 [BZ #10278]
a471e96a
OB
22542 * posix/glob.c: Match only directories when trailing slash is present.
22543 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22544 (main): Add testcase.
22545
45c30c61
OB
225462013-10-19 Ondřej Bílka <neleai@seznam.cz>
22547
22548 [BZ #15670]
22549 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22550
484c12fb
CD
225512013-10-18 Carlos O'Donell <carlos@redhat.com>
22552
3d7dc513
CD
22553 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22554 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22555 AUTH_DES and cindex for FIPS 140-2.
22556 (DES Encryption): Add cindex FIPS 46-3.
22557
484c12fb
CD
22558 * locale/locarchive.h (struct locarhandle): Add fname.
22559 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22560 if an optional argument was specified to --list-archive,
22561 otherwise NULL.
22562 * locale/programs/locarchive.c (show_archive_content): Take new
22563 argument fname and pass it via ah.fname to open_archive.
22564 * locale/programs/localedef.h: Update decl.
22565 (open_archive): If AH->fname is non-null, open that file
22566 rather than the default file name, and don't ignore ENOENT.
22567 (create_archive): Set AH.fname to NULL.
22568 (delete_locales_from_archive): Likewise.
22569 (add_locales_to_archive): Likewise.
22570 * locale/programs/locfile.c (write_all_categories): Likewise.
22571
3c8325fb
JM
225722013-10-18 Joseph Myers <joseph@codesourcery.com>
22573 Aldy Hernandez <aldyh@redhat.com>
22574
22575 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22576 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22577 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22578 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22579 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22580 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22581 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22582 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22583 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22584 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22585 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22586 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22587 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22588 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22589 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22590 Likewise.
22591 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22592 Likewise.
22593 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22594 Likewise.
22595 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22596 Likewise.
22597 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22598 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22599 Likewise.
22600 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22601 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22602 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22603 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22604 Likewise.
22605 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22606 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22607 * sysdeps/powerpc/preconfigure: Likewise.
22608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22609 Likewise.
22610 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22611 Replace contents of file by #include of <fenv_libc.h>.
22612 * sysdeps/powerpc/soft-fp/sfp-machine.h
22613 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22614 and <sys/prctl.h>.
22615 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22616 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22622 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22623 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22624 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22625 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22628 Allow copysignl PLT reference to be missing.
22629
5abe0682
RS
226302013-10-18 Richard Sandiford <richard@codesourcery.com>
22631 Joseph Myers <joseph@codesourcery.com
22632
22633 [BZ #15948]
22634 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22635 single character.
22636 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22637
c7738d08
SP
226382013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22639
22640 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22641 * elf/tst-tls1.c: Likewise.
22642 * elf/tst-tls10.h: Likewise.
22643 * elf/tst-tls14.c: Likewise.
22644 * elf/tst-tls2.c: Likewise.
22645 * elf/tst-tls3.c: Likewise.
22646 * elf/tst-tls4.c: Likewise.
22647 * elf/tst-tls5.c: Likewise.
22648 * elf/tst-tls6.c: Likewise.
22649 * elf/tst-tls7.c: Likewise.
22650 * elf/tst-tls8.c: Likewise.
22651 * elf/tst-tls9.c: Likewise.
22652 * elf/tst-tlsmod1.c: Likewise.
22653 * elf/tst-tlsmod13.c: Likewise.
22654 * elf/tst-tlsmod13a.c: Likewise.
22655 * elf/tst-tlsmod14a.c: Likewise.
22656 * elf/tst-tlsmod16a.c: Likewise.
22657 * elf/tst-tlsmod16b.c: Likewise.
22658 * elf/tst-tlsmod2.c: Likewise.
22659 * elf/tst-tlsmod3.c: Likewise.
22660 * elf/tst-tlsmod4.c: Likewise.
22661 * elf/tst-tlsmod5.c: Likewise.
22662 * elf/tst-tlsmod6.c: Likewise.
22663
0bfcf2c7
OB
226642013-10-18 Ondřej Bílka <neleai@seznam.cz>
22665
22666 [BZ #12486]
22667 * malloc/malloc.c: remove checks for statistics.
22668
264aad1e
OB
226692013-10-17 Ondřej Bílka <neleai@seznam.cz>
22670
22671 [BZ #15277]
22672 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22673 * inet/tst-network.c: Add testcase.
22674
b957ced8
AS
226752013-10-17 Andreas Schwab <schwab@suse.de>
22676
22677 [BZ #15218]
22678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22679 to determine canonical name.
22680
c5d5d574
OB
226812013-10-17 Ondřej Bílka <neleai@seznam.cz>
22682
22683 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22684 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22685 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22689 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22707 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22708 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22713 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22741
e5c2c2d0
JM
227422013-10-17 Joseph Myers <joseph@codesourcery.com>
22743
22744 [BZ #16041]
22745 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22746 make result into a quiet NaN.
22747
51ca9e29
JM
227482013-10-16 Joseph Myers <joseph@codesourcery.com>
22749
22750 * soft-fp/adddf3.c: Fix horizontal whitespace.
22751 * soft-fp/addsf3.c: Likewise.
22752 * soft-fp/addtf3.c: Likewise.
22753 * soft-fp/divdf3.c: Likewise.
22754 * soft-fp/divsf3.c: Likewise.
22755 * soft-fp/divtf3.c: Likewise.
22756 * soft-fp/double.h: Likewise.
22757 * soft-fp/eqdf2.c: Likewise.
22758 * soft-fp/eqsf2.c: Likewise.
22759 * soft-fp/eqtf2.c: Likewise.
22760 * soft-fp/extenddftf2.c: Likewise.
22761 * soft-fp/extended.h: Likewise.
22762 * soft-fp/extendsfdf2.c: Likewise.
22763 * soft-fp/extendsftf2.c: Likewise.
22764 * soft-fp/extendxftf2.c: Likewise.
22765 * soft-fp/fixdfdi.c: Likewise.
22766 * soft-fp/fixdfsi.c: Likewise.
22767 * soft-fp/fixdfti.c: Likewise.
22768 * soft-fp/fixsfdi.c: Likewise.
22769 * soft-fp/fixsfsi.c: Likewise.
22770 * soft-fp/fixsfti.c: Likewise.
22771 * soft-fp/fixtfdi.c: Likewise.
22772 * soft-fp/fixtfsi.c: Likewise.
22773 * soft-fp/fixtfti.c: Likewise.
22774 * soft-fp/fixunsdfdi.c: Likewise.
22775 * soft-fp/fixunsdfsi.c: Likewise.
22776 * soft-fp/fixunsdfti.c: Likewise.
22777 * soft-fp/fixunssfdi.c: Likewise.
22778 * soft-fp/fixunssfsi.c: Likewise.
22779 * soft-fp/fixunssfti.c: Likewise.
22780 * soft-fp/fixunstfdi.c: Likewise.
22781 * soft-fp/fixunstfsi.c: Likewise.
22782 * soft-fp/fixunstfti.c: Likewise.
22783 * soft-fp/floatdidf.c: Likewise.
22784 * soft-fp/floatdisf.c: Likewise.
22785 * soft-fp/floatditf.c: Likewise.
22786 * soft-fp/floatsidf.c: Likewise.
22787 * soft-fp/floatsisf.c: Likewise.
22788 * soft-fp/floatsitf.c: Likewise.
22789 * soft-fp/floattidf.c: Likewise.
22790 * soft-fp/floattisf.c: Likewise.
22791 * soft-fp/floattitf.c: Likewise.
22792 * soft-fp/floatundidf.c: Likewise.
22793 * soft-fp/floatundisf.c: Likewise.
22794 * soft-fp/floatunditf.c: Likewise.
22795 * soft-fp/floatunsidf.c: Likewise.
22796 * soft-fp/floatunsisf.c: Likewise.
22797 * soft-fp/floatunsitf.c: Likewise.
22798 * soft-fp/floatuntidf.c: Likewise.
22799 * soft-fp/floatuntisf.c: Likewise.
22800 * soft-fp/floatuntitf.c: Likewise.
22801 * soft-fp/fmadf4.c: Likewise.
22802 * soft-fp/fmasf4.c: Likewise.
22803 * soft-fp/fmatf4.c: Likewise.
22804 * soft-fp/gedf2.c: Likewise.
22805 * soft-fp/gesf2.c: Likewise.
22806 * soft-fp/getf2.c: Likewise.
22807 * soft-fp/ledf2.c: Likewise.
22808 * soft-fp/lesf2.c: Likewise.
22809 * soft-fp/letf2.c: Likewise.
22810 * soft-fp/muldf3.c: Likewise.
22811 * soft-fp/mulsf3.c: Likewise.
22812 * soft-fp/multf3.c: Likewise.
22813 * soft-fp/negdf2.c: Likewise.
22814 * soft-fp/negsf2.c: Likewise.
22815 * soft-fp/negtf2.c: Likewise.
22816 * soft-fp/op-1.h: Likewise.
22817 * soft-fp/op-2.h: Likewise.
22818 * soft-fp/op-4.h: Likewise.
22819 * soft-fp/op-8.h: Likewise.
22820 * soft-fp/op-common.h: Likewise.
22821 * soft-fp/quad.h: Likewise.
22822 * soft-fp/single.h: Likewise.
22823 * soft-fp/soft-fp.h: Likewise.
22824 * soft-fp/sqrtdf2.c: Likewise.
22825 * soft-fp/sqrtsf2.c: Likewise.
22826 * soft-fp/sqrttf2.c: Likewise.
22827 * soft-fp/subdf3.c: Likewise.
22828 * soft-fp/subsf3.c: Likewise.
22829 * soft-fp/subtf3.c: Likewise.
22830 * soft-fp/truncdfsf2.c: Likewise.
22831 * soft-fp/trunctfdf2.c: Likewise.
22832 * soft-fp/trunctfsf2.c: Likewise.
22833 * soft-fp/trunctfxf2.c: Likewise.
22834 * soft-fp/unorddf2.c: Likewise.
22835 * soft-fp/unordsf2.c: Likewise.
22836 * soft-fp/unordtf2.c: Likewise.
22837
9ebb0332
JM
228382013-10-15 Joseph Myers <joseph@codesourcery.com>
22839
22840 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22841 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22842
4b1a6d8b
OB
228432013-10-15 Ondřej Bílka <neleai@seznam.cz>
22844
22845 * elf/dl-libc.c: Clear initfini list after freeing.
22846
1e145589
JM
228472013-10-14 Joseph Myers <joseph@codesourcery.com>
22848
22849 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22850 * soft-fp/addsf3.c: Likewise.
22851 * soft-fp/addtf3.c: Likewise.
22852 * soft-fp/divdf3.c: Likewise.
22853 * soft-fp/divsf3.c: Likewise.
22854 * soft-fp/divtf3.c: Likewise.
22855 * soft-fp/double.h: Likewise.
22856 * soft-fp/eqdf2.c: Likewise.
22857 * soft-fp/eqsf2.c: Likewise.
22858 * soft-fp/eqtf2.c: Likewise.
22859 * soft-fp/extenddftf2.c: Likewise.
22860 * soft-fp/extended.h: Likewise.
22861 * soft-fp/extendsfdf2.c: Likewise.
22862 * soft-fp/extendsftf2.c: Likewise.
22863 * soft-fp/extendxftf2.c: Likewise.
22864 * soft-fp/fixdfdi.c: Likewise.
22865 * soft-fp/fixdfsi.c: Likewise.
22866 * soft-fp/fixdfti.c: Likewise.
22867 * soft-fp/fixsfdi.c: Likewise.
22868 * soft-fp/fixsfsi.c: Likewise.
22869 * soft-fp/fixsfti.c: Likewise.
22870 * soft-fp/fixtfdi.c: Likewise.
22871 * soft-fp/fixtfsi.c: Likewise.
22872 * soft-fp/fixtfti.c: Likewise.
22873 * soft-fp/fixunsdfdi.c: Likewise.
22874 * soft-fp/fixunsdfsi.c: Likewise.
22875 * soft-fp/fixunsdfti.c: Likewise.
22876 * soft-fp/fixunssfdi.c: Likewise.
22877 * soft-fp/fixunssfsi.c: Likewise.
22878 * soft-fp/fixunssfti.c: Likewise.
22879 * soft-fp/fixunstfdi.c: Likewise.
22880 * soft-fp/fixunstfsi.c: Likewise.
22881 * soft-fp/fixunstfti.c: Likewise.
22882 * soft-fp/floatdidf.c: Likewise.
22883 * soft-fp/floatdisf.c: Likewise.
22884 * soft-fp/floatditf.c: Likewise.
22885 * soft-fp/floatsidf.c: Likewise.
22886 * soft-fp/floatsisf.c: Likewise.
22887 * soft-fp/floatsitf.c: Likewise.
22888 * soft-fp/floattidf.c: Likewise.
22889 * soft-fp/floattisf.c: Likewise.
22890 * soft-fp/floattitf.c: Likewise.
22891 * soft-fp/floatundidf.c: Likewise.
22892 * soft-fp/floatundisf.c: Likewise.
22893 * soft-fp/floatunsidf.c: Likewise.
22894 * soft-fp/floatunsisf.c: Likewise.
22895 * soft-fp/floatuntidf.c: Likewise.
22896 * soft-fp/floatuntisf.c: Likewise.
22897 * soft-fp/floatuntitf.c: Likewise.
22898 * soft-fp/fmadf4.c: Likewise.
22899 * soft-fp/fmasf4.c: Likewise.
22900 * soft-fp/fmatf4.c: Likewise.
22901 * soft-fp/gedf2.c: Likewise.
22902 * soft-fp/gesf2.c: Likewise.
22903 * soft-fp/getf2.c: Likewise.
22904 * soft-fp/ledf2.c: Likewise.
22905 * soft-fp/lesf2.c: Likewise.
22906 * soft-fp/letf2.c: Likewise.
22907 * soft-fp/muldf3.c: Likewise.
22908 * soft-fp/mulsf3.c: Likewise.
22909 * soft-fp/multf3.c: Likewise.
22910 * soft-fp/negdf2.c: Likewise.
22911 * soft-fp/negsf2.c: Likewise.
22912 * soft-fp/negtf2.c: Likewise.
22913 * soft-fp/op-1.h: Likewise.
22914 * soft-fp/op-2.h: Likewise.
22915 * soft-fp/op-4.h: Likewise.
22916 * soft-fp/op-8.h: Likewise.
22917 * soft-fp/op-common.h: Likewise.
22918 * soft-fp/quad.h: Likewise.
22919 * soft-fp/single.h: Likewise.
22920 * soft-fp/soft-fp.h: Likewise.
22921 * soft-fp/sqrtdf2.c: Likewise.
22922 * soft-fp/sqrtsf2.c: Likewise.
22923 * soft-fp/sqrttf2.c: Likewise.
22924 * soft-fp/subdf3.c: Likewise.
22925 * soft-fp/subsf3.c: Likewise.
22926 * soft-fp/subtf3.c: Likewise.
22927 * soft-fp/truncdfsf2.c: Likewise.
22928 * soft-fp/trunctfdf2.c: Likewise.
22929 * soft-fp/trunctfsf2.c: Likewise.
22930 * soft-fp/trunctfxf2.c: Likewise.
22931 * soft-fp/unorddf2.c: Likewise.
22932 * soft-fp/unordsf2.c: Likewise.
22933 * soft-fp/unordtf2.c: Likewise.
22934
17c48a60
OB
229352013-10-14 Ondřej Bílka <neleai@seznam.cz>
22936
22937 [BZ #15672]
22938 * misc/error.c (error_tail): Fix possible buffer overflow.
22939
cabba934
OB
229402013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22941
22942 [BZ #13028]
22943 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22944 address.
22945
94bf958a
PM
229462013-10-14 P. J. McDermott <pj@pehjota.net>
22947
22948 [BZ #832]
22949 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22950 testing pipefail option.
22951
71b4dea7
JM
229522013-10-12 Joseph Myers <joseph@codesourcery.com>
22953
22954 * soft-fp/double.h: Indent preprocessor directives inside #if.
22955 * soft-fp/extended.h: Likewise.
22956 * soft-fp/op-2.h: Likewise.
22957 * soft-fp/op-4.h: Likewise.
22958 * soft-fp/op-common.h: Likewise.
22959 * soft-fp/quad.h: Likewise.
22960 * soft-fp/single.h: Likewise.
22961 * soft-fp/soft-fp.h: Likewise.
22962
55602758
YC
229632013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22964
22965 * iconv/iconv_prog.c: Fix typos.
22966 * stdio-common/psiginfo-data.h: Likewise.
22967
9cd83302
RT
229682013-10-12 Reuben Thomas <rrt@sc3d.org>
22969
22970 [BZ #15764]
22971 * locale/setlocale.c: Fix typo.
22972
99fd9f47
JM
229732013-10-12 Joseph Myers <joseph@codesourcery.com>
22974
b7ea74f0
JM
22975 [BZ #16036]
22976 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22977 signaling NaN arguments.
22978 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22979 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22980
8a509447
JM
22981 [BZ #14910]
22982 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22983 unordered operands.
22984 * soft-fp/gesf2.c (__gesf2): Likewise.
22985 * soft-fp/getf2.c (__getf2): Likewise.
22986 * soft-fp/ledf2.c (__ledf2): Likewise.
22987 * soft-fp/lesf2.c (__lesf2): Likewise.
22988 * soft-fp/letf2.c (__letf2): Likewise.
22989
98998e9f
JM
22990 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22991 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22992 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22993 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22994 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22995 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22996 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22997 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22998 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22999 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23000 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23001 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23002 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23003 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23004 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23005 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23006 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23007 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23008 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23009 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23010 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23011 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23012 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23013 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23014 * soft-fp/floattidf.c (__floattidf): Likewise.
23015 * soft-fp/floattisf.c (__floattisf): Likewise.
23016 * soft-fp/floattitf.c (__floattitf): Likewise.
23017 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23018 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23019 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23020 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23021 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23022 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23023 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23024 * soft-fp/gesf2.c (__gesf2): Likewise.
23025 * soft-fp/getf2.c (__getf2): Likewise.
23026 * soft-fp/ledf2.c (__ledf2): Likewise.
23027 * soft-fp/lesf2.c (__lesf2): Likewise.
23028 * soft-fp/letf2.c (__letf2): Likewise.
23029
8edc4a11
JM
23030 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23031 Undefine and redefine.
23032 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23033 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23034 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23035 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23036 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23037 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23038 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23039 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23040 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23041 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23042 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23043 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23044 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23045 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23046 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23047
8399acaf
JM
23048 [BZ #16032]
23049 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23050 without decrementing exponent if mantissa >= that for the
23051 denominator, not >.
23052 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23053 denominator, not >. Decrement exponent in < case instead of
23054 incrementing in >= case.
23055 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23056 without decrementing exponent if mantissa >= that for the
23057 denominator, not >.
23058
99fd9f47
JM
23059 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23060 computing saturated result for unsigned overflow.
23061
10e1cf6b
SP
230622013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23063 Jeff Law <law@redhat.com>
23064
23065 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23066 (atan2Mp): Add systemtap probe marker.
23067 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23068 (__ieee754_log): Add systemtap probe marker.
23069 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23070 (atanMp): Add systemtap probe marker.
23071 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23072 (tanMp): Add systemtap probe marker.
23073 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23074 (__slowexp): Add systemtap probe marker.
23075 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23076 (__slowpow): Add systemtap probe marker.
23077 * manual/probes.texi: Document probes.
23078
3d110c7c
EB
230792013-10-11 Eric Biggers <ebiggers3@gmail.com>
23080
23081 [BZ #15362]
23082 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23083 written.
23084 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23085 written.
23086 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23087 written to buffer but not flushed.
23088 * libio/iofwrite_u.c: Likewise.
23089 * libio/iopadn.c: Return bytes returned even if EOF was
23090 encountered.
23091 * libio/iowpadn.c: Likewise.
23092 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23093 if _IO_padn does not write the whole buffer.
23094 [!COMPILE_WPRINTF] (PAD): Likewise.
23095
75b4202a
DM
230962013-10-10 David S. Miller <davem@davemloft.net>
23097
23098 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23099 directory block.
23100
6c6352e6
JM
231012013-10-10 Joseph Myers <joseph@codesourcery.com>
23102
33b853c3
JM
23103 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23104 instead of FSF address.
23105 * soft-fp/fixdfti.c: Likewise.
23106 * soft-fp/fixsfti.c: Likewise.
23107 * soft-fp/fixtfti.c: Likewise.
23108 * soft-fp/fixunsdfti.c: Likewise.
23109 * soft-fp/fixunssfti.c: Likewise.
23110 * soft-fp/fixunstfti.c: Likewise.
23111 * soft-fp/floattidf.c: Likewise.
23112 * soft-fp/floattisf.c: Likewise.
23113 * soft-fp/floattitf.c: Likewise.
23114 * soft-fp/floatuntidf.c: Likewise.
23115 * soft-fp/floatuntisf.c: Likewise.
23116 * soft-fp/floatuntitf.c: Likewise.
23117 * soft-fp/trunctfxf2.c: Likewise.
23118
6c6352e6
JM
23119 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23120 * soft-fp/fixdfti.c: Likewise.
23121 * soft-fp/fixsfti.c: Likewise.
23122 * soft-fp/fixtfti.c: Likewise.
23123 * soft-fp/fixunsdfti.c: Likewise.
23124 * soft-fp/fixunssfti.c: Likewise.
23125 * soft-fp/fixunstfti.c: Likewise.
23126 * soft-fp/floattidf.c: Likewise.
23127 * soft-fp/floattisf.c: Likewise.
23128 * soft-fp/floattitf.c: Likewise.
23129 * soft-fp/floatuntidf.c: Likewise.
23130 * soft-fp/floatuntisf.c: Likewise.
23131 * soft-fp/floatuntitf.c: Likewise.
23132 * soft-fp/trunctfxf2.c: Likewise.
23133
3bf78b71
DM
231342013-10-10 David S. Miller <davem@davemloft.net>
23135
23136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23137
6f10289e
JM
231382013-10-10 Joseph Myers <joseph@codsourcery.com>
23139
bd878fc0
JM
23140 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23141 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23142 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23143 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23144 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23145 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23146 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23147
6f10289e
JM
23148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23149 for NaNs before doing comparisons on argument.
23150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23151 Likewise.
23152
321e2684
WN
231532013-10-10 Will Newton <will.newton@linaro.org>
23154
23155 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23156 passed to _int_memalign does not overflow.
23157
40fefba1
TR
231582013-10-10 Torvald Riegel <triegel@redhat.com>
23159
23160 * scripts/bench.pl: Add include-sources directive.
23161 * benchtests/README: Update documentation.
23162
2ae21ed2
JM
231632013-10-10 Joseph Myers <joseph@codesourcery.com>
23164
dcc2dd3f
JM
23165 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23166 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23167 instead of FP_INIT_ROUNDMODE.
23168 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23169 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23170
2ae21ed2
JM
23171 [BZ #16034]
23172 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23173 copy class of input value.
23174 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23175 not handle exceptions.
23176 * soft-fp/negsf2.c (__negsf2): Likewise.
23177 * soft-fp/negtf2.c (__negtf2): Likewise.
23178 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23179
cb8f9562
JM
231802013-10-09 Joseph Myers <joseph@codesourcery.com>
23181
23182 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23183 semicolon. From Linux kernel.
23184
5b60c59d
AB
231852013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23186
23187 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23188
b86835ca
YC
231892013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23190
23191 [BZ #156]
23192 * manual/socket.texi: Added statement about buffer
23193 for gethostbyname2_r.
23194
e7044ea7
OB
231952013-10-08 Ondřej Bílka <neleai@seznam.cz>
23196
23197 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23198 Use .p2align directive instead, throughout.
23199 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23200 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23201 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23202 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23203 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23204 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23205 * sysdeps/x86_64/strchr.S: Likewise.
23206 * sysdeps/x86_64/strrchr.S: Likewise.
23207
09544cbc
SP
232082013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23209
88576635
SP
23210 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23211
e7b2d1dd
SP
23212 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23213
09544cbc
SP
23214 * sysdeps/generic/math_private.h (__mpsin1): Remove
23215 declaration.
23216 (__mpcos1): Likewise.
23217 (__mpsin): New argument __range_reduce.
23218 (__mpcos): Likewise.
23219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23220 (slow): Use __mpsin and __mpcos.
23221 (slow1): Likewise.
23222 (slow2): Likewise.
23223 (sloww): Likewise.
23224 (sloww1): Likewise.
23225 (sloww2): Likewise.
23226 (bsloww): Likewise.
23227 (bsloww1): Likewise.
23228 (bsloww2): Likewise.
23229 (cslow2): Likewise.
23230 (csloww): Likewise.
23231 (csloww1): Likewise.
23232 (csloww2): Likewise.
23233 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23234 range_reduce. Merge in __mpsin1.
23235 (__mpcos): Likewise.
23236 (__mpsin1): Remove.
23237 (__mpcos1): Likewise.
23238
7602d070
JM
232392013-10-07 Joseph Myers <joseph@codesourcery.com>
23240
23241 * locale/loadlocale.c (_nl_intern_locale_data): Use
23242 LOCFILE_ALIGNED_P.
23243 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23244 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23245 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23246 obstack data is appropriately aligned.
23247 (obstack_int32_grow_fast): Likewise.
23248 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23249 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23250 (add_locale_uint32_array): Likewise.
23251
a357259b
SP
232522013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23253
23254 * benchtests/Makefile: Remove ARGLIST and RET variables.
23255 ($(objpfx)bench-%.c): Pass only function name to the script.
23256 * benchtests/README: Update documentation.
23257 * benchtests/acos-inputs: Add new directives.
23258 * benchtests/acosh-inputs: Likewise.
23259 * benchtests/asin-inputs: Likewise.
23260 * benchtests/asinh-inputs: Likewise.
23261 * benchtests/atan-inputs: Likewise.
23262 * benchtests/atanh-inputs: Likewise.
23263 * benchtests/cos-inputs: Likewise.
23264 * benchtests/cosh-inputs: Likewise.
23265 * benchtests/exp-inputs: Likewise.
23266 * benchtests/log-inputs: Likewise.
23267 * benchtests/pow-inputs: Likewise.
23268 * benchtests/rint-inputs: Likewise.
23269 * benchtests/sin-inputs: Likewise.
23270 * benchtests/sinh-inputs: Likewise.
23271 * benchtests/tan-inputs: Likewise.
23272 * benchtests/tanh-inputs: Likewise.
23273 * scripts/bench.pl: Add support for new directives.
23274
9ec1b13d
AM
232752013-10-07 Alan Modra <amodra@gmail.com>
23276
23277 * README: Fix careless merge.
23278
8b7d57cd
AM
232792013-10-05 Alan Modra <amodra@gmail.com>
23280
23281 * NEWS: Mention powerpc64le support and bugs fixed.
23282 * README: Both big-endian and little-endian powerpc64 supported.
23283
7b7bab13
ST
232842013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23285
57f41c40
AS
23286 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23287 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23288 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23289 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23290
d39baad1
RA
232912013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23292
23293 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23294 match prototype.
23295
cd78f7e7
JM
232962013-10-04 Joseph Myers <joseph@codesourcery.com>
23297
29d73d86
JM
23298 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23299 Move -mhard-float appending from
23300 ports/sysdeps/powerpc/powerpc32/Makefile.
23301 [$(with-fp) = yes] (ASFLAGS): Likewise.
23302 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23303 * sysdeps/powerpc/nofpu: Move directory from
23304 ports/sysdeps/powerpc/nofpu.
23305 * sysdeps/powerpc/soft-fp: Move directory from
23306 ports/sysdeps/powerpc/soft-fp.
23307 * sysdeps/powerpc/powerpc32/405: Move directory from
23308 ports/sysdeps/powerpc/powerpc32/405.
23309 * sysdeps/powerpc/powerpc32/440: Move directory from
23310 ports/sysdeps/powerpc/powerpc32/440.
23311 * sysdeps/powerpc/powerpc32/464: Move directory from
23312 ports/sysdeps/powerpc/powerpc32/464.
23313 * sysdeps/powerpc/powerpc32/476: Move directory from
23314 ports/sysdeps/powerpc/powerpc32/476.
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23316 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23318 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23320 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23322 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23324 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23325 * README: Update for powerpc-*-linux-gnu software floating point
23326 support in libc.
23327
e246b347
JM
23328 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23329 case to powerpc/powerpc32*.
23330 * sysdeps/unix/sysv/linux/configure: Regenerated.
23331
89c2003e
JM
23332 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23333 (_FPU_MASK_OM): Define as 0x04.
23334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23336 0x00c10080.
23337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23338 0x0000003c.
23339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23340
cd78f7e7
JM
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23342 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23343 getcontext_e500.
23344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23345 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23346 setcontext_e500.
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23348 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23349 and setcontext_e500.
23350
c755294d
CL
233512013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23352
23353 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23354
e16d221c
SP
233552013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23356
23357 * manual/threads.texi (Default Thread Attributes): Fix typo.
23358
215c7d43
WN
233592013-10-04 Will Newton <will.newton@linaro.org>
23360
23361 * malloc/Makefile: Add tst-memalign.
23362 * malloc/tst-memalign.c: New file.
23363
27d0461b
WN
23364 * malloc/tst-posix_memalign.c: Add comments.
23365 (do_test): Add comments and call free on all potentially
23366 allocated pointers. Add space after cast.
23367
1bc92709
WN
23368 * malloc/tst-pvalloc.c: Add comments.
23369 (do_test): Add comments and call free on all potentially
23370 allocated pointers. Remove duplicate check for NULL pointer.
23371 Add space after cast.
23372
66a9be9d
WN
23373 * malloc/tst-valloc.c: Add comments.
23374 (do_test): Add comments and call free on all potentially
23375 allocated pointers. Remove duplicate check for NULL pointer.
23376 Add space after cast.
23377
4cb81307
AM
233782013-10-04 Alan Modra <amodra@gmail.com>
23379
23380 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23381 Use stdint types in rather than __attribute__((mode())).
23382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23383
f8e3e9f3
AM
233842013-10-04 Alan Modra <amodra@gmail.com>
23385
23386 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23387 Correct handling of unaligned relocs for little-endian.
23388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23389
8f9ebb08
AM
233902013-10-04 Alan Modra <amodra@gmail.com>
23391
23392 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23393 * configure: Regenerate.
23394 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23395 * shlib-versions: Likewise.
23396
0edf96c2
AM
233972013-10-04 Alan Modra <amodra@gmail.com>
23398
23399 * string/tester.c (test_memrchr): Increment reported test cycle.
23400
e0f7a380
AM
234012013-10-04 Alan Modra <amodra@gmail.com>
23402
23403 * string/test-memcpy.c (do_one_test): When reporting errors, print
23404 string address and don't overrun end of string.
23405
466b0393
AM
234062013-10-04 Alan Modra <amodra@gmail.com>
23407
23408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23409 insrdi. Make better use of reg selection to speed exit slightly.
23410 Schedule entry path a little better. Remove useless "are we done"
23411 checks on entry to main loop. Handle wrapping around zero address.
23412 Correct main loop count. Handle single left-over word from main
23413 loop inline rather than by using loop_small. Remove extra word
23414 case in loop_small caused by wrong loop count. Add little-endian
23415 support.
23416 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23417 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23418 cache hint.
23419 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23420 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23421 support. Avoid rlwimi.
23422 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23423
3be87c77
AM
234242013-10-04 Alan Modra <amodra@gmail.com>
23425
23426 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23427 insrdi. Formatting.
3be87c77
AM
23428 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23429 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23430 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23431 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23432 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23433 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23434
759cfef3
AM
234352013-10-04 Alan Modra <amodra@gmail.com>
23436
23437 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23438 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23439 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23440 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23441 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23442 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23443 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23444 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23445 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23446 use of regs. Use power7 mtocrf. Tidy function tails.
23447
fe6e95d7
AM
234482013-10-04 Alan Modra <amodra@gmail.com>
23449
23450 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23451 Formatting. Consistently use rXXX register defines or rN defines.
23452 Use early exit labels that avoid restoring unused non-volatile regs.
23453 Make cr field use more consistent with rWORDn compares. Rename
23454 regs used as shift registers for unaligned loop, using rN defines
23455 for short lifetime/multiple use regs.
23456 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23458 addi 1,1,64 to pop stack frame. Simplify return value code.
23459 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23460
664318c3
AM
234612013-10-04 Alan Modra <amodra@gmail.com>
23462
23463 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23464 support. Correct typos, formatting. Optimize tail. Use insrdi
23465 rather than rlwimi.
23466 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23467 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23468 little-endian support. Correct typos.
23469 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23470 rather than rlwimi.
23471 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23472 in loop and entry code to keep "and." results.
23473 (strchr): Add little-endian support. Comment. Move cntlzd
23474 earlier in tail.
23475 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23476
43b84013
AM
234772013-10-04 Alan Modra <amodra@gmail.com>
23478
23479 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23480 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23481 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23482 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23483
8a7413f9
AM
234842013-10-04 Alan Modra <amodra@gmail.com>
23485
23486 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23487 (rTMP): Define as r11.
23488 (strcmp): Add little-endian support. Optimise tail.
23489 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23490 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23491 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23493 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23495 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23496
33ee81de
AM
234972013-10-04 Alan Modra <amodra@gmail.com>
23498
23499 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23500 little-endian support. Remove unnecessary "are we done" tests.
23501 Handle "s" wrapping around zero and extremely large "size".
23502 Correct main loop count. Handle single left-over word from main
23503 loop inline rather than by using small_loop. Correct comments.
23504 Delete "zero" tail, use "end_max" instead.
23505 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23506
db9b4570
AM
235072013-10-04 Alan Modra <amodra@gmail.com>
23508
23509 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23510 support. Don't branch over align.
23511 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23512 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23513 support. Rearrange tmp reg use to suit. Comment.
23514 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23515
f7c399cf
AM
235162013-10-04 Alan Modra <amodra@gmail.com>
23517
23518 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23519
0b2c2ace
AM
235202013-10-04 Alan Modra <amodra@gmail.com>
23521
23522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23523 conditional form of branch and link when obtaining pc.
23524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23525
02f04a6c
AM
235262013-10-04 Alan Modra <amodra@gmail.com>
23527
23528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23529 HIWORD/LOWORD.
23530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23532
9b874b2f
AM
235332013-10-04 Alan Modra <amodra@gmail.com>
23534
23535 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23536 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23537 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23538 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23539 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23540 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23541 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23542 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23543 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23544 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23545
be1e5d31
AB
235462013-10-04 Anton Blanchard <anton@au1.ibm.com>
23547 Alistair Popple <alistair@ozlabs.au.ibm.com>
23548 Alan Modra <amodra@gmail.com>
23549
23550 [BZ #15723]
23551 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23552 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23553 _dl_hwcap access for little-endian.
23554 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23555 destroy vmx regs when saving unaligned.
23556 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23558 destroy vmx regs when saving unaligned.
23559
fef13a78
AM
235602013-10-04 Alan Modra <amodra@gmail.com>
23561
23562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23563 Don't use a union to pack hi/low value.
23564
76a66d51
AB
235652013-10-04 Anton Blanchard <anton@au1.ibm.com>
23566
23567 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23568 for little-endian.
23569 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23570 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23571 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23572 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23573 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23574
6a31fe7f
AM
235752013-10-04 Alan Modra <amodra@gmail.com>
23576
23577 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23578 constants to usual value for .cst8 section, and remove redundant
23579 high address load.
23580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23581 constant for 0x1p52. Load little-endian words of double from
23582 correct stack offsets.
23583
7b88401f
AM
235842013-10-04 Alan Modra <amodra@gmail.com>
23585
23586 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23587 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23588 words of double from correct stack offsets.
23589 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23590 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23591 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23592 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23593 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23594 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23595 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23596 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23597 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23598 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23599 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23600 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23601 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23602 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23603 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23604 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23605 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23606
9c008155
AM
236072013-10-04 Alan Modra <amodra@gmail.com>
23608
23609 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23610 64-bit int/double union.
23611 (_FPU_SETCW): Likewise.
23612 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23613 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23614
da13146d
AM
236152013-10-04 Alan Modra <amodra@gmail.com>
23616
23617 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23618 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23619
603e8410
AM
236202013-10-04 Alan Modra <amodra@gmail.com>
23621
23622 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23623 use vector int constants.
23624 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23625
4a28b3ca
AB
236262013-10-04 Anton Blanchard <anton@au1.ibm.com>
23627
23628 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23629 array with long long.
23630 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23631 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23632 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23633 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23634 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23635 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23636 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23637 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23638 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23639 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23640 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23641 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23642 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23643
2ca85d2b
AB
236442013-10-04 Anton Blanchard <anton@au1.ibm.com>
23645
23646 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23647 (__signbit): Likewise. Correct for little-endian.
23648 (__signbitl): Call __signbit.
23649 (lrint): Correct for little-endian.
23650 (lrintf): Call lrint.
23651
62a728ae
AM
236522013-10-04 Alan Modra <amodra@gmail.com>
23653
23654 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23655 union 32-bit int array member with 64-bit int array.
23656 (t515, tm256): Double rather than long double.
23657 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23658
32c301df
AM
236592013-10-04 Alan Modra <amodra@gmail.com>
23660
23661 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23662 Delete.
23663 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23665 version of math_ldbl.h.
23666
650ef4bd
AM
236672013-10-04 Alan Modra <amodra@gmail.com>
23668
23669 [BZ #15734], [BZ #15735]
23670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23671 all uses of ieee875 long double macros and unions. Simplify test
23672 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23673 ldbl_extract_mantissa value for ix,iy exponents. Properly
23674 normalize after ldbl_extract_mantissa, and don't add hidden bit
23675 already handled. Don't treat low word of ieee854 mantissa like
23676 low word of IBM long double and mask off bit when testing for
23677 zero.
23678 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23679 all uses of ieee875 long double macros and unions. Simplify tests
23680 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23681 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23682 two1022, instead use their values. Recognise that tests for large
23683 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23684 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23685 Rewrite all uses of ieee875 long double macros and unions. Simplify
23686 test for 0.0L and nan. Correct negation.
23687 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23688 ieee875 long double macros and unions. Correct output for large
23689 magnitude x. Correct absolute value calculation.
23690 (__erfcl): Likewise.
23691 * math/libm-test.inc: Add tests for errors discovered in IBM long
23692 double versions of fmodl, remainderl, erfl and erfcl.
23693
765714ca
AM
236942013-10-04 Alan Modra <amodra@gmail.com>
23695
23696 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23697 all uses of ieee854 long double macros and unions. Simplify tests
23698 for long doubles that are fully specified by the high double.
23699 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23700 Likewise.
23701 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23702 Remove dead code too.
23703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23704 (__ieee754_ynl): Likewise.
23705 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23706 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23708 Remove dead code too.
23709 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23710 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23711 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23712 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23713 Simplify.
23714 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23715 Simplify.
23716 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23717 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23718 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23719 Comment on variable precision.
23720 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23721 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23722 Likewise.
23723 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23724 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23725 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23726 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23727 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23728
4ebd120c
AM
237292013-10-04 Alan Modra <amodra@gmail.com>
23730
23731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23732 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23733 all uses of ieee854 long double macros and unions.
23734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23736 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23737 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23738 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23739 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23740 Likewise.
23741 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23742 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23747 Simplify sign and nan test too.
23748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23750 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23751 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23752 Likewise.
23753 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23754 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23755 Likewise.
23756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23757 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23758 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23759 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23760 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23761 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23762
1b6adf88
AM
237632013-10-04 Alan Modra <amodra@gmail.com>
23764
23765 * stdio-common/printf_size.c (__printf_size): Don't use
23766 union ieee854_long_double in fpnum union.
23767 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23768 signbit macro to retrieve sign from long double.
23769 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23770 retrieve sign from long double.
23771 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23772 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23773 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23774 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23775 * math/test-misc.c (main): Don't use union ieee854_long_double.
23776
4cf69995
AM
237772013-10-04 Alan Modra <amodra@gmail.com>
23778
23779 [BZ #15680]
23780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23781 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23782 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23783 calculation. Remove unnecessary test for denormal exponent.
23784 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23785 Correct handling of denormals. Avoid undefined shift behaviour.
23786 Correct normalisation of low mantissa when low double is denormal.
23787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23788 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23789 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23790 Correct normalisation of low mantissa. Test for overflow of high
23791 mantissa and normalise.
23792 (ldbl_nearbyint): Use more readable constant for two52.
23793 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23794 (__mpn_construct_long_double): Fix test for overflow of high
23795 mantissa and correct normalisation. Avoid undefined shift.
23796
9605ca6c
AM
237972013-10-04 Alan Modra <amodra@gmail.com>
23798
23799 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23800 (union ibm_extended_long_double): Define as an array of ieee754_double.
23801 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23802 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23803 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23804 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23808 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23812
975569d0
JM
238132013-10-03 Joseph Myers <joseph@codesourcery.com>
23814
d3d23756
JM
23815 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23816 page size instead of calling getpagesize.
23817
975569d0
JM
23818 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23819 (LOCFILE_ALIGN_MASK): Likewise.
23820 (LOCFILE_ALIGN_UP): Likewise.
23821 (LOCFILE_ALIGNED_P): Likewise.
23822 * locale/programs/ld-collate.c (collate_output): Use the new
23823 macros instead of __alignof__ (int32_t).
23824 * locale/weight.h (findidx): Likewise.
23825
b1fe1f2b
OB
238262013-10-03 Ondřej Bílka <neleai@seznam.cz>
23827
23828 [BZ #431]
23829 * manual/string.texi: Fix strncat and wcsncat.
23830
5f855e35
BM
238312013-10-03 Brooks Moses <bmoses@google.com>
23832
23833 [BZ #15915]
23834 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23835 * Makerules: ...here, and adjust associated comments.
23836
3cef6009
WN
238372013-10-02 Will Newton <will.newton@linaro.org>
23838
23839 * malloc/Makefile: Add tst-pvalloc.
23840 * malloc/tst-pvalloc.c: New file.
23841
7815420b
WN
238422013-10-02 Will Newton <will.newton@linaro.org>
23843
23844 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23845 improve test coverage.
23846
4868b204
WN
238472013-10-02 Will Newton <will.newton@linaro.org>
23848
23849 * malloc/Makefile: Add tst-posix_memalign.
23850 * malloc/tst-posix_memalign.c: New file.
23851
29c793b3
EB
238522013-10-01 Eric Blake <eblake@redhat.com>
23853
23854 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23855 Use __THROWNL rather than __THROW on static functions.
23856
fd967522
PM
238572013-09-30 Petr Machata <pmachata@redhat.com>
23858
23859 * elf/elf.h (R_AARCH64_ABS16): New macro.
23860 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23861 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23862 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23863 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23864 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23865 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23866 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23867 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23868 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23869 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23870 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23871 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23872 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23873 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23874 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23875 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23876 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23877 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23878 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23879 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23880 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23881 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23882 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23883 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23884 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23885 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23886 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23887 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23888 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23889 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23890 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23891 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23892 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23893 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23894 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23895 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23896 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23897 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23898 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23899 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23900 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23901 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23902 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23903 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23904 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23905 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23906 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23907 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23908 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23909 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23910 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23911 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23912 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23913 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23914 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23915 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23916 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23917 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23918 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23919 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23920 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23921 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23922 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23923 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23924 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23925 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23926 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23927 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23928 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23929 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23930 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23931 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23932 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23933 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23934 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23935 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23936 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23937 (R_AARCH64_TLSDESC_LDR): Likewise.
23938 (R_AARCH64_TLSDESC_ADD): Likewise.
23939 (R_AARCH64_TLSDESC_CALL): Likewise.
23940
b2179107
AS
239412013-09-30 Andreas Schwab <schwab@suse.de>
23942
23943 [BZ #15048]
23944 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23945 the nss database lookup.
23946 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23948
47f28d0a
MF
239492013-09-28 Mike Frysinger <vapier@gentoo.org>
23950
23951 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23952
239532013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23954
23955 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23956 ${Bash-specific parameter/pattern/string} parameter expansion.
23957 * sysdeps/unix/make-syscalls.sh: Likewise.
23958
f4518a17
KK
239592013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23960
23961 * sysdeps/sh/stackguard-macros.h: New file.
23962
dc1a95c7
OB
239632013-09-26 Ondřej Bílka <neleai@seznam.cz>
23964
23965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23967 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23968 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23969 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23970 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23971
5ebbff8f
AZ
239722013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23973
23974 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23975 Fix thread ID register.
23976
4fd2cf9f
JM
239772013-09-25 Joseph Myers <joseph@codesourcery.com>
23978
23979 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23980 [POSIX || UNIX98]: Require rather than permitting all symbols from
23981 <time.h>.
23982 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23983 element of struct sched_param.
23984 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23985 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23986 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23987 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23988 constant.
23989
12c22bc4
OL
239902013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23991
23992 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23993 argument calculation.
23994
a03d8ea7
JM
239952013-09-24 Joseph Myers <joseph@codesourcery.com>
23996
23997 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23998 Expect macro.
23999 [POSIX] (pthread_attr_t): Do not require type.
24000 [POSIX] (pthread_cond_t): Likewise.
24001 [POSIX] (pthread_condattr_t): Likewise.
24002 [POSIX] (pthread_key_t): Likewise.
24003 [POSIX] (pthread_mutex_t): Likewise.
24004 [POSIX] (pthread_mutexattr_t): Likewise.
24005 [POSIX] (pthread_once_t): Likewise.
24006 [POSIX] (pthread_t): Likewise.
24007 [POSIX-based standards] (pthread_atfork): Expect function.
24008
6055173a
JM
240092013-09-24 Joseph Myers <joseph@codesourcery.com>
24010 Richard Sandiford <richard@codesourcery.com>
24011
24012 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24013 (swap_endianness_p): New extern variable.
24014 (set_big_endian): New inline function.
24015 (maybe_swap_uint32): Likewise.
24016 (maybe_swap_uint32_array): Likewise.
24017 (maybe_swap_uint32_obstack): Likewise.
24018 * locale/programs/locfile.c: Include <stdbool.h>.
24019 (swap_endianness_p): New variable.
24020 (add_locale_uint32): Call maybe_swap_uint32.
24021 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24022 (write_locale_data): Call maybe_swap_uint32_array.
24023 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24024 maybe_swap_uint32.
24025 (obstack_int32_grow_fast): Likewise.
24026 (output_weightwc): Call maybe_swap_uint32_obstack.
24027 (collate_output): Likewise.
24028 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24029 (OPT_LITTLE_ENDIAN): Likewise.
24030 (options): Add --little-endian and --big-endian options.
24031 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24032 * locale/programs/locarchive.c: Include "locfile.h".
24033 (GET): New macro.
24034 (SET): Likewise.
24035 (INC): Likewise.
24036 (create_archive): Use the new macros to access fields of
24037 structures directly mapped from or written to locale archives.
24038 (oldlocrecentcmp): Likewise.
24039 (enlarge_archive): Likewise.
24040 (insert_name): Likewise.
24041 (add_alias): Likewise.
24042 (add_locale): Likewise.
24043 (delete_locales_from_archive): Likewise.
24044 (show_archive_content): Likewise.
24045 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24046 locale data.
24047
39bf0bb4
RM
240482013-09-24 Roland McGrath <roland@hack.frob.com>
24049
24050 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24051 http://www.gnu.org/doc/freemanuals.texi.
24052 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24053
f02eed10
WN
240542013-09-24 Will Newton <will.newton@linaro.org>
24055
24056 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24057 macro.
24058
a3a6c312
JM
240592013-09-23 Joseph Myers <joseph@codesourcery.com>
24060
24061 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24062 unsigned char.
24063
107375ac
MR
240642013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24065
24066 * manual/threads.texi (POSIX Threads): Fix a typo.
24067
141f3a77
SP
240682013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24069
303e567a
SP
24070 [BZ #14547]
24071 * string/tst-strcoll-overflow.c: New test case.
24072 * string/Makefile (xtests): Add tst-strcoll-overflow.
24073 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24074 cache if string sizes may cause integer overflow.
24075
141f3a77
SP
24076 [BZ #14547]
24077 * string/strcoll_l.c (coll_seq): New members rule, idx,
24078 save_idx and back_us.
24079 (get_next_seq_nocache): New function.
24080 (do_compare_nocache): New function.
24081 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24082 when malloc fails.
24083
c61b4d41
CD
240842013-09-23 Carlos O'Donell <carlos@redhat.com>
24085
0b1f8e35
CD
24086 [BZ #15754]
24087 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24088 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24089 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24090
c61b4d41
CD
24091 [BZ #15754]
24092 * elf/Makefile (tests): Add tst-ptrguard1.
24093 (tests-static): Add tst-ptrguard1-static.
24094 (tst-ptrguard1-ARGS): Define.
24095 (tst-ptrguard1-static-ARGS): Define.
24096 * elf/tst-ptrguard1.c: New file.
24097 * elf/tst-ptrguard1-static.c: New file.
24098 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24099 * sysdeps/i386/stackguard-macros.h: Likewise.
24100 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24101 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24102 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24103 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24104 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24105 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24106
241072013-09-23 Hector Marco <hecmargi@upv.es>
24108 Ismael Ripoll <iripoll@disca.upv.es>
24109 Carlos O'Donell <carlos@redhat.com>
24110
24111 [BZ #15754]
24112 * sysdeps/generic/stackguard-macros.h: Define
24113 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24114 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24115 Define __pointer_chk_guard_local.
24116 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24117 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24118
f5f4e7b4
VV
241192013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24120
24121 [BZ #15859]
24122 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24123
5bb43a43
AS
241242013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24125
24126 * include/string.h (__ffs): Declare as hidden.
24127 * string/ffs.c (__ffs): Define as hidden.
24128 * sysdeps/i386/ffs.c (__ffs): Likewise.
24129 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24130 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24131 * sysdeps/s390/ffs.c (__ffs): Likewise.
24132 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24133
3ea5be54
AO
241342013-09-20 Alexandre Oliva <aoliva@redhat.com>
24135
ffb89e53
AO
24136 * NEWS: Mention malloc probes.
24137
322dea08
AO
24138 * malloc/arena.c (new_heap): New memory_heap_new probe.
24139 (grow_heap): New memory_heap_more probe.
24140 (shrink_heap): New memory_heap_less probe.
24141 (heap_trim): New memory_heap_free probe.
24142 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24143 (systrim): New memory_sbrk_less probe.
24144 * manual/probes.texi: Document them.
24145
655673f3
AO
24146 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24147 * manual/probes.texi: Document it.
24148
35fed6f1
AO
24149 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24150 (__libc_realloc): Add memory_realloc_retry probe.
24151 (__libc_memalign): Add memory_memalign_retry probe.
24152 (__libc_valloc): Add memory_valloc_retry probe.
24153 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24154 (__libc_calloc): Add memory_calloc_retry probe.
24155 * manual/probes.texi: Document them.
24156
6999d38c
AO
24157 * malloc/arena.c (get_free_list): Add probe
24158 memory_arena_reuse_free_list.
24159 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24160 and memory_arena_reuse.
24161 (arena_get2) [!PER_THREAD]: Likewise.
24162 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24163 memory_arena_reuse_realloc.
24164 * manual/probes.texi: Document them.
24165
0653427f
AO
24166 * malloc/malloc.c (__libc_free): Add
24167 memory_mallopt_free_dyn_thresholds probe.
24168 (__libc_mallopt): Add multiple memory_mallopt probes.
24169 * manual/probes.texi: Document them.
24170
3ea5be54
AO
24171 * malloc/malloc.c: Include stap-probe.h.
24172 (__libc_mallopt): Add memory_mallopt probe.
24173 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24174 * manual/probes.texi: New.
24175 * manual/Makefile (chapters): Add probes.
24176 * manual/threads.texi: Set next node.
24177
e35696c3 241782013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24179
e35696c3
CL
24180 [BZ #15963, #13985]
24181 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24182 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24183 Add `Chinese' to `nan' entry name.
24184
4aafb73c
SP
241852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24186
24187 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24188 (POLYNOMIAL): Likewise.
24189 (TAYLOR_SINCOS): Likewise.
24190 (TAYLOR_SLOW): Likewise.
24191 (__sin): Use TAYLOR_SINCOS.
24192 (__cos): Likewise.
24193 (slow): Use TAYLOR_SLOW.
24194 (sloww): Likewise.
24195 (bsloww): Likewise.
24196 (csloww): Likewise.
24197
d84f25c7
LD
241982013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24199
24200 * stdlib/strtod_l.c: Fix buffer overrun.
24201
5eea0404
SP
242022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24203
7849ff93
SP
24204 * benchtests/Makefile (bench): Add sincos.
24205 * benchtests/bench-sincos.c: New file.
24206
cfa3c886
SP
24207 * math/libm-test.inc (cos_test_data): New test inputs.
24208 (sin_test_data): Likewise.
24209
b348e1e3
SP
24210 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24211 macro.
24212 (__sin): Use it.
24213 (__cos): Likewise.
24214 (slow1): Likewise.
24215 (slow2): Likewise.
24216 (sloww1): Likewise.
24217 (sloww2): Likewise.
24218 (bsloww1): Likewise.
24219 (bsloww2): Likewise.
24220 (cslow2): Likewise.
24221 (csloww1): Likewise.
24222 (csloww2): Likewise.
24223
6cce25f8
SP
24224 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24225 function.
24226 (__sin): Use it.
24227 (__cos): Likewise.
24228
5eea0404
SP
24229 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24230 gotos.
24231 (__cos): Likewise.
24232
9c21573c
MR
242332013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24234
24235 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24236 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24237 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24238 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24239 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24240 * elf/cache.c (print_entry): Handle the new cache flags.
24241
24d22e65
JM
242422013-09-18 Joseph Myers <joseph@codesourcery.com>
24243 Aldy Hernandez <aldyh@redhat.com>
24244
24245 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24246 Change condition to [_SOFT_FLOAT].
24247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24259 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24262 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24263 declaration.
24264
d13ef066
JM
242652013-09-18 Joseph Myers <joseph@codesourcery.com>
24266
2e071de0
JM
24267 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24268 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24269 (__longjmp): Use LOAD_GP to load saved GPRs.
24270 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24271 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24272 (__sigsetjmp): Use SAVE_GP to save GPRs.
24273
d13ef066
JM
24274 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24275 Do not append -msoft-float.
24276 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24277
97a0650b
SP
242782013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24279
24280 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24281
11ca09e9
JM
242822013-09-17 Joseph Myers <joseph@codesourcery.com>
24283
24284 [BZ #15966]
24285 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24286 (_FPU_GETCW): Use initial "__" on variable and field names but not
24287 on macro parameter name.
24288 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24289 parentheses around reference to macro parameter.
24290
08ffcf34
RS
242912013-09-13 Richard Sandiford <richard@codesourcery.com>
24292
24293 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24294 prototype.
24295 (ctype_startup): Use uint32_t in cast and sizeof for
24296 ctype->charnames.
24297
ae7080d3
JL
242982013-09-11 Jia Liu <proljc@gmail.com>
24299
24300 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24301 __daddr_t_defined.
24302 [__FreeBSD__]: Likewise.
24303
5905e7b3
OB
243042013-09-11 Ondřej Bílka <neleai@seznam.cz>
24305
24306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24307 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24308 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24309 (strchr): Remove __strchr_sse42 ifunc selection.
24310 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24311 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24312
b987c776
WN
243132013-09-11 Will Newton <will.newton@linaro.org>
24314
24315 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24316 parameter to RES. Remove hardcoded 1000 value.
24317 * benchtests/bench-skeleton.c (main): Pass RES parameter
24318 to TIMING_INIT and multiply result by 1000.
24319
ddf985af
AZ
243202013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24321
24322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24323
ffdd3181
AS
243242013-09-11 Andreas Schwab <schwab@suse.de>
24325
24326 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24327 if not defined.
24328 (O_TMPFILE) [__USE_GNU]: Define.
24329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24330 Define.
24331
b73ed247
WN
243322013-09-11 Will Newton <will.newton@linaro.org>
24333
24334 [BZ #15857]
24335 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24336 does not overflow.
24337
55e17aad
WN
243382013-09-11 Will Newton <will.newton@linaro.org>
24339
24340 [BZ #15856]
24341 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24342 does not overflow.
24343
1159a193
WN
243442013-09-11 Will Newton <will.newton@linaro.org>
24345
24346 [BZ #15855]
24347 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24348 does not overflow.
24349
5905e7b3 243502013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24351
24352 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24354 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24355 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24356 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24357
cdfc721b
AM
243582013-09-10 Allan McRae <allan@archlinux.org>
24359
aa04af00
AM
24360 [BZ #15748]
24361 * manual/arith.texi (Parsing of Floats): Clarify
24362 cross-reference.
24363
cdfc721b
AM
24364 [BZ #15849]
24365 * manual/install.texi (Running make install): Mention
24366 --enable-pt-chown.
24367 * INSTALL: Regenerated.
24368
95e7cf29
MR
243692013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24370
24371 * csu/init-first.c (_init): Remove the !SHARED condition around
24372 FPU control word initialization.
24373 * elf/dl-support.c (_dl_fpu_control): New variable.
24374 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24375 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24376 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24377 * math/test-fpucw-static.c: New file.
24378 * math/test-fpucw-ieee.c: New file.
24379 * math/test-fpucw-ieee-static.c: New file.
24380 * math/Makefile (tests): Add `test-fpucw-ieee' and
24381 `$(tests-static)'.
24382 (tests-static): New variable.
24383 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24384 dependency to...
24385 [($(build-shared),yes)]
24386 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24387 ... this.
24388 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24389 New dependency.
24390
83e43bf0
AM
243912013-09-09 Allan McRae <allan@archlinux.org>
24392
a9f5ce09
AM
24393 [BZ #15939]
24394 * manual/string.texi (Collation Functions): Fix typo in
24395 strcoll example.
24396 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24397
34829bc2
AM
24398 [BZ #15893]
24399 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24400
3932737d
AM
24401 [BZ #15892]
24402 * libio/memstream.c (open_memstream): Fix memory leak.
24403 * libio/wmemstream.c (open_wmemstream): Likewise.
24404
83e43bf0
AM
24405 [BZ #15895]
24406 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24407
0c66b8e9
WN
244082013-09-09 Will Newton <will.newton@linaro.org>
24409
24410 * malloc/Makefile: Add tst-realloc to tests.
24411 * malloc/tst-realloc.c: New file.
24412
f6b00fd1
AM
244132013-09-09 Allan McRae <allan@archlinux.org>
24414
24415 [BZ #15844]
24416 * COPYING: Update from GNU website to fix FSF address.
24417 * COPYING.LIB: Likewise.
24418
eec55e16
DM
244192013-09-06 David S. Miller <davem@davemloft.net>
24420
24421 * po/zh_TW.po: Update Chinese (traditional) translation from
24422 translation project.
24423
1ecbb381
RS
244242013-09-06 Richard Sandiford <richard@codesourcery.com>
24425 Joseph Myers <joseph@codesourcery.com>
24426
24427 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24428 "localeinfo.h".
24429 (obstack_chunk_alloc): New macro.
24430 (obstack_chunk_free): Likewise.
24431 (record_offset): New function.
24432 (init_locale_data): Likewise.
24433 (align_locale_data): Likewise.
24434 (add_locale_empty): Likewise.
24435 (add_locale_raw_data): Likewise.
24436 (add_locale_raw_obstack): Likewise.
24437 (add_locale_string): Likewise.
24438 (add_locale_wstring): Likewise.
24439 (add_locale_uint32): Likewise.
24440 (add_locale_uint32_array): Likewise.
24441 (add_locale_char): Likewise.
24442 (start_locale_structure): Likewise.
24443 (end_locale_structure): Likewise.
24444 (start_locale_prelude): Likewise.
24445 (end_locale_prelude): Likewise.
24446 (write_locale_data): Take locale_file structure rather than an
24447 iovec.
24448 * locale/programs/locfile.h: Include "obstack.h".
24449 (struct locale_file): Change to store locale file contents instead
24450 of header.
24451 (init_locale_data): New prototype.
24452 (align_locale_data): Likewise.
24453 (add_locale_empty): Likewise.
24454 (add_locale_raw_data): Likewise.
24455 (add_locale_raw_obstack): Likewise.
24456 (add_locale_string): Likewise.
24457 (add_locale_wstring): Likewise.
24458 (add_locale_uint32): Likewise.
24459 (add_locale_uint32_array): Likewise.
24460 (add_locale_char): Likewise.
24461 (start_locale_structure): Likewise.
24462 (end_locale_structure): Likewise.
24463 (start_locale_prelude): Likewise.
24464 (end_locale_prelude): Likewise.
24465 (write_locale_data): Update prototype.
24466 * locale/programs/3level.h (struct TABLE): Remove result field.
24467 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24468 Use new locale_file interface.
24469 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24470 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24471 * locale/programs/ld-address.c (address_output): Use new
24472 locale_file interface.
24473 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24474 NO_ADD_LOCALE.
24475 (collate_finish): Don't call collseq_table_finalize.
24476 (collate_output): Use new locale_file interface.
24477 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24478 in file.
24479 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24480 (TABLE): Move defines earlier in file.
24481 (ELEMENT): Likewise.
24482 (DEFAULT): Likewise.
24483 (wctrans_table_add): Move macro and inline function earlier in
24484 file.
24485 (struct wctype_table): Move type earlier in file.
24486 (add_locale_wctype_table): New static prototype.
24487 (struct locale_ctype_t): Use logical types instead of struct iovec
24488 pointers for members.
24489 (ctype_output): Use new locale_file interface.
24490 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24491 new locale_file interface.
24492 (allocate_arrays): Update for use of new locale_file interface.
24493 * locale/programs/ld-identification.c (identification_output): Use
24494 new locale_file interface.
24495 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24496 * locale/programs/ld-messages.c (messages_output): Likewise.
24497 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24498 * locale/programs/ld-name.c (name_output): Likewise.
24499 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24500 * locale/programs/ld-paper.c (paper_output): Likewise.
24501 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24502 * locale/programs/ld-time.c (time_output): Likewise.
24503
e029e2e5
AZ
245042013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24505
24506 * benchtests/Makefile: Add memrchr benchmark.
24507 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24508 benchmark as memrchr.
24509 * benchtests/bench-memrchr-ifunc.c: New file.
24510 * benchtests/bench-memrchr.c: New file.
24511
bbf6e8e4
WN
245122013-09-06 Will Newton <will.newton@linaro.org>
24513
24514 * benchtests/Makefile (string-bench): Add memcpy.
24515
6c82a2f8
CD
245162013-09-05 Carlos O'Donell <carlos@redhat.com>
24517 Cong Wang <amwang@redhat.com>
24518
e732c5f0 24519 [BZ #15850]
6c82a2f8
CD
24520 * sysdeps/unix/sysv/linux/bits/in.h
24521 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24522 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24523 before __USE_KERNEL_IPV6_DEFS uses.
24524 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24525 IPPROTO_BEETPH.
24526 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24527 sockaddr_in6, or ipv6_mreq.
24528
5430fc65
AZ
245292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24530
24531 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24532 memory access for final bytes in some large inputs.
24533 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24534
4660856c
AZ
245352013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24536
24537 * string/test-memrchr.c: New file.
24538 * string/test-memrchr-ifunc.c: New file.
24539 * string/Makefile: Add new memrchr testcase.
24540
bb8ea713
MF
245412013-09-05 Mike Frysinger <vapier@gentoo.org>
24542
24543 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24544 fanotify_init returns EPERM.
24545
b92a20b5
JM
245462013-09-04 Joseph Myers <joseph@codesourcery.com>
24547
24548 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24549 errors.
24550 (top level): Treat second token from macro or constant entries for
24551 allowed headers as allowed.
24552 * include/complex.h: Condition internal declarations on
24553 [!_ISOMAC].
24554 * include/fenv.h: Condition include of <stdbool.h> and internal
24555 declarations on [!_ISOMAC].
7447ccd9
CL
24556
245572013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24558
3e181dda 24559 [BZ #15923]
7447ccd9
CL
24560 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24561
3f2e46a4
JM
245622013-09-04 Joseph Myers <joseph@codesourcery.com>
24563
24564 * configure.in (--enable-versioning): Remove configure option.
24565 (libc_cv_asm_symver_directive): Remove configure test.
24566 (libc_cv_ld_version_script_option): Likewise.
24567 (VERSIONING): Remove variable and AC_SUBST.
24568 (DO_VERSIONING): Remove AC_DEFINE.
24569 * configure: Regenerated.
24570 * config.h.in (DO_VERSIONING): Remove macro.
24571 * Makerules [$(versioning) = yes]: Change conditionals to
24572 [$(build-shared) = yes].
24573 * config.make.in (versioning): Remove variable.
24574 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24575 [$(build-shared) = yes].
24576 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24577 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24578 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24579 [$(build-shared) = yes].
24580 * extra-lib.mk [$(versioning) = yes]: Likewise.
24581 * hurd/Makefile [$(versioning) = yes]: Likewise.
24582 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24583 [SHARED].
24584 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24585 [SHARED].
24586 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24587 [SHARED && !NO_HIDDEN].
24588 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24589 [SHARED].
24590 [SHARED && DO_VERSIONING]: Likewise..
24591 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24592 [$(build-shared) = yes].
24593 * manual/install.texi (--disable-versioning): Remove
24594 documentation.
24595 * INSTALL: Regenerated.
24596 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24597 to [SHARED].
24598 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24599 [$(build-shared) = yes].
24600 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24601 * sysdeps/i386/i686/multiarch/strstr-c.c
24602 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24603 [SHARED && !NO_HIDDEN].
24604 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24605 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24606 * sysdeps/powerpc/powerpc32/dl-machine.c
24607 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24608 * sysdeps/powerpc/powerpc32/sysdep.h
24609 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24610 to [SHARED && PIC && !NO_HIDDEN].
24611 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24612 conditional to [SHARED].
24613
44558701
WN
246142013-09-04 Will Newton <will.newton@linaro.org>
24615
24616 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24617 * benchtests/bench-string.h: Include bench-timing.h instead
24618 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24619 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24620 call to HP_TIMING_DIFF_INIT.
24621 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24622 instead of hp-timing.h macros.
24623 * benchtests/bench-memchr.c: Likewise.
24624 * benchtests/bench-memcmp.c: Likewise.
24625 * benchtests/bench-memcpy.c: Likewise.
24626 * benchtests/bench-memmem.c: Likewise.
24627 * benchtests/bench-memmove.c: Likewise.
24628 * benchtests/bench-memset.c: Likewise.
24629 * benchtests/bench-rawmemchr.c: Likewise.
24630 * benchtests/bench-strcasecmp.c: Likewise.
24631 * benchtests/bench-strcasestr.c: Likewise.
24632 * benchtests/bench-strcat.c: Likewise.
24633 * benchtests/bench-strchr.c: Likewise.
24634 * benchtests/bench-strcmp.c: Likewise.
24635 * benchtests/bench-strcpy.c: Likewise.
24636 * benchtests/bench-strcpy_chk.c: Likewise.
24637 * benchtests/bench-strlen.c: Likewise.
24638 * benchtests/bench-strncasecmp.c: Likewise.
24639 * benchtests/bench-strncat.c: Likewise.
24640 * benchtests/bench-strncmp.c: Likewise.
24641 * benchtests/bench-strncpy.c: Likewise.
24642 * benchtests/bench-strnlen.c: Likewise.
24643 * benchtests/bench-strpbrk.c: Likewise.
24644 * benchtests/bench-strrchr.c: Likewise.
24645 * benchtests/bench-strspn.c: Likewise.
24646 * benchtests/bench-strstr.c: Likewise.
24647
cae16d66
WN
246482013-09-04 Will Newton <will.newton@linaro.org>
24649
24650 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24651
ffa3cd7f
JM
246522013-09-03 Joseph Myers <joseph@codesourcery.com>
24653
24654 [BZ #15427]
24655 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24656 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24657 * math/libm-test.inc (lgamma_test_data): Add more tests.
24658 * sysdeps/i386/fpu/libm-test-ulps: Update.
24659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24660
8f02859f
OB
246612013-09-03 Ondřej Bílka <neleai@seznam.cz>
24662
24663 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24665 Add ifunc.
24666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24667 Add strcmp-sse2-unaligned
24668 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24669
18d43716
MF
246702013-09-02 Mike Frysinger <vapier@gentoo.org>
24671
24672 * Versions.def (libc): Add GLIBC_2.19.
24673
ac444012
MF
246742013-09-02 Mike Frysinger <vapier@gentoo.org>
24675
24676 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24677 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24678
b7835e32
JM
246792013-09-02 Joseph Myers <joseph@codesourcery.com>
24680
24681 [BZ #14155]
24682 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24683 intermediate calculations in recurrence.
24684 (__ieee754_ynf): Likewise.
24685 * math/libm-test.inc (jn_test_data): Do not allow spurious
24686 underflow exception. Add more tests.
24687 (yn_test_data): Add more tests.
24688 * sysdeps/i386/fpu/libm-test-ulps: Update.
24689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24690
8220f4f0
OB
246912013-09-02 Ondřej Bílka <neleai@seznam.cz>
24692
24693 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24694
f24a6d08
OB
246952013-08-30 Ondřej Bílka <neleai@seznam.cz>
24696
24697 * csu/init-first.c: Fix then/than typos.
24698 * locale/programs/ld-collate.c: Likewise.
24699 * locale/programs/linereader.h: Likewise.
24700 * manual/charset.texi: Likewise.
24701 * manual/filesys.texi: Likewise.
24702 * manual/stdio.texi: Likewise.
24703 * manual/string.texi: Likewise.
24704 * stdlib/fmtmsg.c: Likewise.
24705 * sysdeps/i386/stpncpy.S: Likewise.
24706 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24707 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24708 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24709 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24710
382466e0
OB
247112013-08-30 Ondřej Bílka <neleai@seznam.cz>
24712
24713 * elf/dl-open.c: Fix typos.
24714 * iconvdata/gbbig5.c: Likewise.
24715 * iconvdata/iso-2022-jp.c: Likewise.
24716 * iconv/gconv_int.h: Likewise.
24717 * iconv/loop.c: Likewise.
24718 * nis/rpcsvc/nis.h: Likewise.
24719 * resolv/ns_name.c: Likewise.
24720 * stdio-common/vfscanf.c: Likewise.
24721 * streams/stropts.h: Likewise.
24722 * sunrpc/rpc_thread.c: Likewise.
24723 * sysdeps/i386/strpbrk.S: Likewise.
24724 * sysdeps/ieee754/k_standard.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24727 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24728 * sysdeps/mach/hurd/profil.c: Likewise.
24729 * sysdeps/s390/dl-procinfo.h: Likewise.
24730 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24731 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24732 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24733 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24734 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24735
0186c6e9
OB
247362013-08-30 Ondřej Bílka <neleai@seznam.cz>
24737
24738 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24740
d4e16af1
OB
247412013-08-29 Ondřej Bílka <neleai@seznam.cz>
24742
24743 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24744 aix specific files.
24745 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24746 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24747 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24748 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24749 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24750 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24751 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24752 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24753
88335980
TS
247542013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24755 Roland McGrath <roland@hack.frob.com>
24756
24757 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24758 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24759
ed479b02
ST
247602013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24761
24762 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24763 __executable_start symbol instead of _start.
24764
f1cc4c86
TS
247652013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24766
d821f07c
TS
24767 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24768 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24769 Move macros to...
24770 * sysdeps/gnu/ldsodefs.h: ... this new file.
24771
c54290cf
TS
24772 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24773 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24774 instead of ELFOSABI_LINUX.
24775
0007fc9b 24776 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24777 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24778 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24779 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24780 Likewise.
24781 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24782 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24783 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24784 Likewise.
24785 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24786 (ibm_extended_long_double): Add ieee_nan member.
24787 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24788 (do_test): New function.
24789
f1cc4c86
TS
24790 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24791 TEST_TRUNC.
24792 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24793 functions, renamed from truncdfsf_test, trunctfsf_test,
24794 trunctfdf_test.
24795 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24796 functions.
24797 (do_test): Run all these.
24798
6f65e668
OB
247992013-08-29 Ondřej Bílka <neleai@seznam.cz>
24800
24801 * argp/argp-help.c: Fix typos.
24802 * argp/argp-parse.c: Likewise.
24803 * debug/backtracesyms.c: Likewise.
24804 * elf/elf.h: Likewise.
24805 * malloc/malloc.c: Likewise.
24806 * nis/nis_print.c: Likewise.
24807 * resolv/res_comp.c: Likewise.
24808 * stdlib/stdlib.h: Likewise.
24809 * sunrpc/clnt_tcp.c: Likewise.
24810 * sunrpc/clnt_udp.c: Likewise.
24811 * sunrpc/clnt_unix.c: Likewise.
24812 * sysdeps/unix/bsd/ptsname.c: Likewise.
24813 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24814 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24816 Likewise.
24817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24818 Likewise.
24819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24820 Likewise.
6f65e668
OB
24821 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24822
3a309239
SP
248232013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24824
24825 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24827
3b813b29
MF
248282013-08-27 Mike Frysinger <vapier@gentoo.org>
24829
24830 [BZ #15897]
24831 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24832 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24833 ($(objpfx)bug-dl-leaf): New rule.
24834 ($(objpfx)bug-dl-leaf.so): Likewise.
24835 ($(objpfx)bug-dl-leaf.out): Likewise.
24836 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24837 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24838 * dlfcn/bug-dl-leaf.c: New test.
24839 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24840 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24841 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24842 (dlclose): Likewise.
24843 (dlmopen): Likewise.
24844
8cc3269f
RM
248452013-08-27 Roland McGrath <roland@hack.frob.com>
24846
7f9d0034
RM
24847 * include/netdb.h [!_ISOMAC]:
24848 Don't include <tls.h>.
24849 (h_errno, __libc_h_errno): Move declaration and macros out of
24850 [_LIBC_REENTRANT].
24851
fb431262
RM
24852 * include/resolv.h [_RESOLV_H_]:
24853 Don't include <tls.h>.
24854 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24855 * resolv/res_libc.c: Don't include <tls.h>.
24856 (_res): Use __attribute__ ((nocommon)) in place of
24857 __attribute__ ((section (".bss"))).
24858
bd81123a
RM
24859 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24860 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24861
c4e42566
RM
24862 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24863
f890a59b
RM
24864 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24865 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24866
24867 * resolv/res_mkquery.c: Include <sys/time.h>.
24868
5d1f0a09
RM
24869 * inet/ifreq.c: Moved to ...
24870 * sysdeps/unix/ifreq.c: ... here.
24871 * inet/ifreq.c: New file, true stub version.
24872
6fcf28b3
RM
24873 * socket/sa_len.c: New file.
24874 * socket/Makefile (aux): Add it.
24875 * sysdeps/unix/sysv/linux/Makefile
24876 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24877 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24878 and #include <socket/sa_len.c>.
24879 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24880 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24881
e041fb8b
RM
24882 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24883 * bits/socket.h: ... here.
24884
8cc3269f
RM
24885 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24886 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24887 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24888
5d228a43
AS
248892013-08-27 Andreas Schwab <schwab@suse.de>
24890
45b8accc
AS
24891 [BZ #15736]
24892 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24893 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24894 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24895 * string/test-strcasecmp.c (test_main): Run tests in several
24896 locales.
24897 * string/test-strncasecmp.c (test_main): Likewise.
24898
5d228a43
AS
24899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24900 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24901 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24903 (__strncasecmp_ssse3) [PIC]: Likewise.
24904
59d112a4
RM
249052013-08-26 Roland McGrath <roland@hack.frob.com>
24906
53234cc3
RM
24907 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24908
59d112a4
RM
24909 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24910 instead of explicitly declaring xdecrypt.
24911 * nis/nss_nis/nis-publickey.c: Likewise.
24912
595aba70
SP
249132013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24914
24915 [BZ #15890]
24916 * nscd/aicache.c: Include res_hconf.h.
24917 (addhstaiX): Initialize res_hconf.
24918
ffabd393
AS
249192013-08-26 Andreas Schwab <schwab@suse.de>
24920
24921 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24922 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24923
e0a69f5c
SP
249242013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24925
24926 * nscd/aicache.c (addhstaiX): Fix indentation.
24927
8c12f01d
MF
249282013-08-25 Mike Frysinger <vapier@gentoo.org>
24929
24930 * configure.ac: Quote $build_pt_chown test.
24931 * configure: Regenerated.
24932
8fe89494
JM
249332013-08-23 Joseph Myers <joseph@codesourcery.com>
24934
24935 [BZ #15532]
24936 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24937 * math/s_cexpf.c (__cexpf): Likewise.
24938 * math/s_cexpl.c (__cexpl): Likewise.
24939 * math/libm-test.inc (cexp_test_data): Correct expected return
24940 value for NaN + i0. Add another test.
24941
75b181d6
DM
249422013-08-22 David S. Miller <davem@davemloft.net>
24943
24944 * po/ca.po: Update Catalan translation from translation project.
936241e4 24945 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24946
acd06bb1
JM
249472013-08-21 Joseph Myers <joseph@codesourcery.com>
24948
24949 [BZ #15797]
24950 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24951 is infinite, not alongside NaN test.
24952 * math/s_fdimf.c (__fdimf): Likewise.
24953 * math/s_fdiml.c (__fdiml): Likewise.
24954 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24955 errno is unchanged.
24956
c0c3f78a
OB
249572013-08-21 Ondřej Bílka <neleai@seznam.cz>
24958
24959 * argp/argp-help.c: Fix typos.
24960 * crypt/speeds.c: Likewise.
24961 * csu/check_fds.c: Likewise.
24962 * elf/dl-load.c: Likewise.
24963 * elf/dl-open.c: Likewise.
24964 * elf/reldep3.c: Likewise.
24965 * elf/reldep.c: Likewise.
24966 * elf/sprof.c: Likewise.
24967 * iconv/iconv_charmap.c: Likewise.
24968 * iconv/skeleton.c: Likewise.
24969 * iconv/strtab.c: Likewise.
24970 * io/lockf64.c: Likewise.
24971 * libio/libioP.h: Likewise.
24972 * resolv/gai_notify.c: Likewise.
24973 * resolv/ns_name.c: Likewise.
24974 * resolv/ns_samedomain.c: Likewise.
24975 * resolv/res_send.c: Likewise.
24976 * stdlib/random.c: Likewise.
24977 * sunrpc/rpc/xdr.h: Likewise.
24978 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24980 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24981 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24982 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24983 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24985 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24986 * sysdeps/mach/hurd/check_fds.c: Likewise.
24987 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24988 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24990 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24991 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24992 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24993 * sysdeps/pthread/aio_notify.c: Likewise.
24994 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24995 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24996 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24998 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24999
46ed1038
LD
250002013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25001
25002 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25003 version if bit_Slow_SSE4_2 is set.
25004 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25006
d400dcac
AZ
250072013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25008
25009 [BZ #15867]
25010 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25011 trampoline stack frame information.
25012 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25013 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25014 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25015 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25016 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25017 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25018 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25019 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25020 sa_flags value.
25021 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25022 interrupting a syscall and set with option SA_SIGINFO.
25023
42c8fdd8
JM
250242013-08-20 Joseph Myers <joseph@codesourcery.com>
25025
c980f2f4
JM
25026 [BZ #15531]
25027 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25028 argument is infinite.
25029 * math/s_cprojf.c (__cprojf): Likewise.
25030 * math/s_cprojl.c (__cprojl): Likewise.
25031 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25032 * math/libm-test.inc (cproj_test_data): Add more tests.
25033
0716c4fc
JM
25034 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25035
42c8fdd8
JM
25036 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25037 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25038 size. Use __ffs to determine corresponding shift.
25039
b31469d0
JM
250402013-08-20 Joseph Myers <joseph@codesourcery.com>
25041 Roland McGrath <roland@hack.frob.com>
25042
25043 * Makefile (INSTALL): Remove trailing blank lines from output of
25044 makeinfo.
25045
4e39af6e
AK
250462013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25047
25048 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25049 Align 32 bit compat elf_greg to 8 bytes.
25050
f315524e
AA
250512013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25052
25053 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25054
1326ba1a
SP
250552013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25056
25057 * string/strcoll_l.c (coll_seq): New structure.
25058 (get_next_seq_cached): New function.
25059 (get_next_seq): New function.
25060 (do_compare): New function.
25061 (STRCOLL): Use GNU style definition. Simplify implementation
25062 by using get_next_seq, get_next_seq_cached and do_compare.
25063
91ce4085
FW
250642013-08-16 Florian Weimer <fweimer@redhat.com>
25065
25066 [BZ #14699]
25067 CVE-2013-4237
25068 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25069 member.
25070 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25071 member.
25072 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25073 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25074 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25075 conditional.
25076 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25077 GETDENTS_64BIT_ALIGNED.
25078 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25079 * manual/filesys.texi (Reading/Closing Directory): Document
25080 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25081 strongly.
25082 * manual/conf.texi (Limits for Files): Add portability note to
25083 NAME_MAX, PATH_MAX.
25084 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25085
ca0a6bc4
AS
250862013-08-13 Andreas Schwab <schwab@suse.de>
25087
25088 [BZ #15749]
25089 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25090 of fabs.
25091 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25092 LDBL_MAX_EXP >= 16384]: Add tests for it.
25093
6c1fd795
DM
250942013-08-12 David S. Miller <davem@davemloft.net>
25095
25096 * version.h (RELEASE): Set to "development".
25097 (VERSION): Set to "2.18.90".
25098 * NEWS: Add 2.19 section.
25099
31ad488d
DM
251002013-08-03 David S. Miller <davem@davemloft.net>
25101
25102 * po/ko.po: Update Korean translation from translation project.
25103
db24e684
DM
251042013-08-01 David S. Miller <davem@davemloft.net>
25105
25106 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25107 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25108 Bilka.
25109
f723285b
DM
251102013-07-30 David S. Miller <davem@davemloft.net>
25111
25112 * po/fr.po: Update French translation from translation project.
25113
3cbc52db
DM
251142013-07-28 David S. Miller <davem@davemloft.net>
25115
30bbc0cc
DM
25116 * po/cs.po: Update Czech translation from translation project.
25117
3cbc52db
DM
25118 * po/sv.po: Update Swedish translation from translation project.
25119
d492e6d0
DM
251202013-07-27 David S. Miller <davem@davemloft.net>
25121
f1a7f492
DM
25122 * po/eo.po: Update Esperanto translation from translation project.
25123
90e62a4a
DM
25124 * po/vi.po: Update Vietnamese translation from translation project.
25125
d492e6d0
DM
25126 * po/de.po: Update German translation from translation project.
25127
d4baa62d
DM
251282013-07-26 David S. Miller <davem@davemloft.net>
25129
641aa7b4
DM
25130 * po/bg.po: Update Bulgarian translation from translation project.
25131
d4baa62d
DM
25132 * po/nl.po: Update Dutch translation from translation project.
25133 * po/pl.po: Update Polish translation from translation project.
25134 * po/ru.po: Update Russian translation from translation project.
25135
61a9dcb9
DM
251362013-07-24 David S. Miller <davem@davemloft.net>
25137
25138 * po/libc.pot: Update.
25139
7b1f8b58
AZ
251402013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25141
25142 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25143 variable page size.
25144 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25145 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25146 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25147
a8fc7a03
AK
251482013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25149
25150 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25151
e4608715
CD
251522013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25153 Andreas Schwab <schwab@suse.de>
25154 Roland McGrath <roland@hack.frob.com>
25155 Joseph Myers <joseph@codesourcery.com>
25156 Carlos O'Donell <carlos@redhat.com>
25157
25158 [BZ #15755]
25159 * config.h.in: Define HAVE_PT_CHOWN.
25160 * config.make.in (build-pt-chown): New variable.
25161 * configure.in (--enable-pt_chown): New configure option.
25162 * configure: Regenerate.
25163 * login/Makefile: Include Makeconfig. Build pt_chown only if
25164 build-pt-chown is enabled.
25165 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25166 pt_chown to fix pty ownership.
25167 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25168 CLOSE_ALL_FDS.
25169 * manual/install.texi (Configuring and compiling): Mention
25170 --enable-pt_chown. Add @findex for grantpt.
25171 * INSTALL: Regenerate.
25172
da2d62df
DM
251732013-07-20 David S. Miller <davem@davemloft.net>
25174
25175 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25176 difference between 32-bit and 64-bit.
25177
d7e06450
CD
251782013-07-15 Carlos O'Donell <carlos@redhat.com>
25179
25180 [BZ #15711]
25181 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25182 Avoid system header dependency with -ffreestanding.
25183 ($(objpfx)bits/syscall%d): Likewise.
25184
f959cfd7
DM
251852013-07-13 David S. Miller <davem@davemloft.net>
25186
25187 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25188 underflows from atanl/atan2l due to bug 15319.
25189 (casinh_test_data): Likewise.
25190
c61f8513
DM
251912013-07-07 David S. Miller <davem@davemloft.net>
25192
25193 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25194
72c90ed0
JA
251952013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25196
25197 * sysdeps/i386/fpu/libm-test-ulps: Update.
25198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25199
52dfbe13
SP
252002013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25201
25202 * configure.in (--enable-lock-elision): Fix message text.
25203 * INSTALL: Regenerate.
25204 * configure: Regenerate.
25205
3f169543
AZ
252062013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25207
25208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25209
521c6785
AJ
252102013-07-03 Andreas Jaeger <aj@suse.de>
25211
25212 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25213 define.
25214 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25215 (ptrace_peeksiginfo_args): Add.
25216 (__ptrace_peeksiginfo_flags): Add.
25217 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25218 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25219 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25220
d2cc15cb
AM
252212013-07-03 Allan McRae <allan@archlinux.org>
25222
25223 * sysdeps/i386/fpu/libm-test-ulps: Update.
25224
3aaeeca7
DM
252252013-07-02 David S. Miller <davem@davemloft.net>
25226
25227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25228
5314ed1a
MT
252292013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25230
25231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25232
67338156
JM
252332013-07-02 Joseph Myers <joseph@codesourcery.com>
25234
25235 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25237
1717da59
AK
252382013-07-02 Andi Kleen <ak@linux.intel.com>
25239
25240 * config.h.in (ENABLE_LOCK_ELISION): Add.
25241 * configure.in (--enable-lock-elision): Add option.
25242 * manual/install.texi: Document --enable lock elision.
25243 * configure: Regenerate
25244 * INSTALL: Regenerate.
25245
1c81621c
L
252462013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25247
25248 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25249 SSE4.2 strcasecmp for libc.a.
25250 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25251
77f01ab5
JM
252522013-07-02 Joseph Myers <joseph@codesourcery.com>
25253
25254 [BZ #13304]
25255 * soft-fp/op-common.h (_FP_FMA): New macro.
25256 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25257 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25258 (_FP_MUL_MEAT_1_imm): ... here.
25259 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25260 (_FP_MUL_MEAT_1_wide): ... here.
25261 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25262 (_FP_MUL_MEAT_1_hard): ... here.
25263 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25264 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25265 (_FP_MUL_MEAT_2_wide): ... here.
25266 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25267 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25268 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25269 (_FP_MUL_MEAT_2_gmp): ... here.
25270 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25271 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25272 (_FP_MUL_MEAT_4_wide): ... here.
25273 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25274 (_FP_MUL_MEAT_4_gmp): ... here.
25275 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25276 (_FP_WFRACBITS_DW_S): Likewise.
25277 (_FP_WFRACXBITS_DW_S): Likewise.
25278 (_FP_HIGHBIT_DW_S): Likewise.
25279 (FP_FMA_S): Likewise.
25280 (_FP_FRAC_HIGH_DW_S): Likewise.
25281 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25282 (_FP_WFRACBITS_DW_D): Likewise.
25283 (_FP_WFRACXBITS_DW_D): Likewise.
25284 (_FP_HIGHBIT_DW_D): Likewise.
25285 (FP_FMA_D): Likewise.
25286 (_FP_FRAC_HIGH_DW_D): Likewise.
25287 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25288 (_FP_WFRACBITS_DW_E): Likewise.
25289 (_FP_WFRACXBITS_DW_E): Likewise.
25290 (_FP_HIGHBIT_DW_E): Likewise.
25291 (FP_FMA_E): Likewise.
25292 (_FP_FRAC_HIGH_DW_E): Likewise.
25293 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25294 (_FP_WFRACBITS_DW_Q): Likewise.
25295 (_FP_WFRACXBITS_DW_Q): Likewise.
25296 (_FP_HIGHBIT_DW_Q): Likewise.
25297 (FP_FMA_Q): Likewise.
25298 (_FP_FRAC_HIGH_DW_Q): Likewise.
25299 * soft-fp/fmasf4.c: New file.
25300 * soft-fp/fmadf4.c: Likewise.
25301 * soft-fp/fmatf4.c: Likewise.
25302
6308fd9a
LD
253032013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25304
25305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25306 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25307 Silvermont.
25308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25309 macro.
25310 (index_Slow_SSE4_2): Likewise.
25311 (index_Prefer_PMINUB_for_stringop): Likewise.
25312 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25313 bit_Slow_SSE4_2 is set.
25314 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25315 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25316
89cd9569
RA
253172013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25318
25319 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25320 rtld_global._dl_hwcap2.
25321 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25322 POWER8.
25323 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25324 POWER8 feature descriptions defined in _dl_hwcap2.
25325 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25326 string handling for POWER8 feature bits.
25327 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25328 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25329 _dl_powerpc_cap_flags.
25330 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25331 * sysdeps/powerpc/rtld-global-offsets.sym
25332 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25333 _dl_hwcap2 in the rtld_global_ro structure.
25334
1ae8bfe0
RA
253352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25336
25337 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25338 hardware capabilities in support of AT_HWCAP2.
25339 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25340 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25341 GLRO(dl_hwcap2).
25342 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25343 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25344 explicitly the unknown a_type display mechanism is used.
25345 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25346 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25347 struct member.
25348 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25349 to macro prototype for AT_HWCAP2 support.
25350 * sysdeps/i386/dl-procinfo.h: Likewise.
25351 * sysdeps/s390/dl-procinfo.h: Likewise.
25352 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25353 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25354 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25355 return -1 for unknown a_type display fallback.
25356 * sysdeps/sparc/dl-procinfo.h: Likewise.
25357 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25358 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25359
8fbec010
JM
253602013-06-28 Joseph Myers <joseph@codesourcery.com>
25361
25362 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25363 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25364
0432680e
PY
253652013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25366
25367 [BZ #12492]
25368 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25369 mprotect making __stack_prot writable.
25370
ce61a2ad
NF
253712013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25372 Joseph Myers <joseph@codesourcery.com>
25373
25374 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25375 as being properly aligned.
25376
f91f1c0f
MR
253772013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25378
3d0f5d0c
MR
25379 * dlfcn/modstatic5.c: New file.
25380 * dlfcn/tststatic5.c: New file.
25381 * dlfcn/Makefile (tests): Add tststatic5.
25382 (tests-static): Likewise.
25383 (modules-names): Add modstatic5.
25384 (tststatic5-ENV): New variable.
25385 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25386
f91f1c0f
MR
25387 [BZ #15022]
25388 * elf/dl-support.c (_dl_main_map): New variable.
25389 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25390 (_dl_nns, _dl_load_adds): Set to 1.
25391 (_dl_initial_searchlist): Refer to _dl_main_map.
25392 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25393 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25394 call to _dl_get_origin.
25395 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25396 around call_map.
25397 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25398 * dlfcn/modstatic3.c: New file.
25399 * dlfcn/tststatic3.c: New file.
25400 * dlfcn/tststatic4.c: New file.
25401 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25402 (tests-static): Likewise.
25403 (modules-names): Add modstatic3.
25404 (tststatic3-ENV, tststatic4-ENV): New variables.
25405 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25406 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25407
cbe7d24b
JM
254082013-06-26 Joseph Myers <joseph@codesourcery.com>
25409
25410 * configure.in (CC): Require GCC version 4.4 or later.
25411 * configure: Regenerated.
25412 * manual/install.texi (Tools for Compilation): Update GCC version
25413 requirement.
25414 * INSTALL: Regenerated.
25415
11b8a0e1
LD
254162013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25417
25418 [BZ #15674]
bb5bb87c
L
25419 * string/test-memcmp.c (check2): New.
25420 (main): Call check2.
25421
11b8a0e1
LD
25422 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25423
b0037103
MR
254242013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25425
25426 [BZ #15022]
25427 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25428 over to...
25429 (dl_open_worker) [!SHARED]: ... here.
25430
c18c701d
RA
254312013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25432
25433 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25434
1d17fa5f
RH
254352013-06-25 Richard Henderson <rth@redhat.com>
25436
25437 * locale/programs/locarchive.c: Include <libc-internal.h>
25438
8fcb833a
JM
254392013-06-25 Joseph Myers <joseph@codesourcery.com>
25440
25441 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25442 trailing whitespace removed.
25443
17db6e8d
MF
254442013-06-24 Mike Frysinger <vapier@gentoo.org>
25445
25446 [BZ #10283]
17db6e8d
MF
25447 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25448 * locale/programs/locarchive.c: Include libc-mmap.h.
25449 (prepare_address_space): Take two new outputs (the mmap base and len).
25450 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25451 values.
25452 (create_archive): Declare new mmap base and len values for
25453 prepare_address_space, and store the result in ah.
25454 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25455 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25456 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25457 Declare new mmap base and len values for
25458 prepare_address_space, and store the result in new_ah.
25459 (open_archive): Declare new mmap base and len values for
25460 prepare_address_space, and store the result in ah.
25461 (close_archive): If ah->mmap_base is not NULL, use that and
25462 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25463 * sysdeps/generic/libc-mmap.h: New file.
25464
d605071e
MF
254652013-06-24 Mike Frysinger <vapier@gentoo.org>
25466
25467 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25468 (ALIGN_UP): Likewise.
25469 (PTR_ALIGN_DOWN): Likewise.
25470 (PTR_ALIGN_UP): Likewise.
25471
2f063a6e
RA
254722013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25473
25474 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25475 entry mapped to PPC_PLATFORM_POWER8.
25476 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25477 POWER8.
25478 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25479 (_dl_string_platform): Add case for exporting platform position for
25480 POWER8.
25481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25482 search path to sysdeps/powerpc/powerpc32/power8 directory.
25483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25484 search path to sysdeps/powerpc/powerpc64/power8 directory.
25485 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25486 power7 directories.
25487 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25488 power7 directories.
25489
a31ee4b3
SP
254902013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25491
a74ca98f
SP
25492 * INSTALL: Regenerate.
25493
a31ee4b3
SP
25494 * nscd/connections.c (nscd_init): Fix comment.
25495
695c378f
JM
254962013-06-22 Joseph Myers <joseph@codesourcery.com>
25497
d8412221
JM
25498 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25499
695c378f
JM
25500 [BZ #15667]
25501 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25502 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25503
d1d54715
MR
255042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25505
25506 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25507 DL_DST_REQ_STATIC.
25508 (DL_DST_REQ_STATIC): Remove macro.
25509
8fdda7af
JM
255102013-06-21 Joseph Myers <joseph@codesourcery.com>
25511
25512 [BZ #7006]
25513 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25514 with a shift of 0 bits.
25515
f3bc5e5a
MR
255162013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25517
25518 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25519 $(tststatic-ENV).
25520
be09e8c9
KK
255212013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25522
25523 [BZ #15655]
25524 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25525
85c2e611
AZ
255262013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25527
25528 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25529 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25530 accepts -fno-tree-loop-distribute-patterns.
25531 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25532 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25533 recursive call.
25534 * string/memset.c (memset): Likewise.
25535 * string/test-memmove.c (simple_memmove): Disable loop transformation
25536 to library calls.
25537 * string/test-memset.c (simple_memset): Likewise.
25538 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25539 * benchtests/bench-memset.c (simple_memset): Likewise.
25540 * configure: Regenerated.
25541
c91e0825
JM
255422013-06-20 Joseph Myers <joseph@codesourcery.com>
25543
b8c792af
JM
25544 * math/test-misc.c (main): Ignore fesetround failure when failures
25545 of subsequent rounding tests would be ignored.
25546
c91e0825
JM
25547 [BZ #15654]
25548 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25549 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25550 * math/fegetenv.c (__fegetenv): Return 0.
25551 * math/fegetexcept.c (fegetexcept): Return 0.
25552 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25553 FE_TONEAREST.
25554 * math/feholdexcpt.c (feholdexcept): Return 0.
25555 * math/fesetenv.c (__fesetenv): Return 0.
25556 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25557 argument FE_TONEAREST.
25558 * math/feupdateenv.c (__feupdateenv): Return 0.
25559 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25560
bfcacbde
RM
255612013-06-18 Roland McGrath <roland@hack.frob.com>
25562
25563 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25564 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25565 ($(objpfx)rtld-%.os rules): Use them.
25566
e55a9b25
AZ
255672013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25568
25569 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25570 fields.
25571
346d65b3
RM
255722013-06-17 Roland McGrath <roland@hack.frob.com>
25573
12086fb4
RM
25574 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25575 length of target pattern, then descending length of dependency pattern.
25576 * configure.in (AWK): Require gawk 3.1.2 or newer.
25577 * manual/install.texi (Tools for Compilation): Say that we do.
25578 * configure: Regenerated.
25579
346d65b3
RM
25580 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25581 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25582 * scripts/sysd-rules.awk: ... this new script.
25583 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25584 than a glob-style pattern.
25585
1a846317
JM
255862013-06-17 Joseph Myers <joseph@codesourcery.com>
25587
25588 * math/test-misc.c (main): Do not treat incorrectly rounded
25589 conversions as failure unless ROUNDING_TESTS passes.
25590
8fc75e6f
JM
255912013-06-15 Joseph Myers <joseph@codesourcery.com>
25592
3711a167
JM
25593 [BZ #15631]
25594 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25595 restore exception state around main square root computation, then
25596 check for inexactness explicitly.
25597
8fc75e6f
JM
25598 * math/libm-test.inc (fma_test_data): Add another test.
25599
61dd6208
SP
256002013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25601
adf23d2c
SP
25602 * manual/threads.texi (Non-POSIX Extensions): New document
25603 node. Document pthread_getattr_default_np and
25604 pthread_setattr_default_np.
25605
61dd6208
SP
25606 * Versions.def (libpthread): Add GLIBC_2.18.
25607 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25609 Likewise.
25610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25611 Likewise.
25612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25613 Likewise.
25614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25615 Likewise.
25616 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25617 Likewise.
25618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25619 Likewise.
25620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25621 Likewise.
25622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25623 Likewise.
25624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25625 Likewise.
25626
d086fc7b
LD
256272013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25628
25629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25630 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25631
747ef469
SP
256322013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25633 H.J. Lu <hjl.tools@gmail.com>
25634
25635 [BZ #15627]
25636 * sysdeps/x86_64/rtld-memset.c: Remove file.
25637 * sysdeps/x86_64/rtld-memset.S: New file.
25638
1b2feed2
JM
256392013-06-14 Joseph Myers <joseph@codesourcery.com>
25640
25641 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25642 (test_in_one_mode): Take arguments for whether the rounding mode
25643 is supported for each floating-point type.
25644 (do_test): Pass new arguments to test_in_one_mode using
25645 ROUNDING_TESTS.
25646
a58ad3f8
RM
256472013-06-13 Roland McGrath <roland@hack.frob.com>
25648
25649 * posix/tst-waitid.c (do_test): Distinguish different instances of
25650 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25651 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25652 before entering the kernel for waitpid.
25653
c204ab28
SP
256542013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25655
25656 * NEWS: Fix note on clock function precision. Text by Roland
25657 McGrath.
25658
f4a29fba
RM
256592013-06-13 Roland McGrath <roland@hack.frob.com>
25660
25661 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25662 it into place only when and if the sanity check passes.
25663
1f24b9ad
JM
256642013-06-13 Joseph Myers <joseph@codesourcery.com>
25665
25666 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25667 output for whether conversion result is exact. Take argument
25668 indicating whether type is IBM long double.
25669 (round_for_all): Change need_exact field to ibm_ld.
25670 * stdlib/tst-strtod-round.c (struct exactness): New type.
25671 (struct test): Change bool ld_ok field to struct exactness exact.
25672 (TEST): Update all definitions for change to field.
25673 (tests): Regenerate array contents.
25674 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25675 field value. Check for IBM long double here.
25676 (do_test): Update calls to test_in_one_mode.
25677
58206c68
SP
256782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25679
25680 [BZ #12515]
25681 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25682 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25683
2d6f4c5b 256842013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25685
25686 [BZ #15605]
25687 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25688 generated by the compiler on loop optimizations.
25689 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25690 general definitions.
25691
94f2c076
JM
256922013-06-12 Joseph Myers <joseph@codesourcery.com>
25693
25694 * math/bug-nextafter.c: Include <math-tests.h>.
25695 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25696 the relevant type.
25697 * math/bug-nexttoward.c: Include <math-tests.h>.
25698 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25699 the relevant type.
25700 * math/test-misc.c: Include <math-tests.h>.
25701 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25702 the relevant type.
25703
e0e50a0a
AJ
257042013-06-12 Andreas Jaeger <aj@suse.de>
25705
25706 * po/ia.po: Update Interlingua translation from translation
25707 project.
25708
25061094
SP
257092013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25710
25711 * include/fenv.h: Include stdbool.h.
25712 (struct rm_ctx): New structure.
25713 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25714 Define macro.
25715 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25716 (SET_RESTORE_ROUNDF): Likewise.
25717 (SET_RESTORE_ROUNDL): Likewise.
25718 (SET_RESTORE_ROUND_NOEX): Likewise.
25719 (SET_RESTORE_ROUND_NOEXF): Likewise.
25720 (SET_RESTORE_ROUND_NOEXL): Likewise.
25721 (SET_RESTORE_ROUND_53BIT): Likewise.
25722 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25723 (libc_feresetround_noexf_ctx): Likewise.
25724 (libc_feresetround_noexl_ctx): Likewise.
25725 (libc_feholdsetround_53bit_ctx): Likewise.
25726 (libc_feresetround_53bit_ctx): Likewise.
25727 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25728 (libc_feholdexcept_setround_sse_ctx): New function.
25729 (libc_fesetenv_sse_ctx): Likewise.
25730 (libc_feupdateenv_sse_ctx): Likewise.
25731 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25732 (libc_feholdexcept_setround_387_ctx): Likewise.
25733 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25734 (libc_feholdsetround_387_prec_ctx): Likewise.
25735 (libc_feholdsetround_387_ctx): Likewise.
25736 (libc_feholdsetround_387_53bit_ctx): Likewise.
25737 (libc_feholdsetround_sse_ctx): Likewise.
25738 (libc_feresetround_sse_ctx): Likewise.
25739 (libc_feresetround_387_ctx): Likewise.
25740 (libc_feupdateenv_387_ctx): Likewise.
25741 (libc_feholdexcept_setroundf_ctx): Define macro.
25742 (libc_fesetenvf_ctx): Likewise.
25743 (libc_feupdateenvf_ctx): Likewise.
25744 (libc_feholdsetroundf_ctx): Likewise.
25745 (libc_feresetroundf_ctx): Likewise.
25746 (libc_feholdexcept_setround_ctx): Likewise.
25747 (libc_fesetenv_ctx): Likewise.
25748 (libc_feupdateenv_ctx): Likewise.
25749 (libc_feholdsetround_ctx): Likewise.
25750 (libc_feresetround_ctx): Likewise.
25751 (libc_feholdexcept_setroundl_ctx): Likewise.
25752 (libc_feupdateenvl_ctx): Likewise.
25753 (libc_feholdsetroundl_ctx): Likewise.
25754 (libc_feresetroundl_ctx): Likewise.
25755 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25756 (libc_feresetround_53bit_ctx): Likewise.
25757
59b30555
SP
257582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25759
25760 * locale/iso-639.def: Convert to UTF-8.
25761
f1d73d30
JM
257622013-06-11 Joseph Myers <joseph@codesourcery.com>
25763
25764 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25765 (EXCEPTION_TESTS_double): Likewise.
25766 (EXCEPTION_TESTS_long_double): Likewise.
25767 (EXCEPTION_TESTS): Likewise.
25768 * math/libm-test.inc (test_exceptions): Only test exceptions if
25769 EXCEPTION_TESTS (FLOAT).
25770
94aca5e7
SP
257712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25772
25773 * benchtests/Makefile (string-bench): Add strcpy_chk and
25774 stpcpy_chk.
25775 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25776 * benchtests/bench-stpcpy_chk.c: New file.
25777 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25778 * benchtests/bench-strcpy_chk.c: New file.
25779 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25780 code.
25781 (do_test): Likewise.
25782
fac0c5f2
RA
257832013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25784
25785 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25786 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25787 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25788 with tabs where appropriate.
25789 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25790 dl-procinfo.h.
25791 [PPC_PLATFORM_PPC440]: Likewise.
25792 [PPC_PLATFORM_PPC464]: Likewise.
25793 [PPC_PLATFORM_PPC476]: Likewise.
25794 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25795 ppc464, and ppc476 platform strings merging from ports/
25796 dl-procinfo.h.
25797
f22bc486
AS
257982013-06-11 Andreas Schwab <schwab@suse.de>
25799
25800 [BZ #14991]
25801 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25802 (from_ucs4_idx): Regenerate.
25803 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25804 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25805 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25806 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25807 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25808 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25809 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25810 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25811 from FROM_LOOP and TO_LOOP specific macros.
25812 (BODY): Handle combining characters.
25813 * iconvdata/BIG5HKSCS.irreversible: Update.
25814 * iconvdata/BIG5HKSCS.precomposed: New file.
25815 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25816 characters.
25817 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25818
c1f75dc3
SP
258192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25820
4eacded2
SP
25821 * include/sys/time.h: Fix indentation and add copyright header.
25822
fec799f8
SP
25823 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25824 (do_test): Likewise.
25825 * string/test-memchr.c (do_one_test): Likewise.
25826 (do_test): Likewise.
25827 * string/test-memcmp.c (do_one_test): Likewise.
25828 (do_test): Likewise.
25829 * string/test-memcpy.c (do_one_test): Likewise.
25830 (do_test): Likewise.
25831 * string/test-memmem.c (do_one_test): Likewise.
25832 (do_test): Likewise.
25833 (do_random_tests): Likewise.
25834 * string/test-memmove.c (do_one_test): Likewise.
25835 (do_test): Likewise.
25836 * string/test-memset.c (do_one_test): Likewise.
25837 (do_test): Likewise.
25838 * string/test-rawmemchr.c (do_one_test): Likewise.
25839 (do_test): Likewise.
25840 * string/test-strcasecmp.c (do_one_test): Likewise.
25841 (do_test): Likewise.
25842 * string/test-strcasestr.c (do_one_test): Likewise.
25843 (do_test): Likewise.
25844 * string/test-strcat.c (do_one_test): Likewise.
25845 (do_test): Likewise.
25846 * string/test-strchr.c (do_one_test): Likewise.
25847 (do_test): Likewise.
25848 * string/test-strcmp.c (do_one_test): Likewise.
25849 (do_test): Likewise.
25850 * string/test-strcpy.c (do_one_test): Likewise.
25851 (do_test): Likewise.
25852 * string/test-string.h: Likewise.
25853 (test_init): Likewise.
25854 * string/test-strlen.c (do_one_test): Likewise.
25855 (do_test): Likewise.
25856 * string/test-strncasecmp.c (do_one_test): Likewise.
25857 (do_test): Likewise.
25858 * string/test-strncat.c (do_one_test): Likewise.
25859 (do_test): Likewise.
25860 * string/test-strncmp.c (do_one_test): Likewise.
25861 (do_test_limit): Likewise.
25862 (do_test): Likewise.
25863 * string/test-strncpy.c (do_one_test): Likewise.
25864 (do_test): Likewise.
25865 * string/test-strnlen.c (do_one_test): Likewise.
25866 (do_test): Likewise.
25867 * string/test-strpbrk.c (do_one_test): Likewise.
25868 (do_test): Likewise.
25869 * string/test-strrchr.c (do_one_test): Likewise.
25870 (do_test): Likewise.
25871 * string/test-strspn.c (do_one_test): Likewise.
25872 (do_test): Likewise.
25873 * string/test-strstr.c (do_one_test): Likewise.
25874 (do_test): Likewise.
25875
97020474
SP
25876 * benchtests/Makefile (string-bench): Add string benchmarks.
25877 * benchtests/bench-bcopy-ifunc.c: New file.
25878 * benchtests/bench-bcopy.c: New file.
25879 * benchtests/bench-bzero-ifunc.c: New file.
25880 * benchtests/bench-bzero.c: New file.
25881 * benchtests/bench-memccpy-ifunc.c: New file.
25882 * benchtests/bench-memccpy.c: New file.
25883 * benchtests/bench-memchr-ifunc.c: New file.
25884 * benchtests/bench-memchr.c: New file.
25885 * benchtests/bench-memcmp-ifunc.c: New file.
25886 * benchtests/bench-memcmp.c: New file.
25887 * benchtests/bench-memmem-ifunc.c: New file.
25888 * benchtests/bench-memmem.c: New file.
25889 * benchtests/bench-memmove-ifunc.c: New file.
25890 * benchtests/bench-memmove.c: New file.
25891 * benchtests/bench-mempcpy-ifunc.c: New file.
25892 * benchtests/bench-mempcpy.c: New file.
25893 * benchtests/bench-memset-ifunc.c: New file.
25894 * benchtests/bench-memset.c: New file.
25895 * benchtests/bench-rawmemchr-ifunc.c: New file.
25896 * benchtests/bench-rawmemchr.c: New file.
25897 * benchtests/bench-stpcpy-ifunc.c: New file.
25898 * benchtests/bench-stpcpy.c: New file.
25899 * benchtests/bench-stpncpy-ifunc.c: New file.
25900 * benchtests/bench-stpncpy.c: New file.
25901 * benchtests/bench-strcasecmp-ifunc.c: New file.
25902 * benchtests/bench-strcasecmp.c: New file.
25903 * benchtests/bench-strcasestr-ifunc.c: New file.
25904 * benchtests/bench-strcasestr.c: New file.
25905 * benchtests/bench-strcat-ifunc.c: New file.
25906 * benchtests/bench-strcat.c: New file.
25907 * benchtests/bench-strchr-ifunc.c: New file.
25908 * benchtests/bench-strchr.c: New file.
25909 * benchtests/bench-strchrnul-ifunc.c: New file.
25910 * benchtests/bench-strchrnul.c: New file.
25911 * benchtests/bench-strcmp-ifunc.c: New file.
25912 * benchtests/bench-strcmp.c: New file.
25913 * benchtests/bench-strcpy-ifunc.c: New file.
25914 * benchtests/bench-strcpy.c: New file.
25915 * benchtests/bench-strcspn-ifunc.c: New file.
25916 * benchtests/bench-strcspn.c: New file.
25917 * benchtests/bench-strlen-ifunc.c: New file.
25918 * benchtests/bench-strlen.c: New file.
25919 * benchtests/bench-strncasecmp-ifunc.c: New file.
25920 * benchtests/bench-strncasecmp.c: New file.
25921 * benchtests/bench-strncat-ifunc.c: New file.
25922 * benchtests/bench-strncat.c: New file.
25923 * benchtests/bench-strncmp-ifunc.c: New file.
25924 * benchtests/bench-strncmp.c: New file.
25925 * benchtests/bench-strncpy-ifunc.c: New file.
25926 * benchtests/bench-strncpy.c: New file.
25927 * benchtests/bench-strnlen-ifunc.c: New file.
25928 * benchtests/bench-strnlen.c: New file.
25929 * benchtests/bench-strpbrk-ifunc.c: New file.
25930 * benchtests/bench-strpbrk.c: New file.
25931 * benchtests/bench-strrchr-ifunc.c: New file.
25932 * benchtests/bench-strrchr.c: New file.
25933 * benchtests/bench-strspn-ifunc.c: New file.
25934 * benchtests/bench-strspn.c: New file.
25935 * benchtests/bench-strstr-ifunc.c: New file.
25936 * benchtests/bench-strstr.c: New file.
25937
c1f75dc3
SP
25938 * benchtests/Makefile: Disable parallel execution of targets.
25939 (string-bench): Add memcpy.
25940 (benchset): New variable to store a list of benchmark sets.
25941 (bench-func): Renamed from bench.
25942 (bench-set): New target.
25943 (bench): Depend on bench-func and bench-set.
25944 * benchtests/README: Add section on benchmark sets.
25945 * benchtests/bench-memcpy-ifunc.c: New file.
25946 * benchtests/bench-memcpy.c: New file.
25947 * benchtests/bench-string.h: New file.
25948
50fd745b
AS
259492013-06-11 Andreas Schwab <schwab@suse.de>
25950
25951 [BZ #15577]
25952 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25953 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25954 values in the triple.
25955 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25956 terminator in the group key.
25957
3ee7e9fe
AJ
259582013-06-11 Andreas Jaeger <aj@suse.de>
25959
25960 * po/zh_TW.po: Update Chinese (traditional) translation from
25961 translation project.
25962
89fb6835
SP
259632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25964
25965 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25966 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25967 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25968 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25969 (clock_getcpuclockid): Likewise.
25970 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25971 Add weak_alias and libc_hidden_def.
25972 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25973 * rt/clock_gettime.c (clock_gettime): Rename to
25974 __clock_gettime. Add weak_alias and libc_hidden_def.
25975 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25976 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25977 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25978 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25979 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25980 Likewise.
25981 * rt/clock_settime.c (clock_settime): Rename to
25982 __clock_settime. Add weak_alias and libc_hidden_def.
25983 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25984
0efa6f8b
JM
259852013-06-10 Joseph Myers <joseph@codesourcery.com>
25986
b8c61b4b
JM
25987 * mach/err_boot.sub: Remove trailing whitespace.
25988 * mach/err_ipc.sub: Likewise.
25989 * mach/err_mach.sub: Likewise.
25990
0efa6f8b
JM
25991 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25992 (ROUNDING_TESTS_double): Likewise.
25993 (ROUNDING_TESTS_long_double): Likewise.
25994 (ROUNDING_TESTS): Likewise.
25995 * math/libm-test.inc: Include <math-tests.h>.
25996 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25997 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25998 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25999 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26000
50b818bf
SP
260012013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26002
26003 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26004 of assigning.
26005
60d2f8f3
JM
260062013-06-08 Joseph Myers <joseph@codesourcery.com>
26007
4902d2c3
JM
26008 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26009 otherwise empty TRANS lines.
26010 * sysdeps/gnu/errlist.c: Regenerated.
26011
60d2f8f3
JM
26012 * catgets/gencat.c (error_print): Use (void) in function
26013 definition.
26014 * crypt/crypt_util.c (__init_des): Likewise.
26015 * crypt/speeds.c (Stop): Likewise.
26016 (main): Likewise.
26017 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26018 * inet/ruserpass.c (token): Likewise.
26019 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26020 * intl/localealias.c (extend_alias_table): Likewise.
26021 * intl/plural-exp.c (init_germanic_plural): Likewise.
26022 * libio/fcloseall.c (__fcloseall): Likewise.
26023 * libio/genops.c (_IO_flush_all): Likewise.
26024 (_IO_flush_all_linebuffered): Likewise.
26025 (_IO_cleanup): Likewise.
26026 (_IO_iter_begin): Likewise.
26027 (_IO_iter_end): Likewise.
26028 (_IO_list_lock): Likewise.
26029 (_IO_list_unlock): Likewise.
26030 (_IO_list_resetlock): Likewise.
26031 * libio/getchar.c (getchar): Likewise.
26032 * libio/getchar_u.c (getchar_unlocked): Likewise.
26033 * libio/getwchar.c (getwchar): Likewise.
26034 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26035 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26036 * login/getpt.c (__getpt): Likewise.
26037 * login/tst-utmp.c (main): Likewise.
26038 * malloc/hooks.c (__malloc_check_init): Likewise.
26039 * malloc/malloc.c (__malloc_stats): Likewise.
26040 * malloc/mtrace.c (tr_break): Likewise.
26041 (mtrace): Likewise.
26042 (muntrace): Likewise.
26043 * misc/fstab.c (endfsent): Likewise.
26044 * misc/getclktck.c (__getclktck): Likewise.
26045 * misc/getdtsz.c (__getdtablesize): Likewise.
26046 * misc/gethostid.c (gethostid): Likewise.
26047 * misc/getpagesize.c (__getpagesize): Likewise.
26048 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26049 (__get_nprocs): Likewise.
26050 (__get_phys_pages): Likewise.
26051 (__get_avphys_pages): Likewise.
26052 * misc/getttyent.c (getttyent): Likewise.
26053 (setttyent): Likewise.
26054 (endttyent): Likewise.
26055 * misc/getusershell.c (getusershell): Likewise.
26056 (endusershell): Likewise.
26057 (setusershell): Likewise.
26058 (initshells): Likewise.
26059 * misc/hsearch.c (__hdestroy): Likewise.
26060 * misc/sync.c (sync): Likewise.
26061 * misc/syslog.c (closelog_internal): Likewise.
26062 (closelog): Likewise.
26063 * misc/ttyslot.c (ttyslot): Likewise.
26064 * misc/vhangup.c (vhangup): Likewise.
26065 * posix/fork.c (__fork): Likewise.
26066 * posix/getegid.c (__getegid): Likewise.
26067 * posix/geteuid.c (__geteuid): Likewise.
26068 * posix/getgid.c (__getgid): Likewise.
26069 * posix/getpid.c (__getpid): Likewise.
26070 * posix/getppid.c (__getppid): Likewise.
26071 * posix/getuid.c (__getuid): Likewise.
26072 * posix/pause.c (pause): Likewise.
26073 * posix/setpgrp.c (setpgrp): Likewise.
26074 * posix/setsid.c (__setsid): Likewise.
26075 * posix/test-vfork.c (noop): Likewise.
26076 * resolv/gethnamaddr.c (_endhtent): Likewise.
26077 (_gethtent): Likewise.
26078 (ht_endhostent): Likewise.
26079 (gethostent): Likewise.
26080 (dns_service): Likewise.
26081 * stdlib/drand48.c (drand48): Likewise.
26082 * stdlib/lrand48.c (lrand48): Likewise.
26083 * stdlib/mrand48.c (mrand48): Likewise.
26084 * stdlib/rand.c (rand): Likewise.
26085 * stdlib/random.c (__random): Likewise.
26086 * stdlib/setenv.c (clearenv): Likewise.
26087 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26088 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26089 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26090 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26091 (__get_nprocs): Likewise.
26092 (__get_phys_pages): Likewise.
26093 (__get_avphys_pages): Likewise.
26094 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26095 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26096 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26097 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26098 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26099 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26100 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26101 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26102 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26103 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26104 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26105 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26106 * sysdeps/posix/clock.c (clock): Likewise.
26107 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26108 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26109 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26110 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26111 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26113 (__get_nprocs_conf): Likewise.
26114 (__get_phys_pages): Likewise.
26115 (__get_avphys_pages): Likewise.
26116 * time/clock.c (clock): Likewise.
26117 * time/tzset.c (__tzname_max): Likewise.
26118
2e09a79a
JM
261192013-06-07 Joseph Myers <joseph@codesourcery.com>
26120
26121 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26122 (__bswap_32): Do not use "register".
26123 * crypt/crypt.c (_ufc_doit_r): Likewise.
26124 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26125 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26126 * gmon/gmon.c (__monstartup): Likewise.
26127 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26128 * hurd/hurdmalloc.c (more_memory): Likewise.
26129 (malloc): Likewise.
26130 (free): Likewise.
26131 (realloc): Likewise.
26132 (malloc_fork_prepare): Likewise.
26133 (malloc_fork_parent): Likewise.
26134 (malloc_fork_child): Likewise.
26135 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26136 (_svcauth_des): Likewise.
26137 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26138 * inet/inet_net.c (inet_network): Likewise.
26139 * inet/inet_netof.c (inet_netof): Likewise.
26140 * inet/rcmd.c (__validuser2_sa): Likewise.
26141 * io/fts.c (fts_open): Likewise.
26142 (fts_load): Likewise.
26143 (fts_close): Likewise.
26144 (fts_read): Likewise.
26145 (fts_children): Likewise.
26146 (fts_build): Likewise.
26147 (fts_stat): Likewise.
26148 (fts_sort): Likewise.
26149 (fts_alloc): Likewise.
26150 (fts_lfree): Likewise.
26151 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26152 (_IO_file_xsgetn): Likewise.
26153 (_IO_file_xsgetn_mmap): Likewise.
26154 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26155 (_IO_cookie_write): Likewise.
26156 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26157 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26158 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26159 * malloc/obstack.c (_obstack_begin): Likewise.
26160 (_obstack_begin_1): Likewise.
26161 (_obstack_newchunk): Likewise.
26162 (_obstack_allocated_p): Likewise.
26163 (obstack_free): Likewise.
26164 (_obstack_memory_used): Likewise.
26165 * misc/getttyent.c (getttynam): Likewise.
26166 (getttyent): Likewise.
26167 (skip): Likewise.
26168 (value): Likewise.
26169 * misc/getusershell.c (initshells): Likewise.
26170 * misc/syslog.c (__vsyslog_chk): Likewise.
26171 * misc/ttyslot.c (ttyslot): Likewise.
26172 * nis/nis_hash.c (__nis_hash): Likewise.
26173 * posix/fnmatch_loop.c (FCT): Likewise.
26174 * posix/getconf.c (print_all): Likewise.
26175 (main): Likewise.
26176 * posix/getopt.c (exchange): Likewise.
26177 * posix/glob.c (globfree): Likewise.
26178 (prefix_array): Likewise.
26179 (__glob_pattern_type): Likewise.
26180 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26181 (NS_GET32): Likewise.
26182 (NS_PUT16): Likewise.
26183 (NS_PUT32): Likewise.
26184 * resolv/gethnamaddr.c (getanswer): Likewise.
26185 (gethostbyname2): Likewise.
26186 (gethostbyaddr): Likewise.
26187 (_gethtent): Likewise.
26188 (_gethtbyname2): Likewise.
26189 (_gethtbyaddr): Likewise.
26190 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26191 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26192 * resolv/res_init.c (__res_vinit): Likewise.
26193 (net_mask): Likewise.
26194 * resolv/res_mkquery.c (outchar): Likewise.
26195 (PRINT): Likewise.
26196 * stdio-common/printf_fp.c (outchar): Likewise.
26197 (PRINT): Likewise.
26198 * stdio-common/printf_fphex.c (outchar): Likewise.
26199 (PRINT): Likewise.
26200 * stdio-common/printf_size.c (outchar): Likewise.
26201 (PRINT): Likewise.
26202 * stdio-common/test_rdwr.c (main): Likewise.
26203 * stdio-common/tfformat.c (matches): Likewise.
26204 * stdio-common/vfprintf.c (outchar): Likewise.
26205 (printf_unknown): Likewise.
26206 (buffered_vfprintf): Likewise.
26207 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26208 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26209 (ReadFile): Likewise.
26210 * stdlib/qsort.c (SWAP): Likewise.
26211 (_quicksort): Likewise.
26212 * stdlib/setenv.c (__add_to_environ): Likewise.
26213 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26214 * stdlib/strtol_l.c (__strtol_l): Likewise.
26215 * stdlib/tst-strtod.c (main): Likewise.
26216 * stdlib/tst-strtol.c (main): Likewise.
26217 * stdlib/tst-strtoll.c (main): Likewise.
26218 * string/bits/string2.h (__strcmp_cc): Likewise.
26219 (__strcmp_cg): Likewise.
26220 (__strcspn_c1): Likewise.
26221 (__strcspn_c2): Likewise.
26222 (__strcspn_c3): Likewise.
26223 (__strspn_c1): Likewise.
26224 (__strspn_c2): Likewise.
26225 (__strspn_c3): Likewise.
26226 (__strsep_1c): Likewise.
26227 (__strsep_2c): Likewise.
26228 (__strsep_3c): Likewise.
26229 * string/memccpy.c (__memccpy): Likewise.
26230 * string/stpcpy.c (__stpcpy): Likewise.
26231 * string/strcmp.c (strcmp): Likewise.
26232 * string/strrchr.c (strrchr): Likewise.
26233 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26234 Likewise.
26235 * sysdeps/mach/hurd/getcwd.c
26236 (_hurd_canonicalize_directory_name_internal): Likewise.
26237 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26238 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26239 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26240 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26241 Likewise, in both definitions.
26242 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26243 definitions.
26244 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26245 64] (__bswap_64): Likewise.
26246 * time/test_time.c (main): Likewise.
26247 * time/tzfile.c (__tzfile_read): Likewise.
26248 (__tzfile_compute): Likewise.
26249 * time/tzset.c (__tzset_parse_tz): Likewise.
26250 (tzset_internal): Likewise.
26251 (compute_change): Likewise.
26252 * wcsmbs/wcscat.c (__wcscat): Likewise.
26253 * wcsmbs/wcschr.c (wcschr): Likewise.
26254 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26255 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26256 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26257 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26258 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26259 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26260 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26261 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26262 * wcsmbs/wmemset.c (wmemset): Likewise.
26263
9e54314b
JM
262642013-06-06 Joseph Myers <joseph@codesourcery.com>
26265
26266 * scripts/config.guess: Update to version 2013-05-16.
26267 * scripts/config.sub: Update to version 2013-04-24.
26268 * scripts/install-sh: Update to version 2011-11-20.07.
26269 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26270 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26271
350635a5
OB
262722013-06-06 Ondřej Bílka <neleai@seznam.cz>
26273
26274 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26275 * elf/sln.c: Likewise.
26276 * hurd/hurd/ioctl.h: Likewise.
26277 * hurd/hurdmalloc.c: Likewise.
26278 * hurd/xattr.c: Likewise.
26279 * include/shlib-compat.h: Likewise.
26280 * inet/ruserpass.c: Likewise.
26281 * libio/iofgets_u.c: Likewise.
26282 * libio/iofgetws_u.c: Likewise.
26283 * locale/programs/ld-identification.c: Likewise.
26284 * locale/programs/ld-time.c: Likewise.
26285 * mach/msg-destroy.c: Likewise.
26286 * nss/nss_files/files-netgrp.c: Likewise.
26287 * resolv/res_data.c: Likewise.
26288 * soft-fp/op-1.h: Likewise.
26289 * soft-fp/op-2.h: Likewise.
26290 * soft-fp/op-4.h: Likewise.
26291 * soft-fp/op-common.h: Likewise.
26292 * stdio-common/printf_fphex.c: Likewise.
26293 * stdlib/strtod_l.c: Likewise.
26294 * sunrpc/rpc/clnt.h: Likewise.
26295 * sysdeps/generic/framestate.c: Likewise.
26296 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26297 * sysdeps/i386/bsd-setjmp.S: Likewise.
26298 * sysdeps/i386/__longjmp.S: Likewise.
26299 * sysdeps/i386/setjmp.S: Likewise.
26300 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26301 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26318 * sysdeps/ieee754/support.c: Likewise.
26319 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26320 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26321 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26322 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26323 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26324 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26325 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26326 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26327 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26328 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26329 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26330 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26331 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26332 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26333 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26334 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26335 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26337
44a988af
OB
263382013-06-05 Ondřej Bílka <neleai@seznam.cz>
26339
25506f09 26340 * posix/transbug.c: Remove executable mode.
44a988af 26341
9c84384c
JM
263422013-06-05 Joseph Myers <joseph@codesourcery.com>
26343
26344 * crypt/speeds.c: Remove trailing whitespace.
26345 * dlfcn/default.c: Likewise.
26346 * elf/ifuncdep2.c: Likewise.
26347 * elf/ifuncmain1.c: Likewise.
26348 * elf/ifuncmain1vis.c: Likewise.
26349 * elf/testobj.h: Likewise.
26350 * elf/tst-stackguard1.c: Likewise.
26351 * gmon/sys/gmon.h: Likewise.
26352 * hurd/hurdmsg.c: Likewise.
26353 * hurd/new-fd.c: Likewise.
26354 * hurd/ports-get.c: Likewise.
26355 * iconvdata/ibm1008_420.c: Likewise.
26356 * inet/tst-getni1.c: Likewise.
26357 * inet/tst-getni2.c: Likewise.
26358 * libio/ioungetc.c: Likewise.
26359 * libio/wfiledoalloc.c: Likewise.
26360 * manual/libm-err-tab.pl: Likewise.
26361 * math/w_dremf.c: Likewise.
26362 * misc/ftruncate.c: Likewise.
26363 * posix/bug-glob2.c: Likewise.
26364 * posix/tst-pcre.c: Likewise.
26365 * posix/wait4.c: Likewise.
26366 * resolv/README: Likewise.
26367 * resolv/res_debug.h: Likewise.
26368 * resolv/tst-inet_ntop.c: Likewise.
26369 * setjmp/bug269-setjmp.c: Likewise.
26370 * soft-fp/extended.h: Likewise.
26371 * soft-fp/op-1.h: Likewise.
26372 * soft-fp/op-2.h: Likewise.
26373 * soft-fp/op-4.h: Likewise.
26374 * soft-fp/op-8.h: Likewise.
26375 * soft-fp/testit.c: Likewise.
26376 * stdio-common/bug16.c: Likewise.
26377 * stdlib/random.c: Likewise.
26378 * sunrpc/rpcsvc/rquota.x: Likewise.
26379 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26380 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26381 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26382 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26383 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26384 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26385 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26386 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26387 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26388 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26389 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26390 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26391 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26392 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26400 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26404 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26405 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26406 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26407 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26408 * sysdeps/ieee754/s_lib_version.c: Likewise.
26409 * sysdeps/mach/hurd/check_fds.c: Likewise.
26410 * sysdeps/mach/hurd/getsockname.c: Likewise.
26411 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26412 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26413 * sysdeps/powerpc/bits/link.h: Likewise.
26414 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26415 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26416 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26417 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26418 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26419 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26420 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26421 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26422 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26423 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26424 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26425 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26426 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26427 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26428 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26429 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26430 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26431 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26432 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26433 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26434 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26435 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26437 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26438 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26439 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26440 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26441 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26442 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26443 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26444 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26445 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26446 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26447 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26448 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26449 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26450 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26451 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26452 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26453 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26454 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26455 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26456 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26457 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26458 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26459 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26460 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26461 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26462 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26463 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26466 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26467 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26468 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26469 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26470 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26471 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26472 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26473 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26474 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26475 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26476 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26477 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26478 * sysdeps/powerpc/sysdep.h: Likewise.
26479 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26480 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26481 * sysdeps/sh/dl-trampoline.S: Likewise.
26482 * sysdeps/sh/memset.S: Likewise.
26483 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26484 * sysdeps/sh/strlen.S: Likewise.
26485 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26486 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26487 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26488 * sysdeps/sparc/sparc32/rem.S: Likewise.
26489 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26490 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26491 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26492 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26493 * sysdeps/sparc/sparc32/urem.S: Likewise.
26494 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26495 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26496 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26497 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26499 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26500 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26501 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26502 * sysdeps/unix/bsd/times.c: Likewise.
26503 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26504 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26508 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26509 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26510 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26511 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26512 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26513 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26514 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26515 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26516 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26517 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26518 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26519 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26520 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26521 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26522 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26523 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26524 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26525 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26526 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26527 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26528 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26529 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26530 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26531 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26532 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26533 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26534 * sysdeps/x86_64/strcspn.S: Likewise.
26535
869378a5
RA
265362013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26537
26538 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26539 generated file. Regenerate properly from gen-translit.pl.
26540 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26541 locale/C-translit.h.
26542
840e2943
AS
265432013-06-05 Andreas Schwab <schwab@suse.de>
26544
26545 [BZ #15100]
26546 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26547 week as 6 instead of -1.
26548 * time/tst-strptime.c (day_tests): Add test case.
26549
4c60cb0c
SP
265502013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26551
26552 * sysdeps/generic/math_private.h
26553 (libc_feholdexcept_setround_53bit): Replace with
26554 libc_feholdsetround_53bit.
26555 (libc_feupdateenv_53bit): Replace with
26556 libc_feresetround_53bit.
26557 (SET_RESTORE_ROUND_53BIT): Adjust.
26558
d180203e
SP
265592013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26560
96df079a
SP
26561 * string/test-strchrnul.c: Add copyright header.
26562
d180203e
SP
26563 * posix/tst-getaddrinfo4.c: Increase test timeout.
26564
8b0ccb2d
CD
265652013-06-03 Carlos O'Donell <carlos@redhat.com>
26566
26567 [BZ #15536]
26568 * math/libm-test.inc (MAX_EXP): Remove
26569 (MIN_EXP): Define.
26570 (ulp): Use MIN_EXP - MANT_DIG.
26571 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26572
3b3c4d40
CD
265732013-05-31 Carlos O'Donell <carlos@redhat.com>
26574
26575 * po/be.po: Revert last change.
26576 * po/zh_CN.po: Likewise.
26577 * po/header.pot: Likewise.
26578
fab7ce3f
JM
265792013-05-31 Joseph Myers <joseph@codesourcery.com>
26580
26581 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26582 link-libc-deps to empty as target-specific variable.
26583 * Makerules (link-libc-args): New variable.
26584 (libc-for-link): Likewise.
26585 (link-libc-deps): Likewise.
26586 (lib%.so): Depend on $(link-libc-deps). Link with
26587 $(link-libc-args).
26588 (build-module): Link with $(link-libc-args).
26589 (build-module-asneeded): Likewise.
26590 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26591 list of objects.
26592 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26593 target-specific variable.
26594 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26595 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26596 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26597 libc.
26598 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26599 libc and ld.so.
26600 ($(objpfx)libpcprofile.so): Likewise.
26601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26602 libc_nonshared.a.
26603 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26604 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26605 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26606 $(link-libc-deps).
26607 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26608 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26609 * login/Makefile ($(objpfx)libutil.so): Likewise.
26610 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26611 * math/Makefile ($(objpfx)libm.so): Likewise.
26612 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26613 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26614 variable instead of depending directly on libc.
26615 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26616 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26617 $(link-libc-deps).
26618 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26619 libc.
26620 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26621 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26622 ($(objpfx)libanl.so): Likewise.
26623 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26624 ld.so.
26625 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26626 $(link-libc-deps).
26627 * sysdeps/i386/fpu/Makefile: Remove file.
26628 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26629 ($(objpfx)libm.so): Remove dependency on ld.so.
26630
eca5920c
PF
266312013-05-30 Patsy Franklin <pfrankli@redhat.com>
26632
26633 [BZ # 15553]
26634 * nis/yp_xdr.c (XDRMAXNAME): Define.
26635 (XDRMAXRECORD): Define.
26636 (xdr_domainname): Use XDRMAXNAME.
26637 (xdr_mapname): Likewise.
26638 (xdr_peername): Likewise.
26639 (xdr_keydat): Use XDRMAXRECORD.
26640 (xdr_valdat): Likewise.
26641
266422013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26643
26644 [BZ #14256]
26645 * manual/errno.texi (ESTALE): Update to account for more than
26646 just NFS file systems.
26647 * sysdeps/gnu/errlist.c: Regenerated.
26648
b9375348
SP
266492013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26650
26651 [BZ #15465]
26652 * elf/Makefile (tests): Add tst-null-argv.
26653 (modules-names): Add tst-null-argv-lib.
26654 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26655 (tst-null-argv-ENV): Set environment for tst-null-argv.
26656 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26657 (RTLD_PROGNAME): New macro.
26658 * elf/tst-null-argv.c: New test case.
26659 * elf/tst-null-argv-lib.c: Library for test case.
26660 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26661 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26662 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26663 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26664 * elf/dl-init.c (call_init): Likewise.
26665 (_dl_init): Likewise.
26666 * elf/dl-load.c (print_search_path): Likewise.
26667 (_dl_map_object): Likewise.
26668 * elf/dl-lookup.c (do_lookup_x): Likewise.
26669 (add_dependency): Likewise.
26670 (_dl_lookup_symbol_x): Likewise.
26671 (_dl_debug_bindings): Likewise.
26672 * elf/dl-open.c (_dl_show_scope): Likewise.
26673 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26674 * elf/dl-version.c (match_symbol): Likewise.
26675 (_dl_check_map_versions): Likewise.
26676 * elf/rtld.c (dl_main): Likewise.
26677 (print_unresolved): Use RTLD_PROGNAME.
26678 (print_missing_version): Likewise.
26679 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26680 (elf_machine_rela): Likewise.
26681 * sysdeps/powerpc/powerpc32/dl-machine.c
26682 (__process_machine_rela): Likewise.
26683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26684 Likewise.
26685 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26686 Likewise.
26687 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26688 Likewise.
26689 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26691 Likewise.
26692 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26693 Likewise.
26694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26695
8a9f20c8
CD
266962013-05-28 Carlos O'Donell <carlos@redhat.com>
26697
26698 * po/be.po: Add descriptive title.
26699 * po/zh_CN.po: Likewise.
26700 * po/header.pot: Likewise.
26701
0e60d68e
MF
267022013-05-28 Mike Frysinger <vapier@gentoo.org>
26703
26704 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26705 error message.
26706 (enlarge_archive): Likewise.
26707
56b672e9
BN
267082013-05-28 Ben North <ben@redfrontdoor.org>
26709
26710 * manual/arith.texi (frexp): It is the magnitude of the return
26711 value which lies in [0.5, 1), not the return value itself.
26712
5e056687
AZ
267132013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26714
26715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26716
2b66ef5d
TS
267172013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26718
528c2405
TS
26719 * stdio-common/bug26.c (main): Correct fscanf template.
26720
07b4c13d
TS
26721 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26722 declare _dl_skip_args.
26723
ec9dd97c
TS
26724 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26725 Don't declare.
26726
2b66ef5d
TS
26727 * manual/platform.texi: Add missing @end deftypefun.
26728
4f8dfe27
JM
267292013-05-24 Joseph Myers <joseph@codesourcery.com>
26730
0323d086
JM
26731 [BZ #15529]
26732 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26733 bit of mantissa of 2^16382.
26734 * math/libm-test.inc (hypot_test_data): Add more tests.
26735
dd4259b9
JM
26736 * math/libm-test.inc: Add drem and pow10 to list of tested
26737 functions.
26738 (pow10_test): New function.
26739 (drem_test): Likewise.
26740 (drem_test_tonearest): Likewise.
26741 (drem_test_towardzero): Likewise.
26742 (drem_test_downward): Likewise.
26743 (drem_test_upward): Likewise.
26744 (main): Call the new functions.
26745
4f8dfe27
JM
26746 * math/libm-test.inc (finite_test_data): Remove.
26747 (finite_test): Run tests from isfinite_test_data.
26748 (gamma_test_data): Remove.
26749 (gamma_test): Run tests from lgamma_test_data.
26750 * sysdeps/i386/fpu/libm-test-ulps: Update.
26751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26752
d116b7c4
AZ
267532013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26754
26755 * manual/platform.texi: Add PowerPC PPR function set documentation.
26756 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26757 implementation.
26758
e96e3767
CD
267592013-05-24 Carlos O'Donell <carlos@redhat.com>
26760
26761 * math/libm-test.inc (MAX_EXP): Define.
26762 (ULPDIFF): Define.
26763 (ulp): New function.
26764 (check_float_internal): Use ULPDIFF.
26765 (cpow_test): Disable failing test.
26766 (check_ulp): Test ulp() implemetnation.
26767 (main): Call check_ulp before starting tests.
26768
b679a606
JM
267692013-05-24 Joseph Myers <joseph@codesourcery.com>
26770
e8bdba36
JM
26771 * math/gen-libm-test.pl (generate_testfile): Do not handle
26772 START_DATA and END_DATA.
26773 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26774 END_DATA.
26775 (acos_tonearest_test_data): Likewise.
26776 (acos_towardzero_test_data): Likewise.
26777 (acos_downward_test_data): Likewise.
26778 (acos_upward_test_data): Likewise.
26779 (acosh_test_data): Likewise.
26780 (asin_test_data): Likewise.
26781 (asin_tonearest_test_data): Likewise.
26782 (asin_towardzero_test_data): Likewise.
26783 (asin_downward_test_data): Likewise.
26784 (asin_upward_test_data): Likewise.
26785 (asinh_test_data): Likewise.
26786 (atan_test_data): Likewise.
26787 (atanh_test_data): Likewise.
26788 (atan2_test_data): Likewise.
26789 (cabs_test_data): Likewise.
26790 (cacos_test_data): Likewise.
26791 (cacosh_test_data): Likewise.
26792 (carg_test_data): Likewise.
26793 (casin_test_data): Likewise.
26794 (casinh_test_data): Likewise.
26795 (catan_test_data): Likewise.
26796 (catanh_test_data): Likewise.
26797 (cbrt_test_data): Likewise.
26798 (ccos_test_data): Likewise.
26799 (ccosh_test_data): Likewise.
26800 (ceil_test_data): Likewise.
26801 (cexp_test_data): Likewise.
26802 (cimag_test_data): Likewise.
26803 (clog_test_data): Likewise.
26804 (clog10_test_data): Likewise.
26805 (conj_test_data): Likewise.
26806 (copysign_test_data): Likewise.
26807 (cos_test_data): Likewise.
26808 (cos_tonearest_test_data): Likewise.
26809 (cos_towardzero_test_data): Likewise.
26810 (cos_downward_test_data): Likewise.
26811 (cos_upward_test_data): Likewise.
26812 (cosh_test_data): Likewise.
26813 (cosh_tonearest_test_data): Likewise.
26814 (cosh_towardzero_test_data): Likewise.
26815 (cosh_downward_test_data): Likewise.
26816 (cosh_upward_test_data): Likewise.
26817 (cpow_test_data): Likewise.
26818 (cproj_test_data): Likewise.
26819 (creal_test_data): Likewise.
26820 (csin_test_data): Likewise.
26821 (csinh_test_data): Likewise.
26822 (csqrt_test_data): Likewise.
26823 (ctan_test_data): Likewise.
26824 (ctan_tonearest_test_data): Likewise.
26825 (ctan_towardzero_test_data): Likewise.
26826 (ctan_downward_test_data): Likewise.
26827 (ctan_upward_test_data): Likewise.
26828 (ctanh_test_data): Likewise.
26829 (ctanh_tonearest_test_data): Likewise.
26830 (ctanh_towardzero_test_data): Likewise.
26831 (ctanh_downward_test_data): Likewise.
26832 (ctanh_upward_test_data): Likewise.
26833 (erf_test_data): Likewise.
26834 (erfc_test_data): Likewise.
26835 (exp_test_data): Likewise.
26836 (exp_tonearest_test_data): Likewise.
26837 (exp_towardzero_test_data): Likewise.
26838 (exp_downward_test_data): Likewise.
26839 (exp_upward_test_data): Likewise.
26840 (exp10_test_data): Likewise.
26841 (exp2_test_data): Likewise.
26842 (expm1_test_data): Likewise.
26843 (fabs_test_data): Likewise.
26844 (fdim_test_data): Likewise.
26845 (finite_test_data): Likewise.
26846 (floor_test_data): Likewise.
26847 (fma_test_data): Likewise.
26848 (fma_towardzero_test_data): Likewise.
26849 (fma_downward_test_data): Likewise.
26850 (fma_upward_test_data): Likewise.
26851 (fmax_test_data): Likewise.
26852 (fmin_test_data): Likewise.
26853 (fmod_test_data): Likewise.
26854 (fpclassify_test_data): Likewise.
26855 (frexp_test_data): Likewise.
26856 (gamma_test_data): Likewise.
26857 (hypot_test_data): Likewise.
26858 (ilogb_test_data): Likewise.
26859 (isfinite_test_data): Likewise.
26860 (isgreater_test_data): Likewise.
26861 (isgreaterequal_test_data): Likewise.
26862 (isinf_test_data): Likewise.
26863 (isless_test_data): Likewise.
26864 (islessequal_test_data): Likewise.
26865 (islessgreater_test_data): Likewise.
26866 (isnan_test_data): Likewise.
26867 (isnormal_test_data): Likewise.
26868 (issignaling_test_data): Likewise.
26869 (isunordered_test_data): Likewise.
26870 (j0_test_data): Likewise.
26871 (j1_test_data): Likewise.
26872 (jn_test_data): Likewise.
26873 (ldexp_test_data): Likewise.
26874 (lgamma_test_data): Likewise.
26875 (lrint_test_data): Likewise.
26876 (lrint_tonearest_test_data): Likewise.
26877 (lrint_towardzero_test_data): Likewise.
26878 (lrint_downward_test_data): Likewise.
26879 (lrint_upward_test_data): Likewise.
26880 (llrint_test_data): Likewise.
26881 (llrint_tonearest_test_data): Likewise.
26882 (llrint_towardzero_test_data): Likewise.
26883 (llrint_downward_test_data): Likewise.
26884 (llrint_upward_test_data): Likewise.
26885 (log_test_data): Likewise.
26886 (log10_test_data): Likewise.
26887 (log1p_test_data): Likewise.
26888 (log2_test_data): Likewise.
26889 (logb_test_data): Likewise.
26890 (logb_downward_test_data): Likewise.
26891 (lround_test_data): Likewise.
26892 (llround_test_data): Likewise.
26893 (modf_test_data): Likewise.
26894 (nearbyint_test_data): Likewise.
26895 (nextafter_test_data): Likewise.
26896 (nexttoward_test_data): Likewise.
26897 (pow_test_data): Likewise.
26898 (pow_tonearest_test_data): Likewise.
26899 (pow_towardzero_test_data): Likewise.
26900 (pow_downward_test_data): Likewise.
26901 (pow_upward_test_data): Likewise.
26902 (remainder_test_data): Likewise.
26903 (remainder_tonearest_test_data): Likewise.
26904 (remainder_towardzero_test_data): Likewise.
26905 (remainder_downward_test_data): Likewise.
26906 (remainder_upward_test_data): Likewise.
26907 (remquo_test_data): Likewise.
26908 (rint_test_data): Likewise.
26909 (rint_tonearest_test_data): Likewise.
26910 (rint_towardzero_test_data): Likewise.
26911 (rint_downward_test_data): Likewise.
26912 (rint_upward_test_data): Likewise.
26913 (round_test_data): Likewise.
26914 (scalb_test_data): Likewise.
26915 (scalbn_test_data): Likewise.
26916 (scalbln_test_data): Likewise.
26917 (signbit_test_data): Likewise.
26918 (sin_test_data): Likewise.
26919 (sin_tonearest_test_data): Likewise.
26920 (sin_towardzero_test_data): Likewise.
26921 (sin_downward_test_data): Likewise.
26922 (sin_upward_test_data): Likewise.
26923 (sincos_test_data): Likewise.
26924 (sinh_test_data): Likewise.
26925 (sinh_tonearest_test_data): Likewise.
26926 (sinh_towardzero_test_data): Likewise.
26927 (sinh_downward_test_data): Likewise.
26928 (sinh_upward_test_data): Likewise.
26929 (sqrt_test_data): Likewise.
26930 (tan_test_data): Likewise.
26931 (tan_tonearest_test_data): Likewise.
26932 (tan_towardzero_test_data): Likewise.
26933 (tan_downward_test_data): Likewise.
26934 (tan_upward_test_data): Likewise.
26935 (tanh_test_data): Likewise.
26936 (tgamma_test_data): Likewise.
26937 (trunc_test_data): Likewise.
26938 (y0_test_data): Likewise.
26939 (y1_test_data): Likewise.
26940 (yn_test_data): Likewise.
26941 (significand_test_data): Likewise.
26942
b679a606
JM
26943 * math/gen-libm-test.pl (@functions): Remove variable.
26944 (generate_testfile): Don't handle START and END lines.
26945 * math/libm-test.inc (START): New macro.
26946 (END): Likewise.
26947 (END_COMPLEX): Likewise.
26948 (acos_test): Use END macro without arguments.
26949 (acos_test_tonearest): Likewise.
26950 (acos_test_towardzero): Likewise.
26951 (acos_test_downward): Likewise.
26952 (acos_test_upward): Likewise.
26953 (acosh_test): Likewise.
26954 (asin_test): Likewise.
26955 (asin_test_tonearest): Likewise.
26956 (asin_test_towardzero): Likewise.
26957 (asin_test_downward): Likewise.
26958 (asin_test_upward): Likewise.
26959 (asinh_test): Likewise.
26960 (atan_test): Likewise.
26961 (atanh_test): Likewise.
26962 (atan2_test): Likewise.
26963 (cabs_test): Likewise.
26964 (cacos_test): Use END_COMPLEX macro without arguments.
26965 (cacosh_test): Likewise.
26966 (carg_test): Use END macro without arguments.
26967 (casin_test): Use END_COMPLEX macro without arguments.
26968 (casinh_test): Likewise.
26969 (catan_test): Likewise.
26970 (catanh_test): Likewise.
26971 (cbrt_test): Use END macro without arguments.
26972 (ccos_test): Use END_COMPLEX macro without arguments.
26973 (ccosh_test): Likewise.
26974 (ceil_test): Use END macro without arguments.
26975 (cexp_test): Use END_COMPLEX macro without arguments.
26976 (cimag_test): Use END macro without arguments.
26977 (clog_test): Use END_COMPLEX macro without arguments.
26978 (clog10_test): Likewise.
26979 (conj_test): Likewise.
26980 (copysign_test): Use END macro without arguments.
26981 (cos_test): Likewise.
26982 (cos_test_tonearest): Likewise.
26983 (cos_test_towardzero): Likewise.
26984 (cos_test_downward): Likewise.
26985 (cos_test_upward): Likewise.
26986 (cosh_test): Likewise.
26987 (cosh_test_tonearest): Likewise.
26988 (cosh_test_towardzero): Likewise.
26989 (cosh_test_downward): Likewise.
26990 (cosh_test_upward): Likewise.
26991 (cpow_test): Use END_COMPLEX macro without arguments.
26992 (cproj_test): Likewise.
26993 (creal_test): Use END macro without arguments.
26994 (csin_test): Use END_COMPLEX macro without arguments.
26995 (csinh_test): Likewise.
26996 (csqrt_test): Likewise.
26997 (ctan_test): Likewise.
26998 (ctan_test_tonearest): Likewise.
26999 (ctan_test_towardzero): Likewise.
27000 (ctan_test_downward): Likewise.
27001 (ctan_test_upward): Likewise.
27002 (ctanh_test): Likewise.
27003 (ctanh_test_tonearest): Likewise.
27004 (ctanh_test_towardzero): Likewise.
27005 (ctanh_test_downward): Likewise.
27006 (ctanh_test_upward): Likewise.
27007 (erf_test): Use END macro without arguments.
27008 (erfc_test): Likewise.
27009 (exp_test): Likewise.
27010 (exp_test_tonearest): Likewise.
27011 (exp_test_towardzero): Likewise.
27012 (exp_test_downward): Likewise.
27013 (exp_test_upward): Likewise.
27014 (exp10_test): Likewise.
27015 (exp2_test): Likewise.
27016 (expm1_test): Likewise.
27017 (fabs_test): Likewise.
27018 (fdim_test): Likewise.
27019 (finite_test): Likewise.
27020 (floor_test): Likewise.
27021 (fma_test): Likewise.
27022 (fma_test_towardzero): Likewise.
27023 (fma_test_downward): Likewise.
27024 (fma_test_upward): Likewise.
27025 (fmax_test): Likewise.
27026 (fmin_test): Likewise.
27027 (fmod_test): Likewise.
27028 (fpclassify_test): Likewise.
27029 (frexp_test): Likewise.
27030 (gamma_test): Likewise.
27031 (hypot_test): Likewise.
27032 (ilogb_test): Likewise.
27033 (isfinite_test): Likewise.
27034 (isgreater_test): Likewise.
27035 (isgreaterequal_test): Likewise.
27036 (isinf_test): Likewise.
27037 (isless_test): Likewise.
27038 (islessequal_test): Likewise.
27039 (islessgreater_test): Likewise.
27040 (isnan_test): Likewise.
27041 (isnormal_test): Likewise.
27042 (issignaling_test): Likewise.
27043 (isunordered_test): Likewise.
27044 (j0_test): Likewise.
27045 (j1_test): Likewise.
27046 (jn_test): Likewise.
27047 (ldexp_test): Likewise.
27048 (lgamma_test): Likewise.
27049 (lrint_test): Likewise.
27050 (lrint_test_tonearest): Likewise.
27051 (lrint_test_towardzero): Likewise.
27052 (lrint_test_downward): Likewise.
27053 (lrint_test_upward): Likewise.
27054 (llrint_test): Likewise.
27055 (llrint_test_tonearest): Likewise.
27056 (llrint_test_towardzero): Likewise.
27057 (llrint_test_downward): Likewise.
27058 (llrint_test_upward): Likewise.
27059 (log_test): Likewise.
27060 (log10_test): Likewise.
27061 (log1p_test): Likewise.
27062 (log2_test): Likewise.
27063 (logb_test): Likewise.
27064 (logb_test_downward): Likewise.
27065 (lround_test): Likewise.
27066 (llround_test): Likewise.
27067 (modf_test): Likewise.
27068 (nearbyint_test): Likewise.
27069 (nextafter_test): Likewise.
27070 (nexttoward_test): Likewise.
27071 (pow_test): Likewise.
27072 (pow_test_tonearest): Likewise.
27073 (pow_test_towardzero): Likewise.
27074 (pow_test_downward): Likewise.
27075 (pow_test_upward): Likewise.
27076 (remainder_test): Likewise.
27077 (remainder_test_tonearest): Likewise.
27078 (remainder_test_towardzero): Likewise.
27079 (remainder_test_downward): Likewise.
27080 (remainder_test_upward): Likewise.
27081 (remquo_test): Likewise.
27082 (rint_test): Likewise.
27083 (rint_test_tonearest): Likewise.
27084 (rint_test_towardzero): Likewise.
27085 (rint_test_downward): Likewise.
27086 (rint_test_upward): Likewise.
27087 (round_test): Likewise.
27088 (scalb_test): Likewise.
27089 (scalbn_test): Likewise.
27090 (scalbln_test): Likewise.
27091 (signbit_test): Likewise.
27092 (sin_test): Likewise.
27093 (sin_test_tonearest): Likewise.
27094 (sin_test_towardzero): Likewise.
27095 (sin_test_downward): Likewise.
27096 (sin_test_upward): Likewise.
27097 (sincos_test): Likewise.
27098 (sinh_test): Likewise.
27099 (sinh_test_tonearest): Likewise.
27100 (sinh_test_towardzero): Likewise.
27101 (sinh_test_downward): Likewise.
27102 (sinh_test_upward): Likewise.
27103 (sqrt_test): Likewise.
27104 (tan_test): Likewise.
27105 (tan_test_tonearest): Likewise.
27106 (tan_test_towardzero): Likewise.
27107 (tan_test_downward): Likewise.
27108 (tan_test_upward): Likewise.
27109 (tanh_test): Likewise.
27110 (tgamma_test): Likewise.
27111 (trunc_test): Likewise.
27112 (y0_test): Likewise.
27113 (y1_test): Likewise.
27114 (yn_test): Likewise.
27115 (significand_test): Likewise.
27116
bae143d2
OB
271172013-05-24 Ondřej Bílka <neleai@seznam.cz>
27118
27119 [BZ #15381]
27120 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27121
9323d39b
EM
271222013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27123
d4ea44a0 27124 [BZ #14894]
9323d39b
EM
27125 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27126 __ppc_mdoio and __ppc_mdoom.
27127 * manual/platform.texi: Document new functions __ppc_yield,
27128 __ppc_mdoio and __ppc_mdoom.
27129
13e23af7
CD
271302013-05-22 Carlos O'Donell <carlos@redhat.com>
27131
27132 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27133 (main): Mention "tls" pseudo-hwcap is legacy.
27134 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27135
351fe550
JM
271362013-05-22 Joseph Myers <joseph@codesourcery.com>
27137
27138 * math/gen-libm-test.pl (parse_args): Output only string of
27139 arguments as text for test name, not full call or descriptions of
27140 tests for extra outputs.
27141 (generate_testfile): Do not pass function name to parse_args.
27142 Generate this_func variable from START.
27143 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27144 field to arg_str.
27145 (struct test_ff_f_data): Likewise.
27146 (test_ff_f_data_nexttoward): Likewise.
27147 (struct test_fi_f_data): Likewise.
27148 (struct test_fl_f_data): Likewise.
27149 (struct test_if_f_data): Likewise.
27150 (struct test_fff_f_data): Likewise.
27151 (struct test_c_f_data): Likewise.
27152 (struct test_f_f1_data): Likewise. Remove field extra_name.
27153 (struct test_fF_f1_data): Likewise.
27154 (struct test_ffI_f1_data): Likewise.
27155 (struct test_c_c_data): Rename test_name field to arg_str.
27156 (struct test_cc_c_data): Likewise.
27157 (struct test_f_i_data): Likewise.
27158 (struct test_ff_i_data): Likewise.
27159 (struct test_f_l_data): Likewise.
27160 (struct test_f_L_data): Likewise.
27161 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27162 and extra2_name.
27163 (COMMON_TEST_SETUP): New macro.
27164 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27165 (COMMON_TEST_CLEANUP): Likewise.
27166 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27167 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27168 macros.
27169 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27170 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27171 macros.
27172 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27173 (RUN_TEST_fff_f): Take argument string. Call new setup and
27174 cleanup macros.
27175 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27176 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27177 macros.
27178 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27179 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27180 macros.
27181 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27182 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27183 cleanup macros.
27184 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27185 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27186 cleanup macros.
27187 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27188 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27189 cleanup macros.
27190 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27191 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27192 macros.
27193 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27194 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27195 macros.
27196 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27197 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27198 macros.
27199 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27200 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27201 cleanup macros.
27202 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27203 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27204 cleanup macros.
27205 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27206 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27207 macros.
27208 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27209 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27210 cleanup macros.
27211 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27212 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27213 macros.
27214 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27215 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27216 macros.
27217 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27218 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27219 cleanup macros.
27220 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27221
85118d4d
EBM
272222013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27223
27224 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27225 to _sifields.sigfault.
27226 (si_addr_lsb): Define new macro.
27227 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27228 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27229 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27230
7a44c18f
CD
272312013-05-03 Carlos O'Donell <carlos at redhat.com>
27232
27233 [BZ #15441]
27234 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27235 returns -1.
27236 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27237 null return -1.
27238 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27239 loading the domain.
27240
b50a7181
JM
272412013-05-22 Joseph Myers <joseph@codesourcery.com>
27242
27243 * math/gen-libm-test.pl (parse_args): Do not include expected
27244 result in test name.
27245 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27246 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27247 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27248 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27249 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27251
051063c8
SP
272522013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27253
3ce9e010
SP
27254 * benchtests/Makefile: Sort function entries.
27255
051063c8
SP
27256 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27257 tanh, asinh, acosh, atanh.
27258 * benchtests/acos-inputs: New file.
27259 * benchtests/acosh-inputs: New file.
27260 * benchtests/asin-inputs: New file.
27261 * benchtests/asinh-inputs: New file.
27262 * benchtests/atanh-inputs: New file.
27263 * benchtests/cosh-inputs: New file.
27264 * benchtests/log-inputs: New file.
27265 * benchtests/sinh-inputs: New file.
27266 * benchtests/tanh-inputs: New file.
27267
47c22455
DL
272682013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27269
27270 [BZ #15339]
27271 * posix/tst-getaddrinfo4.c: New test.
27272 * posix/Makefile (tests): Add it.
27273
3d04f5db
SP
272742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27275
27276 [BZ #15339]
27277 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27278 when no services were used.
27279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27280 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27281
d5dd6189
AS
272822013-05-21 Andreas Schwab <schwab@suse.de>
27283
27284 [BZ #15014]
27285 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27286 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27287 successful.
27288 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27289 redundant variable declarations and reallocation of buffer when
27290 parsing as IPv6 address. Always set NSS status when called from
27291 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27292 buffer too small. Correct computation of needed size.
27293 * nss/Makefile (tests): Add test-digits-dots.
27294 * nss/test-digits-dots.c: New test.
27295
fef94eab
SP
272962013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27297
27298 * benchtests/Makefile: Remove instructions for adding
27299 benchmark tests.
27300 * benchtests/README: New file to explain how to execute and
27301 enhance the benchmark tests.
27302
e39adf43
AS
273032013-05-21 Andreas Schwab <schwab@suse.de>
27304
27305 [BZ #15493]
27306 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27307 * setjmp/tst-sigsetjmp.c: New test.
27308
b2b671b6
OB
273092013-05-20 Ondřej Bílka <neleai@seznam.cz>
27310
27311 * sysdeps/x86_64/memset.S (memset): New implementation.
27312 (__bzero): Likewise.
27313 (__memset_tail): New function.
27314
2d48b41c
OB
273152013-05-20 Ondřej Bílka <neleai@seznam.cz>
27316
27317 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27318 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27319 __memcpy_sse2_unaligned ifunc selection.
27320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27321 Add memcpy-sse2-unaligned.S.
27322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27323 Add: __memcpy_sse2_unaligned.
27324
f16cc3eb
JM
273252013-05-19 Joseph Myers <joseph@codesourcery.com>
27326
3e694268
JM
27327 [BZ #15490]
27328 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27329 math_force_eval before restoring floating-point envrionment.
27330 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27331 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27332 Likewise.
27333 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27334 <math_private.h>.
27335 (__nearbyintl): Use math_force_eval before restoring
27336 floating-point environment.
27337 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27338
db62a907
JM
27339 * math/gen-libm-test.pl (special_functions): Remove.
27340 (parse_args): Don't handle TEST_extra. Handle functions with no
27341 return value.
27342 * math/libm-test.inc (struct test_sincos_data): Replace with
27343 struct test_fFF_11_data.
27344 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27345 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27346 (sincos_test_data): Change element type to struct
27347 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27348 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27349 RUN_TEST_LOOP_sincos.
27350 * math/README.libm-test: Don't mention special handling of
27351 individual functions.
27352 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27354 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27355 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27356 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27358
f16cc3eb
JM
27359 * math/gen-libm-test.pl (get_variable): Remove function.
27360 (parse_args): Don't show pointer parameters to call in test
27361 names. Use "extra output N" in test names for extra outputs
27362 rather than naming variables.
27363
3779b5b6
JM
273642013-05-18 Joseph Myers <joseph@codesourcery.com>
27365
2ee094ff
JM
27366 [BZ #15488]
27367 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27368 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27369 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27370 double tests.
27371 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27372 disable.
27373 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27374 check_long_double.
27375
3779b5b6
JM
27376 * math/gen-libm-test.pl (@tests): Remove variable.
27377 ($count): Likewise.
27378 (new_test): Remove function.
27379 (show_exceptions): New function.
27380 (special_functions): Use show_exceptions instead of new_test.
27381 (parse_args): Likewise.
27382 (generate_testfile): Pass only function name in generated call to
27383 print_max_error or print_complex_max_error.
27384 (get_ulps): Do not handle complex tests specially.
27385 (output_test): Rename to ...
27386 (get_all_ulps_for_test): ... this. Return a string rather than
27387 printing to a file. Require ulps to be present.
27388 (output_ulps): Generate arrays rather than #defines.
27389 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27390 (struct ulp_data): New type.
27391 (BUILD_COMPLEX_ULP): Remove macro.
27392 (compare_ulp_data): New function.
27393 (find_ulps): Likewise.
27394 (find_test_ulps): Likewise.
27395 (find_function_ulps): Likewise.
27396 (find_complex_function_ulps): Likewise.
27397 (print_max_error): Determine allowed ulps using
27398 find_function_ulps.
27399 (print_complex_max_error): Determine allowed ulps using
27400 find_complex_function_ulps.
27401 (check_float_internal): Determine max ulps using find_test_ulps.
27402 (check_float): Do not take max_ulp parameter. Update call to
27403 check_float_internal.
27404 (check_complex): Likewise.
27405 (check_int): Do not take max_ulp parameter.
27406 (check_long): Likewise.
27407 (check_bool): Likewise.
27408 (check_longlong): Likewise.
27409 (struct test_f_f_data): Remove max_ulp field.
27410 (struct test_ff_f_data): Likewise.
27411 (struct test_ff_f_data_nexttoward): Likewise.
27412 (struct test_fi_f_data): Likewise.
27413 (struct test_fl_f_data): Likewise.
27414 (struct test_if_f_data): Likewise.
27415 (struct test_fff_f_data): Likewise.
27416 (struct test_c_f_data): Likewise.
27417 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27418 (struct test_fF_f1_data): Likewise.
27419 (struct test_ffI_f1_data): Likewise.
27420 (struct test_c_c_data): Remove max_ulp field.
27421 (struct test_cc_c_data): Likewise.
27422 (struct test_f_i_data): Likewise.
27423 (struct test_ff_i_data): Likewise.
27424 (struct test_f_l_data): Likewise.
27425 (struct test_f_L_data): Likewise.
27426 (struct test_sincos_data): Likewise.
27427 (RUN_TEST_f_f): Do not handle ulps.
27428 (RUN_TEST_LOOP_f_f): Likewise.
27429 (RUN_TEST_2_f): Likewise.
27430 (RUN_TEST_LOOP_2_f): Likewise.
27431 (RUN_TEST_fff_f): Likewise.
27432 (RUN_TEST_LOOP_fff_f): Likewise.
27433 (RUN_TEST_c_f): Likewise.
27434 (RUN_TEST_LOOP_c_f): Likewise.
27435 (RUN_TEST_f_f1): Likewise.
27436 (RUN_TEST_LOOP_f_f1): Likewise.
27437 (RUN_TEST_fF_f1): Likewise.
27438 (RUN_TEST_LOOP_fF_f1): Likewise.
27439 (RUN_TEST_fI_f1): Likewise.
27440 (RUN_TEST_LOOP_fI_f1): Likewise.
27441 (RUN_TEST_ffI_f1): Likewise.
27442 (RUN_TEST_LOOP_ffI_f1): Likewise.
27443 (RUN_TEST_c_c): Likewise.
27444 (RUN_TEST_LOOP_c_c): Likewise.
27445 (RUN_TEST_cc_c): Likewise.
27446 (RUN_TEST_LOOP_cc_c): Likewise.
27447 (RUN_TEST_f_i): Likewise.
27448 (RUN_TEST_LOOP_f_i): Likewise.
27449 (RUN_TEST_f_i_tg): Likewise.
27450 (RUN_TEST_LOOP_f_i_tg): Likewise.
27451 (RUN_TEST_ff_i_tg): Likewise.
27452 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27453 (RUN_TEST_f_b): Likewise.
27454 (RUN_TEST_LOOP_f_b): Likewise.
27455 (RUN_TEST_f_b_tg): Likewise.
27456 (RUN_TEST_LOOP_f_b_tg): Likewise.
27457 (RUN_TEST_f_l): Likewise.
27458 (RUN_TEST_LOOP_f_l): Likewise.
27459 (RUN_TEST_f_L): Likewise.
27460 (RUN_TEST_LOOP_f_L): Likewise.
27461 (RUN_TEST_sincos): Likewise.
27462 (RUN_TEST_LOOP_sincos): Likewise.
27463
8269107f
JM
274642013-05-17 Joseph Myers <joseph@codesourcery.com>
27465
bb38759d
JM
27466 [BZ #15480]
27467 [BZ #15485]
27468 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27469 main case of finite arguments, set rounding mode to FE_TONEAREST
27470 and discard exceptions.
27471 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27472 exceptions.
27473 (remainder_tonearest_test_data): New variable.
27474 (remainder_test_tonearest): New function.
27475 (remainder_towardzero_test_data): New variable.
27476 (remainder_test_towardzero): New function.
27477 (remainder_downward_test_data): New variable.
27478 (remainder_test_downward): New function.
27479 (remainder_upward_test_data): New variable.
27480 (remainder_test_upward): New function.
27481 (main): Call the new test functions.
27482
a00bdcf0
JM
27483 * math/libm-test.inc (struct test_f_f1_data): Remove field
27484 extra_init.
27485 (struct test_fF_f1_data): Likewise.
27486 (struct test_ffI_f1_data): Likewise.
27487 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27488 based on value of EXTRA_EXPECTED.
27489 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27490 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27491 EXTRA_VAR based on value of EXTRA_EXPECTED.
27492 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27493 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27494 EXTRA_VAR based on value of EXTRA_EXPECTED.
27495 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27496 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27497 EXTRA_VAR based on value of EXTRA_EXPECTED.
27498 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27499 * math/gen-libm-test.pl (parse_args): Don't output initializers
27500 for extra output values.
27501
de407f79
JM
27502 * math/libm-test.inc (check_int): Expect result to be exactly
27503 equal to expected value and do not handle ulps.
27504 (check_long): Likewise.
27505 (check_longlong): Likewise.
27506
8269107f
JM
27507 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27508 exceptions.
27509 (cimag_test_data): Likewise.
27510 (conj_test_data): Likewise.
27511 (copysign_test_data): Likewise.
27512 (cproj_test_data): Likewise.
27513 (creal_test_data): Likewise.
27514 (fabs_test_data): Likewise.
27515 (fdim_test_data): Likewise.
27516 (finite_test_data): Likewise.
27517 (floor_test_data): Likewise.
27518 (fmax_test_data): Likewise.
27519 (fmin_test_data): Likewise.
27520 (fmod_test_data): Likewise.
27521 (fpclassify_test_data): Likewise.
27522 (frexp_test_data): Likewise.
27523 (ilogb_test_data): Likewise.
27524 (isfinite_test_data): Likewise.
27525 (isgreater_test_data): Likewise.
27526 (isgreaterequal_test_data): Likewise.
27527 (isinf_test_data): Likewise.
27528 (isless_test_data): Likewise.
27529 (islessequal_test_data): Likewise.
27530 (islessgreater_test_data): Likewise.
27531 (isnan_test_data): Likewise.
27532 (isnormal_test_data): Likewise.
27533 (issignaling_test_data): Likewise.
27534 (isunordered_test_data): Likewise.
27535 (ldexp_test_data): Likewise.
27536 (lrint_test_data): Likewise.
27537 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27538 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27539 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27540 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27541 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27542 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27543 test input.
27544 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27545 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27546 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27547 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27548 that test input.
27549 (lrint_downward_test_data): Test for "inexact" exceptions.
27550 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27551 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27552 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27553 test input.
27554 (lrint_upward_test_data): Test for "inexact" exceptions.
27555 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27556 test input.
27557 (llrint_test_data): Test for "inexact" exceptions.
27558 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27559 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27560 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27561 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27562 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27563 (llrint_downward_test_data): Test for "inexact" exceptions.
27564 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27565 (llrint_upward_test_data): Test for "inexact" exceptions.
27566 (logb_test_data): Likewise.
27567 (logb_downward_test_data): Likewise.
27568 (nextafter_test_data): Likewise.
27569 (nexttoward_test_data): Likewise.
27570 (remainder_test_data): Likewise.
27571 (remquo_test_data): Likewise.
27572 (scalbn_test_data): Likewise.
27573 (scalbln_test_data): Likewise.
27574 (signbit_test_data): Likewise.
27575 (sqrt_test_data): Likewise.
27576 (significand_test_data): Likewise.
27577
48a18de1
SP
275782013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27579
27580 [BZ #15424]
27581 * benchtests/bench-modf.c (struct args): Mark arg0 as
27582 volatile.
27583 * scripts/bench.pl: Mark members of struct args as volatile.
27584
13d3b41a
AZ
275852013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27586
68191c1d 27587 [BZ # 15497]
13d3b41a
AZ
27588 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27589 negative infinity on POWER6 or lower.
27590 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27591
2848b105
MR
275922013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27593
27594 [BZ #15442]
27595 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27596 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27597 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27598 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27599 (_FP_SETQNAN): New macro.
27600 (_FP_SETQNAN_SEMIRAW): Likewise.
27601 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27602 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27603 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27604 (FP_EXTEND): Use _FP_FRAC_SNANP.
27605 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27606 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27607 into account.
27608 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27609 New macro.
27610 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27611 Likewise.
27612
323e5cb7
JM
276132013-05-16 Joseph Myers <joseph@codesourcery.com>
27614
c58b274f
JM
27615 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27616 with DIVIDE_BY_ZERO_EXCEPTION.
27617 (gamma_test_data): Likewise.
27618 (lgamma_test_data): Likewise.
27619 (log_test_data): Likewise.
27620 (log10_test_data): Likewise.
27621 (log2_test_data): Likewise.
27622 (tgamma_test_data): Likewise.
27623
0ab34904
JM
27624 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27625 (acos_test_tonearest): Likewise.
27626 (acos_test_towardzero): Likewise.
27627 (acos_test_downward): Likewise.
27628 (acos_test_upward): Likewise.
27629 (acosh_test): Likewise.
27630 (asin_test): Likewise.
27631 (asin_test_tonearest): Likewise.
27632 (asin_test_towardzero): Likewise.
27633 (asin_test_downward): Likewise.
27634 (asin_test_upward): Likewise.
27635 (asinh_test): Likewise.
27636 (atan_test): Likewise.
27637 (atanh_test): Likewise.
27638 (atan2_test): Likewise.
27639 (cabs_test): Likewise.
27640 (cacos_test): Likewise.
27641 (cacosh_test): Likewise.
27642 (casin_test): Likewise.
27643 (casinh_test): Likewise.
27644 (catan_test): Likewise.
27645 (catanh_test): Likewise.
27646 (cbrt_test): Likewise.
27647 (ccos_test): Likewise.
27648 (ccosh_test): Likewise.
27649 (cexp_test): Likewise.
27650 (clog_test): Likewise.
27651 (clog10_test): Likewise.
27652 (cos_test): Likewise.
27653 (cos_test_tonearest): Likewise.
27654 (cos_test_towardzero): Likewise.
27655 (cos_test_downward): Likewise.
27656 (cos_test_upward): Likewise.
27657 (cosh_test): Likewise.
27658 (cosh_test_tonearest): Likewise.
27659 (cosh_test_towardzero): Likewise.
27660 (cosh_test_downward): Likewise.
27661 (cosh_test_upward): Likewise.
27662 (cpow_test): Likewise.
27663 (csin_test): Likewise.
27664 (csinh_test): Likewise.
27665 (csqrt_test): Likewise.
27666 (ctan_test): Likewise.
27667 (ctan_test_tonearest): Likewise.
27668 (ctan_test_towardzero): Likewise.
27669 (ctan_test_downward): Likewise.
27670 (ctan_test_upward): Likewise.
27671 (ctanh_test): Likewise.
27672 (ctanh_test_tonearest): Likewise.
27673 (ctanh_test_towardzero): Likewise.
27674 (ctanh_test_downward): Likewise.
27675 (ctanh_test_upward): Likewise.
27676 (erf_test): Likewise.
27677 (erfc_test): Likewise.
27678 (exp_test): Likewise.
27679 (exp_test_tonearest): Likewise.
27680 (exp_test_towardzero): Likewise.
27681 (exp_test_downward): Likewise.
27682 (exp_test_upward): Likewise.
27683 (exp10_test): Likewise.
27684 (exp2_test): Likewise.
27685 (expm1_test): Likewise.
27686 (fmod_test): Likewise.
27687 (gamma_test): Likewise.
27688 (hypot_test): Likewise.
27689 (j0_test): Likewise.
27690 (j1_test): Likewise.
27691 (jn_test): Likewise.
27692 (lgamma_test): Likewise.
27693 (log_test): Likewise.
27694 (log10_test): Likewise.
27695 (log1p_test): Likewise.
27696 (log2_test): Likewise.
27697 (logb_test_downward): Likewise.
27698 (pow_test): Likewise.
27699 (pow_test_tonearest): Likewise.
27700 (pow_test_towardzero): Likewise.
27701 (pow_test_downward): Likewise.
27702 (pow_test_upward): Likewise.
27703 (remainder_test): Likewise.
27704 (remquo_test): Likewise.
27705 (sin_test): Likewise.
27706 (sin_test_tonearest): Likewise.
27707 (sin_test_towardzero): Likewise.
27708 (sin_test_downward): Likewise.
27709 (sin_test_upward): Likewise.
27710 (sincos_test): Likewise.
27711 (sinh_test): Likewise.
27712 (sinh_test_tonearest): Likewise.
27713 (sinh_test_towardzero): Likewise.
27714 (sinh_test_downward): Likewise.
27715 (sinh_test_upward): Likewise.
27716 (sqrt_test): Likewise.
27717 (tan_test): Likewise.
27718 (tan_test_tonearest): Likewise.
27719 (tan_test_towardzero): Likewise.
27720 (tan_test_downward): Likewise.
27721 (tan_test_upward): Likewise.
27722 (tanh_test): Likewise.
27723 (tgamma_test): Likewise.
27724 (y0_test): Likewise.
27725 (y1_test): Likewise.
27726 (yn_test): Likewise.
27727
323e5cb7
JM
27728 * math/gen-libm-test.pl (adjust_arg): Remove function.
27729 (special_function): Remove argument $in_func. Only handle
27730 generating output for tables of tests, not inside functions.
27731 (parse_args): Likewise.
27732 (generate_testfile): Remove variable $in_func. Update call to
27733 parse_args.
27734 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27735 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27736 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27737 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27738 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27739 (MAX_VALUE_INIT): Rename macro to max_value.
27740 (MIN_VALUE_INIT): Rename macro to min_value.
27741 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27742 (plus_zero): Remove variable.
27743 (minus_zero): Likewise.
27744 (plus_infty): Likewise.
27745 (minus_infty): Likewise.
27746 (qnan_value): Likewise.
27747 (max_value): Likewise.
27748 (min_value): Likewise.
27749 (min_subnorm_value): Likewise.
27750
e054f494
RA
277512013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27752
27753 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27754 uint64_t or uint32_t usage.
27755 * crypt/sha256-block.c: Likewise.
27756 * crypt/sha256-crypt.c: Likewise.
27757 * crypt/sha256.c: Likewise.
27758 * crypt/sha512-block.c: Likewise.
27759 * crypt/sha512-crypt.c: Likewise.
27760 * crypt/sha512.c: Likewise.
27761 * debug/backtrace-tst.c: Likewise.
27762 * debug/pcprofiledump.c: Likewise.
27763 * elf/cache.c: Likewise.
27764 * elf/dl-cache.c: Likewise.
27765 * elf/dl-misc.c: Likewise.
27766 * elf/dl-profile.c: Likewise.
27767 * elf/dl-support.c: Likewise.
27768 * elf/ldconfig.c: Likewise.
27769 * elf/sprof.c: Likewise.
27770 * iconv/dummy-repertoire.c: Likewise.
27771 * iconv/iconv_charmap.c: Likewise.
27772 * iconv/skeleton.c: Likewise.
27773 * iconvdata/8bit-generic.c: Likewise.
27774 * iconvdata/cp737.h: Likewise.
27775 * iconvdata/cp775.h: Likewise.
27776 * iconvdata/ibm1008.h: Likewise.
27777 * iconvdata/ibm1025.h: Likewise.
27778 * iconvdata/ibm1046.h: Likewise.
27779 * iconvdata/ibm1097.h: Likewise.
27780 * iconvdata/ibm1112.h: Likewise.
27781 * iconvdata/ibm1122.h: Likewise.
27782 * iconvdata/ibm1123.h: Likewise.
27783 * iconvdata/ibm1124.h: Likewise.
27784 * iconvdata/ibm1129.h: Likewise.
27785 * iconvdata/ibm1130.h: Likewise.
27786 * iconvdata/ibm1132.h: Likewise.
27787 * iconvdata/ibm1133.h: Likewise.
27788 * iconvdata/ibm1137.h: Likewise.
27789 * iconvdata/ibm1140.h: Likewise.
27790 * iconvdata/ibm1141.h: Likewise.
27791 * iconvdata/ibm1142.h: Likewise.
27792 * iconvdata/ibm1143.h: Likewise.
27793 * iconvdata/ibm1144.h: Likewise.
27794 * iconvdata/ibm1145.h: Likewise.
27795 * iconvdata/ibm1146.h: Likewise.
27796 * iconvdata/ibm1147.h: Likewise.
27797 * iconvdata/ibm1148.h: Likewise.
27798 * iconvdata/ibm1149.h: Likewise.
27799 * iconvdata/ibm1153.h: Likewise.
27800 * iconvdata/ibm1154.h: Likewise.
27801 * iconvdata/ibm1155.h: Likewise.
27802 * iconvdata/ibm1156.h: Likewise.
27803 * iconvdata/ibm1157.h: Likewise.
27804 * iconvdata/ibm1158.h: Likewise.
27805 * iconvdata/ibm1160.h: Likewise.
27806 * iconvdata/ibm1161.h: Likewise.
27807 * iconvdata/ibm1162.h: Likewise.
27808 * iconvdata/ibm1163.h: Likewise.
27809 * iconvdata/ibm1164.h: Likewise.
27810 * iconvdata/ibm1166.h: Likewise.
27811 * iconvdata/ibm1167.h: Likewise.
27812 * iconvdata/ibm12712.h: Likewise.
27813 * iconvdata/ibm1390.h: Likewise.
27814 * iconvdata/ibm1399.h: Likewise.
27815 * iconvdata/ibm16804.h: Likewise.
27816 * iconvdata/ibm4517.h: Likewise.
27817 * iconvdata/ibm4899.h: Likewise.
27818 * iconvdata/ibm4909.h: Likewise.
27819 * iconvdata/ibm4971.h: Likewise.
27820 * iconvdata/ibm5347.h: Likewise.
27821 * iconvdata/ibm803.h: Likewise.
27822 * iconvdata/ibm856.h: Likewise.
27823 * iconvdata/ibm901.h: Likewise.
27824 * iconvdata/ibm902.h: Likewise.
27825 * iconvdata/ibm9030.h: Likewise.
27826 * iconvdata/ibm9066.h: Likewise.
27827 * iconvdata/ibm921.h: Likewise.
27828 * iconvdata/ibm922.h: Likewise.
27829 * iconvdata/ibm9448.h: Likewise.
27830 * iconvdata/isiri-3342.h: Likewise.
27831 * iconvdata/jis0201.h: Likewise.
27832 * include/link.h: Likewise.
27833 * include/netdb.h: Likewise.
27834 * inet/check_native.c: Likewise.
27835 * inet/check_pf.c: Likewise.
27836 * inet/getipv4sourcefilter.c: Likewise.
27837 * inet/getnameinfo.c: Likewise.
27838 * inet/getsourcefilter.c: Likewise.
27839 * inet/htonl.c: Likewise.
27840 * inet/setipv4sourcefilter.c: Likewise.
27841 * inet/setsourcefilter.c: Likewise.
27842 * inet/test-inet6_opt.c: Likewise.
27843 * inet/tst-network.c: Likewise.
27844 * locale/C-collate.c: Likewise.
27845 * locale/C-ctype.c: Likewise.
27846 * locale/C-time.c: Likewise.
27847 * locale/C-translit.h: Likewise.
27848 * locale/loadarchive.c: Likewise.
27849 * locale/programs/3level.h: Likewise.
27850 * locale/programs/charmap.c: Likewise.
27851 * locale/programs/charmap.h: Likewise.
27852 * locale/programs/ld-address.c: Likewise.
27853 * locale/programs/ld-collate.c: Likewise.
27854 * locale/programs/ld-ctype.c: Likewise.
27855 * locale/programs/ld-identification.c: Likewise.
27856 * locale/programs/ld-measurement.c: Likewise.
27857 * locale/programs/ld-messages.c: Likewise.
27858 * locale/programs/ld-monetary.c: Likewise.
27859 * locale/programs/ld-name.c: Likewise.
27860 * locale/programs/ld-numeric.c: Likewise.
27861 * locale/programs/ld-paper.c: Likewise.
27862 * locale/programs/ld-telephone.c: Likewise.
27863 * locale/programs/ld-time.c: Likewise.
27864 * locale/programs/linereader.c: Likewise.
27865 * locale/programs/locale.c: Likewise.
27866 * locale/programs/locarchive.c: Likewise.
27867 * locale/programs/locfile.h: Likewise.
27868 * locale/programs/repertoire.c: Likewise.
27869 * locale/programs/simple-hash.c: Likewise.
27870 * locale/programs/simple-hash.h: Likewise.
27871 * malloc/memusage.c: Likewise.
27872 * malloc/memusagestat.c: Likewise.
27873 * nis/nis_defaults.c: Likewise.
27874 * nis/nis_hash.c: Likewise.
27875 * nis/nis_print.c: Likewise.
27876 * nis/nis_xdr.c: Likewise.
27877 * nscd/connections.c: Likewise.
27878 * nscd/hstcache.c: Likewise.
27879 * nscd/nscd_gethst_r.c: Likewise.
27880 * nscd/nscd_getserv_r.c: Likewise.
27881 * nscd/nscd_helper.c: Likewise.
27882 * nscd/servicescache.c: Likewise.
27883 * nss/makedb.c: Likewise.
27884 * nss/nss_db/db-XXX.c: Likewise.
27885 * nss/nss_db/db-initgroups.c: Likewise.
27886 * nss/nss_db/db-netgrp.c: Likewise.
27887 * nss/nss_files/files-network.c: Likewise.
27888 * nss/nss_files/files-parse.c: Likewise.
27889 * posix/bug-regex5.c: Likewise.
27890 * posix/fnmatch_loop.c: Likewise.
27891 * posix/regcomp.c: Likewise.
27892 * posix/regexec.c: Likewise.
27893 * posix/tst-rfc3484-2.c: Likewise.
27894 * posix/tst-rfc3484-3.c: Likewise.
27895 * posix/tst-rfc3484.c: Likewise.
27896 * resolv/nss_dns/dns-canon.c: Likewise.
27897 * resolv/nss_dns/dns-network.c: Likewise.
27898 * resolv/res_init.c: Likewise.
27899 * resolv/res_mkquery.c: Likewise.
27900 * resolv/tst-aton.c: Likewise.
27901 * stdlib/cxa_atexit.c: Likewise.
27902 * stdlib/cxa_finalize.c: Likewise.
27903 * stdlib/gen-fpioconst.c: Likewise.
27904 * stdlib/strtol_l.c: Likewise.
27905 * string/tst-endian.c: Likewise.
27906 * sunrpc/auth_des.c: Likewise.
27907 * sunrpc/clnt_udp.c: Likewise.
27908 * sunrpc/rtime.c: Likewise.
27909 * sunrpc/svcauth_des.c: Likewise.
27910 * sunrpc/xdr.c: Likewise.
27911 * sunrpc/xdr_intXX_t.c: Likewise.
27912 * sunrpc/xdr_rec.c: Likewise.
27913 * sysdeps/generic/ldconfig.h: Likewise.
27914 * sysdeps/generic/ldsodefs.h: Likewise.
27915 * sysdeps/generic/memusage.h: Likewise.
27916 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27918 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27919 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27926 * sysdeps/posix/getaddrinfo.c: Likewise.
27927 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27928 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27929 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27930 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27931 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27932 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27933 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27934 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27935 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27936 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27937 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27938 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27939 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27940 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27941 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27942 * sysdeps/x86_64/dl-tls.h: Likewise.
27943 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27944 * time/alt_digit.c: Likewise.
27945 * time/era.c: Likewise.
27946 * wcsmbs/tst-c16c32-1.c: Likewise.
27947
8c75f674
JM
279482013-05-16 Joseph Myers <joseph@codesourcery.com>
27949
27950 * math/libm-test.inc (struct test_sincos_data): New type.
27951 (RUN_TEST_LOOP_sincos): New macro.
27952 (sincos_test_data): New variable.
27953 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27954
e6e49e59
RH
279552013-05-16 Richard Henderson <rth@redhat.com>
27956
27957 * math/atest-exp2.c (LIMB64): New macro.
27958 (CONSTSZ): New macro.
27959 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27960 (hexdig): Move ...
27961 (print_mpn_fp): ... to function scope.
27962 (read_mpn_hex): Remove.
27963 (get_log2): Remove.
27964 (exp2_mpn): Use mp_log2.
27965 (main): Use mp_exp1.
27966
15c7c18d
JM
279672013-05-16 Joseph Myers <joseph@codesourcery.com>
27968
105a07df
JM
27969 * math/libm-test.inc: Remove comment about not testing "inexact"
27970 exceptions.
27971 (INEXACT_EXCEPTION): New macro.
27972 (NO_INEXACT_EXCEPTION): Likewise.
27973 (INVALID_EXCEPTION_OK): Update value.
27974 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27975 (OVERFLOW_EXCEPTION_OK): Likewise.
27976 (UNDERFLOW_EXCEPTION_OK): Likewise.
27977 (IGNORE_ZERO_INF_SIGN): Likewise.
27978 (ERRNO_UNCHANGED): Likewise.
27979 (ERRNO_EDOM): Likewise.
27980 (ERRNO_ERANGE): Likewise.
27981 (test_exceptions): Handle testing "inexact" exceptions.
27982 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27983 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27984 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27985 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27986 INEXACT_EXCEPTION.
27987 (rint_towardzero_test_data): Likewise.
27988 (rint_downward_test_data): Likewise.
27989 (rint_upward_test_data): Likewise.
27990
e9eee333
JM
27991 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27992 with OVERFLOW_EXCEPTION.
27993 (exp10_test_data): Likewise.
27994 (exp2_test_data): Likewise.
27995 (expm1_test_data): Likewise.
27996 (lgamma_test_data): Likewise.
27997 (pow_test_data): Likewise.
27998 (tgamma_test_data): Likewise.
27999 (yn_test_data): Remove duplicate test of overflow.
28000
1c38ff73
JM
28001 * math/libm-test.inc (struct test_cc_c_data): New type.
28002 (RUN_TEST_LOOP_cc_c): New macro.
28003 (cpow_test_data): New variable.
28004 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28005
15c7c18d
JM
28006 * math/libm-test.inc (struct test_f_L_data): New type.
28007 (RUN_TEST_LOOP_f_L): New macro.
28008 (llrint_test_data): New variable.
28009 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28010 (llrint_tonearest_test_data): New variable.
28011 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28012 (llrint_towardzero_test_data): New variable.
28013 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28014 (llrint_downward_test_data): New variable.
28015 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28016 (llrint_upward_test_data): New variable.
28017 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28018 (llround_test_data): New variable.
28019 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28020
f137ff13
PC
280212013-05-13 Peter Collingbourne <pcc@google.com>
28022
28023 * math/atest-exp2.c (get_log2): Remove const attribute.
28024
3608cb24
JM
280252013-05-15 Joseph Myers <joseph@codesourcery.com>
28026
28027 * math/libm-test.inc (struct test_f_l_data): New type.
28028 (RUN_TEST_LOOP_f_l): New macro.
28029 (lrint_test_data): New variable.
28030 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28031 (lrint_tonearest_test_data): New variable.
28032 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28033 (lrint_towardzero_test_data): New variable.
28034 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28035 (lrint_downward_test_data): New variable.
28036 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28037 (lrint_upward_test_data): New variable.
28038 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28039 (lround_test_data): New variable.
28040 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28041
39b1f617
PC
280422013-05-15 Peter Collingbourne <pcc@google.com>
28043
1deff3dc
PC
28044 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28045 (EXTRACT_WORDS64) Use where appropriate.
28046 (INSERT_WORDS64) Likewise.
28047
791f3ba0
PC
28048 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28049 constraints with x constraints.
28050 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28051
39b1f617
PC
28052 * malloc/obstack.c (_obstack_compat): Add initializer.
28053
12fba011
EM
280542013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28055
28056 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28057 si_trapno and add si_addr_lsb to _sifields.sigfault.
28058 (si_trapno): Remove macro.
28059 (si_addr_lsb): Define new macro.
28060 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28061
d369f531
JM
280622013-05-15 Joseph Myers <joseph@codesourcery.com>
28063
b861c6c4
JM
28064 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28065 instead of TEST_f_l.
28066 (llrint_test_tonearest): Likewise.
28067 (llrint_test_towardzero): Likewise.
28068 (llrint_test_downward): Likewise.
28069 (llrint_test_upward): Likewise.
28070 (llround_test): Likewise.
28071
7abeee12
JM
28072 * math/libm-test.inc (struct test_f_i_data): Add comment.
28073 (RUN_TEST_LOOP_f_b): New macro.
28074 (RUN_TEST_LOOP_f_b_tg): Likewise.
28075 (finite_test_data): New variable.
28076 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28077 (isfinite_test_data): New variable.
28078 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28079 (isinf_test_data): New variable.
28080 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28081 (isnan_test_data): New variable.
28082 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28083 (isnormal_test_data): New variable.
28084 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28085 (issignaling_test_data): New variable.
28086 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28087 (signbit_test_data): New variable.
28088 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28089
cbe8c4d3
JM
28090 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28091 with INVALID_EXCEPTION.
28092 (acosh_test_data): Likewise.
28093 (asin_test_data): Likewise.
28094 (atanh_test_data): Likewise.
28095 (fmod_test_data): Likewise.
28096 (log_test_data): Likewise.
28097 (log10_test_data): Likewise.
28098 (log2_test_data): Likewise.
28099 (pow_test_data): Likewise.
28100 (sqrt_test_data): Likewise.
28101 (y0_test_data): Likewise.
28102 (y1_test_data): Likewise.
28103 (yn_test_data): Likewise.
28104
5575c0e5
JM
28105 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28106 function contents.
28107
d369f531
JM
28108 * math/libm-test.inc (struct test_ff_i_data): New type.
28109 (RUN_TEST_LOOP_ff_i_tg): New macro.
28110 (isgreater_test_data): New variable.
28111 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28112 (isgreaterequal_test_data): New variable.
28113 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28114 (isless_test_data): New variable.
28115 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28116 (islessequal_test_data): New variable.
28117 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28118 (islessgreater_test_data): New variable.
28119 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28120 (isunordered_test_data): New variable.
28121 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28122
781fd748
DM
281232013-05-14 David S. Miller <davem@davemloft.net>
28124
28125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28126
87aa21df
JM
281272013-05-14 Joseph Myers <joseph@codesourcery.com>
28128
5e908270
JM
28129 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28130
f71172e5
JM
28131 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28132 extra_test to int.
28133 (struct test_f_i_data): Change type of max_ulp to int.
28134
8cfa635a
JM
28135 * math/libm-test.inc (test_ffI_f1_data): New type.
28136 (RUN_TEST_LOOP_ffI_f1): New macro.
28137 (remquo_test_data): New variable.
28138 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28139
2bcb36b2
JM
28140 * setjmp/tst-setjmp-fp.c: New file.
28141 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28142 (link-libm): New variable.
28143 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28144
acbd839a
JM
28145 * math/libm-test.inc (struct test_f_i_data): New type.
28146 (RUN_TEST_LOOP_f_i): New macro.
28147 (RUN_TEST_LOOP_f_i_tg): Likewise.
28148 (fpclassify_test_data): New variable.
28149 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28150 (ilogb_test_data): New variable.
28151 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28152
e414d745
JM
28153 * math/libm-test.inc (scalbln_test): Correct function name in END
28154 call.
28155
d9c2a0fd
JM
28156 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28157 (RUN_TEST_LOOP_fI_f1): New macro.
28158 (frexp_test_data): New variable.
28159 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28160
9dc9095d
JM
28161 * math/libm-test.inc (struct test_fF_f1_data): New type.
28162 (RUN_TEST_LOOP_fF_f1): New macro.
28163 (modf_test_data): New variable.
28164 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28165
87aa21df
JM
28166 * math/libm-test.inc (struct test_f_f1_data): New type.
28167 (RUN_TEST_LOOP_f_f1): New macro.
28168 (gamma_test_data): New variable.
28169 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28170 (lgamma_test_data): New variable.
28171 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28172
141af660
CD
281732013-05-13 Carlos O'Donell <carlos@redhat.com>
28174
28175 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28176 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28177 (main): Comment "tls" pseudo-hwcap.
28178
6d33265c
JM
281792013-05-13 Joseph Myers <joseph@codesourcery.com>
28180
68fc074c
JM
28181 * math/libm-test.inc (struct test_fl_f_data): New type.
28182 (RUN_TEST_LOOP_fl_f): New variable.
28183 (scalbln_test_data): New variable.
28184 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28185
243216e1
JM
28186 * math/libm-test.inc (struct test_fi_f_data): New type.
28187 (RUN_TEST_LOOP_fi_f): New macro.
28188 (ldexp_test_data): New variable.
28189 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28190 (scalbn_test_data): New variable.
28191 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28192
6a1992e2
JM
28193 * math/libm-test.inc (struct test_c_f_data): New type.
28194 (RUN_TEST_LOOP_c_f): New macro.
28195 (cabs_test_data): New variable.
28196 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28197 (carg_test_data): New variable.
28198 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28199 (cimag_test_data): New variable.
28200 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28201 (creal_test_data): New variable.
28202 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28203
0e400df5
JM
28204 * math/libm-test.inc (struct test_if_f_data): New type.
28205 (RUN_TEST_LOOP_if_f): New macro.
28206 (jn_test_data): New variable.
28207 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28208 (yn_test_data): New variable.
28209 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28210
6d33265c
JM
28211 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28212
f98ece5f
AZ
282132013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28214
28215 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28216 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28217
0f7d347b
SP
282182013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28219
43fe811b
SP
28220 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28221 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28222 (bench-deps): Add bench-timing.h.
28223 * benchtests-bench-skeleton.c: Include bench-timing.h.
28224 (main): Use TIMING_* macros instead of clock_gettime.
28225 * benchtests/bench-timing.h: New file.
28226
0f7d347b
SP
28227 [BZ #14582]
28228 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28229 Renamed from _LIB_VERSION.
28230 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28231
601a3a5f
JM
282322013-05-12 Joseph Myers <joseph@codesourcery.com>
28233
4f184d30
JM
28234 * math/libm-test.inc (struct test_fff_f_data): New type.
28235 (RUN_TEST_LOOP_fff_f): New macro.
28236 (fma_test_data): New variable.
28237 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28238 (fma_towardzero_test_data): New variable.
28239 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28240 (fma_downward_test_data): New variable.
28241 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28242 (fma_upward_test_data): New variable.
28243 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28244
08198877
JM
28245 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28246 (struct test_c_c_data): New type.
28247 (RUN_TEST_LOOP_c_c): New macro.
28248 (cacos_test_data): New variable.
28249 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28250 (cacosh_test_data): New variable.
28251 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28252 (casin_test_data): New variable.
28253 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28254 (casinh_test_data): New variable.
28255 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28256 (catan_test_data): New variable.
28257 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28258 (catanh_test_data): New variable.
28259 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28260 (ccos_test_data): New variable.
28261 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28262 (ccosh_test_data): New variable.
28263 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28264 (cexp_test_data): New variable.
28265 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28266 (clog_test_data): New variable.
28267 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28268 (clog10_test_data): New variable.
28269 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28270 (conj_test_data): New variable.
28271 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28272 (cproj_test_data): New variable.
28273 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28274 (csin_test_data): New variable.
28275 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28276 (csinh_test_data): New variable.
28277 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28278 (csqrt_test_data): New variable.
28279 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28280 (ctan_test_data): New variable.
28281 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28282 (ctan_tonearest_test_data): New variable.
28283 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28284 (ctan_towardzero_test_data): New variable.
28285 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28286 (ctan_downward_test_data): New variable.
28287 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28288 (ctan_upward_test_data): New variable.
28289 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28290 (ctanh_test_data): New variable.
28291 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28292 (ctanh_tonearest_test_data): New variable.
28293 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28294 (ctanh_towardzero_test_data): New variable.
28295 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28296 (ctanh_downward_test_data): New variable.
28297 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28298 (ctanh_upward_test_data): New variable.
28299 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28300 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28301 of BUILD_COMPLEX.
28302
601a3a5f
JM
28303 * math/libm-test.inc (struct test_ff_f_data): New type.
28304 (struct test_ff_f_data_nexttoward): Likewise.
28305 (RUN_TEST_LOOP_2_f): New macro.
28306 (RUN_TEST_LOOP_ff_f): Likewise.
28307 (atan2_test_data): New variable.
28308 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28309 (copysign_test_data): New variable.
28310 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28311 (fdim_test_data): New variable.
28312 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28313 (fmax_test_data): New variable.
28314 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28315 (fmin_test_data): New variable.
28316 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28317 (fmod_test_data): New variable.
28318 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28319 (hypot_test_data): New variable.
28320 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28321 (nextafter_test_data): New variable.
28322 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28323 (nexttoward_test_data): New variable.
28324 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28325 (pow_test_data): New variable.
28326 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28327 (pow_tonearest_test_data): New variable.
28328 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28329 (pow_towardzero_test_data): New variable.
28330 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28331 (pow_downward_test_data): New variable.
28332 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28333 (pow_upward_test_data): New variable.
28334 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28335 (remainder_test_data): New variable.
28336 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28337 (scalb_test_data): New variable.
28338 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28339 * sysdeps/i386/fpu/libm-test-ulps: Update.
28340
74c57478
JM
283412013-05-11 Joseph Myers <joseph@codesourcery.com>
28342
8329e4da
JM
28343 * math/libm-test.inc (fma_test): Use max_value instead of local
28344 variable fltmax.
28345 (nextafter_test): Likewise.
28346
74c57478
JM
28347 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28348 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28349 (acos_downward_test_data): New variable.
28350 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28351 (acos_upward_test_data): New variable.
28352 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28353 (acosh_test_data): New variable.
28354 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28355 (asin_test_data): New variable.
28356 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28357 (asin_tonearest_test_data): New variable.
28358 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28359 (asin_towardzero_test_data): New variable.
28360 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28361 (asin_downward_test_data): New variable.
28362 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28363 (asin_upward_test_data): New variable.
28364 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28365 (asinh_test_data): New variable.
28366 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28367 (atan_test_data): New variable.
28368 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28369 (atanh_test_data): New variable.
28370 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28371 (cbrt_test_data): New variable.
28372 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28373 (ceil_test_data): New variable.
28374 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28375 (cos_test_data): New variable.
28376 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28377 (cos_tonearest_test_data): New variable.
28378 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28379 (cos_towardzero_test_data): New variable.
28380 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28381 (cos_downward_test_data): New variable.
28382 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28383 (cos_upward_test_data): New variable.
28384 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28385 (cosh_test_data): New variable.
28386 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28387 (cosh_tonearest_test_data): New variable.
28388 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28389 (cosh_towardzero_test_data): New variable.
28390 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28391 (cosh_downward_test_data): New variable.
28392 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28393 (cosh_upward_test_data): New variable.
28394 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28395 (erf_test_data): New variable.
28396 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28397 (erfc_test_data): New variable.
28398 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28399 (exp_test_data): New variable.
28400 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28401 (exp_tonearest_test_data): New variable.
28402 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28403 (exp_towardzero_test_data): New variable.
28404 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28405 (exp_downward_test_data): New variable.
28406 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28407 (exp_upward_test_data): New variable.
28408 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28409 (exp10_test_data): New variable.
28410 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28411 (exp2_test_data): New variable.
28412 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28413 (expm1_test_data): New variable.
28414 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28415 (fabs_test_data): New variable.
28416 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28417 (floor_test_data): New variable.
28418 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28419 (j0_test_data): New variable.
28420 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28421 (j1_test_data): New variable.
28422 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28423 (log_test_data): New variable.
28424 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28425 (log10_test_data): New variable.
28426 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28427 (log1p_test_data): New variable.
28428 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28429 (log2_test_data): New variable.
28430 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28431 (logb_test_data): New variable.
28432 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28433 (logb_downward_test_data): New variable.
28434 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28435 (nearbyint_test_data): New variable.
28436 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28437 (rint_test_data): New variable.
28438 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28439 (rint_tonearest_test_data): New variable.
28440 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28441 (rint_towardzero_test_data): New variable.
28442 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28443 (rint_downward_test_data): New variable.
28444 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28445 (rint_upward_test_data): New variable.
28446 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28447 (round_test_data): New variable.
28448 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28449 (sin_test_data): New variable.
28450 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28451 (sin_tonearest_test_data): New variable.
28452 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28453 (sin_towardzero_test_data): New variable.
28454 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28455 (sin_downward_test_data): New variable.
28456 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28457 (sin_upward_test_data): New variable.
28458 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28459 (sinh_test_data): New variable.
28460 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28461 (sinh_tonearest_test_data): New variable.
28462 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28463 (sinh_towardzero_test_data): New variable.
28464 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28465 (sinh_downward_test_data): New variable.
28466 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28467 (sinh_upward_test_data): New variable.
28468 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28469 (sqrt_test_data): New variable.
28470 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28471 (tan_test_data): New variable.
28472 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28473 (tan_tonearest_test_data): New variable.
28474 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28475 (tan_towardzero_test_data): New variable.
28476 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28477 (tan_downward_test_data): New variable.
28478 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28479 (tan_upward_test_data): New variable.
28480 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28481 (tanh_test_data): New variable.
28482 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28483 (tgamma_test_data): New variable.
28484 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28485 (trunc_test_data): New variable.
28486 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28487 (y0_test_data): New variable.
28488 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28489 (y1_test_data): New variable.
28490 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28491 (significand_test_data): New variable.
28492 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28493
7187d844
CG
284942013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28495
28496 [BZ #12387]
28497 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28498
f63fae73
PT
284992013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28500
28501 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28502
8a67a4b3
AJ
285032013-05-10 Andreas Jaeger <aj@suse.de>
28504
28505 [BZ #15448]
28506 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28507 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28508
51df539d
JM
285092013-05-10 Joseph Myers <joseph@codesourcery.com>
28510
28511 * math/gen-libm-test.pl (adjust_arg): New function.
28512 (special_functions): Handle generating output in both functions
28513 and arrays.
28514 (parse_args): Likewise.
28515 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28516 $in_func argument to parse_args.
28517 * math/libm-test.inc (struct test_f_f_data): New type.
28518 (IF_ROUND_INIT_): New macro.
28519 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28520 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28521 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28522 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28523 (ROUND_RESTORE_): Likewise.
28524 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28525 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28526 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28527 (ROUND_RESTORE_FE_UPWARD): Likewise.
28528 (RUN_TEST_LOOP_f_f): New macro.
28529 (acos_test_data): New variable.
28530 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28531 (acos_tonearest_test_data): New variable.
28532 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28533
5c637fe5
SP
285342013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28535
28536 * benchtests/bench-skeleton.c (startup): Fix coding style.
28537
ab2b9461
JM
285382013-05-10 Joseph Myers <joseph@codesourcery.com>
28539
28540 [BZ #6809]
28541 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28542 negative infinity argument.
28543 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28544 negative infinity argument.
28545 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28546 negative infinity argument.
28547 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28548 domain errors.
28549
4c0fe6fe
FW
285502013-05-10 Florian Weimer <fweimer@redhat.com>
28551
28552 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28553 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28554 * iconv/iconv_prog.c (main): Likewise.
28555 * locale/programs/charmap-dir.c (charmap_readdir)
28556 (fopen_uncompressed): Likewise.
28557 * locale/programs/locfile.c (siblings_uncached)
28558 (write_locale_data): Use lstat64 instead of lstat.
28559 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28560 stat.
28561
a3375d29
AJ
285622013-05-10 Andreas Jaeger <aj@suse.de>
28563
28564 [BZ #15395]
28565 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28566 localization.
28567 Include <locale.h>.
28568
36129722
CD
285692013-05-09 Carlos O'Donell <carlos@redhat.com>
28570
28571 * elf/dl-close.c (_dl_close_worker): Add comments.
28572
faa7f811
JM
285732013-05-09 Joseph Myers <joseph@codesourcery.com>
28574
ed41ffef
JM
28575 [BZ #15359]
28576 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28577 high part of pi/2.
28578 (__ieee754_rem_pio2l): Update comments.
28579
d0213cd0
JM
28580 [BZ #15429]
28581 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28582 high part of pi/2.
28583 (__ieee754_rem_pio2l): Update comments.
28584
0d3e777a
JM
28585 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28586 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28587
24f56066
JM
28588 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28589 M_PI_4l.
28590
faa7f811
JM
28591 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28592 (M_PI_34_LOG10El): Likewise.
28593 (M_PI2_LOG10El): Likewise.
28594 (M_PI4_LOG10El): Likewise.
28595 (M_PI_LOG10El): Likewise.
28596
e9a5e0fd
AZ
285972013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28598
28599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28600
d8cd06db
JM
286012013-05-08 Joseph Myers <joseph@codesourcery.com>
28602
a0d9f9d7
JM
28603 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28604 (MINUS_ZERO_INIT): Likewise.
28605 (PLUS_INFTY_INIT): Likewise.
28606 (MINUS_INFTY_INIT): Likewise.
28607 (QNAN_VALUE_INIT): Likewise.
28608 (MAX_VALUE_INIT): Likewise.
28609 (MIN_VALUE_INIT): Likewise.
28610 (MIN_SUBNORM_VALUE_INIT): Likewise.
28611 (plus_zero): Initialize with PLUS_ZERO_INIT.
28612 (minus_zero): Initialize with MINUS_ZERO_INIT.
28613 (plus_infty): Initialize with PLUS_INFTY_INIT.
28614 (minus_infty): Initialize with MINUS_INFTY_INIT.
28615 (qnan_value): Initialize with QNAN_VALUE_INIT.
28616 (max_value): Initialize with MAX_VALUE_INIT.
28617 (min_value): Initialize with MIN_VALUE_INIT.
28618 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28619
ae08db3b
JM
28620 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28621 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28622 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28623 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28624
f44bf14a
JM
28625 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28626 (RUN_TEST_2_f): Likewise.
28627 (RUN_TEST_ff_f): Likewise.
28628 (RUN_TEST_fi_f): Likewise.
28629 (RUN_TEST_fl_f): Likewise.
28630 (RUN_TEST_fff_f): Likewise.
28631 (RUN_TEST_c_f): Likewise.
28632 (RUN_TEST_f_f1): Likewise.
28633 (RUN_TEST_fF_f1): Likewise.
28634 (RUN_TEST_fI_f1): Likewise.
28635 (RUN_TEST_ffI_f1): Likewise.
28636 (RUN_TEST_c_c): Likewise.
28637 (RUN_TEST_cc_c): Likewise.
28638 (RUN_TEST_f_i): Likewise.
28639 (RUN_TEST_f_i_tg): Likewise.
28640 (RUN_TEST_ff_i_tg): Likewise.
28641 (RUN_TEST_f_b): Likewise.
28642 (RUN_TEST_f_b_tg): Likewise.
28643 (RUN_TEST_f_l): Likewise.
28644 (RUN_TEST_f_L): Likewise.
28645 (RUN_TEST_sincos): Likewise.
28646 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28647 whether to show exceptions. Do not include ");\n" in return
28648 value.
28649 (special_functions): Output call to RUN_TEST_sincos instead of
28650 check_float calls. Update calls to new_test.
28651 (parse_args): Output call to single RUN_TEST_* macro instead of
28652 check_* calls and other assignments. Update calls to new_test.
28653
d8cd06db
JM
28654 [BZ #2546]
28655 [BZ #2560]
28656 [BZ #5159]
28657 [BZ #15426]
28658 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28659 input to result for tgamma overflow.
28660 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28661 (gamma_coeff): New variable.
28662 (NCOEFF): New macro.
28663 (gamma_positive): New function.
28664 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28665 underflow here. Use gamma_positive instead of exp (lgamma) for
28666 other arguments.
28667 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28668 (gamma_coeff): New variable.
28669 (NCOEFF): New macro.
28670 (gammaf_positive): New function.
28671 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28672 underflow here. Use gamma_positive instead of exp (lgamma) for
28673 other arguments.
28674 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28675 (gamma_coeff): New variable.
28676 (NCOEFF): New macro.
28677 (gammal_positive): New function.
28678 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28679 underflow here. Use gamma_positive instead of exp (lgamma) for
28680 other arguments.
28681 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28682 (gamma_coeff): New variable.
28683 (NCOEFF): New macro.
28684 (gammal_positive): New function.
28685 (__ieee754_gammal_r): Handle positive infinity, overflow and
28686 underflow here. Handle NaN the same as positive infinity. Remove
28687 check x < 0xffffffff for negative integers. Use gamma_positive
28688 instead of exp (lgamma) for other arguments.
28689 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28690 (gamma_coeff): New variable.
28691 (NCOEFF): New macro.
28692 (gammal_positive): New function.
28693 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28694 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28698 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28699 * sysdeps/generic/math_private.h (__gamma_productf): New
28700 prototype.
28701 (__gamma_product): Likewise.
28702 (__gamma_productl): Likewise.
28703 * math/Makefile (libm-calls): Add gamma_product.
28704 * math/libm-test.inc (tgamma_test): Add more tests.
28705 * sysdeps/i386/fpu/libm-test-ulps: Update.
28706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707
bb7cf681
OB
287082013-05-08 Ondřej Bílka <neleai@seznam.cz>
28709
28710 * benchtests/bench-skeleton.c (main): Preheat CPU.
28711
ba853947
AJ
287122013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28713
28714 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28715
8347c74c
RM
287162013-05-07 Roland McGrath <roland@hack.frob.com>
28717
28718 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28719 and _dl_skip_args_internal.
28720
e8dd4791
CD
287212013-05-07 Carlos O'Donell <carlos@redhat.com>
28722
28723 * manual/message.texi (Message Translation): Talk about users.
28724 Message to key mapping impacts design.
28725
c7405830
RM
287262013-05-06 Roland McGrath <roland@hack.frob.com>
28727
a9173057
RM
28728 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28729
976e2f03
RM
28730 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28731
9723ffc5
RM
28732 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28733 * sysdeps/wordsize-64/glob64.c: ... here.
28734
962e6658
RM
28735 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28736 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28737 New macros.
28738
ee586a6d
RM
28739 * debug/getlogin_r_chk.c: Moved to ...
28740 * login/getlogin_r_chk.c: ... here.
28741 * debug/Makefile (routines): Move getlogin_r_chk to ...
28742 * login/Makefile (routines): ... here.
28743 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28744 * login/Versions (libc: GLIBC_2.4): ... here.
28745
355f9165
RM
28746 * io/poll.c (__poll): Renamed from poll.
28747 Add libc_hidden_def.
28748 (poll): Define as weak alias.
28749
bd9ffde6
RM
28750 * debug/ptsname_r_chk.c: Moved to ...
28751 * login/ptsname_r_chk.c: ... here.
28752 * debug/Makefile (routines): Move ptsname_r_chk to ...
28753 * login/Makefile (routines): ... here.
28754 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28755 * login/Versions (libc: GLIBC_2.4): ... here.
28756
8fb16a04
RM
28757 * posix/getlogin.c: Moved to ...
28758 * login/getlogin.c: ... here.
28759 * posix/getlogin_r.c: Moved to ...
28760 * login/getlogin_r.c: ... here.
28761 * posix/getlogin_r.c: Moved to ...
28762 * login/getlogin_r.c: ... here.
28763 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28764 * login/Makefile (routines): ... here.
28765 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28766 * login/Versions (libc: GLIBC_2.0): ... here.
28767
b99b892f
RM
28768 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28769 (setrlimit): Define as weak alias.
28770
c7405830
RM
28771 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28772 Call __ names for open, ftruncate, and close.
28773 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28774 (truncate): Define as weak alias.
28775
5bf96de5
JM
287762013-05-06 Joseph Myers <joseph@codesourcery.com>
28777
9ea3513c
JM
28778 * math/gen-libm-test.pl (parse_args): Initialize x before each
28779 test of frexp, modf and remquo.
28780
5bf96de5
JM
28781 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28782 test signgam value.
28783
16e616a7
AZ
287842013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28785
28786 [BZ #15418]
28787 [BZ #15419]
28788 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28789 internal tests.
28790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28791
d5e82754
RM
287922013-05-06 Roland McGrath <roland@hack.frob.com>
28793
28794 * elf/dl-writev.h: New file.
28795 * elf/dl-misc.c: Include it.
28796 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28797 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28798
a7548d41
JM
287992013-05-04 Joseph Myers <joseph@codesourcery.com>
28800
b7dab1e4
JM
28801 * math/libm-test.inc (noXFails): Remove variable.
28802 (noXPasses): Likewise.
28803 (BUILD_COMPLEX_INT): Remove macro.
28804 (print_screen): Remove xfail argument.
28805 (print_screen_max_error): Likewise.
28806 (update_stats): Likewise.
28807 (print_max_error): Likewise. Update calls to other affected
28808 functions.
28809 (print_complex_max_error): Likewise.
28810 (test_single_exception): Update calls to print_screen.
28811 (test_single_errno): Likewise.
28812 (check_float_internal): Remove xfail argument. Update calls to
28813 other affected functions.
28814 (check_float): Likewise.
28815 (check_complex): Likewise.
28816 (check_int): Likewise.
28817 (check_long): Likewise.
28818 (check_bool): Likewise.
28819 (check_longlong): Likewise.
28820 (main): Don't print noXFails and noXPasses.
28821 * math/gen-libm-test.pl (top level): Don't mention expected
28822 failure handling in comment.
28823 (new_test): Don't handle expected failures.
28824 (parse_args): Don't mention expected failure handling in comment.
28825 (generate_testfile): Don't handle expected failures.
28826 (parse_ulps): Likewise.
28827 (print_ulps_file): Likewise.
28828 (get_failure): Remove function.
28829 (output_test): Don't handle expected failures.
28830 * make/README.libm-test: Don't mention expected failure handling.
28831
a7548d41
JM
28832 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28833 (minus_zero): Likewise.
28834 (plus_infty): Likewise.
28835 (minus_infty): Likewise.
28836 (qnan_value): Likewise.
28837 (max_value): Likewise.
28838 (min_value): Likewise.
28839 (min_subnorm_value): Likewise.
28840 (initialize): Do not initialize those variables dynamically.
28841
60bfd54c
RM
288422013-05-03 Roland McGrath <roland@hack.frob.com>
28843
cc0e6ed8
RM
28844 * io/open.c (__open_2): Moved to ...
28845 * io/open_2.c: ... this new file.
28846 * io/open64.c (__open64_2): Moved to ...
28847 * io/open64_2.c: ... this new file.
28848 * io/openat.c (__openat_2): Moved to ...
28849 * io/openat_2.c: ... this new file.
28850 * io/openat64.c (__openat64_2): Moved to ...
28851 * io/openat64_2.c: ... this new file.
28852 * io/Makefile (routines): Add them.
28853 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28854 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28855 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28856 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28857 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28858 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28859 (__openat64): Add hidden_ver.
28860 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28861 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28862
60bfd54c
RM
28863 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28864 Separately conditionalize setting of GLRO(dl_sysinfo) so
28865 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28866 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28867
83e7640f
AZ
288682013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28869
28870 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28871 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28872 definition.
28873 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28874 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28875 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28876 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28877 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28878
d5dc2af3
JM
288792013-05-03 Joseph Myers <joseph@codesourcery.com>
28880
c31a5b1e
JM
28881 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28882 test signgam value.
28883
d5dc2af3
JM
28884 * math/libm-test.inc (hypot_test): Do not use
28885 IGNORE_ZERO_INF_SIGN.
28886
164fd39d
AJ
288872013-05-03 Andreas Jaeger <aj@suse.de>
28888
28889 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28890 Linux 3.9.
28891 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28892 (PF_MAX): Adjust for VSOCK change.
28893
8237f48c
AZ
288942013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28895
28896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28897
9df02941
CD
288982013-05-02 Carlos O'Donell <carlos@redhat.com>
28899
28900 [BZ #15264]
28901 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28902 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28903 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28904
d422395e
DM
289052013-05-02 David S. Miller <davem@davemloft.net>
28906
28907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28908
a07c5731
OB
289092013-05-01 Ondřej Bílka <neleai@seznam.cz>
28910
28911 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28912
1324e37f
RM
289132013-05-01 Roland McGrath <roland@hack.frob.com>
28914
28915 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28916
0695940b
RS
289172013-05-01 Richard Smith <richard@metafoo.co.uk>
28918
bb5f27ad 28919 [BZ #14952]
0695940b
RS
28920 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28921 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28922 Use __attribute__ ((__gnu_inline__)).
28923 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28924 Don't use __attribute__ ((__gnu_inline__)).
28925
10de07f5
JM
289262013-05-01 Joseph Myers <joseph@codesourcery.com>
28927
28928 [BZ #15423]
28929 * math/s_catan.c (__catan): Handle small real or imaginary part of
28930 input specially to avoid spurious underflow.
28931 * math/s_catanf.c (__catanf): Likewise.
28932 * math/s_catanh.c (__catanh): Likewise.
28933 * math/s_catanhf.c (__catanhf): Likewise.
28934 * math/s_catanhl.c (__catanhl): Likewise.
28935 * math/s_catanl.c (__catanl): Likewise.
28936 * math/libm-test.inc (catan_test): Add more tests.
28937 (catanh_test): Likewise.
28938 * sysdeps/i386/fpu/libm-test-ulps: Update.
28939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28940
cb4d5414
AZ
289412013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28942
28943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28944
caf84319
JM
289452013-04-30 Joseph Myers <joseph@codesourcery.com>
28946
28947 [BZ #15416]
28948 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28949 accurately for denominator in atan2.
28950 * math/s_catanf.c (__catanf): Likewise.
28951 * math/s_catanh.c (__catanh): Likewise.
28952 * math/s_catanhf.c (__catanhf): Likewise.
28953 * math/s_catanhl.c (__catanhl): Likewise.
28954 * math/s_catanl.c (__catanl): Likewise.
28955 * math/libm-test.inc (catan_test): Add more tests.
28956 (catanh_test): Likewise.
28957 * sysdeps/i386/fpu/libm-test-ulps: Update.
28958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28959
d569c6ee
SP
289602013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28961
6dbe713d
SP
28962 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28963
f0ee064b
SP
28964 * benchtests/Makefile (bench): Remove slow benchmarks.
28965 * benchtests/atan-inputs: Add slow benchmark inputs.
28966 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28967 (BENCH_FUNC): Accept variant offset.
28968 (VARIANT): Define.
28969 * benchtests/bench-skeleton.c (main): Run benchmark for each
28970 variant.
28971 * benchtests/cos-inputs: Add slow benchmark inputs.
28972 * benchtests/exp-inputs: Likewise.
28973 * benchtests/pow-inputs: Likewise.
28974 * benchtests/sin-inputs: Likewise.
28975 * benchtests/slowatan-inputs: Remove.
28976 * benchtests/slowatan.c: Remove.
28977 * benchtests/slowcos-inputs: Remove.
28978 * benchtests/slowcos.c: Remove.
28979 * benchtests/slowexp-inputs: Remove.
28980 * benchtests/slowexp.c: Remove.
28981 * benchtests/slowpow-inputs: Remove.
28982 * benchtests/slowpow.c: Remove.
28983 * benchtests/slowsin-inputs: Remove.
28984 * benchtests/slowsin.c: Remove.
28985 * benchtests/slowtan-inputs: Remove.
28986 * benchtests/slowtan.c: Remove.
28987 * benchtests/tan-inputs: Add slow benchmark inputs.
28988 * scripts/bench.pl: Parse comments and directives.
28989
d569c6ee
SP
28990 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28991 in CPPFLAGS.
28992 ($(objpfx)bench-%.c): Remove *-ITER.
28993 * benchtests/bench-modf.c: Remove definition of ITER.
28994 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28995 (main): Loop for DURATION seconds instead of fixed number of
28996 iterations.
28997 * scripts/bench.pl: Don't expect iterations in parameters.
28998
a6a242fe
RM
289992013-04-29 Roland McGrath <roland@hack.frob.com>
29000
29001 * io/fchdir.c (__fchdir): Renamed from fchdir.
29002 (fchdir): Define as weak alias.
29003
f2da7793
JM
290042013-04-29 Joseph Myers <joseph@codesourcery.com>
29005
29006 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29007 (ERRNO_EDOM): Likewise.
29008 (ERRNO_ERANGE): Likewise.
29009 (noErrnoTests): New variable.
29010 (init_max_error): Set errno to 0.
29011 (test_single_errno): New function.
29012 (test_errno): Likewise.
29013 (check_float_internal): Call test_errno. Set errno to 0.
29014 (check_complex): Refer to errno tests in comment.
29015 (check_int): Call test_errno. Set errno to 0.
29016 (check_long): Likewise.
29017 (check_bool): Likewise.
29018 (check_longlong): Likewise.
29019 (cos_test): Use ERRNO_* flags for errno tests instead of
29020 check_int.
29021 (expm1_test): Likewise.
29022 (fmod_test): Likewise.
29023 (ilogb_test): Likewise.
29024 (lgamma_test): Likewise.
29025 (pow_test): Likewise.
29026 (remainder_test): Likewise.
29027 (sin_test): Likewise.
29028 (tan_test): Likewise.
29029 (yn_test): Likewise.
29030 (initialize): Set errno to 0.
29031 (main): Print number of errno tests.
29032 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29033
b1a36ceb
AJ
290342013-04-29 Andreas Jaeger <aj@suse.de>
29035
c3ed8088
AJ
29036 [BZ #15084]
29037 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29038 and RES_USEVC.
29039
f1a24198
AJ
29040 [BZ #15085]
29041 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29042 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29043 unimplemented.
29044
9ce3b2cb
AJ
29045 [BZ #15380]
29046 * stdlib/random.c (__initstate): Return NULL if
29047 __initstate fails.
29048
f1a24198 29049 [BZ #15086]
b1a36ceb
AJ
29050 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29051 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29052 RES_SNGLKUPREOP.
29053
7e7b6f36
AZ
290542013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29055
29056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29057
4d14f449
JM
290582013-04-29 Joseph Myers <joseph@codesourcery.com>
29059
29060 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29061 of individual tests.
29062 (casin_test): Likewise.
29063 (casinh_test): Likewise.
29064
5b4217d7
JM
290652013-04-27 Joseph Myers <joseph@codesourcery.com>
29066
29067 [BZ #15409]
29068 * math/s_catan.c (__catan): Handle arguments with large real or
29069 imaginary part separately without squaring.
29070 * math/s_catanf.c (__catanf): Likewise.
29071 * math/s_catanh.c (__catanh): Likewise.
29072 * math/s_catanhf.c (__catanhf): Likewise.
29073 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29074 and redefine.
29075 (__catanhl): Handle arguments with large real or imaginary part
29076 separately without squaring.
29077 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29078 and redefine.
29079 (__catanl): Handle arguments with large real or imaginary part
29080 separately without squaring.
29081 * math/libm-test.inc (catan_test): Add more tests.
29082 (catanh_test): Likewise.
29083 * sysdeps/i386/fpu/libm-test-ulps: Update.
29084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29085
4220c3ef
AJ
290862013-04-27 Andreas Jaeger <aj@suse.de>
29087
29088 [BZ #15007]
29089 * stdlib/stdlib.h: Update guards for qecvt.
29090 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29091 <stdlib.h>.
29092
4721b2d1
AM
290932013-04-27 Allan McRae <allan@archlinux.org>
29094
29095 * sysdeps/i386/fpu/libm-test-ulps: Update.
29096
f0302940
JM
290972013-04-26 Joseph Myers <joseph@codesourcery.com>
29098
9457fd95
JM
29099 [BZ #15406]
29100 * math/s_catan.c: Include <float.h>.
29101 (__catan): Ensure underflow exception occurs for underflowed
29102 result.
29103 * math/s_catanf.c: Include <float.h>.
29104 (__catanf): Ensure underflow exception occurs for underflowed
29105 result.
29106 * math/s_catanh.c: Include <float.h>.
29107 (__catanh): Ensure underflow exception occurs for underflowed
29108 result.
29109 * math/s_catanhf.c: Include <float.h>.
29110 (__catanhf): Ensure underflow exception occurs for underflowed
29111 result.
29112 * math/s_catanhl.c: Include <float.h>.
29113 (__catanhl): Ensure underflow exception occurs for underflowed
29114 result.
29115 * math/s_catanl.c: Include <float.h>.
29116 (__catanl): Ensure underflow exception occurs for underflowed
29117 result.
29118 * math/libm-test.inc (catan_test): Add more tests.
29119 (catanh_test): Likewise.
29120
f0302940
JM
29121 [BZ #15405]
29122 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29123 underflowed result.
29124 * math/s_ccoshf.c (__ccoshf): Likewise.
29125 * math/s_ccoshl.c (__ccoshl): Likewise.
29126 * math/s_csin.c (__csin): Likewise.
29127 * math/s_csinf.c (__csinf): Likewise.
29128 * math/s_csinh.c (__csinh): Likewise.
29129 * math/s_csinhf.c (__csinhf): Likewise.
29130 * math/s_csinhl.c (__csinhl): Likewise.
29131 * math/s_csinl.c (__csinl): Likewise.
29132 * math/libm-test.inc (ccos_test): Add more tests.
29133 (ccosh_test): Likewise.
29134 (csin_test): Likewise.
29135 (csinh_test): Likewise.
29136
aa630f59
AZ
291372013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29138
29139 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29140 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29141 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29142 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29143 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29144 powerpc/power5+/fpu folders.
29145 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29146
29147
1b835983
MT
291482013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29149
29150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29151
73709b26
JM
291522013-04-25 Joseph Myers <joseph@codesourcery.com>
29153
29154 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29155 additions to variable.
29156 [$(config-machine) = x86_64] (modules-names): Likewise.
29157 ($(objpfx)tst-audit3): Remove dependency.
29158 ($(objpfx)tst-audit3.out): Likewise.
29159 ($(objpfx)tst-audit4): Likewise.
29160 ($(objpfx)tst-audit4.out): Likewise.
29161 ($(objpfx)tst-audit5): Likewise.
29162 ($(objpfx)tst-audit5.out): Likewise.
29163 ($(objpfx)tst-audit6): Likewise.
29164 ($(objpfx)tst-audit6.out): Likewise.
29165 ($(objpfx)tst-audit7): Likewise.
29166 ($(objpfx)tst-audit7.out): Likewise.
29167 (tst-audit3-ENV): Remove variable.
29168 (tst-audit4-ENV): Likewise.
29169 (tst-audit5-ENV): Likewise.
29170 (tst-audit6-ENV): Likewise.
29171 (tst-audit7-ENV): Likewise.
29172 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29173 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29174 addition to variable.
29175 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29176 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29177 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29178 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29179 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29180 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29181 tst-audit3, tst-audit4 and tst-audit5.
29182 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29183 tst-audit6 and tst-audit7.
29184 [$(subdir) = elf] (modules-names): Add audit modules for those
29185 tests.
29186 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29187 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29188 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29189 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29190 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29191 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29192 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29193 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29194 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29195 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29196 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29197 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29198 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29199 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29200 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29201 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29202 Likewise.
29203 [$(subdir) = elf && $(config-cflags-avx) = yes]
29204 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29205 [$(subdir) = elf && $(config-cflags-avx) = yes]
29206 (CFLAGS-tst-auditmod4a.c): Likewise.
29207 [$(subdir) = elf && $(config-cflags-avx) = yes]
29208 (CFLAGS-tst-auditmod4b.c): Likewise.
29209 [$(subdir) = elf && $(config-cflags-avx) = yes]
29210 (CFLAGS-tst-auditmod6b.c): Likewise.
29211 [$(subdir) = elf && $(config-cflags-avx) = yes]
29212 (CFLAGS-tst-auditmod6c.c): Likewise.
29213 [$(subdir) = elf && $(config-cflags-avx) = yes]
29214 (CFLAGS-tst-auditmod7b.c): Likewise.
29215 * elf/tst-audit3.c: Move to ...
29216 * sysdeps/x86_64/tst-audit3.c: ... here.
29217 * elf/tst-audit4.c: Move to ...
29218 * sysdeps/x86_64/tst-audit4.c: ... here.
29219 * elf/tst-audit5.c: Move to ...
29220 * sysdeps/x86_64/tst-audit5.c: ... here.
29221 * elf/tst-audit6.c: Move to ...
29222 * sysdeps/x86_64/tst-audit6.c: ... here.
29223 * elf/tst-audit7.c: Move to ...
29224 * sysdeps/x86_64/tst-audit7.c: ... here.
29225 * elf/tst-auditmod3a.c: Move to ...
29226 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29227 * elf/tst-auditmod3b.c: Move to ...
29228 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29229 * elf/tst-auditmod4a.c: Move to ...
29230 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29231 * elf/tst-auditmod4b.c: Move to ...
29232 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29233 * elf/tst-auditmod5a.c: Move to ...
29234 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29235 * elf/tst-auditmod5b.c: Move to ...
29236 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29237 * elf/tst-auditmod6a.c: Move to ...
29238 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29239 * elf/tst-auditmod6b.c: Move to ...
29240 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29241 * elf/tst-auditmod6c.c: Move to ...
29242 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29243 * elf/tst-auditmod7a.c: Move to ...
29244 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29245 * elf/tst-auditmod7b.c: Move to ...
29246 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29247
1ef74943
PP
292482013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29249
29250 [BZ #15366]
29251 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29252 define unconditionally.
29253 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29254 define unconditionally.
29255 (INT8_C, INT16_C, etc.): Likewise.
29256
93fd48c5
MR
292572013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29258
ae9552cf
MR
29259 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29260 __ehdr_start with hidden visibility.
29261
93fd48c5
MR
29262 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29263
418601aa
CD
292642013-04-24 Carlos O'Donell <carlos@redhat.com>
29265
29266 * math/libm-test.inc (cos_test): Use accurate hex constants.
29267 (sincost_test): Likewise.
29268
2f38fbfe
JM
292692013-04-24 Joseph Myers <joseph@codesourcery.com>
29270
5e221800
JM
29271 * math/libm-test.inc (catan_test): Add more tests.
29272 (catanh_test): Likewise.
29273
77f143fd
JM
29274 * math/s_catanf.c (__catanf): Use suffixed floating-point
29275 constants.
29276 * math/s_catanhf.c (__catanhf): Likewise.
29277 * math/s_catanhl.c (__catanhl): Likewise.
29278 * math/s_catanl.c (__catanl): Likewise.
29279
2f38fbfe
JM
29280 [BZ #15394]
29281 * math/s_catan.c (__catan): Calculate imaginary part of result
29282 with log1p not log unless computing log of number close to 0.
29283 * math/s_catanf.c (__catanf): Likewise.
29284 * math/s_catanl.c (__catanl): Likewise.
29285 * math/s_catanh.c (__catanh): Calculate real part of result with
29286 log1p not log unless computing log of number close to 0.
29287 * math/s_catanhf.c (__catanhf): Likewise.
29288 * math/s_catanhl.c (__catanhl): Likewise.
29289 * math/libm-test.inc (catan_test): Add more tests.
29290 (catanh_test): Likewise.
29291 * sysdeps/i386/fpu/libm-test-ulps: Update.
29292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29293
45d69176
SP
292942013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29295
29296 * benchtests/Makefile: Mention files in which fast and slow
29297 paths of math functions are implemented.
29298
87f51853
RM
292992013-04-23 Roland McGrath <roland@hack.frob.com>
29300
29301 * sysdeps/posix/timespec_get.c: New file.
29302
3c026539
AZ
293032013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29304
29305 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29306 POWER.
29307 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29308 for POWER.
29309 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29310 powerpc/power5/fpu folders.
29311 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29312 * benchtests/Makefile: Add modf testcase.
29313 * benchtests/bench-modf.c: New file: Benchmark test for mo
29314
ff491d14
SP
293152013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29316
29317 [BZ #14888]
29318 * time/Makefile (tests): Add tst-strptime-whitespace.
29319 * time/strptime_l.c (get_number): Use ISSPACE.
29320 (__strptime_internal): Likewise.
29321 * time/tst-strptime-whitespace.c: New test case.
29322
7ed3f4e8
AS
293232013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29324
29325 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29326 member.
29327 (_nss_files_init): Set it here.
29328
5c95f7b6
HC
293292013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29330
29331 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29332 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29333 unsigned.
29334
d34c9158
JBG
293352013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29336
29337 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29338
2169712d
SP
293392013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29340
29341 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29342 size just once.
29343
29c5de99
DM
293442013-04-21 David S. Miller <davem@davemloft.net>
29345
29346 * po/ru.po: Update Russion translation from translation project.
29347
ccdad15d
AC
293482013-04-17 Adam Conrad <adconrad@0c3.net>
29349
29350 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29351 and setfsgid.
29352
0f122b8d
CD
293532013-04-17 Carlos O'Donell <carlos@redhat.com>
29354
5c5b07da 29355 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29356 * configure: Regenerate.
5c5b07da 29357 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29358 Add example to error message.
29359 * sysdeps/i386/configure: Regenerate.
29360
037714dd
SP
293612013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29362
29363 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29364 slowtan.
29365 * benchtests/cos-inputs: New file.
29366 * benchtests/slowcos-inputs: New file.
29367 * benchtests/slowcos.c: New file.
29368 * benchtests/slowtan-inputs: New file.
29369 * benchtests/slowtan.c: New file.
29370 * benchtests/tan-inputs: New file.
29371
e913141d
RM
293722013-04-16 Roland McGrath <roland@hack.frob.com>
29373
29374 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29375 considered kosher.
29376
a2964074
SP
293772013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29378
4856bcd2
SP
29379 * benchtests/Makefile: Include cppflags-iterator.mk to add
29380 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29381
a2964074
SP
29382 * Makefile.in (bench-clean): New target.
29383 * benchtests/Makefile (bench-clean): Likewise.
29384
9fbf9aca
DH
293852013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29386
29387 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29388
207d1e2a
TS
293892013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29390
29391 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29392
306dfba9
AS
293932013-04-15 Andreas Schwab <schwab@suse.de>
29394
29395 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29397 * nscd/pwdcache.c (cache_addpw): Likewise.
29398 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29399 more than recsize.
29400
206a6699
SP
294012013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29402
29403 * benchtests/Makefile (bench): Write all output to
29404 bench-out.tmp together.
29405
0582f6b3
AS
294062013-04-15 Andreas Schwab <schwab@suse.de>
29407
29408 * nscd/nscd.c (main): Don't fork again after closing files.
29409
acb4325f
SP
294102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29411
5cb26d0a
SP
29412 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29413
acb4325f
SP
29414 * benchtests/Rules (bench-deps): Collect dependencies into a
29415 single variable. Add Makefile to dependencies.
29416 ($(objpfx)bench-%.c): Depend on bench-deps.
29417
47792506
RM
294182013-04-12 Roland McGrath <roland@hack.frob.com>
29419 Xavier Roche <roche+kml2@exalead.com>
29420
29421 [BZ #15361]
29422 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29423 just that it's a file descriptor.
29424 * manual/llio.texi (Synchronizing AIO Operations): Update description
29425 for EBADF error from aio_fsync.
29426
8fc1bee5
SP
294272013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29428
29429 * Rules (bench): Move target definition...
29430 * benchtests/Makefile: ... here.
29431
aba5e333
CD
294322013-04-11 Carlos O'Donell <carlos@redhat.com>
29433
29434 * math/libm-test.inc (cos_test): Fix PI/2 test.
29435 (sincos_test): Likewise.
29436 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29437 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29438
273cdee8
AS
294392013-04-11 Andreas Schwab <schwab@suse.de>
29440
6ecec3b6
AS
29441 [BZ #13988]
29442 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29443 accept exponent character only when digits were seen.
29444 * stdio-common/Makefile (tests): Add bug26.
29445 * stdio-common/bug26.c: New file.
29446
273cdee8
AS
29447 [BZ #14293]
29448 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29449 non-freeable.
29450
8da491f5
SP
294512013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29452
01dc6df9
SP
29453 * Makeconfig (rtld-prefix): Define built linker prefix.
29454 * Rules (run-bench): Use it.
29455 * math/Makefile (run-regen-ulps): Likewise.
29456
8da491f5
SP
29457 * Rules (bench): Remove eval.
29458
abe7f530
SP
294592013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29460 Roland McGrath <roland@hack.frob.com>
29461 Ondrej Bilka <neleai@seznam.cz>
29462
29463 [BZ #15346]
29464 * time/getdate.c: Include ctype.h and alloca.h.
29465 (__getdate_r): Trim leading and trailing spaces of input.
29466 * time/tst-getdate.c (tests): Add tests with leading and
29467 trailing spaces.
29468
61c23e62
RM
294692013-04-08 Roland McGrath <roland@hack.frob.com>
29470
29471 [BZ #14280]
29472 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29473 when computing value.
29474
7208a313
CD
294752013-04-06 Carlos O'Donell <carlos@redhat.com>
29476
085b2d41
CD
29477 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29478 Use testrun.sh to run libm tests.
29479
7208a313
CD
29480 [BZ #15309]
29481 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29482
872c0acd
MM
294832013-04-06 Marko Myllynen <myllynen@redhat.com>
29484
29485 [BZ #15264]
29486 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29487
26510bdd
CD
294882013-04-06 Carlos O'Donell <carlos@redhat.com>
29489
29490 * Makefile.in (regen-ulps): New target.
29491 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29492 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29493 [ifneq (no,$(PERL)] (regen-ulps): New target.
29494 [ifeq (no,$(PERL)] (regen-ulps): New target.
29495 * math/libm-test.inc (ulps_file_name): Define.
29496 (output_dir): New variable.
29497 (options): Add "output-dir" option.
29498 (parse_opt): Handle 'o' case.
29499 (main): If output_dir is non-NULL use it as a prefix
29500 otherwise use "".
29501 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29502
a01f19c8
CD
295032013-04-06 Carlos O'Donell <carlos@redhat.com>
29504
29505 [BZ #10060, #10062]
29506 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29507 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29508 fail configure if __sync_val_compare_and_swap is not inlined.
29509 * sysdeps/i386/configure: Regenerate.
29510 * configure.in: Build for i686 when configured for i386.
29511 * configure: Regenerate.
29512 * README: Remove i386 reference.
29513
b7a329a5
CD
295142013-04-06 Carlos O'Donell <carlos@redhat.com>
29515
29516 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29517 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29518
bf0f50df
TS
295192013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29520
ee091edf
TS
29521 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29522 (lmsnanval): New variables.
29523 (F): Add conversion tests.
29524 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29525 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29526
a8b792d6
TS
29527 * stdio-common/tstdiomisc.c (F): Properly collect individual
29528 tests' results.
29529
a1cbf437
TS
29530 [BZ #14686, #15336]
29531 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29532 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29533 Instead, use input NaN values or generate a qNaN by arithmetic
29534 operation. Also fix bugs to comply with the standard.
29535 * math/libm-test.inc (remainder_test): Add more tests.
29536
8b43a0c9
TS
29537 [BZ #15335, #15342]
29538 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29540 input NaN values or generate a qNaN by arithmetic operation.
29541
d91da4ce
TS
29542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29543 unreachable code.
29544
bf0f50df
TS
29545 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29546 definitions.
29547
05e166c8
JM
295482013-04-03 Joseph Myers <joseph@codesourcery.com>
29549
29550 [BZ #14478]
29551 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29552 underflowed result.
29553 * math/s_cexpf.c (__cexpf): Likewise.
29554 * math/s_cexpl.c (__cexpl): Likewise.
29555 * math/libm-test.inc (cexp_test): Add more tests.
29556
1cef1b19
AS
295572013-04-03 Andreas Schwab <schwab@suse.de>
29558
29559 [BZ #15330]
29560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29561 order arrays from heap if bigger than alloca cutoff.
29562
74d87055
TS
295632013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29564
29565 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29566 (SNAN_TESTS_double): Refer to GCC PR56831.
29567 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29568 GCC PR56828.
29569
d755bba4
SP
295702013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29571
90d5d5bb
SP
29572 * Rules (bench): Move bench.out after the run is complete.
29573
73e0cd5d
SP
29574 * Rules (bench): Echo currently running benchmark.
29575
64aabd4b
SP
29576 * benchtests/Makefile (bench): Add atan and slowatan.
29577 * benchtests/atan-inputs: New file.
29578 * benchtests/slowatan-inputs: New file.
29579 * benchtests/slowatan.c: New file.
29580
c871eccd
SP
29581 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29582 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29583 its value.
29584
d755bba4
SP
29585 [BZ #15305]
29586 * sysdeps/unix/sysv/linux/kernel-features.h
29587 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29588 __ASSUME_XFS_RESTRICTED_CHOWN.
29589 * sysdeps/unix/sysv/linux/pathconf.c
29590 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29591 Save and restore errno.
29592
52ce4860
JM
295932013-04-02 Joseph Myers <joseph@codesourcery.com>
29594
29595 [BZ #15327]
29596 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29597 arguments using __kernel_casinh.
29598 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29599 arguments using __kernel_casinhf.
29600 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29601 arguments using __kernel_casinhl.
29602 * math/libm-test.inc (cacosh_test): Add more tests.
29603 * sysdeps/i386/fpu/libm-test-ulps: Update.
29604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29605
81f311c2
SP
296062013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29607
e7906a47
SP
29608 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29610
92e3664b
SP
29611 * bench/Makefile (bench): Add sin and slowsin.
29612 * benchtests/sin-inputs: New file.
29613 * benchtests/slowsin-inputs: New file.
29614 * benchtests/slowsin.c: New file.
29615
81f311c2
SP
29616 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29617 (bench): Add slowexp and slowpow.
29618 (exp-ITER): Increase iterations.
29619 (pow-ITER): Likewise.
29620 * benchtests/exp-inputs: Change input.
29621 * benchtests/pow-inputs: Likewise.
29622 * benchtests/slowexp-inputs: New file.
29623 * benchtests/slowexp.c: New file.
29624 * benchtests/slowpow-inputs: New file.
29625 * benchtests/slowpow.c: New file.
29626
ab0f1aa9
AZ
296272013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29628
29629 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29630 instructions.
29631 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29632 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29633 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29634 * benchtests/Makefile: Add rint benchtest.
29635 * benchtests/rint-inputs: Input for rint benchtest.
29636
57267616
TS
296372013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29638
29639 * Versions.def (libm): Add GLIBC_2.18.
29640 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29641 hidden libm prototypes.
29642 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29643 * math/Makefile (libm-calls): Add s_issignaling.
29644 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29645 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29646 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29647 declaration.
29648 * math/math.h [__USE_GNU] (issignaling): New macro.
29649 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29650 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29651 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29652 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29653 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29654 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29655 * manual/arith.texi (issignaling): New section.
29656 * manual/libm-err-tab.pl (@all_functions): Update comment.
29657 * math/gen-libm-test.pl (parse_args): Apply special handling for
29658 issignaling.
29659 * math/libm-test.inc (print_float, issignaling_test): New
29660 functions.
29661 (check_float_internal): Add issignaling checks.
29662 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29663 default definition.
29664 * sysdeps/powerpc/math-tests.h: New file.
29665 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29666 tests.
29667 * math/test-snan.c (TEST_FUNC): Likewise.
29668
6142896d
DM
296692013-03-30 David S. Miller <davem@davemloft.net>
29670
29671 * po/de.po: Update from translation team.
29672
ccc8cadf
JM
296732013-03-30 Joseph Myers <joseph@codesourcery.com>
29674
29675 [BZ #10357]
29676 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29677 imaginary part less than 1.0 and real part less than 0.5
29678 specially.
29679 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29680 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29681 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29682 (cacos_test): Add more tests.
29683 (casin_test): Likewise.
29684 (casinh_test): Likewise.
29685 * sysdeps/i386/fpu/libm-test-ulps: Update.
29686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29687
0f6a8d4b
SP
296882013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29689
0d1029de
SP
29690 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29691 ONE with its value.
29692
c2d94018
SP
29693 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29694 (__pow_mp): Replace ONE and MONE with their values.
29695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29696 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29697 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29698 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29699 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29700 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29701
27ec37f1
SP
29702 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29703
a64d7e0e
SP
29704 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29705 (__pow_mp): Replace ZERO and MZERO with their values.
29706 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29708 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29710 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29711 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29712 (__sqr): Likewise.
29713
d26dd3eb
SP
29714 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29715
0f6a8d4b
SP
29716 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29717
e57b0c61
RM
297182013-03-28 Roland McGrath <roland@hack.frob.com>
29719
29720 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29721 Declare with __attribute__ ((weak)).
29722 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29723 Call __call_tls_dtors only if it's not NULL.
29724
356b3480
RM
297252013-03-28 Roland McGrath <roland@hack.frob.com>
29726
288f7d79
RM
29727 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29728 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29729 magic __ehdr_start linker symbol if it's defined.
29730 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29731 them up here if it was already done.
29732
dc0a0263
RM
29733 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29734 (_dl_aux_init): Use const in cast when setting it.
29735 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29736 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29737 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29738
3d3436ae
RM
29739 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29740 Declare them here.
29741 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29742 * csu/libc-tls.c: Nor here.
29743 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29744
356b3480
RM
29745 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29746 (__libc_message): Never call vsyslog.
29747
b0f1246a
AM
297482013-03-28 Alan Modra <amodra@gmail.com>
29749
29750 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29751 Define as empty.
29752 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29753 Likewise.
29754
fbbe2b9a
AZ
297552013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29756
29757 [BZ #15214]
29758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29759 underflow.
29760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29761
1728ab37
SP
297622013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29763
7a86be6e
SP
29764 [BZ #15304]
29765 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29766 Don't add gid passed as argument.
29767
1728ab37
SP
29768 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29769
3a7182a1
JM
297702013-03-27 Joseph Myers <joseph@codesourcery.com>
29771
29772 [BZ #15307]
29773 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29774 imaginary part between 1.0 and 1.5 and real part less than 0.5
29775 specially.
29776 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29777 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29778 * math/libm-test.inc (cacos_test): Add more tests.
29779 (casin_test): Likewise.
29780 (casinh_test): Likewise.
29781 * sysdeps/i386/fpu/libm-test-ulps: Update.
29782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29783
6f2e90e7
SP
297842013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29785
5739f705
SP
29786 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29787 constants.
29788 (norm): Likewise.
29789 (denorm): Likewise.
29790 (__dbl_mp): Likewise.
29791 (add_magnitudes): Likewise.
29792 (sub_magnitudes): Likewise.
29793 (__add): Likewise.
29794 (__sub): Likewise.
29795 (__mul): Likewise.
29796 (__sqr): Likewise.
29797 (__inv): Likewise.
29798 (__dvd): Likewise.
29799
e375e83d
SP
29800 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29801 commented code.
29802 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29803 (__dubcos): Likewise.
29804 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29805 (__ieee754_acos): Likewise.
29806 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29807 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29808 (__exp1): Likewise.
29809 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29811 (log1): Likewise.
29812 (my_log2): Likewise.
29813 (checkint): Likewise.
29814 * sysdeps/ieee754/dbl-64/e_remainder.c
29815 (__ieee754_remainder): Likewise.
29816 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29818 (bsloww): Likewise.
29819 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29820
6f2e90e7
SP
29821 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29822 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29823 MANTISSA_STORE_T to store computations on mantissa. Use
29824 macros for rounding and division.
29825 (denorm): Likewise.
29826 (__dbl_mp): Likewise.
29827 (add_magnitudes): Likewise.
29828 (sub_magnitudes): Likewise.
29829 (__mul): Likewise.
29830 (__sqr): Likewise.
29831 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29832 powers of two in terms of TWOPOW macro.
29833 (mp_no): Make type of mantissa as MANTISSA_T.
29834 [!RADIXI]: Define RADIXI.
29835 [!TWO52]: Define TWO52.
29836 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29837
fce14d4e
AZ
298382013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29839
29840 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29841 llroundl symbol when building for PPC32.
29842
9ad027fb
MW
298432013-03-24 Mark H Weaver <mhw@netris.org>
29844
29845 * manual/arith.texi (Normalization Functions): Fix prototypes for
29846 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29847
e42a38dd
AZ
298482013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29849
29850 [BZ #13889]
29851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29852 high value to check if expl overflow.
29853 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29854 to check for underflow and overflow.
29855 * math/libm-test.inc: Add exp test.
29856
2e0fb521
DL
298572013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29858
29859 [BZ #11120]
29860 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29861 with NOT_IN_libc.
29862
b5784d95
AZ
298632013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29864
29865 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29866 symbol.
29867
5aa4a1a1
TS
298682013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29869
bdef0be7
TS
29870 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29871 wrap blocks consisting of several statements.
29872
5aa4a1a1
TS
29873 * sysdeps/generic/math-tests.h: New file.
29874 * sysdeps/i386/fpu/math-tests.h: Likewise.
29875 * math/test-snan.c: Include it.
29876 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29877
98c48fe5
JM
298782013-03-21 Joseph Myers <joseph@codesourcery.com>
29879
29880 [BZ #15285]
29881 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29882 (__ieee754_j0l): Do not improve calculations using cos of twice
29883 input for inputs above LDBL_MAX / 2.0L.
29884 (__ieee754_y0l): Likewise.
29885 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29886 (__ieee754_j1l): Do not improve calculations using cos of twice
29887 input for inputs above LDBL_MAX / 2.0L.
29888 (__ieee754_y1l): Likewise.
29889 * math/libm-test.inc (j0_test): Add another test.
29890 (j1_test): Likewise.
29891 (y0_test): Likewise.
29892 (y1_test): Likewise.
29893 * sysdeps/i386/fpu/libm-test-ulps: Update.
29894
3775a8bc
SP
298952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29896
29897 * Rules ($(objpfx)bench-%.c): Include code from a C source
29898 file.
29899
0a1b2ae6
JM
299002013-03-21 Joseph Myers <joseph@codesourcery.com>
29901
29902 [BZ #15287]
29903 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29904 imaginary part 1.0 and real part less than 0.5 specially.
29905 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29906 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29907 * math/libm-test.inc (cacos_test): Add more tests.
29908 (casin_test): Likewise.
29909 (casinh_test): Likewise.
29910 * sysdeps/i386/fpu/libm-test-ulps: Update.
29911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29912
b33d4ce4
SP
299132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29914
29915 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29916 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29917
bef0b507
JM
299182013-03-20 Joseph Myers <joseph@codesourcery.com>
29919
29920 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29921 * config.make.in (config-cflags-sse4): Remove variable.
29922 (config-cflags-avx): Likewise.
29923 (config-cflags-sse2avx): Likewise.
29924 (config-cflags-novzeroupper): Likewise.
29925 (config-asflags-i686): Likewise.
29926 (have-mfma4): Likewise.
29927 (have-as-vis3): Likewise.
29928 (MIG): Likewise.
29929 * configure.in (MIG): Do not AC_SUBST.
29930 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29931 (libc_cv_cc_sse4): Do not AC_SUBST.
29932 (libc_cv_cc_avx): Likewise.
29933 (libc_cv_cc_sse2avx): Likewise.
29934 (libc_cv_cc_novzeroupper): Likewise.
29935 (libc_cv_cc_fma4): Likewise.
29936 (libc_cv_as_i686): Likewise.
29937 (libc_cv_sparc_as_vis3): Likewise.
29938 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29939 LIBC_CONFIG_VAR.
29940 (config-asflags-i686): Likewise.
29941 (config-cflags-avx): Likewise.
29942 (config-cflags-sse2avx): Likewise.
29943 (have-mfma4): Likewise.
29944 (config-cflags-novzeroupper): Likewise.
29945 * sysdeps/mach/configure.in (MIG): Likewise.
29946 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29947 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29948 LIBC_CONFIG_VAR.
29949 (config-cflags-avx): Likewise.
29950 (config-cflags-sse2avx): Likewise.
29951 (have-mfma4): Likewise.
29952 (config-cflags-novzeroupper): Likewise.
29953 * configure: Regenerated.
29954 * sysdeps/i386/configure: Likewise.
29955 * sysdeps/mach/configure: Likewise.
29956 * sysdeps/sparc/configure: Likewise.
29957 * sysdeps/x86_64/configure: Likewise.
29958
912cc4b3
RM
299592013-03-20 Roland McGrath <roland@hack.frob.com>
29960
29961 [BZ #14812]
29962 * locale/programs/localedef.c (options): Put N_ translation marker
29963 on argument names, not just descriptions.
29964
04eed2b0
MS
299652013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29966
29967 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29968
a065ceff
OB
299692013-03-20 Ondřej Bílka <neleai@seznam.cz>
29970
9bb2a810 29971 [BZ #14176]
a065ceff
OB
29972 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29973
a600e5ce
RM
299742013-03-19 Roland McGrath <roland@hack.frob.com>
29975
29976 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29977 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29978 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29979 [!BEFORE_ABORT] (before_abort): New function.
29980 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29981 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29982 (writev_for_fatal): New function.
29983 (WRITEV_FOR_FATAL): New macro; call that.
29984 (backtrace_and_maps): New function.
29985 (BEFORE_ABORT): New macro; call that.
29986 (struct str_list): Type removed.
29987 (__libc_message, __libc_fatal): Functions removed.
29988 Include <sysdeps/posix/libc_fatal.c> instead.
29989
6b18bea6
JM
299902013-03-19 Joseph Myers <joseph@codesourcery.com>
29991
29992 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29993 constants.
29994 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29995 double constants.
29996
aaa8cb4b
AS
299972013-03-19 Andreas Schwab <schwab@suse.de>
29998
44673770
AS
29999 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30000 * sysdeps/gnu/configure: Regenerate.
30001
aaa8cb4b
AS
30002 * configure.in: Substitute libc_cv_rtlddir.
30003 * configure: Regenerate.
30004 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30005 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30006 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30007 * elf/Makefile (install-others, CFLAGS-interp.c)
30008 (ldso_install, common-ldd-rewrite): Likewise.
30009 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30010 $(inst_slibdir)/$(rtld-installed-name).
30011 * scripts/rellns-sh: Add -p option.
30012 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30013 for source.
30014
d3cfc668
SP
300152013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30016
30017 * manual/nptl.texi: Renamed to ...
30018 * manual/threads.texi: ... this.
30019 * manual/Makefile (chapters): Update.
30020
0e2b9cdd
RM
300212013-03-18 Roland McGrath <roland@hack.frob.com>
30022
30023 [BZ #14812]
30024 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30025 on argument names, not just descriptions.
0e2b9cdd
RM
30026 * malloc/memusagestat.c (options): Likewise.
30027 * nss/getent.c (options): Likewise.
63270c24
RM
30028
300292013-03-18 Benno Schulenberg <bensberg@justemail.net>
30030
30031 [BZ #14812]
30032 * iconv/iconv_prog.c (options): Put N_ translation marker
30033 on argument names, not just descriptions.
30034 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30035
b2e1393c
OB
300362013-03-18 Ondrej Bilka <neleai@seznam.cz>
30037
30038 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30039 implementation which is faster on all x86_64 architectures.
30040 Tested on AMD, Intel Nehalem, SNB, IVB.
30041 * sysdeps/x86_64/strnlen.S: Likewise.
30042
30043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30044 Remove all multiarch strlen and strnlen versions.
30045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30046 Remove strlen and strnlen related parts.
30047
30048 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30049 Inline strlen part.
30050 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30051
30052 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30053 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30054 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30055 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30056 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30057 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30058
ec4ff04d
CD
300592013-03-17 Carlos O'Donell <carlos@redhat.com>
30060
30061 * manual/memory.texi (Malloc Tunable Parameters):
30062 Sort parameters alphabetically. Add comments for missing entries.
30063
cd18e90a
DM
300642013-03-17 David S. Miller <davem@davemloft.net>
30065
30066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30067
2a185d32
JM
300682013-03-16 Joseph Myers <joseph@codesourcery.com>
30069
d2f9799e
JM
30070 [BZ #15283]
30071 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30072 for arguments at most half maximum finite value.
30073 * math/libm-test.inc (j0_test): Add more tests.
30074 (j1_test): Likewise.
30075 (y0_test): Likewise.
30076 (y1_test): Likewise.
30077 * sysdeps/i386/fpu/libm-test-ulps: Update.
30078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30079
2a185d32
JM
30080 [BZ #14155]
30081 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30082 1 / x and functions P and Q for arguments above 0x1p256L.
30083 (__ieee754_y0l): Likewise.
30084 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30085 (__ieee754_y1l): Likewise.
30086 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30087 (j1_test): Likewise.
30088 (y0_test): Likewise.
30089 (y1_test): Likewise.
30090
6cbec759
TS
300912013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30092
30093 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30094 variable.
30095
bc16e260
RM
300962013-03-15 Roland McGrath <roland@hack.frob.com>
30097
aefc9b8c
RM
30098 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30099 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30100 zero since it's initialized to EXEC_PAGESIZE.
30101
bc16e260
RM
30102 * sysdeps/unix/sysv/linux/ldsodefs.h
30103 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30104 * sysdeps/generic/ldsodefs.h: ... here.
30105
a57da955
TS
301062013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30107
af00a34d
TS
30108 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30109
495ded2c
TS
30110 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30111 math/test-snan.c.
30112 * math/test-snan.c: Renamed from
30113 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30114 * math/Makefile (tests): Add test-snan.
30115 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30116 test-powerpc-snan.
30117
777b0332
TS
30118 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30119 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30120 functions.
30121 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30122 __builtin_nan family of functions.
30123 * math/libm-test.inc (initialize): Initialize qnan_value with
30124 __builtin_nan family of functions.
30125 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30126 Remove variables.
30127 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30128 Remove functions.
30129 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30130 storage class. Initialize qNaN_var and sNaN_var with
30131 __builtin_nan and __builtin_nans families of functions,
30132 respectively.
30133
64d063b8
TS
30134 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30135 (sqrt_test): Remove duplicate test with qNaN input.
30136 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30137 (round_test, signbit_test, significand_test): Note missing +/-Inf
30138 as well as qNaN tests.
30139
67e971f1
TS
30140 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30141 qNaN_var. Fix a few strings, too.
30142 * math/libm-test.inc (nan_value): Rename to qnan_value.
30143 * math/gen-libm-test.pl (%beautify): Adjust to that.
30144 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30145 * math/test-misc.c (main): Likewise.
30146 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30147 to __qnan_bytes, and __qnan_union, respectively.
30148 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30149 Likewise.
30150 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30151 and lqnanval, respectively.
30152 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30153 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30154 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30155 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30156
64487e12
TS
30157 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30158 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30159 doubles.
30160
e015e27b
TS
30161 * math/test-misc.c (main): Fix copy'n'pastos.
30162 * misc/tst-efgcvt.c (special): Likewise.
30163
a57da955
TS
30164 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30165 Remove declarations.
30166
1e380345
SP
301672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30168
30169 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30170 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30171 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30172 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30173
ef26eece
AZ
301742013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30175
30176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30177 macro to return vdso values correctly in IFUNC implementations.
30178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30179 Optimization by using IFUNC.
30180
8cfdb7e0
SP
301812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30182 Richard Henderson <rth@redhat.com>
30183 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30184
30185 * Makefile.in (bench): New target.
30186 * NEWS: Mention the benchmark framework.
30187 * Rules (bench): Likewise.
30188 (binaries-bench): Generate binaries for functions to
30189 benchmark.
30190 * benchtests/Makefile: New makefile for benchmark tests.
30191 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30192 programs.
30193 * benchtests/exp-inputs: New input file for EXP function.
30194 * benchtests/pow-inputs: New input file for POW function.
30195 * scripts/bench.pl: New script to generate source files for
30196 benchmark programs.
30197
bcda9880
SP
301982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30199
d22ca8cd
SP
30200 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30201 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30202 computations on mantissa. Use macros for rounding and
30203 division.
30204 (denorm): Likewise.
30205 (__dbl_mp): Likewise.
30206 (add_magnitudes): Likewise.
30207 (sub_magnitudes): Likewise.
30208 (__mul): Likewise.
30209 (__sqr): Likewise.
30210 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30211 powers of two in terms of TWOPOW macro.
30212 (mp_no): Make type of mantissa as MANTISSA_T.
30213 [!RADIXI]: Define RADIXI.
30214 [!TWO52]: Define TWO52.
30215 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30216
bcda9880
SP
30217 * manual/nptl.texi (cindex): Modify threads to pthreads.
30218
06d5adfb
JM
302192013-03-15 Joseph Myers <joseph@codesourcery.com>
30220
30221 * sysdeps/x86_64/preconfigure: Regenerated.
30222
41c7328e
JM
302232013-03-14 Joseph Myers <joseph@codesourcery.com>
30224
30225 [BZ #14155]
30226 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30227 0x1p28 and above.
30228 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30229 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30230 0x1p28 and above.
30231 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30232 * math/libm-test.inc (j0_test): Do not allow one spurious
30233 underflow exception.
30234 (y1_test): Likewise.
30235
e25cfa60
SP
302362013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30237
0409959c
SP
30238 * manual/Makefile (chapters): Add nptl.
30239 * manual/debug.texi (Debugging Support): Add link to Threads
30240 chapter.
30241 * manual/nptl.texi: New file.
30242
e25cfa60
SP
30243 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30244
58a1335e
PB
302452013-03-14 Petr Baudis <pasky@ucw.cz>
30246
30247 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30248 for non-NULL pointer before the memory validity test. Pointed
30249 out by Holger Brunck <holger.brunck@keymile.com>.
30250
9dc7c64f
AS
302512013-03-13 Andreas Schwab <schwab@suse.de>
30252
30253 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30254 instead of .os.
30255
54206aa6
JM
302562013-03-13 Joseph Myers <joseph@codesourcery.com>
30257
30258 * timezone/zic.c: Update from tzcode 2013b.
30259
e98cdb38
CD
302602013-03-12 Carlos O'Donell <carlos@redhat.com>
30261
30262 * manual/install.texi (Configuring and compiling):
30263 Mention i686 and i586.
30264 * INSTALL: Regenerate.
30265
9967e003
RM
302662013-03-12 Roland McGrath <roland@hack.frob.com>
30267
30268 * sysdeps/init_array/elf-init.c: New file.
30269 * csu/elf-init.c
30270 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30271 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30272
30273 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30274 __gmon_start__ as global, but as static with a .preinit_array pointer.
30275 * sysdeps/init_array/gmon-start.c: New file. Use that.
30276 * sysdeps/init_array/crti.S: New file, empty except for comments.
30277 * sysdeps/init_array/crtn.S: Likewise.
30278
e6b5a293 302792013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30280
30281 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30282 definining bcopy.
80f844c9
OB
30283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30284 Remove Prefer_SSE_for_memop.
30285 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30286 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30287 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30289 memset-x86-64.
80f844c9 30290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30291 Remove bzero, memset ifunc support.
80f844c9
OB
30292 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30293 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30294 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30295 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30296
fb6b0fcb
AS
302972013-03-11 Andreas Schwab <schwab@suse.de>
30298
30299 [BZ #15234]
30300 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30301 by SHLIB_COMPAT.
30302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30303 (GLIBC_2.16): Remove pthread_atfork.
30304
3e6bd4b1
PP
303052013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30306
30307 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30308 (ptestcases.h): Likewise.
30309
222d7f00
RM
303102013-03-08 Roland McGrath <roland@hack.frob.com>
30311
30312 * Makeconfig ($(common-objpfx)config.status): Depend on
30313 sysdeps/*/preconfigure{,.in} too.
30314
1ba4f030
JM
303152013-03-08 Joseph Myers <joseph@codesourcery.com>
30316
a222d91a
JM
30317 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30318 (__free_hook): Use void * instead of __malloc_ptr_t.
30319 (__malloc_hook): Likewise.
30320 (__realloc_hook): Likewise.
30321 (__memalign_hook): Likewise.
30322 (__after_morecore_hook): Likewise.
30323 * malloc/arena.c (save_malloc_hook): Likewise.
30324 (save_free_hook): Likewise.
30325 * malloc/hooks.c (malloc_hook_ini): Likewise.
30326 (realloc_hook_ini): Likewise.
30327 (memalign_hook_ini): Likewise.
30328 * malloc/malloc.c (malloc_hook_ini): Likewise.
30329 (realloc_hook_ini): Likewise.
30330 (memalign_hook_ini): Likewise.
30331 (__free_hook): Likewise.
30332 (__malloc_hook): Likewise.
30333 (__realloc_hook): Likewise.
30334 (__memalign_hook): Likewise.
30335 (__libc_malloc): Likewise.
30336 (__libc_free): Likewise.
30337 (__libc_realloc): Likewise.
30338 (__libc_memalign): Likewise.
30339 (__libc_valloc): Likewise.
30340 (__libc_pvalloc): Likewise.
30341 (__libc_calloc): Likewise.
30342 (__posix_memalign): Likewise.
30343 * malloc/morecore.c (__sbrk): Likewise.
30344 (__default_morecore): Likewise.
30345
5cc45e10
JM
30346 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30347
dd54b864
JM
30348 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30349 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30350 __malloc_ptrdiff_t.
30351
1ba4f030
JM
30352 * malloc/malloc.h (__malloc_size_t): Remove macro.
30353 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30354 __malloc_size_t.
30355 (old_memalign_hook): Likewise.
30356 (old_realloc_hook): Likewise.
30357 (struct hdr): Likewise.
30358 (flood): Likewise.
30359 (mallochook): Likewise.
30360 (memalignhook): Likewise.
30361 (reallochook): Likewise.
30362 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30363 (tr_old_realloc_hook): Likewise.
30364 (tr_old_memalign_hook): Likewise.
30365 (tr_mallochook): Likewise.
30366 (tr_reallochook): Likewise.
30367 (tr_memalignhook): Likewise.
30368
edf66e57
AZ
303692013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30370
30371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30372 default_ldbl_pack and using as default implementation.
30373 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30374 implementation.
30375 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30376 redundant definition.
30377 (ldbl_insert_mantissa): Likewise.
30378 (ldbl_canonicalize): Likewise.
30379 (ldbl_nearbyint): Likewise.
30380 (ldbl_pack): Rename to ldbl_pack_ppc.
30381 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30382 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30383 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30384
6d9145d8
SP
303852013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30386
30387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30388 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30389 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30390 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30392 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30393 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30394 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30395
4dd4e157
AJ
303962013-03-07 Andreas Jaeger <aj@suse.de>
30397
30398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30399 bits/mman-linux.h.
30400
adbb8027
SP
304012013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30402
ce544b5b
SP
30403 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30404 Include mpa.h and declare __MPEXP.
30405 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30406 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30407 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30408 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30409 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30410 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30411 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30412
4cc149fd
SP
30413 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30414 (__slowpow): Use long double EXPL and LOGL functions to
30415 compute POW.
30416 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30417 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30418 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30420 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30421 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30422
e6ebd4a7
SP
30423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30424 intermediate variable to calculate exponent.
30425 (__sqr): Likewise.
30426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30427 Likewise.
30428 (__sqr): Likewise.
30429
82a9811d
SP
30430 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30431 [!NO__SQR]: Define __sqr.
30432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30433 and NO__SQR. Remove all code except __mul and __sqr. Include
30434 sysdeps/ieee754/dbl-64/mpa.c.
30435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30436
adbb8027
SP
30437 [BZ #12723]
30438 * posix/Makefile (tests): Add tst-pathconf.
30439 * posix/tst-pathconf.c: New test case.
30440 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30441 _PC_PIPE_BUF.
30442 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30443
39120df9
PF
304442013-03-06 Patsy Franklin <pfrankli@redhat.com>
30445
30446 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30447
67525cb8
AJ
304482013-03-06 Andreas Jaeger <aj@suse.de>
30449
664a9ce4
AJ
30450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30451 definition via __MAP_ANONYMOUS.
30452
8e39047d
AJ
30453 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30454 it's not part of Linux headers.
30455
67525cb8
AJ
30456 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30457 (MAP_HUGE_MASK): Define.
30458
30459 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30460 Define.
30461 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30462 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30463 Define.
30464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30465 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30466 Define.
30467 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30468 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30469 Define.
30470 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30471
30472 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30473 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30474 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30475 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30476 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30477 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30478
30479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30480 Handle f2fs.
30481
30482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30483 Handle f2fs and efivarfs.
30484
30485 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30486 f2fs.
30487
30488 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30489 (EFIVARFS_MAGIC): Add.
30490 (F2FS_LINK_MAX): Add.
30491
e1b42695
PP
304922013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30493
30494 * stdio-common/vfprintf.c: Replace __builtin_expect with
30495 __glibc_unlikely.
30496
2d67d91a
JM
304972013-03-06 Joseph Myers <joseph@codesourcery.com>
30498
30499 [BZ #13550]
30500 * sysdeps/generic/bp-sym.h: Remove file.
30501 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30502 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30503 <bp-sym.h> and <bp-asm.h>.
30504 (__longjmp): Don't use BP_SYM.
30505 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30506 and <bp-asm.h>.
30507 (memcpy): Don't use BP_SYM.
30508 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30509 <bp-sym.h> and <bp-asm.h>.
30510 (memcpy): Don't use BP_SYM.
30511 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30512 <bp-asm.h>.
30513 (memcpy): Don't use BP_SYM.
30514 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30515 <bp-asm.h>.
30516 (memset): Don't use BP_SYM.
30517 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30518 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30519 (__bzero): Don't use BP_SYM.
30520 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30521 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30522 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30523 <bp-sym.h> and <bp-asm.h>.
30524 (memcmp): Don't use BP_SYM. Remove comment about bounded
30525 pointers.
30526 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30527 <bp-sym.h> and <bp-asm.h>.
30528 (memcpy): Don't use BP_SYM.
30529 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30530 <bp-sym.h> and <bp-asm.h>.
30531 (memset): Don't use BP_SYM.
30532 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30533 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30534 (__bzero): Don't use BP_SYM.
30535 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30536 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30537 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30538 <bp-sym.h> and <bp-asm.h>.
30539 (strncmp): Don't use BP_SYM. Remove comment about bounded
30540 pointers.
30541 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30542 <bp-sym.h> and <bp-asm.h>.
30543 (memcpy): Don't use BP_SYM.
30544 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30545 <bp-sym.h> and <bp-asm.h>.
30546 (memset): Don't use BP_SYM.
30547 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30548 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30549 (__bzero): Don't use BP_SYM.
30550 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30551 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30552 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30553 <bp-sym.h> and <bp-asm.h>.
30554 (__memchr): Don't use BP_SYM.
30555 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30556 <bp-sym.h> and <bp-asm.h>.
30557 (memcmp): Don't use BP_SYM. Remove comment about bounded
30558 pointers.
30559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30560 <bp-sym.h> and <bp-asm.h>.
30561 (memcpy): Don't use BP_SYM.
30562 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30563 <bp-sym.h> and <bp-asm.h>.
30564 (__mempcpy): Don't use BP_SYM.
30565 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30566 <bp-sym.h> and <bp-asm.h>.
30567 (__memrchr): Don't use BP_SYM.
30568 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30569 <bp-sym.h> and <bp-asm.h>.
30570 (memset): Don't use BP_SYM.
30571 (__bzero): Likewise.
30572 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30573 <bp-sym.h> and <bp-asm.h>.
30574 (__rawmemchr): Don't use BP_SYM.
30575 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30576 <bp-sym.h> and <bp-asm.h>.
30577 (__STRCMP): Don't use BP_SYM.
30578 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30579 <bp-sym.h> and <bp-asm.h>.
30580 (strchr): Don't use BP_SYM.
30581 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30582 <bp-sym.h> and <bp-asm.h>.
30583 (__strchrnul): Don't use BP_SYM.
30584 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30585 <bp-sym.h> and <bp-asm.h>.
30586 (strlen): Don't use BP_SYM.
30587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30588 <bp-sym.h> and <bp-asm.h>.
30589 (strncmp): Don't use BP_SYM. Remove comment about bounded
30590 pointers.
30591 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30592 <bp-sym.h> and <bp-asm.h>.
30593 (__strnlen): Don't use BP_SYM.
30594 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30595 <bp-sym.h> and <bp-asm.h>.
30596 (__GI__setjmp): Don't use BP_SYM.
30597 (_setjmp): Likewise.
30598 (__sigsetjmp): Likewise.
30599 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30600 (L(start_addresses)): Don't use BP_SYM.
30601 (_start): Likewise.
30602 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30603 <bp-asm.h>.
30604 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30605 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30606 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30607 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30608 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30609 <bp-asm.h>.
30610 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30611 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30612 about bounded pointers.
30613 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30614 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30615 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30616 <bp-asm.h>.
30617 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30618 about bounded pointers. Remove GKM FIXME comments.
30619 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30620 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30621 <bp-asm.h>.
30622 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30623 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30624 Remove GKM FIXME comments.
30625 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30626 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30627 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30628 <bp-asm.h>.
30629 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30630 about bounded pointers. Remove GKM FIXME comment.
30631 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30632 and <bp-asm.h>.
30633 (strncmp): Don't use BP_SYM. Remove comment about bounded
30634 pointers.
30635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30636 <bp-sym.h> and <bp-asm.h>.
30637 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30639 <bp-sym.h> and <bp-asm.h>.
30640 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30641 comment.
30642
cdcf361f
PP
306432013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30644
30645 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30646 call free(NULL).
30647
3c4a2b15
DM
306482013-03-05 David S. Miller <davem@davemloft.net>
30649
30650 * po/es.po: Update from translation team.
30651
cdcf361f 306522013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30653
30654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30655 <bits/mman-linux.h>.
30656 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30657 is fine.
30658 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30659 <bits/mman-linux.h> to end of file.
30660 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30661 is fine.
30662 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30663 <bits/mman-linux.h> to end of file.
30664 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30665 is fine.
30666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30667 <bits/mman-linux.h> to end of file.
30668
30669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30670 (MCL_CURRENT, MCL_FUTURE): Define here.
30671
5f67c04f
AK
306722013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30673
8a4473cc 30674 [BZ #15232]
5f67c04f
AK
30675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30676 attribute_hidden.
30677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30678
c3e94a95
AK
306792013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30680
30681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30682 fourth parameter needed for rt_sigprocmask syscall.
30683 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30684 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30685 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30686 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30687 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30688 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30689
cfb6382a
JM
306902013-03-04 Joseph Myers <joseph@codesourcery.com>
30691
30692 [BZ #13550]
30693 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30694 comment about bounded pointers.
30695 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30696 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30697
539d8e01
AJ
306982013-03-04 Andreas Jaeger <aj@suse.de>
30699
30700 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30701 common definitions.
30702
30703 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30704 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30705 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30709
2e167a70 307102013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30711
30712 [BZ #15055]
30713 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30714 __ieee754_sqrl instead of __sqrl.
30715
68508633
JM
307162013-03-01 Joseph Myers <joseph@codesourcery.com>
30717
30718 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30719 * sysdeps/powerpc/fpu_control.h: ... here.
30720 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30721 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30722 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30723 * sysdeps/powerpc/bits/mathinline.h: ... here.
30724
7775448e
RM
307252013-03-01 Roland McGrath <roland@hack.frob.com>
30726
30727 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30728 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30729 to just [NEED_DL_SYSINFO_DSO].
30730 * elf/dl-support.c: Likewise.
30731 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30732 * elf/rtld.c (dl_main): Likewise.
30733 * elf/setup-vdso.h (setup_vdso): Likewise.
30734 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30735 * sysdeps/unix/sysv/linux/dl-sysdep.c
30736 (_dl_discover_osversion): Likewise.
30737
4e9b5995
CD
307382013-03-01 Carlos O'Donell <carlos@redhat.com>
30739
30740 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30741 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30742
e23872c8
SP
307432013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30744
e5c74c63
SP
30745 * NEWS: Mention libm performance improvements and non-x86 PI
30746 futex support.
30747
e23872c8
SP
30748 * csu/libc-start.c (__pthread_initialize_minimal): Change
30749 function arguments.
30750 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30751
b5510883
JM
307522013-02-28 Joseph Myers <joseph@codesourcery.com>
30753
30754 [BZ #13550]
30755 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30756 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30757 <bp-sym.h> and <bp-asm.h>.
30758 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30759 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30760 and <bp-asm.h>.
30761 (memcpy): Don't use BP_SYM.
30762 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30763 <bp-asm.h>.
30764 (__mpn_add_n): Don't use BP_SYM.
30765 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30766 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30767 and <bp-asm.h>.
30768 (__mpn_addmul_1): Don't use BP_SYM.
30769 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30770 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30771 <bp-sym.h>.
30772 (_setjmp): Don't use BP_SYM.
30773 (__novmx_setjmp): Likewise.
30774 (__GI__setjmp): Likewise.
30775 (__vmx_setjmp): Likewise.
30776 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30777 <bp-sym.h>.
30778 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30779 (__bzero): Don't use BP_SYM.
30780 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30781 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30782 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30783 <bp-sym.h> and <bp-asm.h>.
30784 (memcpy): Don't use BP_SYM.
30785 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30786 <bp-sym.h> and <bp-asm.h>.
30787 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30788 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30789 <bp-sym.h> and <bp-asm.h>.
30790 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30791 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30792 <bp-asm.h>.
30793 (__mpn_lshift): Don't use BP_SYM.
30794 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30795 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30796 <bp-asm.h>.
30797 (memset): Don't use BP_SYM.
30798 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30799 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30800 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30801 <bp-asm.h>.
30802 (__mpn_mul_1): Don't use BP_SYM.
30803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30805 <bp-sym.h> and <bp-asm.h>.
30806 (memcmp): Don't use BP_SYM.
30807 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30808 <bp-sym.h> and <bp-asm.h>.
30809 (memcpy): Don't use BP_SYM.
30810 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30811 <bp-sym.h> and <bp-asm.h>.
30812 (memset): Don't use BP_SYM.
30813 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30814 <bp-sym.h> and <bp-asm.h>.
30815 (strncmp): Don't use BP_SYM.
30816 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30817 <bp-sym.h> and <bp-asm.h>.
30818 (memcpy): Don't use BP_SYM.
30819 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30820 <bp-sym.h> and <bp-asm.h>.
30821 (memset): Don't use BP_SYM.
30822 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30823 <bp-sym.h> and <bp-asm.h>.
30824 (__memchr): Don't use BP_SYM.
30825 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30826 <bp-sym.h> and <bp-asm.h>.
30827 (memcmp): Don't use BP_SYM.
30828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30829 <bp-sym.h> and <bp-asm.h>.
30830 (memcpy): Don't use BP_SYM.
30831 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30832 <bp-sym.h> and <bp-asm.h>.
30833 (__mempcpy): Don't use BP_SYM.
30834 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30835 <bp-sym.h> and <bp-asm.h>.
30836 (__memrchr): Don't use BP_SYM.
30837 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30838 <bp-sym.h> and <bp-asm.h>.
30839 (memset): Don't use BP_SYM.
30840 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30841 <bp-sym.h> and <bp-asm.h>.
30842 (__rawmemchr): Don't use BP_SYM.
30843 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30844 <bp-sym.h> and <bp-asm.h>.
30845 (__STRCMP): Don't use BP_SYM.
30846 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30847 <bp-sym.h> and <bp-asm.h>.
30848 (strchr): Don't use BP_SYM.
30849 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30850 <bp-sym.h> and <bp-asm.h>.
30851 (__strchrnul): Don't use BP_SYM.
30852 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30853 <bp-sym.h> and <bp-asm.h>.
30854 (strlen): Don't use BP_SYM.
30855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30856 <bp-sym.h> and <bp-asm.h>.
30857 (strncmp): Don't use BP_SYM.
30858 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30859 <bp-sym.h> and <bp-asm.h>.
30860 (__strnlen): Don't use BP_SYM.
30861 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30862 <bp-asm.h>.
30863 (__mpn_rshift): Don't use BP_SYM.
30864 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30865 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30866 <bp-sym.h> and <bp-asm.h>.
30867 (__sigsetjmp): Don't use BP_SYM.
30868 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30869 (L(start_addresses)): Don't use BP_SYM.
30870 (_start): Likewise.
30871 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30872 <bp-asm.h>.
30873 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30874 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30875 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30876 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30877 <bp-asm.h>.
30878 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30879 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30880 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30881 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30882 <bp-asm.h>.
30883 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30884 comments.
30885 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30886 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30887 <bp-asm.h>.
30888 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30889 FIXME comments.
30890 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30891 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30892 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30893 <bp-asm.h>.
30894 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30895 comment.
30896 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30897 and <bp-asm.h>.
30898 (strncmp): Don't use BP_SYM,
30899 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30900 <bp-asm.h>.
30901 (__mpn_sub_n): Don't use BP_SYM.
30902 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30903 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30904 and <bp-asm.h>.
30905 (__mpn_submul_1): Don't use BP_SYM.
30906 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30908 <bp-sym.h> and <bp-asm.h>.
30909 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30911 <bp-sym.h> and <bp-asm.h>.
30912 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30913 comment.
30914
8d19fe64
SP
309152013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30916
30917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30918 Use ZK to minimize writes to Z.
30919 (sub_magnitudes): Simplify code a bit.
30920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30921 Use ZK to minimize writes to Z.
30922 (sub_magnitudes): Simplify code a bit.
30923
85bd816a
RM
309242013-02-27 Roland McGrath <roland@hack.frob.com>
30925
30926 * csu/gmon-start.c: Add special exception to license text.
30927
b5977bf2
RH
309282013-02-27 Richard Henderson <rth@redhat.com>
30929
30930 * scripts/config.guess: Update from config.git.
30931 * scripts/config.sub: Likewise.
30932
11d6e2f2
SP
309332013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30934
09c14ed2
SP
30935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30936
a688864e
SP
30937 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30938
6295157a
SP
30939 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30940
b8de2202
SP
30941 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30942
11d6e2f2
SP
30943 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30944
7e80ddb8
RM
309452013-02-26 Roland McGrath <roland@hack.frob.com>
30946
30947 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30948 [$(build-shared = yes].
7e80ddb8 30949
7da6d9ed
SP
309502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30951
45f05884
SP
30952 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30953 (__mul): Reduce iterations for calculating mantissa.
30954
2236d359
SP
30955 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30956 MPTWO.
30957 (__mpranred): Likewise.
30958
7da6d9ed
SP
30959 [BZ #15160]
30960 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30961 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30962
b7688c42
PE
309632013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30964
30965 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30966 Define __attribute__.
30967
53a5c423
SP
309682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30969
30970 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30971 unused.
30972 * posix/regex_internal.h (__attribute): Remove.
30973 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30974 (re_string_context_at): Likewise.
30975 (bitset_not): Use __attribute__ and mark function as possibly
30976 unused.
30977 (bitset_merge): Likewise.
30978 (bitset_mask): Likewise.
30979 (re_string_char_size_at): Likewise.
30980 (re_string_wchar_at): Likewise.
30981 (re_string_elem_size_at): Likewise.
30982
60f5a8b5
SP
309832013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30984
2a983a2e
SP
30985 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30986 code.
30987 (cc32): Likewise.
30988
e69804d1
SP
30989 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30990 (__acr): Likewise.
30991 (__cpy): Likewise.
30992 (norm): Likewise.
30993 (denorm): Likewise.
30994 (__dbl_mp): Likewise.
30995 (add_magnitudes): Likewise.
30996 (sub_magnitudes): Likewise.
30997 (__mul): Likewise.
30998 (__inv): Likewise.
30999
2f22a1e8
SP
31000 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31001 style.
31002
8930ddc7
SP
31003 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31004 style.
31005
dc60cb11
SP
31006 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31007 code.
31008
60f5a8b5
SP
31009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31010 up changes with default code.
31011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31012 Likewise.
31013
b4d1fd33
AM
310142013-02-24 Allan McRae <allan@archlinux.org>
31015
faf6f8bc
AM
31016 * manual/socket.texi (The Internet Namespace): Order menu items
31017 to match that in the file.
31018
b4d1fd33
AM
31019 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31020 node listing of the info page menu.
31021
2366713d
JM
310222013-02-21 Joseph Myers <joseph@codesourcery.com>
31023
31024 [BZ #13550]
31025 * sysdeps/i386/bp-asm.h: Remove file.
31026 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31027 (PARMS): Do not use macros from bp-asm.h.
31028 (S1): Likewise.
31029 (S2): Likewise.
31030 (SIZE): Likewise.
31031 (__mpn_add_n): Do not use BP_SYM
31032 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31033 "bp-asm.h".
31034 (PARMS): Do not use macros from bp-asm.h.
31035 (S1): Likewise.
31036 (SIZE): Likewise.
31037 (__mpn_addmul_1): Do not use BP_SYM
31038 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31039 "bp-asm.h".
31040 (PARMS): Do not use macros from bp-asm.h.
31041 (SIGMSK): Likewise.
31042 (_setjmp): Likewise. Do not use BP_SYM.
31043 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31044 "bp-asm.h".
31045 (PARMS): Do not use macros from bp-asm.h.
31046 (SIGMSK): Likewise.
31047 (setjmp): Likewise. Do not use BP_SYM.
31048 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31049 "bp-asm.h".
31050 (PARMS): Do not use macros from bp-asm.h.
31051 (__frexp): Do not use BP_SYM.
31052 (frexp): Likewise.
31053 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31054 "bp-asm.h".
31055 (PARMS): Do not use macros from bp-asm.h.
31056 (__frexpf): Do not use BP_SYM.
31057 (frexpf): Likewise.
31058 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31059 "bp-asm.h".
31060 (PARMS): Do not use macros from bp-asm.h.
31061 (__frexpl): Do not use BP_SYM.
31062 (frexpl): Likewise.
31063 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31064 "bp-asm.h".
31065 (PARMS): Do not use macros from bp-asm.h.
31066 (__remquo): Do not use BP_SYM.
31067 (remquo): Likewise.
31068 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31069 "bp-asm.h".
31070 (PARMS): Do not use macros from bp-asm.h.
31071 (__remquof): Do not use BP_SYM.
31072 (remquof): Likewise.
31073 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31074 "bp-asm.h".
31075 (PARMS): Do not use macros from bp-asm.h.
31076 (__remquol): Do not use BP_SYM.
31077 (remquol): Likewise.
31078 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31079 "bp-asm.h".
31080 (PARMS): Do not use macros from bp-asm.h.
31081 (DEST): Likewise.
31082 (SRC): Likewise.
31083 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31084 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31085 "bp-asm.h".
31086 (PARMS): Do not use macros from bp-asm.h.
31087 (strlen): Do not use BP_SYM.
31088 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31089 "bp-asm.h".
31090 (PARMS): Do not use macros from bp-asm.h.
31091 (S1): Likewise.
31092 (S2): Likewise.
31093 (SIZE): Likewise.
31094 (__mpn_add_n): Do not use BP_SYM.
31095 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31096 "bp-asm.h".
31097 (PARMS): Do not use macros from bp-asm.h.
31098 (S1): Likewise.
31099 (SIZE): Likewise.
31100 (__mpn_addmul_1): Do not use BP_SYM.
31101 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31102 weak_alias.
31103 (bzero): Likewise.
31104 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31105 "bp-asm.h".
31106 (PARMS): Do not use macros from bp-asm.h.
31107 (S): Likewise.
31108 (SIZE): Likewise.
31109 (__mpn_lshift): Do not use BP_SYM.
31110 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31111 "bp-asm.h".
31112 (PARMS): Do not use macros from bp-asm.h.
31113 (DEST): Likewise.
31114 (SRC): Likewise.
31115 (LEN): Likewise.
31116 (memcpy): Likewise. Do not use BP_SYM.
31117 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31118 libc_hidden_def and weak_alias.
31119 (mempcpy): Do not use BP_SYM in weak_alias.
31120 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31121 "bp-asm.h".
31122 (PARMS): Do not use macros from bp-asm.h.
31123 (DEST): Likewise.
31124 (LEN): Likewise.
31125 [!BZERO_P] (CHR): Likewise.
31126 (memset): Likewise. Do not use BP_SYM.
31127 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31128 "bp-asm.h".
31129 (PARMS): Do not use macros from bp-asm.h.
31130 (S1): Likewise.
31131 (SIZE): Likewise.
31132 (__mpn_mul_1): Do not use BP_SYM.
31133 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31134 "bp-asm.h".
31135 (PARMS): Do not use macros from bp-asm.h.
31136 (S): Likewise.
31137 (SIZE): Likewise.
31138 (__mpn_rshift): Do not use BP_SYM.
31139 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31140 "bp-asm.h".
31141 (PARMS): Do not use macros from bp-asm.h.
31142 (STR): Likewise.
31143 (CHR): Likewise.
31144 (strchr): Likewise. Do not use BP_SYM.
31145 (index): Do not use BP_SYM in weak_alias.
31146 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31147 "bp-asm.h".
31148 (PARMS): Do not use macros from bp-asm.h.
31149 (DEST): Likewise.
31150 (SRC): Likewise.
31151 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31152 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31153 "bp-asm.h".
31154 (PARMS): Do not use macros from bp-asm.h.
31155 (strlen): Do not use BP_SYM.
31156 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31157 "bp-asm.h".
31158 (PARMS): Do not use macros from bp-asm.h.
31159 (S1): Likewise.
31160 (S2): Likewise.
31161 (SIZE): Likewise.
31162 (__mpn_sub_n): Do not use BP_SYM.
31163 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31164 "bp-asm.h".
31165 (PARMS): Do not use macros from bp-asm.h.
31166 (S1): Likewise.
31167 (SIZE): Likewise.
31168 (__mpn_submul_1): Do not use BP_SYM.
31169 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31170 "bp-asm.h".
31171 (PARMS): Do not use macros from bp-asm.h.
31172 (S1): Likewise.
31173 (S2): Likewise.
31174 (SIZE): Likewise.
31175 (__mpn_add_n): Do not use BP_SYM.
31176 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31177 weak_alias.
31178 (bzero): Likewise.
31179 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31180 "bp-asm.h".
31181 (PARMS): Do not use macros from bp-asm.h.
31182 (BLK2): Likewise.
31183 (LEN): Likewise.
31184 (memcmp): Do not use BP_SYM.
31185 (bcmp): Do not use BP_SYM in weak_alias.
31186 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31187 "bp-asm.h".
31188 (PARMS): Do not use macros from bp-asm.h.
31189 (DEST): Likewise.
31190 (SRC): Likewise.
31191 (LEN): Likewise.
31192 (memcpy): Likewise. Do not use BP_SYM.
31193 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31194 "bp-asm.h".
31195 (PARMS): Do not use macros from bp-asm.h.
31196 (DEST): Likewise.
31197 (SRC): Likewise.
31198 (LEN): Likewise.
31199 (memmove): Likewise. Do not use BP_SYM.
31200 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31201 "bp-asm.h".
31202 (PARMS): Do not use macros from bp-asm.h.
31203 (DEST): Likewise.
31204 (SRC): Likewise.
31205 (LEN): Likewise.
31206 (__mempcpy): Likewise. Do not use BP_SYM.
31207 (mempcpy): Do not use BP_SYM in weak_alias.
31208 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31209 "bp-asm.h".
31210 (PARMS): Do not use macros from bp-asm.h.
31211 (DEST): Likewise.
31212 (LEN): Likewise.
31213 [!BZERO_P] (CHR): Likewise.
31214 (memset): Likewise. Do not use BP_SYM.
31215 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31216 "bp-asm.h".
31217 (PARMS): Do not use macros from bp-asm.h.
31218 (STR2): Likewise.
31219 (strcmp): Do not use BP_SYM.
31220 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31221 "bp-asm.h".
31222 (PARMS): Do not use macros from bp-asm.h.
31223 (STR): Likewise.
31224 (DELIM): Likewise.
31225 [USE_AS_STRTOK_R] (SAVE): Likewise.
31226 (FUNCTION): Likewise. Do not use BP_SYM.
31227 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31228 aliases.
31229 (strtok_r): Likewise.
31230 (__GI___strtok_r): Likewise.
31231 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31232 (PARMS): Do not use macros from bp-asm.h.
31233 (S): Likewise.
31234 (SIZE): Likewise.
31235 (__mpn_lshift): Do not use BP_SYM.
31236 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31237 (PARMS): Do not use macros from bp-asm.h.
31238 (STR): Likewise.
31239 (CHR): Likewise.
31240 (__memchr): Do not use BP_SYM.
31241 (memchr): Do not use BP_SYM in weak_alias.
31242 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31243 (PARMS): Do not use macros from bp-asm.h.
31244 (BLK2): Likewise.
31245 (LEN): Likewise.
31246 (memcmp): Do not use BP_SYM.
31247 (bcmp): Do not use BP_SYM in weak_alias.
31248 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31249 (PARMS): Do not use macros from bp-asm.h.
31250 (S1): Likewise.
31251 (SIZE): Likewise.
31252 (__mpn_mul_1): Do not use BP_SYM.
31253 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31254 "bp-asm.h".
31255 (PARMS): Do not use macros from bp-asm.h.
31256 (STR): Likewise.
31257 (CHR): Likewise.
31258 (__rawmemchr): Do not use BP_SYM.
31259 (rawmemchr): Do not use BP_SYM in weak_alias.
31260 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31261 (PARMS): Do not use macros from bp-asm.h.
31262 (S): Likewise.
31263 (SIZE): Likewise.
31264 (__mpn_rshift): Do not use BP_SYM.
31265 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31266 (PARMS): Do not use macros from bp-asm.h.
31267 (SIGMSK): Likewise.
31268 (__sigsetjmp): Likewise. Do not use BP_SYM.
31269 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31270 (_start): Do not use BP_SYM.
31271 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31272 (PARMS): Do not use macros from bp-asm.h.
31273 (DEST): Likewise.
31274 (SRC): Likewise.
31275 (__stpcpy): Likewise. Do not use BP_SYM.
31276 (stpcpy): Do not use BP_SYM in weak_alias.
31277 * sysdeps/i386/stpncpy.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 (__stpncpy): Likewise. Do not use BP_SYM.
31284 (stpncpy): Do not use BP_SYM in weak_alias.
31285 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31286 (PARMS): Do not use macros from bp-asm.h.
31287 (STR): Likewise.
31288 (CHR): Likewise.
31289 (strchr): Likewise. Do not use BP_SYM.
31290 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31291 "bp-asm.h".
31292 (PARMS): Do not use macros from bp-asm.h.
31293 (STR): Likewise.
31294 (CHR): Likewise.
31295 (__strchrnul): Likewise. Do not use BP_SYM.
31296 (strchrnul): Do not use BP_SYM in weak_alias.
31297 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31298 "bp-asm.h".
31299 (PARMS): Do not use macros from bp-asm.h.
31300 (STOP): Likewise.
31301 (strcspn): Do not use BP_SYM.
31302 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31303 "bp-asm.h".
31304 (PARMS): Do not use macros from bp-asm.h.
31305 (STR): Likewise.
31306 (STOP): Likewise.
31307 (strpbrk): Likewise. Do not use BP_SYM.
31308 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31309 "bp-asm.h".
31310 (PARMS): Do not use macros from bp-asm.h.
31311 (STR): Likewise.
31312 (CHR): Likewise.
31313 (strrchr): Likewise. Do not use BP_SYM.
31314 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31315 (PARMS): Do not use macros from bp-asm.h.
31316 (SKIP): Likewise.
31317 (strspn): Do not use BP_SYM.
31318 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31319 (PARMS): Do not use macros from bp-asm.h.
31320 (STR): Likewise.
31321 (DELIM): Likewise.
31322 (SAVE): Likewise.
31323 (FUNCTION): Likewise. Do not use BP_SYM.
31324 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31325 aliases.
31326 (strtok_r): Likewise.
31327 (__GI___strtok_r): Likewise.
31328 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31329 (PARMS): Do not use macros from bp-asm.h.
31330 (S1): Likewise.
31331 (S2): Likewise.
31332 (SIZE): Likewise.
31333 (__mpn_sub_n): Do not use BP_SYM.
31334 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31335 "bp-asm.h".
31336 (PARMS): Do not use macros from bp-asm.h.
31337 (S1): Likewise.
31338 (SIZE): Likewise.
31339 (__mpn_submul_1): Do not use BP_SYM.
31340 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31341 <bp-sym.h>.
31342 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31343 and <bp-asm.h>.
31344 (PARMS): Do not use macros from bp-asm.h.
31345 (FLAGS): Likewise.
31346 (PTID): Likewise.
31347 (TLS): Likewise.
31348 (CTID): Likewise.
31349 (__clone): Do not use BP_SYM.
31350 (clone): Do not use BP_SYM in weak_alias.
31351 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31352 and <bp-asm.h>.
31353 (PARMS): Do not use macros from bp-asm.h.
31354 (LEN): Likewise.
31355 (__mmap64): Do not use BP_SYM.
31356 (mmap64): Do not use BP_SYM in weak_alias.
31357 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31358 <bp-sym.h> and <bp-asm.h>.
31359 (PARMS): Do not use macros from bp-asm.h.
31360 (__posix_fadvise64_l64): Do not use BP_SYM.
31361 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31362 (PARMS): Do not use macros from bp-asm.h.
31363 (NSOPS): Likewise.
31364 (semtimedop): Do not use BP_SYM.
31365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31366 and <bp-asm.h>.
31367
582a3cff
AM
313682013-02-21 Allan McRae <allan@archlinux.org>
31369
31370 * manual/message.texi (Charset conversion in gettext):
31371 Move @end statement to beginning of line.
31372
bab8a695
SP
313732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31374
80945231
SP
31375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31376 static.
31377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31378 Likewise.
31379
bab8a695
SP
31380 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31381 (denorm): Likewise.
31382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31384
e21d7aa7
AK
313852013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31386
31387 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31388 tail-call to the resolved function if pltexit isn't needed.
31389
4c7a4263
SP
313902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31391
31392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31393 or Y being zero as being unlikely.
31394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31395 Likewise.
31396
41f49342
CD
313972013-02-20 Carlos O'Donell <carlos@redhat.com>
31398
31399 * manual/nss.texi (System Databases and Name Service Switch):
31400 Remove frobnicate @pxref.
31401
50022a93
TS
314022013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31403
31404 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31405 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31406
08cbd996
PM
314072013-02-20 Petr Machata <pmachata@redhat.com>
31408
31409 * elf/elf.h (R_ARM_TARGET1): New macro.
31410 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31411 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31412 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31413 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31414 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31415 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31416 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31417 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31418 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31419 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31420 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31421 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31422 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31423 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31424 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31425 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31426 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31427 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31428 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31429 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31430 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31431 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31432 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31433 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31434 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31435 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31436 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31437 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31438 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31439 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31440 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31441 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31442 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31443 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31444 (R_ARM_THM_GOT_BREL12): Likewise.
31445 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31446 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31447 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31448 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31449 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31450 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31451 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31452 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31453 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31454
c7b275d6
TS
314552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31456
31457 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31458 __attribute_used__ to __attribute__ ((unused)).
31459
20cd7fb3
SP
314602013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31461
31462 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31463 powerpc mpa.c.
31464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31465 comment formatting.
31466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31467
92945b52
JM
314682013-02-19 Joseph Myers <joseph@codesourcery.com>
31469
31470 [BZ #13550]
31471 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31472 Remove macro.
31473 (ENTER): Remove both macro definitions.
31474 (LEAVE): Likewise.
31475 (CHECK_BOUNDS_LOW): Likewise.
31476 (CHECK_BOUNDS_HIGH): Likewise.
31477 (CHECK_BOUNDS_BOTH): Likewise.
31478 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31479 (RETURN_BOUNDED_POINTER): Likewise.
31480 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31481 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31482 (POP_ERRNO_LOCATION_RETURN): Likewise.
31483 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31484 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31485 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31486 macros.
31487 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31488 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31489 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31490 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31491 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31492 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31493 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31494 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31495 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31496 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31497 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31498 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31499 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31500 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31501 removed macros.
31502 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31503 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31504 macros.
31505 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31506 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31507 * sysdeps/i386/i586/memset.S (memset): Likewise.
31508 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31509 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31510 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31511 macros.
31512 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31513 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31514 Change uses of L(2) to L(out).
31515 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31516 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31517 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31518 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31519 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31520 removed macros.
31521 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31522 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31523 macros.
31524 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31525 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31526 (RETURN): Do not use macro LEAVE.
31527 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31528 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31529 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31530 * sysdeps/i386/i686/memset.S (memset): Likewise.
31531 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31532 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31533 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31534 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31535 Likewise.
31536 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31537 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31538 L(1_2) and L(1_3) into L(1).
31539 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31540 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31541 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31542 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31543 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31544 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31545 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31546 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31547 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31548 macros.
31549 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31550 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31551 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31552 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31553 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31554 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31555 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31556 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31557 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31558 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31559 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31560 * sysdeps/i386/strspn.S (strspn): Likewise.
31561 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31562 conditional code.
31563 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31564 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31565 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31566 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31567 L(1_3) into L(1_1).
31568 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31569 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31570 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31571 macros.
31572 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31573
2389741a
JJ
315742013-02-19 Jakub Jelinek <jakub@redhat.com>
31575
31576 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31577 macro.
31578
2016b3cd
SP
315792013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31580
e4f22324
SP
31581 * math/atest-exp.c (exp_mpn): Remove ROUND.
31582 * math/atest-exp2.c (exp_mpn): Likewise.
31583 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31584
2016b3cd
SP
31585 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31586 * stdlib/tst-tls-atexit-lib.c: Likewise.
31587 * stdlib/tst-tls-atexit.c: Likewise.
31588
4be9b544
MF
315892013-02-18 Mike Frysinger <vapier@gentoo.org>
31590
31591 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31592 and __attribute_alloc_size__.
31593
2f62b9ee
MF
315942013-02-18 Mike Frysinger <vapier@gentoo.org>
31595
31596 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31597 __attribute_alloc_size__.
31598 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31599 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31600
6ff444c4
MF
316012013-02-18 Mike Frysinger <vapier@gentoo.org>
31602
31603 * include/programs/xmalloc.h: New file.
31604 * catgets/gencat.c: Include it.
31605 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31606 * elf/pldd.c: Likewise.
31607 * iconv/iconv_charmap.c: Likewise.
31608 * iconv/iconvconfig.c: Likewise.
31609 * iconv/strtab.c: Likewise.
31610 * locale/programs/locale.c: Likewise.
31611 * locale/programs/localedef.h: Likewise.
31612 * locale/programs/simple-hash.c: Likewise.
31613 * nscd/nscd.h: Likewise.
31614 * nss/makedb.c: Likewise.
31615 * sysdeps/generic/ldconfig.h: Likewise.
31616
be179c8a
SP
316172013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31618
ba384f6e
SP
31619 * Versions.def: Add GLIBC_2.18.
31620 * include/link.h (struct link_map): New member l_tls_dtor_count.
31621 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31622 (__call_tls_dtors): Likewise.
31623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31624 __cxa_thread_atexit_impl.
31625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31626 Likewise.
31627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31628 Likewise.
31629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31630 Likewise.
31631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31632 Likewise.
31633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31635 Likewise.
31636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31637 Likewise.
31638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31640 Likewise.
31641 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31642 (tests): Add test case tst-tls-atexit.
31643 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31644 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31645 (GLIBC_PRIVATE): Add __call_tls_dtors.
31646 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31647 for libstdc++.
31648 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31649 * stdlib/tst-tls-atexit.c: New test case.
31650 * stdlib/tst-tls-atexit-lib.c: New test case.
31651
ffaa74cf 31652 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31653
be179c8a
SP
31654 * elf/Versions (ld): Add _dl_find_dso_for_object.
31655 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31656 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31657 (dl_open_worker): Use _dl_find_dso_for_object.
31658 * elf/dl-sym.c (do_sym): Likewise.
31659 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31660
f78b5caa
AK
316612013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31662
31663 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31664 Syntactic changes only.
31665 (_dl_runtime_profile): Do a tail-call to the resolved function.
31666
29691210
JM
316672013-02-17 Joseph Myers <joseph@codesourcery.com>
31668
31669 [BZ #13550]
31670 * sysdeps/x86_64/bp-asm.h: Remove file.
31671 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31672 <bp-sym.h> and <bp-asm.h>.
31673 (__clone): Do not use BP_SYM.
31674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31675 <bp-sym.h> and <bp-asm.h>.
31676 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31677 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31678 "bp-asm.h".
31679 (_setjmp): Do not use BP_SYM.
31680 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31681 "bp-asm.h".
31682 (setjmp): Do not use BP_SYM.
31683 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31684 libc_hidden_def.
31685 (mempcpy): Do not use BP_SYM in weak_alias.
31686 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31687 "bp-asm.h".
31688 (strchr): Do not use BP_SYM.
31689 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31690 "bp-asm.h".
31691 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31692 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31693 (_start): Do not use BP_SYM.
31694 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31695 "bp-asm.h".
31696 (strcat): Do not use BP_SYM.
31697 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31698 "bp-asm.h".
31699 (STRCMP): Do not use BP_SYM.
31700 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31701 "bp-asm.h".
31702 (STRCPY): Do not use BP_SYM.
31703 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31704 "bp-asm.h".
31705 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31706 "bp-asm.h".
31707 (FUNCTION): Do not use BP_SYM.
31708 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31709 weak_alias.
31710 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31711
f238fd19
AJ
317122013-02-17 Andreas Jaeger <aj@suse.de>
31713
31714 * time/Versions: Sort entries.
31715 * string/Versions: Likewise.
31716 * resolv/Versions: Likewise.
31717 * posix/Versions: Likewise.
31718 * iconv/Versions: Likewise.
31719 * elf/Versions: Likewise.
31720 * wcsmbs/Versions: Likewise.
31721
bd07f23c 317222013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31723
22af19f9
SP
31724 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31725 loop termination condition.
31726
4709fe76
SP
31727 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31728 variable to calculate EZ.
31729 (__sqr): Likewise.
2d0e0f29
SP
31730
31731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31732 the lower precision input.
31733
daaa7713
JM
317342013-02-15 Joseph Myers <joseph@codesourcery.com>
31735
31736 [BZ #13550]
31737 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31738 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31739 (run-via-rtld-prefix): Do not handle %-bp tests.
31740 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31741 (all-object-suffixes): Remove .ob.
31742 (bppfx): Remove variable.
31743 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31744 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31745 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31746 [$(build-bounded) = yes] (libtype.ob): Likewise.
31747 * Makerules (elide-routines.ob): Remove variable.
31748 (do-tests-clean): Do not handle *-bp.out.
31749 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31750 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31751 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31752 (tests): Do not include $(tests-bp.out).
31753 (xtests): Do not include $(xtests-bp.out).
31754 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31755 [$(build-bounded) = yes] ($(addprefix
31756 $(objpfx),$(binaries-bounded))): Remove rule.
31757 ($(objpfx)%-bp.out): Remove rule.
31758 * config.make.in (build-bounded): Remove variable.
31759 * crypt/Makefile [$(build-bounded) = yes]
31760 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31761 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31762 append to variable.
31763 [$(build-bounded) = yes] (install-lib): Likewise.
31764 [$(build-bounded) = yes] (generated): Likewise.
31765 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31766 Remove rule.
31767 * intl/Makefile [$(build-bounded) = yes]
31768 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31769 * math/Makefile [$(build-bounded) = yes]
31770 ($(tests:%=$(objpfx)%-bp): Likewise.
31771 * misc/Makefile [$(build-bounded) = yes]
31772 ($(objpfx)tst-tsearch-bp): Likewise.
31773 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31774 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31775 Remove dependency.
31776 * string/Makefile (o-objects.ob): Remove variable.
31777 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31778 (CFLAGS-.ob): Remove variable.
31779 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31780 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31781 both definitions of variable.
31782 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31783 (ASFLAGS-.ob): Remove variable.
31784
e97ed6dd
JM
317852013-02-14 Joseph Myers <joseph@codesourcery.com>
31786
2bdd4ca6
JM
31787 [BZ #13550]
31788 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31789 Remove __BOUNDED_POINTERS__ from condition.
31790 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31791 * string/bits/string2.h [!__NO_STRING_INLINES &&
31792 !__BOUNDED_POINTERS__]: Likewise.
31793 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31794 Likewise.
31795 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31796 Remove conditional code.
31797 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31798 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31799 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31800 condition.
31801
e97ed6dd
JM
31802 [BZ #13550]
31803 * csu/libc-start.c: Do not include <bp-sym.h>.
31804 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31805 * elf/dl-open.c: Do not include <bp-sym.h>.
31806 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31807 * math/fegetenv.c: Do not include <bp-sym.h>.
31808 (fegetenv): Do not use BP_SYM in versioned symbols.
31809 * nptl/sysdeps/pthread/bits/libc-lockP.h
31810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31811 <bp-sym.h>.
31812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31813 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31815 (__pthread_mutex_destroy): Likewise.
31816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31817 (__pthread_mutex_lock): Likewise.
31818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31819 (__pthread_mutex_trylock): Likewise.
31820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31821 (__pthread_mutex_unlock): Likewise.
31822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31823 (__pthread_mutexattr_init): Likewise.
31824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31825 (__pthread_mutexattr_destroy): Likewise.
31826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31827 (__pthread_mutexattr_settype): Likewise.
31828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31829 (__pthread_rwlock_init): Likewise.
31830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31831 (__pthread_rwlock_destroy): Likewise.
31832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31833 (__pthread_rwlock_rdlock): Likewise.
31834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31835 (__pthread_rwlock_tryrdlock): Likewise.
31836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31837 (__pthread_rwlock_wrlock): Likewise.
31838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31839 (__pthread_rwlock_trywrlock): Likewise.
31840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31841 (__pthread_rwlock_unlock): Likewise.
31842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31843 (__pthread_key_create): Likewise.
31844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31845 (__pthread_setspecific): Likewise.
31846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31847 (__pthread_getspecific): Likewise.
31848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31849 Likewise.
31850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31851 (_pthread_cleanup_push_defer): Likewise.
31852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31853 (_pthread_cleanup_pop_restore): Likewise.
31854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31855 (pthread_setcancelstate): Likewise.
31856 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31857 <bp-sym.h>.
31858 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31859 (memchr): Do not use BP_SYM in weak_alias.
31860 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31861 (fegetenv): Do not use BP_SYM in versioned symbols.
31862 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31863 (fesetenv): Do not use BP_SYM in versioned symbols.
31864 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31865 (feupdateenv): Do not use BP_SYM in versioned symbols.
31866 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31867 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31868 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31869 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31870 (open64): Do not use BP_SYM in weak_alias.
31871 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31872 (fegetenv): Do not use BP_SYM in versioned symbols.
31873 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31874 (fesetenv): Do not use BP_SYM in versioned symbols.
31875 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31876 (feupdateenv): Do not use BP_SYM in versioned symbols.
31877 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31878 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31879 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31880 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31881 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31882 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31884 <bp-sym.h>.
31885 (__libc_start_main): Do not use BP_SYM.
31886
d6752ccd
SP
318872013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31888
cb57ce60
SP
31889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31890 redundant return line.
31891 (norm): Likewise.
31892 (denorm): Likewise.
31893 (dbl_mp): Likewise.
31894 (sub_magnitudes): Likewise.
31895 (__add): Likewise.
31896 (__sub): Likewise.
31897 (__mul): Likewise.
31898 (__inv): Likewise.
31899 (__dvd): Likewise.
31900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31901 (norm): Likewise.
31902 (denorm): Likewise.
31903 (dbl_mp): Likewise.
31904 (sub_magnitudes): Likewise.
31905 (__add): Likewise.
31906 (__sub): Likewise.
31907 (__mul): Likewise.
31908 (__inv): Likewise.
31909 (__dvd): Likewise.
31910
f414520d
SP
31911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31912 instead of __mul.
31913 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31914 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31915 (cc32): Likewise.
31916
d6752ccd
SP
31917 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31918 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31920 of __mul for squares.
31921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31922 function
31923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31924 Likewise.
31925 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31927
70d9946a
JM
319282013-02-13 Joseph Myers <joseph@codesourcery.com>
31929
31930 [BZ #13550]
31931 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31932 code.
31933 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31934 prototype or function definition. Rename ubp_* variables and
31935 parameters. Remove argv definitions conditional on
31936 [__BOUNDED_POINTERS__].
31937 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31938 * elf/dl-runtime.c (_dl_fixup): Likewise.
31939 * include/set-hooks.h (RUN_HOOK): Likewise.
31940 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31941 definition.
31942 * string/strcpy.c (strcpy): Do not use __unbounded.
31943 * sysdeps/generic/frame.h (struct layout): Likewise.
31944 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31945 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31946 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31947 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31948 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31949 (__backtrace): Likewise.
31950 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31951 use __ptrvalue.
31952 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31953 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31954 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31955 Likewise.
31956 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31957 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31958 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31959 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31960 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31961 Do not use __unbounded.
31962 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31963 Rename __unboundedrlimits parameter to rlimits in prototype.
31964 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31965 Do not use __unbounded.
31966 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31967 not use __ptrvalue.
31968 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31969 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31970 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31971 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31972 __ptrvalue or __unbounded.
31973 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31974 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31975 use __unbounded.
31976 (__new_msgctl): Do not use __ptrvalue.
31977 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31978 __unbounded.
31979 (__libc_msgrcv): Do not use __ptrvalue.
31980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31981 startup_info): Do not use __unbounded.
31982 (__libc_start_main): Likewise. Rename ubp_* variables and
31983 parameters. Remove argv definitions conditional on
31984 [__BOUNDED_POINTERS__].
31985 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31986 __ptrvalue.
31987 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31988 use __unbounded.
31989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31990 or __ptrvalue.
31991 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31992 use __unbounded.
31993 (__new_shmctl): Do not use __ptrvalue.
31994 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31995 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31996 Likewise.
31997 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31999 (__libc_sigaction): Likewise.
32000 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32002 Likewise.
32003 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32004
cc7834d6
OB
320052013-02-13 Ondřej Bílka <neleai@seznam.cz>
32006
ffb1ec7b 32007 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32008
32009 * string/mempcpy.c: Implement by calling memcpy.
32010
bdf02814
SP
320112013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32012
c2af38aa
SP
32013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32014
4e92d59e
SP
32015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32016 evaluation.
32017
909279a5
SP
32018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32019 values in the mantissa.
32020
bdf02814
SP
32021 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32022 minimize writes to Z.
32023 (sub_magnitudes): Simplify code a bit.
32024
cd525923
RM
320252013-02-12 Roland McGrath <roland@hack.frob.com>
32026
32027 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32028 from the message. The linker prefixes all warnings with that already.
32029
7e2f0d2d
AS
320302013-02-12 Andreas Schwab <schwab@suse.de>
32031
a445af0b
AS
32032 [BZ #15078]
32033 * posix/regexec.c (extend_buffers): Add parameter min_len.
32034 (check_matching): Pass minimum needed length.
32035 (clean_state_log_if_needed): Likewise.
32036 (get_subexp): Likewise.
32037 * posix/Makefile (tests): Add bug-regex34.
32038 (bug-regex34-ENV): Define.
32039 * posix/bug-regex34.c: New file.
32040
7e2f0d2d
AS
32041 [BZ #11561]
32042 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32043 elements compare against the byte sequence of it, not its name.
32044 * posix/Makefile (tests): Add bug-regex35.
32045 (bug-regex35-ENV): Define.
32046 * posix/bug-regex35.c: New file.
32047
a175b684
TV
320482013-02-11 Tom de Vries <tom@codesourcery.com>
32049
32050 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32051 comment.
32052 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32053 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32054 (CHECK_EOL): Add undef.
32055
310998fe 320562013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32057
32058 * bits/stdlib-bsearch.h: New file.
32059 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32060 * stdlib/stdlib.h: Likewise.
41eda41d 32061
8ded91fb
RM
320622013-02-11 Roland McGrath <roland@hack.frob.com>
32063
32064 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32065 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32066 declaration.
32067 * manual/search.texi (Array Search Function): Add missing const in
32068 lfind prototype.
32069 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32070 declaration to use rlim_t.
32071 (Basic Scheduling Functions): Remove erroneous const from
32072 sched_getparam prototype. Remove erroneous * from
32073 sched_get_priority_max and sched_get_priority_min prototypes.
32074 (Resource Usage): Fix summary @comment on vtimes to refer to
32075 sys/vtimes.h rather than vtimes.h.
32076 Add missing *s in vtimes prototype.
32077 (Limits on Resources): Fix ulimit prototype to return long int.
32078 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32079 prototypes to use long int rather than double.
32080 (BSD Random): Fix initstate and setstate to use char *, not void *.
32081 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32082 prototype to make second argument 'struct aiocb64 *const[]'.
32083 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32084 (Status of AIO Operations): Remove erroneous const in aio_return and
32085 aio_return64 prototypes.
32086 (Synchronizing I/O): Fix sync prototype to return void.
32087 * manual/startup.texi (Suboptions): Remove an erroneous const in
32088 getsubopt prototype.
32089 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32090 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32091 use size_t rather than int.
32092 (Scanning All Users): Likewise for getpwent_r.
32093 (Setting Groups): Add missing const to setgroups prototype.
32094 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32095 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32096 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32097 'const void *' rather than 'const char *'.
32098 (Host Address Functions): Likewise for inet_ntop.
32099 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32100 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32101 ssize_t for return value.
32102 (Sending Data): Likewise for send, sendto, sendmsg.
32103 (Socket Option Functions): Add a missing const in setsockopt prototype.
32104 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32105 use wchar_t for the argument.
32106 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32107 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32108 take no arguments.
32109 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32110 double/float/long double for second argument.
32111 Fix return types of significand, significandf, significandl.
32112 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32113 argument in fchmod prototype.
32114 (File Owner): Use uid_t and gid_t in fchown prototype.
32115 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32116 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32117 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32118 use 'const struct dirent **' as argument types to CMP function pointer
32119 argument.
32120 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32121 (File Times): Fix summary magic @comment for struct utimbuf and utime
32122 to refer to utime.h, not time.h.
32123 * manual/string.texi (Argz Functions): Add missing const in
32124 argz_extract and argz_next prototypes.
32125 (Finding Tokens in a String): Likewise for basename.
32126 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32127 (Copying and Concatenation): Fix typo in wmemmove prototype.
32128 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32129 (Signal Stack): Remove erroneous const in sigstack prototype.
32130 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32131 prototype.
32132 (Simple Calendar Time): Likewise for stime.
32133 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32134 prototype.
32135 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32136 say sys/sysctl.h instead.
32137 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32138 and vsyslog prototypes.
32139
fe77fe6d
TV
321402013-02-11 Tom de Vries <tom@codesourcery.com>
32141
32142 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32143 Remove.
32144
3a09b620
RM
321452013-02-11 Roland McGrath <roland@hack.frob.com>
32146
32147 * misc/sys/mman.h: Fix typo in mremap comment.
32148
550a0b89
RM
321492013-02-08 Roland McGrath <roland@hack.frob.com>
32150
32151 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32152 the '\0' terminator.
32153
a2da1673
JM
321542013-02-08 Joseph Myers <joseph@codesourcery.com>
32155
32156 [BZ #13550]
32157 * debug/segfault.c: Don't include <bp-checks.h>.
32158 * sysdeps/generic/bp-checks.h: Remove file.
32159 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32160 (__GETDENTS): Don't use CHECK_N.
32161 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32162 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32163 (__getgroups): Don't use CHECK_N.
32164 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32165 (setgroups): Don't use CHECK_N.
32166 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32167 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32168 (__libc_msgrcv): Don't use CHECK_N.
32169 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32170 (__libc_msgsnd): Don't use CHECK_N.
32171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32172 <bp-checks.h>.
32173 (__libc_pread): Don't use CHECK_N.
32174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32175 include <bp-checks.h>.
32176 (__libc_pread64): Don't use CHECK_N.
32177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32178 include <bp-checks.h>.
32179 (__libc_pwrite): Don't use CHECK_N.
32180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32181 include <bp-checks.h>.
32182 (__libc_pwrite64): Don't use CHECK_N.
32183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32184 <bp-checks.h>.
32185 (__libc_pread): Don't use CHECK_N.
32186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32187 include <bp-checks.h>.
32188 (__libc_pread64): Don't use CHECK_N.
32189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32190 include <bp-checks.h>.
32191 (__libc_pwrite): Don't use CHECK_N.
32192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32193 include <bp-checks.h>.
32194 (__libc_pwrite64): Don't use CHECK_N.
32195 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32196 (do_pread): Don't use CHECK_N.
32197 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32198 (do_pread64): Don't use CHECK_N.
32199 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32200 (do_pwrite): Don't use CHECK_N.
32201 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32202 (do_pwrite64): Don't use CHECK_N.
32203 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32204 (__libc_readv): Don't use CHECK_N.
32205 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32206 (semop): Don't use CHECK_N.
32207 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32208 <bp-checks.h>.
32209 (semtimedop): Don't use CHECK_N.
32210 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32211 (__libc_pread): Don't use CHECK_N.
32212 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32213 <bp-checks.h>.
32214 (__libc_pread64): Don't use CHECK_N.
32215 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32216 <bp-checks.h>.
32217 (__libc_pwrite): Don't use CHECK_N.
32218 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32219 <bp-checks.h>.
32220 (__libc_pwrite64): Don't use CHECK_N.
32221 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32222 <bp-checks.h>.
32223 (__libc_msgrcv): Don't use CHECK_N.
32224 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32225 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32226 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32227 (__libc_writev): Don't use CHECK_N.
32228
b84660a8
RM
322292013-02-08 Roland McGrath <roland@hack.frob.com>
32230
7f3e75f8
RM
32231 * string/strcpy.c: Removed unused variable.
32232
b84660a8
RM
32233 * Makeconfig (+sysdep-includes): Define with := rather than =.
32234 Use an existing include/ subdir of each sysdeps dir before it.
32235
471514d3
CD
322362013-02-08 Carlos O'Donell <carlos@redhat.com>
32237
32238 * nscd/connection.c (register_traced_file): Comment function.
32239 [HAVE_INOTIFY] (union __inev): Define.
32240 [HAVE_INOTIFY] (inotify_check_files): New function.
32241 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32242 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32243 clear_db_cache.
32244 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32245
b2d3c3be
CD
322462013-02-08 Carlos O'Donell <carlos@redhat.com>
32247
32248 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32249 loaded if not already and that a failure is permanent.
32250
b39949d2
CD
322512013-02-08 Carlos O'Donell <carlos@redhat.com>
32252
ddacd1db 32253 [BZ #15006]
b39949d2
CD
32254 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32255 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32256
b2c9eff4
JM
322572013-02-08 Joseph Myers <joseph@codesourcery.com>
32258
f3aae3f3
JM
32259 [BZ #13550]
32260 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32261 (CHECK_1_NULL_OK): Likewise.
32262 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32263 (__fxstat): Do not use CHECK_1.
32264 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32265 <bp-checks.h>.
32266 (___fxstat64): Do not use CHECK_1.
32267 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32268 <bp-checks.h>.
32269 (__fxstatat): Do not use CHECK_1.
32270 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32271 <bp-checks.h>.
32272 (__fxstatat64): Do not use CHECK_1.
32273 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32274 <bp-checks.h>.
32275 (__fxstat): Do not use CHECK_1.
32276 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32277 <bp-checks.h>.
32278 (__fxstatat): Do not use CHECK_1.
32279 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32280 <bp-checks.h>.
32281 (__getresgid): Do not use CHECK_1.
32282 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32283 <bp-checks.h>.
32284 (__getresuid): Do not use CHECK_1.
32285 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32286 <bp-checks.h>.
32287 (__lxstat): Do not use CHECK_1.
32288 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32289 <bp-checks.h>.
32290 (__old_msgctl): Do not use CHECK_1.
32291 (__new_msgctl): Likewise.
32292 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32293 <bp-checks.h>.
32294 (__new_setrlimit): Do not use CHECK_1.
32295 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32296 <bp-checks.h>.
32297 (__old_shmctl): Do not use CHECK_1.
32298 (__new_shmctl): Likewise.
32299 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32300 <bp-checks.h>.
32301 (__xstat): Do not use CHECK_1.
32302 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32303 (__lxstat): Do not use CHECK_1.
32304 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32305 <bp-checks.h>.
32306 (___lxstat64): Do not use CHECK_1.
32307 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32308 (__old_msgctl): Do not use CHECK_1.
32309 (__new_msgctl): Likewise.
32310 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32311 <bp-checks.h>.
32312 (__gettimeofday): Do not use CHECK_1.
32313 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32314 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32315 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32316 <bp-checks.h>.
32317 (__gettimeofday): Do not use CHECK_1.
32318 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32319 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32320 (__new_shmctl): Do not use CHECK_1.
32321 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32322 <bp-checks.h>.
32323 (do_sigtimedwait): Do not use CHECK_1.
32324 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32325 <bp-checks.h>.
32326 (do_sigwaitinfo): Do not use CHECK_1.
32327 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32328 <bp-checks.h>.
32329 (msgctl): Do not use CHECK_1.
32330 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32331 <bp-checks.h>.
32332 (shmctl): Do not use CHECK_1.
32333 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32334 (ustat): Do not use CHECK_1.
32335 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32336 <bp-checks.h>.
32337 (__fxstat): Do not use CHECK_1.
32338 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32339 <bp-checks.h>.
32340 (__fxstatat): Do not use CHECK_1.
32341 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32342 <bp-checks.h>.
32343 (__lxstat): Do not use CHECK_1.
32344 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32345 <bp-checks.h>.
32346 (__xstat): Do not use CHECK_1.
32347 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32348 (__xstat): Do not use CHECK_1.
32349 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32350 (___xstat64): Do not use CHECK_1.
32351
b2c9eff4
JM
32352 [BZ #13550]
32353 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32354 definitions.
32355 (CHECK_BOUNDS_HIGH): Likewise.
32356 * string/strcpy.c: Do not include <bp-checks.h>.
32357 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32358
f1d70dad
RM
323592013-02-07 Roland McGrath <roland@hack.frob.com>
32360
32361 * nscd/nscd-client.h (__nscd_drop_map_ref):
32362 Add __attribute__ ((unused)).
32363 * nis/nss-nisplus.h (niserr2nss): Likewise.
32364
32365 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32366 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32367
32368 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32369 Remove inline keyword.
32370 * include/rounding-mode.h (round_away): Likewise.
32371 * libio/wfileops.c (adjust_wide_data): Likewise.
32372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32373 (__m128i_strloadu_tolower): Likewise.
32374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32375 (__m128i_strloadu_tolower): Likewise.
32376 * time/mktime.c (ydhms_diff): Likewise.
32377 * locale/elem-hash.h (elem_hash): Likewise.
32378 * locale/setlocale.c (setdata): Likewise.
32379 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32380 (re_string_wchar_at): Likewise.
32381 (bitset_not, bitset_merge, bitset_mask): Likewise.
32382 [!(__GNUC__ > 3)] (inline): Remove macro.
32383 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32384 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32385 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32386 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32387 * string/memcmp.c (memcmp_bytes): Likewise.
32388 * locale/programs/locarchive.c (compute_hashval): Likewise.
32389 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32390 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32391 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32392 * nss/getent.c (print_rpc, print_protocols): Likewise.
32393 (print_passwd, print_group, print_aliases): Likewise.
32394 * nis/nss-nisplus.h (niserr2nss): Likewise.
32395 * nscd/connections.c (restart_p): Likewise.
32396 Change return type to bool.
32397
eab55bfb
RM
323982013-02-05 Roland McGrath <roland@hack.frob.com>
32399
7bd642f5
RM
32400 * Makeconfig (all-Depend-files): Add existing
32401 $(sorted-subdirs:=/Depend) files.
32402 (all-subdirs): Remove nss.
32403 * sysdeps/unix/inet/Subdirs: Add it here instead.
32404 * hesiod/Depend: New file.
32405
573c29b2
RM
32406 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32407 instead of calling alloca.
32408
b2e25af0
RM
32409 * io/lseek.c (__lseek): Rename to __libc_lseek.
32410 Define __lseek as an alias.
32411
eab55bfb
RM
32412 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32413
9a0d1941
CD
324142013-02-04 Carlos O'Donell <carlos@redhat.com>
32415
32416 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32417 else clause and remove check for non-standard endianness.
32418
b83bbec4
DM
324192013-02-04 David S. Miller <davem@davemloft.net>
32420
32421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32422
6277fdab
JM
324232013-02-04 Joseph Myers <joseph@codesourcery.com>
32424
32425 [BZ #13550]
32426 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32427 (__ubp_memchr): Remove prototype.
32428 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32429 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32430 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32431 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32432 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32433 Remove alias.
32434 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32435 (__ubp_memchr): Likewise.
32436 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32437 (__ubp_memchr): Likewise.
32438 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32439 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32440 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32441 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32442 CHECK_STRING.
32443 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32444 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32445 (__getcwd): Do not use CHECK_STRING.
32446 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32447 <bp-checks.h>.
32448 (__real_chown): Do not use CHECK_STRING.
32449 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32450 <bp-checks.h>.
32451 (fchownat): Do not use CHECK_STRING.
32452 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32453 CHECK_STRING.
32454 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32455 <bp-checks.h>.
32456 (__lchown): Do not use CHECK_STRING.
32457 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32458 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32459 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32460 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32462 include <bp-checks.h>.
32463 (truncate64): Do not use CHECK_STRING.
32464 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32465 <bp-checks.h>.
32466 (__real_chown): Do not use CHECK_STRING.
32467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32468 <bp-checks.h>.
32469 (__lchown): Do not use CHECK_STRING.
32470 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32471 <bp-checks.h>.
32472 (__chown): Do not use CHECK_STRING.
32473 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32474 <bp-checks.h>.
32475 (truncate64): Do not use CHECK_STRING.
32476 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32477 Likewise.
32478 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32479 (__xmknod): Do not use CHECK_STRING.
32480 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32481 <bp-checks.h>.
32482 (__xmknodat): Do not use CHECK_STRING.
32483 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32484 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32485
903ae060
AS
324862013-02-04 Andreas Schwab <schwab@suse.de>
32487
32488 [BZ #14142]
32489 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32490 * include/netdb.h: Likewise for h_errno.
32491 * elf/tst-stackguard1.c: Include <tls.h>.
32492
542f9466
JK
324932013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32494
32495 * elf/link.h (struct link_map): Extend the l_addr comment.
32496 * include/link.h (struct link_map): Likewise.
32497
e782a927
JM
324982013-02-01 Joseph Myers <joseph@codesourcery.com>
32499
32500 [BZ #13550]
32501 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32502 (BOUNDED_1): Remove macro.
32503 * debug/backtrace.c: Don't include <bp-checks.h>.
32504 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32505 (__backtrace): Likewise.
32506 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32507 <bp-checks.h>.
32508 (__backtrace): Don't use BOUNDED_1.
32509 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32510 <bp-checks.h>.
32511 (__backtrace): Don't use BOUNDED_1.
32512 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32513 (__backtrace): Don't use BOUNDED_1.
32514 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32515 (shmat): Don't use BOUNDED_N.
32516
8cf28c5e
JM
325172013-01-31 Joseph Myers <joseph@codesourcery.com>
32518
3a7ac8a0
JM
32519 [BZ #13550]
32520 * sysdeps/generic/bp-start.h: Remove file.
32521 * csu/libc-start.c: Don't include <bp-start.h>.
32522 (LIBC_START_MAIN): Set up __environ directly instead of using
32523 INIT_ARGV_and_ENVIRON.
32524 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32525 <bp-start.h>.
32526
f3499f95
JM
32527 [BZ #13550]
32528 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32529 definitions.
32530 (CHECK_FCNTL): Likewise.
32531 (CHECK_N_PAGES): Likewise.
32532
32a45bea
JM
32533 [BZ #13550]
32534 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32535 definitions.
32536 (CHECK_SIGSET_NULL_OK): Likewise.
32537 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32538 <bp-checks.h>.
32539 (sigpending): Don't use CHECK_SIGSET.
32540 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32541 <bp-checks.h>.
32542 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32543 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32544 <bp-checks.h>.
32545 (do_sigsuspend): Don't use CHECK_SIGSET.
32546 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32547 use CHECK_SIGSET.
32548 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32549 (do_sigwait): Don't use CHECK_SIGSET.
32550 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32551 use CHECK_SIGSET.
32552 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32553 include <bp-checks.h>.
32554 (sigpending): Don't use CHECK_SIGSET.
32555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32556 include <bp-checks.h>.
32557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32558 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32559 <bp-checks.h>.
32560 (sigpending): Don't use CHECK_SIGSET.
32561 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32562 <bp-checks.h>.
32563 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32564
2e8a5c8c
JM
32565 [BZ #13550]
32566 * sysdeps/generic/bp-semctl.h: Remove file.
32567 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32568 <bp-checks.h> and <bp-semctl.h>.
32569 (__old_semctl): Don't use CHECK_SEMCTL.
32570 (__new_semctl): Likewise.
32571 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32572 and <bp-semctl.h>.
32573 (__old_semctl): Don't use CHECK_SEMCTL.
32574 (__new_semctl): Likewise.
32575 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32576 <bp-checks.h> and <bp-semctl.h>.
32577 (__old_semctl): Don't use CHECK_SEMCTL.
32578 (__new_semctl): Likewise.
32579 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32580 <bp-checks.h> and <bp-semctl.h>.
32581 (semctl): Don't use CHECK_SEMCTL.
32582
c2d54929
JM
32583 [BZ #13550]
32584 * Makerules (elide-bp-thunks): Remove variable.
32585 (elide-routines.oS): Don't use $(elide-bp-thunks).
32586 (elide-routines.os): Likewise.
32587 (elide-routines.o): Likewise.
32588 (elide-routines.op): Likewise.
32589 (elide-routines.og): Likewise.
32590 (objects): Don't use $(bp-thunks).
32591 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32592 include.
32593 (common-generated): Do not add s-proto-bp.d.
32594 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32595 (int): Likewise.
32596 (typ): Likewise.
32597 Do not generate makefile rules for bounded-pointer thunks.
32598 * sysdeps/generic/bp-thunks.h: Remove file.
32599 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32600 * sysdeps/unix/s-proto-bp.S: Likewise.
32601
8cf28c5e
JM
32602 [BZ #15062]
32603 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32604 parts of result separately when argument is not close to line from
32605 -i to i and one part of argument is small.
32606 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32607 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32608 * math/libm-test.inc (cacos_test): Add more tests.
32609 (casin_test): Likewise.
32610 (casinh_test): Likewise.
32611 * sysdeps/i386/fpu/libm-test-ulps: Update.
32612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32613
c4e33b8d
DM
326142013-01-31 David S. Miller <davem@davemloft.net>
32615
32616 * po/de.po: Update from translation team.
32617
3b60b421
MK
326182013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32619
32620 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32621
bb931195
TS
326222013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32623
b5a5da23
TS
32624 * configure.in (_AC_PROG_CC_C89): New definition.
32625 * configure: Regenerate.
32626
bb931195
TS
32627 * configure.in (AC_PROG_CPP): New definition.
32628 * configure: Regenerate.
32629
8c53a12c
JM
326302013-01-23 Joseph Myers <joseph@codesourcery.com>
32631
32632 * debug/tst-backtrace.h: New file.
32633 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32634 (ret): Remove variable.
32635 (x): Likewise.
32636 (FAIL): Remove macro.
32637 (NO_INLINE): Likewise.
32638 (fn1): Use match function instead of strstr.
32639 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32640 (ret): Remove variable.
32641 (x): Likewise.
32642 (FAIL): Remove macro.
32643 (NO_INLINE): Likewise.
32644 (fn): Use match function instead of strstr.
32645 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32646 (ret): Remove variable.
32647 (x): Likewise.
32648 (FAIL): Remove macro.
32649 (NO_INLINE): Likewise.
32650 (handle_signal): Use match function instead of strstr.
32651 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32652 (ret): Remove variable.
32653 (x): Likewise.
32654 (FAIL): Remove macro.
32655 (NO_INLINE): Likewise.
32656 (handle_signal): Use match function instead of strstr.
32657
4858fa2a
RM
326582013-01-23 Roland McGrath <roland@hack.frob.com>
32659
32660 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32661
bae8e7f5
DM
326622013-01-23 David S. Miller <davem@davemloft.net>
32663
32664 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32665 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32666 argument of CAS if possible.
32667 * sysdeps/sparc/sparc64/bits/atomic.h
32668 (__arch_compare_and_exchange_val_32_acq): Likewise.
32669 (__arch_compare_and_exchange_val_64_acq): Likewise.
32670
9cbbc4ae
PT
326712013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32672
32673 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32674 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32675 Include <limits.h>.
67b3f58c 32676 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32677
5655a0b5
AC
326782013-01-23 Adam Conrad <adconrad@0c3.net>
32679
32680 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32681 (LDFLAGS-tst-array5): Likewise.
32682
052aff95
JM
326832013-01-23 Joseph Myers <joseph@codesourcery.com>
32684
32685 [BZ #15036]
32686 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32687 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32688 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32689 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32690
7c1e01aa
DM
326912013-01-21 David S. Miller <davem@davemloft.net>
32692
32693 * sysdeps/sparc/backtrace.c: New file.
32694 * sysdeps/sparc/sparc32/backtrace.h: New file.
32695 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32696 * sysdeps/sparc/sparc64/backtrace.h: New file.
32697 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32698 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32699 -funwind-tables.
32700
ab087e0a
AS
327012013-01-21 Andreas Schwab <schwab@suse.de>
32702
32703 [BZ #15020]
32704 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32705 closed its stdout.
32706
ed689c2f
AS
327072013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32708
32709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32710 "mpa2.h".
32711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32712
31d470ac
JM
327132013-01-18 Joseph Myers <joseph@codesourcery.com>
32714 Mark Mitchell <mark@codesourcery.com>
32715 Tom de Vries <tom@codesourcery.com>
32716 Paul Pluzhnikov <ppluzhnikov@google.com>
32717
32718 * debug/tst-backtrace2.c: New file.
32719 * debug/tst-backtrace3.c: Likewise.
32720 * debug/tst-backtrace4.c: Likewise.
32721 * debug/tst-backtrace5.c: Likewise.
32722 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32723 (CFLAGS-tst-backtrace3.c): Likewise.
32724 (CFLAGS-tst-backtrace4.c): Likewise.
32725 (CFLAGS-tst-backtrace5.c): Likewise.
32726 (LDFLAGS-tst-backtrace2): Likewise.
32727 (LDFLAGS-tst-backtrace3): Likewise.
32728 (LDFLAGS-tst-backtrace4): Likewise.
32729 (LDFLAGS-tst-backtrace5): Likewise.
32730 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32731 tst-backtrace4 and tst-backtrace5.
32732
90567f30 327332013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32734 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32735
32736 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32737 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32738 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32739 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32741 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32742 "+r" and remove output regs list as redundant. Add explicit inline
32743 asm to specify register of return val to work around compiler codegen
32744 bug. Remove (int) cast on return value. Add return type parameter to
32745 use in macro so that this macro does not truncate return value for
32746 64-bit values.
32747 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32748 pass to INTERNAL_VSYSCALL_NCS.
32749 (INLINE_VSYSCALL): Add 'long int' as return type to
32750 INTERNAL_VSYSCALL_NCS macro invocation.
32751 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32752 INTERNAL_VSYSCALL_NCS macro invocation.
32753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32754
d3b9ea61
SP
327552013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32756
0b57daeb
SP
32757 [BZ #14496]
32758 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32759 Fix application of SIMD FP exception mask.
32760
caa99d06
SP
32761 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32762 mp_no from a power of two.
32763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32764 __mpexp_twomm1. Use __pow_mp.
32765
d3b9ea61
SP
32766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32767 multiplication.
32768
1dbaee3c
DM
327692013-01-17 David S. Miller <davem@davemloft.net>
32770
32771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32772
728d7b43
JM
327732013-01-17 Joseph Myers <joseph@codesourcery.com>
32774
32775 [BZ #15023]
32776 * include/complex.h: Condition contents on [!_COMPLEX_H].
32777 (__kernel_casinhf): New prototype.
32778 (__kernel_casinh): Likewise.
32779 (__kernel_casinhl): Likewise.
32780 * math/Makefile (libm_calls): Add k_casinh.
32781 * math/k_casinh.c: New file.
32782 * math/k_casinhf.c: Likewise.
32783 * math/k_casinhl.c: Likewise.
32784 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32785 finite nonzero arguments.
32786 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32787 finite nonzero arguments.
32788 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32789 finite nonzero arguments.
32790 * math/s_casinh.c: Do not include <float.h>.
32791 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32792 * math/s_casinhf.c: Do not include <float.h>.
32793 (__casinhf): Move code for finite nonzero arguments to
32794 k_casinhf.c.
32795 * math/s_casinhl.c: Do not include <float.h>.
32796 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32797 redefine.
32798 (__casinhl): Move code for finite nonzero arguments to
32799 k_casinhl.c.
32800 * math/libm-test.inc (cacos_test): Add more tests.
32801 * sysdeps/i386/fpu/libm-test-ulps: Update.
32802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32803
2a26ef3a
PT
328042013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32805
32806 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32807 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32808 [!HAVE_MREMAP]: Remove [defined linux] case.
32809 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32810
a897655d
SP
328112013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32812
32813 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32814
881ebe89 328152013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32816
32817 * elf/elf.h (R_386_SIZE32): New relocation.
32818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32819 R_386_SIZE32.
32820 (elf_machine_rela): Likewise.
32821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32822 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32823
59981e9b
JM
328242013-01-17 Joseph Myers <joseph@codesourcery.com>
32825
32826 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32827 (FP_FAST_FMA): Do not define.
32828 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32829 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32830 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32831 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32832 !_SOFT_FLOAT]: Likewise.
32833 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32835 value.
32836 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32837 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32838 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32839 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32840 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32841 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32842 file.
32843
cfa8054f
AS
328442013-01-16 Andreas Schwab <schwab@suse.de>
32845
32846 [BZ #14327]
32847 * include/stdlib.h (__mktemp): Add declaration.
32848 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32849 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32850
dd930cc5
SP
328512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32852
881ebe89
SP
32853 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32854 definitions.
32855 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32856 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32857 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32858 definitions here.
32859 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32860 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32861 definitions.
32862 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32863 and ONE.
32864 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32865 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32866 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32867 definitions.
32868 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32869 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32870 definitions.
32871 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32872
dd930cc5
SP
32873 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32874
c19a9f89
DM
328752013-01-15 David S. Miller <davem@davemloft.net>
32876
1aa61767
DM
32877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32878 trunc{,f} to libm-sysdep_routes.
32879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32881 file.
32882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32884 file.
32885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32886 file.
32887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32889 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32890 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32891 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32892 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32893 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32894 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32895
c42d5e98
DM
32896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32897 nearbyint{,f} to libm-sysdep_routes.
32898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32900 New file.
32901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32902 file.
32903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32904 New file.
32905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32906 file.
32907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32910 file.
32911 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32913 file.
32914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32915 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32916 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32917
c19a9f89
DM
32918 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32919 libc_feholdexcept and libc_fesetenv.
32920
357679d2
MF
329212013-01-15 Mike Frysinger <vapier@gentoo.org>
32922
32923 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32924
65a82e3d
DM
329252013-01-14 David S. Miller <davem@davemloft.net>
32926
8b954ab9
DM
32927 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32928 (SPARC_ASM_VIS2_IFUNC): Likewise.
32929 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32931 use of 'siam' instruction.
32932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32933 Likewise.
32934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32935 Likewise.
32936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32937 Likewise.
32938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32943 file.
32944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32945 file.
32946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32947 file.
32948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32949 file.
32950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32955 new VIS2 routines.
32956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32959 Likewise.
32960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32965 routines to libm-sysdep_routines.
32966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32967
65a82e3d
DM
32968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32969 fdim/fdimf to libm-sysdep_routines.
32970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32971 file.
32972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32974 file.
32975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32978 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32979 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32980 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32981 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32982
e34ab705
SP
329832013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32984
2a91b573
SP
32985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32986 to optimize copies.
32987
1066a534
SP
32988 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32991
e34ab705
SP
32992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32993 local variable MPTWO.
32994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32995 Likewise.
32996
aba5e596
MF
329972013-01-13 Mike Frysinger <vapier@gentoo.org>
32998
32999 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33000 GLOB_NOESCAPE.
33001
e557e9e5
MF
330022013-01-13 Mike Frysinger <vapier@gentoo.org>
33003
33004 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33005
0428cec9
MF
330062013-01-13 Mike Frysinger <vapier@gentoo.org>
33007
33008 * manual/pattern.texi (glob_t): Document gl_flags.
33009 (glob64_t): Likewise.
33010
8794a964
DM
330112013-01-11 David S. Miller <davem@davemloft.net>
33012
66438c3f
RM
33013 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33014 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33015 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33016 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33017 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33018 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33019 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33020 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33021 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33022 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33023 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33024 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33025 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33026
4ae4244d
DM
33027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33028 sparc V9 rather than using V8 code.
33029 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33030 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33031
8794a964
DM
33032 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33033 Move to...
33034 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33035 Here.
33036
6270516e
RM
330372013-01-11 Roland McGrath <roland@hack.frob.com>
33038
33039 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33040 not in the main loop.
33041 * configure: Regenerated.
33042
6a57d931
JM
330432013-01-11 Joseph Myers <joseph@codesourcery.com>
33044
33045 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33046 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33047 to just #else.
33048 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33049 [!__GLIBC_HAVE_LONG_LONG] case.
33050 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33051 condition to just #else.
33052 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33053 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33054 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33055 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33056 unconditional.
33057 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33058 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33059 #elif condition to just #else.
33060 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33061 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33062 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33063 #elif condition to just #else.
33064
0e8529e9
SE
330652013-01-11 Steve Ellcey <sellcey@mips.com>
33066
33067 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33068 (EF_MIPS_ARCH_64): Fix value.
33069 (EF_MIPS_ARCH_32R2): New.
33070 (EF_MIPS_ARCH_64R2): New.
33071
740b3dbe
L
330722013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33073
33074 * Makeconfig (+link-pie-before-libc): New.
33075 (+link-pie-after-libc): Likewise.
33076 (+link-pie-tests): Likewise.
33077 (+link-pie): Rewritten.
33078 (link-before-libc): Remove $(config-LDFLAGS).
33079 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33080 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33081 (config-LDFLAGS): Renamed to ...
33082 (rtld-LDFLAGS): This.
33083 (rtld-tests-LDFLAGS): New macro.
33084 (link-libc-rpath-link): Likewise.
33085 (link-libc-tests-rpath-link): Likewise.
33086 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33087 (link-libc): Prepand $(link-libc-rpath-link).
33088 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33089 (test-program-prefix): New macro.
33090 (test-via-rtld-prefix): Likewise.
33091 (test-program-cmd): Likewise.
33092 (host-test-program-cmd): Likewise.
33093 * Makefile ($(common-objpfx)testrun.sh): Replace
33094 $(run-program-prefix) with $(test-program-prefix).
33095 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33096 $(rtld-LDFLAGS).
33097 ($(common-objpfx)shlib.lds): Likewise.
33098 (build-module-helper): Likewise.
33099 ($(common-objpfx)format.lds): Likewise.
33100 * Rules (binaries-pie-tests): New.
33101 (binaries-pie-notests): Likewise.
33102 (binaries-pie): Rewritten.
33103 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33104 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33105 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33106 (make-test-out): Replace $(host-built-program-cmd) with
33107 $(host-test-program-cmd).
33108 * config.make.in (build-hardcoded-path-in-tests): New variable.
33109 * configure.in (--enable-hardcoded-path-in-tests): New configure
33110 option.
33111 (hardcoded_path_in_tests): New AC_SUBST.
33112 * configure: Regenerated.
33113 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33114 $(built-program-cmd) with $(test-program-cmd).
33115 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33116 (test_program_cmd): This.
33117 * elf/Makefile ($(objpfx)order.out): Run test with
33118 $(test-program-prefix).
33119 ($(objpfx)order2.out): Likewise.
33120 ($(objpfx)tst-initorder.out): Likewise.
33121 ($(objpfx)tst-initorder2.out): Likewise.
33122 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33123 $(test-program-cmd).
33124 ($(objpfx)tst-array1-static.out): Likewise.
33125 ($(objpfx)tst-array2.out): Likewise.
33126 ($(objpfx)tst-array3.out): Likewise.
33127 ($(objpfx)tst-array4.out): Likewise.
33128 ($(objpfx)tst-array5.out): Likewise.
33129 ($(objpfx)tst-array5-static.out): Likewise.
33130 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33131 $(test-program-cmd).
33132 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33133 $(run-program-prefix) with $(test-program-prefix).
33134 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33135 (test_program_prefix): This.
33136 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33137 $(run-program-prefix) with $(test-program-prefix).
33138 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33139 (test_program_prefix): This.
33140 * iconvdata/tst-tables.sh: Likewise.
33141 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33142 $(run-program-prefix) with $(test-program-prefix).
33143 ($(objpfx)tst-translit.out): Likewise.
33144 ($(objpfx)tst-gettext2.out): Likewise.
33145 ($(objpfx)tst-gettext4.out): Likewise.
33146 ($(objpfx)tst-gettext6.out): Likewise.
33147 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33148 (test_program_prefix): This.
33149 * intl/tst-gettext2.sh: Likewise.
33150 * intl/tst-gettext4.sh Likewise.
33151 * intl/tst-gettext6.sh: Likewise.
33152 * intl/tst-translit.sh: Likewise.
33153 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33154 with $(test-program-cmd).
33155 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33156 $(run-program-prefix) with $(test-program-prefix).
33157 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33158 (test_program_prefix): This.
33159 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33160 $(run-program-prefix) with $(test-program-prefix).
33161 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33162 (test_program_prefix): This.
33163 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33164 * posix/Makefile ($(objpfx)globtest.out): Replace
33165 $(run-via-rtld-prefix) and $(test-wrapper) with
33166 $(test-program-prefix) and $(test-via-rtld-prefix).
33167 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33168 $(test-program-prefix).
33169 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33170 $(host-test-program-cmd).
33171 (tst-spawn-ARGS): Likewise.
33172 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33173 $(test-program-prefix).
33174 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33175 (test_via_rtld_prefix): This.
33176 (test_wrapper): Renamed to ...
33177 (test_program_prefix): This.
33178 (run_program_prefix): Replaced by test_program_prefix.
33179 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33180 (test_program_prefix): This.
33181 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33182 with $(host-test-program-cmd).
33183 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33184 $(run-program-prefix) with $(test-program-prefix).
33185 ($(objpfx)tst-printf.out): Likewise.
33186 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33187 $(test-program-cmd).
33188 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33189 (test_program_prefix): This.
33190 * stdio-common/tst-unbputc.sh: Likewise.
33191 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33192 $(run-program-prefix) with $(test-program-prefix).
33193 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33194 (test_program_prefix): This.
33195 * string/Makefile ($(objpfx)tst-svc.out): Replace
33196 $(built-program-cmd) with $(test-program-cmd).
33197
c6fe55cf
AJ
331982013-01-11 Andreas Jaeger <aj@suse.de>
33199
33200 [BZ #15003]
33201 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33202 value. Sync with Linux 3.7.
33203
9e6919c8
DM
332042013-01-10 David S. Miller <davem@davemloft.net>
33205
33206 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33209
1c9f1a02
RM
332102013-01-10 Roland McGrath <roland@hack.frob.com>
33211
33212 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33213 never set.
33214 * configure: Regenerated.
33215
b9de2dde
DM
332162013-01-10 David S. Miller <davem@davemloft.net>
33217
33218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33219 sparc V9 rather than using V8 code.
33220 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33221 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33222
e7f68ef4
RM
332232013-01-10 Roland McGrath <roland@hack.frob.com>
33224
33225 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33226 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33227 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33228 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33229 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33230 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33231 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33232 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33233 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33234 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33235 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33236 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33237 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33238 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33239 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33240 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33241 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33242 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33243 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33244 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33245 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33246 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33247 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33248 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33249 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33250 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33251 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33252
5a47cc9c
DM
332532013-01-10 David S. Miller <davem@davemloft.net>
33254
33255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33256
4cf8f209
L
332572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33258
33259 * posix/Makefile (tests-static): New variable.
33260 (tests): Add $(tests-static).
33261 (tst-exec-static-ARGS): New variable.
33262 (tst-spawn-static-ARGS): Likewise.
33263 * posix/tst-exec-static.c: New file.
33264 * posix/tst-spawn-static.c: Likewise.
33265 * posix/tst-exec.c: Support run directly.
33266 * posix/tst-spawn.c: Likewise.
33267
fed0faa1
JM
332682013-01-10 Joseph Myers <joseph@codesourcery.com>
33269
828beb13
JM
33270 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33271 long.
33272 * math/bits/mathcalls.h (llrint): Likewise.
33273 (llround): Likewise.
33274 * stdlib/stdlib.h (struct drand48_data): Likewise.
33275 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33276 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33277 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33278 Likewise.
33279 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33280 Likewise.
33281 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33282 (elf_greg_t): Likewise.
33283 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33284 (__jmp_buf): Likewise.
33285 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33286 definitions.
33287 (llrint): Likewise, for all definitions.
33288 (llrintl): Likewise.
33289
fed0faa1
JM
33290 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33291 Remove [__GNUC__] condition.
33292 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33293 condition to just [__USE_ISOC99].
33294 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33295
1a20cb20
L
332962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33297
33298 [BZ #14200]
33299 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33300 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33301 defined.
33302 (_POSIX_V6_ILP32_OFF32): Likewise.
33303 (_XBS5_ILP32_OFF32): Likewise.
33304 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33305 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33306
751b85f7
SP
333072013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33308
7490eb81
SP
33309 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33310
751b85f7
SP
33311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33312 doubles __mpexp_twomm1. Adjust usage.
33313 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33314 Remove.
33315
988197f0
AS
333162013-01-10 Andreas Schwab <schwab@suse.de>
33317
33318 [BZ #14964]
33319 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33320 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33321
e83d7298
DM
333222013-01-09 David S. Miller <davem@davemloft.net>
33323
034ed64b 33324 [BZ #15003]
57f41c40
AS
33325 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33326 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33327 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33328 (TCP_FASTOPEN): Define.
e83d7298
DM
33329 (tcp_repair_opt): New structure.
33330 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33331 enum values.
57f41c40
AS
33332 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33333 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33334 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33335 (tcp_cookie_transactions): New structure.
33336
d5e0b9bd
AB
333372013-01-09 Anton Blanchard <anton@samba.org>
33338
33339 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33340 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33342 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33343
0c07e3ea
JM
333442013-01-09 Joseph Myers <joseph@codesourcery.com>
33345
33346 * include/features.h (__USE_ANSI): Remove.
33347
232f7002
RM
333482013-01-09 Roland McGrath <roland@hack.frob.com>
33349
ad98e30c
RM
33350 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33351
232f7002
RM
33352 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33353
950c99ca
SP
333542013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33355
b5792741
SP
33356 * sysdeps/s390/fpu/libm-test-ulps: Update.
33357
47cf2278
SP
33358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33359
950c99ca
SP
33360 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33361 (__acr): Likewise.
33362 (__cpy): Likewise.
33363 (norm): Likewise.
33364 (denorm): Likewise.
33365 (__mp_dbl): Likewise.
33366 (__dbl_mp): Likewise.
33367 (add_magnitudes): Likewise.
33368 (sub_magnitudes): Likewise.
33369 (__add): Likewise.
33370 (__sub): Likewise.
33371 (__mul): Likewise.
33372 (__inv): Likewise.
33373 (__dvd): Likewise.
33374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33375 (__acr): Likewise.
33376 (__cpy): Likewise.
33377 (norm): Likewise.
33378 (denorm): Likewise.
33379 (__mp_dbl): Likewise.
33380 (__dbl_mp): Likewise.
33381 (add_magnitudes): Likewise.
33382 (sub_magnitudes): Likewise.
33383 (__add): Likewise.
33384 (__sub): Likewise.
33385 (__mul): Likewise.
33386 (__inv): Likewise.
33387 (__dvd): Likewise.
33388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33389 (__acr): Likewise.
33390 (__cpy): Likewise.
33391 (norm): Likewise.
33392 (denorm): Likewise.
33393 (__mp_dbl): Likewise.
33394 (__dbl_mp): Likewise.
33395 (add_magnitudes): Likewise.
33396 (sub_magnitudes): Likewise.
33397 (__add): Likewise.
33398 (__sub): Likewise.
33399 (__mul): Likewise.
33400 (__inv): Likewise.
33401 (__dvd): Likewise.
33402
eede9df9
JM
334032013-01-08 Joseph Myers <joseph@codesourcery.com>
33404
33405 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33406 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33407 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33408 2 && __USE_EXTERN_INLINES]: Likewise.
33409
c40ea3d9
AJ
334102013-01-08 Andreas Jaeger <aj@suse.de>
33411
33412 [BZ# 14985]
33413 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33414 Remove.
33415 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33416 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33417
2ccdea26
AB
334182013-01-07 Anton Blanchard <anton@samba.org>
33419
33420 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33421 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33422 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33423 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33424 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33425 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33426 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33427 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33430 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33431 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33433 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33437 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33438 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33439 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33440 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33441 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33443 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33444 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33445 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33446 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33447 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33449 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33450 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33452 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33453 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33454 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33456 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33458 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33460 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33461 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33462 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33463
a9708fed
JM
334642013-01-07 Joseph Myers <joseph@codesourcery.com>
33465
375607b9
JM
33466 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33467 (__MALLOC_PMT): Likewise.
33468 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33469 [__GNUC__], only on [_LIBC].
33470 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33471 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33472 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33473 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33474 forward declaration.
33475 (realloc_hook_ini): Likewise.
33476 (memalign_hook_ini): Likewise.
33477 (__libc_memalign): Do not use __MALLOC_PMT in variable
33478 declaration.
33479 (__libc_valloc): Likewise.
33480 (__libc_pvalloc): Likewise.
33481 (__libc_calloc): Likewise.
33482 (__posix_memalign): Likewise.
33483
a9708fed
JM
33484 [BZ #14996]
33485 * math/s_casinh.c: Include <float.h>.
33486 (__casinh): Do not do computation with squaring and square root
33487 for large arguments.
33488 * math/s_casinhf.c: Include <float.h>.
33489 (__casinhf): Do not do computation with squaring and square root
33490 for large arguments.
33491 * math/s_casinhl.c: Include <float.h>.
33492 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33493 (__casinhl): Do not do computation with squaring and square root
33494 for large arguments.
33495 * math/libm-test.inc (casin_test): Add more tests.
33496 (casinh_test): Likewise.
33497 * sysdeps/i386/fpu/libm-test-ulps: Update.
33498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33499
afec409a
L
335002013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33501
33502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33503 (__x86_64_raw_data_cache_size): Likewise.
33504 (__x86_64_data_cache_size_half): Likewise.
33505 (__x86_64_raw_data_cache_size_half): Likewise.
33506 (__x86_64_shared_cache_size): Likewise.
33507 (__x86_64_raw_shared_cache_size): Likewise.
33508 (__x86_64_shared_cache_size_half): Likewise.
33509 (__x86_64_raw_shared_cache_size_half): Likewise.
33510 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33511 to ...
33512 (__x86_data_cache_size): This.
33513 (__x86_64_raw_data_cache_size): Renamed to ...
33514 (__x86_raw_data_cache_size): This.
33515 (__x86_64_data_cache_size_half): Renamed to ...
33516 (__x86_data_cache_size_half): This.
33517 (__x86_64_raw_data_cache_size_half): Renamed to ...
33518 (__x86_raw_data_cache_size_half): This.
33519 (__x86_64_shared_cache_size): Renamed to ...
33520 (__x86_shared_cache_size): This.
33521 (__x86_64_raw_shared_cache_size): Renamed to ...
33522 (__x86_raw_shared_cache_size): This.
33523 (__x86_64_shared_cache_size_half): Renamed to ...
33524 (__x86_shared_cache_size_half): This.
33525 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33526 (__x86_raw_shared_cache_size_half): This.
33527 * sysdeps/x86_64/memcpy.S: Updated.
33528 * sysdeps/x86_64/memset.S: Likewise.
33529 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33532
0b3986d0
DM
335332013-01-04 David S. Miller <davem@davemloft.net>
33534
33535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33536
e47686e9
AS
335372013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33538
d643bac1
AS
33539 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33540 1 to avoid redefinition warning.
33541 (__USE_GNU): Don't define.
33542 (init_signaling_nan): Protoize.
33543
e47686e9
AS
33544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33545
b18decba
SP
335462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33547
fffb407f
SP
33548 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33550 (__cpymn): Likewise.
33551 (norm): Remove commented code.
33552 (denorm): Likewise.
33553 (__mp_dbl): Likewise.
33554 (__inv): Likewise.
33555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33556 (__cpymn): Likewise.
33557 (norm): Remove commented code.
33558 (denorm): Likewise.
33559 (__mp_dbl): Likewise.
33560 (__inv): Likewise.
33561
b18decba
SP
33562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33563 mp_no value for 1.0 and 2.0.
33564 (norm): Use RADIXI instead of radixi.d.
33565 (denorm): Likewise.
33566 (__mul): Use 0.0 instead of zero.d.
33567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33568 mp_no value for 1.0 and 2.0.
33569 (norm): Use RADIXI instead of radixi.d.
33570 (denorm): Likewise.
33571 (__mul): Use 0.0 instead of zero.d.
33572
cdc1c96f
JM
335732013-01-04 Joseph Myers <joseph@codesourcery.com>
33574
33575 [BZ #14994]
33576 * math/s_casinh.c (__casinh): Reduce finite argument to first
33577 quadrant then set signs of results at the end.
33578 * math/s_casinhf.c (__casinhf): Likewise.
33579 * math/s_casinhl.c (__casinhl): Likewise.
33580 * math/libm-test.inc (casin_test): Add more tests.
33581 (casinh_test): Likewise.
33582 * sysdeps/i386/fpu/libm-test-ulps: Update.
33583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33584
302913e1
SP
335852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33586
6420d207
SP
33587 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33588
a9e48ab4
SP
33589 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33590
b7837264
SP
33591 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33592 declarations.
33593 (denorm): Likewise.
33594 (__mp_dbl): Likewise.
33595 (__inv): Likewise.
33596
f8af25d2
SP
33597 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33598 and adjust the header comment.
33599
302913e1
SP
33600 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33601 variable name from declaration.
33602
5d7dd1ca
L
336032013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33604
33605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33606 Initialize COMMON_CPUID_INDEX_7 element.
33607 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33608 (CPUID_RTM): Likewise.
33609 (HAS_RTM): Likewise.
33610 (COMMON_CPUID_INDEX_7): New enum.
33611
2f5f40f4
AS
336122013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33613
33614 [BZ #14981]
33615 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33616 size is zero, record memory as freed.
33617
4056f4a0
AJ
336182013-01-03 Andreas Jaeger <aj@suse.de>
33619
33620 * po/ia.po: Add new Interlingua translation.
33621
ab15736f 336222012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33623
33624 * locale/programs/localedef.c: Fix description of '--posix' flag.
33625
568035b7
JM
336262013-01-02 Joseph Myers <joseph@codesourcery.com>
33627
e6898b8d
JM
33628 * NEWS: Update dates in second copyright notice.
33629 * README: Update copyright dates in example.
33630 * manual/libc.texinfo: Update copyright dates.
33631 * scripts/test-installation.pl: Update copyright date in --version
33632 output.
33633
0e2f9562
JM
33634 * hurd/ctty-input.c: Fix copyright notice formatting.
33635 * hurd/ctty-output.c: Likewise.
33636 * hurd/dtable.c: Likewise.
33637 * hurd/hurd-raise.c: Likewise.
33638 * hurd/hurdprio.c: Likewise.
33639 * hurd/msgportdemux.c: Likewise.
33640 * misc/sys/file.h: Likewise.
33641 * misc/sys/ioctl.h: Likewise.
33642 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33643 * sysdeps/mach/hurd/chdir.c: Likewise.
33644 * sysdeps/mach/hurd/fchdir.c: Likewise.
33645 * sysdeps/mach/hurd/rename.c: Likewise.
33646 * sysdeps/mach/hurd/rmdir.c: Likewise.
33647 * sysdeps/mach/hurd/seekdir.c: Likewise.
33648 * sysdeps/mach/hurd/setsid.c: Likewise.
33649 * sysdeps/posix/wait3.c: Likewise.
33650
568035b7
JM
33651 * All files with FSF copyright notices: Update copyright dates
33652 using scripts/update-copyrights.
33653 * intl/plural.c: Regenerated.
33654 * locale/programs/charmap-kw.h: Likewise.
33655 * locale/programs/locfile-kw.h: Likewise.
33656
da08f647
SP
336572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33658
0f5477af
SP
33659 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33660 four values.
33661
44e0d4c2
SP
33662 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33663 calculation loop and add branch prediction.
33664
4d55b4e5
SP
33665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33666 check access beyond bounds of m1np.
33667
da08f647
SP
33668 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33669 MPTWO.
33670 (__inv): Remove local variable MPTWO to use the global
33671 constant.
33672 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33674 variable MPTWO.
33675 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33676 MP3HALFS static const.
33677
8e051029
DM
336782013-01-01 David S. Miller <davem@davemloft.net>
33679
33680 * po/ca.po: Update from translation team.
33681
f4cf5f2d
JM
336822013-01-01 Joseph Myers <joseph@codesourcery.com>
33683
33684 * scripts/update-copyrights: New file.
33685 * Makeconfig: Reformat copyright notice.
33686 * ctype/ctype.h: Likewise.
33687 * debug/swprintf_chk.c: Likewise.
33688 * elf/dl-cache.c: Likewise.
33689 * elf/dl-debug.c: Likewise.
33690 * elf/dl-object.c: Likewise.
33691 * grp/initgroups.c: Likewise.
33692 * hurd/Makefile: Likewise.
33693 * hurd/hurd/signal.h: Likewise.
33694 * hurd/hurdfault.c: Likewise.
33695 * hurd/hurdioctl.c: Likewise.
33696 * hurd/hurdlookup.c: Likewise.
33697 * hurd/intr-msg.c: Likewise.
33698 * iconv/gconv_open.c: Likewise.
33699 * libio/swprintf.c: Likewise.
33700 * locale/lc-ctype.c: Likewise.
33701 * locale/nl_langinfo.c: Likewise.
33702 * mach/Machrules: Likewise.
33703 * mach/Makefile: Likewise.
33704 * malloc/obstack.h: Likewise.
33705 * manual/Makefile: Likewise.
33706 * manual/tsort.awk: Likewise.
33707 * misc/bits/stab.def: Likewise.
33708 * nis/nis_print_group_entry.c: Likewise.
33709 * nis/nis_table.c: Likewise.
33710 * nis/nss_compat/compat-pwd.c: Likewise.
33711 * nis/nss_compat/compat-spwd.c: Likewise.
33712 * po/Makefile: Likewise.
33713 * posix/fnmatch.c: Likewise.
33714 * posix/regex.h: Likewise.
33715 * resolv/Makefile: Likewise.
33716 * resolv/nss_dns/dns-network.c: Likewise.
33717 * resolv/res_hconf.c: Likewise.
33718 * scripts/gen-sorted.awk: Likewise.
33719 * soft-fp/soft-fp.h: Likewise.
33720 * stdio-common/printf.h: Likewise.
33721 * stdlib/monetary.h: Likewise.
33722 * stdlib/random.c: Likewise.
33723 * stdlib/random_r.c: Likewise.
33724 * sysdeps/generic/Makefile: Likewise.
33725 * sysdeps/gnu/Makefile: Likewise.
33726 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33754 * sysdeps/mach/hurd/errnos.awk: Likewise.
33755 * sysdeps/mach/hurd/fork.c: Likewise.
33756 * sysdeps/mach/hurd/getcwd.c: Likewise.
33757 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33758 * sysdeps/mach/hurd/mmap.c: Likewise.
33759 * sysdeps/mach/hurd/utimes.c: Likewise.
33760 * sysdeps/mach/hurd/xmknod.c: Likewise.
33761 * sysdeps/posix/profil.c: Likewise.
33762 * sysdeps/posix/readdir_r.c: Likewise.
33763 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33764 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33765 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33766 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33768 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33769 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33770 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33772 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33773 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33774 * sysdeps/pthread/lio_listio.c: Likewise.
33775 * sysdeps/sparc/dl-procinfo.h: Likewise.
33776 * sysdeps/unix/i386/sysdep.S: Likewise.
33777 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33778 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33779 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33780 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33782 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33783 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33784 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33785 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33786 * sysdeps/wordsize-32/divdi3.c: Likewise.
33787 * time/sys/time.h: Likewise.
33788 * wcsmbs/Makefile: Likewise.
33789
0549fbba
DM
337902013-01-01 David S. Miller <davem@davemloft.net>
33791
a141f1a7
DM
33792 * po/fr.po: Update from translation team.
33793
0549fbba
DM
33794 * catgets/gencat.c: Update copyright year.
33795 * csu/version.c: Likewise.
33796 * debug/catchsegv.sh: Likewise.
33797 * debug/pcprofiledump.c: Likewise.
33798 * debug/xtrace.sh: Likewise.
33799 * elf/ldconfig.c: Likewise.
33800 * elf/ldd.bash.in: Likewise.
33801 * elf/pldd.c: Likewise.
33802 * elf/sotruss.ksh: Likewise.
33803 * elf/sprof.c: Likewise.
33804 * iconv/iconv_prog.c: Likewise.
33805 * iconv/iconvconfig.c: Likewise.
33806 * locale/programs/locale.c: Likewise.
33807 * locale/programs/localedef.c: Likewise.
33808 * login/programs/pt_chown.c: Likewise.
33809 * malloc/memusage.sh: Likewise.
33810 * malloc/memusagestat.c: Likewise.
33811 * malloc/mtrace.pl: Likewise.
33812 * nscd/nscd.c: Likewise.
33813 * nss/getent.c: Likewise.
33814 * nss/makedb.c: Likewise.
33815 * posix/getconf.c: Likewise.
33816
18ea052c
SP
338172012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33818
33819 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33820 numbers.
33821
9c89fca6
MF
338222012-12-30 Mike Frysinger <vapier@gentoo.org>
33823
33824 * math/bits/mathcalls.h (modf): Use __nonnull.
33825
085ec079
SP
338262012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33827
33828 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33829 (split): Use macro CN instead of the bare value.
33830 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33831 could be used.
33832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33833 instead of the bare value.
33834 (power1): Likewise.
33835
6d9f97e1
SP
338362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33837
d63f73be
SP
33838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33839 __ATAN_TWOM.
33840 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33841
6d9f97e1
SP
33842 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33843 their values.
33844 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33846 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33847 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33848
4c4febf5
AJ
338492012-12-28 Andreas Jaeger <aj@suse.de>
33850
af5843ef
AJ
33851 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33852 values are from Linux 3.7.
33853
4c4febf5
AJ
33854 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33855 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33856
99136f82
SP
338572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33858
2f216c3c 33859 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33860 TRUE case.
33861
99136f82
SP
33862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33863 (norm): Likewise.
33864 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33865 variables with preprocessor constants.
33866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33867 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33868 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33869
7fffbdff
BH
338702012-12-27 Bruno Haible <bruno@clisp.org>
33871
33872 [BZ #14317]
33873 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33874 only if needed.
33875
b76eb5f0
SP
338762012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33877
31a7fe5c
SP
33878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33879 and use variable directly.
33880 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33881
b76eb5f0
SP
33882 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33883 MPONE.
33884 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33885 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33886 variable MPONE.
33887 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33889 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33890 include directive. Remove local variable MPONE.
33891 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33892 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33894
2c8bfe7d
DM
338952012-12-25 David S. Miller <davem@davemloft.net>
33896
33897 * version.h (RELEASE): Set to "development".
33898 (VERSION): Set to "2.17.90".
33899 * NEWS: Add 2.18 section.
33900
147d03b0
DM
339012012-12-21 David S. Miller <davem@davemloft.net>
33902
33903 * po/hr.po: Update from translation team.
33904
a8ebb2b9
AK
339052012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33906
33907 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33908
95b4f1b6
SE
339092012-12-19 Steve Ellcey <sellcey@mips.com>
33910
b2d94007 33911 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33912
cedb2a90
MS
339132012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33914
33915 * manual/contrib.texi (Contributors): Spelling correction.
33916
bbf527d6
DM
339172012-12-15 David S. Miller <davem@davemloft.net>
33918
33919 * po/ru.po: Update from translation team.
33920
bc38c906
DM
339212012-12-13 David S. Miller <davem@davemloft.net>
33922
85429b1a
DM
33923 * NEWS: Mention IFUNC testsuite enhancements.
33924
d283e353
DM
33925 * po/pl.po: Update from translation team.
33926 * po/bg.po: Likewise.
33927
bc38c906
DM
33928 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33929 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33930
a181b0d7
DM
339312012-12-11 David S. Miller <davem@davemloft.net>
33932
4641d57e
DM
33933 * po/sv.po: Update from translation team.
33934
f7bc6495
DM
33935 * po/vi.po: Update from translation team.
33936
6fc9048f
DM
33937 * po/cs.po: Update from translation team.
33938
a181b0d7
DM
33939 * po/de.po: Update from translation team.
33940 * po/eo.po: Likewise.
33941 * po/nl.po: Likewise.
33942
f70bfe80
SP
339432012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33944
3c8b4190
SP
33945 [BZ #14246]
33946 * manual/argp.texi (Argp Helper Functions): Move node to follow
33947 Argp Parsing State.
33948
f70bfe80
SP
33949 [BZ #14872]
33950 * manual/conf.texi (Limits on File System Capacity): Mention if
33951 terminating null is included in the max size.
33952
188f0adf
AJ
339532012-12-10 Andreas Jaeger <aj@suse.de>
33954
33955 * po/cs.po: Update from translation team.
33956
56e7d3ad
SP
339572012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33958
33959 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33960 void pointer and cast to uintptr_t.
33961 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33962 path.
33963 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33964 * sysdeps/s390/s390-64/memset.S: Likewise.
33965
76f2d2ea 339662012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33967
33968 [BZ #14833]
33969 * menual/message.texi (Message Translation): Fix typos.
33970 (Helper programs for gettext): Likewise.
33971
67cbf9a2
AS
339722012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33973
33974 [BZ #14898]
33975 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33976 Change to -1.
33977
682d0e9a
DM
339782012-12-07 David S. Miller <davem@davemloft.net>
33979
33980 * po/libc.pot: Update.
33981
573cd484
RH
339822012-12-07 Richard Henderson <rth@redhat.com>
33983
7e9da188 33984 [BZ #10114]
573cd484
RH
33985 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33986 normal/normal case to before the switch.
33987 (_FP_DIV): Likewise.
33988
e933a943
MF
339892012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33990 Mike Frysinger <vapier@gentoo.org>
33991
33992 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33993 check for __NR_fadvise64_64.
33994
82123268
CM
339952012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33996
33997 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33998 0, not just to plain "0" as a statement.
33999 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34000 with cw.
34001
d9814526
JM
340022012-12-06 Joseph Myers <joseph@codesourcery.com>
34003
34004 * NEWS: Use sourceware.org in Bugzilla URL.
34005
7728c574
SP
340062012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34007
f16946dd
SP
34008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34009 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34010
5704bbcb
SP
34011 * stdio-common/tst-put-error.c (do_test): Add newline to the
34012 padded test to ensure flush.
34013
17aa0516
JL
340142012-12-05 Jeff Law <law@redhat.com>
34015
34016 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34017
363313b5
JM
340182012-12-05 Joseph Myers <joseph@codesourcery.com>
34019
effbd42a
JM
34020 * README: Don't refer to ports add-on as distributed separately.
34021 Mention AArch64 in list of systems supported in the ports add-on.
34022
87600365
JM
34023 * LICENSES: Add more non-FSF copyright and license notices.
34024
a0d7066a
JM
34025 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34026 ((unused)).
34027
66ca5a5b
JM
34028 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34029
363313b5
JM
34030 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34031 10000 as width of padded output.
34032
b37984ad
JM
340332012-12-04 Joseph Myers <joseph@codesourcery.com>
34034
9003570a
JM
34035 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34036
b37984ad
JM
34037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34038 variable LX with __attribute__ ((unused)).
34039 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34040 Likewise.
34041 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34043 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34044 with __attribute__ ((unused)).
34045
c8df52ec
DM
340462012-12-04 David S. Miller <davem@abraco.davemloft.net>
34047
34048 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34049
b3b099af
JM
340502012-12-04 Joseph Myers <joseph@codesourcery.com>
34051
c33aa6e3
JM
34052 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34053 (CFLAGS-nldbl-acos.c): New variable.
34054 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34055 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34056 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34057 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34058 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34059 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34060 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34061 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34062 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34063 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34064 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34065 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34066 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34067 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34068 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34069 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34070 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34071 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34072 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34073 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34074 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34075 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34076 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34077 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34078 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34079 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34080 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34081 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34082 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34083 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34084 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34085 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34086 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34087 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34088 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34089 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34090 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34091 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34092 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34093 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34094 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34095 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34096 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34097 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34098 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34099 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34100 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34101 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34102 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34103 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34104 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34105 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34106 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34107 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34108 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34109 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34110 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34111 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34112 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34113 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34114 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34115 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34116 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34117 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34118 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34119 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34120 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34121 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34122 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34123 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34124 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34125 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34126 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34127 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34128 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34129 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34130 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34131 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34132 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34133 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34134 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34135 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34136 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34137 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34138 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34139 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34140 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34141 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34142 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34143 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34144 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34145 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34146 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34147 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34148 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34149 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34150 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34151
20f0018d
JM
34152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34153 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34154
b3b099af
JM
34155 [BZ #14914]
34156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34157 whole low double instead of just low 47 bits when splitting values
34158 into two parts.
34159
029264d1
AM
341602012-12-03 Allan McRae <allan@archlinux.org>
34161
34162 * manual/stdio.texi (Predefined Printf Handlers): Remove
34163 @hsep and @vsep usage.
34164
c9d6789e
MF
341652012-12-03 Mike Frysinger <vapier@gentoo.org>
34166
34167 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34168 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34169
4b7634a5
JL
341702012-12-03 Jeff Law <law@redhat.com>
34171
34172 * time/sys/time.h (settimeofday): Do not mark TV argument
34173 as __nonnull.
34174
eb6cbd24
MF
341752012-12-01 Mike Frysinger <vapier@gentoo.org>
34176
34177 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34178 when currently writing and seek to current position when not.
34179 * libio/Makefile (tests): Remove bug-fclose1.
34180 * libio/bug-fclose1.c: Delete.
34181
f638872a
JM
341822012-12-01 Joseph Myers <joseph@codesourcery.com>
34183
34184 * manual/arith.texi (feenableexcept): Fix typo.
34185 (fedisableexcept): Likewise.
34186
48085d14
RM
341872012-11-30 Roland McGrath <roland@hack.frob.com>
34188
34189 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34190 second, differently-typed declaration, rather than a cast.
34191
1a538b9f
SP
341922012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34193
34194 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34195 * include/rpc/svc.h: ... here.
34196
d07f2ff1 341972012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34198
34199 [BZ #13013]
34200 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34201 depending n and resplen2 to catch cases where answer
34202 equals answerp2.
34203
c93ec1f0
CD
342042012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34205
34206 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34207 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34208
37db69de
MF
342092012-11-29 Mike Frysinger <vapier@gentoo.org>
34210
34211 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34212
e10c4e4f
RM
342132012-11-29 Roland McGrath <roland@hack.frob.com>
34214
34215 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34216
2af1b328
JL
342172012-11-28 Jeff Law <law@redhat.com>
34218
34219 [BZ #13761]
34220 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34221 dataset_temporary. Track alloca usage into alloca_used.
34222 If dataset is large allocate and release it via malloc/free.
34223
111db5b1
FW
342242012-06-04 Florian Weimer <fweimer@redhat.com>
34225
f06cc227 34226 [BZ #14197]
111db5b1
FW
34227 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34228
dd694abd
DM
342292012-11-28 David S. Miller <davem@davemloft.net>
34230
34231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34232
9984dd01
JM
342332012-11-28 Joseph Myers <joseph@codesourcery.com>
34234
34235 [BZ #14803]
34236 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34237 of pi/2 rounded to nearest to 64 bits.
34238 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34239 nearest to 64 bits.
34240 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34241 bits.
34242
14bc93a9
JL
342432012-11-28 Jeff Law <law@redhat.com>
34244 Martin Osvald <mosvald@redhat.com>
34245
34246 [BZ #14889]
34247 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34248 * sunrpc/svc.c: Include time.h.
34249 (__svc_accept_failed): New function.
34250 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34251 any reason other than EINTR, call __svc_accept_failed.
34252 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34253 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34254
e3c6aa3a
AS
342552012-11-28 Andreas Schwab <schwab@suse.de>
34256
34257 * scripts/abilist.awk: Also handle indirect functions in .opd
34258 section.
34259
1bead169
JM
342602012-11-28 Joseph Myers <joseph@codesourcery.com>
34261
34262 [BZ #13881]
34263 * sysdeps/x86/fpu/powl_helper.c: New file.
34264 * sysdeps/x86/fpu/Makefile: Likewise.
34265 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34266 (p3): New object.
34267 (__ieee754_powl): Use __powl_helper for finite arguments except
34268 integer exponents below 8.
34269 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34270 (p3): New object.
34271 (__ieee754_powl): Use __powl_helper for finite arguments except
34272 integer exponents below 8.
34273 * math/libm-test.inc (pow_test): Add more tests and enable some
34274 previously disabled tests.
34275 * sysdeps/i386/fpu/libm-test-ulps: Update.
34276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34277
0817d63d
SP
342782012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34279 Carlos O'Donell <carlos_odonell@mentor.com>
34280
34281 * nss/makedb.c (is_prime): Assert that input is odd and greater
34282 than 4. Note that fact in a comment too.
34283 (next_prime): Add 4 to input.
34284
de2fd463
SP
342852012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34286
34287 [BZ #11741]
34288 * libio/Makefile (tests): Add test case tst-fwrite-error.
34289 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34290 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34291 * libio/tst-fwrite-error.c: New test case.
34292
c515fb51
L
342932012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34294
34295 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34296 before casting to void *.
34297 * include/libc-internal.h (__pointer_type): New macro.
34298 (__integer_if_pointer_type_sub): Likewise.
34299 (__integer_if_pointer_type): Likewise.
34300 (cast_to_integer): Likewise.
34301 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34302 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34303 before casting to atomic64_t.
34304 (atomic_exchange_acq): Likewise.
34305 (__arch_exchange_and_add_body): Likewise.
34306 (__arch_add_body): Likewise.
34307 (atomic_add_negative): Likewise.
34308 (atomic_add_zero): Likewise.
34309
4cf77aa9
JM
343102012-11-26 Joseph Myers <joseph@codesourcery.com>
34311
34312 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34313 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34314 (add_fdes): Likewise.
34315 (linear_search_fdes): Likewise.
34316 (binary_search_unencoded_fdes): Likewise.
34317
d260b3b4
AS
343182012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34319
34320 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34321
67060746
AC
343222012-11-24 Adam Conrad <adconrad@0c3.net>
34323
34324 * configure.in: Autodetect C++ header directories.
34325 * configure: Regenerated.
34326
800938a1
MF
343272012-11-23 Mike Frysinger <vapier@gentoo.org>
34328
34329 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34330
4e6e34e6
AS
343312012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34332
34333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34334
7c7feb47
JM
343352012-11-22 Joseph Myers <joseph@codesourcery.com>
34336
7184dcdf
JM
34337 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34338 LDBL_MANT_DIG == 106]: Disable some tests.
34339 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34340 Likewise.
34341 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34342 Likewise.
34343
0a42601f
JM
34344 [BZ #14871]
34345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34346 input for small inputs. Return +/- pi/2 for large inputs.
34347 * math/libm-test.inc (atan_test): Add more tests.
34348
79c9b9fe
JM
34349 * sysdeps/generic/unwind-dw2-fde-glibc.c
34350 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34351 __attribute__ ((unused)).
34352
c60d3bf2
JM
34353 [BZ #14645]
34354 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34355 x * y if x and y are nonzero and z is zero.
34356
ef1e0867
JM
34357 [BZ #14811]
34358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34359 nonzero exponents with absolute value below 0x1p-117 to +/-
34360 0x1p-117.
34361
1468ded3
JM
34362 [BZ #14869]
34363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34364 up arguments below 2**-450, not just those below 2**-500.
34365 * math/libm-test.inc (hypot_test): Add another test.
34366
8e27e3cc
JM
34367 [BZ #14868]
34368 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34369 Return a+b for ratio over 2**120, not 2**60.
34370 * math/libm-test.inc (hypot_test): Add another test.
34371
c9c0279b
JM
34372 * math/libm-test.inc (clog_test): Use
34373 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34374 (clog10_test): Likewise.
34375
7c7feb47
JM
34376 [BZ #6778]
34377 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34378
fff1530e
AS
343792012-11-22 Andreas Schwab <schwab@suse.de>
34380
34381 * sysdeps/i386/fpu/libm-test-ulps: Update.
34382
94558d30
PT
343832012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34384
34385 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34386 printf output with newline.
34387
7e1be741
L
343882012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34389
6bfea974
L
34390 [BZ #14865]
34391 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34392 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34393 -z nodlopen, -z initfirst and -z execstack support.
34394 * configure: Regenerated.
34395
7e1be741
L
34396 * elf/elf.h (DF_1_NODIRECT): New macro.
34397 (DF_1_IGNMULDEF): Likewise.
34398 (DF_1_NOKSYMS): Likewise.
34399 (DF_1_NOHDR): Likewise.
34400 (DF_1_EDITED): Likewise.
34401 (DF_1_NORELOC): Likewise.
34402 (DF_1_SYMINTPOSE): Likewise.
34403 (DF_1_GLOBAUDIT): Likewise.
34404 (DF_1_SINGLETON): Likewise.
34405 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34406 DT_1_SUPPORTED_MASK bits.
34407 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34408
105ce2ce
CD
344092012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34410
34411 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34412
123be9de
TS
344132012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34414
d072f3f7
TS
34415 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34416 macro.
34417
123be9de
TS
34418 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34419 (sendmmsg): Move declarations...
34420 * socket/sys/socket.h: ... here.
34421 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34422 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34423 include it from...
34424 * socket/recvmmsg.c: ... this new file.
34425 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34426 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34427 definition of __sendmmsg hidden.
34428 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34429 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34430 Move ENOSYS stub into and include it from...
34431 * socket/sendmmsg.c: ... this new file.
34432 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34433 (sysdep_routines): Move recvmmsg and sendmmsg...
34434 * socket/Makefile (routines): ... here.
34435 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34436 (GLIBC_PRIVATE): Add __sendmmsg.
34437 * include/sys/socket.h (__sendmmsg): Add declarations.
34438 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34439 sendmmsg.
34440
cf9a5d18
JM
344412012-11-20 Joseph Myers <joseph@codesourcery.com>
34442
34443 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34444 variable I1 with __attribute__ ((unused)).
34445 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34446
ecd4caf9
JM
344472012-11-19 Joseph Myers <joseph@codesourcery.com>
34448
be14d48f
JM
34449 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34450 DUMMY variables with __attribute__ ((unused)).
34451
ecd4caf9
JM
34452 * bits/byteswap.h: Include <bits/types.h>.
34453 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34454
986cab95
PT
344552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34456
34457 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34458 string_t. Do not manually set errno.
34459 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34460 length with __strnlen. Make sure to both set errno and return it on
34461 failure.
34462
6d33cc9d
DM
344632012-11-19 David S. Miller <davem@davemloft.net>
34464
34465 With help from Joseph Myers.
34466 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34467 very large arguments properly.
34468 * math/libm-test.inc (atan_test): New tests.
34469 (atan2_test): New tests.
34470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34472
ee663277
JM
344732012-11-19 Joseph Myers <joseph@codesourcery.com>
34474
877f2d8e
JM
34475 [BZ #14856]
34476 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34477 Define to 3.
34478
116fc08a
JM
34479 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34480 [POSIX] (EADDRNOTAVAIL): Likewise.
34481 [POSIX] (EAFNOSUPPORT): Likewise.
34482 [POSIX] (EALREADY): Likewise.
34483 [POSIX] (ECONNABORTED): Likewise.
34484 [POSIX] (ECONNREFUSED): Likewise.
34485 [POSIX] (ECONNRESET): Likewise.
34486 [POSIX] (EDESTADDRREQ): Likewise.
34487 [POSIX] (EDQUOT): Likewise.
34488 [POSIX] (EHOSTUNREACH): Likewise.
34489 [POSIX] (EIDRM): Likewise.
34490 [POSIX] (EISCONN): Likewise.
34491 [POSIX] (ELOOP): Likewise.
34492 [POSIX] (EMULTIHOP): Likewise.
34493 [POSIX] (ENETDOWN): Likewise.
34494 [POSIX] (ENETUNREACH): Likewise.
34495 [POSIX] (ENOBUFS): Likewise.
34496 [POSIX] (ENODATA): Likewise.
34497 [POSIX] (ENOLINK): Likewise.
34498 [POSIX] (ENOMSG): Likewise.
34499 [POSIX] (ENOPROTOOPT): Likewise.
34500 [POSIX] (ENOSR): Likewise.
34501 [POSIX] (ENOSTR): Likewise.
34502 [POSIX] (ENOTCONN): Likewise.
34503 [POSIX] (ENOTSOCK): Likewise.
34504 [POSIX] (EOPNOTSUPP): Likewise.
34505 [POSIX] (EOVERFLOW): Likewise.
34506 [POSIX] (EPROTO): Likewise.
34507 [POSIX] (EPROTONOSUPPORT): Likewise.
34508 [POSIX] (EPROTOTYPE): Likewise.
34509 [POSIX] (ESTALE): Likewise.
34510 [POSIX] (ETIME): Likewise.
34511 [POSIX] (ETXTBSY): Likewise.
34512 [POSIX] (EWOULDBLOCK): Likewise.
34513 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34514 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34515 [POSIX] (SEEK_CUR): Likewise.
34516 [POSIX] (SEEK_END): Likewise.
34517 [POSIX || UNIX98] (mode_t): Do not require.
34518 [POSIX] (off_t): Likewise.
34519 [POSIX] (pid_t): Likewise.
34520 [POSIX] (sys/stat.h): Do not allow header.
34521 [POSIX] (unistd.h): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34523 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34525 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34526 require.
34527 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34528 sigevent): Specify elements.
34529 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34530 entry.
34531 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34532 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34533
a483863f
JM
34534 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34535 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34536 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34537 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34538 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34539 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34540 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34542 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34543 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34544 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34545 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34546 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34548 Likewise.
34549 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34550 Likewise.
34551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34552 Likewise.
34553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34554 Likewise.
34555 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34556 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34557 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34558 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34559 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34560 Specify lower bound on value.
34561 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34562 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34563 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34564 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34565 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34566 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34567 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34568 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34569 value.
34570 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34571 as optional.
34572 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34573 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34574 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34575 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34576 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34577 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34578 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34579 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34580 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34581 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34582 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34583 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34584 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34585 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34586 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34587 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34588 entry.
34589 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34590 optional.
34591 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34592 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34593 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34594 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34595 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34596 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34597 Likewise.
34598 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34599 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34600 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34601 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34602 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34603 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34604 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34605 as optional.
34606 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34607 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34609 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34610 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34611 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34612 specify as optional.
34613 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34614 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34615 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34616 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34617 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34618 [XPG3] (NL_LANGMAX): Likewise.
34619 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34620 [POSIX || XPG3] (NL_NMAX): Likewise.
34621 [POSIX || XPG3] (NL_SETMAX): Likewise.
34622 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34623 [XPG3] (NZERO): Likewise.
34624 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34625 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34626 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34627 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34628 (REG_ERANGE): Expect.
34629 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34630 optional-constant.
34631 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34632 Use (void) in prototype.
34633 [POSIX] (*_t): Allow.
34634 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34635 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34636 (WRDE_BADVAL): Expect.
34637
5ba924e3
JM
34638 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34639 expect.
34640 [XPG3 || XPG4] (O_RSYNC): Likewise.
34641 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34642 Likewise.
34643 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34644 [XPG3 || XPG4] (sigqueue): Likewise.
34645 [XPG3 || XPG4] (sigtimedwait): Likewise.
34646 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34647 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34648 [XPG3 || XPG4] (vsnprintf): Likewise.
34649 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34650 Likewise.
34651 [XPG3 || XPG4] (blksize_t): Likewise.
34652 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34653 Likewise.
34654 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34655 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34656 [XPG3 || XPG4] (struct itimerspec): Likewise.
34657 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34658 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34659 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34660 [XPG3 || XPG4] (clockid_t): Likewise.
34661 [XPG3 || XPG4] (timer_t): Likewise.
34662 [XPG3 || XPG4] (clock_getres): Likewise.
34663 [XPG3 || XPG4] (clock_gettime): Likewise.
34664 [XPG3 || XPG4] (clock_settime): Likewise.
34665 [XPG3 || XPG4] (nanosleep): Likewise.
34666 [XPG3 || XPG4] (timer_create): Likewise.
34667 [XPG3 || XPG4] (timer_delete): Likewise.
34668 [XPG3 || XPG4] (timer_gettime): Likewise.
34669 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34670 [XPG3 || XPG4] (timer_settime): Likewise.
34671 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34672 [XPG3 || XPG4] (getlogin_r): Likewise.
34673 [XPG3 || XPG4] (pread): Likewise.
34674 [XPG3 || XPG4] (pthread_atfork): Likewise.
34675 [XPG3 || XPG4] (pwrite): Likewise.
34676
ee663277
JM
34677 [BZ #14835]
34678 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34679 <bits/siginfo.h>.
34680
942caa16
PT
346812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34682
e19af380
PT
34683 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34684 finalizing MALLSTREAM.
34685
942caa16
PT
34686 * sysdeps/mach/hurd/syncfs.c: New file.
34687
cfde9b46
SP
346882012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34689
34690 [BZ #14719]
34691 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34692 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34693 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34694 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34695 (_nss_dns_gethostbyname4_r): Likewise.
34696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34697 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34698
f6da27e5
PH
346992012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34700
34701 [BZ #13763]
34702 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34703
6665d4a2
SM
347042012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34705
1f51ee92
SM
34706 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34707 * elf/cache.c (print_entry): Print ",AArch64" for
34708 FLAG_AARCH64_LIB64
34709
6665d4a2
SM
34710 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34711 * elf/cache.c (print_entry): Print ",hard-float" for
34712 FLAG_ARM_LIBHF.
34713
05b227bd
DM
347142012-11-18 David S. Miller <davem@davemloft.net>
34715
34716 With help from Joseph Myers.
34717 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34718 cutoff to 2**-13.
34719 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34720 cutoff to 2**-25.
34721 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34722 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34723 small.
34724 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34725 * math/libm-test.inc (y0_test): New tests.
34726 (y1_test): New tests.
34727 * sysdeps/i386/fpu/libm-test-ulps: Update.
34728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34730
786b0b67
AS
347312012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34732
34733 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34734 64-bit targets.
34735 * configure: Regenerated.
34736
8e18b86d
DM
347372012-11-17 David S. Miller <davem@davemloft.net>
34738
34739 [BZ #14811]
34740 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34741 nonzero exponents with absolute value below 0x1p-128 to +/-
34742 0x1p-128.
34743
531f1ae0
JM
347442012-11-17 Joseph Myers <joseph@codesourcery.com>
34745
12df29e2
JM
34746 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34747
150dc1a0
JM
34748 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34749
531f1ae0
JM
34750 * posix/getconf-speclist.c: New file.
34751 * posix/posix-envs.def: Likewise.
34752 * posix/confstr.c (START_ENV_GROUP): New macro.
34753 (END_ENV_GROUP): Likewise.
34754 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34755 (KNOWN_PRESENT_ENV_STRING): Likewise.
34756 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34757 (UNKNOWN_ENVIRONMENT): Likewise.
34758 (confstr): Include posix-envs.def instead of handling
34759 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34760 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34761 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34762 (END_ENV_GROUP): Likewise.
34763 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34764 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34765 (UNKNOWN_ENVIRONMENT): Likewise.
34766 (__sysconf): Include posix-envs.def instead of handling associated
34767 cases directly here.
34768 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34769 preprocessing getconf-speclist.c rather than running getconf or
34770 generating empty file.
34771
a93f9cbc
PT
347722012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34773
34774 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34775
d64d9f87
AL
347762012-11-16 Andrej Lajovic <natrij@gmail.com>
34777
34778 [BZ #14672]
34779 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34780
447885eb
DM
347812012-11-16 David S. Miller <davem@davemloft.net>
34782
34783 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34784 smaller than LDBL_EPSILON/2.0L, just return xm1.
34785
bcbf9830
L
347862012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34787
34788 * elf/tst-array1.c (init): Set constructor priority to 1000.
34789 (fini): Set destructor priority to 1000.
34790 * elf/tst-array2dep.c: Likewise.
34791
2b766585
SP
347922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34793
34794 [BZ #11741]
34795 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34796 (_IO_new_file_xsputn): Also return EOF if none of the input
34797 data was written when overflow failed.
34798 * libio/iopadn.c (_IO_padn): Likewise.
34799 * libio/iowpadn.c (_IO_wpadn): Likewise.
34800 * stdio-common/tst-put-error.c: Add copyright notice.
34801 (do_test): Add case for printing padded string.
34802 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34803 _IO_padn returned error.
34804 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34805 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34806 return EOF.
34807
b1848fde
SP
348082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34809
34810 * libio/libioP.h: Add comment note that the references to C++
34811 bits are now obsolete.
34812
2fd89785
MS
348132012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34814
34815 * math/libm-test.inc (check_complex): Use asprintf.
34816
e3ea5409
JM
348172012-11-14 Joseph Myers <joseph@codesourcery.com>
34818
34819 * debug/pcprofiledump.c (print_version): Update copyright year.
34820 * malloc/memusagestat.c (print_version): Likewise.
34821
2e64d265
L
348222012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34823
34824 [BZ #14831]
34825 * elf/Makefile (tests): Add tst-audit8.
34826 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34827 ($(objpfx)tst-audit8.out): New target.
34828 (tst-audit8-ENV): New variable.
34829 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34830 audit if l_reloc_result is NULL.
34831 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34832 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34833 * elf/tst-audit8.c: New file.
34834
c485e4d2
MS
348352012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34836
34837 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34838 * misc/Makefile (CFLAGS-select.c): Define.
34839 * posix/Makefile (CFLAGS-pause.c): Define.
34840
3a0d900a
DM
348412012-11-13 David S. Miller <davem@davemloft.net>
34842
34843 * crypt/Makefile: Move test targets after toplevel Rules
34844 inclusion. Grab any necessary sysdep routines when linking.
34845 * crypt/md5.c (md5_process_block): Remove define, we will always
34846 name it __md5_process_block.
34847 (md5_finish_ctx): Update md5_process_block call.
34848 (md5_stream): Likewise.
34849 (md5_process_bytes): Likewise.
34850 (md5_process_block): Rename to __md5_process_block and move to ...
34851 * crypt/md5-block.c: ... here.
34852 * crypt/sha256.c (sha256_process_block): Move to ...
34853 * crypt/sha256-block.c: ... here.
34854 * crypt/sha512.c (sha512_process_block): Move to ...
34855 * crypt/sha512-block.c: ... here.
34856 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34857 path.
34858 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34859 * sysdeps/sparc/sparc64/multiarch/Makefile
34860 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34861 crypt subdir.
34862 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34864 multiarch changes.
34865 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34866 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34867 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34868 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34869 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34870 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34871 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34872 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34874 file.
34875 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34876 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34877 file.
34878 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34879
8ca89318
JM
348802012-11-13 Joseph Myers <joseph@codesourcery.com>
34881
e27d476a
JM
34882 * timezone/tzselect.ksh: Update from tzcode git revision
34883 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34884 * timezone/zdump.c: Likewise.
34885 * timezone/zic.c: Likewise.
34886 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34887 in TZVERSION setting, not $(PKGVERSION).
34888 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34889 REPORT_BUGS_TO settings.
34890
8ca89318
JM
34891 [BZ #14838]
34892 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34893 macro.
34894
47594329
MS
348952012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34896
34897 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34898 detection to immediately after _FP_ROUND().
34899 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34900 bits are 0.
34901
640ac3f1
DM
349022012-11-11 David S. Miller <davem@davemloft.net>
34903
34904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34905 inttypes.h
34906 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34907 __close rather than their public counterparts.
34908
3d2577bb
JM
349092012-11-10 Joseph Myers <joseph@codesourcery.com>
34910
34911 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34912 file.
34913 [UNIX98] (sem_timedwait): Do not expect.
34914 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34915 [XPG4 || UNIX98] (sockatmark): Do not expect.
34916 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34917 (clock_getcpuclockid): Do not expect.
34918 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34919 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34920 Do not expect.
34921 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34922 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34923 [UNIX98] (vwscanf): Likewise.
34924 [UNIX98] (vswscanf): Likewise.
34925
fb1ae1ee
JM
349262012-11-09 Joseph Myers <joseph@codesourcery.com>
34927
9ec6f8bd
JM
34928 * timezone/version.h: Remove file.
34929 * timezone/README: Do not refer to version.h.
34930 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34931 $(objpfx)version.h.
34932 ($(objpfx)zdump.o): Likewise.
c3f81911 34933 ($(objpfx)version.h): New target.
9ec6f8bd 34934
0aa8f8a1
JM
34935 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34936 2012i.
34937 * timezone/README: Don't mention modification to tzselect.ksh.
34938 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34939 work on unmodified tzselect.ksh. Substitute version numbers in
34940 tzselect.ksh.
34941
4e87147f
JM
34942 * Makefile (format-me): Remove.
34943 (INSTALL): Adjust indentation. Use commands directly instead of
34944 using $(format-me).
34945
8b748aed
JM
34946 * aclocal.m4 (ACX_PKGVERSION): New macro.
34947 (ACX_BUGURL): Likewise.
34948 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34949 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34950 (REPORT_BUGS_TO): Likewise.
34951 * configure: Regenerated.
34952 * config.h.in (PKGVERSION): New macro.
34953 (REPORT_BUGS_TO): Likewise.
34954 * config.make.in (PKGVERSION): New variable.
34955 (PKGVERSION_TEXI): Likewise.
34956 (REPORT_BUGS_TO): Likewise.
34957 (REPORT_BUGS_TEXI): Likewise.
34958 * Makefile (format-me): Use -I$(common-objpfx)manual.
34959 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34960 ($(common-objpfx)manual/%): New target.
34961 (manual/%): Remove target.
34962 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34963 (print_version): Use PKGVERSION.
34964 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34965 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34966 and REPORT_BUGS_TO.
34967 ($(objpfx)xtrace): Likewise.
34968 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34969 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34970 (print_version): Use PKGVERSION.
34971 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34972 (do_version): Use PKGVERSION.
34973 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34974 REPORT_BUGS_TO.
34975 (common-ldd-rewrite): Likewise.
34976 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34977 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34978 (print_version): Use PKGVERSION.
34979 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34980 * elf/pldd.c (argp_program_bug_address): Remove variable.
34981 (more_help): New function.
34982 (argp): Use more_help.
34983 (print_version): Use PKGVERSION.
34984 * elf/sln.c (main): Use PKGVERSION.
34985 (usage): Use REPORT_BUGS_TO.
34986 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34987 (top level): Use PKGVERSION.
34988 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34989 (print_version): Use PKGVERSION.
34990 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34991 (print_version): Use PKGVERSION.
34992 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34993 (print_version): Use PKGVERSION.
34994 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34995 (print_version): Use PKGVERSION.
34996 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34997 (print_version): Use PKGVERSION.
34998 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34999 (print_version): Use PKGVERSION.
35000 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35001 and BUGURL.
35002 ($(objpfx)memusage): Likewise.
35003 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35004 (do_version): Use PKGVERSION.
35005 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35006 (print_version): Use PKGVERSION.
35007 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35008 ($PKGVERSION): New variable.
35009 ($REPORT_BUGS_TO): Likewise.
35010 (usage): Use $REPORT_BUGS_TO.
35011 (top level): Use $PKGVERSION.
35012 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35013 ($(objpfx)pkgvers.texi): New rule.
35014 ($(objpfx)stamp-pkgvers): Likewise.
35015 * manual/install.texi: Include pkgvers.texi.
35016 (--with-pkgversion): Document new configure option.
35017 (--with-bugurl): Likewise.
35018 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35019 than necessarily for this particular distribution. Use
35020 REPORT_BUGS_TO for where to report bugs.
35021 * INSTALL: Regenerated.
35022 * manual/libc.texinfo: Include pkgvers.texi.
35023 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35024 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35025 (print_version): Use PKGVERSION.
35026 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35027 (print_version): Use PKGVERSION.
35028 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35029 (print_version): Use PKGVERSION.
35030 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35031 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35032 macro.
35033 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35034 (print_version): Use PKGVERSION.
35035 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35036 (print_version): Use PKGVERSION.
35037 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35038 and PKGVERSION.
35039
92e4b6a9
JM
35040 * timezone/checktab.awk: Update from tzcode 2012i.
35041 * timezone/ialloc.c: Likewise.
35042 * timezone/private.h: Likewise.
35043 * timezone/scheck.c: Likewise.
35044 * timezone/tzfile.h: Likewise.
35045 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35046 (TZVERSION): Hardcode tzcode version number.
35047 * timezone/zdump.c: Update from tzcode 2012i.
35048 * timezone/zic.c: Likewise.
35049 * timezone/version.h: New file.
35050 * timezone/README: Describe version.h. Update upstream location.
35051
9bde902c
JM
35052 [BZ #14824]
35053 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35054 (mktemp): Enable declaration.
35055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35059 Likewise.
35060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35061 Likewise.
35062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35063 Likewise.
35064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35065 Likewise.
35066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35067 Likewise.
35068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35069 Likewise.
35070
fb1ae1ee
JM
35071 [BZ #14821]
35072 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35073 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35074 for copies of such integer values.
35075 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35076 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35077
2c1adbcb
AJ
350782012-11-09 Andreas Jaeger <aj@suse.de>
35079
35080 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35081 definitions and declarations that are provided by
35082 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35083
d0f8457e
AK
350842012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35085
3a235abb 35086 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35087 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35088 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35089 definition.
35090
57241e26
MS
350912012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35092
35093 * elf/elf.h: Update comment before AArch64 relocations.
35094
60e8270d
DM
350952012-11-07 David S. Miller <davem@davemloft.net>
35096
35097 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35098 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35099 (__start_context): Declare.
35100 (__makecontext_ret): Delete.
35101 (__makecontext): Hook up __start_context instead of
35102 __makecontext_ret.
35103 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35104 (sysdep_routines): Add __start_context when in stdlib.
35105
0fbb0fbc
JM
351062012-11-07 Joseph Myers <joseph@codesourcery.com>
35107
35108 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35109 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35110 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35111 hardcoded "nm".
35112 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35113 (READELF): New variable. Use it instead of hardcoded "readelf".
35114
eb48db7e
L
351152012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35116
35117 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35118 * sysdeps/x86/Makefile: Here.
35119 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35120 * sysdeps/x86/tst-xmmymm.sh: This.
35121
05bcf62a
JM
351222012-11-07 Joseph Myers <joseph@codesourcery.com>
35123
c4b6cf53
JM
35124 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35125 expectations.
35126 [UNIX98] (pthread_barrier_t): Do not expect.
35127 [UNIX98] (pthread_barrierattr_t): Likewise.
35128 [UNIX98] (pthread_spinlock_t): Likewise.
35129 [UNIX98] (pthread_barrier_destroy): Likewise.
35130 [UNIX98] (pthread_barrier_init): Likewise.
35131 [UNIX98] (pthread_barrier_wait): Likewise.
35132 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35133 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35134 [UNIX98] (pthread_barrierattr_init): Likewise.
35135 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35136 [UNIX98] (pthread_getcpuclockid): Likewise.
35137 [UNIX98] (pthread_mutex_timedlock): Likewise.
35138 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35139 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35140 [UNIX98] (pthread_sigmask): Likewise.
35141 [UNIX98] (pthread_spin_destroy): Likewise.
35142 [UNIX98] (pthread_spin_init): Likewise.
35143 [UNIX98] (pthread_spin_lock): Likewise.
35144 [UNIX98] (pthread_spin_trylock): Likewise.
35145 [UNIX98] (pthread_spin_unlock): Likewise.
35146 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35147 Do not expect.
35148 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35149 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35150 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35151 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35152 [XPG3 || XPG4] (pthread_key_t): Likewise.
35153 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35154 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35155 [XPG3 || XPG4] (pthread_once_t): Likewise.
35156 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35157 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35158 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35159 [XPG3 || XPG4] (pthread_t): Likewise.
35160
cbe6e120
JM
35161 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35162 not expect.
35163 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35164
1b126443
JM
35165 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35166 Change function return type to int.
35167
b961a573
JM
35168 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35169 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35170 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35171 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35172 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35173 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35174 [!POSIX] (posix_madvise): Likewise.
35175 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35176 && !UNIX98].
35177 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35178 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35179 (mode_t): Likewise.
35180 (posix_mem_offset): Likewise.
35181 (posix_typed_mem_get_info): Likewise.
35182 (posix_typed_mem_open): Likewise.
35183
9e188909
JM
35184 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35185 Change condition to [XOPEN2K8].
35186
05bcf62a
JM
35187 * conform/conformtest.pl: Preprocess allow-header data with -x c
35188 instead of from stdin.
35189 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35190 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35191 [C99-based standards] (cerfc): Likewise.
35192 [C99-based standards] (cexp2): Likewise.
35193 [C99-based standards] (cexpm1): Likewise.
35194 [C99-based standards] (clog10): Likewise.
35195 [C99-based standards] (clog1p): Likewise.
35196 [C99-based standards] (clog2): Likewise.
35197 [C99-based standards] (clgamma): Likewise.
35198 [C99-based standards] (ctgamma): Likewise.
35199 [C99-based standards] (cerff): Likewise.
35200 [C99-based standards] (cerfcf): Likewise.
35201 [C99-based standards] (cexp2f): Likewise.
35202 [C99-based standards] (cexpm1f): Likewise.
35203 [C99-based standards] (clog10f): Likewise.
35204 [C99-based standards] (clog1pf): Likewise.
35205 [C99-based standards] (clog2f): Likewise.
35206 [C99-based standards] (clgammaf): Likewise.
35207 [C99-based standards] (ctgammaf): Likewise.
35208 [C99-based standards] (cerfl): Likewise.
35209 [C99-based standards] (cerfcl): Likewise.
35210 [C99-based standards] (cexp2l): Likewise.
35211 [C99-based standards] (cexpm1l): Likewise.
35212 [C99-based standards] (clog10l): Likewise.
35213 [C99-based standards] (clog1pl): Likewise.
35214 [C99-based standards] (clog2l): Likewise.
35215 [C99-based standards] (clgammal): Likewise.
35216 [C99-based standards] (ctgammal): Likewise.
35217 * conform/data/inttypes.h-data [C99-based standards]: Include
35218 stdint.h-data. Remove all expectations for stdint.h contents.
35219 [C99-based standards] (PRI*): Do not allow.
35220 [C99-based standards] (SCN*): Likewise.
35221 [C99-based standards] (*_t): Likewise.
35222 [C99-based-standards] (PRId8): Expect macro.
35223 [C99-based-standards] (PRIi8): Likewise.
35224 [C99-based-standards] (PRIo8): Likewise.
35225 [C99-based-standards] (PRIu8): Likewise.
35226 [C99-based-standards] (PRIx8): Likewise.
35227 [C99-based-standards] (PRIX8): Likewise.
35228 [C99-based-standards] (SCNd8): Likewise.
35229 [C99-based-standards] (SCNi8): Likewise.
35230 [C99-based-standards] (SCNo8): Likewise.
35231 [C99-based-standards] (SCNu8): Likewise.
35232 [C99-based-standards] (SCNx8): Likewise.
35233 [C99-based-standards] (PRIdLEAST8): Likewise.
35234 [C99-based-standards] (PRIiLEAST8): Likewise.
35235 [C99-based-standards] (PRIoLEAST8): Likewise.
35236 [C99-based-standards] (PRIuLEAST8): Likewise.
35237 [C99-based-standards] (PRIxLEAST8): Likewise.
35238 [C99-based-standards] (PRIXLEAST8): Likewise.
35239 [C99-based-standards] (SCNdLEAST8): Likewise.
35240 [C99-based-standards] (SCNiLEAST8): Likewise.
35241 [C99-based-standards] (SCNoLEAST8): Likewise.
35242 [C99-based-standards] (SCNuLEAST8): Likewise.
35243 [C99-based-standards] (SCNxLEAST8): Likewise.
35244 [C99-based-standards] (PRIdFAST8): Likewise.
35245 [C99-based-standards] (PRIiFAST8): Likewise.
35246 [C99-based-standards] (PRIoFAST8): Likewise.
35247 [C99-based-standards] (PRIuFAST8): Likewise.
35248 [C99-based-standards] (PRIxFAST8): Likewise.
35249 [C99-based-standards] (PRIXFAST8): Likewise.
35250 [C99-based-standards] (SCNdFAST8): Likewise.
35251 [C99-based-standards] (SCNiFAST8): Likewise.
35252 [C99-based-standards] (SCNoFAST8): Likewise.
35253 [C99-based-standards] (SCNuFAST8): Likewise.
35254 [C99-based-standards] (SCNxFAST8): Likewise.
35255 [C99-based-standards] (PRId16): Likewise.
35256 [C99-based-standards] (PRIi16): Likewise.
35257 [C99-based-standards] (PRIo16): Likewise.
35258 [C99-based-standards] (PRIu16): Likewise.
35259 [C99-based-standards] (PRIx16): Likewise.
35260 [C99-based-standards] (PRIX16): Likewise.
35261 [C99-based-standards] (SCNd16): Likewise.
35262 [C99-based-standards] (SCNi16): Likewise.
35263 [C99-based-standards] (SCNo16): Likewise.
35264 [C99-based-standards] (SCNu16): Likewise.
35265 [C99-based-standards] (SCNx16): Likewise.
35266 [C99-based-standards] (PRIdLEAST16): Likewise.
35267 [C99-based-standards] (PRIiLEAST16): Likewise.
35268 [C99-based-standards] (PRIoLEAST16): Likewise.
35269 [C99-based-standards] (PRIuLEAST16): Likewise.
35270 [C99-based-standards] (PRIxLEAST16): Likewise.
35271 [C99-based-standards] (PRIXLEAST16): Likewise.
35272 [C99-based-standards] (SCNdLEAST16): Likewise.
35273 [C99-based-standards] (SCNiLEAST16): Likewise.
35274 [C99-based-standards] (SCNoLEAST16): Likewise.
35275 [C99-based-standards] (SCNuLEAST16): Likewise.
35276 [C99-based-standards] (SCNxLEAST16): Likewise.
35277 [C99-based-standards] (PRIdFAST16): Likewise.
35278 [C99-based-standards] (PRIiFAST16): Likewise.
35279 [C99-based-standards] (PRIoFAST16): Likewise.
35280 [C99-based-standards] (PRIuFAST16): Likewise.
35281 [C99-based-standards] (PRIxFAST16): Likewise.
35282 [C99-based-standards] (PRIXFAST16): Likewise.
35283 [C99-based-standards] (SCNdFAST16): Likewise.
35284 [C99-based-standards] (SCNiFAST16): Likewise.
35285 [C99-based-standards] (SCNoFAST16): Likewise.
35286 [C99-based-standards] (SCNuFAST16): Likewise.
35287 [C99-based-standards] (SCNxFAST16): Likewise.
35288 [C99-based-standards] (PRId32): Likewise.
35289 [C99-based-standards] (PRIi32): Likewise.
35290 [C99-based-standards] (PRIo32): Likewise.
35291 [C99-based-standards] (PRIu32): Likewise.
35292 [C99-based-standards] (PRIx32): Likewise.
35293 [C99-based-standards] (PRIX32): Likewise.
35294 [C99-based-standards] (SCNd32): Likewise.
35295 [C99-based-standards] (SCNi32): Likewise.
35296 [C99-based-standards] (SCNo32): Likewise.
35297 [C99-based-standards] (SCNu32): Likewise.
35298 [C99-based-standards] (SCNx32): Likewise.
35299 [C99-based-standards] (PRIdLEAST32): Likewise.
35300 [C99-based-standards] (PRIiLEAST32): Likewise.
35301 [C99-based-standards] (PRIoLEAST32): Likewise.
35302 [C99-based-standards] (PRIuLEAST32): Likewise.
35303 [C99-based-standards] (PRIxLEAST32): Likewise.
35304 [C99-based-standards] (PRIXLEAST32): Likewise.
35305 [C99-based-standards] (SCNdLEAST32): Likewise.
35306 [C99-based-standards] (SCNiLEAST32): Likewise.
35307 [C99-based-standards] (SCNoLEAST32): Likewise.
35308 [C99-based-standards] (SCNuLEAST32): Likewise.
35309 [C99-based-standards] (SCNxLEAST32): Likewise.
35310 [C99-based-standards] (PRIdFAST32): Likewise.
35311 [C99-based-standards] (PRIiFAST32): Likewise.
35312 [C99-based-standards] (PRIoFAST32): Likewise.
35313 [C99-based-standards] (PRIuFAST32): Likewise.
35314 [C99-based-standards] (PRIxFAST32): Likewise.
35315 [C99-based-standards] (PRIXFAST32): Likewise.
35316 [C99-based-standards] (SCNdFAST32): Likewise.
35317 [C99-based-standards] (SCNiFAST32): Likewise.
35318 [C99-based-standards] (SCNoFAST32): Likewise.
35319 [C99-based-standards] (SCNuFAST32): Likewise.
35320 [C99-based-standards] (SCNxFAST32): Likewise.
35321 [C99-based-standards] (PRId64): Likewise.
35322 [C99-based-standards] (PRIi64): Likewise.
35323 [C99-based-standards] (PRIo64): Likewise.
35324 [C99-based-standards] (PRIu64): Likewise.
35325 [C99-based-standards] (PRIx64): Likewise.
35326 [C99-based-standards] (PRIX64): Likewise.
35327 [C99-based-standards] (SCNd64): Likewise.
35328 [C99-based-standards] (SCNi64): Likewise.
35329 [C99-based-standards] (SCNo64): Likewise.
35330 [C99-based-standards] (SCNu64): Likewise.
35331 [C99-based-standards] (SCNx64): Likewise.
35332 [C99-based-standards] (PRIdLEAST64): Likewise.
35333 [C99-based-standards] (PRIiLEAST64): Likewise.
35334 [C99-based-standards] (PRIoLEAST64): Likewise.
35335 [C99-based-standards] (PRIuLEAST64): Likewise.
35336 [C99-based-standards] (PRIxLEAST64): Likewise.
35337 [C99-based-standards] (PRIXLEAST64): Likewise.
35338 [C99-based-standards] (SCNdLEAST64): Likewise.
35339 [C99-based-standards] (SCNiLEAST64): Likewise.
35340 [C99-based-standards] (SCNoLEAST64): Likewise.
35341 [C99-based-standards] (SCNuLEAST64): Likewise.
35342 [C99-based-standards] (SCNxLEAST64): Likewise.
35343 [C99-based-standards] (PRIdFAST64): Likewise.
35344 [C99-based-standards] (PRIiFAST64): Likewise.
35345 [C99-based-standards] (PRIoFAST64): Likewise.
35346 [C99-based-standards] (PRIuFAST64): Likewise.
35347 [C99-based-standards] (PRIxFAST64): Likewise.
35348 [C99-based-standards] (PRIXFAST64): Likewise.
35349 [C99-based-standards] (SCNdFAST64): Likewise.
35350 [C99-based-standards] (SCNiFAST64): Likewise.
35351 [C99-based-standards] (SCNoFAST64): Likewise.
35352 [C99-based-standards] (SCNuFAST64): Likewise.
35353 [C99-based-standards] (SCNxFAST64): Likewise.
35354 [C99-based-standards] (PRIdMAX): Likewise.
35355 [C99-based-standards] (PRIiMAX): Likewise.
35356 [C99-based-standards] (PRIoMAX): Likewise.
35357 [C99-based-standards] (PRIuMAX): Likewise.
35358 [C99-based-standards] (PRIxMAX): Likewise.
35359 [C99-based-standards] (PRIXMAX): Likewise.
35360 [C99-based-standards] (SCNdMAX): Likewise.
35361 [C99-based-standards] (SCNiMAX): Likewise.
35362 [C99-based-standards] (SCNoMAX): Likewise.
35363 [C99-based-standards] (SCNuMAX): Likewise.
35364 [C99-based-standards] (SCNxMAX): Likewise.
35365 [C99-based-standards] (PRIdPTR): Likewise.
35366 [C99-based-standards] (PRIiPTR): Likewise.
35367 [C99-based-standards] (PRIoPTR): Likewise.
35368 [C99-based-standards] (PRIuPTR): Likewise.
35369 [C99-based-standards] (PRIxPTR): Likewise.
35370 [C99-based-standards] (PRIXPTR): Likewise.
35371 [C99-based-standards] (SCNdPTR): Likewise.
35372 [C99-based-standards] (SCNiPTR): Likewise.
35373 [C99-based-standards] (SCNoPTR): Likewise.
35374 [C99-based-standards] (SCNuPTR): Likewise.
35375 [C99-based-standards] (SCNxPTR): Likewise.
35376 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35377 allow.
35378 * conform/data/stdint.h-data: Update comments to clarify
35379 requirements.
35380 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35381 type.
35382 [C99-based standards] (INT8_MAX): Likewise.
35383 [C99-based standards] (INT16_MIN): Likewise.
35384 [C99-based standards] (INT16_MAX): Likewise.
35385 [C99-based standards] (INT32_MIN): Likewise.
35386 [C99-based standards] (INT32_MAX): Likewise.
35387 [C99-based standards] (INT64_MIN): Likewise.
35388 [C99-based standards] (INT64_MAX): Likewise.
35389 [C99-based standards] (UINT8_MAX): Likewise.
35390 [C99-based standards] (UINT16_MAX): Likewise.
35391 [C99-based standards] (UINT32_MAX): Likewise.
35392 [C99-based standards] (UINT64_MAX): Likewise.
35393 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35394 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35395 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35396 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35397 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35398 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35399 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35400 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35401 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35402 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35403 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35404 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35405 [C99-based standards] (INT_FAST8_MIN): Likewise.
35406 [C99-based standards] (INT_FAST8_MAX): Likewise.
35407 [C99-based standards] (INT_FAST16_MIN): Likewise.
35408 [C99-based standards] (INT_FAST16_MAX): Likewise.
35409 [C99-based standards] (INT_FAST32_MIN): Likewise.
35410 [C99-based standards] (INT_FAST32_MAX): Likewise.
35411 [C99-based standards] (INT_FAST64_MIN): Likewise.
35412 [C99-based standards] (INT_FAST64_MAX): Likewise.
35413 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35414 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35415 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35416 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35417 [C99-based standards] (INTPTR_MIN): Likewise.
35418 [C99-based standards] (INTPTR_MAX): Likewise.
35419 [C99-based standards] (UINTPTR_MAX): Likewise.
35420 [C99-based standards] (INTMAX_MIN): Likewise.
35421 [C99-based standards] (INTMAX_MAX): Likewise.
35422 [C99-based standards] (UINTMAX_MAX): Likewise.
35423 [C99-based standards] (PTRDIFF_MIN): Likewise.
35424 [C99-based standards] (PTRDIFF_MAX): Likewise.
35425 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35426 [C99-based standards] (SIZE_MAX): Likewise.
35427 [C99-based standards] (WCHAR_MAX): Likewise.
35428 [C99-based standards] (WINT_MAX): Likewise.
35429 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35430 constraint on value.
35431 [C99-based standards] (WCHAR_MIN): Likewise.
35432 [C99-based standards] (WINT_MIN): Likewise.
35433 [C99-based standards] (*_t): Allow.
35434 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35435 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35436 Include math.h-data and complex.h-data. Remove all expectations
35437 of math.h and complex.h contents.
35438 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35439 at end of line.
35440 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35441 (struct tm): Expect tag.
35442 [C99-based-standards] (wcstof): Expect function.
35443 [C99-based-standards] (wcstold): Likewise.
35444 [C99-based-standards] (wcstoll): Likewise.
35445 [C99-based-standards] (wcstoull): Likewise.
35446 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35447 macro-int-constant. Specify type.
35448 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35449 constraint on value.
35450 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35451 Specify type.
35452 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35453 Specify value.
35454 [ISO C standards]: Do not allow headers.
35455 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35456 wcs[abcdefghijklmnopqrstuvwxyz]*.
35457 [ISO C standards] (*_t): Do not allow.
35458 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35459 Expect function.
35460 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35461 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35462 Specify type.
35463 [ISO C standards]: Do not allow headers.
35464 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35465 is[abcdefghijklmnopqrstuvwxyz]*.
35466 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35467 to[abcdefghijklmnopqrstuvwxyz]*.
35468 [ISO C standards] (*_t): Do not allow.
35469 * conform/data/stdalign.h-data: New file.
35470 * conform/data/stdbool.h-data: Likewise.
35471 * conform/data/stdnoreturn.h-data: Likewise.
35472
7514feb8
RM
354732012-11-07 Roland McGrath <roland@hack.frob.com>
35474
35475 [BZ #14815]
35476 * manual/filesys.texi (Directory Entries): Typo fix.
35477 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35478
19b2ecfc
MS
354792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35480
35481 * elf/elf.h (EM_AARCH64): New macro.
35482 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35483 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35484 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35485 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35486 (R_AARCH64_TLSDESC): Likewise.
35487 (NT_ARM_TLS): Likewise.
35488 (NT_ARM_HW_BREAK): Likewise.
35489 (NT_ARM_HW_WATCH): Likewise.
35490
60e235ee
JM
354912012-11-07 Joseph Myers <joseph@codesourcery.com>
35492
35493 [BZ #14811]
35494 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35495 (__ieee754_powl): Saturate nonzero exponents with absolute value
35496 below 0x1p-79 to +/- 0x1p-79.
35497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35498 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35499 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35500 nonzero exponents with absolute value below 0x1p-32 to +/-
35501 0x1p-32.
35502 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35503 (__ieee754_powl): Saturate nonzero exponents with absolute value
35504 below 0x1p-79 to +/- 0x1p-79.
35505 * math/libm-test.inc (pow_test): Add more tests.
35506
0ab234b7
AK
355072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35508
35509 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35510 _dl_s390_cap_flags with kernel. Increase string length.
35511 (_dl_s390_platforms): Add z196 and zEC12.
35512
45832f74
JM
355132012-11-07 Joseph Myers <joseph@codesourcery.com>
35514
35515 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35516 Change XOPEN21K to XOPEN2K.
35517
19218757
MK
355182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35519
35520 * string/memmove.c: Use memcpy when possible.
35521
c5f45721
AJ
355222012-11-06 Andreas Jaeger <aj@suse.de>
35523
35524 * po/eo.po: Update from translation team.
35525
82477c28
JM
355262012-11-06 Joseph Myers <joseph@codesourcery.com>
35527
35528 [BZ #14793]
35529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35530 exponent and small x and y exponents, scale x or y up. Increase
35531 by 2 the exponent used in scaling up.
35532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35534 * math/libm-test.inc (fma_test): Add more tests.
35535 (fma_test_towardzero): Likewise.
35536 (fma_test_downward): Likewise.
35537 (fma_test_upward): Likewise.
35538
99252c8c
JM
355392012-11-05 Joseph Myers <joseph@codesourcery.com>
35540
acfa885f
JM
35541 [BZ #14805]
35542 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35543 fenv_t *.
35544
99252c8c
JM
35545 [BZ #14801]
35546 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35547 namespace for names of struct fields.
35548 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35549 fenv_t fields.
35550 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35551 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35552
d6d98dea
ST
355532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35554
35555 [BZ #3665]
35556 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35557
e10bb107
TS
355582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35559
35560 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35561 PTR_DEMANGLE.
35562
35563 [BZ #5246]
35564 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35565 PTR_DEMANGLE.
35566
a0c2940d
JM
355672012-11-04 Joseph Myers <joseph@codesourcery.com>
35568
35569 [BZ #14797]
35570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35571 definitely overflow as x * y not x * y + z.
35572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35574 * math/libm-test.inc (fma_test): Add more tests.
35575 (fma_test_towardzero): Likewise.
35576 (fma_test_downward): Likewise.
35577 (fma_test_upward): Likewise.
35578
b830319d
TS
355792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35580
35581 [BZ #157]
35582
35583 * include/stub-tag.h: Remove file.
35584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35585 '#include' of it.
35586 * manual/maint.texi (Porting): Don't reference it.
35587 * Makerules ($(objpfx)stubs): Likewise.
35588 * dirent/closedir.c: Don't include <stub-tag.h>.
35589 * dirent/dirfd.c: Likewise.
35590 * dirent/fdopendir.c: Likewise.
35591 * dirent/getdents.c: Likewise.
35592 * dirent/getdents64.c: Likewise.
35593 * dirent/opendir.c: Likewise.
35594 * dirent/readdir.c: Likewise.
35595 * dirent/readdir64.c: Likewise.
35596 * dirent/readdir64_r.c: Likewise.
35597 * dirent/readdir_r.c: Likewise.
35598 * dirent/rewinddir.c: Likewise.
35599 * dirent/seekdir.c: Likewise.
35600 * dirent/telldir.c: Likewise.
35601 * gmon/profil.c: Likewise.
35602 * grp/setgroups.c: Likewise.
35603 * inet/if_index.c: Likewise.
35604 * io/access.c: Likewise.
35605 * io/chdir.c: Likewise.
35606 * io/chmod.c: Likewise.
35607 * io/chown.c: Likewise.
35608 * io/close.c: Likewise.
35609 * io/dup.c: Likewise.
35610 * io/dup2.c: Likewise.
35611 * io/dup3.c: Likewise.
35612 * io/euidaccess.c: Likewise.
35613 * io/faccessat.c: Likewise.
35614 * io/fchdir.c: Likewise.
35615 * io/fchmod.c: Likewise.
35616 * io/fchmodat.c: Likewise.
35617 * io/fchown.c: Likewise.
35618 * io/fchownat.c: Likewise.
35619 * io/fcntl.c: Likewise.
35620 * io/flock.c: Likewise.
35621 * io/fstatfs.c: Likewise.
35622 * io/fstatfs64.c: Likewise.
35623 * io/fstatvfs.c: Likewise.
35624 * io/fstatvfs64.c: Likewise.
35625 * io/futimens.c: Likewise.
35626 * io/fxstat.c: Likewise.
35627 * io/fxstat64.c: Likewise.
35628 * io/fxstatat.c: Likewise.
35629 * io/fxstatat64.c: Likewise.
35630 * io/getcwd.c: Likewise.
35631 * io/isatty.c: Likewise.
35632 * io/lchmod.c: Likewise.
35633 * io/lchown.c: Likewise.
35634 * io/link.c: Likewise.
35635 * io/linkat.c: Likewise.
35636 * io/lseek.c: Likewise.
35637 * io/lseek64.c: Likewise.
35638 * io/lxstat64.c: Likewise.
35639 * io/mkdir.c: Likewise.
35640 * io/mkdirat.c: Likewise.
35641 * io/mkfifo.c: Likewise.
35642 * io/mkfifoat.c: Likewise.
35643 * io/open.c: Likewise.
35644 * io/open64.c: Likewise.
35645 * io/openat.c: Likewise.
35646 * io/openat64.c: Likewise.
35647 * io/pipe.c: Likewise.
35648 * io/pipe2.c: Likewise.
35649 * io/poll.c: Likewise.
35650 * io/posix_fadvise.c: Likewise.
35651 * io/posix_fadvise64.c: Likewise.
35652 * io/posix_fallocate.c: Likewise.
35653 * io/posix_fallocate64.c: Likewise.
35654 * io/read.c: Likewise.
35655 * io/readlink.c: Likewise.
35656 * io/readlinkat.c: Likewise.
35657 * io/rmdir.c: Likewise.
35658 * io/sendfile.c: Likewise.
35659 * io/sendfile64.c: Likewise.
35660 * io/statfs.c: Likewise.
35661 * io/statfs64.c: Likewise.
35662 * io/statvfs.c: Likewise.
35663 * io/statvfs64.c: Likewise.
35664 * io/symlink.c: Likewise.
35665 * io/symlinkat.c: Likewise.
35666 * io/ttyname.c: Likewise.
35667 * io/ttyname_r.c: Likewise.
35668 * io/umask.c: Likewise.
35669 * io/unlink.c: Likewise.
35670 * io/unlinkat.c: Likewise.
35671 * io/utime.c: Likewise.
35672 * io/utimensat.c: Likewise.
35673 * io/write.c: Likewise.
35674 * io/xmknod.c: Likewise.
35675 * io/xmknodat.c: Likewise.
35676 * io/xstat.c: Likewise.
35677 * io/xstat64.c: Likewise.
35678 * login/getpt.c: Likewise.
35679 * login/grantpt.c: Likewise.
35680 * login/unlockpt.c: Likewise.
35681 * math/e_acoshl.c: Likewise.
35682 * math/e_acosl.c: Likewise.
35683 * math/e_asinl.c: Likewise.
35684 * math/e_atan2l.c: Likewise.
35685 * math/e_atanhl.c: Likewise.
35686 * math/e_coshl.c: Likewise.
35687 * math/e_expl.c: Likewise.
35688 * math/e_fmodl.c: Likewise.
35689 * math/e_gammal_r.c: Likewise.
35690 * math/e_hypotl.c: Likewise.
35691 * math/e_j0l.c: Likewise.
35692 * math/e_j1l.c: Likewise.
35693 * math/e_jnl.c: Likewise.
35694 * math/e_lgammal_r.c: Likewise.
35695 * math/e_log10l.c: Likewise.
35696 * math/e_log2l.c: Likewise.
35697 * math/e_logl.c: Likewise.
35698 * math/e_powl.c: Likewise.
35699 * math/e_rem_pio2l.c: Likewise.
35700 * math/e_sinhl.c: Likewise.
35701 * math/e_sqrtl.c: Likewise.
35702 * math/fclrexcpt.c: Likewise.
35703 * math/fedisblxcpt.c: Likewise.
35704 * math/feenablxcpt.c: Likewise.
35705 * math/fegetenv.c: Likewise.
35706 * math/fegetexcept.c: Likewise.
35707 * math/fegetround.c: Likewise.
35708 * math/feholdexcpt.c: Likewise.
35709 * math/fesetenv.c: Likewise.
35710 * math/fesetround.c: Likewise.
35711 * math/feupdateenv.c: Likewise.
35712 * math/fgetexcptflg.c: Likewise.
35713 * math/fraiseexcpt.c: Likewise.
35714 * math/fsetexcptflg.c: Likewise.
35715 * math/ftestexcept.c: Likewise.
35716 * math/k_cosl.c: Likewise.
35717 * math/k_rem_pio2l.c: Likewise.
35718 * math/k_sinl.c: Likewise.
35719 * math/k_tanl.c: Likewise.
35720 * math/s_asinhl.c: Likewise.
35721 * math/s_atanl.c: Likewise.
35722 * math/s_cbrtl.c: Likewise.
35723 * math/s_erfl.c: Likewise.
35724 * math/s_expm1l.c: Likewise.
35725 * math/s_log1pl.c: Likewise.
35726 * math/s_tanhl.c: Likewise.
35727 * misc/acct.c: Likewise.
35728 * misc/brk.c: Likewise.
35729 * misc/chflags.c: Likewise.
35730 * misc/chroot.c: Likewise.
35731 * misc/fchflags.c: Likewise.
35732 * misc/fgetxattr.c: Likewise.
35733 * misc/flistxattr.c: Likewise.
35734 * misc/fremovexattr.c: Likewise.
35735 * misc/fsetxattr.c: Likewise.
35736 * misc/fsync.c: Likewise.
35737 * misc/ftruncate.c: Likewise.
35738 * misc/futimes.c: Likewise.
35739 * misc/futimesat.c: Likewise.
35740 * misc/getdomain.c: Likewise.
35741 * misc/getdtsz.c: Likewise.
35742 * misc/gethostid.c: Likewise.
35743 * misc/gethostname.c: Likewise.
35744 * misc/getloadavg.c: Likewise.
35745 * misc/getpagesize.c: Likewise.
35746 * misc/getsysstats.c: Likewise.
35747 * misc/getxattr.c: Likewise.
35748 * misc/gtty.c: Likewise.
35749 * misc/ioctl.c: Likewise.
35750 * misc/lgetxattr.c: Likewise.
35751 * misc/listxattr.c: Likewise.
35752 * misc/llistxattr.c: Likewise.
35753 * misc/lremovexattr.c: Likewise.
35754 * misc/lsetxattr.c: Likewise.
35755 * misc/lutimes.c: Likewise.
35756 * misc/madvise.c: Likewise.
35757 * misc/mincore.c: Likewise.
35758 * misc/mlock.c: Likewise.
35759 * misc/mlockall.c: Likewise.
35760 * misc/mmap.c: Likewise.
35761 * misc/mprotect.c: Likewise.
35762 * misc/msync.c: Likewise.
35763 * misc/munlock.c: Likewise.
35764 * misc/munlockall.c: Likewise.
35765 * misc/munmap.c: Likewise.
35766 * misc/preadv.c: Likewise.
35767 * misc/preadv64.c: Likewise.
35768 * misc/ptrace.c: Likewise.
35769 * misc/pwritev.c: Likewise.
35770 * misc/pwritev64.c: Likewise.
35771 * misc/readv.c: Likewise.
35772 * misc/reboot.c: Likewise.
35773 * misc/remap_file_pages.c: Likewise.
35774 * misc/removexattr.c: Likewise.
35775 * misc/revoke.c: Likewise.
35776 * misc/select.c: Likewise.
35777 * misc/setdomain.c: Likewise.
35778 * misc/setegid.c: Likewise.
35779 * misc/seteuid.c: Likewise.
35780 * misc/sethostid.c: Likewise.
35781 * misc/sethostname.c: Likewise.
35782 * misc/setregid.c: Likewise.
35783 * misc/setreuid.c: Likewise.
35784 * misc/setxattr.c: Likewise.
35785 * misc/sstk.c: Likewise.
35786 * misc/stty.c: Likewise.
35787 * misc/swapoff.c: Likewise.
35788 * misc/swapon.c: Likewise.
35789 * misc/sync.c: Likewise.
35790 * misc/syncfs.c: Likewise.
35791 * misc/syscall.c: Likewise.
35792 * misc/truncate.c: Likewise.
35793 * misc/ualarm.c: Likewise.
35794 * misc/usleep.c: Likewise.
35795 * misc/ustat.c: Likewise.
35796 * misc/utimes.c: Likewise.
35797 * misc/vhangup.c: Likewise.
35798 * misc/writev.c: Likewise.
35799 * posix/_exit.c: Likewise.
35800 * posix/alarm.c: Likewise.
35801 * posix/execve.c: Likewise.
35802 * posix/fexecve.c: Likewise.
35803 * posix/fork.c: Likewise.
35804 * posix/fpathconf.c: Likewise.
35805 * posix/getaddrinfo.c: Likewise.
35806 * posix/getegid.c: Likewise.
35807 * posix/geteuid.c: Likewise.
35808 * posix/getgid.c: Likewise.
35809 * posix/getgroups.c: Likewise.
35810 * posix/getlogin.c: Likewise.
35811 * posix/getlogin_r.c: Likewise.
35812 * posix/getpgid.c: Likewise.
35813 * posix/getpid.c: Likewise.
35814 * posix/getppid.c: Likewise.
35815 * posix/getresgid.c: Likewise.
35816 * posix/getresuid.c: Likewise.
35817 * posix/getsid.c: Likewise.
35818 * posix/getuid.c: Likewise.
35819 * posix/glob64.c: Likewise.
35820 * posix/nanosleep.c: Likewise.
35821 * posix/pathconf.c: Likewise.
35822 * posix/pause.c: Likewise.
35823 * posix/posix_madvise.c: Likewise.
35824 * posix/pread.c: Likewise.
35825 * posix/pread64.c: Likewise.
35826 * posix/pwrite.c: Likewise.
35827 * posix/pwrite64.c: Likewise.
35828 * posix/sched_getaffinity.c: Likewise.
35829 * posix/sched_getp.c: Likewise.
35830 * posix/sched_gets.c: Likewise.
35831 * posix/sched_primax.c: Likewise.
35832 * posix/sched_primin.c: Likewise.
35833 * posix/sched_rr_gi.c: Likewise.
35834 * posix/sched_setaffinity.c: Likewise.
35835 * posix/sched_setp.c: Likewise.
35836 * posix/sched_sets.c: Likewise.
35837 * posix/sched_yield.c: Likewise.
35838 * posix/setgid.c: Likewise.
35839 * posix/setlogin.c: Likewise.
35840 * posix/setpgid.c: Likewise.
35841 * posix/setresgid.c: Likewise.
35842 * posix/setresuid.c: Likewise.
35843 * posix/setsid.c: Likewise.
35844 * posix/setuid.c: Likewise.
35845 * posix/sleep.c: Likewise.
35846 * posix/spawni.c: Likewise.
35847 * posix/sysconf.c: Likewise.
35848 * posix/times.c: Likewise.
35849 * posix/wait.c: Likewise.
35850 * posix/wait3.c: Likewise.
35851 * posix/wait4.c: Likewise.
35852 * posix/waitpid.c: Likewise.
35853 * resolv/gai_sigqueue.c: Likewise.
35854 * resource/getpriority.c: Likewise.
35855 * resource/getrlimit.c: Likewise.
35856 * resource/getrusage.c: Likewise.
35857 * resource/nice.c: Likewise.
35858 * resource/setpriority.c: Likewise.
35859 * resource/setrlimit.c: Likewise.
35860 * resource/ulimit.c: Likewise.
35861 * rt/aio_cancel.c: Likewise.
35862 * rt/aio_fsync.c: Likewise.
35863 * rt/aio_read.c: Likewise.
35864 * rt/aio_sigqueue.c: Likewise.
35865 * rt/aio_suspend.c: Likewise.
35866 * rt/aio_write.c: Likewise.
35867 * rt/clock_getres.c: Likewise.
35868 * rt/clock_gettime.c: Likewise.
35869 * rt/clock_nanosleep.c: Likewise.
35870 * rt/clock_settime.c: Likewise.
35871 * rt/lio_listio.c: Likewise.
35872 * rt/mq_close.c: Likewise.
35873 * rt/mq_getattr.c: Likewise.
35874 * rt/mq_notify.c: Likewise.
35875 * rt/mq_open.c: Likewise.
35876 * rt/mq_receive.c: Likewise.
35877 * rt/mq_send.c: Likewise.
35878 * rt/mq_setattr.c: Likewise.
35879 * rt/mq_timedreceive.c: Likewise.
35880 * rt/mq_timedsend.c: Likewise.
35881 * rt/mq_unlink.c: Likewise.
35882 * rt/shm_open.c: Likewise.
35883 * rt/shm_unlink.c: Likewise.
35884 * rt/timer_create.c: Likewise.
35885 * rt/timer_delete.c: Likewise.
35886 * rt/timer_getoverr.c: Likewise.
35887 * rt/timer_gettime.c: Likewise.
35888 * rt/timer_settime.c: Likewise.
35889 * setjmp/__longjmp.c: Likewise.
35890 * setjmp/setjmp.c: Likewise.
35891 * signal/kill.c: Likewise.
35892 * signal/killpg.c: Likewise.
35893 * signal/raise.c: Likewise.
35894 * signal/sigaction.c: Likewise.
35895 * signal/sigaltstack.c: Likewise.
35896 * signal/sigblock.c: Likewise.
35897 * signal/sigignore.c: Likewise.
35898 * signal/sigintr.c: Likewise.
35899 * signal/signal.c: Likewise.
35900 * signal/sigpause.c: Likewise.
35901 * signal/sigpending.c: Likewise.
35902 * signal/sigqueue.c: Likewise.
35903 * signal/sigreturn.c: Likewise.
35904 * signal/sigset.c: Likewise.
35905 * signal/sigsetmask.c: Likewise.
35906 * signal/sigstack.c: Likewise.
35907 * signal/sigsuspend.c: Likewise.
35908 * signal/sigtimedwait.c: Likewise.
35909 * signal/sigvec.c: Likewise.
35910 * signal/sigwait.c: Likewise.
35911 * signal/sigwaitinfo.c: Likewise.
35912 * signal/sysv_signal.c: Likewise.
35913 * socket/accept.c: Likewise.
35914 * socket/accept4.c: Likewise.
35915 * socket/bind.c: Likewise.
35916 * socket/connect.c: Likewise.
35917 * socket/getpeername.c: Likewise.
35918 * socket/getsockname.c: Likewise.
35919 * socket/getsockopt.c: Likewise.
35920 * socket/isfdtype.c: Likewise.
35921 * socket/listen.c: Likewise.
35922 * socket/recv.c: Likewise.
35923 * socket/recvfrom.c: Likewise.
35924 * socket/recvmsg.c: Likewise.
35925 * socket/send.c: Likewise.
35926 * socket/sendmsg.c: Likewise.
35927 * socket/sendto.c: Likewise.
35928 * socket/setsockopt.c: Likewise.
35929 * socket/shutdown.c: Likewise.
35930 * socket/sockatmark.c: Likewise.
35931 * socket/socket.c: Likewise.
35932 * socket/socketpair.c: Likewise.
35933 * stdio-common/ctermid.c: Likewise.
35934 * stdio-common/cuserid.c: Likewise.
35935 * stdio-common/remove.c: Likewise.
35936 * stdio-common/rename.c: Likewise.
35937 * stdio-common/renameat.c: Likewise.
35938 * stdio-common/tempname.c: Likewise.
35939 * stdlib/getcontext.c: Likewise.
35940 * stdlib/makecontext.c: Likewise.
35941 * stdlib/setcontext.c: Likewise.
35942 * stdlib/swapcontext.c: Likewise.
35943 * stdlib/system.c: Likewise.
35944 * streams/fattach.c: Likewise.
35945 * streams/fdetach.c: Likewise.
35946 * streams/getmsg.c: Likewise.
35947 * streams/getpmsg.c: Likewise.
35948 * streams/putmsg.c: Likewise.
35949 * streams/putpmsg.c: Likewise.
35950 * sysdeps/unix/bsd/getpt.c: Likewise.
35951 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35952 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35953 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35955 Likewise.
35956 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35957 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35958 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35959 * sysvipc/msgctl.c: Likewise.
35960 * sysvipc/msgget.c: Likewise.
35961 * sysvipc/msgrcv.c: Likewise.
35962 * sysvipc/msgsnd.c: Likewise.
35963 * sysvipc/semctl.c: Likewise.
35964 * sysvipc/semget.c: Likewise.
35965 * sysvipc/semop.c: Likewise.
35966 * sysvipc/semtimedop.c: Likewise.
35967 * sysvipc/shmat.c: Likewise.
35968 * sysvipc/shmctl.c: Likewise.
35969 * sysvipc/shmdt.c: Likewise.
35970 * sysvipc/shmget.c: Likewise.
35971 * termios/tcdrain.c: Likewise.
35972 * termios/tcflow.c: Likewise.
35973 * termios/tcflush.c: Likewise.
35974 * termios/tcgetattr.c: Likewise.
35975 * termios/tcgetpgrp.c: Likewise.
35976 * termios/tcsendbrk.c: Likewise.
35977 * termios/tcsetattr.c: Likewise.
35978 * termios/tcsetpgrp.c: Likewise.
35979 * time/adjtime.c: Likewise.
35980 * time/clock.c: Likewise.
35981 * time/getitimer.c: Likewise.
35982 * time/gettimeofday.c: Likewise.
35983 * time/setitimer.c: Likewise.
35984 * time/settimeofday.c: Likewise.
35985 * time/stime.c: Likewise.
35986 * time/time.c: Likewise.
35987
359882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35989
a20492cf
PT
35990 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35991 /usr/old/bin.
35992
72e182e3
PT
35993 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35994 instead of spaces.
35995 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35996
fbeafede
JM
359972012-11-03 Joseph Myers <joseph@codesourcery.com>
35998
5b5b04d6
JM
35999 [BZ #14796]
36000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36001 FE_TONEAREST before applying Dekker multiplication and Knuth
36002 addition. Clear inexact exceptions and check for exact zero
36003 results afterwards.
36004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36005 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36007 * math/libm-test.inc (fma_test): Add more tests.
36008 (fma_test_towardzero): Likewise.
36009 (fma_test_downward): Likewise.
36010 (fma_test_upward): Likewise.
36011 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36012 function.
36013 (libc_fesetround): New macro.
36014 (libc_fesetroundf): Likewise.
36015 (libc_fesetroundl): Likewise.
36016 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36017 function.
36018 (libc_fesetround_387): Likewise.
36019 (libc_fesetroundf): New macro.
36020 (libc_fesetround): Likewise.
36021 (libc_fesetroundl): Likewise.
36022 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36023 function.
36024 (libc_fesetroundf): New macro.
36025 (libc_fesetround): Likewise.
36026 (libc_fesetroundl): Likewise.
36027 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36028 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36029 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36030 libm_hidden_ver.
36031 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36032 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36033 libm_hidden_def.
36034 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36035 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36036 libm_hidden_ver.
36037 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36038 libm_hidden_def.
36039
fbeafede
JM
36040 [BZ #3439]
36041 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36042 integer constant usable in #if and use that to give value to enum
36043 constant.
36044 (FE_DIVBYZERO): Likewise.
36045 (FE_UNDERFLOW): Likewise.
36046 (FE_OVERFLOW): Likewise.
36047 (FE_INVALID): Likewise.
36048 (FE_INVALID_SNAN): Likewise.
36049 (FE_INVALID_ISI): Likewise.
36050 (FE_INVALID_IDI): Likewise.
36051 (FE_INVALID_ZDZ): Likewise.
36052 (FE_INVALID_IMZ): Likewise.
36053 (FE_INVALID_COMPARE): Likewise.
36054 (FE_INVALID_SOFTWARE): Likewise.
36055 (FE_INVALID_SQRT): Likewise.
36056 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36057 (FE_TONEAREST): Likewise.
36058 (FE_TOWARDZERO): Likewise.
36059 (FE_UPWARD): Likewise.
36060 (FE_DOWNWARD): Likewise.
36061 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36062 (FE_DIVBYZERO): Likewise.
36063 (FE_OVERFLOW): Likewise.
36064 (FE_UNDERFLOW): Likewise.
36065 (FE_INEXACT): Likewise.
36066 (FE_TONEAREST): Likewise.
36067 (FE_DOWNWARD): Likewise.
36068 (FE_UPWARD): Likewise.
36069 (FE_TOWARDZERO): Likewise.
36070 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36071 (FE_UNDERFLOW): Likewise.
36072 (FE_OVERFLOW): Likewise.
36073 (FE_DIVBYZERO): Likewise.
36074 (FE_INVALID): Likewise.
36075 (FE_TONEAREST): Likewise.
36076 (FE_TOWARDZERO): Likewise.
36077 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36078 (FE_OVERFLOW): Likewise.
36079 (FE_UNDERFLOW): Likewise.
36080 (FE_DIVBYZERO): Likewise.
36081 (FE_INEXACT): Likewise.
36082 (FE_TONEAREST): Likewise.
36083 (FE_TOWARDZERO): Likewise.
36084 (FE_UPWARD): Likewise.
36085 (FE_DOWNWARD): Likewise.
36086 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36087 (FE_DIVBYZERO): Likewise.
36088 (FE_OVERFLOW): Likewise.
36089 (FE_UNDERFLOW): Likewise.
36090 (FE_INEXACT): Likewise.
36091 (FE_TONEAREST): Likewise.
36092 (FE_DOWNWARD): Likewise.
36093 (FE_UPWARD): Likewise.
36094 (FE_TOWARDZERO): Likewise.
36095
105ca950
CM
360962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36097
36098 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36099
a542b389
AS
361002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36101
36102 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36103 commands. Quote $PWD.
36104 (blacklist_exports): Don't use remove_newlines. Replace "declare
36105 -x" by "export".
36106 (remove_newlines): Remove.
36107
f62c8abc
L
361082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36109
36110 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36111 * stdlib/stdlib.h (atof): Moved to ...
36112 * include/bits/stdlib-float.h: Here. New file.
36113 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36114 * stdlib/bits/stdlib-float.h: New file.
36115 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36116 -mno-sse -mno-mmx.
36117 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36118 <xmmintrin.h>.
36119
0155d5b2
JM
361202012-11-02 Joseph Myers <joseph@codesourcery.com>
36121
a68d0680
JM
36122 * conform/conformtest.pl (@headers): Add fenv.h.
36123 * conform/data/fenv.h-data: New file.
36124 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36125 include of <math/fenv.h>.
36126
caf7f573
JM
36127 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36128 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36129 && !UNIX98]. Enables tests for XOPEN2K8.
36130 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36131 POSIX2008]: Likewise.
36132
6c073ad6
JM
36133 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36134 (struct rusage): Do not expect type or its members.
36135
0155d5b2
JM
36136 [BZ #3439]
36137 * math/math.h (FP_NAN): Define macro to integer constant usable in
36138 #if and use that to give value to enum constant.
36139 (FP_INFINITE): Likewise.
36140 (FP_ZERO): Likewise.
36141 (FP_SUBNORMAL): Likewise.
36142 (FP_NORMAL): Likewise.
36143
b5dcacb4
AS
361442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36145
36146 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36147 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36148 arguments.
36149
f7934be8
RM
361502012-11-02 Roland McGrath <roland@hack.frob.com>
36151
36152 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36153 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36154 autoconf-time if not.
36155 * configure.in: Remove AC_PREREQ.
36156
d7d08bde
TMQMF
361572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36158
36159 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36160 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36161 of the internal implementation.
36162
dcdae19a
JM
361632012-11-02 Joseph Myers <joseph@codesourcery.com>
36164
36165 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36166 except include of <misc/sys/syslog.h>.
36167
d6cffd3e
AS
361682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36169
36170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36171 function returns with a NULL context exit with zero.
36172
b3563932
TMQMF
361732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36174
36175 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36176
b288a93d
L
361772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36178
36179 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36180 (run_program_cmd): This.
36181 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36182 (tst_langinfo): New variable. Use it.
36183
a2421a68
SAS
361842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36185
36186 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36187 floating point opcodes.
36188
6f796e1b
TS
361892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36190
7402596b
TS
36191 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36192 variable.
36193
d0d4f868
TS
36194 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36195
6f796e1b
TS
36196 * sysdeps/mach/hurd/powerpc: Remove directory.
36197 * sysdeps/mach/powerpc: Likewise.
36198
4da224a2
AS
361992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36200
36201 * scripts/check-local-headers.sh: Ignore c++ headers.
36202
341dd673
TS
362032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36204
36205 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36206 __libc_cleanup_region_start argument.
36207
473611b2
JM
362082012-11-01 Joseph Myers <joseph@codesourcery.com>
36209
36210 [BZ #14784]
36211 [BZ #14785]
36212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36213 x * y using scaling, not as x * y + z.
36214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36216 * math/libm-test.inc (fma_test): Add more tests.
36217 (fma_test_towardzero): Likewise.
36218 (fma_test_downward): Likewise.
36219 (fma_test_upward): Likewise.
36220
4078da3d
TS
362212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36222
36223 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36224
903252aa
JM
362252012-10-31 Joseph Myers <joseph@codesourcery.com>
36226
36227 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36228 New variable.
36229
cbc818d0
TS
362302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36231
36232 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36233
5a03cb1e
AS
362342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36235
36236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36237 Fix sort order.
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36239 Likewise.
36240
90aff2ff
TMQMF
362412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36242
36243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36244 Fix the order of the list for glibc 2.17.
36245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36246 Likewise.
36247
1818fcb7
AS
362482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36249
36250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36251
ef82f4da
JM
362522012-10-31 Joseph Myers <joseph@codesourcery.com>
36253
16a0e2ec
JM
36254 [BZ #14610]
36255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36256 for low part of x being zero before using __atanl (y).
36257 * math/libm-test.inc (atan2_test): Add another test.
36258
0eb69512
JM
36259 * manual/install.texi (Configuring and compiling): Document
36260 general use of test-wrapper and test-wrapper-env.
36261 * INSTALL: Regenerated.
36262
ef82f4da
JM
36263 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36264 (__fma): Do not extract and scale down low bits on after-rounding
36265 systems when result rounded to normal precision would have normal
36266 exponent.
36267 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36268 (__fmal): Do not extract and scale down low bits on after-rounding
36269 systems when result rounded to normal precision would have normal
36270 exponent.
36271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36272 (__fmal): Do not extract and scale down low bits on after-rounding
36273 systems when result rounded to normal precision would have normal
36274 exponent.
36275 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36276 macro.
36277 (fma_test): Add more tests.
36278 (fma_test_towardzero): Likewise.
36279 (fma_test_downward): Likewise.
36280 (fma_test_upward): Likewise.
36281
954ef0d9
L
362822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36283
36284 * sysdeps/i386/tininess.h: Renamed to ...
36285 * sysdeps/x86/tininess.h: This.
36286 * sysdeps/x86_64/tininess.h: Removed.
36287
df61ffb2
JM
362882012-10-30 Joseph Myers <joseph@codesourcery.com>
36289
36290 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36291 input. Use $(build-program-cmd).
36292 ($(objpfx)tst-array1-static.out): Likewise.
36293 ($(objpfx)tst-array2.out): Likewise.
36294 ($(objpfx)tst-array3.out): Likewise.
36295 ($(objpfx)tst-array4.out): Likewise.
36296 ($(objpfx)tst-array5.out): Likewise.
36297 ($(objpfx)tst-array5-static.out): Likewise.
36298
01767843
CM
362992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36300
47cc1490
CM
36301 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36302 if defined.
36303
01767843
CM
36304 * nss/nsswitch.h (nss_interface_function): Provide new
36305 macro for use with NSS functions.
36306 * grp/initgroups.c: Use new macro.
36307 * nss/getXXbyYY.c: Likewise.
36308 * nss/getXXbyYY_r.c: Likewise.
36309 * nss/getXXent.c: Likewise.
36310 * nss/getXXent_r.c: Likewise.
36311 * sysdeps/posix/getaddrinfo.c: Likewise.
36312
8321aa97
AJ
363132012-10-30 Andreas Jaeger <aj@suse.de>
36314
36315 * po/ru.po: Update Russion translation from translation project.
36316
2a27fd6d
JM
363172012-10-30 Joseph Myers <joseph@codesourcery.com>
36318
8627a232
JM
36319 [BZ #14152]
36320 [BZ #14783]
36321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36322 result and shift together with sticky bit instead of replicating
36323 round-to-nearest rounding.
36324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36326 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36327 missing underflow exceptions.
36328 (fma_test_towardzero): Add more tests.
36329 (fma_test_downward): Likewise.
36330 (fma_test_upward): Likewise.
36331
2a27fd6d
JM
36332 [BZ #14047]
36333 * sysdeps/generic/tininess.h: New file.
36334 * sysdeps/i386/tininess.h: Likewise.
36335 * sysdeps/sh/tininess.h: Likewise.
36336 * sysdeps/x86_64/tininess.h: Likewise.
36337 * stdlib/tst-strtod-underflow.c: Likewise.
36338 * stdlib/tst-tininess.c: Likewise.
36339 * stdlib/strtod_l.c: Include <tininess.h>.
36340 (round_and_return): Do not set errno for exact underflow cases.
36341 Force an underflow exception when setting errno for underflow.
36342 Determine underflow based on rounding to normal precision if
36343 TININESS_AFTER_ROUNDING.
36344 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36345 ERANGE for exact underflow cases.
36346 * stdlib/Makefile (tests): Add tst-tininess and
36347 tst-strtod-underflow.
36348 ($(objpfx)tst-tininess): Use $(link-libm).
36349 ($(objpfx)tst-strtod-underflow): Likewise.
36350
e7170363
AJ
363512012-10-30 Andreas Jaeger <aj@suse.de>
36352
e5088dc6
AJ
36353 [BZ#14767]
36354 * elf/Makefile (tests): Remove conditional for have-initfini-array
36355 since this is now always required and the variable does not exist
36356 anymore.
36357 (tests-static): Likewise.
36358 (modules-names): Likewise.
36359
e7170363 36360 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36361
36362 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36363 merged with constructor/destructor.
36364 (init_array): Likewise.
36365 * elf/tst-array2dep.c (fini_array): Likewise.
36366 (init_array): Likewise.
36367
60457d8a
MF
363682012-10-29 Mike Frysinger <vapier@gentoo.org>
36369
36370 * manual/message.texi: Delete @cartouche tags.
36371
8bece752
PT
363722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36373
94ce799f
PT
36374 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36375 EOPNOTSUPP.
36376 * sysdeps/mach/hurd/fsync.c: Likewise.
36377
8bece752
PT
36378 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36379 [_POSIX_REALTIME_SIGNALS]: Change condition to
36380 [_POSIX_REALTIME_SIGNALS > 0].
36381
86ebe6b1
AJ
363822012-10-27 Andreas Jaeger <aj@suse.de>
36383
36384 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36385 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36387 [__WORDSIZE != 64]: Likewise.
36388
54399c08
L
363892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36390
36391 * iconvdata/tst-table.sh: Remove ${SHELL}.
36392 * iconvdata/tst-tables.sh: Likewise.
36393
e2211bed
DM
363942012-10-25 David S. Miller <davem@davemloft.net>
36395
36396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36397 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36398 of strtoull.
36399
f303f97c
DM
36400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36401 ifunc-impl-list.c
36402 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36403 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36404 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36405 file.
36406
1e9d84cd
RM
364072012-10-25 Roland McGrath <roland@hack.frob.com>
36408
36409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36410 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36411 __getdirentries.
36412
df381762
JM
364132012-10-25 Joseph Myers <joseph@codesourcery.com>
36414 Jim Blandy <jimb@codesourcery.com>
36415
36416 * scripts/cross-test-ssh.sh: New file.
36417 * manual/install.texi (Configuring and compiling): Document use of
36418 cross-test-ssh.sh.
36419 * INSTALL: Regenerated.
36420
bff64913
PT
364212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36422
36423 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36424 EOPNOTSUPP.
36425
25fe8932
JM
364262012-10-25 Joseph Myers <joseph@codesourcery.com>
36427
36428 * Makeconfig (run-program-prefix): Fix comment.
36429
cc1290d0
JM
364302012-10-24 Joseph Myers <joseph@codesourcery.com>
36431 Jim Blandy <jimb@codesourcery.com>
36432
36433 * Makeconfig (test-wrapper): New variable,
36434 (test-wrapper-env): Likewise.
36435 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36436 (run-built-tests): Define to yes.
36437 (run-program-prefix): Use $(test-wrapper).
36438 (built-program-cmd): Likewise.
36439 * Rules (make-test-out): Use $(test-wrapper-env) and
36440 $(host-built-program-cmd).
36441 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36442 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36443 tst-pathopt.sh.
36444 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36445 $(test-wrapper-env) to tst-rtld-load-self.sh.
36446 ($(objpfx)order2.out): Use $(test-wrapper).
36447 ($(objpfx)tst-initorder.out): Likewise.
36448 ($(objpfx)tst-initorder2.out): Likewise.
36449 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36450 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36451 (test_wrapper_env): New variable. Use it to run ld.so.
36452 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36453 Use it to run ld.so.
36454 (test_wrapper_env): Likewise.
36455 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36456 $(test-wrapper) to run-iconv-test.sh.
36457 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36458 (ICONV): Use $test_wrapper.
36459 * posix/Makefile ($(objpfx)globtest.out): Pass
36460 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36461 globtest.sh, not $(run-program-prefix).
36462 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36463 (test_wrapper): Likewise.
36464 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36465 set together with run_via_rtld_prefix.
36466 (run_program_prefix): Define in terms of test_wrapper and
36467 run_via_rtld_prefix.
36468
6e6249d0
RM
364692012-10-24 Roland McGrath <roland@hack.frob.com>
36470
36471 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36472 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36473 Targets removed.
36474
36475 [BZ #14743]
36476 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36477 Declare __clock_getres, __clock_gettime, __clock_settime,
36478 __clock_nanosleep, and __clock_getcpuclockid.
36479 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36480 Remove librt_hidden_def (clock_gettime).
36481 * sysdeps/unix/clock_gettime.c: Likewise.
36482 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36483 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36484 * rt/clock_getres.c: Define __clock_getres as an alias.
36485 * sysdeps/posix/clock_getres.c: Likewise.
36486 * rt/clock_settime.c: Define __clock_settime as an alias.
36487 * sysdeps/unix/clock_settime.c: Likewise.
36488 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36489 * sysdeps/unix/clock_nanosleep.c: Likewise.
36490 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36491 * rt/clock-compat.c: New file.
36492 * rt/Makefile (librt-routines): Add clock-compat and move
36493 $(clock-routines) to ...
36494 (routines): ... here, new variable.
36495 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36496 Don't add get_clockfreq here.
36497 * rt/Versions (libc: GLIBC_2.17): New version set.
36498 Add clock_* symbols here.
36499 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36501 (GLIBC_2.17): Add clock_* symbols.
36502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36506 Likewise.
36507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36508 Likewise.
36509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36513 * NEWS: Mention the move.
36514
36515 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36516 Use __open, __read, __close rather than their public counterparts.
36517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36518 (__get_clockfreq_via_cpuinfo): Likewise.
36519 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36520 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36521
36522 * config.h.in (HAVE_IFUNC): New #undef.
36523 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36524 was successful.
36525 * configure: Regenerated.
36526
0cae3f4b
MF
365272012-10-24 Mike Frysinger <vapier@gentoo.org>
36528
36529 * configure.in: Move READELF check to start of file.
36530 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36531 libc_cv_asm_gnu_indirect_function in the process.
36532 * configure: Regenerated.
36533
8175a253
MF
365342012-10-24 Mike Frysinger <vapier@gentoo.org>
36535
36536 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36537 send the output to /dev/null.
36538 (libc_cv_cc_with_libunwind): Likewise.
36539 (libc_cv_as_noexecstack): Likewise.
36540 * configure: Regenerate.
36541
0708a7d1
JM
365422012-10-24 Joseph Myers <joseph@codesourcery.com>
36543
10b40d85
JM
36544 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36545
0708a7d1
JM
36546 * posix/globtest.sh (TMPDIR): Do not set.
36547 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36548 (testout): Likewise.
36549
9fddec1a
AJ
365502012-10-24 Andreas Jaeger <aj@suse.de>
36551
3a8db22f
AJ
36552 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36553 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36554 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36555 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36556 posix_fadvise64, posix_fallocate64.
36557
9fddec1a
AJ
36558 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36559 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36560 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36561 Likewise.
36562 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36563 Likewise.
36564 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36565
36566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36567 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36568 <bits/fcntl-linux.h>.
36569 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36570
36571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36572 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36573 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36574 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36575 [__WORDSIZE != 64]: Likewise.
36576
ebfd1bbd
JM
365772012-10-23 Joseph Myers <joseph@codesourcery.com>
36578
03ac099f
JM
36579 * Makeconfig (run-built-tests): New variable.
36580 * Rules [$(cross-compiling) = yes]: Change condition to
36581 [$(run-built-tests) = no].
36582 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36583 to [$(run-built-tests) = yes].
36584 * elf/Makefile [$(cross-compiling) = no]: Likewise
36585 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36586 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36587 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36588 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36589 * io/Makefile [$(cross-compiling) = no]: Likewise.
36590 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36591 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36592 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36593 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36594 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36595 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36596 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36597 * string/Makefile [$(cross-compiling) = no]: Likewise.
36598
ebfd1bbd
JM
36599 * posix/Makefile ($(objpfx)globtest.out): Pass
36600 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36601 $(rtld-installed-name).
36602 * posix/globtest.sh (elf_objpfx): Remove variable.
36603 (rtld_installed_name): Likewise.
36604 (library_path): Likewise.
36605 (run_program_prefix): New variable. Use for running globtest
36606 binary.
36607
166bca24
JB
366082012-10-23 Jim Blandy <jimb@codesourcery.com>
36609 Joseph Myers <joseph@codesourcery.com>
36610
36611 * Makeconfig (host-built-program-cmd): New variable.
36612 * elf/Makefile (tst-stackguard1-ARGS): Use
36613 $(host-built-program-cmd).
36614 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36615 (tst-spawn-ARGS): Likewise.
36616 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36617
88866099
JM
366182012-10-23 Joseph Myers <joseph@codesourcery.com>
36619 Jim Blandy <jimb@codesourcery.com>
36620
36621 * Makeconfig (run-via-rtld-prefix): New variable.
36622 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36623 (built-program-cmd): Likewise.
36624
b4b4c296
AJ
366252012-10-22 Andreas Jaeger <aj@suse.de>
36626
36627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36628 __O_RSYNC if it exists, otherwise to O_SYNC.
36629
6fb54a22
JB
366302012-10-22 Jim Blandy <jimb@codesourcery.com>
36631 Joseph Myers <joseph@codesourcery.com>
36632
36633 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36634 /dev/null.
36635 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36636 from /dev/null
36637 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36638 /dev/null.
36639
481b90b9
AJ
366402012-10-22 Andreas Jaeger <aj@suse.de>
36641
2a0e2669
AJ
36642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36643 Define always.
36644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36645
76e38f9a
AJ
36646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36647 bits/fcntl-linux.h.
36648
7cd37b43
AJ
36649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36650 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36651
481b90b9
AJ
36652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36653 to __O_LARGEFILE.
36654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36655 to __O_LARGEFILE.
36656
aba75984
JB
366572012-10-21 Jim Blandy <jimb@codesourcery.com>
36658 Joseph Myers <joseph@codesourcery.com>
36659
36660 * config.make.in (NM): New variable.
36661
88d4247f
AJ
366622012-10-21 Andreas Jaeger <aj@suse.de>
36663
36664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36665 definitions and declarations that are provided by
36666 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36667
f2eed205
L
366682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36669
36670 [BZ #14683]
36671 * elf/Makefile (tests-static): Add tst-leaks1-static.
36672 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36673 ($(objpfx)tst-leaks1-static): New rule.
36674 ($(objpfx)tst-leaks1-static-mem): Likewise.
36675 (tst-leaks1-static-ENV): New macro.
36676 * elf/dl-open.c (dl_open_worker): Check the main application
36677 only if SHARED is defined.
36678 * elf/tst-leaks1-static.c: New file.
36679
335e6931
AJ
366802012-10-20 Andreas Jaeger <aj@suse.de>
36681
36682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36683 generic values for Linux.
36684 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36685 and declarations that are provided by <bits/fcntl-linux.h> and
36686 include <bits/fcntl-linux.h>.
36687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36689
ac5c94d3
RM
366902012-10-20 Roland McGrath <roland@hack.frob.com>
36691
36692 * io/fcntl.h: Move include of <bits/types.h> to the top and
36693 include it unconditionally.
36694
de54b33a
L
366952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36696
228cfb01
L
36697 * wcsmbs/Makefile (tests-ifunc): New variable.
36698 (tests): Add $(tests-ifunc).
36699 * wcsmbs/test-wcschr-ifunc.c: New file.
36700 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36701 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36702 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36703 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36704 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36705
69f07e5f
L
36706 * string/Makefile (tests-ifunc): New variable.
36707 (tests): Add $(tests-ifunc).
36708 * string/test-memccpy.c (TEST_NAME): New macro.
36709 * string/test-memchr.c (TEST_NAME): Likewise.
36710 * string/test-memcmp.c (TEST_NAME): Likewise.
36711 * string/test-memcpy.c (TEST_NAME): Likewise.
36712 * string/test-memmem.c (TEST_NAME): Likewise.
36713 * string/test-memmove.c (TEST_NAME): Likewise.
36714 * string/test-memset.c (TEST_NAME): Likewise.
36715 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36716 * string/test-stpcpy.c (TEST_NAME): Likewise.
36717 * string/test-stpncpy.c (TEST_NAME): Likewise.
36718 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36719 * string/test-strcasestr.c (TEST_NAME): Likewise.
36720 * string/test-strcat.c (TEST_NAME): Likewise.
36721 * string/test-strchr.c (TEST_NAME): Likewise.
36722 * string/test-strcmp.c(TEST_NAME): Likewise.
36723 * string/test-strcpy.c (TEST_NAME): Likewise.
36724 * string/test-strcspn.c (TEST_NAME): Likewise.
36725 * string/test-strlen.c (TEST_NAME): Likewise.
36726 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36727 * string/test-strncmp.c (TEST_NAME): Likewise.
36728 * string/test-strncpy.c (TEST_NAME): Likewise.
36729 * string/test-strnlen.c (TEST_NAME): Likewise.
36730 * string/test-strpbrk.c (TEST_NAME): Likewise.
36731 * string/test-strrchr.c (TEST_NAME): Likewise.
36732 * string/test-strspn.c (TEST_NAME): Likewise.
36733 * string/test-strstr.c (TEST_NAME): Likewise.
36734 * string/test-bcopy-ifunc.c: New file.
36735 * string/test-bzero-ifunc.c: Likewise.
36736 * string/test-memccpy-ifunc.c: Likewise.
36737 * string/test-memchr-ifunc.c: Likewise.
36738 * string/test-memcmp-ifunc.c: Likewise.
36739 * string/test-memcpy-ifunc.c: Likewise.
36740 * string/test-memmem-ifunc.c: Likewise.
36741 * string/test-memmove-ifunc.c: Likewise.
36742 * string/test-mempcpy-ifunc.c: Likewise.
36743 * string/test-memset-ifunc.c: Likewise.
36744 * string/test-rawmemchr-ifunc.c: Likewise.
36745 * string/test-stpcpy-ifunc.c: Likewise.
36746 * string/test-stpncpy-ifunc.c: Likewise.
36747 * string/test-strcasecmp-ifunc.c: Likewise.
36748 * string/test-strcasestr-ifunc.c: Likewise.
36749 * string/test-strcat-ifunc.c: Likewise.
36750 * string/test-strchr-ifunc.c: Likewise.
36751 * string/test-strchrnul-ifunc.c: Likewise.
36752 * string/test-strcmp-ifunc.c: Likewise.
36753 * string/test-strcpy-ifunc.c: Likewise.
36754 * string/test-strcspn-ifunc.c: Likewise.
36755 * string/test-strlen-ifunc.c: Likewise.
36756 * string/test-strncasecmp-ifunc.c: Likewise.
36757 * string/test-strncat-ifunc.c: Likewise.
36758 * string/test-strncmp-ifunc.c: Likewise.
36759 * string/test-strncpy-ifunc.c: Likewise.
36760 * string/test-strnlen-ifunc.c: Likewise.
36761 * string/test-strpbrk-ifunc.c: Likewise.
36762 * string/test-strrchr-ifunc.c: Likewise.
36763 * string/test-strspn-ifunc.c: Likewise.
36764 * string/test-strstr-ifunc.c: Likewise.
36765
de54b33a
L
36766 * debug/Makefile (tests-ifunc): New variable.
36767 (tests): Add $(tests-ifunc).
36768 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36769 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36770 * debug/test-stpcpy_chk-ifunc.c: New file.
36771 * debug/test-strcpy_chk-ifunc.c: Likewise.
36772
88481c16
SP
367732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36774
36775 [BZ #13601]
36776 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36777 header is not read in.
36778
135948bd
JM
367792012-10-19 Joseph Myers <joseph@codesourcery.com>
36780
89f1c388
JM
36781 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36782 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36783 directly. Pass built executable to script as
36784 $(built-program-cmd).
36785 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36786 $testprogram without using LD_LIBRARY_PATH and $ldso.
36787
e40a0d21
JM
36788 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36789 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36790 $(rtld-installed-name).
36791 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36792 (rtld_installed_name): Likewise.
36793 (library_path): Likewise.
36794 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36795 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36796 $(run-program-prefix) to tst-tables.sh.
36797 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36798 it to run tst-table-from and tst-table-to.
36799 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36800 Pass it to tst-table.sh.
36801 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36802 $(run-program-prefix) to tst-gettext.sh.
36803 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36804 tst-translit.sh.
36805 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36806 tst-gettext2.sh.
36807 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36808 to run tst-gettext.
36809 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36810 to run tst-gettext2.
36811 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36812 to run tst-translit.
36813 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36814 $(run-program-prefix) to tst-mtrace.sh.
36815 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36816 to run tst-mtrace.
36817 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36818 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36819 $(rtld-installed-name).
36820 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36821 (rtld_installed_name): Likewise.
36822 (run_program_prefix): New variable. Use it to run wordexp-test.
36823
728e272a
JM
36824 * Makeconfig (ARCH): Remove all definitions.
36825 (machine): Likewise.
36826 [ARCH]: Remove conditional code.
36827 [!objdir]: Give error.
36828 [!objdir] (objpfx): Remove.
36829 [!objdir] (common-objpfx): Likewise.
36830 [!objdir] (common-objdir): Likewise.
36831 * configure.in (config_makefile): Remove. Hardcode Makefile in
36832 AC_CONFIG_FILES call.
36833 * configure: Regenerated.
36834
d528cdcf
JM
36835 [BZ #13888]
36836 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36837 or TMPDIR.
36838 (testout): Likewise.
36839
135948bd
JM
36840 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36841 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36842 $(rtld-installed-name).
36843 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36844 (rtld_installed_name): Likwise.
36845 (runit): Remove function.
36846 (run_getconf): New variable, Use it for running getconf binary.
36847
38c78296
L
368482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36849
36850 [BZ #14716]
36851 * string/test-memmem.c (check_result): New function.
36852 (do_one_test): Use it.
36853 (check1): New function.
36854 (test_main): Use it.
36855
d077f65f
MT
368562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36857
36858 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36859
ced52c71
JM
368602012-10-18 Joseph Myers <joseph@codesourcery.com>
36861
36862 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36863 (_G_LSEEK64): Likewise.
36864 (_G_MMAP64): Likewise.
36865 (_G_FSTAT64): Likewise.
36866 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36867 (_G_LSEEK64): Likewise.
36868 (_G_MMAP64): Likewise.
36869 (_G_FSTAT64): Likewise.
36870 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36871 unconditional. Call __mmap64 directly.
36872 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36873 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36874 __lseek64 directly.
36875 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36876 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36877 __mmap64 directly.
36878 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36879 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36880 __lseek64 directly.
36881 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36882 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36883 __lseek64 directly.
36884 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36885 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36886 __lseek64 directly.
36887 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36888 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36889 __fxstat64 directly.
36890 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36891 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36892 unconditional.
36893 (freopen64) [!_G_OPEN64]: Remove conditional code.
36894 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36895 unconditional.
36896 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36897 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36898 unconditional.
36899 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36900 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36901 unconditional.
36902 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36903 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36904 unconditional.
36905 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36906 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36907 unconditional.
36908 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36909 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36910 unconditional.
36911 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36912 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36913 unconditional.
36914 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36915
b741de23
SP
369162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36917
36918 [BZ #12140]
36919 * manual/memory.texi (Malloc Tunable Parameters): Add note
36920 about free list pointers overwriting some perturb bytes.
36921 Wording suggested by Roland McGrath.
36922
f9b9d9c9
JM
369232012-10-17 Joseph Myers <joseph@codesourcery.com>
36924
36925 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36926 (lgamma_test): Likewise.
36927 (tgamma_test): Likewise.
36928
172a631a
FW
369292012-10-16 Florian Weimer <fweimer@redhat.com>
36930
36931 [BZ #14700]
36932 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36933 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36934
e9f37252
MK
369352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36936
36937 * NEWS: Mention BZ #14716.
36938 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36939 when removing AVAILABLE1_USES_J macro.
36940
d394eb74
L
369412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36942
36943 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36944 (__bswap_64): __uint64_t for unsigned 64-bit int.
36945
ca38dc17
AS
369462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36947
36948 * include/string.h (memmem): Declare libc hidden alias.
36949 * string/memmem.c (memmem): Define libc hidden alias.
36950 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36951 __read, __close instead of open, read, close.
36952
9a387d1f
L
369532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36954
ac49ecaf
L
36955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36956 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36957 global and hidden.
36958 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36959 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36960 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36961 Likewise.
36962 (__rawmemchr_sse2): Likewise.
36963 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36964 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36965 (__strchr_sse2): Likewise.
36966 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36967 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36968 (__strcasecmp_sse2): Likewise.
36969 (__strncasecmp_sse2): Likewise.
36970 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36971 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36972 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36973 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36974 (__strrchr_sse2): Likewise.
36975 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36976 ifunc-impl-list.c.
36977 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36978 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36979 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36980 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36981 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36982 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36983 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36984 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36985 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36986 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36987 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36988 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36989 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36990 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36991 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36992 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36993 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36994 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36995 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36996 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36997 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36998 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36999 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37000 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37001 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37002 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37003 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37004 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37005 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37006 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37007
b090e8ea
L
37008 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37009 global and hidden.
37010 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37011 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37012 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37013 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37014 Likewise.
37015 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37016 Likewise.
37017 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37018 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37019 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37020 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37021 ifunc-impl-list.c.
37022 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37023 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37025 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37026 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37027 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37028 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37029 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37030 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37031 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37032 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37033 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37034 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37035 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37036 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37039 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37040 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37041 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37043 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37044 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37045 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37047 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37048 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37049 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37050 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37052 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37053 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37054 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37055 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37056 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37057 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37058 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37059 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37060 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37061 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37062 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37063
11dd4af6
L
37064 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37065 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37066 * include/ifunc-impl-list.h: New file.
37067 * misc/ifunc-impl-list.c: Likewise.
37068 * misc/Makefile (routines): Add ifunc-impl-list.
37069 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37070 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37071 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37072 TEST_NAME]: New variables.
11dd4af6
L
37073 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37074 are defined.
37075 (test_init): Call __libc_ifunc_impl_list to initialize
37076 func_list if TEST_IFUNC and TEST_NAME are defined.
37077
9a387d1f
L
37078 * string/Makefile (strop-tests): Add bcopy and bzero.
37079 * string/test-bcopy.c: New file.
37080 * string/test-bzero.c: Likewise.
37081 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37082 defined.
37083 * string/test-memset.c: Support bzero test if TEST_BZERO is
37084 defined.
37085 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37086 __libc_memmove.
37087 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37088 __libc_memset.
37089 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37090 of memset.
37091
472371b9
JM
370922012-10-10 Joseph Myers <joseph@codesourcery.com>
37093
1e4a9536
JM
37094 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37095 * configure: Regenerated.
37096
d173d12e
JM
37097 * Makeconfig (+link-static-before-libc): Don't include
37098 $(link-static-libc).
37099
472371b9
JM
37100 * libio/libio.h (_IO_pos_t): Remove.
37101
89a3ad0b
AO
371022012-10-10 Alexandre Oliva <aoliva@redhat.com>
37103
37104 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37105 McGrath.
37106
e7451425
AO
371072012-10-10 Alexandre Oliva <aoliva@redhat.com>
37108
37109 * crypt/crypt-entry.c: Include fips-private.h.
37110 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37111 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37112 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37113 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37114
4ba74a35
AO
371152012-10-10 Alexandre Oliva <aoliva@redhat.com>
37116
37117 * crypt/crypt-private.h: Include stdbool.h.
37118 (_ufc_setup_salt_r): Return bool.
37119 * crypt/crypt-entry.c: Include errno.h.
37120 (__crypt_r): Return NULL with EINVAL for bad salt.
37121 * crypt/crypt_util.c (bad_for_salt): New.
37122 (_ufc_setup_salt_r): Check that salt is long enough and within
37123 the specified alphabet.
37124 * crypt/badsalttest.c: New file.
37125 * crypt/Makefile (tests): Add it.
37126 ($(objpfx)badsalttest): New.
37127
f96f1242
MK
371282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37129
37130 * NEWS: Add entry for BZ #14602.
37131
0e8e0c1c
JM
371322012-10-09 Joseph Myers <joseph@codesourcery.com>
37133
37134 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37135 type-generic.
37136 * math/libm-test.inc: Update comment listing what functions and
37137 macros are tested.
37138 (isgreater_test): New function.
37139 (isgreaterequal_test): Likewise.
37140 (isless_test): Likewise.
37141 (islessequal_test): Likewise.
37142 (islessgreater_test): Likewise.
37143 (isunordered_test): Likewise.
37144 (main): Call the new functions.
37145
273edc5e
RM
371462012-10-09 Roland McGrath <roland@hack.frob.com>
37147
b8493de0
RM
37148 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37149 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37150 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37151 * sysdeps/i386/configure: Regenerated.
37152 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37153 * sysdeps/mach/configure: Regenerated.
37154 * sysdeps/mach/hurd/configure: Regenerated.
37155 * sysdeps/powerpc/configure: Regenerated.
37156 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37157 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37158 * sysdeps/s390/s390-32/configure: Regenerated.
37159 * sysdeps/s390/s390-64/configure: Regenerated.
37160 * sysdeps/sh/configure: Regenerated.
37161 * sysdeps/sparc/configure: Regenerated.
37162 * sysdeps/unix/sysv/linux/configure: Regenerated.
37163 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37164 * sysdeps/x86_64/configure: Regenerated.
37165
273edc5e
RM
37166 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37167 defined. Don't check if MAP is NULL.
37168
c8450f70
JM
371692012-10-09 Joseph Myers <joseph@codesourcery.com>
37170
37171 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37172 (_G_stat64): Likewise.
37173 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37174 (_G_stat64): Likewise.
37175 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37176 instead of struct _G_stat64.
37177 * libio/fileops.c (mmap_remap_check): Likewise.
37178 (decide_maybe_mmap): Likewise.
37179 (_IO_new_file_seekoff): Likewise.
37180 (_IO_file_stat): Likewise.
37181 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37182 _G_off64_t.
37183 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37184 instead of struct _G_stat64.
37185 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37186
57e605ba
MK
371872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37188
37189 [BZ #14602]
37190 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37191 Replace with ...
37192 (CHECK_EOL): New macro.
37193 (two_way_short_needle): Check beginning of haystack for EOL. Use
37194 CHECK_EOL.
37195 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37196 Replace with CHECK_EOL.
37197 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37198 Replace with CHECK_EOL.
37199
ef1bb361
JM
372002012-10-08 Joseph Myers <joseph@codesourcery.com>
37201
37202 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37203 type-generic.
37204 * math/libm-test.inc: Update comment listing what functions and
37205 macros are tested.
37206 (finite_test): New function.
37207 (isinf_test): Likewise.
37208 (isnan_test): Likewise.
37209 (fpclassify_test): Test subnormal input.
37210 (isfinite_test): Likewise.
37211 (isnormal_test): Likewise.
37212 (main): Call the new functions.
37213
55f11534
JN
372142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37215
37216 [BZ #14660]
37217 * Makerules (%.dynsym): Force C locale when running
37218 $(OBJDUMP) --dynamic-syms.
37219
1ab29350
AS
372202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37221
37222 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37223 <stdint.h>.
37224
f1ecb7ef
DM
372252012-10-06 David S. Miller <davem@davemloft.net>
37226
37227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37228 upper 32-bits of the length value in %o2 since we use branch-on-register
37229 tests which consider the entire 64-bit register.
37230
5d41d91a
L
372312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37232
37233 * string/test-strstr.c (check2): Add a test for page boundary.
37234
3baddb72
DM
372352012-10-05 David S. Miller <davem@davemloft.net>
37236
37237 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37238 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37239 file.
37240 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37241 sysdep_routines.
37242 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37243 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37244 and bzero when HWCAP_SPARC_CRYPTO is present.
37245
9cee5585
L
372462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37247
d7e0dab9
L
37248 [BZ #14602]
37249 * string/test-strstr.c (check2): New function.
37250 (test_main): Call check2.
37251
03759f47
L
37252 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37253 and bug-strchr1.
37254 * string/bug-strcasestr1.c (do_test): Moved to ...
37255 * string/test-strcasestr.c (check1): Here. New function.
37256 (do_one_test): Break out result checking code into ...
37257 (check_result): This. New function.
37258 (do_one_test): Call check_result.
37259 (test_main): Call check1.
37260 * string/bug-strchr1.c (do_test): Moved to ...
37261 * string/test-strchr.c (check1): Here. New function.
37262 (do_one_test): Break out result checking code into ...
37263 (check_result): This. New function.
37264 (do_one_test): Call check_result.
37265 (test_main): Call check1.
37266 * string/bug-strstr1.c (main): Moved to ...
046f153e 37267 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37268 (do_one_test): Break out result checking code into ...
37269 (check_result): This. New function.
37270 (do_one_test): Call check_result.
37271 (test_main): Call check1.
37272 * string/bug-strcasestr1.c: Removed.
37273 * string/bug-strchr1.c: Likewise.
37274 * string/bug-strstr1.c: Likewise.
37275
53cea63e
L
37276 * elf/Makefile (dl-routines): Add hwcaps.
37277 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37278 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37279 (_dl_important_hwcaps): Moved to ...
37280 * elf/dl-hwcaps.c: Here. New file.
37281 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37282
9cee5585 37283 [BZ #14557]
bb859b06
L
37284 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37285 if IS_IN_rtld isn't defined.
37286
9cee5585
L
37287 * elf/dl-support.c (_dl_sysinfo_map): New.
37288 Include "get-dynamic-info.h" and "setup-vdso.h".
37289 (_dl_non_dynamic_init): Call setup_vdso.
37290 * elf/dynamic-link.h: Don't include <assert.h>.
37291 (elf_get_dynamic_info): Moved to ...
37292 * elf/get-dynamic-info.h: Here. New file.
37293 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37294 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37295 * elf/setup-vdso.h: Here. New file.
37296 * elf/rtld.c: Include "setup-vdso.h".
37297 (dl_main): Call setup_vdso.
37298
23c31b76
JM
372992012-10-05 Joseph Myers <joseph@codesourcery.com>
37300
28234b07
JM
37301 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37302 creal in comment listing functions tested. List finite, isinf,
37303 isnan, isless, islessequal, isgreater, isgreaterequal,
37304 islessgreater, isunordered, lgamma_r and pow10 as functions and
37305 macros not tested. Mention which functions not tested are aliases
37306 for other functions. Fix typo. Note that signs of NaNs are not
37307 tested.
37308
23c31b76
JM
37309 * scripts/config.guess: Update from config.git.
37310 * scripts/config.sub: Likewise.
37311
9043e228
RM
373122012-10-04 Roland McGrath <roland@hack.frob.com>
37313
37314 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37315 * misc/madvise.c (madvise): Renamed to __madvise.
37316 Make madvise a weak alias.
37317 * include/sys/mman.h: Declare __madvise.
37318 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37319 * sysdeps/unix/syscalls.list
37320 (madvise): Make __madvise the strong name, and madvise a weak alias.
37321 * sysdeps/unix/sysv/linux/syscalls.list
37322 (madvise, mmap): Remove redundant entries.
37323 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37324 * malloc/malloc.c (mtrim): Likewise.
37325 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37326
f57f8055
RM
373272012-10-03 Roland McGrath <roland@hack.frob.com>
37328
37329 * sysdeps/mach/hurd/dl-cache.c: File removed.
37330 * config.h.in (USE_LDCONFIG): New #undef.
37331 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37332 * configure: Regenerated.
37333 * elf/Makefile (dl-routines): Add dl-cache only under
37334 [$(use-ldconfig) = yes].
37335 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37336 cache on [USE_LDCONFIG].
37337 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37338 [USE_LDCONFIG].
37339 * elf/rtld.c (dl_main): Likewise.
37340
5bb0c10a
PT
373412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37342
37343 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37344 _SC_LEVEL4_CACHE_LINESIZE.
37345
010188c6
RM
373462012-10-03 Roland McGrath <roland@hack.frob.com>
37347
37348 * sysdeps/unix/bsd/confstr.h: File removed.
37349
b6c5ec07
AO
373502012-10-02 Alexandre Oliva <aoliva@redhat.com>
37351
37352 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37353 sys/sdt-config.h.
37354
408223d4
RM
373552012-10-02 Roland McGrath <roland@hack.frob.com>
37356
37357 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37358 Make 'mapoff' field ElfW(Off) rather than off_t.
37359
bb9510dc
DL
373602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37361
fc997c6e
DL
37362 * nscd/Makefile: Remove nscd-cflags and all its users.
37363 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37364 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37365
bb9510dc
DL
37366 [BZ #10631]
37367 * malloc.c (malloc_printerr): Clarify error message.
37368
05699367
L
373692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37370
37371 [BZ #14648]
37372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37373 Set bit_FMA_Usable if FMA is supported.
37374 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37375 macro.
37376 (bit_FMA4_Usable): Updated.
37377 (index_FMA_Usable): New macro.
37378 (CPUID_FMA): Likewise
37379 (HAS_FMA): Defined with bit_FMA_Usable.
37380
51367701
RM
373812012-10-01 Roland McGrath <roland@hack.frob.com>
37382
37383 * bits/types.h (__swblk_t): Type removed.
37384 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37385 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37386 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37387 (__SWBLK_T_TYPE): Likewise.
37388 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37389 (__SWBLK_T_TYPE): Likewise.
37390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37391 (__SWBLK_T_TYPE): Likewise.
37392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37393 (__SWBLK_T_TYPE): Likewise.
37394
4d57bf63 373952012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37396 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37397
37398 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37399 (xdr_mapname): Use YPMAXMAP as maxsize.
37400 (xdr_peername): Use YPMAXPEER as maxsize.
37401 (xdr_keydat): Use YPAXRECORD as maxsize.
37402 (xdr_valdat): Use YPMAXRECORD as maxsize.
37403
93c65d43
RM
374042012-10-01 Roland McGrath <roland@hack.frob.com>
37405
497a03d6
RM
37406 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37407
93c65d43
RM
37408 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37409 * csu/init-first.c: ... here.
37410 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37411 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37412 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37413 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37414 * sysdeps/i386/init-first.c: File removed.
37415 * sysdeps/sh/init-first.c: File removed.
37416
bec749fd
JM
374172012-10-01 Joseph Myers <joseph@codesourcery.com>
37418
37419 [BZ #14645]
37420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37421 if x * y might underflow to zero and z is zero.
37422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37423 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37424 * math/libm-test.inc (min_subnorm_value): New variable.
37425 (fma_test): Add more tests.
37426 (fma_test_towardzero): Likewise.
37427 (fma_test_downward): Likewise
37428 (fma_test_upward): Likewise.
37429 (initialize): Set min_subnorm_value.
37430
8ec5b013
JM
374312012-09-29 Joseph Myers <joseph@codesourcery.com>
37432
37433 [BZ #14638]
37434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37435 0 + 0.
37436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37437 mode for addition resulting in exact zero.
37438 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37440 exact 0 + 0.
37441 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37443 * math/libm-test.inc (fma_test): Add more tests.
37444 (fma_test_towardzero): New function.
37445 (fma_test_downward): Likewise.
37446 (fma_test_upward): Likewise.
37447 (main): Call the new functions.
37448
b1fa802e
DM
374492012-09-28 David S. Miller <davem@davemloft.net>
37450
37451 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37452
d3b9fd9e
RM
374532012-09-28 Roland McGrath <roland@hack.frob.com>
37454
ea4d37b3
RM
37455 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37456 instead of SIGALRM.
37457
ac51c949
RM
37458 * sysdeps/gnu/_G_config.h: Moved to ...
37459 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37460 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37461 * sysdeps/generic/_G_config.h: ... here.
37462
28c195f7
RM
37463 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37464
848917f9
RM
37465 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37466
6bacf05b
RM
37467 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37468 Conditionalize target on [libnss_test1.so-version].
37469
91363dbb
RM
37470 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37471
cc87f7d8
RM
37472 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37473 (elfobjdir): Move out of conditionals.
37474
b1c608fe
RM
37475 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37476 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37477 (__nss_lookup_function): Conditionalize label remove_from_tree on
37478 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37479
1d9a6d96
DM
374802012-09-28 David S. Miller <davem@davemloft.net>
37481
37482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37483 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37484 file.
37485 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37486 sysdep_routines.
37487 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37489 when HWCAP_SPARC_CRYPTO is present.
37490
72581615
PT
374912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37492
37493 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37494
715a900c
JL
374952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37496
37497 [BZ #6530]
37498 * stdio-common/vfprintf.c (process_string_arg): Revert
37499 2000-07-22 change.
37500
375012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37502
37503 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37504 for testcase.
37505 * stdio-common/tst-sprintf.c: Include <locale.h>
37506 (main): Test sprintf's handling of incomplete multibyte
37507 characters.
37508
9bac1d86
L
375092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37510
37511 * elf/dl-runtime.c (VERSYMIDX): Removed.
37512 * elf/dl-version.c (VERSYMIDX): Likewise.
37513 * elf/do-rel.h (VERSYMIDX): Likewise.
37514 (VALIDX): Likewise.
37515 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37516 * elf/rtld.c (VALIDX): Likewise.
37517 (ADDRIDX): Likewise.
9bac1d86
L
37518 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37519 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37520 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37521 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37522 (VALIDX): Likewise.
37523 (ADDRIDX): Likewise.
9bac1d86 37524
b31606c0
PT
375252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37526
37527 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37528
11541177
JL
375292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37530
37531 [BZ #11438]
37532 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37533 to global scope.
37534 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37535 addresses are in the same scope as 192.0.2/24.
37536 * posix/gai.conf: Document new scope table defaults.
37537
adb26fae
SP
375382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37539
37540 [BZ #5298]
37541 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37542 for ftell. Compute offsets from write pointers instead.
37543 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37544
4573c6b0
SP
375452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37546
37547 [BZ #14543]
37548 * libio/Makefile (tests): New test case tst-fseek.
37549 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37550 combination works in wide mode.
37551 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37552 state when the external buffer state changes.
37553
aa9bbfe6
DM
375542012-09-27 David S. Miller <davem@davemloft.net>
37555
37556 [BZ #14376]
37557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37558 pass reloc->r_addend in as the 'high' argument to
37559 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37560
784421e7
DM
37561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37562
c39bc8b8
PT
375632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37564
37565 * rt/tst-aio2.c: Include <pthread.h>.
37566 * rt/tst-aio3.c: Likewise.
37567
1ccc2399
SE
375682012-09-27 Steve Ellcey <sellcey@mips.com>
37569
37570 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37571
31ed4153
L
375722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37573
25f5f885
L
37574 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37575 contents on [SHARED].
31ed4153 37576
b7bfe116
MP
375772012-09-26 Marek Polacek <polacek@redhat.com>
37578
37579 [BZ #14530]
37580 [BZ #13741]
37581 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37582 for C++ and GCC <4.3 as well as for non GCC compilers.
37583
43c4edba
MT
375842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37585
37586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37587
6a1bf82f
RM
375882012-09-25 Roland McGrath <roland@hack.frob.com>
37589
37590 * Makefile.in (all, install): Declare with .PHONY.
37591 Reported by Michael Hope <michael.hope@linaro.org>.
37592
8ad11b9a
TMQMF
375932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37594
37595 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37596 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37597 system header.
37598 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37599 Likewise.
37600 (sydep_routines): Add the new and the internal functions.
37601 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37602 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37604 (GLIBC_2.17): Add the new function.
37605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37606 (GLIBC_2.17): Likewise.
37607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37608 (GLIBC_2.17): Likewise.
37609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37610 (GLIBC_2.17): Likewise.
37611 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37612
7e2fca8d
AM
376132012-09-25 Alan Modra <amodra@gmail.com>
37614
37615 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37616 Add release barrier before setting once_control to say
37617 initialisation is done. Add hints on lwarx. Use macro in
37618 place of isync.
37619 (clear_once_control): Add release barrier.
37620
b87c4b24
JM
376212012-09-25 Joseph Myers <joseph@codesourcery.com>
37622
d032e0d2
JM
37623 [BZ #13629]
37624 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37625 specially.
37626 * math/s_clog10.c (__clog10): Likewise.
37627 * math/s_clog10f.c (__clog10f): Likewise.
37628 * math/s_clog10l.c (__clog10l): Likewise.
37629 * math/s_clogf.c (__clogf): Likewise.
37630 * math/s_clogl.c (__clogl): Likewise.
37631 * math/Makefile (libm-calls): Add x2y2m1.
37632 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37633 (__x2y2m1): Likewise.
37634 (__x2y2m1l): Likewise.
37635 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37636 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37639 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37640 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37641 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37642 * sysdeps/i386/fpu/libm-test-ulps: Update.
37643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37644
b87c4b24
JM
37645 [BZ #14621]
37646 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37647 int as type of variable DEPTH.
37648 (glob): Use size_t instead of int as type of variables NEWCOUNT
37649 and OLD_PATHC.
37650
6d3bf199
LD
376512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37652
22bf5c17
LD
37653 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37654 Add s_sincosf-sse2.
37655 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37656 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37657 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37658 macros for using routine as __sincosf_ia32.
37659 Use macro for function declaration and weak_alias.
37660 * sysdeps/i386/fpu/libm-test-ulps: Update.
37661
37662 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37664
37665 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37666 subnormal argument.
37667 * math/s_cexpf.c (__cexpf): Likewise.
37668 * math/s_csinf.c (__csinf): Likewise.
37669 * math/s_csinhf.c (__csinhf): Likewise.
37670 * math/s_ctanf.c (__ctanf): Likewise.
37671 * math/s_ctanhf.c (__ctanhf): Likewise.
37672 * math/s_ccosh.c (__ccoshf): Likewise.
37673 * math/s_cexp.c (__cexpl): Likewise.
37674 * math/s_csin.c (__csin): Likewise.
37675 * math/s_csinh.c (__csinh): Likewise.
37676 * math/s_ctan.c (__ctan): Likewise.
37677 * math/s_ctanh.c (ctanh): Likewise.
37678 * math/s_ccoshl.c (__ccoshl): Likewise.
37679 * math/s_cexpl.c (__cexpl): Likewise.
37680 * math/s_csinl.c (__csinl): Likewise.
37681 * math/s_csinhl.c (__csinhl): Likewise.
37682 * math/s_ctanl.c (__ctanl): Likewise.
37683 * math/s_ctanhl.c (__ctanhl): Likewise.
37684
203e5603
JM
376852012-09-25 Joseph Myers <joseph@codesourcery.com>
37686
37687 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37688 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37689 (_IO_off_t): Define to __off_t, not _G_off_t.
37690 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37691 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37692 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37693 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37694 type of __dummy and __dummy2 fields.
37695 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37696 (_G_ssize_t): Likewise.
37697 (_G_off_t): Likewise.
37698 (_G_pid_t): Likewise.
37699 (_G_uid_t): Likewise.
37700 (_G_wchar_t): Likewise.
37701 (_G_wint_t): Likewise.
37702 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37703 (_G_ssize_t): Likewise.
37704 (_G_off_t): Likewise.
37705 (_G_pid_t): Likewise.
37706 (_G_uid_t): Likewise.
37707 (_G_wchar_t): Likewise.
37708 (_G_wint_t): Likewise.
37709 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37710 (_G_ssize_t): Likewise.
37711 (_G_off_t): Likewise.
37712 (_G_pid_t): Likewise.
37713 (_G_uid_t): Likewise.
37714 (_G_wchar_t): Likewise.
37715 (_G_wint_t): Likewise.
37716
9fab36eb
SP
377172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37718
37719 * malloc/arena.c: Include malloc-sysdep.h.
37720 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37721 is sufficient to shrink the heap or an unmap is needed.
37722 * sysdeps/generic/malloc-sysdep.h: New file. Define
37723 new function check_may_shrink_heap.
37724 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37725 new function check_may_shrink_heap.
37726
2b4f00d1
SP
377272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37728
37729 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37730 comments.
37731
9a9028b1
DL
377322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37733
57c69bef
DL
37734 * catgets/test-gencat.sh: Add "set -e".
37735 * elf/tst-pathopt.sh: Likewise.
37736 * grp/tst_fgetgrent.sh: Likewise.
37737 * iconvdata/run-iconv-test.sh: Likewise.
37738 * intl/tst-gettext.sh: Likewise.
37739 * intl/tst-gettext2.sh: Likewise.
37740 * intl/tst-gettext4.sh: Likewise.
37741 * intl/tst-gettext6.sh: Likewise.
37742 * intl/tst-translit.sh: Likewise.
37743 * io/ftwtest-sh: Likewise.
37744 * libio/test-freopen.sh: Likewise.
37745 * malloc/tst-mtrace.sh: Likewise.
37746 * posix/globtest.sh: Likewise.
37747 * posix/tst-getconf.sh: Likewise.
37748 * posix/wordexp-tst.sh: Likewise.
37749 * stdio-common/tst-printf.sh: Likewise.
37750 * stdio-common/tst-unbputc.sh: Likewise.
37751 * stdlib/tst-fmtmsg.sh: Likewise.
37752 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37753 * catgets/Makefile: Do not specify -e option when running
37754 testsuite shell scripts.
37755 * elf/Makefile: Likewise.
37756 * grp/Makefile: Likewise.
37757 * iconvdata/Makefile: Likewise.
37758 * intl/Makefile: Likewise.
37759 * io/Makefile: Likewise.
37760 * libio/Makefile: Likewise.
37761 * malloc/Makefile: Likewise.
37762 * posix/Makefile: Likewise.
37763 * stdio-common/Makefile: Likewise.
37764 * stdlib/Makefile: Likewise.
37765 * sysdeps/x86_64/Makefile: Likewise.
37766
9a9028b1
DL
37767 * io/ftwtest-sh: Add copyright header.
37768 * posix/globtest.sh: Likewise.
37769 * posix/tst-getconf.sh: Likewise.
37770 * posix/wordexp-tst.sh: Likewise.
37771 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37772
ced6f16e
L
377732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37774
94b32c39
L
37775 [BZ #13679]
37776 * Makeconfig (+link): Defined as $(+link-static) if
37777 $(build-shared) isn't yes.
37778 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37779 isn't yes.
37780 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37781
189e935b
L
37782 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37783
ced6f16e
L
37784 [BZ #14562]
37785 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37786 new chunk size with MALLOC_ALIGN_MASK.
37787
a9f8e53a
JM
377882012-09-24 Joseph Myers <joseph@codesourcery.com>
37789
37790 [BZ #5044]
37791 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37792 <rounding-mode.h>.
37793 (__printf_fphex): Determine rounding using get_rounding_mode and
37794 round_away.
37795 * stdio-common/tst-printf-round.c (struct hex_test): New
37796 structure.
37797 (hex_tests): New variable.
37798 (test_hex_in_one_mode): New function.
37799 (do_test): Also run tests for hex float output.
37800
43153109
JM
378012012-09-21 Joseph Myers <joseph@codesourcery.com>
37802
37803 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37804 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37805 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37806 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37807 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37808 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37809 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37810 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37811
8a26625d
JM
378122012-09-20 Joseph Myers <joseph@codesourcery.com>
37813
37814 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37815 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37816 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37817 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37818
f3fd569c
DL
378192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37820
37821 [BZ #14579]
37822 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37823 mode only.
37824 * elf/tst-rtld-load-self.sh: New test.
37825 * elf/Makefile: Run it.
37826
63bbedd4
JM
378272012-09-18 Joseph Myers <joseph@codesourcery.com>
37828
37829 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37830 (tst-writev-ENV): Remove.
37831 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37832
626f8b6a
CM
378332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37834
37835 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37836
b7aaa4d6
JM
378372012-09-17 Joseph Myers <joseph@codesourcery.com>
37838
37839 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37840 unconditional.
37841 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37842 Likewise.
37843 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37844 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37846 Likewise.
37847
65513990
L
378482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37849
37850 [BZ #14587]
37851 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37852 * config.make.in (have-cpp-asm-debuginfo): Removed.
37853 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37854 * configure: Regenerated.
37855
784761be
JM
378562012-09-14 Joseph Myers <joseph@codesourcery.com>
37857
37858 [BZ #5044]
37859 * stdio-common/printf_fp.c: Include <stdbool.h> and
37860 <rounding-mode.h>.
37861 (___printf_fp): Determine rounding using get_rounding_mode and
37862 round_away.
37863 * stdio-common/tst-printf-round.c: New file.
37864 * stdio-common/Makefile (tests): Add tst-printf-round.
37865 (link-libm): New variable.
37866 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37867
9503345f
L
378682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37869
37870 [BZ #14576]
37871 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37872 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37873 Likewise.
37874 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37875 Likewise.
37876
ad35fc00
JM
378772012-09-13 Joseph Myers <joseph@codesourcery.com>
37878
37879 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37880 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37881 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37882 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37883
6c9b0f68
JM
378842012-09-12 Joseph Myers <joseph@codesourcery.com>
37885
37886 [BZ #14518]
37887 * include/rounding-mode.h: New file.
37888 * sysdeps/generic/get-rounding-mode.h: Likewise.
37889 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37890 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37891 (MAX_VALUE): New macro.
37892 (MIN_VALUE): Likewise.
37893 (overflow_value): New function.
37894 (underflow_value): Likewise.
37895 (round_and_return): Use overflow_value and underflow_value to
37896 determine return values in overflow and underflow cases. Use
37897 round_away to determine rounding depending on rounding mode.
37898 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37899 determine return values in overflow and underflow cases.
37900 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37901 (struct test_results): New structure.
37902 (struct test): Use struct test_results to store expected results
37903 for all rounding modes.
37904 (TEST): Include expected results for all rounding modes.
37905 (test_in_one_mode): New function.
37906 (do_test): Use test_in_one_mode to compute and check results.
37907 Check results for all rounding modes.
37908 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37909 $(link-libm).
37910
19fcedd5
AM
379112012-12-09 Allan McRae <allan@archlinux.org>
37912
1e9d84cd 37913 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37914
8bbfd2f1
JM
379152012-09-11 Joseph Myers <joseph@codesourcery.com>
37916
37917 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37918 (_G_int32_t): Likewise.
37919 (_G_uint16_t): Likewise.
37920 (_G_uint32_t): Likewise.
37921 (_G_HAVE_BOOL): Likewise.
37922 (_G_HAVE_ATEXIT): Likewise.
37923 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37924 (_G_HAVE_IO_FILE_OPEN): Likewise.
37925 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37926 (_G_int32_t): Likewise.
37927 (_G_uint16_t): Likewise.
37928 (_G_uint32_t): Likewise.
37929 (_G_HAVE_BOOL): Likewise.
37930 (_G_HAVE_ATEXIT): Likewise.
37931 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37932 (_G_HAVE_IO_FILE_OPEN): Likewise.
37933 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37934 (_G_int32_t): Likewise.
37935 (_G_uint16_t): Likewise.
37936 (_G_uint32_t): Likewise.
37937 (_G_HAVE_BOOL): Likewise.
37938 (_G_HAVE_ATEXIT): Likewise.
37939 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37940 (_G_HAVE_IO_FILE_OPEN): Likewise.
37941
b1dc5912
L
379422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37943
37944 * csu/libc-tls.c: Update copyright years.
37945
0e886ef9
JM
379462012-09-10 Joseph Myers <joseph@codesourcery.com>
37947
28361c5e
JM
37948 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37949 [!_G_USING_THUNKS]: Remove conditional code.
37950 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37951 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37952
0e886ef9
JM
37953 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37954 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37955 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37956 (_G_VTABLE_LABEL_PREFIX): Likewise.
37957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37958 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37959 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37960 (_G_VTABLE_LABEL_PREFIX): Likewise.
37961 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37962 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37964 (_G_VTABLE_LABEL_PREFIX): Likewise.
37965 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37966
bcba7aa2
L
379672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37968
37969 * libio/Makefile: Include ../Makeconfig before tests.
37970 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37971 only if $(build-shared) is yes.
37972
06585ee8
L
37973 * iconv/gconv_db.c: Update copyright years.
37974
80ccd52c
LD
379752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37976
37977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37978 unwind info if defined PIC. Fix special cases description.
37979 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37980
37981 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37982 DP_HI_MASK entry.
37983 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37984
691bc9c1
L
379852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37986
3d9b46b3
L
37987 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37988
de2139a9
L
37989 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37990 is NULL.
37991
5ca78dd0
L
37992 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37993 (LDLIBS-tst-chk4): This.
37994 (LDFLAGS-tst-chk5): Renamed to ...
37995 (LDLIBS-tst-chk5): This.
37996 (LDFLAGS-tst-chk6): Renamed to ...
37997 (LDLIBS-tst-chk6): This.
37998 (LDFLAGS-tst-lfschk4): Renamed to ...
37999 (LDLIBS-tst-lfschk4): This.
38000 (LDFLAGS-tst-lfschk5): Renamed to ...
38001 (LDLIBS-tst-lfschk5): This.
38002 (LDFLAGS-tst-lfschk6): Renamed to ...
38003 (LDLIBS-tst-lfschk6): This.
38004
691bc9c1
L
38005 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38006 on $(common-objpfx)soversions.mk.
38007
65cafb1c
JM
380082012-09-07 Joseph Myers <joseph@codesourcery.com>
38009
38010 [BZ #10014]
38011 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38012 example host name.
38013
c78ab094
SP
380142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38015
38016 * malloc/arena.c (arena_get_retry): New function that gets
38017 another arena for the caller to try its request on.
38018 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38019 current arena cannot fulfill the request.
38020 (__libc_memalign): Likewise.
38021 (__libc_memalign): Likewise.
38022 (__libc_pvalloc): Likewise.
38023 (__libc_calloc): Likewise.
38024
01f49f59
JT
380252012-09-05 John Tobey <john.tobey@gmail.com>
38026
38027 [BZ #13542]
38028 * manual/arith.texi (Operations on Complex): Fix description
38029 of carg branch cut.
38030
4c23fed5
JM
380312012-09-06 Joseph Myers <joseph@codesourcery.com>
38032
1d3c8572
JM
38033 [BZ #10014]
38034 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38035 host name.
38036
4c23fed5
JM
38037 [BZ #10038]
38038 * manual/memory.texi (Memory): Make order of menu items match
38039 order of sections.
38040
04570aaa
L
380412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38042
38043 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38044 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38045 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38046
b80af2f4
L
380472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38048
38049 * csu/libc-tls.c (static_dtv): Renamed to ...
38050 (_dl_static_dtv): This. Make it global.
38051 (_dl_initial_dtv): Removed.
38052 (__libc_setup_tls): Updated.
38053 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38054 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38055 DL_INITIAL_DTV.
38056
2abe9f15
PM
380572012-09-06 Petr Machata <pmachata@redhat.com>
38058
38059 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38060 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38061 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38062 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38063
0948c3af
L
380642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38065
38066 [BZ #14545]
38067 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38068 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38069 freeing dtv[-1].
38070
a5055ad1
L
380712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38072
38073 [BZ #14544]
38074 * Makeconfig (link-static-before-libc): Replace $(+prector)
38075 with $(+prectorT).
38076 (link-static-after-libc): Replace $(+postctor) with
38077 $(+postctorT).
38078 (link-bounded): Replace $(+prector)/$(+postctor) with
38079 $(+prectorT)/$(+postctorT).
38080 (+prectorT): New macro.
38081 (+postctorT): Likewise.
38082
ed8c2ecd
JM
380832012-09-06 Joseph Myers <joseph@codesourcery.com>
38084
38085 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38086 (round_str): Handle values above the maximum for IBM long double
38087 as inexact.
38088 * stdlib/tst-strtod-round.c (tests): Regenerated.
38089
14c996c8
AK
380902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38091
38092 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38093 assembler flag.
38094 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38095 zarch_nohighgprs around the zarch optimized routines.
38096 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38097 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38099 for zarch.
38100
430d6ce6
DM
381012012-09-05 David S. Miller <davem@davemloft.net>
38102
38103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38104
57f41c40
AS
38105 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38106 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38107 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38108 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38109 entries.
38110
24d4e01b
AO
381112012-09-05 Alexandre Oliva <aoliva@redhat.com>
38112
38113 * malloc/arena.c: Fold copyright years.
38114 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38115
61d58174
AO
381162012-09-05 Alexandre Oliva <aoliva@redhat.com>
38117
38118 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38119
20196a5e
AO
381202012-09-05 Alexandre Oliva <aoliva@redhat.com>
38121
38122 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38123
5c447383
AO
381242012-09-05 Alexandre Oliva <aoliva@redhat.com>
38125
38126 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38127 change internal state upon failure.
38128
fad64255
AO
381292012-09-05 Alexandre Oliva <aoliva@redhat.com>
38130
38131 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38132 * malloc/memusage.c (mmap): Likewise.
38133 (mmap64, mremap): Likewise. Adjust name in comment.
38134
1ffb8c90
SP
381352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38136
38137 * libio/fileops.c: Fix typos in comments.
38138 * libio/oldfileops.c: Likewise.
38139 * libio/wfileops.c: Likewise.
38140
6ef9cc37
SP
381412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38142
38143 [BZ #1349]
38144 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38145 (tst-malloc-usable-ENV): Set environment for test case.
38146 * malloc/hooks.c (malloc_check_get_size): New function to get
38147 requested size.
38148 * malloc/malloc.c (musable): Use malloc_check_get_size.
38149 * malloc/tst-malloc-usable.c: New test case.
38150
4d038ae3
AS
381512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38152
38153 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38154
c4e85184
AM
381552012-09-05 Allan McRae <allan@archlinux.org>
38156
b9dafc56 38157 [BZ #13966]
c4e85184
AM
38158 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38159 determine header location.
38160 * configure: Regenerated.
38161
e1343020
AS
381622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38163
38164 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38165 float format.
38166 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38167 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38168 format.
e1343020
AS
38169 (test): Regenerate.
38170
0a9f1987
DM
381712012-09-04 David S. Miller <davem@davemloft.net>
38172
38173 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38174 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38176
29237804
FW
381772012-09-04 Florian Weimer <fweimer@redhat.com>
38178
38179 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38180 failures.
38181
edb3cb88
FW
38182 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38183
60160d83
JM
381842012-09-04 Joseph Myers <joseph@codesourcery.com>
38185
38186 [BZ #9914]
38187 * libio/iogetdelim.c: Include <limits.h>.
38188 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38189 + len + 1 would overflow.
38190
bcd6c8dc
AJ
381912012-09-03 Andreas Jaeger <aj@suse.de>
38192
38193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38194 * sysdeps/i386/fpu/libm-test-ulps: Update.
38195
4ffffbd2
LD
381962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38197
38198 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38199 Add s_sinf-sse2, s_conf-sse2.
38200
38201 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38202 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38203 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38204 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38205
38206 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38207 for using routine as __sinf_ia32.
38208 Use macro for function declaration and weak_alias.
38209 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38210 for using routine as __cosf_ia32.
38211 Use macro for function declaration and weak_alias.
38212
38213 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38214 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38215
38216 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38217 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38219
38220 * math/libm-test.inc (cos_test): Add more test cases.
38221 (sin_test): Likewise.
38222 (sincos_test): Likewise.
38223
511fa286
AK
382242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38225
38226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38227 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38228 hidden.
38229 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38230
5f30cfec
L
382312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38232
38233 [BZ #14538]
38234 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38235 first element of the GOT.
38236 (elf_machine_load_address): Return the difference between
38237 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38238
0786794f
AM
382392012-09-01 Allan McRae <allan@archlinux.org>
38240
5f30cfec
L
38241 [BZ #13412]
38242 * configure.in (AWK): Require gawk version 3.0 or later.
38243 * configure: Regenerated.
0786794f 38244
26889eac
JM
382452012-09-01 Joseph Myers <joseph@codesourcery.com>
38246
38247 * sysdeps/unix/sysv/linux/kernel-features.h
38248 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38249 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38250 [__NR_clock_getres]: Make code unconditional.
38251 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38252 (clock_getcpuclockid): Remove code left unreachable by removal of
38253 conditionals.
38254 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38255 code unconditional.
38256 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38257 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38258 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38259 Make code unconditional.
38260 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38262 * sysdeps/unix/sysv/linux/clock_settime.c
38263 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38264 conditional code.
38265 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38266 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38267
d22e28b0
L
382682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38269
38270 [BZ #14476]
38271 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38272 scripts/test-installation.pl.
38273
38274 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38275 and $ld_so_version if it is set.
38276
050af9c4
SP
382772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38278
38279 [BZ #14516]
38280 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38281 failure if reading from procfs failed.
38282 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38283
ad845c0b
JM
382842012-08-27 Joseph Myers <joseph@codesourcery.com>
38285
38286 * sysdeps/unix/sysv/linux/kernel-features.h
38287 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38288 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38289 Remove conditional code.
38290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38291 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38292 Remove conditional code.
38293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38294 * sysdeps/unix/sysv/linux/i386/fxstat.c
38295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38297 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38298 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38300 * sysdeps/unix/sysv/linux/i386/lxstat.c
38301 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38303 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38304 Remove conditional code.
38305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38306 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38307 Remove conditional code.
38308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38309 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38310 <kernel-features.h>.
38311 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38312 Remove.
38313 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38314 Remove conditional code.
38315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38316 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38317 Remove conditional.
38318
5dbf56af
MF
383192012-08-27 Mike Frysinger <vapier@gentoo.org>
38320
38321 [BZ #5400]
38322 * NEWS: Add fixed bug number.
38323
d6e70f43
JM
383242012-08-27 Joseph Myers <joseph@codesourcery.com>
38325
7efb4737
JM
38326 [BZ #14519]
38327 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38328 underflowing exponent in case of negative sign.
38329 * stdlib/tst-strtod-round-data: Add more tests.
38330 * stdlib/tst-strtod-round.c (tests): Regenerated.
38331
af92131a
JM
38332 [BZ #3479]
38333 * stdlib/strtod_l.c (NDIG): Remove.
38334 (HEXNDIG): Likewise.
38335 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38336 smallest representable value.
38337 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38338 lie within an exact representation of 1/2 ulp of the result.
38339 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38340 unconditionally.
38341 (TENS_P9_IDX): Define unconditionally.
38342 (TENS_P9_SIZE): Likewise.
38343 (TENS_P10_IDX): Likewise.
38344 (TENS_P10_SIZE): Likewise.
38345 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38346 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38347 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38348 entries for 10^2^13 and 10^2^14.
38349 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38350 (TENS_P13_IDX): Define.
38351 (TENS_P13_SIZE): Likewise.
38352 (TENS_P14_IDX): Likewise.
38353 (TENS_P14_SIZE): Likewise.
38354 (_fpioconst_pow10): Change array size to
38355 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38356 unconditional.
38357 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38358 1024]: Add entries for 10^2^13 and 10^2^14.
38359 [LAST_POW10 > _LAST_POW10]: Remove #error.
38360 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38361 (_fpioconst_pow10): Change array size to
38362 FPIOCONST_POW10_ARRAY_SIZE.
38363 * stdlib/gen-fpioconst.c: New file.
38364 * stdlib/gen-tst-strtod-round.c: Likewise.
38365 * stdlib/tst-strtod-round-data: Likewise.
38366 * stdlib/tst-strtod-round.c: Likewise.
38367 * stdlib/Makefile (tests): Add tst-strtod-round.
38368
d6e70f43
JM
38369 [BZ #14459]
38370 * stdlib/strtod_l.c: Include <stdint.h>.
38371 (NDEBUG): Do not define.
38372 (round_and_return): Change EXPONENT parameter to type intmax_t.
38373 Rearrange calculations to avoid internal overflow possibilities.
38374 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38375 Rearrange calculations to avoid internal overflow possibilities.
38376 Assert that number fits inside MPNSIZE limbs.
38377 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38378 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38379 calculations and add assertions to avoid internal overflow
38380 possibilities. Add casts to avoid signed/unsigned operations.
38381 * stdlib/tst-strtod-overflow.c: New file.
38382 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38383
1f529f7d
MP
383842012-08-25 Marek Polacek <polacek@redhat.com>
38385
38386 * time/time.h: Fix some typos in comments.
38387
59a629f1
RM
383882012-08-23 Roland McGrath <roland@hack.frob.com>
38389
38390 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38391 * posix/tst-rfc3484-2.c: Likewise.
38392 * posix/tst-rfc3484-3.c: Likewise.
38393
d3bafbc9
SM
383942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38395
38396 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38397 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38398
4efcc022
JM
383992012-08-23 Joseph Myers <joseph@codesourcery.com>
38400
38401 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38402 #include of fxstatat64.c.
38403
3cc3ef96
RM
384042012-08-22 Roland McGrath <roland@hack.frob.com>
38405
f04e2132
RM
38406 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38407 * shadow/getspent_r.c: Likewise.
38408 * shadow/getspnam.c: Likewise.
38409 * shadow/getspnam_r.c: Likewise.
38410 * gshadow/getsgent.c: Likewise.
38411 * gshadow/getsgent_r.c: Likewise.
38412 * gshadow/getsgnam.c: Likewise.
38413 * gshadow/getsgnam_r.c: Likewise.
38414 * inet/getnetbyad.c: Likewise.
38415 * inet/getnetbyad_r.c: Likewise.
38416 * inet/getnetbynm.c: Likewise.
38417 * inet/getnetbynm_r.c: Likewise.
38418 * inet/getnetent.c: Likewise.
38419 * inet/getnetent_r.c: Likewise.
38420 * inet/getproto.c: Likewise.
38421 * inet/getproto_r.c: Likewise.
38422 * inet/getprtent.c: Likewise.
38423 * inet/getprtent_r.c: Likewise.
38424 * inet/getprtname.c: Likewise.
38425 * inet/getprtname_r.c: Likewise.
38426 * inet/getrpcbyname.c: Likewise.
38427 * inet/getrpcbyname_r.c: Likewise.
38428 * inet/getrpcbynumber.c: Likewise.
38429 * inet/getrpcbynumber_r.c: Likewise.
38430 * inet/getrpcent.c: Likewise.
38431 * inet/getrpcent_r.c: Likewise.
38432 * inet/getaliasent.c: Likewise.
38433 * inet/getaliasent_r.c: Likewise.
38434 * inet/getaliasname.c: Likewise.
38435 * inet/getaliasname_r.c: Likewise.
38436 * nscd/getgrgid_r.c: Likewise.
38437 * nscd/getgrnam_r.c: Likewise.
38438 * nscd/gethstbyad_r.c: Likewise.
38439 * nscd/gethstbynm3_r.c: Likewise.
38440 * nscd/getpwnam_r.c: Likewise.
38441 * nscd/getpwuid_r.c: Likewise.
38442 * nscd/getsrvbynm_r.c: Likewise.
38443 * nscd/getsrvbypt_r.c: Likewise.
38444 * nscd/gai.c: Likewise.
38445
c53d909c
RM
38446 * configure.in (build_nscd): New substituted variable, set
38447 by --disable-build-nscd and defaults to $use_nscd.
38448 * configure: Regenerated.
38449 * config.make.in (build-nscd): New substituted variable.
38450 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38451 Change conditional to require [$(build-nscd) = yes] as well.
38452 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38453
3cc3ef96
RM
38454 [BZ# 13696]
38455 * configure.in (use_nscd): New substituted variable, set by
38456 --disable-nscd. If enabled, define USE_NSCD.
38457 * configure: Regenerated.
38458 * config.h.in: Add USE_NSCD.
38459 * config.make.in (use-nscd): New substituted variable.
38460 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38461 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38462 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38463 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38464 (CFLAGS-getgrnam_r.c): Likewise.
38465 (CFLAGS-initgroups.c): Likewise.
38466 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38467 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38468 Variables removed.
38469 * inet/getnetgrent_r.c
38470 (nscd_setnetgrent): New function, broken out of ...
38471 (setnetgrent): ... here. Call it.
38472 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38473 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38474 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38475 * nscd/Makefile (routines, aux): Move definitions after include of
38476 Makeconfig. Conditionalize on [$(use-nscd) != no].
38477 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38478 Conditionalize on [USE_NSCD].
38479 (is_nscd, nscd_init_cb): Likewise.
38480 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38481 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38482 * nss/nss_db/db-init.c: Likewise.
38483 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38484 [USE_NSCD].
38485 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38486 (make_request): Use it.
38487 (cache_valid_p): New function.
38488 (__check_pf): Use it.
38489 * NEWS: Add item for --disable-nscd.
38490
07e51550
DL
384912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38492
38493 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38494 to support sed >= 4.2.1-20-ga9bf076.
38495 * configure: Regenerated.
38496
35a5b08b
RM
384972012-08-22 Roland McGrath <roland@hack.frob.com>
38498
38499 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38500 Conditionalize whole body on [IREL].
38501
8479f23a
JL
385022012-08-22 Jeff Law <law@redhat.com>
38503
38504 [BZ #14505]
38505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38506 if the family is PF_UNSPEC.
38507
48da0b21
MF
385082012-08-22 Mike Frysinger <vapier@gentoo.org>
38509
38510 * Makerules (lib-version): Rename from V.
38511 (install-lib-nosubdir): Change V to lib-version.
38512
15d0da8c
WS
385132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38514
38515 [BZ #14252]
38516 * powerpc32/power6/wcschr.c: New file.
38517 * powerpc32/power6/wcscpy.c: New file.
38518 * powerpc32/power6/wcsrchr.c: New file.
38519 * powerpc64/power6/wcschr.c: New file.
38520 * powerpc64/power6/wcscpy.c: New file.
38521 * powerpc64/power6/wcsrchr.c: New file.
38522
bcca0895
MK
385232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38524
38525 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38526 (two_way_short_needle): Use it.
5a4aaa33
RM
38527 * string/strstr.c (AVAILABLE1_USES_J): Define.
38528 * string/strcasestr.c: Likewise.
99677e57
MK
38529
38530 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38531 array references.
38532 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38533
400726de
MK
38534 [BZ #11607]
38535 * NEWS: Add an entry.
38536 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38537 define their defaults.
38538 (two_way_short_needle): Detect end-of-string on-the-fly.
38539 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38540 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38541 * string/bug-strcasestr1.c: New test.
38542 * string/Makefile: Run it.
38543
20a71f2c
MK
385442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38545
38546 [BZ #11607]
38547 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38548 the first character.
38549
21ad0558
RM
385502012-08-21 Roland McGrath <roland@hack.frob.com>
38551
38552 * csu/elf-init.c (__libc_csu_irel): Function removed.
38553 * csu/libc-start.c (apply_irel): New function.
38554 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38555
0e1d9911
JM
385562012-08-21 Joseph Myers <joseph@codesourcery.com>
38557
38558 * sysdeps/unix/sysv/linux/kernel-features.h
38559 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38560 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38561 <kernel-features.h>.
38562 [__NR_fadvise64_64]: Make code unconditional.
38563 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38564 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38565 !__NR_fadvise64_64)]: Likewise.
38566 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38567 !__NR_fadvise64_64))]: Likewise.
38568 [__NR_fadvise64]: Make code unconditional.
38569 [!__NR_fadvise64]: Remove conditional code.
38570 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38571 <kernel-features.h>.
38572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38573 unconditional.
38574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38575 conditional code.
38576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38577 not include <kernel-features.h>.
38578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38579 unconditional.
38580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38581 conditional code.
38582 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38583 include <kernel-features.h>.
38584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38585 unconditional.
38586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38587 conditional code.
38588
14a50c9d
WS
385892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38590
38591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38592 slight instruction rearrangements per scrollpipe analysis.
38593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38594
c0f4faf0
RM
385952012-08-20 Roland McGrath <roland@hack.frob.com>
38596
696da859
RM
38597 * manual/syslog.texi (syslog; vsyslog, closelog):
38598 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38599 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38600
c0f4faf0
RM
38601 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38602 DSOCAPS to match condition on defining it.
38603
348363b2
JM
386042012-08-20 Joseph Myers <joseph@codesourcery.com>
38605
a35cbf28
JM
38606 * sysdeps/unix/sysv/linux/kernel-features.h
38607 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38612 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38613 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38615 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38616 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38617
445f7ecd
JM
38618 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38619 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38620
348363b2
JM
38621 * sysdeps/unix/sysv/linux/kernel-features.h
38622 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38623 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38624 unconditional.
38625 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38626 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38627 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38628 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38629 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38630 Make code unconditional.
38631 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38632 (__mmap64) [!__NR_mmap2]: Likewise.
38633 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38634 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38635 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38636 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38637 [__NR_mmap2]: Make code unconditional.
38638 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38639 (__mmap64) [!__NR_mmap2]: Likewise.
38640
bc5bc0e5
AK
386412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38642
38643 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38644
88d506de
AJ
386452012-08-18 Andreas Jaeger <aj@suse.de>
38646
38647 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38648
493387d2
MF
386492012-08-18 Mike Frysinger <vapier@gentoo.org>
38650
38651 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38652 * include/unistd.h (__have_sock_cloexec): Likewise.
38653 (__have_pipe2): Likewise.
38654 (__have_dup3): Likewise.
38655
a277af22
MF
386562012-08-18 Mike Frysinger <vapier@gentoo.org>
38657
38658 [BZ #9685]
38659 * include/unistd.h (__have_pipe2): Change define into an extern int.
38660 (__have_dup3): Likewise.
38661 * socket/have_sock_cloexec.c: Include fcntl.h.
38662 (__have_pipe2): New variable.
38663 (__have_dup3): Likewise.
38664
fdab8fd3
MF
386652012-08-17 Mike Frysinger <vapier@gentoo.org>
38666
38667 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38668
31035e80
MP
386692012-08-17 Marek Polacek <polacek@redhat.com>
38670
38671 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38672 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38673
3bd9e993
RM
386742012-08-17 Roland McGrath <roland@hack.frob.com>
38675
c91c505f
RM
38676 * configure.in: Add AC_SUBST for sysheaders.
38677 * configure: Regenerated.
38678 * config.make.in (sysheaders): New substituted variable.
38679
7c6f9d53
RM
38680 * sysdeps/unix/mkfifo.c: Moved ...
38681 * sysdeps/posix/mkfifo.c: ... here.
38682 * sysdeps/unix/mkfifoat.c: Moved ...
38683 * sysdeps/posix/mkfifoat.c: ... here.
38684
38685 * sysdeps/unix/utime.c: Moved ...
38686 * sysdeps/posix/utime.c: ... here.
38687
38688 * sysdeps/unix/time.c: Moved ...
38689 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38690 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38691 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38692
38693 * sysdeps/unix/nice.c: Moved ...
38694 * sysdeps/posix/nice.c: ... here.
38695
38696 * sysdeps/unix/alarm.c: Moved ...
38697 * sysdeps/posix/alarm.c: ... here.
38698
3bd9e993
RM
38699 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38700
d1f09384
JL
387012012-08-17 Jeff Law <law@redhat.com>
38702
38703 * intl/Makefile (codeset_mo): New variable.
38704 ($(codeset_mo)): New target.
38705 (tst-codeset.out): Depend on that. Remove explicit rule.
38706 (tst-gettext3.out, tst-gettext5.out): Likewise.
38707 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38708 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38709 * intl/tst-codeset.sh: Remove.
38710 * intl/tst-gettext3.sh: Likewise.
38711 * intl/tst-gettext5.sh: Likewise.
38712
2ae1ae5c
RM
387132012-08-17 Roland McGrath <roland@hack.frob.com>
38714
c31fdb83
RM
38715 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38716 * sysdeps/unix/syscalls.list: ... here.
38717
a0844057
RM
38718 * sysdeps/posix/getaddrinfo.c
38719 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38720 (gaiconf_init, gaiconf_reload): Use them.
38721 [!_STATBUF_ST_NSEC]
38722 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38723 Define using time_t rather than struct timespec.
38724
750c1f2a
RM
38725 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38726 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38727 Macros removed.
38728 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38729 [!NO_THREADS].
38730 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38731 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38732 Likewise.
38733
2ae1ae5c
RM
38734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38735 __libc_cleanup_push argument.
38736
e66a42f5
RM
38737 * bits/param.h: New file.
38738 * misc/sys/param.h: New file.
38739 * include/sys/param.h: New file.
38740 * misc/Makefile (headers): Add bits/param.h.
38741 * sysdeps/generic/sys/param.h: File removed.
38742 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38743 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38744 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38745 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38746
b7c08a66
RM
38747 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38748 last change.
38749
b2e1c562
RM
38750 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38751 [_IO_MTSAFE_IO].
38752 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38753 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38754 New macros.
38755
c75ccd4c
RM
38756 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38757 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38758 rather than -D_IO_MTSAFE_IO conditionally.
38759 * stdio-common/Makefile (CPPFLAGS): Likewise.
38760 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38761 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38762 Use $(libio-mtsafe).
38763 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38764 of -D_IO_MTSAFE_IO.
38765 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38766 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38767 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38768 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38769 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38770 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38771 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38772 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38773 (CFLAGS-fread_u_chk.c): Likewise.
38774 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38775 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38776 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38777 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38778 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38779 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38780 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38781 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38782 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38783
38784 * libio/Makefile: Test [$(libc-reentrant) = yes]
38785 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38786
38787 * Makeconfig
38788 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38789 * sysdeps/pthread/configure: File removed.
38790 * sysdeps/pthread/Makeconfig: New file.
38791 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38792 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38793
d9195db8
GB
387942012-08-16 Gary Benson <gbenson@redhat.com>
38795
38796 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38797 unmapping the first object in a namespace.
38798
86466cd9
RM
387992012-08-16 Roland McGrath <roland@hack.frob.com>
38800
38801 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38802 (__internal_setnetgrent): ... this. Add internal_function to
38803 definition. Add libc_hidden_def.
38804 (setnetgrent): Update caller.
38805 (internal_endnetgrent): Renamed to ...
38806 (__internal_endnetgrent): ... this. Add internal_function to
38807 definition. Add libc_hidden_def.
38808 (endnetgrent): Update caller.
38809 (internal_getnetgrent_r): Renamed to ...
38810 (__internal_getnetgrent_r): ... this. Add internal_function to
38811 definition. Add libc_hidden_def.
38812 (__getnetgrent_r): Update caller.
38813 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38814
c3c8283c
JM
388152012-08-16 Joseph Myers <joseph@codesourcery.com>
38816
38817 * stdlib/longlong.h: Update from GCC.
38818
db1ee0a8
RM
388192012-08-16 Roland McGrath <roland@hack.frob.com>
38820
38821 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38822 on _QL, which is set by umul_ppmm but never used.
38823 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38824 variables, which are set by GMP macros but never used.
38825 * stdio-common/_itowa.c (_itowa): Likewise.
38826 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38827 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38828
30f69637
CD
388292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38830
38831 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38832 struct La_sh_regs is not constant.
38833 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38834 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38835 and struct La_sparc64_regs are not constant.
38836
93a78ac4
JM
388372012-08-16 Joseph Myers <joseph@codesourcery.com>
38838
38839 * sysdeps/unix/sysv/linux/kernel-features.h
38840 (__ASSUME_POSIX_TIMERS): Remove.
38841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38843 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38844 Make code unconditional.
38845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38846 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38847 Make code unconditional.
38848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38849 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38850 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38851 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38852 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38853 Make code unconditional.
38854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38855 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38856 (__libc_missing_posix_timers): Remove.
38857
dd924cd7
RM
388582012-08-15 Roland McGrath <roland@hack.frob.com>
38859
4b4f2771
RM
38860 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38861 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38862
601c888b
RM
38863 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38864
176790a7
RM
38865 * elf/dl-sym.c: Include <stdlib.h>.
38866
329bc018
RM
38867 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38868 constants, which avoids warnings in 32-bit builds.
38869
e04e272d
RM
38870 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38871 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38872
952bf94a
RM
38873 * misc/lseek.c: File moved to ...
38874 * io/lseek.c: ... here.
38875
7c99b50a
RM
38876 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38877
dd924cd7
RM
38878 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38879 shifting LEN more than 31 bits at once.
38880
b3f479a8
LD
388812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38882
38883 [BZ #14195]
8c4ae0d4
RM
38884 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38885 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38886 * string/test-strncasecmp.c (check1): Renamed to...
38887 (bz12205): ...this.
38888 (bz14195): Add new testcase for two empty input strings and N > 0.
38889 (test_main): Call new testcase, adapt for renamed function.
38890
9c55864e
AJ
388912012-08-15 Andreas Jaeger <aj@suse.de>
38892
38893 [BZ #14090]
38894 * crypt/md5test2.c: New test, based on test supplied by Serge
38895 Belyshev <belyshev@depni.sinp.msu.ru>.
38896 * crypt/Makefile (xtests): Add md5test-giant..
38897 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38898
02dcb6c5
PE
388992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38900
38901 [BZ #14090]
38902 * crypt/md5.c (md5_process_block): Don't assume the buffer
38903 length is less than 2**32.
38904 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38905 length is less than 2**64.
38906
a3f95dcc
RM
389072012-08-15 Roland McGrath <roland@hack.frob.com>
38908
be75d758
RM
38909 * string/str-two-way.h: Include <sys/param.h>.
38910 (MAX): Macro removed.
38911
7312ca90
RM
38912 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38913 Move #define and #undef of memmove to just before and after
38914 including <string.h>.
38915
9a0a5486
RM
38916 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38917 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38918 and after including <string.h>. Move declarations of
38919 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38920 to before #include "string/memmove.c".
38921
67cc348d
RM
38922 * include/dirent.h: Declare __getdirentries.
38923
a3f95dcc
RM
38924 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38925 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38926
ca98e171
MF
389272012-08-14 Mike Frysinger <vapier@gentoo.org>
38928
38929 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38930 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38931 * sysdeps/i386/configure: Regenerated.
38932 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38933 STABS_CURRENT_FILE, and STABS_FUN.
38934 (END): Remove call to STABS_FUN_END.
38935 (STABS_CURRENT_FILE1): Delete.
38936 (STABS_CURRENT_FILE): Likewise.
38937 (STABS_FUN): Likewise.
38938 (STABS_FUN_END): Likewise.
38939 (STABS_FUN2): Likewise.
38940 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38941 * sysdeps/x86_64/configure: Regenerated.
38942
5908bf46
RM
389432012-08-14 Roland McGrath <roland@hack.frob.com>
38944
38945 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38946 * elf/dl-lookup.c: Likewise.
5908bf46 38947
f2c05b9e
JM
389482012-08-14 Joseph Myers <joseph@codesourcery.com>
38949
38950 * sysdeps/unix/sysv/linux/kernel-features.h
38951 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38952 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38953 unconditionally.
38954 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38955 unconditionally.
38956 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38957 condition on __ASSUME_CLONE_THREAD_FLAGS.
38958
e11f5155
AJ
389592012-08-14 Andreas Jaeger <aj@suse.de>
38960
38961 * sysdeps/i386/fpu/libm-test-ulps: Update.
38962
51a9ba86
MK
389632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38964
2fdd4f78
AJ
38965 * include/atomic.h (atomic_exchange_and_add): Split into ...
38966 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38967 New atomic macros.
51a9ba86 38968
ba6cba9e
MT
389692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38970
38971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38972
42443a47
JL
389732012-08-13 Jeff Law <law@redhat.com>
38974
38975 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38976 null byte in the output string.
38977
121dce05
JM
389782012-08-10 Joseph Myers <joseph@codesourcery.com>
38979
38980 * sysdeps/unix/sysv/linux/kernel-features.h
38981 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38982 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38983 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38984 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38985 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38986 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38987 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38988
bf51f568
JL
389892012-08-09 Jeff Law <law@redhat.com>
38990
38991 [BZ #13939]
38992 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38993 When avoid_arena is set, don't retry in the that arena. Pick the
38994 next one, whatever it might be.
38995 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38996 (arena_lock): Pass in new parameter to arena_get2.
38997 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38998 arena_get2.
38999 (__libc_malloc): Unify retrying after main arena failure with
39000 __libc_memalign version.
39001 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39002
f85fa270
L
390032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39004
39005 [BZ #14166]
39006 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39007 to __redirect_strstr.
39008 (__strstr_sse42): Use typeof __redirect_strstr.
39009 (__strstr_ia32): Likewise.
39010 (__libc_strstr): New prototype.
39011 (strstr): Renamed to ...
39012 (__libc_strstr): This.
39013 (strstr): New strong alias of __libc_strstr.
39014 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39015 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39016 __redirect_time.
39017 Include <time.h>.
39018 (__libc_time): New prototype.
39019 (time_ifunc): Replace time with __libc_time.
39020 (time): New strong alias and hidden definition of __libc_time.
39021 (__GI_time): Remove strong alias.
39022 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39023 Include <stddef.h>.
39024 (memmove): Redefined to __redirect_memmove.
39025 (__memmove_sse2): Use typeof __redirect_memmove.
39026 (__memmove_ssse3): Likewise.
39027 (__memmove_ssse3_back): Likewise.
39028 (__libc_memmove): New prototype.
39029 (memmove): Renamed to ...
39030 (__libc_memmove): This.
39031 (memmove): New strong alias of __libc_memmove.
39032
33b4a91e
MS
390332012-08-08 Mark Salter <msalter@redhat.com>
39034
39035 * elf/elf.h
39036 (R_MN10300_TLS_GD): Define.
39037 (R_MN10300_TLS_LD): Likewise.
39038 (R_MN10300_TLS_LDO): Likewise.
39039 (R_MN10300_TLS_GOTIE): Likewise.
39040 (R_MN10300_TLS_IE): Likewise.
39041 (R_MN10300_TLS_LE): Likewise.
39042 (R_MN10300_TLS_DTPMOD): Likewise.
39043 (R_MN10300_TLS_DTPOFF): Likewise.
39044 (R_MN10300_TLS_TPOFF): Likewise.
39045 (R_MN10300_SYM_DIFF): Likewise.
39046 (R_MN10300_ALIGN): Likewise.
39047 (R_MN10300_NUM): Update.
39048
b36137f1
JM
390492012-08-08 Joseph Myers <joseph@codesourcery.com>
39050
39051 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39052 Remove.
39053
cdd915fd
RM
390542012-08-08 Roland McGrath <roland@hack.frob.com>
39055
a2433aac
RM
39056 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39057
cdd915fd
RM
39058 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39059 sysdeps/unix -> sysdeps/posix move.
39060 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39061
bf9b740a
AM
390622012-08-07 Allan McRae <allan@archlinux.org>
39063
39064 [BZ #14303]
39065 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39066 (SUNOS_CPP): Likewise.
39067 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39068 not found.
39069 (open_input): Call CPP using execvp.
39070
93df14ee
JM
390712012-08-07 Joseph Myers <joseph@codesourcery.com>
39072
39073 * sysdeps/unix/sysv/linux/kernel-features.h
39074 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39075 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39076 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39077 (__ASSUME_WAITID_SYSCALL): Likewise.
39078 * sysdeps/unix/sysv/linux/dl-execstack.c
39079 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39080 code unconditional.
39081 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39082 conditional code.
39083 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39084 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39085 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39086 code.
39087 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39088 unconditional.
39089 [__ASSUME_WAITID_SYSCALL]: Likewise.
39090 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39091
d34689de
RM
390922012-08-07 Roland McGrath <roland@hack.frob.com>
39093
a281decc
RM
39094 * sysdeps/unix/closedir.c: Renamed to ...
39095 * sysdeps/posix/closedir.c: ... here.
39096 * sysdeps/unix/dirfd.c: Renamed to ...
39097 * sysdeps/posix/dirfd.c: ... here.
39098 * sysdeps/unix/dirstream.h: Renamed to ...
39099 * sysdeps/posix/dirstream.h: ... here.
39100 * sysdeps/unix/fdopendir.c: Renamed to ...
39101 * sysdeps/posix/fdopendir.c: ... here.
39102 * sysdeps/unix/opendir.c: Renamed to ...
39103 * sysdeps/posix/opendir.c: ... here.
39104 * sysdeps/unix/readdir.c: Renamed to ...
39105 * sysdeps/posix/readdir.c: ... here.
39106 * sysdeps/unix/readdir_r.c: Renamed to ...
39107 * sysdeps/posix/readdir_r.c: ... here.
39108 * sysdeps/unix/rewinddir.c: Renamed to ...
39109 * sysdeps/posix/rewinddir.c: ... here.
39110 * sysdeps/unix/seekdir.c: Renamed to ...
39111 * sysdeps/posix/seekdir.c: ... here.
39112 * sysdeps/unix/telldir.c: Renamed to ...
39113 * sysdeps/posix/telldir.c: ... here.
39114 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39115 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39116 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39117 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39118
22895b47
RM
39119 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39120 * bits/fcntl.h: ... here.
39121
707a53b6
RM
39122 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39123 not 0.
39124 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39125 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39126 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39127 (struct flock): Move l_start, l_len to the beginning.
39128 Use __pid_t for l_pid.
39129 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39130 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39131 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39132 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39133 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39134 [__USE_LARGEFILE64] (struct flock64): New type.
39135 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39136
f0bd3e25
RM
39137 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39138 * bits/dirent.h: ... here.
39139
d34689de
RM
39140 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39141 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39142
6dad2c06
JM
391432012-08-07 Joseph Myers <joseph@codesourcery.com>
39144
39145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39146 Change from 2.6.0 to 2.6.16.
39147 * sysdeps/unix/sysv/linux/configure: Regenerated.
39148 * sysdeps/unix/sysv/linux/kernel-features.h
39149 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39150 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39151 version.
39152 (__ASSUME_UTIMES): Likewise.
39153 (__ASSUME_CLONE_STOPPED): Remove.
39154 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39155 architectures, not kernel version.
39156 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39157 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39158 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39159 (__ASSUME_WAITID_SYSCALL): Likewise.
39160 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39161 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39162 * README: State 2.6.16 as minimum Linux kernel version. Do not
39163 refer to older versions.
39164
03af9520
RM
391652012-08-06 Roland McGrath <roland@hack.frob.com>
39166
8e49df1d
RM
39167 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39168 Define alphasort64 as an alias.
39169 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39170 Define versionsort64 as an alias.
39171 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39172 Define scandir64 as an alias.
39173 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39174 Define scandirat64 as an alias.
39175 * dirent/alphasort64.c (alphasort64):
39176 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39177 * dirent/versionsort64.c: Likewise.
39178 * dirent/scandir64.c: Likewise.
39179 * dirent/scandirat64.c: Likewise.
39180 * sysdeps/wordsize-64/alphasort.c: File removed.
39181 * sysdeps/wordsize-64/alphasort64.c: File removed.
39182 * sysdeps/wordsize-64/scandir.c: File removed.
39183 * sysdeps/wordsize-64/scandir64.c: File removed.
39184 * sysdeps/wordsize-64/scandirat.c: File removed.
39185 * sysdeps/wordsize-64/scandirat64.c: File removed.
39186 * sysdeps/wordsize-64/versionsort.c: File removed.
39187 * sysdeps/wordsize-64/versionsort64.c: File removed.
39188 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39189 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39190 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39191 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39192 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39193 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39194 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39195 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39196
39197 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39199 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39201 [defined __arch64__ || defined __sparcv9]
39202 (__INO_T_MATCHES_INO64_T): New macro.
39203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39204 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39205 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39206 * sysdeps/unix/sysv/linux/bits/dirent.h
39207 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39208 (_DIRENT_MATCHES_DIRENT64): New macro.
39209
03af9520
RM
39210 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39211 Define lockf64 as an alias.
39212 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39213 Define fseeko64 as an alias.
39214 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39215 Define ftello64 as an alias.
39216 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39217 Define _IO_fgetpos64 and fgetpos64 as aliases.
39218 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39219 Define _IO_fsetpos64 and fsetpos64 as aliases.
39220 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39221 Conditionalize body on this.
39222 * libio/fseeko64.c: Likewise.
39223 * libio/ftello64.c: Likewise.
39224 * libio/iofgetpos64.c: Likewise.
39225 * libio/iofsetpos64.c: Likewise.
39226 * sysdeps/wordsize-64/lockf.c: File removed.
39227 * sysdeps/wordsize-64/lockf64.c: File removed.
39228 * sysdeps/wordsize-64/fseeko.c: File removed.
39229 * sysdeps/wordsize-64/fseeko64.c: File removed.
39230 * sysdeps/wordsize-64/ftello.c: File removed.
39231 * sysdeps/wordsize-64/ftello64.c: File removed.
39232 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39233 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39234 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39235 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39236 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39238 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39240 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39242 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39243 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39246
39247 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39249 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39250 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39251 [defined __arch64__ || defined __sparcv9]
39252 (__OFF_T_MATCHES_OFF64_T): New macro.
39253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39254 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39256 (__OFF_T_MATCHES_OFF64_T): New macro.
39257
c5757acd
L
392582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39259
39260 * stdlib/secure-getenv.c (__secure_getenv): Replace
39261 GLIBC_2_16 with GLIBC_2_17.
39262
3a31811e
L
392632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39264
39265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39266 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39267
faa2bccb
DM
392682012-08-03 David S. Miller <davem@davemloft.net>
39269
39270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39271
85fe1997
JM
392722012-08-03 Joseph Myers <joseph@codesourcery.com>
39273
39274 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39275 Remove.
39276 (__ASSUME_CORRECT_SI_PID): Likewise.
39277 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39278 (__ASSUME_TMPFS_NAME): Likewise.
39279 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39280 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39281 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39282 (HAVE_AUX_SECURE): Make definition unconditional.
39283 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39284 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39285
4f75b7a0
RM
392862012-08-03 Roland McGrath <roland@hack.frob.com>
39287
39288 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39289 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39290 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39291 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39292 __eloop_threshold instead of SYMLOOP_MAX.
39293
39294 * sysdeps/generic/eloop-threshold.h: New file.
39295 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39296 of MAXSYMLINKS.
39297 * elf/chroot_canon.c (chroot_canon): Likewise.
39298
7aab07e4
JM
392992012-08-03 Joseph Myers <joseph@codesourcery.com>
39300
39301 [BZ #13717]
39302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39303 Change to 2.6.0 everywhere.
39304 * sysdeps/unix/sysv/linux/configure: Regenerated.
39305 * sysdeps/unix/sysv/linux/kernel-features.h
39306 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39307 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39308 kernel versions.
39309 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39310 (__ASSUME_FUTEX_REQUEUE): Remove.
39311 (__ASSUME_STATFS64): Define unconditionally.
39312 (__ASSUME_AT_SECURE): Likewise.
39313 (__ASSUME_CORRECT_SI_PID): Likewise.
39314 (__ASSUME_TGKILL): Define without depending on kernel version for
39315 i386.
39316 (__ASSUME_UTIMES): Likewise.
39317 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39318 kernel version.
39319 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39320 (__ASSUME_TMPFS_NAME): Likewise.
39321 * README: Update reference to Linux kernel versions.
39322
b67e9372
MP
393232012-08-02 Marek Polacek <polacek@redhat.com>
39324
1f529f7d 39325 [BZ# 14150]
b67e9372
MP
39326 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39327 libc_cv_asm_type_prefix with %.
39328 * configure: Regenerated.
d2441631
RM
39329 * include/libc-symbols.h: Remove comment about
39330 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39331 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39332 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39333 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39334 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39335 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39336 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39337 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39338 * elf/tst-unique2mod1.c: Likewise.
39339 * elf/tst-unique1mod2.c: Likewise.
39340 * elf/tst-unique1mod1.c: Likewise.
39341 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39342 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39343 Replace ASM_TYPE_DIRECTIVE with .type.
39344 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39345 * sysdeps/i386/sysdep.h: Likewise.
39346 * sysdeps/x86_64/sysdep.h: Likewise.
39347 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39349 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39350 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39351 * sysdeps/powerpc/powerpc32/sysdep.h:
39352 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39353 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39354 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39355 * sysdeps/i386/fpu/e_powf.S: Likewise.
39356 * sysdeps/i386/fpu/e_expl.S: Likewise.
39357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39358 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39359 * sysdeps/i386/fpu/e_pow.S: Likewise.
39360 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39361 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39362 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39363 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39364 * sysdeps/i386/fpu/e_log2.S: Likewise.
39365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39366 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39367 * sysdeps/i386/fpu/e_powl.S: Likewise.
39368 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39369 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39370 * sysdeps/i386/fpu/e_logl.S: Likewise.
39371 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39372 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39373 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39374 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39375 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39376 * sysdeps/i386/fpu/e_log.S: Likewise.
39377 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39378 * sysdeps/i386/fpu/e_logf.S: Likewise.
39379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39381 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39382 * sysdeps/i386/fpu/e_log10.S: Likewise.
39383 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39385 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39386 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39388 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39389 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39390 * sysdeps/i386/i686/strtok.S: Likewise.
39391 * sysdeps/i386/i386-mcount.S: Likewise.
39392 * sysdeps/i386/strtok.S: Likewise.
39393 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39394 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39395 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39396 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39397 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39398 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39399 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39400 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39401 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39402 * sysdeps/x86_64/_mcount.S: Likewise.
39403 * sysdeps/x86_64/strtok.S: Likewise.
39404 * sysdeps/sh/_mcount.S: Likewise.
39405
2747bf9a
RM
394062012-08-01 Roland McGrath <roland@hack.frob.com>
39407
39408 * libio/iofopen.c: Include <fcntl.h>.
39409 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39410 (_IO_fopen64, fopen64): Define as aliases.
39411 * libio/iofopen64.c: Include <fcntl.h>.
39412 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39413 Conditionalize body on this.
39414 * sysdeps/wordsize-64/iofopen.c: File removed.
39415 * sysdeps/wordsize-64/iofopen64.c: File removed.
39416
3fb791b8
MP
394172012-08-01 Marek Polacek <polacek@redhat.com>
39418
39419 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39420 Use dlfcn directly instead of a variable.
39421 (binfmt-subdir): Do not define.
39422 (dlfcn): Likewise.
39423
a9f1039f
JM
394242012-08-01 Joseph Myers <joseph@codesourcery.com>
39425
23bddc06
JM
39426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39427 Remove all definitions.
39428 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39429 <kernel-features.h>.
39430 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39431 (miss_F_GETOWN_EX): Remove all definitions.
39432 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39433 macro definition.
39434 [!__ASSUME_FCNTL64]: Remove conditional code.
39435 [__ASSUME_FCNTL64]: Make code unconditional.
39436 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39437 <kernel-features.h>.
39438 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39439 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39440 (lockf64) [__NR_fcntl64]: Make code unconditional.
39441 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39442
a9f1039f
JM
39443 * sysdeps/unix/sysv/linux/kernel-features.h
39444 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39445 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39446 Make code unconditional.
39447 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39448 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39450 [__NR_vfork]: Make code unconditional.
39451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39454 [__NR_vfork]: Make code unconditional.
39455 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39456 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39457
09c0ee5f
RM
394582012-08-01 Roland McGrath <roland@hack.frob.com>
39459
48aec5b9
RM
39460 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39461 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39462
cd97c966
RM
39463 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39464 Define mkstemp64 as an alias.
3f55550c
RM
39465 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39466 Define mkstemps64 as an alias.
cd97c966
RM
39467 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39468 Define mkostemp64 as an alias.
b8625cfc
RM
39469 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39470 Define mkostemps64 as an alias.
cd97c966
RM
39471 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39472 Conditionalize body on this.
39473 * misc/mkostemp64.c: Likewise.
b8625cfc 39474 * misc/mkostemps64.c: Likewise.
3f55550c 39475 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39476 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39477 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39478 * sysdeps/wordsize-64/mkostemp.c: File removed.
39479 * sysdeps/wordsize-64/mkstemp.c: File removed.
39480 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39481 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39482 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39483 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39484
09c0ee5f
RM
39485 [BZ #14138]
39486 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39487 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39488 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39489 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39490
39491 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39492 compat_symbol macros from <shlib-compat.h> rather than the underlying
39493 default_symbol_version and symbol_version macros, so that DEFAULT
39494 lines in shlib-versions are respected.
39495 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39496
7e66ee51
FW
394972012-08-01 Florian Weimer <fweimer@redhat.com>
39498
39499 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39500 Declare with warn_unused_result.
39501 (setgid, setregid, setegid, setresgid): Likewise.
39502 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39503 Likewise.
39504 * WUR-REPORT: Remove set*id functions.
39505
d2a54255
PT
395062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39507
39508 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39509
7ecdb005
RM
395102012-07-31 Roland McGrath <roland@hack.frob.com>
39511
b4180a5e 39512 [BZ #10191]
789bd351
RM
39513 * include/sys/socket.h (__libc_accept, __libc_accept4):
39514 Add attribute_hidden.
39515 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39516
40ce302d
RM
39517 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39518 use of PTR_MANGLE.
39519 * inet/getnetgrent_r.c (setup): Likewise.
39520
7ecdb005
RM
39521 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39522
e2eabb2c
DM
395232012-07-31 David S. Miller <davem@davemloft.net>
39524
39525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39526
d0419dbf
JM
395272012-07-31 Joseph Myers <joseph@codesourcery.com>
39528
39529 [BZ #13629]
39530 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39531 value between 1.0 and 2.0 and smaller part has absolute value less
39532 than 1.0.
39533 * math/s_clog10.c (__clog10): Likewise.
39534 * math/s_clog10f.c (__clog10f): Likewise.
39535 * math/s_clog10l.c (__clog10l): Likewise.
39536 * math/s_clogf.c (__clogf): Likewise.
39537 * math/s_clogl.c (__clogl): Likewise.
39538 * math/libm-test.inc (clog_test): Add more tests.
39539 (clog10_test): Likewise.
39540 * sysdeps/i386/fpu/libm-test-ulps: Update.
39541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39542
2bc13872
FW
395432012-07-31 Florian Weimer <fweimer@redhat.com>
39544
39545 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39546 Exit with zero in case no suitable GID is found, and write a
39547 message to standard error.
39548
bea9b193
RM
395492012-07-30 Roland McGrath <roland@hack.frob.com>
39550
39551 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39552 rather than to 1.
39553 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39554 (MAXPATHLEN): Removed.
39555 (NOGROUP, NODEV): New macros.
39556 (setbit, clrbit, isset, isclr): New macros.
39557 (howmany, roundup, powerof2): New macros.
39558 (DEV_BSIZE): New macro.
39559
39560 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39561 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39562
39563 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39564 definition on [!__NO_LONG_DOUBLE_MATH].
39565
39566 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39567 PTR_MANGLE and PTR_DEMANGLE.
39568
39569 * socket/accept4.c (accept4): Rename to __libc_accept4.
39570 Define accept4 as a weak alias.
39571
39572 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39573 on [_DIRENT_HAVE_D_TYPE].
39574 * io/ftw.c (ftw_dir): Likewise.
39575
39576 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39577
39578 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39579
39580 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39581 Use the BSD numbers rather than the arbitrary ones we had.
39582 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39583 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39584 (SIGXCPU, SIGXFSZ): New macros.
39585 (_NSIG): Now 32.
39586
39587 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39588 initializer on [_LIBC_REENTRANT].
39589
39590 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39591 definitions inside [_POSIX_MAPPED_FILES].
39592
39593 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39594
39595 * dirent/opendir.c: Include <fcntl.h>.
39596
39597 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39598 (__libc_getspecific): Likewise.
39599 (__libc_key_create): Likewise.
39600
39601 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39602 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39603 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39604 (tmpfile64): Define as alias.
39605 * sysdeps/wordsize-64/tmpfile.c: File removed.
39606 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39607 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39608 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39609
39610 * stdio-common/vfscanf.c: Include <stdbool.h>.
39611 * nss/makedb.c: Likewise.
39612 * stdio-common/_i18n_number.h: Likewise.
39613 * argp/argp-help.c: Likewise.
39614 * posix/wordexp.c: Likewise.
39615 * sysdeps/posix/spawni.c: Likewise.
39616 * nss/nss_files/files-initgroups.c: Likewise.
39617 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39618 * nss/nss_files/files-initgroups.c: Likewise.
39619 * nss/nss_db/db-netgrp.c: Likewise.
39620 * nss/nss_db/db-initgroups.c: Likewise.
39621 * io/fchmodat.c: Include <sys/stat.h>.
39622
39623 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39624 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39625
39626 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39627 [HAVE_MMAP].
39628
39629 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39630 Add multiple inclusion protection.
39631
e5abc686
DM
396322012-07-27 David S. Miller <davem@davemloft.net>
39633
39634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39635
815e6fa3
GB
396362012-07-27 Gary Benson <gbenson@redhat.com>
39637
39638 [BZ #14298]
39639 * elf/rtld.c: Include <stap-probe.h>.
39640 (dl_main): Added static probes "init_start" and "init_complete".
39641 * elf/dl-load.c: Include <stap-probe.h>.
39642 (lose): Take new parameter "nsid".
39643 Added static probe "map_failed".
39644 (_dl_map_object_from_fd): Pass namespace id to lose.
39645 Added static probe "map_start".
39646 (open_verify): Pass namespace id to lose.
39647 * elf/dl-open.c: Include <stap-probe.h>.
39648 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39649 and "reloc_complete".
39650 * elf/dl-close.c: Include <stap-probe.h>.
39651 (_dl_close_worker): Added static probes "unmap_start" and
39652 "unmap_complete".
39653 * elf/rtld-debugger-interface.txt: New file documenting the above.
39654
9f98c16c
RM
396552012-07-26 Roland McGrath <roland@hack.frob.com>
39656
39657 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39658 rather than a string variable.
39659 * sunrpc/rpc_main.c (h_output): Likewise.
39660 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39661
f3c22df3
PT
396622012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39663
39664 * inet/check_native.c: New file.
39665
3129cfc6
JM
396662012-07-26 Joseph Myers <joseph@codesourcery.com>
39667
da865e95
JM
39668 [BZ #13629]
39669 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39670 if larger part has absolute value 1.0.
39671 * math/s_clog10.c (__clog10): Likewise.
39672 * math/s_clog10f.c (__clog10f): Likewise.
39673 * math/s_clog10l.c (__clog10l): Likewise.
39674 * math/s_clogf.c (__clogf): Likewise.
39675 * math/s_clogl.c (__clogl): Likewise.
39676 * math/libm-test.inc (clog_test): Add more tests.
39677 (clog10_test): Likewise.
39678 * sysdeps/i386/fpu/libm-test-ulps: Update.
39679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39680
3129cfc6
JM
39681 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39682 (pltexit): Likewise.
39683 (La_regs): Likewise.
39684 (La_retval): Likewise.
39685 (int_retval): Likewise.
39686 Update #error for removed macros to refer only to definitions in
39687 tst-audit.h.
39688 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39689 macro.
39690 (pltexit): Likewise.
39691 (La_regs): Likewise.
39692 (La_retval): Likewise.
39693 (int_retval): Likewise.
39694 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39695 macro.
39696 (pltexit): Likewise.
39697 (La_regs): Likewise.
39698 (La_retval): Likewise.
39699 (int_retval): Likewise.
39700 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39701 macro.
39702 (pltexit): Likewise.
39703 (La_regs): Likewise.
39704 (La_retval): Likewise.
39705 (int_retval): Likewise.
39706 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39707 macro.
39708 (pltexit): Likewise.
39709 (La_regs): Likewise.
39710 (La_retval): Likewise.
39711 (int_retval): Likewise.
39712 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39713 macro.
39714 (pltexit): Likewise.
39715 (La_regs): Likewise.
39716 (La_retval): Likewise.
39717 (int_retval): Likewise.
39718 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39719 macro.
39720 (pltexit): Likewise.
39721 (La_regs): Likewise.
39722 (La_retval): Likewise.
39723 (int_retval): Likewise.
39724 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39725 macro definitions in tst-audit.h.
39726 * sysdeps/i386/tst-audit.h: New file.
39727 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39728 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39729 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39730 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39731 * sysdeps/sh/tst-audit.h: Likewise.
39732 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39733 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39734 * sysdeps/x86_64/tst-audit.h: Likewise.
39735
bfc07087
AJ
397362012-07-26 Andreas Jaeger <aj@suse.de>
39737
b1b2aaf8
AJ
39738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39739 ptrace.
39740
39741 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39742 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39743 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39744 PTRACE_O_MASK.
39745 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39746 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39747 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39748
bfc07087
AJ
39749 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39750 value.
39751
39752 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39753 _sigsys.
39754 (si_call_addr, si_syscall, si_arch): Define new macro.
39755 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39756 _sigsys.
39757 (si_call_addr, si_syscall, si_arch): Define new marcro.
39758 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39759 _sigsys.
39760 (si_call_addr, si_syscall, si_arch): Define new macro.
39761 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39762 _sigsys.
39763 (si_call_addr, si_syscall, si_arch): Define new macro.
39764
89b4b02f
JM
397652012-07-25 Joseph Myers <joseph@codesourcery.com>
39766
39767 [BZ #13717]
39768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39769 Change to 2.4.21 where previously 2.4.1.
39770 * sysdeps/unix/sysv/linux/configure: Regenerated.
39771 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39772 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39773 Linux kernel version.
39774 (__ASSUME_STD_AUXV): Remove.
39775 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39776 kernel version.
39777 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39778 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39779 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39780 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39781 (__ASSUME_NETLINK_SUPPORT): Likewise.
39782 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39783 (__no_netlink_support): Remove conditional definition.
39784 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39785 Remove.
39786 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39787 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39788 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39789 (if_nameindex_ioctl): Remove.
39790 (if_nameindex_netlink): Do not handle __no_netlink_support.
39791 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39792 code.
39793 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39794 Remove conditional code.
39795 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39796 code.
39797 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39798 unconditional.
39799 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39800 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39801 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39802 Remove.
39803 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39804 [!__ASSUME_STD_AUXV]: Remove conditional code.
39805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39806 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39807 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39809 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39810 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39811 code.
39812 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39814 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39815 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39816 conditional code.
39817 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39819 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39820 code.
39821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39822 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39823 conditional code.
39824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39825 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39826 code unconditional.
39827 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39828 conditional code.
39829 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39830 unconditional.
39831 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39832 conditional code.
39833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39834 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39835 unconditional.
39836 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39837 conditional code.
39838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39839 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39840 code unconditional.
39841 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39842 conditional code.
39843 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39844 unconditional.
39845 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39846 conditional code.
39847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39848 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39849 code unconditional.
39850 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39851 conditional code.
39852 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39853 unconditional.
39854 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39855 conditional code.
39856
842a39cd
AS
398572012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39858
39859 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39860 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39861 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39862 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39863 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39864 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39865 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39866 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39867 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39868 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39869 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39870 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39871 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39872 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39873 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39874 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39875 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39876 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39877 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39879 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39880 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39881 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39882
84b3fd84
FW
398832012-07-25 Florian Weimer <fweimer@redhat.com>
39884
39885 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39886 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39887 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39888 Introduce __libc_secure_getenv.
0c7936d5
FW
39889 * stdlib/Versions (2.17): Add secure_getenv
39890 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39891 * stdlib/secure-getenv.c: Rename __secure_getenv to
39892 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39893 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39894 * stdlib/tst-secure-getenv.c: New.
39895 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39896 * manual/startup.texi (Environment Access): Document
39897 secure_getenv.
84b3fd84
FW
39898 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39899 __libc_secure_getenv.
39900 * inet/ruserpass.c (ruserpass): Likewise.
39901 * malloc/mtrace.c (mtrace): Likewise.
39902 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39903 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39904 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39905 * sysdeps/posix/tempname.c: Likewise. Evaluate
39906 HAVE_SECURE_GETENV.
39907 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39908 __secure_getenv to __libc_secure_getenv.
84b3fd84 39909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39911 Likewise.
39912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39913 Likewise.
39914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39916 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39921
56e49b71
JM
399222012-07-25 Joseph Myers <joseph@codesourcery.com>
39923
39924 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39925 (struct La_i86_retval): Likewise.
39926 (struct La_x86_64_regs): Likewise.
39927 (struct La_x86_64_retval): Likewise.
39928 (struct La_x32_regs): Likewise.
39929 (struct La_x32_retval): Likewise.
39930 (struct La_ppc32_regs): Likewise.
39931 (struct La_ppc32_retval): Likewise.
39932 (struct La_ppc64_regs): Likewise.
39933 (struct La_ppc64_retval): Likewise.
39934 (struct La_sh_regs): Likewise.
39935 (struct La_sh_retval): Likewise.
39936 (struct La_s390_32_regs): Likewise.
39937 (struct La_s390_32_retval): Likewise.
39938 (struct La_s390_64_regs): Likewise.
39939 (struct La_s390_64_retval): Likewise.
39940 (struct La_sparc32_regs): Likewise.
39941 (struct La_sparc32_retval): Likewise.
39942 (struct La_sparc64_regs): Likewise.
39943 (struct La_sparc64_retval): Likewise.
39944 (struct audit_ifaces): Remove architecture-specific pltenter and
39945 pltexit members.
39946 * sysdeps/i386/ldsodefs.h: New file.
39947 * sysdeps/powerpc/ldsodefs.h: Likewise.
39948 * sysdeps/s390/ldsodefs.h: Likewise.
39949 * sysdeps/sh/ldsodefs.h: Likewise.
39950 * sysdeps/sparc/ldsodefs.h: Likewise.
39951 * sysdeps/x86_64/ldsodefs.h: Likewise.
39952
354691b7
MP
399532012-07-25 Marek Polacek <polacek@redhat.com>
39954
39955 [BZ #6808]
39956 * math/libm-test.inc (yn_test): Add another test.
39957 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39958 to ERANGE when the result is +-Inf.
39959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39960 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39961 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39962 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39963
bf9e2071
JM
399642012-07-24 Joseph Myers <joseph@codesourcery.com>
39965
39966 * conform/data/time.h-data (NULL): Use macro-constant. Require
39967 equal to 0.
39968 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39969 clock_t.
39970 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39971
57633811
TS
399722012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39973
39974 * configure.in <sysdeps resolving>: Correct printing
39975 Implies_before.
39976 * configure: Regenerate.
39977
c23c33b0
TS
399782012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39979
39980 * math/w_ilogb.c: Include <limits.h>.
39981 * math/w_ilogbl.c: Likewise.
39982
b5982523
JM
399832012-07-20 Joseph Myers <joseph@codesourcery.com>
39984
39985 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39986 va_copy. Document allowing for unavailable va_copy only as
39987 pre-C99 compatibility.
39988 * manual/string.texi (Copying and Concatenation): Use va_copy
39989 instead of __va_copy in concat example.
39990
ac4ea442
PT
399912012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39992
39993 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39994 (__sendto): Use create_address_port. Initialize APORT and deallocate
39995 it if not null.
39996
f98eafbd
PT
39997 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39998 with O_NOLINK passed to __file_name_lookup.
39999
898c7aab
PT
40000 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40001 with O_NOLINK passed to __file_name_lookup.
40002
0ced335a
PT
40003 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40004 negative N or less than NGIDS.
40005
b3404dbd
PT
40006 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40007 type to string_t. Set ERANGE as errno and return it if NAME is not big
40008 enough. Use memcpy instead of strncpy.
40009
0f48659e
JM
400102012-07-20 Joseph Myers <joseph@codesourcery.com>
40011
40012 * elf/Makefile (check-data): Remove.
40013 (localplt.data): New vpath directive.
40014 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40015 instead of $(check-data).
40016 * scripts/data/localplt-generic.data: Move to ...
40017 * sysdeps/generic/localplt.data: ... here.
40018 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40019 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40020 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40022 ... here.
40023 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40025 ... here.
40026 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40028 ... here.
40029 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40031 ... here.
40032 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40034 ... here.
40035 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40037 ... here.
40038
d37cbdaa
AZ
400392012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40040
40041 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40042 PPC32 and PPC64 files.
40043 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40044 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40045
46f85fc2
AK
400462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40047
40048 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40049 __makecontext_ret to ...
40050 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40051 ... here and call exit if uc_link is NULL. New file.
40052 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40053 __makecontext_ret.S.
40054 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40055 __makecontext_ret to ...
40056 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40057 ... here and call exit if uc_link is NULL. New file.
40058 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40059 __makecontext_ret.S.
40060
08f43f9b
AK
400612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40062
40063 * elf/elf.h (R_390_IRELATIVE): New definition.
40064 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40065 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40066 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40067 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40068 (elf_machine_lazy_rel): Likewise.
40069 * sysdeps/s390/dl-irel.h: New file.
40070 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40071 * sysdeps/s390/s390-64/memset.S: New asm code.
40072 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40073 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40074 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40075 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40076 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40077 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40078 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40079 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40080 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40081 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40082 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40083 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40084 * sysdeps/s390/s390-32/memset.S: New asm code.
40085 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40086
3b05db33
MP
400872012-07-17 Marek Polacek <polacek@redhat.com>
40088
40089 [BZ #14349]
40090 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40091 * sysdeps/s390/s390-64/configure.in: Likewise.
40092 * sysdeps/sparc/configure.in: Likewise.
40093 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40094 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40095 * sysdeps/i386/configure.in: Likewise.
40096 * sysdeps/x86_64/configure.in: Likewise.
40097 * sysdeps/sh/configure.in: Likewise.
40098 * sysdeps/s390/s390-32/configure: Regenerated.
40099 * sysdeps/s390/s390-64/configure: Likewise.
40100 * sysdeps/x86_64/configure: Likewise.
40101 * sysdeps/sh/configure: Likewise.
40102 * sysdeps/powerpc/powerpc64/configure: Likewise.
40103 * sysdeps/powerpc/powerpc32/configure: Likewise.
40104 * sysdeps/sparc/configure: Likwise.
40105 * sysdeps/i386/configure: Likewise.
40106
a66877c6
MP
40107 * elf/dl-open.c: Comment fixes.
40108
cfc82fd8
JM
401092012-07-17 Joseph Myers <joseph@codesourcery.com>
40110
bd29910a
JM
40111 * Makefile [CXX] (check-data): Remove.
40112 [CXX] (c++-types.data): New vpath directive.
40113 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40114 vpath. Do not allow for C++ type data being missing.
40115 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40116 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40117 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40118 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40119 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40120 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40121 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40123 ... here.
40124 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40126 ... here.
40127 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40129 ... here.
40130 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40132 ... here.
40133 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40135 ... here.
40136 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40138 ... here.
40139 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40141 ... here.
40142 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40144
cfc82fd8
JM
40145 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40146 definitions to architecture-specific files.
40147 (TLS_IE): Likewise.
40148 (TLS_LD): Likewise.
40149 (TLS_GD): Likewise.
40150 * sysdeps/i386/tls-macros.h: New file.
40151 * sysdeps/powerpc/tls-macros.h: Likewise.
40152 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40153 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40154 * sysdeps/sh/tls-macros.h: Likewise.
40155 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40156 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40157 * sysdeps/x86_64/tls-macros.h: Likewise.
40158
f7db3170
TS
401592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40160
07cbfc23
TS
40161 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40162 zero value for regular exit case.
40163
f7db3170
TS
40164 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40165 (__start_context): Preserve zero value for regular exit case.
40166
dc97c227
TS
401672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40168 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40169
40170 * manual/setjmp.texi (setcontext): Clarify normal process
40171 termination when uc_link is the null pointer.
40172 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40173 exit call.
40174
d0cd7d02
AS
401752012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40176
40177 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40178 preprocessor. Test for each exception mask separately.
40179
dd318934
AJ
401802012-07-16 Andreas Jaeger <aj@suse.de>
40181
40182 * po/ru.po: Update from translation team.
40183
8048311a
JM
401842012-07-15 Joseph Myers <joseph@codesourcery.com>
40185
40186 * conform/data/string.h-data (NULL): Use macro-constant. Require
40187 equal to 0.
40188 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40189 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40190 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40191 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40193
b637d46e
AJ
401942012-07-13 Andreas Jaeger <aj@suse.de>
40195
40196 * po/fr.po: Update from translation team.
40197
541428fe
MP
401982012-07-12 Marek Polacek <polacek@redhat.com>
40199
40200 [BZ #14173]
40201 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40202 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40203 loop condition.
40204
ec332e94
JM
402052012-07-12 Joseph Myers <joseph@codesourcery.com>
40206
40207 [BZ #13717]
40208 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40209 Change to 2.4.1 where previously 2.4.0.
40210 * sysdeps/unix/sysv/linux/configure: Regenerated.
40211 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40212 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40213 version.
40214 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40215 (__ASSUME_AT_CLKTCK): Remove.
40216 (__ASSUME_AT_PAGESIZE): Likewise.
40217 (__ASSUME_AT_XID): Likewise.
40218 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40219 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40220 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40221 unconditionally.
40222 (HAVE_AUX_PAGESIZE): Likewise.
40223 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40224 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40225 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40226
7b6e99be
JB
402272012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40228
40229 [BZ #14307]
40230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40231 the temporary buffer used to invoke __gethostbyname2_r,
40232 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40233 host_data / struct gaih_addrtuple.
40234 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40235 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40236 header file nss/nsswitch.h.
40237 * nss/nsswitch.h (global scope): Add definition of implementation
40238 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40239 resolv/nss_dns/dns-host.c).
40240
608404eb
AJ
402412012-07-11 Andreas Jaeger <aj@suse.de>
40242
40243 * po/fr.po: Update from translation team.
40244
71220aca
AJ
40245 * po/sv.po: Update from translation team
40246 * po/fr.po: Another update from translation team.
40247
28cfe843
AZ
402482012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40249
40250 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40251 for subnormals or multiply small sinh result by itself.
40252 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40254
6b90f981
DM
402552012-07-11 David S. Miller <davem@davemloft.net>
40256
40257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40258
c6825772
AS
402592012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40260
40261 [BZ #14347]
40262 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40263 (INTERNAL_MARK): Shift it here.
40264
7b8e0d49
MP
402652012-07-10 Marek Polacek <polacek@redhat.com>
40266
40267 [BZ #14151]
40268 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40269 libc_cv_asm_global_directive with .globl.
40270 * configure: Regenerated.
40271 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40272 with .globl.
40273 * sysdeps/i386/configure: Regenerated.
40274 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40275 with .globl.
40276 * sysdeps/x86_64/configure: Regenerated.
40277 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40278 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40279 * elf/tst-unique2mod2.c: Likewise.
40280 * elf/tst-unique2mod1.c: Likewise.
40281 * elf/tst-unique1mod2.c: Likewise.
40282 * elf/tst-unique1mod1.c: Likewise.
40283 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40284 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40286 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40287 * sysdeps/mach/sysdep.h: Likewise.
40288 * sysdeps/i386/sysdep.h: Likewise.
40289 * sysdeps/i386/i386-mcount.S: Likewise.
40290 * sysdeps/x86_64/_mcount.S: Likewise.
40291 * sysdeps/x86_64/sysdep.h: Likewise.
40292 * sysdeps/sh/_mcount.S: Likewise.
40293 * sysdeps/sh/sysdep.h: Likewise.
40294 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40295 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40296 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40297 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40298 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40299 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40300 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40301 * locale/localeinfo.h: Likewise.
40302 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40303 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40304
6c55cda3
RM
403052012-07-09 Roland McGrath <roland@hack.frob.com>
40306
40307 [BZ #14336]
40308 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40309 system".
40310 * manual/message.texi (The Uniforum approach): Likewise.
40311 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40312 (glibc iconv Implementation): Likewise.
40313
638a572e
JM
403142012-07-09 Joseph Myers <joseph@codesourcery.com>
40315
40316 [BZ #14337]
40317 * math/s_clog.c (__clog): Avoid scaling a value down where that
40318 could result in underflow.
40319 * math/s_clog10.c (__clog10): Likewise.
40320 * math/s_clog10f.c (__clog10f): Likewise.
40321 * math/s_clog10l.c (__clog10l): Likewise.
40322 * math/s_clogf.c (__clogf): Likewise.
40323 * math/s_clogl.c (__clogl): Likewise.
40324 * math/libm-test.inc (clog_test): Add more tests.
40325 (clog10_test): Likewise.
40326 * sysdeps/i386/fpu/libm-test-ulps: Update.
40327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40328
261f4859
AS
403292012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40330
0abaf3e4
AS
40331 [BZ #14283]
40332 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40333 by 7 not 8 to examine high bit of fractional part.
40334
261f4859
AS
40335 [BZ #14042]
40336 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40337 for call to __mcount_internal.
40338 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40339 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40340 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40341
f17ac40d
JM
403422012-07-06 Joseph Myers <joseph@codesourcery.com>
40343
9ad63c23
JM
40344 [BZ #14154]
40345 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40346 approximation for values within 0x1p-13f of an odd multiple of
40347 pi/4.
40348 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40349 exception. Add more tests.
40350 * sysdeps/i386/fpu/libm-test-ulps: Update.
40351
f17ac40d
JM
40352 [BZ #6778]
40353 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40354 inputs and return -1 for them. Do not check for +Inf in case not
40355 reachable for +Inf.
40356 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40357 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40359 and return -1 for them. Do not check for +Inf in case not
40360 reachable for +Inf.
40361 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40362 define.
40363 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40364 and return -1 for them. Do not check for +Inf in case not
40365 reachable for +Inf.
40366 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40367 spurious underflow.
40368 * sysdeps/i386/fpu/libm-test-ulps: Update.
40369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40370
fb21f89b
MF
403712012-07-06 Mike Frysinger <vapier@gentoo.org>
40372
40373 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40374
cdfe2c5e
JM
403752012-07-05 Joseph Myers <joseph@codesourcery.com>
40376
40377 [BZ #14157]
40378 [BZ #14331]
40379 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40380 could result in spurious underflow. Scale down values above
40381 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40382 * math/s_csqrtf.c (__csqrtf): Likewise.
40383 * math/s_csqrtl.c (__csqrtl): Likewise.
40384 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40385 spurious underflow.
40386 * sysdeps/i386/fpu/libm-test-ulps: Update.
40387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40388
70d35b67
AS
403892012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40390
704bc459
AS
40391 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40392 xopen-msg.sed.
40393 * catgets/xopen-msg.awk: New file.
40394 * catgets/xopen-msg.sed: Removed.
40395
70d35b67
AS
40396 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40397 po2text.sed.
40398 * intl/po2test.awk: New file.
40399 * intl/po2test.sed: Removed.
40400
ca61cf32
JM
404012012-07-04 Joseph Myers <joseph@codesourcery.com>
40402
40403 [BZ #14328]
40404 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40405 or multiply small sinh result by itself.
40406 * math/s_ctanf.c (__ctanf): Likewise.
40407 * math/s_ctanh.c (__ctanh): Likewise.
40408 * math/s_ctanhf.c (__ctanhf): Likewise.
40409 * math/s_ctanhl.c (__ctanhl): Likewise.
40410 * math/s_ctanl.c (__ctanl): Likewise.
40411 * math/libm-test.inc (ctan_test_tonearest): New function.
40412 (ctan_test_towardzero): Likewise.
40413 (ctan_test_downward): Likewise.
40414 (ctan_test_upward): Likewise.
40415 (ctanh_test_tonearest): Likewise.
40416 (ctanh_test_towardzero): Likewise.
40417 (ctanh_test_downward): Likewise.
40418 (ctanh_test_upward): Likewise.
40419 (main): Call these new functions.
40420 * sysdeps/i386/fpu/libm-test-ulps: Update.
40421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40422
ca48a46a
MF
404232012-07-03 Mike Frysinger <vapier@gentoo.org>
40424
40425 * .gitignore: Delete /ports entry.
40426
9d63d37d
AJ
404272012-07-03 Andreas Jaeger <aj@suse.de>
40428
40429 * po/bg.po: Update from translation team.
40430 * po/cs.po: Likewise.
40431 * po/de.po: Likewise.
40432 * po/hr.po: Likewise.
40433 * po/nl.pl: Likewise.
40434 * po/pl.po: Likewise.
40435 * po/vi.po: Likewise.
40436
370ca3d2
JM
404372012-07-03 Joseph Myers <joseph@codesourcery.com>
40438
95f5a9a8
JM
40439 * Makeconfig [!+link] (+link-before-libc): New variable.
40440 [!+link] (+link-after-libc): Likewise.
40441 [!+link] (+link-tests): Likewise.
40442 [!+link] (+link): Define in terms of $(+link-before-libc) and
40443 $(+link-after-libc).
40444 [!+link-static] (+link-static-before-libc): New variable.
40445 [!+link-static] (+link-static-after-libc): Likewise.
40446 [!+link-static] (+link-static-tests): Likewise.
40447 [!+link-static] (+link-static): Define in terms of
40448 $(+link-static-before-libc) and $(+link-static-after-libc).
40449 [build-shared] (link-libc-before-gnulib): New variable.
40450 [build-shared] (link-libc-tests): Likewise.
40451 [build-shared] (link-libc): Define in terms of
40452 $(link-libc-before-gnulib).
40453 [!build-shared] (link-libc-tests): New variable.
40454 (link-libc-static-tests): New variable.
40455 [!gnulib] (gnulib-arch): New variable.
40456 [!gnulib] (gnulib-tests): Likewise.
40457 [!gnulib] (static-gnulib-arch): Likewise.
40458 [!gnulib] (static-gnulib-tests): Likewise.
40459 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40460 Define with "=" instead of ":=".
40461 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40462 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40463 * Rules (binaries-all-notests): New variable.
40464 (binaries-all-tests): Likewise.
40465 (binaries-static-notests): Likewise.
40466 (binaries-static-tests): Likewise.
40467 (binaries-all): Define using $(binaries-all-notests) and
40468 $(binaries-all-tests).
40469 (binaries-static): Define using $(binaries-static-notests) and
40470 $(binaries-static-tests).
40471 (binaries-shared-tests): New variable.
40472 (binaries-shared-notests): Likewise.
40473 (binaries-shared): Remove variable.
40474 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40475 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40476 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40477 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40478 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40479 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40480 * elf/Makefile (sln-modules): New variable.
40481 (extra-objs): Add $(sln-modules:=.o).
40482 (ldconfig-modules): Add static-stubs.
40483 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40484 * elf/static-stubs.c: New file.
40485
7a845b2c
JM
40486 [BZ #14283]
40487 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40488 by 7 not 8 to examine high bit of fractional part. Use volatile
40489 variables when splitting into final array of floats if
40490 __FLT_EVAL_METHOD__ != 0.
40491 * math/libm-test.inc (cos_test): Add another test.
40492 (sin_test): Likewise.
40493 * sysdeps/i386/fpu/libm-test-ulps: Update.
40494
e2283f38
JM
40495 [BZ #14273]
40496 * math/libm-test.inc (cosh_test): Add more tests.
40497
370ca3d2
JM
40498 * version.h (RELEASE): Set to "development".
40499 (VERSION): Set to "2.16.90".
40500
ee9247c3
CD
405012012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40502
40503 * NEWS: Update copyright. Remove last-updated date.
40504 Mention math library bug fixes and timezone data changes.
40505 * README: Mention GNU/Hurd, x32, and HPPA support status.
40506
4648c381
TS
405072012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40508
40509 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40510
aac78a43
AJ
405112012-06-27 Andreas Jaeger <aj@suse.de>
40512
40513 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40514
ed3dbfad
AJ
405152012-06-25 Andreas Jaeger <aj@suse.de>
40516
40517 * sysdeps/s390/fpu/libm-test-ulps: Update.
40518
4d0ee855
AS
405192012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40520 Thomas Schwinge <thomas@codesourcery.com>
40521
40522 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40523 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40525 fanotify_mark.
40526
af1bce34
TS
405272012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40528
a9fa33ba
TS
40529 * sysdeps/mach/start.c: Remove file.
40530 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40531 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40532 * sysdeps/sh/init-first.c: Likewise.
40533
58f902b8
TS
40534 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40535 registers for frame unwinding purposes, add CFI directives.
40536 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40537 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40538 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40539 Likewise.
40540
1518f58b
TS
40541 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40542 __fortify_fail returning.
40543 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40544
db9b5059
TS
40545 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40546 sysdeps/sh/____longjmp_chk.S.
40547 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40548 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40549 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40550 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40551
967705fe
TS
40552 * sysdeps/sh/abort-instr.h: New file.
40553 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40554 process in case exit returns.
40555
a9def8c4
TS
40556 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40557 initialize the GOT register before use.
40558
2a649725
TS
40559 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40560 calculation of ARGC > 4.
40561
af1bce34
TS
40562 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40563 meaningful names to some local labels.
40564
d230f50a
KK
405652012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40566 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40567
40568 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40569 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40570 (__arch_compare_and_exchange_val_16_acq): Likewise.
40571 (__arch_compare_and_exchange_val_32_acq): Likewise.
40572 (atomic_exchange_and_add): Fix gUSA sequence.
40573 (atomic_add): Likewise.
40574 (atomic_add_negative): Likewise.
40575 (atomic_add_zero): Likewise.
40576 (atomic_bit_test_set): Likewise.
40577
0479b305
AS
405782012-06-22 Andreas Schwab <schwab@redhat.com>
40579
40580 [BZ #13579]
40581 * include/link.h (struct link_map): Add l_free_initfini.
40582 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40583 l_initfini.
40584 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40585 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40586 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40587 set.
40588
0e3933b9
CD
405892012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40590
40591 * configure.in: Use AC_LANG_SOURCE.
40592 * configure: Regenerate.
40593
4248b1b1
RM
405942012-06-22 Roland McGrath <roland@hack.frob.com>
40595
40596 * configure.in (libc_cv_localstatedir): New substituted variable.
40597 * configure: Regenerated.
40598 * config.make.in (localstatedir): New variable, substituted from
40599 libc_cv_localstatedir.
40600 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40601 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40602 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40603 * sysdeps/gnu/configure: Regenerated.
40604
006dd861
JL
406052012-06-21 Jeff Law <law@redhat.com>
40606
40607 [BZ #14277]
40608 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40609 free. Simplify list management for _LIBC case.
40610
79662d42
JM
406112012-06-21 Joseph Myers <joseph@codesourcery.com>
40612
b7abb4bf
JM
40613 [BZ #14273]
40614 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40615 Clear sign bit of 64-bit integer value before comparing against
40616 overflow value.
40617
79662d42
JM
40618 * sysdeps/mach/configure: Regenerated.
40619
1f150908
L
406202012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40621
40622 [BZ #14278]
40623 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40624
28363bbf
JL
406252012-06-21 Jeff Law <law@redhat.com>
40626
40627 [BZ #13882]
40628 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40629 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40630 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40631 * elf/dl-open.c (dl_open_worker): Likewise.
40632
09615db4
CD
406332012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40634
40635 * scripts/list-sources.sh: Scan PORTS for translations.
40636 * po/libc.pot: Regenerated.
40637
2174c6dd
AJ
406382012-06-21 Andreas Jaeger <aj@suse.de>
40639
40640 [BZ #12194]
40641 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40642 warning.
40643 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40644 * bits/byteswap-16.h (__bswap_16): Likewise.
40645 * bits/byteswap.h (__bswap_constant_16): Likewise.
40646
3ee947b1
L
406472012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40648
40649 [BZ #14117]
a2f34833
L
40650 * sysdeps/i386/fpu_control.h: Removed.
40651 * sysdeps/x86_64/fpu_control.h: Moved to ...
40652 * sysdeps/x86/fpu_control.h: Here.
40653
3ee947b1
L
40654 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40655 (_FPU_SETCW): Likewise.
40656
ed1825f8
L
406572012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40658
25f1282a
L
40659 [BZ #14117]
40660 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40661 * sysdeps/x86/fpu/bits/mathinline.h: This.
40662 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40663
ed1825f8
L
40664 [BZ #14050]
40665 [BZ #14117]
40666 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40667 functions if __x86_64__ is defined.
40668
36d54b74
CLT
406692012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40670
40671 * string/endian.h: Add !__ASSEMBLER__ condition for including
40672 conversion interfaces.
40673
10285c21
JM
406742012-06-15 Joseph Myers <joseph@codesourcery.com>
40675
40676 [BZ #14241]
40677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40678 of ABS(x) in calculating zero to negative powers other than odd
40679 integers.
40680 * math/libm-test.inc (pow_test): Add more tests.
40681
06c5abbd
AJ
406822012-06-15 Andreas Jaeger <aj@suse.de>
40683
40684 * manual/contrib.texi (Contributors): Update entry of Liubov
40685 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40686 Machado Filho.
40687
a3aeac40
CH
406882012-06-15 Cyril Hrubis <metan@ucw.cz>
40689
40690 * string/string.h: Add __wur to GNU version of strerror_r.
40691
49bdf4c1
L
406922012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40693
40694 [BZ #14229]
40695 * string/Makefile (tests): Add tst-strtok_r.
40696 * string/tst-strtok_r.c: New file.
40697 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40698 RAX_LP/RDX_LP on SAVE_PTR.
40699
834f9b8d
RM
407002012-06-14 Roland McGrath <roland@hack.frob.com>
40701
40702 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40703
75fa1921
JM
407042012-06-14 Joseph Myers <joseph@codesourcery.com>
40705
40706 * libm_test.inc (csqrt_test): Allow more spurious underflow
40707 exceptions.
40708 (j0_test): Likewise.
40709 (j1_test): Likewise.
40710 (y0_test): Likewise.
40711 (y1_test): Likewise.
40712
771766df
CD
407132012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40714
40715 * po/Makefile (libc.pot): Use UTF-8 charset.
40716
ceb9e56b
PP
407172012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40718
40719 [BZ #14210]
40720 Suppress sign-conversion warning from FD_SET.
40721 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40722 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40723 not unsigned long int.
40724 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40725
ddb28975
L
407262012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40727
40728 [BZ #14050]
40729 [BZ #14117]
40730 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40731 __extern_always_inline instead of __extern_inline.
40732 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40733 (__signbit): Likewise.
40734 (__signbitl): Support C++ namespace.
40735 (lrintf): New inline function.
40736 (lrint): Likewise.
40737 (llrintf): Likewise.
40738 (llrint): Likewise.
40739 (fmaxf): Likewise.
40740 (fmax): Likewise.
40741 (fminf): Likewise.
40742 (fmin): Likewise.
40743 (rint): Likewise.
40744 (rintf): Likewise.
40745 (ceil): Likewise.
40746 (ceilf): Likewise.
40747 (floor): Likewise.
40748 (floorf): Likewise.
40749 (nearbyint): Likewise.
40750 (nearbyintf): Likewise.
40751
d7b4fb26
TS
407522012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40753
40754 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40755 non-default versions.
40756
eb55f5c2
RM
407572012-06-11 Roland McGrath <roland@hack.frob.com>
40758
40759 [BZ #14218]
40760 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40761
366af02c
TS
407622012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40763
99ff6e5c
TS
40764 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40765 (FE_UPWARD, FE_DOWNWARD): Don't define.
40766 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40767 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40768
366af02c
TS
40769 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40770 reading it.
40771 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40772 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40773
793ea851
KK
407742012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40775
40776 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40777 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40778 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40779 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40780
a728a38f
L
407812012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40782
40783 [BZ #14117]
c08010c7
L
40784 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40785 * sysdeps/i386/fpu/Implies: New file.
40786 * sysdeps/x86_64/fpu/Implies: Likewise.
40787 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40788 * sysdeps/x86/fpu/bits/fenv.h: This.
40789
a728a38f
L
40790 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40791 __SSE_MATH__.
40792
6e230d11
SP
407932012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40794
40795 [BZ #14134]
40796 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40797 character 0xffff that matches the last element of the
40798 conversion table.
40799
1b671feb
AZ
408002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40801
40802 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40803 fmodl commit.
40804
6043738b
AZ
408052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40806
40807 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40808 values higher than 25.6283.
40809
34ae0b32
AZ
408102012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40811
40812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40813 subnormal exponent extraction and add some __builtin_expect.
40814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40815 Fix for subnormal mantissa calculation.
40816
1214ec8f
MF
408172012-06-04 Mike Frysinger <vapier@gentoo.org>
40818
40819 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40820 cpu2 is -1 and errno is not ENOSYS.
40821
f3d1f93c
L
408222012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40823
40824 [BZ #14117]
0e4a3cd7
L
40825 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40826 * sysdeps/x86/bits/string.h: This.
40827 * sysdeps/x86_64/bits/string.h: Removed.
40828
6704c645
L
40829 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40830 if not compiling for x86-64, but compiling for >= i486.
40831
48495318
L
40832 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40833 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40834
14adcbfc
L
40835 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40836 New macro from Linux kernel 3.4.0.
40837 (FP_XSTATE_MAGIC2): Likewise.
40838 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40839 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40840 (struct _fpx_sw_bytes): New struct.
40841 (struct _xsave_hdr): Likewise.
40842 (struct _ymmh_state): Likewise.
40843 (struct _xstate): Likewise.
40844
68e408ab
L
40845 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40846 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40847 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40848 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40849 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40850 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40851
f3d1f93c
L
40852 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40853 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40854 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40855 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40856 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40857 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40858
d9dc34cd
TMQMF
408592012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40860
40861 [BZ #13743]
40862 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40863 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40864 (sysdep_headers): Include sys/platform/ppc.h.
40865 * sysdeps/powerpc/test-gettimebase.c: Test for
40866 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40867 * manual/Makefile (appendices): Include platform.texi.
40868 * manual/contrib.texi (Contributors): Update @node pointers.
40869 * manual/maint.texi (Maintenance): Likewise.
40870 (Platform): New node.
40871 * manual/platform.texi: New file. Document the new features.
40872
4af3879c
SP
408732012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40874 Jakub Jelinek <jakub@redhat.com>
40875
40876 [BZ #14188]
40877 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40878 where __builtin_expect is unavailable.
40879
2fd6ff13
DM
408802012-06-03 David S. Miller <davem@davemloft.net>
40881
40882 * stdlib/longlong.h: Updated from GCC.
40883
173f7220
AS
408842012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40885
40886 [BZ #14042]
40887 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40888 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40889 __mcount_internal.
40890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40891 (GLIBC_2.16): Likewise.
40892
f34a1c6f
L
408932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40894
40895 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40896
88a4576f
JM
408972012-06-01 Joseph Myers <joseph@codesourcery.com>
40898
ea32bcdd
JM
40899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40900 (default-abi): New variable.
40901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40902 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40903 variable.
40904 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40905 Likewise.
40906 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40907 Likewise.
40908 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40909 Likewise.
40910
88a4576f
JM
40911 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40912 definition. Document in comment.
40913
402fe938
DM
409142012-06-01 David S. Miller <davem@davemloft.net>
40915
40916 * stdlib/longlong.h: Updated from GCC.
40917
3553723f
L
409182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40919
40920 [BZ #14117]
3bd872c4
L
40921 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40922 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40923 sys/debugreg.h sys/io.h here.
40924 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40925 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40926 sys/io.h.
40927 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40928 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40929 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40930 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40931 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40932 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40933
3553723f
L
40934 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40935 Define only if __x86_64__ is defined.
40936
4842e4fe
JM
409372012-06-01 Joseph Myers <joseph@codesourcery.com>
40938
c5bfe3d5
JM
40939 [BZ #14048]
40940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40941 Use int64_t for variable i.
40942 * math/libm-test.inc (fmod_test): Add more tests.
40943
4842e4fe
JM
40944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40945 z computation is not scheduled after fetestexcept.
40946 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40947 Use math_force_eval instead of asm to ensure calculation scheduled
40948 before exception test.
40949 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40950 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40951
efb73488
AJ
409522012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40953
40954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40955 computation is not scheduled after fetestexcept.
40956
29bcce7c
L
409572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40958
40959 [BZ #14117]
40960 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40961 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40962
73a68f94
AZ
409632012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40964
40965 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40966 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40967
67b6df78
L
409682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40969
edf2933a 40970 [BZ #14117]
ebc64a18
L
40971 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40972 <bits/wordsize.h>.
40973 (__WCHAR_MIN): Support __WORDSIZE == 64.
40974 (__WCHAR_MAX): Likewise.
40975
edf2933a
L
40976 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40977 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40978
57c6cf40
L
40979 [BZ #14183]
40980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40981 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40982
67b6df78 40983 [BZ #14117]
8eb6281e
L
40984 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40985 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40986
aac639f4
L
40987 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40988 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40989
67b6df78
L
40990 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40991 Defined to 1 if __x86_64__ isn't defined.
40992 (_STAT_VER_LINUX_OLD): New.
40993 (st_atime): Remove duplicate.
40994 (st_mtime): Likewise.
40995 (st_ctime): Likewise.
40996
1c2cfe81
DM
409972012-05-31 David S. Miller <davem@davemloft.net>
40998
40999 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41000 entries.
41001
5be8418c
AS
410022012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41003
e7725326
AS
41004 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41005 gen-libm-test.pl.
41006
5be8418c
AS
41007 [BZ #14132]
41008 * elf/dl-reloc.c: Include <_itoa.h>.
41009 (_dl_reloc_bad_type): Remove use of INTUSE.
41010 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41011 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41012 * stdio-common/psiginfo.c (psiginfo): Likewise.
41013 * stdio-common/psignal.c (psignal): Likewise.
41014 * string/strsignal.c (strsignal): Likewise.
41015 * include/signal.h (_sys_siglist): Declare hidden proto.
41016 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41017 INTVARDEF with libc_hidden_data_def.
41018 * stdio-common/itoa-udigits.c: Likewise.
41019 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41020 (_itoa_lower_digits_internal): Remove declaration.
41021 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41022 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41023 (_sys_sigabbrev_internal): Remove aliases.
41024 (_sys_siglist): Define hidden alias.
41025
507352f1
MT
410262012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41027
41028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41029 bits/sysctl.h.
41030
42bbb1c3
L
410312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41032
41033 [BZ #14117]
6bd784b6
L
41034 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41035 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41036
8bca20f0
L
41037 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41038 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41039 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41040 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41042 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41043
f9e890a9
L
41044 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41045 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41046 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41047
471101a1
L
41048 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41049 with __addr.
41050 (insw): Likewise.
41051 (insl): Likewise.
41052 (outsb): Likewise.
41053 (outsw): Likewise.
41054 (outsl): Likewise.
41055
6451c862
L
41056 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41057 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41058 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41059
a254b8c9
L
41060 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41061 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41062 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41063 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41064 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41065 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41066
b8dfdd92
L
41067 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41068 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41069
578cd270
L
41070 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41071 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41072
de662f5f
L
41073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41074 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41075 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41076
25653439
L
41077 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41078 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41079 to ...
41080 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41081
6bad24a0
L
41082 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41083 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41084 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41085
42bbb1c3
L
41086 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41087 for x86-64.
41088 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41089
2d10d547
JM
410902012-05-31 Joseph Myers <joseph@codesourcery.com>
41091
41092 * math/math.h (M_El): Use two more decimal places.
41093 (M_LOG2El): Likewise.
41094 (M_LOG10El): Likewise.
41095 (M_LN2l): Likewise.
41096 (M_LN10l): Likewise.
41097 (M_PIl): Likewise.
41098 (M_PI_2l): Likewise.
41099 (M_PI_4l): Likewise.
41100 (M_1_PIl): Likewise.
41101 (M_2_PIl): Likewise.
41102 (M_2_SQRTPIl): Likewise.
41103 (M_SQRT2l): Likewise.
41104 (M_SQRT1_2l): Likewise.
41105
f230c29b
DM
411062012-05-31 David S. Miller <davem@davemloft.net>
41107
41108 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41109 values between float registers.
41110 * sysdeps/sparc/sparc64/memset.S: Likewise.
41111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41112
fed806c3
MF
411132012-05-31 Mike Frysinger <vapier@gentoo.org>
41114
41115 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41116 -D_FORTIFY_SOURCE=1.
41117 (CPPFLAGS-tst-longjmp_chk.c): Define.
41118 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41119 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41120 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41121 CFLAGS-tst-wchar-h.c.
41122
30917259
MP
411232012-05-31 Marek Polacek <polacek@redhat.com>
41124
41125 [BZ #14132]
41126 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41127 __endmntent_internal): Remove declaration.
41128 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41129 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41130 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41131
1c58d5dc
DM
411322012-05-30 David S. Miller <davem@davemloft.net>
41133
41134 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41135 (___Q_simulate_exceptions): Use real FP ops rather than writing
41136 into the %fsr.
41137 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41138 Likewise.
41139
7dc00e0d
L
411402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41141
41142 [BZ #14117]
0bd53985
L
41143 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41144 * sysdeps/x86/bits/xtitypes.h: This.
41145
3a257e66
L
41146 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41147 * sysdeps/x86/bits/wordsize.h: This.
41148
62f62904
L
41149 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41150 * sysdeps/x86/bits/huge_vall.h: This.
41151
404fe9d9
L
41152 * sysdeps/i386/bits/select.h: Removed.
41153 * sysdeps/x86_64/bits/select.h: Renamed to ...
41154 * sysdeps/x86/bits/select.h: This.
41155
d48d0446
L
41156 * sysdeps/i386/bits/setjmp.h: Removed.
41157 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41158 * sysdeps/x86/bits/setjmp.h: This.
41159
7dc00e0d
L
41160 * sysdeps/i386/bits/mathdef.h: Removed.
41161 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41162 * sysdeps/x86/bits/mathdef.h: This.
41163
03277f8f
AS
411642012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41165
41166 [BZ #14132]
41167 * include/sys/socket.h (__connect_internal)
41168 (__libc_sa_len_internal): Remove declaration.
41169 (__connect, __libc_sa_len): Declare hidden_proto.
41170 (SA_LEN): Remove use of INTUSE.
41171 * socket/connect.c: Add libc_hidden_def.
41172 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41173 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41174 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41175 alias.
41176 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41177 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41178 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41179 of adding _internal alias.
41180
13764867
L
411812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41182
41183 [BZ #14117]
6bd97696
L
41184 * sysdeps/i386/bits/link.h: Removed.
41185 * sysdeps/i386/bits/linkmap.h: Likewise.
41186 * sysdeps/x86_64/bits/link.h: Renamed to ...
41187 * sysdeps/x86/bits/link.h: This.
41188 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41189 * sysdeps/x86/bits/linkmap.h: This.
41190
f726f0bb
L
41191 * sysdeps/i386/bits/endian.h: Removed.
41192 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41193 * sysdeps/x86/bits/endian.h: This.
41194
13764867
L
41195 * sysdeps/i386/bits/byteswap.h: Removed.
41196 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41197 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41198 * sysdeps/x86/bits/byteswap.h: This.
41199 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41200 * sysdeps/x86/bits/byteswap-16.h: This.
41201 * sysdeps/i386/Implies: Add x86.
41202 * sysdeps/x86_64/Implies: Likewise.
41203
ae251b0b
DM
412042012-05-30 David S. Miller <davem@davemloft.net>
41205
41206 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41207 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41208 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41209 (FP_TRAPPING_EXCEPTIONS): Define.
41210 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41211 (FP_TRAPPING_EXCEPTIONS): Define.
41212 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41213 subnormals only when inexact has been signalled or underflow
41214 exceptions are enabled.
41215 (_FP_PACK_CANONICAL): Likewise.
41216
d5c90867
L
412172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41218
41219 [BZ #14183]
41220 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41221 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41222
63f1549e
RH
412232012-05-30 Richard Henderson <rth@twiddle.net>
41224
8d8f2279
RH
41225 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41226 with #ifndef NOT_IN_libc.
41227
63f1549e
RH
41228 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41229 marked to avoid plt entry.
41230
0ab0291b
L
412312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41232
41233 [BZ #14112]
41234 * Makeconfig (default-abi): New macro.
41235 (abi-includes): Likewise.
41236 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41237 $(abi-$(default-abi)-lib-soname) for soname if defined.
41238 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41239 abi-variants.
41240 * Makefile (installed-stubs): Likewise.
41241 * include/stubs-biarch.h: Removed.
41242 * scripts/lib-names.awk: Only handle one library at a time.
41243 * scripts/soversions.awk: Remove WORDSIZE support.
41244 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41245 entries.
41246 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41247 Removed.
41248 (syscall-list-default-condition): Likewise.
41249 (syscall-list-default-condition): Likewise.
41250 (syscall-list-includes): Likewise.
41251 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41252 syscall-list-* with abi-*. Handle undefined abi-variants.
41253 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41254 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41255 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41256 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41257 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41258 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41259 Removed.
41260 (syscall-list-32-options): Likewise.
41261 (syscall-list-32-condition): Likewise.
41262 (syscall-list-64-options): Likewise.
41263 (syscall-list-64-condition): Likewise.
41264 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41265 macro.
41266 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41267 Renamed to ...
41268 (abi-*): This.
41269 (abi-64-ld-soname): New macro.
41270 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41271 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41272 Renamed to ...
41273 (abi-*): This.
41274 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41275 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41276
4da0431d
JM
412772012-05-30 Joseph Myers <joseph@codesourcery.com>
41278
3a85279c
JM
41279 * sysdeps/unix/sysv/linux/kernel-features.h
41280 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41281 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41282 include <kernel-features.h>.
41283 [!__NR_ftruncate64]: Remove conditional code.
41284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41285 [__NR_ftruncate64]: Make code unconditional.
41286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41287 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41288 include <kernel-features.h>.
41289 [!__NR_ftruncate64]: Remove conditional code.
41290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41291 [__NR_ftruncate64]: Make code unconditional.
41292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41294 include <kernel-features.h>.
41295 [!__NR_ftruncate64]: Remove conditional code.
41296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41297 [__NR_ftruncate64]: Make code unconditional.
41298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41300 include <kernel-features.h>.
41301 [!__NR_ftruncate64]: Remove conditional code.
41302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41303 [__NR_ftruncate64]: Make code unconditional.
41304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41305
4da0431d
JM
41306 * configure.in (libc_cv_fpie): Weaken to a compile test using
41307 LIBC_TRY_CC_OPTION.
41308 * configure: Regenerated.
41309
11ef492c
AK
413102012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41311
41312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41316 Refreshed.
41317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41323 Refreshed.
41324
d66ef399
DM
413252012-05-27 David S. Miller <davem@davemloft.net>
41326
41327 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41328 (___Q_zero): New.
41329 (__Q_simulate_exceptions): Return void. Change to simulate
41330 exceptions by writing into the %fsr.
41331 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41332 (__Qp_handle_exceptions): Likewise.
41333 (numbers): Delete.
41334 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41335 __Qp_handle_exceptions.
41336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41337 __Qp_handle_exceptions.
41338 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41339 as unused and give dummy FP_RND_NEAREST initializer.
41340 (FP_INHIBIT_RESULTS): Define.
41341 (___Q_simulate_exceptions): Update declaration.
41342 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41343 formatting.
41344 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41345 as unused and give dummy FP_RND_NEAREST initializer.
41346 (__Qp_handle_exceptions): Update declaration.
41347 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41348 formatting.
41349
04fb54b5
TS
413502012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41351
41352 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41353 the temporary FPU control word.
41354 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41355 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41356 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41357 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41358 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41359 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41360 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41361 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41362 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41363 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41364 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41365
3f99608f
KK
413662012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41367
41368 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41369 fields.
41370
65a4de4e
CLT
413712012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41372
41373 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41374 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41375 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41376 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41377 Likewise.
41378 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41379 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41380 Likewise.
41381
15749d40
UD
413822012-05-27 Ulrich Drepper <drepper@gmail.com>
41383
41384 * po/h.po: Update from translation team.
41385
25dbcb27
AS
413862012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41387
3d3f8e55
AS
41388 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41389
25dbcb27
AS
41390 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41391 handling of denormals.
41392 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41393 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41394 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41395 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41396 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41397 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41399 Likewise.
41400
7ad47a80 414012012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41402
41403 [BZ #14152]
41404 * math/libm-test.inc (fma_test): Don't always expect underflow
41405 exception.
41406
9c6ea9fa
SP
414072012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41408
41409 [BZ #12416]
41410 * elf/tst-execstack.c: Include stackinfo.h.
41411 (do_test): Adjust test case to ensure that pthread_getattr_np
41412 behaviour remains the same after marking stack executable.
41413
a8239222
JM
414142012-05-25 Joseph Myers <joseph@codesourcery.com>
41415
41416 * sysdeps/unix/sysv/linux/kernel-features.h
41417 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41418 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41419 kernel-features.h.
41420 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41421 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41422 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41423 kernel-features.h.
41424 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41425 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41426
918b5606
L
414272012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41428
41429 * configure.in: Define the default includes to being none.
41430 * configure: Regenerated.
41431
3a097cc7
RM
414322012-05-25 Roland McGrath <roland@hack.frob.com>
41433
8422c9a5
RM
41434 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41435 * sysdeps/x86_64/setjmp.S: Likewise.
41436 * sysdeps/i386/bsd-setjmp.S: Likewise.
41437 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41438 * sysdeps/i386/setjmp.S: Likewise.
41439 * sysdeps/i386/__longjmp.S: Likewise.
41440 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41441 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41442
3a097cc7
RM
41443 * include/stap-probe.h: New file.
41444 * configure.in: Handle --enable-systemtap.
41445 * configure: Regenerated.
41446 * config.h.in (USE_STAP_PROBE): New #undef.
41447 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41448 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41449 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41450
21708942
JM
414512012-05-25 Joseph Myers <joseph@codesourcery.com>
41452
41453 [BZ #13717]
41454 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41455 to 2.4.0 where earlier.
41456 * sysdeps/unix/sysv/linux/configure: Regenerated.
41457 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41458 <kernel-features.h>.
41459 [__ASSUME_32BITUIDS]: Make code unconditional.
41460 [!__ASSUME_32BITUIDS]: Remove conditional code.
41461 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41462 <kernel-features.h>.
41463 [__ASSUME_32BITUIDS]: Make code unconditional.
41464 [!__ASSUME_32BITUIDS]: Remove conditional code.
41465 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41466 [__ASSUME_32BITUIDS]: Make code unconditional.
41467 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41468 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41469 <kernel-features.h>.
41470 [__ASSUME_32BITUIDS]: Make code unconditional.
41471 [!__ASSUME_32BITUIDS]: Remove conditional code.
41472 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41473 <kernel-features.h>.
41474 [__ASSUME_32BITUIDS]: Make code unconditional.
41475 [!__ASSUME_32BITUIDS]: Remove conditional code.
41476 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41477 <kernel-features.h>.
41478 [__ASSUME_32BITUIDS]: Make code unconditional.
41479 [!__ASSUME_32BITUIDS]: Remove conditional code.
41480 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41481 <kernel-features.h>.
41482 [__ASSUME_32BITUIDS]: Make code unconditional.
41483 [!__ASSUME_32BITUIDS]: Remove conditional code.
41484 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41485 <kernel-features.h>.
41486 [__ASSUME_32BITUIDS]: Make code unconditional.
41487 [!__ASSUME_32BITUIDS]: Remove conditional code.
41488 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41489 <kernel-features.h>.
41490 [__ASSUME_32BITUIDS]: Make code unconditional.
41491 [!__ASSUME_32BITUIDS]: Remove conditional code.
41492 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41493 <kernel-features.h>.
41494 [__ASSUME_32BITUIDS]: Make code unconditional.
41495 [!__ASSUME_32BITUIDS]: Remove conditional code.
41496 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41497 <kernel-features.h>.
41498 [__ASSUME_32BITUIDS]: Make code unconditional.
41499 [!__ASSUME_32BITUIDS]: Remove conditional code.
41500 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41501 <kernel-features.h>.
41502 [__ASSUME_32BITUIDS]: Make code unconditional.
41503 [!__ASSUME_32BITUIDS]: Remove conditional code.
41504 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41505 <kernel-features.h>.
41506 [__ASSUME_32BITUIDS]: Make code unconditional.
41507 [!__ASSUME_32BITUIDS]: Remove conditional code.
41508 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41509 <kernel-features.h>.
41510 [__NR_setresgid] (__setresgid): Do not declare.
41511 [__ASSUME_32BITUIDS]: Make code unconditional.
41512 [!__ASSUME_32BITUIDS]: Remove conditional code.
41513 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41514 <kernel-features.h>.
41515 [__NR_setresuid] (__setresuid): Do not declare.
41516 [__ASSUME_32BITUIDS]: Make code unconditional.
41517 [!__ASSUME_32BITUIDS]: Remove conditional code.
41518 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41519 <kernel-features.h>.
41520 [__ASSUME_32BITUIDS]: Make code unconditional.
41521 [!__ASSUME_32BITUIDS]: Remove conditional code.
41522 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41523 <kernel-features.h>.
41524 [__ASSUME_32BITUIDS]: Make code unconditional.
41525 [!__ASSUME_32BITUIDS]: Remove conditional code.
41526 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41527 <kernel-features.h>.
41528 [__ASSUME_32BITUIDS]: Make code unconditional.
41529 [!__ASSUME_32BITUIDS]: Remove conditional code.
41530 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41531 <kernel-features.h>.
41532 [__ASSUME_32BITUIDS]: Make code unconditional.
41533 [!__ASSUME_32BITUIDS]: Remove conditional code.
41534 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41535 <kernel-features.h>.
41536 [__ASSUME_32BITUIDS]: Make code unconditional.
41537 [!__ASSUME_32BITUIDS]: Remove conditional code.
41538 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41539 <kernel-features.h>.
41540 [__ASSUME_32BITUIDS]: Make code unconditional.
41541 [!__ASSUME_32BITUIDS]: Remove conditional code.
41542 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41543 <kernel-features.h>.
41544 [__ASSUME_32BITUIDS]: Make code unconditional.
41545 [!__ASSUME_32BITUIDS]: Remove conditional code.
41546 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41547 <kernel-features.h>.
41548 [__ASSUME_32BITUIDS]: Make code unconditional.
41549 [!__ASSUME_32BITUIDS]: Remove conditional code.
41550 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41551 <kernel-features.h>.
41552 [__ASSUME_32BITUIDS]: Make code unconditional.
41553 [!__ASSUME_32BITUIDS]: Remove conditional code.
41554 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41555 <kernel-features.h>.
41556 [__ASSUME_32BITUIDS]: Make code unconditional.
41557 [!__ASSUME_32BITUIDS]: Remove conditional code.
41558 * sysdeps/unix/sysv/linux/kernel-features.h
41559 (__ASSUME_SETRESUID_SYSCALL): Remove.
41560 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41561 (__ASSUME_32BITUIDS): Likewise.
41562 (__ASSUME_LDT_WORKS): Likewise.
41563 (__ASSUME_O_DIRECTORY): Likewise.
41564 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41565 architecture but not kernel version.
41566 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41567 (__ASSUME_MMAP2_SYSCALL): Likewise.
41568 (__ASSUME_STAT64_SYSCALL): Likewise.
41569 (__ASSUME_IPC64): Likewise.
41570 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41571 <kernel-features.h>.
41572 [__ASSUME_32BITUIDS]: Make code unconditional.
41573 [!__ASSUME_32BITUIDS]: Remove conditional code.
41574 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41575 <kernel-features.h>.
41576 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41577 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41578 132096]: Remove conditional code.
41579 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41580 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
41589 <kernel-features.h>.
41590 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41591 unconditional.
41592 (__setresgid): Do not declare.
41593 [__ASSUME_32BITUIDS]: Make code unconditional.
41594 [!__ASSUME_32BITUIDS]: Remove conditional code.
41595 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41596 <kernel-features.h>.
41597 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41598 unconditional.
41599 (__setresuid): Do not declare.
41600 [__ASSUME_32BITUIDS]: Make code unconditional.
41601 [!__ASSUME_32BITUIDS]: Remove conditional code.
41602 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
41607 <kernel-features.h>.
41608 [__ASSUME_32BITUIDS]: Make code unconditional.
41609 [!__ASSUME_32BITUIDS]: Remove conditional code.
41610
a386f1cc
RH
416112012-05-25 Richard Henderson <rth@twiddle.net>
41612
41613 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41614 dl_hwcap to ifunc resolver.
41615 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41616 elf_ifunc_invoke.
41617 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41618 dl_hwcap to ifunc resolver.
41619 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41620
b6550497
JM
416212012-05-24 Joseph Myers <joseph@codesourcery.com>
41622
41623 [BZ #14153]
41624 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41625 for |x| <= 2**-26, not 2**-57.
41626 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41627 exception.
41628
b0bc23a1
JL
416292012-05-24 Jeff Law <law@redhat.com>
41630
41631 * stdio-common/Makefile (tests): Add bug25.
41632 * stdio-common/bug25.c: New test.
41633
347c92e9
L
416342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41635
41636 [BZ #13576]
41637 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41638 multiple of MALLOC_ALIGNMENT in size.
41639 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41640
6bcc8b3f
JM
416412012-05-24 Joseph Myers <joseph@codesourcery.com>
41642
41643 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41644 Require >= 256.
41645 (FILENAME_MAX): Use macro-int-constant.
41646 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41647 (_IOFBF): Use macro-int-constant.
41648 (_IOLBF): Likewise.
41649 (_IONBF): Likewise.
41650 (SEEK_CUR): Likewise.
41651 (SEEK_END): Likewise.
41652 (SEEK_SET): Likewise.
41653 (TMP_MAX): Likewise.
41654 (EOF): Use macro-int-constant. Require < 0.
41655 (NULL): Use macro-constant. Require == 0.
41656 (stdin): Require type to be FILE *.
41657 (stdout): Likewise.
41658 (stderr): Likewise.
41659 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41660 macro-int-constant.
41661 (EXIT_SUCCESS): Likewise.
41662 (NULL): Use macro-constant. Require == 0.
41663 (RAND_MAX): Use macro-int-constant.
41664 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41665 [C99-based standards] (strtof): Require function.
41666 [C99-based standards] (strtold): Likewise.
41667 [C99-based standards] (strtoll): Likewise.
41668 [C99-based standards] (strtoull): Likewise.
41669 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41670 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41671 [ISO || ISO99 || ISO11] (math.h): Likewise.
41672 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41673 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41675
d18ea0c5
AS
416762012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41677
41678 [BZ #14132]
56d25bb8
AS
41679 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41680 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41681 * intl/dgettext.c (DCGETTEXT): Likewise.
41682 * intl/gettext.c (DCGETTEXT): Likewise.
41683 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41684 * posix/regex_internal.h (gettext): Likewise.
41685 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41686 Remove declaration.
41687 * include/argz.h (__argz_count_internal)
41688 (__argz_stringify_internal): Remove declaration.
41689 (__argz_count, __argz_stringify): Declare hidden proto.
41690 * intl/dcgettext.c: Remove use of INTDEF.
41691 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41692 * string/argz-stringify.c: Likewise.
41693 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41694 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41695 Declare hidden proto.
d18ea0c5
AS
41696 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41697 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41698 Declare hidden proto.
41699 * include/stdio.h (__asprintf_internal): Don't declare.
41700 (__asprintf): Don't define as macro. Declare hidden proto.
41701 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41702 (__fsetlocking): Declare hidden proto.
41703 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41704 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41705 hidden proto.
41706 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41707 (_IO_setlinebuf): Remove use of INTUSE.
41708 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41709 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41710 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41711 Remove declaration.
41712 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41713 (_IO_do_flush): Remove use of INTUSE.
41714 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41715 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41716 (_IO_adjust_column, _IO_least_wmarker)
41717 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41718 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41719 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41720 (_IO_default_doallocate, _IO_wdefault_doallocate)
41721 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41722 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41723 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41724 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41725 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41726 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41727 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41728 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41729 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41730 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41731 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41732 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41733 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41734 proto.
41735 (_IO_flush_all_internal, _IO_adjust_column_internal)
41736 (_IO_default_uflow_internal, _IO_default_finish_internal)
41737 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41738 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41739 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41740 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41741 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41742 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41743 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41744 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41745 (_IO_file_close_internal, _IO_file_close_it_internal)
41746 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41747 (_IO_file_init_internal, _IO_file_attach_internal)
41748 (_IO_file_fopen_internal, _IO_file_read_internal)
41749 (_IO_file_sync_internal, _IO_file_seek_internal)
41750 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41751 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41752 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41753 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41754 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41755 (_IO_list_all_internal, _IO_link_in_internal)
41756 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41757 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41758 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41759 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41760 (_IO_do_write_internal, _IO_padn_internal)
41761 (_IO_getline_info_internal, _IO_getline_internal)
41762 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41763 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41764 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41765 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41766 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41767 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41768 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41769 with libc_hidden_ver, remove use of INTUSE.
41770 * libio/genops.c: Likewise.
41771 * libio/freopen.c: Likewise.
41772 * libio/freopen64.c: Likewise.
41773 * libio/iofclose.c: Likewise.
41774 * libio/iofdopen.c: Likewise.
41775 * libio/iofflush.c: Likewise.
41776 * libio/iofflush_u.c: Likewise.
41777 * libio/iofgets.c: Likewise.
41778 * libio/iofgets_u.c: Likewise.
41779 * libio/iofopen.c: Likewise.
41780 * libio/iofopncook.c: Likewise.
41781 * libio/iofread.c: Likewise.
41782 * libio/iofread_u.c: Likewise.
41783 * libio/ioftell.c: Likewise.
41784 * libio/iofwrite.c: Likewise.
41785 * libio/iogetline.c: Likewise.
41786 * libio/iogets.c: Likewise.
41787 * libio/iogetwline.c: Likewise.
41788 * libio/iopadn.c: Likewise.
41789 * libio/iopopen.c: Likewise.
41790 * libio/ioseekoff.c: Likewise.
41791 * libio/ioseekpos.c: Likewise.
41792 * libio/iosetbuffer.c: Likewise.
41793 * libio/iosetvbuf.c: Likewise.
41794 * libio/ioungetc.c: Likewise.
41795 * libio/ioungetwc.c: Likewise.
41796 * libio/iovdprintf.c: Likewise.
41797 * libio/iovsprintf.c: Likewise.
41798 * libio/iovsscanf.c: Likewise.
41799 * libio/memstream.c: Likewise.
41800 * libio/obprintf.c: Likewise.
41801 * libio/oldfileops.c: Likewise.
41802 * libio/oldiofclose.c: Likewise.
41803 * libio/oldiofdopen.c: Likewise.
41804 * libio/oldiofopen.c: Likewise.
41805 * libio/oldiopopen.c: Likewise.
41806 * libio/oldstdfiles.c: Likewise.
41807 * libio/putc.c: Likewise.
41808 * libio/setbuf.c: Likewise.
41809 * libio/setlinebuf.c: Likewise.
41810 * libio/stdfiles.c: Likewise.
41811 * libio/strops.c: Likewise.
41812 * libio/vasprintf.c: Likewise.
41813 * libio/vscanf.c: Likewise.
41814 * libio/vsnprintf.c: Likewise.
41815 * libio/vswprintf.c: Likewise.
41816 * libio/wfiledoalloc.c: Likewise.
41817 * libio/wfileops.c: Likewise.
41818 * libio/wgenops.c: Likewise.
41819 * libio/wmemstream.c: Likewise.
41820 * libio/wstrops.c: Likewise.
41821 * libio/__fpurge.c: Likewise.
41822 * libio/__fsetlocking.c: Likewise.
41823 * assert/assert.c: Likewise.
41824 * debug/fgets_chk.c: Likewise.
41825 * debug/fgets_u_chk.c: Likewise.
41826 * debug/fread_chk.c: Likewise.
41827 * debug/fread_u_chk.c: Likewise.
41828 * debug/gets_chk.c: Likewise.
41829 * debug/obprintf_chk.c: Likewise.
41830 * debug/vasprintf_chk.c: Likewise.
41831 * debug/vdprintf_chk.c: Likewise.
41832 * debug/vsnprintf_chk.c: Likewise.
41833 * debug/vsprintf_chk.c: Likewise.
41834 * malloc/mtrace.c: Likewise.
41835 * misc/error.c: Likewise.
41836 * misc/syslog.c: Likewise.
41837 * stdio-common/asprintf.c: Likewise.
41838 * stdio-common/fxprintf.c: Likewise.
41839 * stdio-common/getw.c: Likewise.
41840 * stdio-common/isoc99_fscanf.c: Likewise.
41841 * stdio-common/isoc99_scanf.c: Likewise.
41842 * stdio-common/isoc99_vfscanf.c: Likewise.
41843 * stdio-common/isoc99_vscanf.c: Likewise.
41844 * stdio-common/isoc99_vsscanf.c: Likewise.
41845 * stdio-common/printf-prs.c: Likewise.
41846 * stdio-common/printf_fp.c: Likewise.
41847 * stdio-common/printf_fphex.c: Likewise.
41848 * stdio-common/printf_size.c: Likewise.
41849 * stdio-common/putw.c: Likewise.
41850 * stdio-common/scanf.c: Likewise.
41851 * stdio-common/sprintf.c: Likewise.
41852 * stdio-common/tmpfile.c: Likewise.
41853 * stdio-common/vfprintf.c: Likewise.
41854 * stdio-common/vfscanf.c: Likewise.
41855 * stdlib/strfmon_l.c: Likewise.
41856 * sunrpc/openchild.c: Likewise.
41857 * sunrpc/xdr_stdio.c: Likewise.
41858 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41859 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41860
d6c33fda
RM
418612012-05-24 Roland McGrath <roland@hack.frob.com>
41862
c1487492
RM
41863 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41864
41865 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41866 in the third column, to generate for the shared library an IFUNC
41867 that uses _dl_vdso_vsym.
41868 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41869 * Makeconfig (object-suffixes-noshared): New variable.
41870
41871 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41872 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41873 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41874 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41875
d6c33fda
RM
41876 [BZ #14132]
41877 * include/sys/time.h (__gettimeofday): Remove macro.
41878 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41879 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41880 Remove INTDEF.
41881 (__gettimeofday): Add libc_hidden_def.
41882 (gettimeofday): Add libc_hidden_weak.
41883 * sysdeps/mach/gettimeofday.c: Likewise.
41884 * sysdeps/posix/gettimeofday.c: Likewise.
41885 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41886 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41887 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41888 (__gettimeofday_internal): Remove strong_alias.
41889 (__gettimeofday): Add libc_hidden_def.
41890 (gettimeofday): Add libc_hidden_weak.
41891 * sysdeps/unix/syscalls.list (gettimeofday):
41892 Remove __gettimeofday_internal alias.
41893
b5a2bbe6
L
418942012-05-24 Daniel Jacobowitz <drow@false.org>
41895 H.J. Lu <hongjiu.lu@intel.com>
41896
41897 [BZ #12495]
41898 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41899 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41900 (largebin_index_32_big): New.
41901 (largebin_index): Use it for 16-byte alignment.
41902 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41903 correction with front_misalign.
41904
cfba4fda
L
419052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41906
7f907421
L
41907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41909 Likewise.
41910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41911 Likewise.
41912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41913 Likewise.
41914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41915 Likewise.
41916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41917 Likewise.
41918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41919 Likewise.
41920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41921 Likewise.
41922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41923 Likewise.
41924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41925 Likewise.
41926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41927 Likewise.
41928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41929 Likewise.
41930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41931 Likewise.
41932
cfba4fda
L
41933 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41934 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41935
80bad0cc
JM
419362012-05-24 Joseph Myers <joseph@codesourcery.com>
41937
7a25eb06
JM
41938 [BZ #10846]
41939 [BZ #14036]
41940 * math/libm-test.inc (exp_test): Add test from bug 14036.
41941 (pow_test): Add test from bug 10846.
41942
795405f9
JM
41943 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41944 and other flags.
41945 (special_function): Do not include flags in test name.
41946 (parse_args): Likewise.
41947 * sysdeps/i386/fpu/libm-test-ulps: Update.
41948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41949 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41950 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41952
80bad0cc
JM
41953 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41954 exceptions.
41955 * math/libm-test.inc ("Philosophy"): Update comment about
41956 exception testing.
41957 (UNDERFLOW_EXCEPTION): New macro.
41958 (UNDERFLOW_EXCEPTION_OK): Likewise.
41959 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41960 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41961 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41962 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41963 (INVALID_EXCEPTION_OK): Update value.
41964 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41965 (OVERFLOW_EXCEPTION_OK): Likewise.
41966 (IGNORE_ZERO_INF_SIGN): Likewise.
41967 (test_exceptions): Handle underflow exceptions.
41968 (acos_test): Update for underflow exception expectations.
41969 (cexp_test): Likewise.
41970 (clog_test): Likewise.
41971 (clog10_test): Likewise.
41972 (csqrt_test): Likewise.
41973 (ctan_test): Likewise.
41974 (ctanh_test): Likewise.
41975 (exp_test): Likewise.
41976 (exp10_test): Likewise.
41977 (exp2_test): Likewise.
41978 (expm1_test): Likewise.
41979 (fma_test): Likewise.
41980 (j0_test): Likewise.
41981 (jn_test): Likewise.
41982 (nexttoward_test): Likewise.
41983 (pow_test): Likewise.
41984 (scalbn_test): Likewise.
41985 (scalbln_test): Likewise.
41986 (tan_test): Likewise.
41987 (y1_test): Likewise.
41988 * sysdeps/i386/fpu/libm-test-ulps: Update.
41989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41990
9e0e3d0b
DM
419912012-05-23 David S. Miller <davem@davemloft.net>
41992
41993 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41994 (__libc_sigaction): Remove unused local variables.
41995
ccd0a08f
L
419962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41997
41998 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41999
62bdf9a6
PE
420002012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42001
f8591f80
PE
42002 mktime: avoid signed integer overflow
42003 * time/mktime.c (__mktime_internal): Do not mishandle the case
42004 where diff == INT_MIN.
42005
94c7d826
PE
42006 mktime: simplify computation of average
42007 * time/mktime.c (ranged_convert): Use new time_t_avg function
42008 instead of rolling our own (probably-slower) code.
42009
ce73d683
PE
42010 mktime: do not assume signed right shift propagates sign bit
42011 * time/mktime.c (isdst_differ): New static function.
42012 (__mktime_internal): No need to normalize tm_isdst now.
42013 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42014 tm_isdst values.
42015
72a22e59
PE
42016 mktime: merge another wrapv change from gnulib
42017 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42018 from some compilers.
42019
68605433
PE
42020 mktime: remove incorrect attempt at unusual arithmetics
42021 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42022 The code didn't really work on such machines anyway.
42023 (TYPE_MINIMUM): Assume two's complement.
42024 (twos_complement_arithmetic): Verify that long_int and time_t
42025 are two's complement (or unsigned, in the latter case).
42026
03cf7fe3
PE
42027 mktime: check signed shifts on long_int and time_t, too
42028 * time/mktime.c (SHR): Check that shifts work as desired
42029 on the types long_int and time_t too, as SHR is used on
42030 such types.
42031
f04dfbc2
PE
42032 mktime: do not assume 'long' is wide enough
42033 * time/mktime.c (verify): Move decl up.
42034 (long_int): New type.
42035 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42036 to remove assumption in the code that 'long' is wide enough to
42037 store year values. This assumption is not true on x32 and on
42038 some non-glibc platforms.
42039
62bdf9a6
PE
42040 mktime: merge wrapv change from gnulib
42041 * time/mktime.c (WRAPV): New macro.
42042 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42043 (guess_time_tm, __mktime_internal): Do not assume that signed
42044 integer overflow wraps around; modern compilers generate code
42045 where this assumption is no longer valid.
42046
5e292e4f
L
420472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42048
42049 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42050 Replace "jmp L(pseudo_end)" with "ret".
42051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42052 Likewise.
42053
8caf8c87
AJ
420542012-05-23 Andreas Jaeger <aj@suse.de>
42055
42056 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42057 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42058
1a09dc56
AJ
420592012-05-23 Andreas Jaeger <aj@suse.de>
42060 Maximilian Attems <max@stro.at>
42061
42062 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42063 New macros.
42064
1c87aba0
L
420652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42066
42067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42068 code so that pseudo_end is just ret and the stack pointer is
42069 correct also for static library in error case.
42070
40e45bd5
JM
420712012-05-23 Joseph Myers <joseph@codesourcery.com>
42072
c2670533
JM
42073 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42074 move to syscalls.list.
42075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42079
40e45bd5
JM
42080 * manual/install.texi (Running make install): Do not mention Linux
42081 kernel version for which pt_chown is not needed.
42082 (Linux): Do not mention problems with nscd with 2.0 kernels.
42083 * INSTALL: Regenerated.
42084
be08eda5
AJ
420852012-05-23 Andreas Jaeger <aj@suse.de>
42086
42087 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42088 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42089 macro.
42090 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42092 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42094 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42099 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42100 * sysdeps/unix/sysv/linux/bits/in.h
42101 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42102
a6a056bb
RM
421032012-05-22 Roland McGrath <roland@hack.frob.com>
42104
42105 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42106 (PREPARE_VERSION): Just use assert instead, it will be elided
42107 under [NDEBUG] anyway.
42108
c9009328
L
421092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42110
42111 * sysdeps/unix/sysv/linux/Makefile: Include
42112 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42113 (sysdep_routines): Remove sysctl.
c9009328
L
42114 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42115 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42116 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42117 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42118 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42119
73338355
AJ
421202012-05-22 Andreas Jaeger <aj@suse.de>
42121
42122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42123 that pseudo_end is just ret and the stack pointer is correct also
42124 for static library in error case.
42125
d44638b0
PP
421262012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42127
42128 [BZ #14122]
42129 * nss/nsswitch.c (defconfig_entries): New variable.
42130 (__nss_database_lookup): Don't leak defconfig entries.
42131 (nss_parse_service_list): Don't leak on error paths.
42132 (free_database_entries): New function.
42133 (free_defconfig): New function.
42134 (free_mem): Move common code to free_database_entries.
42135
31a39bd8
L
421362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42137
da0331a8
L
42138 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42139 Add arch_prctl.
42140 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42141
31a39bd8
L
42142 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42143 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42145 New macro.
42146 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42147 (INTERNAL_SYSCALL_TYPES): Likewise.
42148 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42149 (LOAD_REGS_TYPES_[1-6]): Likewise.
42150 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42151 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42152
45470df3
AZ
421532012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42154
42155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42156 copysignl for GLIBC_2_0.
42157 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42158 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42159 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42160 logbl for GLIBC_2_0.
42161 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42162 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42163
98a61bcb
L
421642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42165
a4f6e481
L
42166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42167 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42168
f63d5db6
L
42169 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42170 Use "neg %eax".
42171
98a61bcb
L
42172 * time/mktime.c: Update copyright years.
42173
95770f14
PE
421742012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42175
6226efbd
PE
42176 mktime: merge comment-quoting-style change from gnulib
42177 * time/mktime.c: Quote 'like this' in comments.
42178 The GNU coding standards suggest that we no longer quote `like this',
42179 as "`" and "'" are typically rendered asymmetrically nowadays.
42180 The typical gnulib style is to quote 'like this' when quoting
42181 code, and "like this" when quoting English.
42182
b99e4f78
PE
42183 * time/mktime.c (compile-command): Add "-I.".
42184
643e01e6
PE
42185 mktime: merge mktime-internal.h change from gnulib
42186 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42187
2554247d
PE
42188 mktime: merge time_r change from gnulib
42189 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42190
826dd0ab
PE
42191 mktime: merge DEBUG change from gnulib
42192 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42193 case system <time.h> has a #define.
42194
bd83aabe
PE
42195 mktime: merge <sys/types.h> change from gnulib
42196 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42197 since <time.t> is now guaranteed to define time_t.
42198
95770f14
PE
42199 mktime: merge HAVE_CONFIG_H change from gnulib
42200 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42201
5e1a27a9
L
422022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42203
0e44a77e
L
42204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42205 Use "neg %eax".
42206
5e1a27a9
L
42207 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42208 __rlim_t cast.
42209 (struct rusage): Use anonymous union to pad each field to
42210 __syscall_slong_t.
42211
46259bec
DM
422122012-05-21 David S. Miller <davem@davemloft.net>
42213
42214 * Makefules (o-iterator): Remove .s cases.
42215 (compile-command.s): Delete.
42216 (COMPILE.s): Delete.
42217 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42218
59f0c22e
JM
422192012-05-21 Joseph Myers <joseph@codesourcery.com>
42220
42221 * configure.in (libc_cv_predef_stack_protector): Only consider
42222 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42223 * configure: Regenerated.
42224
20c07380
L
422252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42226
bbb3154b
L
42227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42228 New macro. Use R*LP on int and pointer.
42229 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42230 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42231 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42232 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42233
20c07380
L
42234 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42235 [__WORDSIZE_TIME64_COMPAT32] instead of
42236 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42237 (struct utmp): Likewise.
42238 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42239 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42240 Renamed to ...
42241 (__WORDSIZE_TIME64_COMPAT32): This.
42242 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42243 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42244 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42245 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42246 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42247 (__WORDSIZE_TIME64_COMPAT32): New macro.
42248
d8d1017e
AJ
422492012-05-21 Andreas Jaeger <aj@suse.de>
42250
42251 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42252 only if [SHARED]. Add prototype for __wcschr_ia32.
42253
6c7fb145
RM
422542012-05-21 Roland McGrath <roland@hack.frob.com>
42255
42256 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42257 of %rbp unmolested in the jmp_buf while mangling the low bits.
42258 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42259 unmolested high bits of %rbp while demangling the low bits.
42260 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42261
66274218
AJ
422622012-05-21 Andreas Jaeger <aj@suse.de>
42263
07c58f8f
AJ
42264 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42265 * sunrpc/svc_simple.c: Use it for registerrpc.
42266 * sunrpc/xcrypt.c: Use it for passwd2des.
42267
66274218
AJ
42268 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42269
61f65140
L
422702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42271
42272 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42273 Don't define if [__SYSCALL_WORDSIZE != 32].
42274 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42275 New macro.
42276
5fefb436
AJ
422772012-05-21 Bruno Haible <bruno@clisp.org>
42278 Andreas Jaeger <aj@suse.de>
42279
42280 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42281 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42282 inptr and inend for must_buffer_ch.
42283 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42284 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42285 * stdio-common/Makefile (tests): Remove bug15.
42286 (bug15-ENV): Remove macro.
42287 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42288 anymore.
42289
d8e272ab
AJ
422902012-05-19 Andreas Jaeger <aj@suse.de>
42291 Roland McGrath <roland@hack.frob.com>
42292
42293 * manual/contrib.texi: Completely rewritten. It contains now an
42294 alphabetical list of contributors and their contributions.
42295
4a56a162
RH
422962012-05-21 Richard Henderson <rth@twiddle.net>
42297
42298 * misc/getauxval.c (__getauxval): Use unsigned long int.
42299 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42300 (getauxval): Use unsigned long int.
42301
d024d23c
L
423022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42303
42304 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42305
cbc00a03
RM
423062012-05-21 Roland McGrath <roland@hack.frob.com>
42307
42308 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42309 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42310 __alignof__ (long double).
42311
478143fa
AZ
423122012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42313
42314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42315
c7683a6d
RH
423162012-05-20 Richard Henderson <rth@twiddle.net>
42317
42318 * misc/getauxval.c: New file.
42319 * misc/sys/auxv.h: New file.
42320 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42321 (routines): Add getauxval.
42322 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42323 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42324 * elf/dl-sysdep.c (_dl_auxv): Remove.
42325 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42326 * elf/dl-support.c (_dl_auxv): New variable.
42327 (_dl_aux_init): Initialize it.
42328 * manual/startup.texi (Auxiliary Vector): New node.
42329 * sysdeps/generic/bits/hwcap.h: New file.
42330 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42331 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42332 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42333 * sysdeps/sparc/sysdep.h: ... here. Include it.
42334 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42335 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42337 Update.
c7683a6d
RH
42338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42346
a6f1845d
AZ
423472012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42348
42349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42350
cbcbe830
DM
423512012-05-19 David S. Miller <davem@davemloft.net>
42352
42353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42354
e0b16cc2
JM
423552012-05-19 Joseph Myers <joseph@codesourcery.com>
42356
42357 [BZ #14123]
42358 * math/s_ccosh.c: Include <float.h>
42359 (__ccosh): Avoid internal overflow calculating sinh and cosh
42360 values before multiplying by sin and cos values.
42361 * math/s_ccoshf.c: Likewise.
42362 * math/s_ccoshl.c: Likewise.
42363 * math/s_csin.c: Likewise.
42364 * math/s_csinf.c: Likewise.
42365 * math/s_csinl.c: Likewise.
42366 * math/s_csinh.c: Likewise.
42367 * math/s_csinhf.c: Likewise.
42368 * math/s_csinhl.c: Likewise.
42369 * math/libm-test.inc (ccos_test): Add more tests.
42370 (ccosh_test): Likewise.
42371 (csin_test): Likewise.
42372 (csinh_test): Likewise.
42373 * sysdeps/i386/fpu/libm-test-ulps: Update.
42374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42375
6ad13e08
L
423762012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42377
f66f0ce8
L
42378 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42379 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42380
6ad13e08
L
42381 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42382
b1d072a7
JM
423832012-05-19 Joseph Myers <joseph@codesourcery.com>
42384
42385 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42386 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42387 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42388 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42389 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42390 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42391 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42392 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42393 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42394 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42395 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42396 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42397 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42398 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42399 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42400 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42401 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42402 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42403 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42404 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42405 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42406 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42407 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42408 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42409 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42410 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42411 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42412 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42413 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42414 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42415 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42416
9eae47cb
AJ
424172012-05-18 Andreas Jaeger <aj@suse.de>
42418
42419 * csu/.gitignore: Delete.
42420
bb07f69f
L
424212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42422
42423 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42424 (timex): Use __syscall_slong_t.
42425
e6bdb741
AJ
424262012-05-18 Andreas Jaeger <aj@suse.de>
42427 Carlos O'Donell <carlos_odonell@mentor.com>
42428
42429 * manual/install.texi (Configuring and compiling): Update
42430 description about files modified in the source directory.
d6c33fda 42431 * INSTALL: Regenerated.
e6bdb741 42432
1b74487e
L
424332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42434
42435 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42436 value. Use "or" to set return value to -1.
42437 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42438 negate return value.
42439
a88b64b9
TMQMF
424402012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42441
57f41c40
AS
42442 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42443 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42444 failure if the compiler has Graphite support disabled.
42445 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42446 Likewise.
57f41c40
AS
42447 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42448 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42449 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42450 Likewise.
42451
3707636e
L
424522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42453
610b8622
L
42454 * sysdeps/x86_64/x32/_itoa.h: New file.
42455
7cd195df
L
42456 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42457 getdents system call only if kernel and user dirents have the
42458 same d_ino and d_off.
42459
94b07d20
L
42460 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42461 LLONG_MAX != LONG_MAX.
42462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42463 (_fitoa_word): Likewise.
42464
18298070
L
42465 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42466 years.
42467 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42468 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42469 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42470
553c7ea4
L
42471 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42472 include <bits/wordsize.h>. Check __x86_64__ instead of
42473 __WORDSIZE.
42474 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42475 if __x86_64__ is defined. Use anonymous union on fpstate.
42476
3707636e
L
42477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42478 anonymous union.
42479
b53ef01a
AS
424802012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42481
37fb1dc0
AS
42482 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42483 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42484 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42485 Refer to _rtld_local_ro instead of _rtld_global_ro.
42486 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42487 Likewise.
42488 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42489 Likewise.
42490 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42491 Likewise.
42492 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42493 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42494 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42495
b53ef01a
AS
42496 * sysdeps/powerpc/powerpc32/dl-machine.c
42497 (__elf_machine_runtime_setup) [PROF]: Don't reference
42498 _dl_prof_resolve.
42499
7a185db2
AJ
425002012-05-18 Andreas Jaeger <aj@suse.de>
42501
42502 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42503 function only available for GCCs before 3.4 since GCC 3.4
42504 introduced a builtin.
42505 (lrint): Likewise.
42506 (llrintf): Likewise.
42507 (llrint): Likewise.
42508 (fmaxf): Likewise.
42509 (fmax): Likewise.
42510 (fminf): Likewise.
42511 (fmin): Likewise.
42512 (rint): Likewise.
42513 (rintf): Likewise.
42514 (nearbyint): Likewise.
42515 (nearbyintf): Likewise.
42516 (ceil): Likewise.
42517 (ceilf): Likewise.
42518 (floor): Likewise.
42519 (floorf): Likewise.
42520
3e5aef87
L
425212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42522
428bd707
L
42523 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42524 on both fields and cast pointer to __syscall_ulong_t.
42525
3e5aef87
L
42526 * bits/types.h (__fsword_t): New type.
42527 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42528 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42530 (__FSWORD_T_TYPE): Likewise.
42531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42532 (__FSWORD_T_TYPE): Likewise.
42533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42534 (__FSWORD_T_TYPE): Likewise.
42535 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42536 (__FSWORD_T_TYPE): Likewise.
42537 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42538 __SWORD_TYPE with __fsword_t.
42539 (statfs64): Likewise.
42540
1ba7c3dc
DM
425412012-05-17 David S. Miller <davem@davemloft.net>
42542
42543 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42544
59910343
AJ
425452012-05-17 Andreas Jaeger <aj@suse.de>
42546
42547 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42548 warning.
42549
2e4c1e9e
L
425502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42551
42552 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42553
de7f5ce7
AJ
425542012-05-17 Andreas Jaeger <aj@suse.de>
42555
42556 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42557 when it is used.
42558
286abc3d
CM
425592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42560
42561 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42562
477cc68e
L
425632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42564
42565 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42566 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42567
1a0994f5
CD
425682012-05-17 Andreas Jaeger <aj@suse.de>
42569 Carlos O'Donell <carlos_odonell@mentor.com>
42570
42571 [BZ #14059]
42572 * sysdeps/x86_64/multiarch/init-arch.h
42573 (bit_YMM_Usable): Rename to...
42574 (bit_AVX_Usable): ... this.
42575 (bit_FMA4_Usable): New macro.
42576 (bit_XMM_state): New macro.
42577 (bit_YMM_state): New macro.
42578 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42579 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42580 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42581 (CPUID_OSXSAVE): New macro.
42582 (CPUID_AVX): New macro.
42583 (CPUID_FMA4): New macro.
42584 (index_YMM_Usable): Rename to...
42585 (index_AVX_Usable): ... this.
42586 (HAS_AVX): Use HAS_ARCH_FEATURE.
42587 (HAS_FMA4): Likewise.
42588 (HAS_YMM_USABLE): Remove.
42589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42590 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42591 are present.
42592 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42593 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42594 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42595 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42596 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42597
0af797de
CM
425982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42599
42600 * math/libm-test.c: Support platforms without multiple rounding modes.
42601 * math/bug-nextafter.c: Support platforms without FP exceptions.
42602 * math/bug-nexttoward.c: Likewise.
42603 * math/test-fenv.c: Likewise.
42604 * math/test-misc.c: Likewise.
42605 * stdlib/bug-getcontext.c: Likewise.
42606
e39745ff
AJ
426072012-05-17 Andreas Jaeger <aj@suse.de>
42608
42609 * manual/examples/search.c (critter_cmp): Change signature to
42610 avoid warnings.
42611 * manual/string.texi (Collation Functions): Likewise.
42612
48970aba
L
426132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42614
42615 * bits/types.h: Fold copyright years.
42616 * bits/typesizes.h: Likewise.
42617 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42621 * time/time.h: Likewise.
42622
bedee953
PP
426232012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42624
42625 [BZ #208]
42626 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42627 in instead of returning them. Return void.
42628 (__libc_mallinfo): Accumulate over all arenas.
42629 (__malloc_stats): Adjust for change in int_mallinfo interface.
42630
61653dfb
RM
426312012-05-16 Roland McGrath <roland@hack.frob.com>
42632
30b99d79
RM
42633 [BZ #10375]
42634 * configure.in (NM): Add AC_CHECK_TOOL for it.
42635 (libc_extra_cflags): New substituted variable.
42636 Check for -fstack-protector being used implicitly.
42637 * configure: Regenerated.
42638 * config.make.in (config-extra-cflags): New variable,
42639 gets @libc_extra_cflags@.
42640 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42641
61653dfb
RM
42642 [BZ #10375]
42643 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42644 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42645 * configure: Regenerated.
42646 * config.make.in (CPPUNDEFS): New substituted variable.
42647 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42648 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42649 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42650
661768bb
L
426512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42652
42653 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42654 (mq_attr): Use __syscall_slong_t.
42655
d4261567
L
426562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42657
42658 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42659 Check __x86_64__ instead of __WORDSIZE.
42660 (_STAT_VER_LINUX): Likewise.
42661 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42662 __syscall_ulong_t and __syscall_slong_t.
42663 (stat64): Likewise.
42664
cf3ff365
L
426652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42666
42667 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42668
76cf3e4d
L
426692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42670
42671 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42672
a637753a
L
426732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42674
42675 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42676 __syscall_ulong_t.
42677
d5e05119
L
42678 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42679 include <bits/wordsize.h>. Check __x86_64__ instead of
42680 __WORDSIZE.
42681 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42682 defined.
42683 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42684
f62ee380
L
42685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42686 include <bits/wordsize.h>. Check __x86_64__ instead of
42687 __WORDSIZE.
42688 (user_regs_struct): Use "__extension__ unsigned long long"
42689 instead of "unsigned long" if __x86_64__ is defined.
42690 (user): Likewise. Pad after pointer field if __ILP32__ is
42691 defined.
42692
4e124ced
JM
426932012-05-16 Joseph Myers <joseph@codesourcery.com>
42694
6a3951a0
JM
42695 * configure.in (makeinfo): Require version 4.5 or later. Allow
42696 versions 5 to 9.
42697 * configure: Regenerated.
42698 * manual/install.texi (texinfo): Increase version requirement to
42699 4.5 or later.
42700 * INSTALL: Regenerated.
42701
4e124ced
JM
42702 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42703
953ca31a
L
427042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42705
42706 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42707
617aca05
L
42708 * sysdeps/x86_64/x32/ffs.c: New file.
42709
5762f7ae
L
42710 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42711 __syscall_ulong_t.
42712 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42713 defined. Use __syscall_ulong_t.
42714 (shminfo): Use __syscall_ulong_t.
42715 (shm_info): Likewise.
42716
a26b6856
L
42717 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42718 __syscall_ulong_t.
42719
cb2b9ef7
L
42720 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42721 <bits/wordsize.h>.
42722 (msgqnum_t): Use __syscall_ulong_t.
42723 (msglen_t): Likewise.
42724 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42725 __syscall_ulong_t.
42726
34683bb0
L
42727 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42728 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42729
84a68786
L
42730 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42731
48baa5f1
L
42732 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42733 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42734
180be88b
L
42735 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42736 __syscall_slong_t.
42737
5e90c8ad
L
42738 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42739 include <bits/wordsize.h>. Check __x86_64__ instead of
42740 __WORDSIZE.
42741
23dfb58b
L
42742 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42743 "unsigned long long int" if __x86_64__ is defined.
42744 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42745
ce5d54b0
L
42746 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42747 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42748 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42749
13dc9eac
L
42750 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42751 <stdint.h>.
42752 (GET_PC): Cast to uintptr_t first.
42753 (GET_FRAME): Likewise.
42754 (GET_STACK): Likewise.
42755
a7895d15
L
42756 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42757 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42758 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42759 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42760 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42761 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42762 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42763 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42764 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42765 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42766 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42768 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42769 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42770 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42772 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42773 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42774 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42775 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42776 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42777 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42778 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42779 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42780 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42781 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42782 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42783 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42784 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42785
656416c9
AS
427862012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42787
5bd66283
AS
42788 * Makerules (+depfiles): Also collect depfiles from .oS in
42789 $(extra-objs).
42790 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42791 .oS, $(libnldbl-routines)).
42792
656416c9
AS
42793 * Makerules (native-compile-mkdep-flags): Define.
42794 * sunrpc/Makefile (extra-objs): Add $(addprefix
42795 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42796 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42797 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42798 calling $(make-target-directory).
42799
a46f2169
L
428002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42801
42802 * bits/types.h (__snseconds_t): Removed.
42803 * time/time.h (struct timespec): Replace __snseconds_t with
42804 __syscall_slong_t.
42805 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42806 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42807 Likewise.
42808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42809 (__SNSECONDS_T_TYPE): Likewise.
42810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42811 (__SNSECONDS_T_TYPE): Likewise.
42812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42813 (__SNSECONDS_T_TYPE): Likewise.
42814
6af6528b
L
428152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42816
42817 * sysdeps/mach/hurd/bits/typesizes.h
42818 (__SYSCALL_SLONG_TYPE): New macro.
42819 (__SYSCALL_ULONG_TYPE): Likewise.
42820
de986b56
L
428212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42822
42823 * bits/types.h (__syscall_slong_t): New type.
42824 (__syscall_ulong_t): Likewise.
42825
42826 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42827 (__SYSCALL_ULONG_TYPE): Likewise.
42828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42829 (__SYSCALL_SLONG_TYPE): Likewise.
42830 (__SYSCALL_ULONG_TYPE): Likewise.
42831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42832 (__SYSCALL_SLONG_TYPE): Likewise.
42833 (__SYSCALL_ULONG_TYPE): Likewise.
42834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42835 (__SYSCALL_SLONG_TYPE): Likewise.
42836 (__SYSCALL_ULONG_TYPE): Likewise.
42837
85736dc7
L
428382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42839
42840 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42841 Add sigaltstack-offsets.sym.
42842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42843 <sigaltstack-offsets.h>.
42844 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42845 longjmp_msg pointer.
42846 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42847 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42848 signal stack.
42849 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42850
cc03b296
JM
428512012-05-15 Joseph Myers <joseph@codesourcery.com>
42852
a9538892
JM
42853 * elf/stackguard-macros.h: Remove file.
42854 * sysdeps/generic/stackguard-macros.h: New file.
42855 * sysdeps/i386/stackguard-macros.h: Likewise.
42856 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42857 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42858 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42859 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42860 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42861 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42862 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42863 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42864 <elf/stackguard-macros.h>.
42865
cc03b296
JM
42866 [BZ #14109]
42867 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42868 __aligned__ in attribute.
42869 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42870 (gregset_t): Likewise.
42871
93171016
L
428722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42873
42874 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42875 * sysdeps/x86_64/64/Implies-after: Here. New file.
42876 * sysdeps/x86_64/x32/Implies-after: New file.
42877
d86813a0
L
428782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42879
42880 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42881 and access return value for _dl_profile_fixup. Use R10_LP to
42882 load frame size.
42883
2953ec75
L
428842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42885
42886 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42887
3b550e9e
L
428882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42889
42890 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42891 * sysdeps/x86_64/x32/sysdep.h: New file.
42892
eda41706
L
428932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42894
42895 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42896 * sysdeps/x86_64/setjmp.S: Likewise.
42897
9ea01d93
AZ
428982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42899
42900 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42901 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42902 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42903 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42904 remove unused global constant.
42905
02a91938
CM
429062012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42907
42908 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42909 include of <not-cancel.h>.
42910
6540185f
RM
429112012-05-15 Roland McGrath <roland@hack.frob.com>
42912
42913 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42914
509072a0
AJ
429152012-05-15 Jeff Law <law@redhat.com>
42916 Andreas Jaeger <aj@suse.de>
42917
42918 [BZ #13594]
42919 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42920 out from...
42921 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42922 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42923 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42924 code changing __hst_map_handle.map.
42925
ba75122d
RM
429262012-05-15 Roland McGrath <roland@hack.frob.com>
42927
42928 * configure.in (sysnames): Look for Implies-before and Implies-after
42929 files.
42930 * configure: Regenerated.
42931
890d8bd8
L
429322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42933
42934 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42935 8-byte data alignment with LP_SIZE alignment.
42936
f6ee6623
L
429372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42938
42939 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42940 into R10_LP.
42941
ea2626f6
L
429422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42943
42944 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42945
085f715e
L
429462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42947
42948 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42949 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42951 Likewise.
42952 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42953
be8498fc
L
429542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42955
42956 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42957 (stackinfo_sub_sp): Likewise.
42958
70bc83b9
L
429592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42960
42961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42962 RAX_LP.
42963
9bc0b730
L
429642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42965
42966 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42967 into R*_LP.
42968
6d2850e7
L
429692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42970
42971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42972 sizes into R*_LP.
42973
3cb84561
L
429742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42975
42976 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42977
54e2ed81
L
429782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42979
42980 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42981 into R11_LP and load __x86_64_shared_cache_size_half into
42982 R8_LP.
42983
8a17f349
L
429842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42985
42986 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42987 R8_LP.
42988
777b1eea
AZ
429892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42990
42991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42992 logb for POWER7.
42993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42994 logbf for POWER7.
42995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42996 logbl for POWER7.
42997 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42998 powerpc32/power7/fpu/s_logb.c via #include.
42999 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43000 powerpc32/power7/fpu/s_logbf.c via #include.
43001 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43002 powerpc32/power7/fpu/s_logbl.c via #include.
43003
d20d4ac2
JM
430042012-05-15 Joseph Myers <joseph@codesourcery.com>
43005
43006 * README.libm: Remove file.
43007
6cdef1ab
L
430082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43009
43010 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43011 count for x32. Use R*_LP and omit operand-size suffix.
43012
0b254d8f
L
430132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43014
43015 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43016 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43017 * sysdeps/x86_64/x32/shlib-versions: New file.
43018
ceb809dc
RM
430192012-05-14 Roland McGrath <roland@hack.frob.com>
43020
43021 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43022 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43023 Use _dl_fatal_printf instead.
43024
37f1abd4
JM
430252012-05-14 Joseph Myers <joseph@codesourcery.com>
43026
43027 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43028 set if not set by the user. Do not allow for being unset.
43029 * sysdeps/unix/sysv/linux/configure: Regenerated.
43030
11de3a33
L
430312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43032
43033 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43034 the `q' suffix from lea and replace .quad with ASM_ADDR.
43035
e02f153a
L
430362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43037
43038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43039 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43040 instead of $17.
43041 (PTR_DEMANGLE): Likewise.
43042
520ae0fd
L
430432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43044
43045 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43046 (LP_OP): Likewise.
43047 (ASM_ADDR): Likewise.
43048 (RAX_LP): Likewise.
43049 (RBP_LP): Likewise.
43050 (RBX_LP): Likewise.
43051 (RCX_LP): Likewise.
43052 (RDI_LP): Likewise.
43053 (RSI_LP): Likewise.
43054 (RSP_LP): Likewise.
43055 (R8_LP): Likewise.
43056 (R9_LP): Likewise.
43057 (R10_LP): Likewise.
43058 (R10_LP): Likewise.
43059 (R11_LP): Likewise.
43060 (R12_LP): Likewise.
43061 (R13_LP): Likewise.
43062 (R14_LP): Likewise.
43063 (R15_LP): Likewise.
43064
b985be81
L
430652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43066
43067 * sysdeps/x86_64/x32/dl-machine.h: New file.
43068
6a4888ff
AJ
430692012-05-14 Andreas Jaeger <aj@suse.de>
43070
43071 * manual/Makefile (subdir): Remove export of subdir.
43072 (all): Remove target.
43073 (.PHONY): Remove all from list.
43074 (mkinstalldirs): Remove.
43075 (.PHONY): Remove installdirs from list.
43076 ($(inst_infodir)/libc.info): Use make-target-directory.
43077 (installdirs): Remove.
43078 (subdir_%): Remove.
43079 (glibc-targets): Remove.
43080 (lib): Remove.
43081 (stubs): Remove.
43082 ($(objpfx)stubs ../po/manual.pot): Remove.
43083 ($(objpfx)stamp%): Remove.
43084 (make-target-directory): Remove.
43085 (subdir_install): Remove.
43086 (routines): Remove.
43087 (aux): Remove.
43088 (sources): Remove.
43089 (objects): Remove.
43090 (headers): Remove.
43091
43092 [BZ #13750]
43093 * manual/.gitignore: Remove, it's not needed anymore.
43094 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43095 all files in it.
43096 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43097 directory.
43098 (texis): Renamed to $(objpfx)texis.
43099 (texis-path): New, contains path to generated files.
43100 (chapters.%): Use texis-path for complete path, add extra argument
43101 libc-texinfo.sh.
43102 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43103 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43104 (summary,texi, stamp-summary): Use complete path of
43105 files. Generate files in build dir.
43106 (dir-add.texi): Build in build dir.
43107 (libm-err.texi,stamp-libm-err): Likewise.
43108 (version.texi, stamp-version): Likewise.
43109 (.%c.texi): Likewise.
43110 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43111 (mostlyclean): Remove target.
43112 (realclean): Remove target.
43113 (generated): Add new variable with contents from mostlyclean and
43114 realclean, remove entries duplicated in common-mostlyclean, add
43115 stamp-libm-err and stamp-version.
43116 (generated-dirs): Add libc directory.
43117 ($(inst_infodir)/libc.info): Install files from build dir.
43118
43119 * manual/install.texi (Configuring and compiling): Adjust since
43120 the info files are not part of the tar ball anymore.
43121
7ac77294
AJ
431222012-05-14 Andreas Jaeger <aj@suse.de>
43123
43124 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43125 variable.
43126
ffb7875d
JM
431272012-05-14 Joseph Myers <joseph@codesourcery.com>
43128
43129 [BZ #13717]
43130 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43131 to 2.2.0 where earlier.
43132 * sysdeps/unix/sysv/linux/configure: Regenerated.
43133 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43134 Remove conditional code.
43135 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43136 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43137 Remove conditional code.
43138 [!__NR_lchown]: Likewise.
43139 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43140 [__NR_lchown]: Likewise.
43141 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43142 comment referencing __ASSUME_LCHOWN_SYSCALL.
43143 * sysdeps/unix/sysv/linux/i386/sigaction.c
43144 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43145 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43146 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43147 Remove conditional code.
43148 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43149 (__protocol_available): Remove #if 0 code.
43150 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43151 conditional code.
43152 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43153 * sysdeps/unix/sysv/linux/kernel-features.h
43154 (__ASSUME_GETCWD_SYSCALL): Don't define.
43155 (__ASSUME_REALTIME_SIGNALS): Likewise.
43156 (__ASSUME_PREAD_SYSCALL): Likewise.
43157 (__ASSUME_PWRITE_SYSCALL): Likewise.
43158 (__ASSUME_POLL_SYSCALL): Likewise.
43159 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43160 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43161 non-SPARC.
43162 (__ASSUME_SIOCGIFNAME): Don't define.
43163 (__ASSUME_MSG_NOSIGNAL): Likewise.
43164 (__ASSUME_SENDFILE): Define unconditionally.
43165 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43166 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43167 conditional code.
43168 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43169 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43170 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43171 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43172 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43173 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43174 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43179 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43185 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43199 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43200 Remove conditional code.
43201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43202 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43203 Remove conditional code.
43204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43205 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43206 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43207 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43208 Remove conditional code.
43209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43210 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43211 Remove conditional code.
43212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43213 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43214 Remove conditional code.
43215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43216 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43217 Remove conditional code.
43218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43219 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43220 Remove conditional code.
43221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43222 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43225 * sysdeps/unix/sysv/linux/sigaction.c
43226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43228 * sysdeps/unix/sysv/linux/sigpending.c
43229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43231 * sysdeps/unix/sysv/linux/sigprocmask.c
43232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43234 * sysdeps/unix/sysv/linux/sigsuspend.c
43235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43237 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43238 (__libc_missing_rt_sigs): Remove.
43239 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43240 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43241 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43242 Remove conditional code.
43243 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43244 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43245 return 1.
43246 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43247 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43248 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43249 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43250
1bfb7291
AJ
432512012-05-14 Andreas Jaeger <aj@suse.de>
43252
caae5a81
AJ
43253 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43254 it's not used in glibc.
43255 (__coshm1): Likewise.
43256 (__acosh1p): Likewise.
43257 (__sgn): Likewise.
43258
1bfb7291
AJ
43259 * manual/string.texi (Copying and Concatenation): Add missing
43260 variable in concat example.
43261 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43262
c044d724
L
432632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43264
144c5467 43265 [BZ #14103]
c044d724
L
43266 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43267 __builtin_clzl with __builtin_clzll.
43268
2523c62b
L
432692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43270
43271 [BZ #14104]
43272 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43273 libc_freeres_ptr.
43274
d7bb4c42
LD
432752012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43276
43277 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43278 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43279 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43280 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43281
9dc4e1fb
MF
432822012-05-14 Mike Frysinger <vapier@gentoo.org>
43283
43284 * NEWS: Update ia64 info.
43285
c7df0112
AS
432862012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43287
43288 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43289 used as bcopy.
43290
dc70356c
TS
432912012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43292
43293 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43294 * sysdeps/unix/syscalls.list (dup3): Likewise.
43295 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43296 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43297
9fb1a21f
L
432982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43299
43300 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43301 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43302
4822a2a5
L
433032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43304
43305 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43306 thread pointer.
43307 (TLS_IE): Use mov/add instead of movq/addq to load thread
43308 pointer.
43309 (TLS_GD_PREFIX): New.
43310 (TLS_GD): Use it.
43311
842b81d6
DM
433122012-05-11 David S. Miller <davem@davemloft.net>
43313
43314 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43315 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43316 (_FPU_SETCW): Likewise.
43317
1cf463cd
L
433182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43319
43320 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43321 is 32-byte aligned.
43322
60cc4a18
AS
433232012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43324
43325 [BZ #11837]
43326 * iconvdata/gb18030.c: Update tables.
43327 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43328 characters specially.
43329 (BODY for TO_LOOP): Add encoding of missing ranges.
43330
febb44a4
TS
433312012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43332
43333 [BZ #13673]
43334 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43335 * sysdeps/mach/hurd/dup3.c: Likewise.
43336 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43337 * sysdeps/powerpc/memmove.c:: Likewise.
43338
0a10fb9e
L
433392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43340
43341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43342 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43343
df8a552f
L
433442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43345
43346 * elf/elf.h (R_X86_64_RELATIVE64): New.
43347 (R_X86_64_NUM): Updated.
43348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43349 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43350 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43351 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43352 tst-quad1pie tst-quad2pie
43353 (modules-names): Add tst-quadmod1 tst-quadmod2.
43354 ($(objpfx)tst-quad1): New dependency.
43355 ($(objpfx)tst-quad2): Likewise.
43356 ($(objpfx)tst-quad1pie): Likewise.
43357 ($(objpfx)tst-quad2pie): Likewise.
43358 * sysdeps/x86_64/tst-quad1.c: New file.
43359 * sysdeps/x86_64/tst-quad1pie.c: New file.
43360 * sysdeps/x86_64/tst-quad2.c: Likewise.
43361 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43362 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43363 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43364 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43365 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43366
f34d6f84
ST
433672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43368
f42d41d1
ST
43369 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43370 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43371 * streams/stropts.h (t_scalar_t): Define type.
43372
3c3571fc
ST
43373 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43374 (_PATH_PRESERVE): Set to "/var/lib".
43375 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43376
61f06bd3
ST
43377 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43378 instead of int.
43379
918d4d71
ST
43380 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43381 if __dir_mkfile succeeded.
43382
f34d6f84
ST
43383 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43384 checking for _hurd_dtablesize. Unlock it right after having
43385 finished _hurd_dtable allocation.
43386
10589b4a
TS
433872012-05-10 Thomas Schwinge <thomas@schwinge.name>
43388
674cdbc7
TS
43389 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43390 * sysdeps/mach/hurd/configure: Regenerated.
43391 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43392 special-casing to...
43393 * sysdeps/gnu/configure.in: ... this new file.
43394 * sysdeps/unix/sysv/linux/configure: Regenerated.
43395 * sysdeps/gnu/configure: New generated file.
43396
8e41b99f
TS
43397 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43398 for Linux: use nsec instead of usec, as well as:
43399 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43400 members of type struct timespec.
43401 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43402 New macros.
43403 (struct stat64): Likewise.
43404 (_STATBUF_ST_NSEC): New macro.
43405 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43406
10589b4a
TS
43407 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43408 __strtoul_internal rather than strtoul.
43409
63643c85
PT
434102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43411
43412 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43413 and reject them.
43414
3faebe6a
ST
434152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43416
43417 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43418 which preserves existing values.
43419 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43420
c6474b07
PT
434212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43422
43423 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43424 TIMEOUT values. Return EINVAL for NFDS values either negative or
43425 greater than FD_SETSIZE.
43426
1043890b
ST
434272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43428
43429 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43430 allocated, call __vm_protect to finish enabling the existing space, and
43431 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43432 allocate the remainder.
43433
37ed8b9b
PT
434342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43435
43436 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43437 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43438
db653660
ST
434392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43440
37ed8b9b
PT
43441 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43442 sysdeps/mach/hurd/readlink.c.
b29d4053 43443
db653660
ST
43444 * posix/tst-sysconf.c (posix_options): Only use
43445 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43446 _POSIX_SYNCHRONIZED_IO when they are defined
43447 * sysdeps/mach/hurd/bits/posix_opt.h:
43448 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43449 (_XOPEN_REALTIME): Undefine macro.
43450 (_XOPEN_REALTIME_THREADS): Undefine macro.
43451 (_XOPEN_SHM): Undefine macro.
43452 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43453 macro to -1.
43454 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43455 macro to -1.
43456 (_POSIX_ASYNC_IO): Undefine macro.
43457 (_POSIX_PRIORITIZED_IO): Undefine macro.
43458 (_POSIX_SPIN_LOCKS): Define macro to -1.
43459
ee16e894
ST
43460 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43461 SA_NODEFER, SA_RESETHAND.
43462 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43463 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43464 F_DUPFD_CLOEXEC.
43465
6103ae3b
TS
434662012-05-10 Thomas Schwinge <thomas@schwinge.name>
43467
43468 * elf/Makefile (pldd-modules): Define unconditionally.
43469
80b4e5f3
TS
434702012-05-10 Thomas Schwinge <thomas@schwinge.name>
43471
43472 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43473
edadcbd6
ST
434742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43475
43476 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43477 Return ENOENT when name is empty.
43478 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43479
80694780
TS
434802012-05-10 Thomas Schwinge <thomas@schwinge.name>
43481
1792c087
TS
43482 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43483
80694780
TS
43484 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43485
6b645f0d
ST
434862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43487
80694780
TS
43488 Fix mlock in all cases except non-readable pages.
43489 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43490 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43491
6b645f0d
ST
43492 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43493 (__mkdir): When path is `/', just fail with EEXIST.
43494 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43495
e468f8a3
TS
434962012-05-10 Thomas Schwinge <thomas@schwinge.name>
43497
43498 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43499 <sys/uio.h> (for writev).
43500 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43501 and <sys/param.h> (for MIN).
43502
a4186cff
PT
435032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43504
43505 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43506 REQUESTED_TIME. Properly set the remaining time and return EINTR
43507 if interrupted.
43508
510bbf14
TS
435092012-05-10 Thomas Schwinge <thomas@schwinge.name>
43510
43511 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43512 Depend on against $(link-rpcuserlibs).
43513
5d5722e8
ST
435142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43515
a4186cff
PT
43516 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43517 (__libc_stack_end): Do not use attribute_relro.
43518 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43519 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43520 to libthread-provided value.
a4186cff
PT
43521 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43522 attribute_relro.
5d5722e8 43523
37233df9
TS
435242012-05-10 Thomas Schwinge <thomas@schwinge.name>
43525
be971a2b
TS
43526 [BZ #3748]
43527 * bits/libc-lock.h (__libc_once_get): New macro.
43528 * sysdeps/mach/bits/libc-lock.h: Likewise.
43529 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43531 instead of using implementation details.
43532
37233df9
TS
43533 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43534 * libio/freopen.c: Likewise.
43535 * libio/freopen64.c: Likewise.
43536 * misc/syslog.c: Likewise.
43537 * nscd/connections.c: Likewise.
43538 * nscd/netgroupcache.c: Likewise.
43539 * sysdeps/posix/getcwd.c: Likewise.
43540
38de94a5
RM
435412012-05-10 Roland McGrath <roland@hack.frob.com>
43542
43543 * math/w_ilogbf.c: Add #include <limits.h>.
43544
67530489
ST
435452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43546
a4186cff 43547 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43548 path instead of returning without unlocking.
43549
67530489
ST
43550 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43551 immediate-write ioctls.
43552 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43553
5aa3a74a
TS
435542012-05-10 Thomas Schwinge <thomas@schwinge.name>
43555
18bad2ae
TS
43556 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43557 __builtin_frame_address instead of making assumptions about the
43558 location of the return address relative to DATA. Force early load of
43559 the return address.
43560 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43561 __builtin_frame_address.
43562
5aa3a74a
TS
43563 dup3 for GNU Hurd.
43564 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43565 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43566 implement dup3 and do some further code clean-ups.
43567 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43568 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43569
ecd0de9a
ST
435702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43571
cd9fa985
ST
43572 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43573
a4186cff
PT
43574 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43575 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43576 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43577 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43578 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43579 d->port.lock.
802ca5a5 43580
a4186cff
PT
43581 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43582 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43583 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43584
bcf55240
TS
435852012-05-10 Thomas Schwinge <thomas@schwinge.name>
43586
6960eb42
TS
43587 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43588 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43589 definitions.
43590
eb43375f
TS
43591 accept4 for GNU Hurd.
43592 * include/sys/socket.h (__libc_accept4): New prototype.
43593 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43594 to implement __libc_accept4.
43595 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43596 __libc_accept4.
43597 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43598
bcf55240
TS
43599 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43600 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43601 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43602 signal-defines.sym.
43603
6178c55b
ST
436042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43605
a4186cff 43606 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43607
6f080c2f
TS
436082012-05-10 Thomas Schwinge <thomas@schwinge.name>
43609
43610 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43611 assertion on O_CLOEXEC flag.
43612 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43613 * hurd/intern-fd.c: Likewise.
43614 * hurd/port2fd.c: Likewise.
43615
bcfe3a54
ST
436162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43617
43618 [BZ #3906]
43619 * bits/in.h (IPV6_PKTINFO): Define new macro.
43620 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43621
89c9aa49
AZ
436222012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43623
43624 [BZ #13954]
43625 [BZ #13955]
43626 [BZ #13956]
43627 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43628 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43629 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43630 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43631 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43632 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43633 * math/libm-test.inc (logb_test) : Additional logb tests.
43634
021db4be
AJ
436352012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43636 Andreas Jaeger <aj@suse.de>
43637
43638 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43639 * configure: Regenerated.
43640 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43641 * config.make.in (link-obsolete-rpc): New substituted variable.
43642 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43643 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43644 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43645 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43646 so that libc.a contains the symbols.
43647 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43648 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43649 * sunrpc/auth_none.c: Likewise.
43650 * sunrpc/auth_unix.c: Likewise.
43651 * sunrpc/authdes_prot.c: Likewise.
43652 * sunrpc/authuxprot.c: Likewise.
43653 * sunrpc/clnt_gen.c: Likewise.
43654 * sunrpc/clnt_perr.c: Likewise.
43655 * sunrpc/clnt_raw.c: Likewise.
43656 * sunrpc/clnt_simp.c: Likewise.
43657 * sunrpc/clnt_tcp.c: Likewise.
43658 * sunrpc/clnt_udp.c: Likewise.
43659 * sunrpc/clnt_unix.c: Likewise.
43660 * sunrpc/des_crypt.c: Likewise.
43661 * sunrpc/des_soft.c: Likewise.
43662 * sunrpc/get_myaddr.c: Likewise.
43663 * sunrpc/key_call.c: Likewise.
43664 * sunrpc/key_prot.c: Likewise.
43665 * sunrpc/netname.c: Likewise.
43666 * sunrpc/pm_getmaps.c: Likewise.
43667 * sunrpc/pm_getport.c: Likewise.
43668 * sunrpc/pmap_clnt.c: Likewise.
43669 * sunrpc/pmap_prot.c: Likewise.
43670 * sunrpc/pmap_prot2.c: Likewise.
43671 * sunrpc/pmap_rmt.c: Likewise.
43672 * sunrpc/publickey.c: Likewise.
43673 * sunrpc/rpc_cmsg.c: Likewise.
43674 * sunrpc/rpc_common.c: Likewise.
43675 * sunrpc/rpc_dtable.c: Likewise.
43676 * sunrpc/rpc_prot.c: Likewise.
43677 * sunrpc/rpc_thread.c: Likewise.
43678 * sunrpc/rtime.c: Likewise.
43679 * sunrpc/svc.c: Likewise.
43680 * sunrpc/svc_auth.c: Likewise.
43681 * sunrpc/svc_raw.c: Likewise.
43682 * sunrpc/svc_run.c: Likewise.
43683 * sunrpc/svc_tcp.c: Likewise.
43684 * sunrpc/svc_udp.c: Likewise.
43685 * sunrpc/svc_unix.c: Likewise.
43686 * sunrpc/svcauth_des.c: Likewise.
43687 * sunrpc/xcrypt.c: Likewise.
43688 * sunrpc/xdr.c: Likewise.
43689 * sunrpc/xdr_array.c: Likewise.
43690 * sunrpc/xdr_float.c: Likewise.
43691 * sunrpc/xdr_intXX_t.c: Likewise.
43692 * sunrpc/xdr_mem.c: Likewise.
43693 * sunrpc/xdr_rec.c: Likewise.
43694 * sunrpc/xdr_ref.c: Likewise.
43695 * sunrpc/xdr_sizeof.c: Likewise.
43696 * sunrpc/xdr_stdio.c: Likewise.
43697
b5c086a2
RM
436982012-05-10 Roland McGrath <roland@hack.frob.com>
43699
43700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43701 change. Update copyright years.
43702
6d74dd09
JM
437032012-05-10 Joseph Myers <joseph@codesourcery.com>
43704
43705 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43706
28e72501
MK
437072012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43708 Joseph Myers <joseph@codesourcery.com>
43709 Paul Pluzhnikov <ppluzhnikov@google.com>
43710
43711 [BZ #14012]
43712 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43713 requiring rpcgen.
43714 [cross-compiling] (extra-libs): Likewise.
43715 [cross-compiling] (extra-libs-others): Likewise.
43716 [cross-compiling] (librpcsvc-routines): Likewise.
43717 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43718 [cross-compiling] (omit-deps): Likewise.
43719 (sunrpc-CPPFLAGS): New variable.
43720 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43721 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43722 (cross-rpcgen-objs): New variable.
43723 (extra-objs): Append $(cross-rpcgen-objs).
43724 ($(cross-rpcgen-objs)): New rule.
43725 ($(objpfx)cross-rpcgen): Likewise.
43726 (rpcgen-cmd): Define to use $(built-program-file). Expand
43727 comment.
43728 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43729 ($(objpfx)x%.stmp): Likewise.
43730 * sunrpc/proto.h [IS_IN_build] (_): Define.
43731 [IS_IN_build] (_libc_intl_domainname): Likewise.
43732
c8c59454
L
437332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43734
43735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43736 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43737 and R_X86_64_TPOFF64.
43738
6f27cd16
JM
437392012-05-10 Joseph Myers <joseph@codesourcery.com>
43740
43741 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43742 sysdeps/unix/sysv/syscalls.list.
43743 (stime): Likewise.
43744 (utime): Likewise.
43745 * sysdeps/unix/sysv/syscalls.list: Remove file.
43746
02467e1c
PE
437472012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43748
43749 [BZ #3440]
43750 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43751 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43752 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43753 (__LC_IDENTIFICATION): Make these macros useful in #if
43754 expressions, as required by C99.
43755
da392631
AS
437562012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43757
43758 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43759 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43760 after this.
43761
8115f29b
L
437622012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43763
43764 * stdlib/longlong.h: Updated from GCC.
43765
bdd74070
AJ
437662012-05-09 Andreas Jaeger <aj@suse.de>
43767
edfe0dbe
AJ
43768 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43769 default is first entry.
43770 (run_mode): Set type.
43771 (main): Remove informal message about syslog.
43772 (options): Fix typo.
43773
bcfe3a54
ST
43774 [BZ #14053]
43775 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43776 to asm.
bcfe3a54
ST
43777 (lrint): Likewise.
43778 (llrintf): Likewise.
43779 (llrint): Likewise.
43780 (rint): Likewise.
43781 (rintf): Likewise.
43782 (nearbyint): Likewise.
43783 (nearbyintf): Likewise.
bdd74070 43784
91d8d69e
AJ
437852012-05-09 Andreas Jaeger <aj@suse.de>
43786 Pedro Alves <palves@redhat.com>
43787
43788 * nscd/nscd.c (run_mode): Use enum.
43789 (main): Cleanup coding style issue.
43790
bb90b80b
AJ
437912012-05-09 Alexandre Oliva <aoliva@redhat.com>
43792 Andreas Jaeger <aj@suse.de>
43793
bcfe3a54
ST
43794 * nscd/nscd.c (go_background): Replaced with...
43795 (run_mode): ... this.
bb90b80b 43796 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43797 (options): Add -F --foreground.
43798 (main): Implement it.
43799 (parse_opt): Parse it.
bb90b80b 43800
1a4b75a1
AJ
438012012-05-09 Andreas Jaeger <aj@suse.de>
43802
43803 [BZ #14083]
43804 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43805 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43806 -Wconversion warning.
43807 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43808 Likewise.
43809
b1cc2472
JM
438102012-05-09 Joseph Myers <joseph@codesourcery.com>
43811
43812 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43813 == 0.
43814 (LC_ALL): Use macro-int-constant.
43815 (LC_COLLATE): Likewise.
43816 (LC_CTYPE): Likewise.
43817 (LC_MESSAGES): Likewise.
43818 (LC_MONETARY): Likewise.
43819 (LC_NUMERIC): Likewise.
43820 (LC_TIME): Likewise.
43821 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43822 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43824 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43825 Specify type.
43826 [C99-based standards] (float_t): Expect type.
43827 [C99-based standards] (double_t): Expect type.
43828 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43829 type.
43830 [C99-based standards] (HUGE_VALL): Likewise.
43831 [C99-based standards] (INFINITY): Likewise.
43832 [C99-based standards] (NAN): Likewise.
43833 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43834 [C99-based standards] (FP_NAN): Likewise.
43835 [C99-based standards] (FP_NORMAL): Likewise.
43836 [C99-based standards] (FP_SUBNORMAL): Likewise.
43837 [C99-based standards] (FP_ZERO): Likewise.
43838 [C99-based standards] (FP_FAST_FMA): Use
43839 optional-macro-int-constant. Specify type. Require == 1.
43840 [C99-based standards] (FP_FAST_FMAF): Likewise.
43841 [C99-based standards] (FP_FAST_FMAL): Likewise.
43842 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43843 [C99-based standards] (FP_ILOGBNAN): Likewise.
43844 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43845 Specify type.
43846 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43847 [C99-based standards] (math_errhandling): Specify type.
43848 [ISO99 || ISO11] (signgam): Do not allow.
43849 [non-C99-based standards] (copysignf): Do not allow.
43850 [non-C99-based standards] (exp2f): Likewise.
43851 [non-C99-based standards] (log2f): Likewise.
43852 [non-C99-based standards] (modff): Allow.
43853 [non-C99-based standards] (erff): Do not allow.
43854 [non-C99-based standards] (erfcf): Likewise.
43855 [non-C99-based standards] (gammaf): Likewise.
43856 [non-C99-based standards] (hypotf): Likewise.
43857 [non-C99-based standards] (j0f): Likewise.
43858 [non-C99-based standards] (j1f): Likewise.
43859 [non-C99-based standards] (jnf): Likewise.
43860 [non-C99-based standards] (lgammaf): Likewise.
43861 [non-C99-based standards] (tgammaf): Likewise.
43862 [non-C99-based standards] (y0f): Likewise.
43863 [non-C99-based standards] (y1f): Likewise.
43864 [non-C99-based standards] (ynf): Likewise.
43865 [non-C99-based standards] (isnanf): Likewise.
43866 [non-C99-based standards] (acoshf): Likewise.
43867 [non-C99-based standards] (asinhf): Likewise.
43868 [non-C99-based standards] (atanhf): Likewise.
43869 [non-C99-based standards] (cbrtf): Likewise.
43870 [non-C99-based standards] (expm1f): Likewise.
43871 [non-C99-based standards] (ilogbf): Likewise.
43872 [non-C99-based standards] (log1pf): Likewise.
43873 [non-C99-based standards] (logbf): Likewise.
43874 [non-C99-based standards] (nextafterf): Likewise.
43875 [non-C99-based standards] (remainderf): Likewise.
43876 [non-C99-based standards] (rintf): Likewise.
43877 [non-C99-based standards] (scalbf): Likewise.
43878 [non-C99-based standards] (copysignl): Likewise.
43879 [non-C99-based standards] (exp2l): Likewise.
43880 [non-C99-based standards] (log2l): Likewise.
43881 [non-C99-based standards] (modfl): Allow.
43882 [non-C99-based standards] (erfl): Do not allow.
43883 [non-C99-based standards] (erfcl): Likewise.
43884 [non-C99-based standards] (gammal): Likewise.
43885 [non-C99-based standards] (hypotl): Likewise.
43886 [non-C99-based standards] (j0l): Likewise.
43887 [non-C99-based standards] (j1l): Likewise.
43888 [non-C99-based standards] (jnl): Likewise.
43889 [non-C99-based standards] (lgammal): Likewise.
43890 [non-C99-based standards] (tgammal): Likewise.
43891 [non-C99-based standards] (y0l): Likewise.
43892 [non-C99-based standards] (y1l): Likewise.
43893 [non-C99-based standards] (ynl): Likewise.
43894 [non-C99-based standards] (isnanl): Likewise.
43895 [non-C99-based standards] (acoshl): Likewise.
43896 [non-C99-based standards] (asinhl): Likewise.
43897 [non-C99-based standards] (atanhl): Likewise.
43898 [non-C99-based standards] (cbrtl): Likewise.
43899 [non-C99-based standards] (expm1l): Likewise.
43900 [non-C99-based standards] (ilogbl): Likewise.
43901 [non-C99-based standards] (log1pl): Likewise.
43902 [non-C99-based standards] (logbl): Likewise.
43903 [non-C99-based standards] (nextafterl): Likewise.
43904 [non-C99-based standards] (remainderl): Likewise.
43905 [non-C99-based standards] (rintl): Likewise.
43906 [non-C99-based standards] (scalbl): Likewise.
43907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43908 [non-C99-based standards] (FP_*): Do not allow.
43909 [C99-based standards] (FP_*): Change to
43910 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43911 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43912 allow.
43913 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43914 (SIG_ERR): Likewise.
43915 [X/Open-based standards] (SIG_HOLD): Likewise.
43916 (SIG_IGN): Likewise.
43917 (SIGABRT): Use macro-int-constant. Specify type. Require
43918 positive value.
43919 (SIGFPE): Likewise.
43920 (SIGILL): Likewise.
43921 (SIGINT): Likewise.
43922 (SIGSEGV): Likewise.
43923 (SIGTER): Likewise.
43924 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43925 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43926 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43927 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43928 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43929 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43930 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43931 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43932 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43933 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43934 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43935 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43936 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43937 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43938 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43939 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43940 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43941 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43942 [X/Open-based standards] (SIGTRAP): Likewise.
43943 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43945 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43946 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43947 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43948 allow.
43949
b9f1922d
IW
439502012-05-08 Ian Wienand <ianw@vmware.com>
43951
43952 [BZ #14080]
43953 * time/tzset.c (__tzset_parse_tz): Update default rules for
43954 daylight time changes in the Energy Policy Act of 2005.
43955
1db86e88
AJ
439562012-05-09 Andreas Jaeger <aj@suse.de>
43957
43958 [BZ #13983]
43959 * elf/ldconfig.c (parse_conf): Change string to make clear that
43960 ldconfig only issued a warning if ld.so.conf does not exist.
43961
dee4a4e3
DM
439622012-05-08 David S. Miller <davem@davemloft.net>
43963
ee0db190
DM
43964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43965 movxtod instead of popping the value on the stack.
43966
dee4a4e3
DM
43967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43968
6a43ec98
CD
439692012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43970
43971 * config.h.in: Add HAVE_ARM_PCS_VFP.
43972
05c2c961
RMG
439732012-05-08 Roland Mc Grath <roland@hack.frob.com>
43974
bcfe3a54
ST
43975 [BZ #13979]
43976 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43977 checking but the checks are disabled for any reason.
05c2c961 43978
4b30f61a
L
439792012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43980
43981 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43982 and ELF64_R_TYPE with ELFW(R_TYPE).
43983
eee2bc67
JM
439842012-05-08 Joseph Myers <joseph@codesourcery.com>
43985
7ea5391a
JM
43986 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43987 (ulimit): Likewise.
43988
eee2bc67
JM
43989 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43990 (settimeofday): Likewise.
43991
abb66a67
MF
439922012-05-08 Mike Frysinger <vapier@gentoo.org>
43993
43994 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43995 a struct th_u2 inside the union, and move tu_block/tu_code into
43996 a new th_u3 union of tu_block/tu_code inside of that. Move
43997 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43998 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43999 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44000 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44001 (th_stuff): Change to th_u1.tu_stuff.
44002 (th_data): Define.
44003 (th_msg): Change to th_u1.th_u2.tu_data.
44004
7f18b530
DM
440052012-05-07 David S. Miller <davem@davemloft.net>
44006
05760585
DM
44007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44008
7f18b530
DM
44009 [BZ #14074]
44010 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44011 (SETUP_PIC_REG): Use it.
44012 (SETUP_PIC_REG_LEAF): Use it.
44013
495fd99f
JM
440142012-05-07 Joseph Myers <joseph@codesourcery.com>
44015
44016 [BZ #13885]
44017 [BZ #13923]
44018 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44019 USE_AS_EXPM1L.
44020 (EXPL_FINITE): Likewise.
44021 (FLDLOG): Likewise.
44022 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44023 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44024 e_expl.S.
44025 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44026 USE_AS_EXPM1L.
44027 (EXPL_FINITE): Likewise.
44028 (FLDLOG): Likewise.
44029 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44030 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44031 e_expl.S.
44032 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44033 test of -max_value argument for long double.
44034 * sysdeps/i386/fpu/libm-test-ulps: Update.
44035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44036
6693d694
DM
440372012-05-06 David S. Miller <davem@davemloft.net>
44038
44039 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44040 quad soft-float symbols whose references which are compiler
44041 generated.
44042 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44043
6c23e11c
JM
440442012-05-06 Joseph Myers <joseph@codesourcery.com>
44045
d8b82cad
JM
44046 [BZ #13884]
44047 [BZ #13914]
44048 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44049 USE_AS_EXP10L.
44050 (EXPL_FINITE): Likewise.
44051 (FLDLOG): Likewise.
44052 (c0): Likewise.
44053 (c1): Likewise.
44054 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44055 Adjust comments for base varying.
44056 (__expl_finite): Change alias to EXPL_FINITE.
44057 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44058 e_expl.S.
44059 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44060 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44061 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44062 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44063 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44064 USE_AS_EXP10L.
44065 (EXPL_FINITE): Likewise.
44066 (FLDLOG): Likewise.
44067 (c0): Likewise.
44068 (c1): Likewise.
44069 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44070 Adjust comments for base varying.
44071 (__expl_finite): Change alias to EXPL_FINITE.
44072 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44073 tests for bugs.
44074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44075
6c23e11c
JM
44076 [BZ #14064]
44077 * math/libm-test.inc (check_float_internal): Correct ulp
44078 calculation for subnormal expected results.
44079
29ba805c
AJ
440802012-05-06 Andreas Jaeger <aj@suse.de>
44081
44082 * Makeconfig (+math-flags): New, set to -frounding-math.
44083 (+cflags): Add +math-flags so that all of glibc gets compiled with
44084 it.
44085
44086 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44087
7b17aeda
JM
440882012-05-05 Joseph Myers <joseph@codesourcery.com>
44089
5779f134
JM
44090 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44091 Disable one test.
44092
41498f4d
JM
44093 [BZ #13787]
44094 [BZ #13922]
44095 [BZ #14036]
44096 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44097 (__ieee754_expl): Allow for and saturate large arguments.
44098 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44099 (u_threshold): Likewise.
44100 (__exp): Call __ieee754_exp before checking for overflow and
44101 underflow.
44102 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44103 (u_threshold): Likewise.
44104 (__expf): Call __ieee754_expf before checking for overflow and
44105 underflow.
44106 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44107 (u_threshold): Likewise.
44108 (__expl): Call __ieee754_expl before checking for overflow and
44109 underflow.
44110 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44111 (__ieee754_expl): Allow for and saturate large arguments.
44112 * math/libm-test.inc (exp_test): Add another test. Do not allow
44113 missing overflow exception on overflow.
44114 (expm1_test): Do not allow missing overflow exception on overflow.
44115
6698b8bf
JM
44116 * sysdeps/i386/fpu/e_expl.c: Move to ...
44117 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44118 rather than using inline asm.
44119 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44120 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44121 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44122
7b17aeda
JM
44123 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44124 (nice): Likewise.
44125 (poll): Likewise.
44126 (signal): Likewise.
44127 (time): Likewise.
44128 (times): Likewise.
44129
f7c85819
JM
441302012-05-04 Joseph Myers <joseph@codesourcery.com>
44131
44132 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44133 sysdeps/unix/common/syscalls.list.
44134 (fchmod): Likewise.
44135 (fchown): Likewise.
44136 (ftruncate): Likewise.
44137 (getrusage): Likewise.
44138 (gettimeofday): Likewise.
44139 (setpgid): Likewise.
44140 (setregid): Likewise.
44141 (setreuid): Likewise.
44142 (sigaction): Likewise.
44143 (truncate): Likewise.
44144 (vhangup): Likewise.
44145 * sysdeps/unix/common/syscalls.list: Remove file.
44146 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44147 * sysdeps/unix/sysv/linux/Implies: Likewise.
44148
336270d0
L
441492012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44150
44151 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44153 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44154 Moved to ...
44155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44156 Here.
44157 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44158 to ...
44159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44160 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44161 to ...
44162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44163 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44164 to ...
44165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44166 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44167 to ...
44168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44169 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44170 to ...
44171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44172 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44173 to ...
44174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44175 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44176 to ...
44177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44178 Here.
44179 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44180 to ...
44181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44182 Here.
44183 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44184 to ...
44185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44186 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44187 Moved to ...
44188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44189 Here.
44190 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44191 to ...
44192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44193
d128e450
JM
441942012-05-04 Joseph Myers <joseph@codesourcery.com>
44195
fa8ee516
JM
44196 * sysdeps/unix/common/bits/dirent.h: Remove file.
44197 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44198
d128e450
JM
44199 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44200 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44201 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44202 * sysdeps/unix/bsd/isatty.c: Likewise.
44203 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44204 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44205 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44206
ff8faaf0 442072012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44208
62881be4 44209 [BZ #13563]
31dc8730
AZ
44210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44211 long double comparison inaccuracies.
44212 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44214
6fef930c
AS
442152012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44216
44217 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44219
8f203e6c
JM
442202012-05-04 Joseph Myers <joseph@codesourcery.com>
44221
44222 [BZ #14049]
44223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44224 nonzero digits before rounding a hex value.
44225 * stdlib/tst-strtod.c (tests): Add another test.
44226
5197d9c2
AK
442272012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44228
44229 * sysdeps/s390/fpu/libm-test-ulps: Update.
44230
f0c1dedf
AJ
442312012-05-03 Andreas Jaeger <aj@suse.de>
44232
44233 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44234 does not get optimized out.
44235 (malloc_opt_barrier): New.
44236
a65ef2ae 442372012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44238 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44239
2b942cb7 44240 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44241 intermediate file deletion.
2b942cb7 44242 (generated): Add .symlist files.
a65ef2ae 44243
54b71e02
JM
442442012-05-03 Joseph Myers <joseph@codesourcery.com>
44245
44246 [BZ #13775]
44247 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44248 Redirect under this condition.
44249 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44250 [__USE_GNU] (__dprintf_chk): Not under this condition.
44251 [__USE_GNU] (__vdprintf_chk): Likewise.
44252 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44253 under this condition.
44254 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44255 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44256 [__USE_XOPEN2K8] (vdprintf): Likewise.
44257 [__USE_GNU] (__dprintf_chk): Not under this condition.
44258 [__USE_GNU] (__vdprintf_chk): Likewise.
44259 [__USE_GNU] (dprintf): Likewise.
44260 [__USE_GNU] (vdprintf): Likewise.
44261
d3dfcc41
RM
442622012-05-03 Roland McGrath <roland@hack.frob.com>
44263
44264 * elf/Makefile (common-generated): Set this instead of generated for
44265 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44266 $(all-built-dso)-derived lists.
44267
7ac30cc5
AJ
442682012-05-03 Andreas Jaeger <aj@suse.de>
44269
0c51e550
AJ
44270 * sysdeps/i386/fpu/libm-test-ulps: Update.
44271
7ac30cc5
AJ
44272 * FAQ: Removed.
44273 * FAQ.in: Likewise.
44274 * scripts/gen-FAQ.pl: Likewise.
44275 * manual/install.texi (Installation): Point to online location of
44276 FAQ.
44277 * Makefile (files-for-dist): Remove FAQ.
44278 (FAQ): Remove.
44279
d4c2917f
AM
442802012-05-02 Allan McRae <allan@archlinux.org>
44281
44282 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44283 (LDFLAGS-reldepmod5.so): Likewise.
44284 (LDFLAGS-reldep6mod1.so): Likewise.
44285 (LDFLAGS-reldep6mod4.so): Likewise.
44286 (LDFLAGS-reldep8mod3.so): Likewise.
44287 (LDFLAGS-unload4mod1.so): Likewise.
44288 (LDFLAGS-unload4mod2.so): Likewise.
44289 (LDFLAGS-tst-initorder): Likewise.
44290 (LDFLAGS-tst-initordera2.so): Likewise.
44291 (LDFLAGS-tst-initordera3.so): Likewise.
44292 (LDFLAGS-tst-initordera4.so): Likewise.
44293 (LDFLAGS-tst-initorderb2.so): Likewise.
44294 (LDFLAGS-noload): Likewise.
44295 (LDFLAGS-next): Likewise.
44296 (LDFLAGS-order2mod1.so): Likewise.
44297 (LDFLAGS-order2mod2.so): Likewise.
44298 (LDFLAGS-tst-initorder2): Likewise.
44299 (LDFLAGS-tst-initorder2a.so): Likewise.
44300 (LDFLAGS-tst-initorder2b.so): Likewise.
44301 (LDFLAGS-tst-initorder2c.so): Likewise.
44302 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44303
d77f993f
DM
443042012-05-02 David S. Miller <davem@davemloft.net>
44305
44306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44307
171a70b4
PP
443082012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44309
44310 [BZ #14055]
44311 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44312
0be196ad
AJ
443132012-05-02 Andreas Jaeger <aj@suse.de>
44314
44315 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44316 since we manipulate rounding mode.
44317 (CPPFLAGS-test-idouble.c): Likewise.
44318 (CPPFLAGS-test-ifloat.c): Likewise.
44319 (CFLAGS-test-ldouble.c): Likewise.
44320 (CFLAGS-test-double.c): Likewise.
44321 (CFLAGS-test-float.c): Likewise.
44322 (CFLAGS-test-misc.c): Likewise.
44323 (CFLAGS-test-test-fenv.c): Likewise.
44324
4f9d04aa
AZ
443252012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44326
2b942cb7
RM
44327 [BZ #2550]
44328 [BZ #2570]
44329 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44330 comparisons to determine direction to adjust input.
4f9d04aa 44331
82a79e7d
RM
443322012-05-01 Roland McGrath <roland@hack.frob.com>
44333
f5a01ca9
RM
44334 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44335 output to the target.
44336
90fe4186
RM
44337 * scripts/localplt.awk: New file.
44338 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44339 (check-localplt-CFLAGS): Variable removed.
44340 ($(all-built-dso:=.jmprel)): New static pattern rule.
44341 (generated): Add those targets.
44342 (localplt-built-dso): New variable.
44343 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44344
44345 * elf/check-localplt.c: File removed.
44346
82397ed6
RM
44347 * scripts/check-execstack.awk: New file.
44348 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44349 (check-execstack-CFLAGS): Variable removed.
44350 ($(objpfx)check-execstack.h): Target removed.
44351 ($(objpfx)execstack-default): New target.
44352 (generated): Add that instead of check-execstack.h.
44353 ($(all-built-dso:=.phdr)): New static pattern rule.
44354 (generated): Add those targets.
44355 * elf/check-execstack.c: File removed.
44356
82a79e7d
RM
44357 * scripts/check-textrel.awk: New file.
44358 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44359 (check-textrel-CFLAGS): Variable removed.
44360 (all-built-dso): Use := to define.o
44361 ($(all-built-dso:=.dyn)): New static pattern rule.
44362 (generated): Add those targets.
44363 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44364 * config.make.in (READELF): New substituted variable.
44365 * elf/check-textrel.c: File removed.
44366
62fde54f 443672012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44368
615605c9
JM
44369 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44370 allow.
44371 * conform/data/ctype.h-data [C99-based standards] (isblank):
44372 Expect function.
44373 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44374 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44376 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44377 Specify type. Require positive value.
44378 (EILSEQ): Likewise.
44379 (ERANGE): Likewise.
44380 [ISO || POSIX] (EILSEQ): Do not expect.
44381 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44382 Specify type. Require positive value.
44383 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44384 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44385 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44386 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44387 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44388 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44389 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44390 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44391 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44392 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44393 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44394 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44395 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44396 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44397 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44398 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44399 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44400 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44401 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44402 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44403 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44404 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44405 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44406 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44407 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44408 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44409 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44410 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44411 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44412 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44413 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44414 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44415 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44416 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44417 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44418 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44419 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44420 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44421 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44422 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44423 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44424 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44425 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44426 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44427 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44428 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44429 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44430 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44431 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44432 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44433 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44434 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44435 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44436 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44437 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44438 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44439 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44440 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44441 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44442 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44443 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44444 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44445 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44446 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44447 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44448 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44449 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44450 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44451 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44452 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44453 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44454 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44455 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44456 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44457 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44458 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44459 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44460 Require >= 2.
44461 (FLT_ROUNDS): Expect as macro, not constant.
44462 (FLT_MANT_DIG): Use macro-int-constant.
44463 (DBL_MANT_DIG): Likewise.
44464 (LDBL_MANT_DIG): Likewise.
44465 (FLT_DIG): Likewise.
44466 (DBL_DIG): Likewise.
44467 (LDBL_DIG): Likewise.
44468 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44469 (DBL_MIN_EXP): Likewise.
44470 (LDBL_MIN_EXP): Likewise.
44471 (FLT_MAX_EXP): Use macro-int-constant.
44472 (DBL_MAX_EXP): Likewise.
44473 (LDBL_MAX_EXP): Likewise.
44474 (FLT_MAX_10_EXP): Likewise.
44475 (DBL_MAX_10_EXP): Likewise.
44476 (LDBL_MAX_10_EXP): Likewise.
44477 (FLT_MAX): Use macro-constant.
44478 (DBL_MAX): Likewise.
44479 (LDBL_MAX): Likewise.
44480 (FLT_EPSILON): Use macro-constant. Give upper bound.
44481 (DBL_EPSILON): Likewise.
44482 (LDBL_EPSILON): Likewise.
44483 (FLT_MIN): Likewise.
44484 (DBL_MIN): Likewise.
44485 (LDBL_MIN): Likewise.
44486 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44487 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44488 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44489 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44490 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44491 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44492 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44493 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44494 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44495 [ISO11] (FLT_TRUE_MIN): Likewise.
44496 [ISO11] (LDBL_TRUE_MIN): Likewise.
44497 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44498 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44499 (SCHAR_MIN): Use macro-int-constant. Specify type.
44500 (SCHAR_MAX): Likewise.
44501 (UCHAR_MAX): Likewise.
44502 (CHAR_MIN): Likewise.
44503 (CHAR_MAX): Likewise.
44504 (MB_LEN_MAX): Use macro-int-constant.
44505 (SHRT_MIN): Use macro-int-constant. Specify type.
44506 (SHRT_MAX): Likewise.
44507 (USHRT_MAX): Likewise.
44508 (INT_MAX): Likewise.
44509 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44510 bound negative.
44511 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44512 bound with "U".
44513 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44514 bound with "L".
44515 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44516 bound negative. Suffix upper bound with "L".
44517 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44518 bound with "UL".
44519 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44520 Specify type.
44521 [C99-based standards] (LLONG_MAX): Likewise.
44522 [C99-based standards] (ULLONG_MAX): Likewise.
44523 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44524 == 0.
44525 [ISO11] (max_align_t): Require type.
44526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44527
c9140a62
JM
44528 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44529 from $CFLAGS, without defining away __attribute__ calls.
44530 (checknamespace): Use $CFLAGS_namespace.
44531
9af0bf29
JM
44532 * conform/conformtest.pl (@keywords): Only include C99 keywords
44533 for standards based on C99 or C11.
44534
343222a2
JM
44535 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44536 Disable tests.
44537 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44538 UNIX98]: Likewise.
44539
661f8cf0
JM
44540 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44541 usability of symbols in #if.
44542
ee74b9cb
JM
44543 * conform/conformtest.pl: If macro or constant types start
44544 "promoted:", expect the symbol to be of the following type
44545 promoted by the integer promotions.
62fde54f 44546
aafc49b3
JM
44547 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44548 in one place. Also handle "macro-constant".
44549
fefdf574
JM
44550 * conform/conformtest.pl: Only accept expected macro values with
44551 "==". Parse all "macro" lines in one place.
44552 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44553
f2d922fe
JM
44554 * conform/conformtest.pl: Handle braced types on "constant" lines
44555 instead of handling "typed-constant".
44556 * conform/data/signal.h-data: Use "constant" instead of
44557 "typed-constant".
44558
d22956c9
JM
44559 * conform/conformtest.pl: Handle "optional-" at start of lines in
44560 one place rather than duplicating several cases. Handle each
44561 format of "macro" line with initial "optional-".
44562
028e2e38
JM
44563 * conform/conformtest.pl: Only accept expected constant or
44564 optional-constant values with "==". Parse all "constant" lines in
44565 one place. Parse all "optional-constant" lines in one place.
44566 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44567 * conform/data/fmtmsg.h-data: Likewise.
44568 * conform/data/netinet/in.h-data: Likewise.
44569 * conform/data/tar.h-data: Likewise.
44570 * conform/data/limits.h-data: Use "==" form on "constant" and
44571 "optional-constant" lines.
44572
1b8f2850
JM
44573 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44574 Use -std=c99 for XOPEN2K.
44575 (@knownproblems): Remove.
44576 (newtoken): Don't check %isknown.
44577
a05a144b
JM
44578 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44579 Do not expect macro.
44580 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44581 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44582 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44583 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44584 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44585 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44586 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44587 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44588 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44589 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44590 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44591 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44592 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44593 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44594 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44595 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44596 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44597 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44598 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44599 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44600 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44601 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44602 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44603 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44604 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44605 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44606 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44607 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44608 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44609 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44610 [XPG3] (acosh): Likewise.
44611 [XPG3] (asinh): Likewise.
44612 [XPG3] (atanh): Likewise.
44613 [XPG3] (cbrt): Likewise.
44614 [XPG3] (expm1): Likewise.
44615 [XPG3] (ilogb): Likewise.
44616 [XPG3] (log1p): Likewise.
44617 [XPG3] (logb): Likewise.
44618 [XPG3] (nextafter): Likewise.
44619 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44620 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44621 [XPG3] (remainder): Likewise.
44622 [XPG3] (rint): Likewise.
44623 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44624 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44625 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44626 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44627 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44628 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44629 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44630 [UNIX98 || XOPEN2K] (scalb): Expect.
44631 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44632 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44633 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44634 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44635 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44636 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44637 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44638 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44639 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44640 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44641 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44642 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44643 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44644 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44645 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44646 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44647 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44648 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44649 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44650 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44651 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44652 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44653 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44654 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44655 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44656 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44657 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44658 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44659 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44660 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44661 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44662 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44663 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44664 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44665 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44666 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44667 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44668 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44669 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44670 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44671 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44672 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44673 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44674 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44675 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44676 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44677 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44678 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44679 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44680 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44681 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44682 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44683 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44684 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44685 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44686 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44687 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44688 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44689 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44690 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44691 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44692 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44693 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44694 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44695 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44696 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44697 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44698 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44699 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44700 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44701 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44702 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44703 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44704 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44705 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44706 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44707 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44708 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44709 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44710 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44711 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44712 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44713 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44714 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44715 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44716 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44717 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44718 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44719 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44720 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44721 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44722 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44723 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44724 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44725 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44726 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44727 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44728 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44729 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44730 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44731 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44732 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44733 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44734 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44735 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44736 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44737 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44738 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44739 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44740 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44741 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44742 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44743 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44744 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44745 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44746 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44747 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44748 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44749 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44750 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44751 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44752 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44753 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44754 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44755 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44756 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44757 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44758 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44759 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44760 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44761 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44762 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44763 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44764 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44765 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44766 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44767 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44768
73c5ebe3
JM
44769 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44770 _XOPEN_SOURCE_EXTENDED for XPG4.
44771
39c33b6c
JM
44772 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44773
62fde54f
JM
44774 * Makeconfig (localtime): Remove variable.
44775 (inst_localtime-file): Likewise.
44776
0741d64c
AS
447772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44778
44779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44780 Update.
44781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44782 Update.
44783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44784 Update.
44785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44786 Update.
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44788 Update.
44789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44790 Update.
44791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44792 Update.
44793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44794 Update.
44795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44796 Update.
44797
7cb029ee
JM
447982012-05-01 Joseph Myers <joseph@codesourcery.com>
44799
44800 [BZ #2550]
44801 [BZ #2570]
44802 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44803 comparisons to determine direction to adjust input.
44804 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44805 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44806 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44807 Likewise.
44808 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44809 Likewise.
44810 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44811 Likewise.
44812 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44813 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44814 Likewise.
44815 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44816 Likewise.
44817 * math/libm-test.inc (nexttoward_test): Add more tests.
44818
412bd966
AS
448192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44820
44821 [BZ #14040]
44822 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44823 in version GLIBC_2.1, not GLIBC_2.0.
44824 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44825 Likewise.
44826
9568c0c2
JM
448272012-04-30 Joseph Myers <joseph@codesourcery.com>
44828
adfbc8ac
JM
44829 [BZ #13942]
44830 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44831 (1 - x) * (1 + x).
44832 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44833 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44834 * math/libm-test.inc (acos_test): Add more tests.
44835 (asin_test): Likewise.
44836 * sysdeps/i386/fpu/libm-test-ulps: Update.
44837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44838
5ba3cc69
JM
44839 [BZ #14034]
44840 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44841 of square root.
44842 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44843 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44844 * math/libm-test.inc (acos_test_tonearest): New function.
44845 (acos_test_towardzero): Likewise.
44846 (acos_test_downward): Likewise.
44847 (acos_test_upward): Likewise.
44848 (asin_test_tonearest): Likewise.
44849 (asin_test_towardzero): Likewise.
44850 (asin_test_downward): Likewise.
44851 (asin_test_upward): Likewise.
44852 (main): Call the new functions.
44853 * sysdeps/i386/fpu/libm-test-ulps: Update.
44854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44855
9568c0c2
JM
44856 [BZ #13884]
44857 [BZ #13924]
44858 * math/e_exp10.c: Include <float.h>.
44859 (__ieee754_exp10): Handle underflow here rather than multiplying
44860 large negative argument by M_LN10.
44861 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44862 of __ieee754_expf.
44863 * math/e_exp10l.c: Include <float.h>.
44864 (__ieee754_exp10l): Handle underflow here rather than multiplying
44865 large negative argument by M_LN10l.
44866 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44867 spurious overflow exception on underflow.
44868
5ac3ea17
MP
448692012-04-29 Marek Polacek <polacek@redhat.com>
44870
44871 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44872 (__fortify_function): New macro.
44873 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44874 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44875 __extern_always_inline.
44876 * libio/bits/stdio2.h: Likewise.
44877 * libio/bits/stdio.h: Likewise.
44878 * string/string.h: Likewise.
44879 * string/bits/string3.h: Likewise.
44880 * include/stdio.h: Likewise.
44881 * stdlib/bits/stdlib.h: Likewise.
44882 * stdlib/stdlib.h: Likewise.
44883 * rt/bits/mqueue2.h: Likewise.
44884 * rt/mqueue.h: Likewise.
44885 * posix/bits/unistd.h: Likewise.
44886 * posix/unistd.h: Likewise.
44887 * io/bits/poll2.h: Likewise.
44888 * io/bits/fcntl2.h: Likewise.
44889 * io/fcntl.h: Likewise.
44890 * io/sys/poll.h: Likewise.
44891 * misc/bits/syslog.h: Likewise.
44892 * misc/bits/syslog-ldbl.h: Likewise.
44893 * misc/sys/syslog.h: Likewise.
44894 * socket/bits/socket2.h: Likewise.
44895 * socket/sys/socket.h: Likewise.
44896 * debug/tst-chk1.c: Likewise.
44897 * wcsmbs/bits/wchar2.h: Likewise.
44898 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44899 * wcsmbs/wchar.h: Likewise.
44900
ecf0ebfb
AJ
449012012-04-29 Andreas Jaeger <aj@suse.de>
44902
44903 * Makerules (tests): Remove enable-check-abi protection.
44904 (check-abi-warn): Remove.
44905 (check-abi-%): Remove check-abi-warn usage.
44906
44907 * configure.in: Remove check-abi configure option.
44908 * configure: Regenerated.
44909 * config.make.in (enable-check-abi): Remove.
44910
6d5c57fa
AS
449112012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44912
24c5d07e 44913 [BZ #14033]
ded5180a
AS
44914 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44915 double functions to double *_finite functions.
44916
7e0d315d
AS
44917 [BZ #13941]
44918 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44919 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44920 LDBL_MIN_EXP.
44921 * stdio-common/Makefile (tests): Add tst-sprintf3.
44922 * stdio-common/tst-sprintf3.c: New file.
44923
6d5c57fa
AS
44924 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44925 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44926
0749ff8b
JM
449272012-04-28 Joseph Myers <joseph@codesourcery.com>
44928
44929 * conform/conformtest.pl: Remove duplicate typed-constant
44930 handling.
44931
8dbd5d7b
DM
449322012-04-28 David S. Miller <davem@davemloft.net>
44933
44934 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44935 (check-abi-%): Remove AWK script prerequisite and explicit
44936 abilist directory.
44937 (check-abi): Rewrite to just diff the symlist with the abilist.
44938 (config-tls, config-abi-config): Delete, no longer used.
44939 (update-abi-%): Remove AWK script and explicit abilist directory.
44940 (update-abi): Rewrite to simply compare and conditionally copy the
44941 symlist and the sysdep abilist file. Remove update-abi-config
44942 checks.
44943 * abilist/ld.abilist: Remove.
44944 * abilist/libBrokenLocale.abilist: Remove.
44945 * abilist/libanl.abilist: Remove.
44946 * abilist/libcrypt.abilist: Remove.
44947 * abilist/libdl.abilist: Remove.
44948 * abilist/librt.abilist: Remove.
44949 * abilist/libthread_db.abilist: Remove.
44950 * abilist/libutil.abilist: Remove.
44951 * scripts/extract-abilist.awk: Remove.
44952 * scripts/merge-abilist.awk: Remove.
44953 * sysdeps/generic/libcidn.abilist: New file.
44954 * sysdeps/generic/libnss_compat.abilist: New file.
44955 * sysdeps/generic/libnss_db.abilist: New file.
44956 * sysdeps/generic/libnss_dns.abilist: New file.
44957 * sysdeps/generic/libnss_files.abilist: New file.
44958 * sysdeps/generic/libnss_hesiod.abilist: New file.
44959 * sysdeps/generic/libnss_nis.abilist: New file.
44960 * sysdeps/generic/libnss_nisplus.abilist: New file.
44961 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44962 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44963 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44964 file.
44965 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44966 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44967 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44968 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44969 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44970 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44971 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44972 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44973 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44974 file.
44975 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44976 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44977 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44978 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44979 file.
44980 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44981 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44982 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44983 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44984 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44985 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44986 file.
44987 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44988 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44989 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44990 file.
44991 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44993 New file.
44994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44995 New file.
44996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44997 New file.
44998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44999 New file.
45000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45001 New file.
45002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45003 New file.
45004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45005 New file.
45006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45007 New file.
45008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45009 New file.
45010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45011 New file.
45012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45013 New file.
45014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45015 New file.
45016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45017 New file.
45018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45019 file.
45020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45021 New file.
45022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45023 New file.
45024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45025 file.
45026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45027 New file.
45028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45029 New file.
45030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45031 file.
45032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45033 New file.
45034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45035 New file.
45036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45037 New file.
45038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45039 New file.
45040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45041 New file.
45042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45043 New file.
45044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45046 file.
45047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45048 New file.
45049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45050 file.
45051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45052 file.
45053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45054 file.
45055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45056 file.
45057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45058 file.
45059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45060 New file.
45061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45062 file.
45063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45064 file.
45065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45066 New file.
45067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45068 file.
45069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45071 file.
45072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45073 New file.
45074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45075 file.
45076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45077 file.
45078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45079 file.
45080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45081 file.
45082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45083 file.
45084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45085 New file.
45086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45087 file.
45088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45089 file.
45090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45091 New file.
45092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45093 file.
45094 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45095 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45096 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45097 file.
45098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45099 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45100 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45101 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45102 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45103 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45104 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45105 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45106 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45107 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45110 file.
45111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45112 New file.
45113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45114 file.
45115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45116 file.
45117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45118 file.
45119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45120 file.
45121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45122 file.
45123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45124 New file.
45125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45126 New file.
45127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45128 file.
45129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45130 New file.
45131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45132 file.
45133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45135 file.
45136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45137 New file.
45138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45139 file.
45140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45141 file.
45142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45143 file.
45144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45145 file.
45146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45147 file.
45148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45149 New file.
45150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45151 New file.
45152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45153 file.
45154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45155 New file.
45156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45157 file.
45158
41d73a1b
JM
451592012-04-28 Joseph Myers <joseph@codesourcery.com>
45160
45161 * conform/conformtest.pl: Fix typo in handling typed-constant from
45162 allow-header.
45163
28aeeda4
JM
451642012-04-27 Joseph Myers <joseph@codesourcery.com>
45165
adae8f5e
JM
45166 * README: Cut down references to pre-2.6 Linux kernels and
45167 Linuxthreads. Update lists of configurations in libc and ports
45168 and sort alphabetically. Say "or newer" with Linux kernel version
45169 requirements.
45170
28aeeda4
JM
45171 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45172
a462cb63
RA
451732012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45174
45175 [BZ #887]
45176 * math/libm-test.inc (logb_test_downward): New test to expose
45177 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45178 rounding mode.
45179
6ad3493e
JM
451802012-04-27 Joseph Myers <joseph@codesourcery.com>
45181
45182 [BZ #14027]
45183 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45184 to be done.
45185 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45186 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45187
2ce4f015
JM
451882012-04-26 Joseph Myers <joseph@codesourcery.com>
45189
5aeb141a
JM
45190 * sysdeps/unix/i386/brk.S: Remove file.
45191 * sysdeps/unix/i386/dl-brk.S: Likewise.
45192 * sysdeps/unix/i386/pipe.S: Likewise.
45193 * sysdeps/unix/i386/sigreturn.S: Likewise.
45194 * sysdeps/unix/i386/syscall.S: Likewise.
45195 * sysdeps/unix/i386/vfork.S: Likewise.
45196 * sysdeps/unix/i386/wait.S: Likewise.
45197
7143acae
JM
45198 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45199 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45200
2ce4f015
JM
45201 * configure.in (arm*-none*): Do not allow without
45202 --enable-hacker-mode.
45203 (netbsd*): Remove case setting base_os.
45204 (386bsd*): Likewise.
45205 (freebsd*): Likewise.
45206 (bsdi*): Likewise.
45207 (osf*): Likewise.
45208 (sunos*): Likewise.
45209 (ultrix*): Likewise.
45210 (newsos*): Likewise.
45211 (dynix*): Likewise.
45212 (*bsd*): Likewise.
45213 (sysv*): Likewise.
45214 (isc*): Likewise.
45215 (esix*): Likewise.
45216 (sco*): Likewise.
45217 (minix*): Likewise.
45218 (irix4*): Likewise.
45219 (irix6*): Likewise.
45220 (solaris[2-9]*): Likewise.
45221 (none): Likewise.
45222 * configure: Regenerated.
45223
0ac229c8
AZ
452242012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45225
45226 [BZ #11521]
45227 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45228 overflow or cancellation in calculating denominator.
45229 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45230 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45231 down expression to avoid unexpected rounding in newer GCCs.
45232 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45233
33f244f4
DM
452342012-04-26 David S. Miller <davem@davemloft.net>
45235
45236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45237 long-double compat symbols.
45238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45251
cfa1f3e8
DM
452522012-04-25 David S. Miller <davem@davemloft.net>
45253
45254 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45255 HWCAP_* values only after the memory barriers have been defined.
45256 (atomic_full_barrier): Define.
45257 (atomic_read_barrier): Define.
45258 (atomic_write_barrier): Define.
45259
6e236b92
SP
452602012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45261
45262 * shlib-versions: Add libgcc_s version information.
45263 * sysdeps/generic/libgcc_s.h: Remove.
45264 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45265 libgcc_s.h.
45266 * sysdeps/gnu/unwind-resume.c: Likewise.
45267 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45268
aab39a09
DM
452692012-04-25 David S. Miller <davem@davemloft.net>
45270
45271 * sysdeps/unix/sparc/brk.S: Delete.
45272 * sysdeps/unix/sparc/dl-brk.S: Delete.
45273 * sysdeps/unix/sparc/pipe.S: Delete.
45274 * sysdeps/unix/sparc/sysdep.S: Delete.
45275 * sysdeps/unix/sparc/sysdep.h: Delete.
45276 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45277 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45278 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45280 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45281 (JUMPTARGET): Remove.
45282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45283 sysdeps/unix/sparc/sysdep.h
45284 (ENTRY, END): Remove.
45285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45286
a3cc4f48
JM
452872012-04-25 Joseph Myers <joseph@codesourcery.com>
45288
2ed8cda2
JM
45289 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45290 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45291 -DIS_IN_build.
45292
35d76d59
JM
45293 * timezone/README: Update upstream location and email address for
45294 tzcode and tzdata.
45295 * timezone/zdump.c: Update from tzcode 2012b.
45296 * timezone/zic.c: Likewise.
45297
a3cc4f48
JM
45298 * configure.in (libc_cv_as_needed): Remove test.
45299 * configure: Regenerated.
45300 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45301 conditional definition.
45302 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45303 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45304 * config.make.in (have-as-needed): Remove variable.
45305
ceab42c3
SP
453062012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45307 Paul Pluzhnikov <ppluzhnikov@google.com>
45308
45309 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45310 strings correctly.
45311
3ce2865f
CLT
453122012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45313
45314 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45315 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45316 * sysdeps/sh/strlen.S: Likewise.
45317
f37e0d68
JM
453182012-04-24 Joseph Myers <joseph@codesourcery.com>
45319
ae186e9a
JM
45320 * sysdeps/unix/fork.S: Remove file.
45321 * sysdeps/unix/i386/fork.S: Likewise.
45322 * sysdeps/unix/sparc/fork.S: Likewise.
45323
b96914af
JM
45324 * sysdeps/unix/system.c: Remove file.
45325 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45326
f37e0d68
JM
45327 * sysdeps/unix/getegid.S: Remove file.
45328 * sysdeps/unix/geteuid.S: Likewise.
45329
87ef29ca
RM
453302012-04-24 Roland McGrath <roland@hack.frob.com>
45331
83bcd236
RM
45332 * scripts/check-localplt.awk: New file.
45333 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45334 of diff.
45335 * scripts/data/localplt-generic.data: Add a comment.
45336
87ef29ca
RM
45337 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45338 NODE when __dir_mkfile failed.
45339 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45340 Reported by Ludovic Courtès <ludo@gnu.org>.
45341
e5a6e567
AJ
453422012-04-24 Andreas Jaeger <aj@suse.de>
45343
45344 * Makerules (common-clean): Also remove gen-as-const-headers
45345 files.
45346
c1820385
JM
453472012-04-24 Joseph Myers <joseph@codesourcery.com>
45348
45349 * Makerules (native-compile): Do not change working directory for
45350 build. Use $(OUTPUT_OPTION) in command.
45351 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45352
94e02fc4
AZ
453532012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45354
45355 [BZ #13886]
45356 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45357 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45358 * math/libm-test.inc (floor_test): Add more tests.
45359 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45360
3a533ca3
JM
453612012-04-24 Joseph Myers <joseph@codesourcery.com>
45362
940ab4b3
JM
45363 * sysdeps/unix/getdents.c: Remove file.
45364 * sysdeps/unix/sysv/getdents.c: Likewise.
45365 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45366
90e037bd
JM
45367 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45368 sysdeps/unix/mman/syscalls.list.
45369 (mmap): Likewise.
45370 (mprotect): Likewise.
45371 (msync): Likewise.
45372 (munmap): Likewise.
45373 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45374 * sysdeps/unix/mman/syscalls.list: Remove.
45375 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45376
3a533ca3
JM
45377 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45378 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45379 * configure: Regenerated.
45380 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45381 $(libgcc_s_suffix).
45382 * config.make.in (libgcc_s_suffix): Remove variable.
45383
1ad743de
JM
453842012-04-23 Joseph Myers <joseph@codesourcery.com>
45385
4ad451e2
JM
45386 * sysdeps/unix/sysv/gethostname.c: Move to ...
45387 * sysdeps/posix/gethostname.c: ... here.
45388
5e37ce39
JM
45389 * sysdeps/unix/execve.S: Remove file.
45390
1ad743de
JM
45391 * sysdeps/unix/_exit.S: Remove file.
45392
4e681b5b
AJ
453932012-04-23 Andreas Jaeger <aj@suse.de>
45394
45395 [BZ #13739]
45396 * manual/Makefile: Remove make dist support, there's no
45397 need for a stand-alone documentation tar ball.
45398 (TEXI2DVI): Define always, it's not in Makeconfig.
45399 (dist): Removed.
45400 (tar-it): Removed.
45401 (edition): Removed.
45402 (glibc-doc-$(edition).tar): Removed
45403 (%.Z): Removed.
45404 (%.gz): Removed.
45405 (%.uu): Removed.
45406 (ETAGS): Remove, it's in Makeconfig.
45407 (move-if-change): Remove, it's in Makeconfig.
45408
38686a03 454092012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45410
45411 [BZ #13970]
45412 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45413 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45414 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45415 (strtod_l, strtof_l, strtold_l): Remove __wur.
45416 It is not necessarily an error to ignore strtol's return value.
45417 One can reliably look at the stored endptr to decide whether
45418 the number had valid syntax.
45419
7c0616fa
AJ
454202012-04-21 Andreas Jaeger <aj@suse.de>
45421
803cb6b7 45422 [BZ #13739]
7c0616fa
AJ
45423 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45424
b0fe253f
JM
454252012-04-21 Joseph Myers <joseph@codesourcery.com>
45426
45427 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45428 * sysdeps/unix/sysv/Versions: Remove file.
45429
8280f22d
MT
454302012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45431
45432 [BZ #13927]
45433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45434
75ce411f 454352012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45436
45437 [BZ #7064]
45438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45439 version from __vm86.
45440
097d59fa
JM
454412012-04-20 Joseph Myers <joseph@codesourcery.com>
45442
a90f3bcb
JM
45443 * sysdeps/unix/common/lxstat.c: Remove file.
45444 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45445
edc7ea78
JM
45446 * sysdeps/unix/sysv/Makefile: Remove file.
45447
cb78c221
JM
45448 * sysdeps/unix/sysv/direct.h: Remove file.
45449
efa6a45f
JM
45450 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45451 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45452 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45453 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45454 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45455 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45456 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45457
9c9f2d0c
JM
45458 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45459
4541c83b
JM
45460 * sysdeps/unix/xmknod.c: Remove file.
45461 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45462
f5d153a0
JM
45463 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45464
aa746595
JM
45465 * sysdeps/unix/sysv/i386/time.S: Remove file.
45466
cce5905e
JM
45467 * sysdeps/unix/fxstat.c: Remove file.
45468 * sysdeps/unix/xstat.c: Likewise.
45469 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45470
37fa3841
JM
45471 * sysdeps/unix/sysv/sigaction.c: Remove file.
45472
ff1962a3
JM
45473 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45474 (sysdep_headers): Remove variable.
45475 [termio.h not in sysdep_headers] (generated): Likewise.
45476 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45477 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45478 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45479 * sysdeps/unix/sysv/tcflow.c: Likewise.
45480 * sysdeps/unix/sysv/tcflush.c: Likewise.
45481 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45482 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45483 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45484 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45485 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45486
e7740d31
JM
45487 * sysdeps/unix/siglist.c: Remove file.
45488
ee06f18b
JM
45489 * sysdeps/unix/getppid.S: Remove file.
45490
097d59fa
JM
45491 * sysdeps/unix/mkdir.c: Remove file.
45492 * sysdeps/unix/rmdir.c: Likewise.
45493
ff3d51ec
AS
454942012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45495
45496 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45497 ERR_MAX value.
45498 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45499 errlist-compat value.
45500
50f81fd7
DM
455012012-04-18 David S. Miller <davem@davemloft.net>
45502
45503 * sysdeps/generic/memcopy.h (reg_char): Delete.
45504 * debug/strcat_chk.c: Use char, not reg_char.
45505 * debug/strcpy_chk.c: Likewise.
45506 * debug/strncat_chk.c: Likewise.
45507 * debug/strncpy_chk.c: Likewise.
45508 * string/memchr.c: Likewise.
45509 * string/memrchr.c: Likewise.
45510 * string/rawmemchr.c: Likewise.
45511 * string/strcat.c: Likewise.
45512 * string/strchr.c: Likewise.
45513 * string/strchrnul.c: Likewise.
45514 * string/strcmp.c: Likewise.
45515 * string/strcpy.c: Likewise.
45516 * string/strncat.c: Likewise.
45517 * string/strncmp.c: Likewise.
45518 * string/strncpy.c: Likewise.
45519
8ff41c46
WS
455202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45521
45522 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45523 __builtin_memcopy is called when src and dest ranges are known to not
45524 overlap.
45525
6b652f46
WS
455262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45527
45528 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45529 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45530 fwd_align_merge macro call.
45531 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45532 bwd_align_merge macro call.
45533 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45534
b282631e
WS
455352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45536
45537 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45538 bwd_align_merge macros.
45539 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45540 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45541 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45542
95aa737c
DM
455432012-04-18 David S. Miller <davem@davemloft.net>
45544
45545 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45546
7a99a614
AJ
455472012-04-18 Andreas Jaeger <aj@suse.de>
45548
45549 [BZ# 6794]
45550 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45551 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45552 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45553
45554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45555 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45556 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45557
45558 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45559 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45560 Adjust for changed ldbl-128 files.
45561
45562 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45563 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45565
e5270c23
DM
455662012-04-17 David S. Miller <davem@davemloft.net>
45567
45568 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45569
fb5e92c9
AS
455702012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45571
45572 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45573 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45574 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45575 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45576 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45577 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45578
76da7265
AZ
455792012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45580
45581 [BZ #6794]
45582 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45583 * math/libm-test.inc: Add ilogb errno and exception tests.
45584 * math/w_ilogb.c: New file: ilogb wrapper.
45585 * math/w_ilogbf.c: New file: ilogbf wrapper.
45586 * math/w_ilogbl.c: New file: ilogbl wrapper.
45587 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45588 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45589 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45590 exception being thrown with 0.0 as argument.
45591 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45592 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45593 exception being thrown with 0.0 as argument.
45594 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45595 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45596 exception being thrown with 0.0 as argument.
45597 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45598 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45599 exception being thrown with 0.0 as argument.
45600 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45601 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45602 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45603 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45604 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45605 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45606 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45607 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45608 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45609
0396e69d
PB
456102012-04-17 Petr Baudis <pasky@ucw.cz>
45611
45612 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45613 with altivec.
45614
750b5926
MP
456152012-04-16 Marek Polacek <polacek@redhat.com>
45616
45617 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45618
751728a1
MP
456192012-04-16 Marek Polacek <polacek@redhat.com>
45620
45621 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45622 operands of fdivp instruction.
45623
34a27407
L
456242012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45625
45626 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45627 * elf/tst-auditmod3b.c: Likewise.
45628 * elf/tst-auditmod4b.c: Likewise.
45629 * elf/tst-auditmod5b.c: Likewise.
45630 * elf/tst-auditmod6b.c: Likewise.
45631 * elf/tst-auditmod6c.c: Likewise.
45632 * elf/tst-auditmod7b.c: Likewise.
45633 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45634 * sysdeps/x86_64/preconfigure.in: Likewise.
45635 * sysdeps/x86_64/preconfigure: Regenerated.
45636
7e73e17d
L
456372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45638
45639 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45640 __ILP32__.
45641
c7a6ab72
AB
456422012-04-13 Antoine Balestrat <merkil33@gmail.com>
45643
45644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45645 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45646
a9e8e0e0
CL
456472012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45648
45649 [BZ #13973]
45650 * locale/iso-639.def: Fix gl language name. Spotted by
45651 Yaron Shahrabani.
45652
ec98af7d
RM
456532012-04-12 Roland McGrath <roland@hack.frob.com>
45654
45655 [BZ #2074]
45656 * libio/libio.h (__io_write_fn): Update comment.
45657
247c3ede
PB
456582012-04-12 Petr Baudis <pasky@ucw.cz>
45659
45660 [BZ #2074]
45661 * stdio.texi (Hook Functions): The user provided writer function
45662 is not allowed to return -1.
45663
55939d6d
DM
456642012-04-11 David S. Miller <davem@davemloft.net>
45665
45666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45667
90020f5a
MF
456682012-04-11 Mike Frysinger <vapier@gentoo.org>
45669
45670 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45671 Add a leading slash to rtkaio.
45672
288f9098
JM
456732012-04-11 Jim Meyering <meyering@redhat.com>
45674
90020f5a
MF
45675 [BZ #11959]
45676 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45677 It is not necessarily an error to ignore fwrite's return
45678 value. One can reliably use ferror to test for errors after
45679 the fact.
288f9098 45680
4be2b570
L
456812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45682
45683 * bits/types.h (__snseconds_t): New type.
45684 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45685
45686 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45687 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45688 (__SNSECONDS_T_TYPE): Likewise.
45689 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45690 (__SNSECONDS_T_TYPE): Likewise.
45691 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45692 (__SNSECONDS_T_TYPE): Likewise.
45693
288f9098 456942012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45695
45696 [BZ #2636]
45697 * manual/time.texi (Processor Time): Return type of times is
45698 elapsed real time since an arbitrary point in the past.
45699 (CPU Time): Move CLK_TCK from here...
45700 (Processor Time): ...to here. Correct description.
45701 * manual/conf.texi (Constants for Sysconf): Correct description of
45702 _SC_CLK_TCK.
45703
d7dd4413
DM
457042012-04-10 David S. Miller <davem@davemloft.net>
45705
45706 [BZ #13967]
45707 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45708 where the is a gap between DT_REL(A) and DT_JMPREL.
45709
b46068fc
L
457102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45711
45712 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45713 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45714 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45715
73d65cc3
SP
457162012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45717
45718 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45719 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45720 (dl_main): Handle --inhibit-cache.
45721 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45722 _dl_inhibit_cache.
45723 * elf/dl-load.c (_dl_map_object): Use it.
45724 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45725
bcc8d661
JM
457262012-04-09 Joseph Myers <joseph@codesourcery.com>
45727
8f9a2fae
JM
45728 [BZ #13872]
45729 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45730 (__ieee754_powl): Saturate large exponents rather than testing for
45731 overflow of y*log2(x).
45732 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45733 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45734 exceptions.
45735
bcc8d661
JM
45736 [BZ #11521]
45737 * math/s_ctan.c: Include <float.h>.
45738 (__ctan): Avoid internal overflow or cancellation in calculating
45739 denominator.
45740 * math/s_ctanf.c: Likewise.
45741 * math/s_ctanl.c: Likewise.
45742 * math/s_ctanh.c: Likewise.
45743 * math/s_ctanhf.c: Likewise.
45744 * math/s_ctanhl.c: Likewise.
45745 * math/libm-test.inc (ctan_test): Add more tests.
45746 (ctanh_test): Likewise.
45747 * sysdeps/i386/fpu/libm-test-ulps: Update.
45748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45749
823fbbb4
AJ
457502012-04-09 Andreas Jaeger <aj@suse.de>
45751
03879793
AJ
45752 [BZ #6894]
45753 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45754 is an optional BSD extension.
45755
823fbbb4
AJ
45756 [BZ #10254]
45757 * manual/stdio.texi (Opening Streams): Document additional fopen
45758 parameters.
45759
8de131cb
RM
457602012-04-09 Roland McGrath <roland@hack.frob.com>
45761
45762 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45763 %eax without telling the compiler.
45764
c0ed9d7d
CD
457652012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45766
45767 [BZ # 13963]
45768 * manual/install.texi: Use sourceware.org.
45769
c483f6b4
JM
457702012-04-09 Joseph Myers <joseph@codesourcery.com>
45771
d7dd9453
JM
45772 [BZ #13873]
45773 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45774 (__ieee754_pow): Generate overflow and underflow using huge*huge
45775 and tiny*tiny rather than just returning constant infinity or zero
45776 for large exponents.
45777 * math/libm-test.inc (pow_test): Require overflow exceptions for
45778 applicable cases of large exponents.
45779
c483f6b4
JM
45780 [BZ #706]
45781 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45782 (__ieee754_pow): Use iterative multiplication algorithm only for
45783 integer exponents with absolute value below 1024. Check for odd
45784 integer exponents when using algorithm for real exponents.
45785 * math/libm-test.inc (pow_test): Add more tests.
45786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45787
d2de7579
JM
457882012-04-08 Joseph Myers <joseph@codesourcery.com>
45789
45790 [BZ #13705]
45791 * math/libm-test.inc (exp_test): Do not allow overflow exception
45792 on underflow test.
45793
f77f1232
AJ
457942012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45795
45796 [BZ #13705]
45797 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45798 instead of __kernel_standard_f.
45799
3884932b
MF
458002012-04-08 Mike Frysinger <vapier@gentoo.org>
45801
45802 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45803 * sysdeps/x86_64/memset_chk.S: Likewise.
45804
54472e9c
AJ
458052012-04-08 Andreas Jaeger <aj@suse.de>
45806
6ab0fbfc
AJ
45807 [BZ #10153]
45808 * manual/startup.texi (Environment Access): Describe return value
45809 for putenv and setenv.
45810
61efba8c
AJ
45811 [BZ #6895]
45812 * manual/filesys.texi (Directory Entries): Add description for
45813 DT_LNK.
45814
95c3f29a
AJ
45815 [BZ #6890]
45816 * manual/filesys.texi (Directory Entries): Clarify that it's file
45817 system not operating system in the description of DT_UNKNOWN.
45818
54472e9c
AJ
45819 [BZ #6578]
45820 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45821
624254b1
SC
458222012-04-08 Stephen Compall <s11@member.fsf.org>
45823
45824 [BZ #6649]
45825 * manual/llio.texi (Opening and Closing Files): Add cross
45826 reference to explain mode argument.
45827
1e4920e0
MF
458282012-04-07 Mike Frysinger <vapier@gentoo.org>
45829
45830 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45831 * sysdeps/x86_64/memset_chk.S: Likewise.
45832
5ed848f3
DM
458332012-04-07 David S. Miller <davem@davemloft.net>
45834
45835 * elf/elf.h (R_SPARC_WDISP10): Define.
45836 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45837 R_SPARC_SIZE32.
45838 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45839 R_SPARC_SIZE64 and R_SPARC_H34.
45840
96154cd8
CD
458412012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45842
45843 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45844 conditions and remove no longer applicable assertion.
45845
9904dc47
L
458462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45847
45848 * bits/byteswap.h: Include <features.h>.
45849 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45850 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45851
f8887d0a
L
458522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45853
45854 * bits/byteswap.h (__bswap_16): Removed.
45855 Include <bits/byteswap-16.h> to get __bswap_16.
45856 * sysdeps/i386/bits/byteswap.h: Likewise.
45857 * sysdeps/s390/bits/byteswap.h: Likewise.
45858 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45859 * bits/byteswap-16.h: New file.
45860 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45861 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45862 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45863 * string/Makefile (headers): Add bits/byteswap-16.h.
45864
62470f60
PP
458652012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45866
45867 [BZ #13895]
45868 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45869 extra indirection.
45870 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45871 * nss/tst-nss-static.c: New.
45872
4dad7bab
RM
458732012-04-06 Robert Millan <rmh@gnu.org>
45874
45875 [BZ #6486]
45876 * manual/llio.texi (File Position Primitive): lseek
45877 refers to WHENCE when it really means OFFSET.
45878
e9142a17
AJ
458792012-04-06 Andreas Jaeger <aj@suse.de>
45880
2c040eff
AJ
45881 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45882 strncmp declarations.
45883
e9142a17
AJ
45884 * abilist/libc.abilist: Add __poll and __ppoll.
45885
ff9f1c5f
DM
458862012-04-05 David S. Miller <davem@davemloft.net>
45887
dcd2ae90
DM
45888 * scripts/check-local-headers.sh: Accept a host triplet in the
45889 path matched by the exclude regexp.
45890
993eb054
DM
45891 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45892 definition.
45893 * sysdeps/powerpc/powerpc32/dl-machine.h
45894 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45895 * sysdeps/s390/s390-32/dl-machine.h
45896 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45897 * sysdeps/sparc/sparc32/dl-machine.h
45898 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45899 * sysdeps/sparc/sparc64/dl-machine.h
45900 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45901
ff9f1c5f
DM
45902 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45903 lazy binding.
48e2e132 45904 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45905 undefined symbol errors.
45906
48e2e132 45907 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45908 DT_NEEDED entries.
45909
e80d6f94
MM
459102012-04-05 Michael Matz <matz@suse.de>
45911
45912 [BZ #13592]
45913 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45914
349fa79f
AJ
459152012-04-05 Andreas Jaeger <aj@suse.de>
45916
45917 [BZ #13908]
45918 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45919 comment.
45920
f402708f
KK
459212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45922
45923 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45924 which ROUND is no valid rounding mode.
45925
2ecccfc9
KK
459262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45927
45928 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45929 read again.
45930 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45931
8a53f50f
KK
459322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45933
45934 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45935 an exception using FPU order intentionally.
45936
459372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45938
45939 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45940 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45941 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45942 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45943
d653abb7
SJ
459442012-04-05 Simon Josefsson <simon@josefsson.org>
45945
45946 [BZ #12340]
45947 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45948 EINVAL when BUFLEN is too smal.
45949
c3b1bf7d
TS
459502012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45951
45952 [BZ #13553]
45953 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45954 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45955
b1aa60f3
AJ
459562012-04-03 Andreas Jaeger <aj@suse.de>
45957
c3b1bf7d 45958 [BZ #13938]
67f60a26
AJ
45959 * manual/setjmp.texi (System V contexts): Fix sentence.
45960
b1aa60f3
AJ
45961 [BZ #13926]
45962 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45963 New macro for this case.
45964 [!__GNUC__] (__bswap_64): New inline function for this case.
45965 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45966 * bits/byteswap.h: Likewise.
45967 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45968 ull, guard with __GLIBC_HAVE_LONG_LONG.
45969
45970 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45971 __GLIBC_HAVE_LONG_LONG.
45972
45973 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45974 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45975
39c59c35
TMQMF
459762012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45977
45978 [BZ #13691]
45979 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45980 inptr and inend, rather than using last_ch.
45981
135ffda8
DM
459822012-04-02 David S. Miller <davem@davemloft.net>
45983
45984 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45985 * stdio-common/printf-parse.h (read_int): Change return type to
45986 'int', return -1 on INT_MAX overflow.
45987 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45988 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45989 overflows INT_MAX. Check for overflow of in-format-string precision
45990 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45991 SIZE_MAX not INT_MAX for integer overflow test.
45992 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45993 skip the construct in the format string but do not record anything.
45994 * stdio-common/bug22.c: Adjust to test both width/prevision
45995 INT_MAX overflow as well as total length INT_MAX overflow. Check
45996 explicitly for proper errno values.
45997
228c019e
TS
459982012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45999
302cadd3
TS
46000 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46001 CHAR_MAX.
46002 * string/test-strcmp.c [! WIDE]: Likewise.
46003 * time/tst-mktime2.c: Likewise for INT_MAX.
46004 * string/test-string.h: #include <sys/param.h> for MIN.
46005
228c019e
TS
46006 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46007 * sysdeps/i386/init-first.c (init): Likewise.
46008 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46009 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46010 * sysdeps/sh/init-first.c (init): Likewise.
46011
cfa633f5
UD
460122012-04-01 Ulrich Drepper <drepper@gmail.com>
46013
46014 * po/ru.po: Update from translation team.
d1635ef8 46015 * po/vi.po: Likewise.
cfa633f5 46016
6cd0a5ea
SP
460172012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46018
46019 * resolv/nss_dns/dns-host.c: Merge copyright years.
46020
4b43400f
LD
460212012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46022
46023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46024 Optimize memcpy with prefetch if
46025 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46026 src, dst pointers have unequal 16 byte alignments.
46027
48c41d04
SP
460282012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46029
46030 [BZ #13928]
46031 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46032 from a CNAME entry and return the minimum ttl for the query.
46033 (gaih_getanswer_slice): Likewise.
46034
b8dc394d
JL
460352012-03-30 Jeff Law <law@redhat.com>
46036
46037 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46038 due to long keys.
46039 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46040 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46041
2f5a5ed0
JL
46042 * resolv/nss_dns/dns-host.c: Update copyright year.
46043
1d39e359
UD
460442012-03-30 Ulrich Drepper <drepper@gmail.com>
46045
c030f70c 46046 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46047 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46048
1d39e359
UD
46049 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46050 comments for sendmmsg.
46051
460522012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46053
46054 [BZ #13691]
46055 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46056 with only 1 character between 0x0041 and 0x01b0.
46057 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46058 * wcsmbs/tst-mbsnrtowcs.c: New file.
46059
20fde227
DM
460602012-03-29 David S. Miller <davem@davemloft.net>
46061
46062 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46063 small copies by hand.
46064
984a4237
JL
460652012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46066
46067 [BZ #13761]
57f41c40
AS
46068 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46069 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46070 group memberships.
984a4237 46071
18c9d62b
DM
460722012-03-28 David S. Miller <davem@davemloft.net>
46073
88d85d4f
DM
46074 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46075 that branches into memcpy.
46076 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46079 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46081 bits.
46082 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46083 implementation too.
46084 * sysdeps/sparc/mempcpy.S: New file.
46085
e5aa83e1
DM
46086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46087 the IFUNC routine in the libc case.
46088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46089
88570753
DM
46090 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46091 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46092 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46093 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46094 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46095 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46096 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46097 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46098
249d7567
DM
46099 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46100 loop to 256 bytes instead of 64 bytes and fix test signedness.
46101
18c9d62b
DM
46102 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46103 * sysdeps/sparc/sparc32/Makefile: rather than here...
46104 * sysdeps/sparc/sparc64/Makefile: and here.
46105
05f3d1f6
UD
461062012-03-28 Ulrich Drepper <drepper@gmail.com>
46107
46108 * malloc/mallocbug.c: Avoid warnings about unused variables.
46109
86ae07a8
JL
461102012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46111
46112 [BZ #13760]
46113 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46114 in the right place. Discard and retry query if response is
46115 larger than input buffer size.
46116
41bf21a1
JM
461172012-03-28 Joseph Myers <joseph@codesourcery.com>
46118
d6270972
JM
46119 [BZ #369]
46120 [BZ #2678]
46121 [BZ #3866]
46122 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46123 x for large integer exponent.
46124 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46125 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46126 sign of result as needed afterwards.
46127 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46128 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46129 result for underflowing pow the same as for overflow.
46130 (__kernel_standard_l): Handle powl overflow and underflow here
46131 rather than calling __kernel_standard.
46132 * math/libm-test.inc (pow_test): Add more tests.
46133
414fca03 46134 [BZ #3868]
41bf21a1
JM
46135 [BZ #13879]
46136 [BZ #13910]
46137 [BZ #13911]
46138 [BZ #13912]
46139 [BZ #13913]
46140 [BZ #13915]
46141 [BZ #13916]
46142 [BZ #13917]
46143 [BZ #13918]
46144 [BZ #13919]
46145 [BZ #13920]
46146 [BZ #13921]
46147 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46148 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46149 (__kernel_standard_l): New function.
46150 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46151 __kernel_standard.
46152 * math/w_acosl.c (__acosl): Likewise.
46153 * math/w_asinl.c (__asinl): Likewise.
46154 * math/w_atan2l.c (__atan2l): Likewise.
46155 * math/w_atanhl.c (__atanhl): Likewise.
46156 * math/w_coshl.c (__coshl): Likewise.
46157 * math/w_exp10l.c (__exp10l): Likewise.
46158 * math/w_exp2l.c (__exp2l): Likewise.
46159 * math/w_fmodl.c (__fmodl): Likewise.
46160 * math/w_hypotl.c (__hypotl): Likewise.
46161 * math/w_j0l.c (__j0l, __y0l): Likewise.
46162 * math/w_j1l.c (__j1l, __y1l): Likewise.
46163 * math/w_jnl.c (__jnl, __ynl): Likewise.
46164 * math/w_lgammal.c (__lgammal): Likewise.
46165 * math/w_log10l.c (__log10l): Likewise.
46166 * math/w_log2l.c (__log2l): Likewise.
46167 * math/w_logl.c (__logl): Likewise.
46168 * math/w_powl.c (__powl): Likewise.
46169 * math/w_remainderl.c (__remainderl): Likewise.
46170 * math/w_scalbl.c (sysv_scalbl): Likewise.
46171 * math/w_sinhl.c (__sinhl): Likewise.
46172 * math/w_sqrtl.c (__sqrtl): Likewise.
46173 * math/w_tgammal.c (__tgammal): Likewise.
46174 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46175 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46176 * math/libm-test.inc (acos_test): Add more tests.
46177 (acosh_test): Likewise.
46178 (asin_test): Likewise.
46179 (atanh_test): Likewise.
46180 (exp_test): Likewise.
46181 (exp10_test): Likewise.
46182 (exp2_test): Likewise.
46183 (expm1_test): Likewise.
46184 (lgamma_test): Likewise.
46185 (log_test): Likewise.
46186 (log10_test): Likewise.
46187 (log1p_test): Likewise.
46188 (log2_test): Likewise.
46189 (pow_test): Do not allow some spurious overflow exceptions.
46190 (sqrt_test): Add more tests.
46191 (tgamma_test): Likewise.
46192 (y0_test): Likewise.
46193 (y1_test): Likewise.
46194 (yn_test): Likewise.
46195
dd62fda6
AB
461962012-03-27 Anton Blanchard <anton@samba.org>
46197
46198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46199 MAP_HUGETLB.
46200 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46201 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46202 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46203
1e3cdfda
AJ
462042012-03-27 David S. Miller <davem@davemloft.net>
46205
b855ab85
DM
46206 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46207
1e3cdfda
AJ
46208 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46209 have-as-vis3 check.
46210
462112012-03-27 Andreas Jaeger <aj@suse.de>
46212
46213 * sysdeps/x86_64/elf/configure.in: Moved to ...
46214 * sysdeps/x86_64/configure.in: ... here.
46215 * sysdeps/x86_64/elf/start.S: Moved to ...
46216 * sysdeps/x86_64/start.S: ... here.
46217 * sysdeps/x86_64/elf/configure: Delete.
46218
46219 * sysdeps/x86_64/configure.in: Merge contents from
46220 sysdeps/i386/configure.in (without i686 check).
46221
46222 * sysdeps/i386/elf/Versions: Merge into ...
46223 * sysdeps/i386/Versions: ... this.
46224 * sysdeps/i386/elf/Versions: Delete file.
46225 * sysdeps/i386/elf/start.S: Moved to ...
46226 * sysdeps/i386/start.S: ...here.
46227 * sysdeps/i386/elf/configure.in: Merge into...
46228 * sysdeps/i386/configure.in: ...here.
46229 * sysdeps/i386/elf/configure.in: Delete file.
46230 * sysdeps/i386/elf/configure: Delete file.
46231
46232 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46233 * debug/backtracesyms.c: ... here.
46234 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46235 * debug/backtracesymsfd.c: ... here.
46236 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46237 * sysdeps/generic/ifunc-sel.h: ... here.
46238
46239 * sysdeps/unix/i386/start.c: Delete file.
46240 * sysdeps/unix/sparc/start.c: Delete file.
46241 * sysdeps/unix/start.c: Delete file.
46242
46243 * sysdeps/sh/elf/configure.in: Moved to ...
46244 * sysdeps/sh/configure.in: ... here.
46245 * sysdeps/sh/elf/start.S: Moved to ...
46246 * sysdeps/sh/start.S: ... here.
46247 * sysdeps/sh/elf/configure: Delete file.
46248
46249 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46250 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46251 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46252 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46253 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46254 * sysdeps/powerpc/powerpc64/start.S: here.
46255 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46256 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46257 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46258 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46259 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46260
46261 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46262 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46263 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46264 * sysdeps/powerpc/powerpc32/start.S: ... here.
46265 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46266 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46267 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46268
46269 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46270 * sysdeps/powerpc/ifunc-sel.h: ... here.
46271 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46272 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46273
46274 * sysdeps/sparc/elf/configure.in: Moved to ...
46275 * sysdeps/sparc/configure.in: ... here.
46276 * sysdeps/sparc/elf/configure: Delete file.
46277 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46278 * sysdeps/sparc/sparc32/start.S: ... here.
46279 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46280 * sysdeps/sparc/sparc64/start.S: ... here.
46281 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46282 * sysdeps/sparc/sparc32/Makefile: ... this.
46283 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46284 * sysdeps/sparc/sparc64/Makefile: ... this.
46285
46286 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46287 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46288 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46289 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46290 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46291 * sysdeps/s390/s390-32/setjmp.S: ... here.
46292 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46293 * sysdeps/s390/s390-32/configure.in: ... here.
46294 * sysdeps/s390/s390-32/elf/configure: Delete file.
46295 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46296 * sysdeps/s390/s390-32/start.S: ... here.
46297
46298 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46299 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46300 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46301 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46302 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46303 * sysdeps/s390/s390-64/setjmp.S: ... here.
46304 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46305 * sysdeps/s390/s390-64/configure.in: ... here
46306 * sysdeps/s390/s390-64/elf/configure: Delete file.
46307 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46308 * sysdeps/s390/s390-64/start.S: ... here.
46309 * sysdeps/s390/s390-64/elf/configure: Delete.
46310
46311 * configure.in: Remove support for elf directories in sysdeps.
46312
46313 * configure: Regenerated.
46314 * sysdeps/i386/configure: Regenerated.
46315 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46316 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46317 * sysdeps/s390/s390-32/configure: Regenerated.
46318 * sysdeps/s390/s390-64/configure: Regenerated.
46319 * sysdeps/sh/configure: Regenerated.
46320 * sysdeps/sparc/configure: Regenerated.
46321 * sysdeps/x86_64/configure: Regenerated.
46322
a3f61311
AS
463232012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46324
c876e002
AS
46325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46326
a3f61311
AS
46327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46328 denormal result into account.
46329
ac4c54f0
RM
463302012-03-25 Roland McGrath <roland@hack.frob.com>
46331
46332 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46333 Reported by Allan McRae <allan@archlinux.org>.
46334
6a9b9c02
JL
463352012-03-23 Jeff Law <law@redhat.com>
46336
46337 * nss/getnssent.c (__nss_getent): Fix typo.
46338
4c42a0c1
DM
463392012-03-23 David S. Miller <davem@davemloft.net>
46340
46341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46342
1532c7ac
L
463432012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46344
46345 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46346 to pad to uint64_t for each field.
46347 (dl_tls_index): Replace unsigned long with uint64_t.
46348
3ff42526
PP
463492012-03-23 Daniel Jacobowitz <dmj@google.com>
46350 Paul Pluzhnikov <ppluzhnikov@google.com>
46351
46352 [BZ #6528]
46353 * grp/Makefile (otherlibs): Don't set it.
46354 * inet/Makefile (otherlibs): Likewise.
46355 * login/Makefile (otherlibs): Likewise.
46356 * nscd/Makefile (otherlibs): Likewise.
46357 * posix/Makefile (otherlibs): Likewise.
46358 * pwd/Makefile (otherlibs): Likewise.
46359 * rt/Makefile (otherlibs): Likewise.
46360 * sunrpc/Makefile (otherlibs): Likewise.
46361 * nss/Makefile (otherlibs): Likewise.
46362 Add libnss_files to routines and static-only-routines.
46363 ($(objpfx)getent): Remove rule.
46364 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46365 static-only-routines.
46366
7c69cd14
JM
463672012-03-22 Joseph Myers <joseph@codesourcery.com>
46368
46369 [BZ #13892]
46370 * math/s_cexp.c: Include <float.h>.
46371 (__cexp): Handle exp result overflowing not necessarily
46372 overflowing both real and imaginary parts of result.
46373 * math/s_cexpf.c: Likewise.
46374 * math/s_cexpl.c: Likewise.
46375 * math/libm-test.inc (cexp_test): Add more tests.
46376 * sysdeps/i386/fpu/libm-test-ulps: Update.
46377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46378
81b035fe
L
463792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46380
46381 * include/link.h (ELFW): New macro.
46382 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46383 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46384
1da7940c
L
463852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46386
46387 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46388 with uint64_t.
46389
b749dbb9
L
463902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46391
46392 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46393 declaration.
46394 (struct La_x32_retval): Likewise.
46395
2ff87f3f
L
463962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46397
46398 * sysdeps/x86_64/preconfigure.in: New file.
46399 * sysdeps/x86_64/preconfigure: New generated file.
46400
c0df8e69
JM
464012012-03-22 Joseph Myers <joseph@codesourcery.com>
46402
48e44791
JM
46403 [BZ #13824]
46404 * math/e_exp2l.c: Include <float.h>.
46405 (__ieee754_exp2l): Handle overflow and underflow cases
46406 separately. Only pass fractional part of argument to
46407 __ieee754_expl.
46408 * math/libm-test.inc (exp2_test): Add more tests.
46409
c0df8e69
JM
46410 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46411 negating x to take absolute value.
46412 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46413 Likewise.
46414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46415 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46416 Likewise.
46417 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46418 computing low part if x was negated.
46419 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46420
c8e43ba7
L
464212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46422
46423 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46424 la_x32_gnu_pltexit.
46425 (pltexit): Cast int_retval to ptrdiff_t.
46426 * elf/tst-auditmod3b.c: Likewise.
46427 * elf/tst-auditmod4b.c: Likewise.
46428 * elf/tst-auditmod5b.c: Likewise.
46429 * elf/tst-auditmod6b.c: Likewise.
46430 * elf/tst-auditmod6c.c: Likewise.
46431 * elf/tst-auditmod7b.c: Likewise.
46432
46433 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46434 and x32_gnu_pltexit.
46435
46436 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46437 __ELF_NATIVE_CLASS.
46438 (La_x32_regs): New macro.
46439 (La_x32_retval): Likewise.
46440 (la_x32_gnu_pltenter): New function prototype.
46441 (la_x32_gnu_pltexit): Likewise.
46442
7998fa78
AS
464432012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46444
dcb33988
AS
46445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46446 exponent.
46447
233fc563
AS
46448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46449
7998fa78
AS
46450 * configure.in (libc_cv_cc_nofma): Check for option to disable
46451 generation of FMA instructions.
46452 * configure: Regenerate.
46453 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46454 * sysdeps/ieee754/dbl-64/Makefile: New file.
46455 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46456 Remove brandred-fma4.
46457 (CFLAGS-brandred-fma4.c): Remove.
46458 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46459 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46460 define.
46461 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46462 define.
46463
8e95c99a
L
464642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46465
46466 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46467 LLONG_MAX != LONG_MAX.
46468 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46469 (_fitoa_word): Likewise.
46470 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46471 LLONG_MAX != LONG_MAX.
46472 * stdio-common/_itowa.h: Include <_itoa.h>.
46473 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46474 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46475 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46476 only if not defined.
46477 (_ITOA_WORD_TYPE): Likewise.
46478 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46479 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46480
6f4db457
DM
464812012-03-21 David S. Miller <davem@davemloft.net>
46482
46483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46484
7785fe5a
L
464852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46486
46487 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46488 of x86_64 when setting libc_cv_slibdir, libdir and
46489 libc_cv_localedir.
46490 * sysdeps/unix/sysv/linux/configure: Regenerated.
46491
4535cd55
JM
464922012-03-21 Joseph Myers <joseph@codesourcery.com>
46493
46494 * manual/lang.texi (Old Varargs): Remove section.
46495 (How Variadic): Update menu.
46496 (va_start): Do not mention varargs.h.
46497
17228132
TS
464982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46499 Joseph Myers <joseph@codesourcery.com>
46500
46501 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46502 link test.
46503 * configure: Regenerated.
46504
8149f976
TS
465052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46506
05f3d1f6
UD
46507 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46508 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46509 conformtest.pl
8149f976 46510
1a4ac776
JM
465112012-03-21 Joseph Myers <joseph@codesourcery.com>
46512
be22ce65
JM
46513 * NOTES: Remove.
46514 * Makefile (files-for-dist): Remove NOTES.
46515 (NOTES): Remove rule.
46516 * README: Don't refer to NOTES.
46517 * manual/creature.texi: Don't include macros.texi.
46518 * manual/intro.texi (creature.texi): Remove comment referring to
46519 NOTES.
46520
40b601fb
JM
46521 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46522 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46523 * configure: Regenerated.
46524 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46525 LIBC_TRY_CC_OPTION.
46526 (libc_cv_as_i686): Likewise.
46527 (libc_cv_cc_avx): Likewise.
46528 (libc_cv_cc_sse2avx): Likewise.
46529 (libc_cv_cc_fma4): Likewise.
46530 (libc_cv_cc_novzeroupper): Likewise.
46531 * sysdeps/i386/configure: Regenerated.
46532
1a4ac776
JM
46533 [BZ #13883]
46534 * sysdeps/i386/fpu/s_cexp.S: Remove.
46535 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46536 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46537 * math/libm-test.inc (cexp_test): Add more tests.
46538 * sysdeps/i386/fpu/libm-test-ulps: Update.
46539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46540
a458e7fe
AM
465412012-03-21 Allan McRae <allan@archlinux.org>
46542
46543 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46544
0cb7efc5
JM
465452012-03-21 Joseph Myers <joseph@codesourcery.com>
46546
46547 [BZ #13871]
46548 * math/w_exp2.c: Do not include <float.h>.
46549 (o_threshold, u_threshold): Remove.
46550 (__exp2): Calculate result before checking finiteness and calling
46551 __kernel_standard.
46552 * math/w_exp2f.c: Likewise.
46553 * math/w_exp2l.c: Likewise.
46554 * math/libm-test.inc (exp2_test): Require overflow exception for
46555 1e6 input.
2460d3aa
JM
46556
46557 [BZ #3866]
46558 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46559 range of signed 64-bit integers before using fistpll. Remove
46560 checks for whether integers fit in mantissa bits.
46561 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46562 the range of signed 32-bit integers before using fistpl. Remove
46563 checks for whether integers fit in mantissa bits.
46564 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46565 (__ieee754_powl): Test for y outside the range of signed 64-bit
46566 integers before using fistpll. Reduce 64-bit values to 63-bit
46567 ones as needed.
46568 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46569 divide-by-zero is raised for zero to large negative powers.
46570 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46571 (__ieee754_powl): Test for y outside the range of signed 64-bit
46572 integers before using fistpll. Reduce 64-bit values to 63-bit
46573 ones as needed.
46574 * math/libm-test.inc (pow_test): Add more tests.
46575
eb96ffb0
L
465762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46577
46578 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46579 <stdio-common/_itoa.h>.
46580 * debug/segfault.c: Likewise.
46581 * elf/dl-cache.c: Likewise.
46582 * elf/dl-minimal.c: Likewise.
46583 * elf/dl-misc.c: Likewise.
46584 * elf/dl-sysdep.c: Likewise.
46585 * elf/dl-version.c: Likewise.
46586 * elf/rtld.c: Likewise.
46587 * hurd/hurdsock.c: Likewise.
46588 * hurd/lookup-retry.c: Likewise.
46589 * malloc/malloc.c: Likewise.
46590 * malloc/mtrace.c: Likewise.
46591 * nscd/nscd_getgr_r.c: Likewise.
46592 * nscd/nscd_getpw_r.c: Likewise.
46593 * nscd/nscd_getserv_r.c: Likewise.
46594 * posix/getopt_init.c: Likewise.
46595 * posix/wordexp.c: Likewise.
46596 * stdio-common/_itoa.c: Likewise.
46597 * stdio-common/printf_fphex.c: Likewise.
46598 * stdio-common/vfprintf.c: Likewise.
46599 * string/_strerror.c: Likewise.
46600 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46601 * sysdeps/i386/i686/hp-timing.h: Likewise.
46602 * sysdeps/mach/_strerror.c: Likewise.
46603 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46604 * sysdeps/mach/hurd/sethostid.c: Likewise.
46605 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46606 * sysdeps/mach/xpg-strerror.c: Likewise.
46607 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46608 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46609 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46610 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46611 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46612 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46613 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46614 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46615 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46616 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46617 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46618 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46619 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46620 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46621 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46622 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46623 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46624 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46625 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46626 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46627 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46628
46629 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46630
46631 * stdio-common/_itoa.h: Moved to ...
46632 * sysdeps/generic/_itoa.h: Here.
46633
46634 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46635
46636 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46637 instead of "_itoa.h" and "_itowa.h".
46638 * stdio-common/vfprintf.: Likewise.
46639
d1af992d
L
466402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46641
46642 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46643 <bits/wordsize.h>.
46644 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46645 (__signbit): Likwise.
46646 (llrintf): Likwise.
46647 (llrint): Likwise.
46648
114883e0
L
466492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46650
46651 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46652 __WORDSIZE != 64.
46653
c135cc1b
JM
466542012-03-20 Joseph Myers <joseph@codesourcery.com>
46655
46656 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46657 OVERFLOW_EXCEPTION_OK.
46658 * math/libm-test.inc ("Philosophy"): Update comment about
46659 exception testing.
46660 (OVERFLOW_EXCEPTION): Define.
46661 (OVERFLOW_EXCEPTION_OK): Likewise.
46662 (INVALID_EXCEPTION_OK): Renumber.
46663 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46664 (IGNORE_ZERO_INF_SIGN): Likewise.
46665 (test_exceptions): Handle FE_OVERFLOW.
46666 (exp10_test): Expect overflow exceptions.
46667 (exp2_test): Likewise.
46668 (expm1_test): Likewise.
46669 (nextafter_test): Likewise.
46670 (pow_test): Likewise.
46671 (scalbn_test): Likewise.
46672 (scalbln_test): Likewise.
46673
95443d88
L
466742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46675
46676 * sysdeps/x86_64/bits/atomic.h
46677 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46678 64bit integer.
46679 (atomic_exchange_acq): Likewise.
46680 (__arch_exchange_and_add_body): Likewise.
46681 (__arch_add_body): Likewise.
46682 (atomic_add_negative): Likewise.
46683 (atomic_add_zero): Likewise.
46684
490df6c4
L
466852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46686
c2722551 46687 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46688 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46689
5e52b189
L
466902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46691
46692 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46693 Check __x86_64__ instead of __WORDSIZE.
46694
a9879d4c
L
466952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46696
46697 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46698
5df98260
DM
466992012-03-19 David S. Miller <davem@davemloft.net>
46700
e1497744
DM
46701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46702
5df98260
DM
46703 * sysdeps/sparc/fpu/fenv_private.h: New file.
46704 * sysdeps/sparc/fpu/math_private.h: Use it.
46705 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46706 Remove.
57f41c40 46707 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46708 (libc_feholdexcept_setroundl): Remove.
46709 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46710 Remove.
46711 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46712 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46713
b4c35121
L
467142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46715
46716 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46717 int64_t instead of long int.
46718 (INSERT_WORDS64): Likwise.
46719
56965fd7
L
467202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46721
46722 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46723 _Unwind_GetCFA return to _Unwind_Ptr first.
46724
83d1aec8
JM
467252012-03-19 Joseph Myers <joseph@codesourcery.com>
46726
1897ad44
JM
46727 [BZ #13629]
46728 * math/s_clog.c: Include <float.h>.
46729 (__clog): Scale large or subnormal inputs.
46730 * math/s_clogf.c: Likewise.
46731 * math/s_clogl.c: Likewise.
46732 * math/s_clog10.c: Include <float.h>.
46733 (M_LOG10_2): Define.
46734 (__clog10): Scale large or subnormal inputs.
46735 * math/s_clog10f.c: Likewise.
46736 * math/s_clog10l.c: Likewise.
46737 * math/libm-test.inc (clog_test): Add more tests.
46738 (clog10_test): Likewise.
46739 * sysdeps/i386/fpu/libm-test-ulps: Update.
46740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46741
7726d6a9
JM
46742 [BZ #11451]
46743 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46744 x and y.
46745 * math/libm-test.inc (atan2_test): Add another test.
46746
83d1aec8
JM
46747 * Makerules (common-objdir-compile): Remove.
46748 * sysdeps/unix/Makefile (config-generated): Do not add
46749 $(unix-generated) to variable.
46750 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46751 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46752 Remove rule.
46753 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46754 Likewise.
46755 [generic bits/local_lim.h] (before-compile): Do not append to
46756 variable.
46757 [generic bits/local_lim.h] (common-generated): Likewise.
46758 [generic sys/param.h] (before-compile): Do not append to variable.
46759 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46760 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46761 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46762 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46763 include.
46764 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46765 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46766 [generic sys/param.h] ($(addprefix
46767 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46768 [generic sys/param.h] (common-generated): Do not append to
46769 variable.
46770 [generic sys/param.h] (sysdep_headers): Likewise.
46771 [generic bits/errno.h] (before-compile): Do not append to
46772 variable.
46773 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46774 rule.
46775 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46776 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46777 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46778 [generic bits/errno.h] (common-generated): Do not append to
46779 variable.
46780 [generic bits/ioctls.h] (before-compile): Do not append to
46781 variable.
46782 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46783 rule.
46784 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46785 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46786 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46787 rule.
46788 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46789 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46790 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46791 [generic bits/ioctls.h] (common-generated): Do not append to
46792 variable.
46793 [generic sys/syscall.h] (syscall.h): Remove variable.
46794 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46795 rule.
46796 [generic sys/syscall.h] (before-compile): Do not append to
46797 variable.
46798 [generic sys/syscall.h] (common-generated): Likewise.
46799 * sysdeps/unix/errnos-tmpl.c: Remove file.
46800 * sysdeps/unix/errnos.awk: Likewise.
46801 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46802 * sysdeps/unix/ioctls.awk: Likewise.
46803 * sysdeps/unix/mk-local_lim.c: Likewise.
46804 * sysdeps/unix/snarf-ioctls: Likewise.
46805
4851a949
RH
468062012-03-19 Richard Henderson <rth@twiddle.net>
46807
bd37f2ee
RH
46808 * sysdeps/i386/fpu/fenv_private.h: New file.
46809 * sysdeps/i386/fpu/math_private.h: Use it.
46810 (math_opt_barrier, math_force_eval): Remove.
46811 (libc_feholdexcept_setround_53bit): Remove.
46812 (libc_feupdateenv_53bit): Remove.
46813 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46814 (math_opt_barrier, math_force_eval): Remove.
46815 (libc_feholdexcept): Remove.
46816 (libc_feholdexcept_setround): Remove.
46817 (libc_fetestexcept, libc_fesetenv): Remove.
46818 (libc_feupdateenv_test): Remove.
46819 (libc_feupdateenv, libc_feholdsetround): Remove.
46820 (libc_feresetround): Remove.
46821
d0adc922
RH
46822 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46823 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46824
0fe0f1f8
RH
46825 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46826 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46827 (libc_feupdateenv_testl): New.
46828 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46829 (libc_feupdateenv_testf): New.
46830 (libc_feupdateenv): Use libc_feupdateenv_test.
46831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46832 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46833
eb92c487
RH
46834 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46835 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46836 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46837 (libc_feresetround_noex): New.
46838 (libc_feresetround_noexf): New.
46839 (libc_feresetround_noexl): New.
46840 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46841 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46842 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46843 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46844 SET_RESTORE_ROUND.
46845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46846 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46847 (__cos): Likewise.
46848 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46849 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46850 SET_RESTORE_ROUND_NOEX.
46851 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46852 SET_RESTORE_ROUND_NOEXF.
46853 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46854 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46855 (libc_feholdsetroundf): New.
46856 (libc_feresetround, libc_feresetroundf): New.
46857
7d2e8012
RH
46858 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46859 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46860 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46861
b4dabbb4
RH
46862 * sysdeps/generic/math_private.h: Include <fenv.h>.
46863 (default_libc_feholdexcept): New.
46864 (default_libc_feholdexcept_setround): New.
46865 (default_libc_fesetenv, default_libc_feupdateenv): New.
46866 (libc_feholdexcept): Only define if undefined.
46867 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46868 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46869 (libc_feholdexcept_setroundl): Likewise.
46870 (libc_feholdexcept_setround_53bit): Likewise.
46871 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46872 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46873 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46874 (libc_feupdateenv_53bit): Likewise.
46875 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46876 (libc_feholdexcept): Convert from macro to inline function.
46877 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46878 (libc_fesetenv, libc_feupdateenv): Likewise.
46879
4851a949
RH
46880 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46881 not previously defined.
46882 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46883 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46884 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46885 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46886 * sysdeps/ieee754/flt-32/math_private.h: New file.
46887 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46888 math_private.h below SET_FLOAT_WORD.
46889 (__isnan, __isinf_ns, __finite): Remove.
46890 (__isnanf, __isinf_nsf, __finitef): Remove.
46891
e79d442e
AS
468922012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46893
46894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46895
90b80344
DM
468962012-03-17 David S. Miller <davem@davemloft.net>
46897
46898 [BZ #6471]
46899 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46900 for 2.16.
46901
edc21804
DM
469022012-03-16 David S. Miller <davem@davemloft.net>
46903
77e927af
DM
46904 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46905 warnings.
46906
374976dd
DM
46907 [BZ #6471]
46908 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46909 properly.
46910 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46911 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46912 sysdep_routines when subdir is sysvipc.
46913 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46914 __getshmlba helper.
46915
edc21804
DM
46916 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46917
473c3ef3
L
469182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46919
46920 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46921 [__LP64__].
46922
eb0f39b6
L
469232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46924
46925 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46926 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46927 (__lround): Renamed to ...
46928 (__llround): This. Replace long int with long long int.
46929 Define lround functions as aliases of llround functions.
46930 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46931
6b6cd74b
L
469322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46933
46934 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46935 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46936 adresses to uintptr_t. Replace "long int" and "unsigned long
46937 int" with "greg_t" on va_arg.
46938
f1a77b01
L
469392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46940
46941 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46942 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46943
46944 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46945 Move e_machine check before EI_CLASS check. Handle x32
46946 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46947 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46948 SKIP_EM_IA_64 and include
46949 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46950
46951 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46952 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46953 (add_system_dir): New macro.
46954
46955 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46956 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46957
11b90b9f
JM
469582012-03-16 Joseph Myers <joseph@codesourcery.com>
46959
c36e1d23
JM
46960 [BZ #2551]
46961 [BZ #2552]
46962 [BZ #2553]
46963 [BZ #2554]
46964 [BZ #2562]
46965 [BZ #2563]
46966 [BZ #2565]
46967 [BZ #2566]
46968 [BZ #2576]
46969 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46970 (y0): Likewise.
46971 * math/w_j0f.c (j0f): Likewise.
46972 (y0f): Likewise.
46973 * math/w_j0l.c (__j0l): Likewise.
46974 (__y0l): Likewise.
46975 * math/w_j1.c (j1): Likewise.
46976 (y1): Likewise.
46977 * math/w_j1f.c (j1f): Likewise.
46978 (y1f): Likewise.
46979 * math/w_j1l.c (__j1l): Likewise.
46980 (__y1l): Likewise.
46981 * math/w_jn.c (jn): Likewise.
46982 (yn): Likewise.
46983 * math/w_jnf.c (jnf): Likewise.
46984 (ynf): Likewise.
46985 * math/w_jnl.c (__jnl): Likewise.
46986 (__ynl): Likewise.
46987 * math/libm-test.inc (j0_test): Add more tests.
46988 (j1_test): Likewise.
46989 (jn_test): Likewise. Add trailing semicolon to existing test.
46990 (y0_test): Likewise.
46991 (y1_test): Likewise.
46992 * sysdeps/i386/fpu/libm-test-ulps: Update.
46993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46994
11b90b9f
JM
46995 [BZ #13851]
46996 [BZ #13854]
46997 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46998 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46999 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47000 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47001 (__tanl): Set errno for infinite argument.
47002 * sysdeps/i386/fpu/mptan.c: Remove.
47003 * sysdeps/i386/fpu/s_tan.S: Likewise.
47004 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47005 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47006 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47007 * math/libm-test.inc (tan_test): Add more tests and enable more
47008 tests for double and long double.
47009 * sysdeps/i386/fpu/libm-test-ulps: Update.
47010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47011
6a1bd2a1
JK
470122012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47013
47014 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47015 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47016
10a803e0
RM
470172012-03-16 Roland McGrath <roland@hack.frob.com>
47018
47019 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47020 * configure.in: Use it for both main tree and add-ons.
47021 * configure: Regenerated.
47022
f196c7f7
L
470232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47024
47025 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47026
8848d99d
JM
470272012-03-16 Joseph Myers <joseph@codesourcery.com>
47028
96cbe7f4
JM
47029 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47030 in comment.
47031
8848d99d
JM
47032 [BZ #13851]
47033 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47034 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47035 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47036 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47037 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47038 infinite argument.
47039 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47041 != 0 for prec == 2.
47042 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47043 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47044 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47045 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47046 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47047 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47048 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47049 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47050 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47051 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47052 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47053 * math/libm-test.inc (cos_test): Add more tests and enable more
47054 tests for long double.
47055 (sin_test): Likewise.
47056 (sincos_test): Likewise.
47057 * sysdeps/i386/fpu/libm-test-ulps: Update.
47058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47059
dd7f4703
DM
470602012-03-16 David S. Miller <davem@davemloft.net>
47061
47062 * sysdeps/sparc/fpu/math_private.h: New file.
47063
006f1daa
DM
470642012-03-15 David S. Miller <davem@davemloft.net>
47065
c0c83bc8
DM
47066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47067 file.
e6a62e18 47068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47070 file.
e6a62e18
DM
47071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47077 sysdep routines.
47078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47079
88cb87d9
DM
47080 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47081 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47082
006f1daa 47083 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47085 sparc-ifunc.h
006f1daa 47086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47088 Likewise.
47089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47090 Likewise.
006f1daa
DM
47091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47095 Likewise.
006f1daa
DM
47096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47101 Likewise.
47102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47103 Likewise.
006f1daa
DM
47104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47125 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47128
11e0098e
AS
471292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47130
47131 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47132 scaling.
47133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47134
e85b09d0
AJ
471352012-03-15 Andreas Jaeger <aj@suse.de>
47136
47137 [BZ #13852]
47138 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47139 ieee754/flt-32 implementation for sin, cos and sincos.
47140 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47141 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47142 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47143 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47144 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47145 ieee754/flt-32 implementation for tan.
47146
47147 * math/libm-test.inc (cos_test): Enable some large input tests for
47148 float as well
47149 (sin_test): Likewise.
47150 (sincos_test): Likewise.
47151 (tan_test): Add tests for large input.
47152
47153 * sysdeps/i386/fpu/libm-test-ulps: Update.
47154
81c64153
AJ
471552012-03-15 Andreas Jaeger <aj@suse.de>
47156
47157 [BZ #13658]
47158 * math/libm-test.inc (cos_test): Add more test cases.
47159 (sin_test): Likewise.
47160 (sincos_test): Likewise.
47161
7bbfa5c6
AJ
471622012-03-15 Andreas Jaeger <aj@suse.de>
47163
47164 [BZ #13837]
47165 * math/libm-test.inc (cos_test): Add a test case for large input
47166 value.
47167 (sin_test): Likewise.
47168 (sincos_test): Likewise.
47169
57f41c40
AS
471702012-03-15 Andreas Jaeger <aj@suse.de>
47171 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47172
47173 [BZ #13658]
0671f479 47174 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47175 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47176 * sysdeps/i386/fpu/branred.c: Likewise.
47177 * sysdeps/i386/fpu/dosincos.c: Likewise.
47178 * sysdeps/i386/fpu/mpa.c: Likewise.
47179 * sysdeps/i386/fpu/s_cos.S: Likewise.
47180 * sysdeps/i386/fpu/s_sin.S: Likewise.
47181 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47182 * sysdeps/i386/fpu/sincos32.c: Likewise.
47183
47184 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47185 Define.
47186 (libc_feupdateenv_53bit): Define.
47187 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47188 Define.
47189 (libc_feupdateenv_53bit): Define.
47190
47191 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47192 53 bit (without extend i386 double precision).
47193
47194 * math/libm-test.inc (sincos_test): Add tests for large input.
47195 (sin): Likewise.
47196 (cos): Likewise.
47197
47198 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47199
9cad04ea
AS
472002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47201
47202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47203
f7062b9a
DM
472042012-03-15 David S. Miller <davem@davemloft.net>
47205
47206 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47207 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47208 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47209 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47222 file.
f7062b9a 47223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47225 file.
f7062b9a 47226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47228 file.
f7062b9a 47229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47231 file.
f7062b9a
DM
47232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47234 fmin/fmax sysdep routines.
47235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47236
7bd951ff
DM
472372012-03-14 David S. Miller <davem@davemloft.net>
47238
559398ab
DM
47239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47268 routines.
47269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47270 file.
559398ab 47271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47273 file.
559398ab 47274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47276 file.
559398ab 47277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47279 file.
559398ab 47280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47282 file.
559398ab 47283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47285 file.
47286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47287 file.
47288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47289 file.
47290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47291 file.
47292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47293 New file.
47294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47295 file.
47296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47297 file.
559398ab 47298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47300 file.
559398ab 47301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47303 file.
559398ab 47304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47306 file.
559398ab 47307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47309 VIS3 routines.
559398ab
DM
47310
47311 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47312 New file.
47313
5a1c1e32
DM
47314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47315
eae47a36
DM
47316 * sysdeps/sparc/configure.in: New file.
47317 * sysdeps/sparc/configure: Generate.
47318 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47319 * configure: Regenerate.
47320 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47321 * config.make.in (have-as-vis3): New.
47322 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47323 available use -Av9d instead of -Av9a.
47324 * sysdeps/sparc/sparc64/Makefile: Likewise.
47325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47327 New file.
47328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47329 file.
47330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47331 New file.
47332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47333 file.
eae47a36
DM
47334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47339
c0c83bc8
DM
47340 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47341 fzeros/fnegs to load 0x80000000 into a float register instead of
47342 using the stack.
7bd951ff
DM
47343 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47344
bd951ccb
JM
473452012-03-14 Joseph Myers <joseph@codesourcery.com>
47346
47347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47348 bits/syscall.h.
47349 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47350 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47351 ($(inst_includedir)/bits/syscall.h): Remove rule.
47352 ($(objpfx)bits/syscall.d): Include instead of
47353 $(objpfx)syscall-list.d.
47354 (generated): Change syscall-list.h and syscall-list.d to
47355 bits/syscall.h and bits/syscall.d.
47356
bb4e6db2
RM
473572012-03-14 Roland McGrath <roland@hack.frob.com>
47358
47359 [BZ #13846]
47360 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47361
aa4a2ae1
JM
473622012-03-14 Joseph Myers <joseph@codesourcery.com>
47363
e456826d
JM
47364 [BZ #13841]
47365 * math/s_csqrt.c: Include <float.h>.
47366 (__csqrt): Scale large or subnormal inputs.
47367 * math/s_csqrtf.c: Likewise.
47368 * math/s_csqrtl.c: Likewise.
47369 * math/libm-test.inc (csqrt_test): Add more tests.
47370 * sysdeps/i386/fpu/libm-test-ulps: Update.
47371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47372
aa4a2ae1
JM
47373 [BZ #13840]
47374 * math/libm-test.inc (hypot_test): Add more tests.
47375
7c10fd35
DM
473762012-03-13 David S. Miller <davem@davemloft.net>
47377
47378 [BZ #13840]
47379 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47380 double-precision for the calculation instead of scaling.
47381
f453b98b
JM
473822012-03-13 Joseph Myers <joseph@codesourcery.com>
47383
47384 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47385 manipulate bits before adding and subtracting TWO52[sx].
47386 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47387 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47388 Likewise.
47389 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47390
09a3453f
DM
473912012-03-13 David S. Miller <davem@davemloft.net>
47392
8e59da90
DM
47393 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47394 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47396 rtld-global-offsets.h
47397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47398
2a8ab7f2
DM
47399 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47400 large parameters.
47401
10f62770
DM
47402 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47403
5f0bdb18
DM
47404 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47405 'err' in the ifdef scope in which it is actually used.
47406
09a3453f
DM
47407 * nss/nss_db/db-init.c: Include string.h
47408
b4b2eb5e
DM
474092012-03-12 David S. Miller <davem@davemloft.net>
47410
98bb2f1c
DM
47411 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47412 masking out of the most significant byte of random value used.
47413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47414 Fix coding style in previous change.
47415
b4b2eb5e
DM
47416 * sysdeps/unix/sysv/linux/kernel-features.h
47417 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47418 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47419 expression.
47420 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47421 later.
47422
6e226b09
DM
474232012-03-11 David S. Miller <davem@davemloft.net>
47424
a1bcbd40
DM
47425 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47426 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47427 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47428 for 'resultvar' otherwise things get truncated on 64-bit.
47429
cb9d6174
DM
47430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47431 Fix masking out of the most significant byte of random value used.
47432
6e226b09
DM
47433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47434
058c132d
AS
474352012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47436
47437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47438
2d2cd515
DM
474392012-03-09 David S. Miller <davem@davemloft.net>
47440
47441 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47442 variables with appropriate CPP guards.
57f41c40
AS
47443 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47444 from the frame pointer, not the stack pointer. Correct layout
47445 comments. Fix test on resulting framesize and the management of
47446 the outregs buffer for pltexit. Preserve floating point return
47447 values across _dl_call_pltexit call.
2d2cd515
DM
47448 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47449 framesize and the management of the outregs buffer for pltexit.
47450 Preserve floating point return values across _dl_call_pltexit
47451 call.
57f41c40
AS
47452 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47453 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47454 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47455 (print_exit): Fix format string for return register value.
47456
9a07f9d0
JM
474572012-03-10 Joseph Myers <joseph@codesourcery.com>
47458
47459 * sunrpc/Makefile (others): Add rpcgen.
47460 ($(objpfx)rpcgen): Remove special build rule and dependency on
47461 libc.
47462 * sunrpc/rpcgen.c: New file.
47463
547b5e30
PE
474642012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47465
c524201a
PE
47466 [BZ #13673]
47467 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47468 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47469 * sysdeps/i386/crti.S: Likewise.
47470 * sysdeps/i386/crtn.S: Likewise.
47471 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47472 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47473 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47474 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47475 * sysdeps/sh/crti.S: Likewise.
47476 * sysdeps/sh/crtn.S: Likewise.
47477 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47478
7b6235f2
PE
47479 [BZ #13673]
47480 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47481 with URL.
47482 * locale/programs/locfile-kw.gperf: Likewise.
47483 * locale/programs/charmap-kw.h: Regenerated.
47484 * locale/programs/locfile-kw.h: Likewise.
47485
547b5e30
PE
47486 [BZ #13673]
47487 * intl/plural.y: Replace FSF snail mail address with URL.
47488 * intl/plural.c: Regenerated.
47489
5f0a5dae
RH
474902012-03-09 Richard Henderson <rth@twiddle.net>
47491
47492 * include/math_private.h: Remove file.
47493 * math/math_private.h: Move file ...
47494 * sysdeps/generic/math_private.h: ... here.
47495
b8c03620
RH
47496 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47497 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47498 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47499
4e234f5d 47500 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47501 and <math_private.h>.
47502 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47503 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47504 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47505 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47506 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47507 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47508 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47510 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47511 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47514 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47515 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47516 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47517 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47518 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47519 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47520 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47521 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47523 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47524 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47526 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47527 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47528 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47529 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47531 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47532 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47534 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47535 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47536 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47537 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47539 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47540 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47542 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47543 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47544 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47545 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47546 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47547 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47548 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47549 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47550 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47551 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47552 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47553 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47554 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47555 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47556 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47557 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47558 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47559 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47560 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47561 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47563 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47565 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47566 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47567 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47568 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47569 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47570 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47571 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47573 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47574 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47575 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47576 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47580 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47582 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47583 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47584 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47585 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47586 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47587 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47589 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47590 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47591 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47592 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47593 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47594 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47595 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47596 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47597 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47598 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47599 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47601 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47602 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47603 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47604 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47605 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47606 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47607 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47608 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47609 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47610 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47611 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47612 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47613 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47614 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47615 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47616 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47617 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47618 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47619 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47620 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47621 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47622 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47623 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47624 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47625 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47626 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47627 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47628 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47629 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47630 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47631 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47632 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47633 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47634 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47635 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47636 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47637 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47638 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47639 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47640 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47641 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47642 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47643 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47644 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47645 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47646 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47647 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47648 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47649 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47650 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47651 * sysdeps/ieee754/k_standard.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47654 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47656 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47658 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47659 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47661 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47662 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47664 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47665 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47666 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47667 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47668 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47669 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47670 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47671 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47675 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47677 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47679 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47680 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47681 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47682 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47683 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47684 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47685 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47686 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47687 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47688 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47689 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47690 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47691 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47692 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47693 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47694 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47695 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47696 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47697 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47698 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47699 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47700 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47701 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47702 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47703 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47704 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47705 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47706 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47707 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47708 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47709 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47710 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47711 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47712 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47713 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47714 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47715 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47718 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47719 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47720 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47721 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47722 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47724 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47725 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47728 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47729 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47730 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47731 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47732 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47733 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47734 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47735 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47736 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47737 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47738 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47739 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47740 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47742 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47743 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47744 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47745 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47746 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47747 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47748 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47749 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47750 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47751 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47753 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47754 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47755 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47756 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47759 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47760 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47761 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47762 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47763 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47764 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47765 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47766 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47767 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47768 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47770 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47771 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47772 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47773 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47774 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47775 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47776 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47777 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47778 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47779 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47780 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47781 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47782 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47783 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47784 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47785 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47788 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47789 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47790 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47791 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47792 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47793 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47794 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47795 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47796 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47797 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47798 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47799 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47800 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47801 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47802 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47803 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47804 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47805 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47806 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47807 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47808 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47809 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47810 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47811 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47812 * sysdeps/ieee754/s_lib_version.c: Likewise.
47813 * sysdeps/ieee754/s_matherr.c: Likewise.
47814 * sysdeps/ieee754/s_signgam.c: Likewise.
47815 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47816 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47817 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47818 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47819 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47820 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47821 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47822 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47823 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47824 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47825 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47826 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47827 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47828 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47829 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47830 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47831 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47832 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47833 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47836
1991fa03
JM
478372012-03-09 Joseph Myers <joseph@codesourcery.com>
47838
47839 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47840 * sunrpc/rpc_main.c: Likewise.
47841 * sunrpc/rpc_svcout.c: Likewise.
47842
60d6f5a6
DM
478432012-03-09 David S. Miller <davem@davemloft.net>
47844
47845 * include/math_private.h: New file.
47846
4962050e
JM
478472012-03-09 Joseph Myers <joseph@codesourcery.com>
47848
02a6f887
JM
47849 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47850 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47851 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47852 from <bits/socket_type.h>.
47853 (enum __socket_type): Don't define here.
47854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47856 bits/socket_type.h.
47857
c6e013c1
JM
47858 [BZ #13566]
47859 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47860 checking __USE_GNU.
47861
4962050e
JM
47862 * Makerules ($(inst_includedir)/%.h): New rule.
47863 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47864 (install-others): Remove variable setting.
47865 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47866
38842f45
RH
478672012-03-08 Richard Henderson <rth@twiddle.net>
47868
67bb6da6
RH
47869 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47870 from macro to inline function; merge with the
47871 !__LIBC_INTERNAL_MATH_INLINES version.
47872 (__ieee754_sqrtf): Likewise.
47873
15194b4b
RH
47874 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47875 to inline function.
47876 (__rintf, __floor, __floorf): Likewise.
47877
64e21ede
RH
47878 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47879 macro to inline function.
47880 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47881
38842f45
RH
47882 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47883 not <math/math_private.h>.
47884
c64bf5fe
DM
478852012-03-08 David S. Miller <davem@davemloft.net>
47886
47887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47888 copyright year.
47889 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47890
82d86f28
TS
478912012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47892
47893 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47894 normalization.
47895 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47896 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47897
aea5d727
UD
478982012-03-08 Ulrich Drepper <drepper@gmail.com>
47899
47900 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47901 be defined individually, they must be defined as a block. Define
47902 S for printing a string instead of hidint the different by using a
47903 macro for adding the 'l'.
47904 * stdio-common/tst-fphex-wide.c: Adjust.
47905
70bca0a3
MP
479062012-03-07 Marek Polacek <polacek@redhat.com>
47907
47908 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47909
65b81130
MP
479102012-03-08 Marek Polacek <polacek@redhat.com>
47911
47912 [BZ #13806]
47913 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47914 * stdio-common/tst-fphex.c: Define a few macros to make the
47915 test reusable. Use them.
47916 * stdio-common/tst-fphex-wide.c: New file.
47917
07037eeb
JM
479182012-03-08 Joseph Myers <joseph@codesourcery.com>
47919
a7a93d50
JM
47920 [BZ #6911]
47921 * manual/macros.texi (gnusystems): New macro.
47922 (nongnusystems): Likewise.
47923 (gnulinuxhurdsystems): Likewise.
47924 (gnuhurdsystems): Likewise..
47925 (gnulinuxsystems): Likewise.
47926 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47927 variants of the GNU system, not "GNU system".
47928 * manual/conf.texi: Likewise.
47929 * manual/errno.texi: Likewise. Update example of errno macro
47930 expansion.
47931 * manual/filesys.texi: Likewise.
47932 (getumask): Document as specific to GNU/Hurd.
47933 * manual/install.texi: Likewise. Reword some references to
47934 GNU/Linux.
47935 * manual/intro.texi: Likewise.
47936 * manual/io.texi: Likewise.
47937 (File Name Portability): Detail which constraints are inapplicable
47938 to all GNU systems and which are only inapplicable to GNU/Hurd.
47939 * manual/job.texi: Likewise.
47940 * manual/llio.texi: Likewise.
47941 (O_NOCTTY): Document as present on GNU/Linux.
47942 * manual/maint.texi: Likewise.
47943 * manual/memory.texi: Likewise.
47944 * manual/pattern.texi: Likewise.
47945 * manual/pipe.texi: Likewise.
47946 * manual/process.texi: Likewise.
47947 * manual/resource.texi: Likewise.
47948 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47949 child on GNU/Hurd.
47950 * manual/setjmp.texi: Likewise.
47951 * manual/signal.texi: Likewise.
47952 * manual/startup.texi: Likewise.
47953 * manual/stdio.texi: Likewise.
47954 * manual/terminal.texi: Likewise.
47955 (ONLCR): Document as POSIX.
47956 (OXTABS): Document availability on GNU/Linux as XTABS.
47957 (ONOEOT): Document availability separately from other bits.
47958 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47959 * manual/time.texi: Likewise.
47960 * manual/users.texi: Likewise.
47961 * INSTALL: Regenerated.
47962 * sysdeps/gnu/errlist.c: Regenerated.
47963
07037eeb
JM
47964 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47965 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47966 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47967 puts.
47968 * configure: Regenerated.
47969
d1d3431a
JM
479702012-03-07 Joseph Myers <joseph@codesourcery.com>
47971
af6a1e37
JM
47972 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47973 default includes instead of AC_HEADER_CHECK.
47974 * sysdeps/i386/configure: Regenerated.
47975
d1d3431a
JM
47976 [BZ #10716]
47977 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47978 * math/s_cacoshf.c (__cacoshf): Likewise.
47979 * math/s_cacoshl.c (__cacoshl): Likewise.
47980 * math/s_casinh.c (__casinh): Set signs of result from argument.
47981 * math/s_casinhf.c (__casinhf): Likewise.
47982 * math/s_casinhl.c (__casinhl): Likewise.
47983 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47984 (casinh_test): Add more tests.
47985 * sysdeps/i386/fpu/libm-test-ulps: Update.
47986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47987
482ff4da
UD
479882012-03-07 Ulrich Drepper <drepper@gmail.com>
47989
872fda05
UD
47990 * po/zh_TW.po: Update from translation team.
47991
a4300c7a
UD
47992 * login/Makefile (distribute): Remove variable.
47993 * catgets/Makefile: Likewise.
47994 * mach/Makefile: Likewise.
47995 * malloc/Makefile: Likewise.
47996 * misc/Makefile: Likewise.
47997 * iconv/Makefile: Likewise.
47998 * nscd/Makefile: Likewise.
47999 * hurd/Makefile: Likewise.
48000 * manual/Makefile: Likewise.
48001 * locale/Makefile: Likewise.
48002 * intl/Makefile: Likewise.
48003 * conform/Makefile: Likewise.
48004 * nss/Makefile: Likewise.
48005 * time/Makefile: Likewise.
48006 * soft-fp/Makefile: Likewise.
48007 * dirent/Makefile: Likewise.
48008 * gmon/Makefile: Likewise.
48009 * po/Makefile: Likewise.
48010 * rt/Makefile: Likewise.
48011 * socket/Makefile: Likewise.
48012 * math/Makefile: Likewise.
48013 * signal/Makefile: Likewise.
48014 * debug/Makefile: Likewise.
48015 * elf/Makefile: Likewise.
48016 * timezone/Makefile: Likewise.
48017 * stdlib/Makefile: Likewise.
48018 * iconvdata/Makefile: Likewise.
48019 * sunrpc/Makefile: Likewise.
48020 * io/Makefile: Likewise.
48021 * argp/Makefile: Likewise.
48022 * inet/Makefile: Likewise.
48023 * hesiod/Makefile: Likewise.
48024 * grp/Makefile: Likewise.
48025 * csu/Makefile: Likewise.
48026 * wctype/Makefile: Likewise.
48027 * crypt/Makefile: Likewise.
48028 * libio/Makefile: Likewise.
48029 * string/Makefile: Likewise.
48030 * nis/Makefile: Likewise.
48031 * resolv/Makefile: Likewise.
48032 * stdio-common/Makefile: Likewise.
48033 * wcsmbs/Makefile: Likewise.
48034 * dlfcn/Makefile: Likewise.
48035 * posix/Makefile: Likewise.
48036
3b7c4e74 48037 [BZ #6959]
482ff4da
UD
48038 * timezone/Makefile: Don't install timezone files, just the programs
48039 and scripts.
48040
f72ed77d
UD
480412012-03-06 Ulrich Drepper <drepper@gmail.com>
48042
a000466f
UD
48043 * nss/databases.def: Add missing gshadow entry.
48044
f72ed77d
UD
48045 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48046
a53b7a4e
MP
480472012-03-06 Marek Polacek <polacek@redhat.com>
48048
48049 [BZ #13726]
48050 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48051 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48052 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48053 * stdio-common/tst-long-dbl-fphex.c: New file.
48054
e9258400
DM
480552012-03-06 David S. Miller <davem@davemloft.net>
48056
48057 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48058 (set_obp_int): New function.
48059 (get_obp_int): New function.
48060 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48062 Avoid unused variable warnings on 'val' and use builtin_expect.
48063 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48064 __builtin_expect.
e9258400
DM
48065 (INLINE_CLONE_SYSCALL): Likewise.
48066
3bd2c723
DM
480672012-03-05 David S. Miller <davem@davemloft.net>
48068
48069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48070
bbb78d03
AS
480712012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48072
884c5db4
AS
48073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48074
bbb78d03
AS
48075 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48076 only for |x| >= 40.
48077 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48078
1c9f702a 480792012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48080
48081 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48082 Replace gettimeofday with __vdso_gettimeofday.
48083
7be16f82
RM
48084 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48085 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48086 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48087
48088 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48089 time with __vdso_time.
48090
ed58a00f
JM
480912012-03-05 Joseph Myers <joseph@codesourcery.com>
48092
48093 * manual/lang.texi (size_t): Note types to which size_t may be
48094 equivalent with the GNU C Library, but do not describe when
48095 differences between them are significant.
48096
30ee4ced
AJ
480972012-03-05 Andreas Jaeger <aj@suse.de>
48098
48099 * sysdeps/i386/fpu/libm-test-ulps: Update.
48100
b7cd39e8
JM
481012012-03-05 Joseph Myers <joseph@codesourcery.com>
48102
48103 [BZ #3976]
48104 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48105 (__ieee754_pow): Save and restore rounding mode and use
48106 round-to-nearest for main computations.
48107 * math/libm-test.inc (pow_test_tonearest): New function.
48108 (pow_test_towardzero): Likewise.
48109 (pow_test_downward): Likewise.
48110 (pow_test_upward): Likewise.
48111 (main): Call the new functions.
48112 * sysdeps/i386/fpu/libm-test-ulps: Update.
48113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48114
48115 [BZ #3976]
48116 * math/libm-test.inc (cosh_test_tonearest): New function.
48117 (cosh_test_towardzero): Likewise.
48118 (cosh_test_downward): Likewise.
48119 (cosh_test_upward): Likewise.
48120 (sinh_test_tonearest): Likewise.
48121 (sinh_test_towardzero): Likewise.
48122 (sinh_test_downward): Likewise.
48123 (sinh_test_upward): Likewise.
48124 (main): Call the new functions.
48125 * sysdeps/i386/fpu/libm-test-ulps: Update.
48126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48127
6c6a98c9
TV
481282012-03-05 Tom de Vries <tom@codesourcery.com>
48129
48130 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48131 default stack guard is set in last bytes.
48132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48133
21bb2d2e 481342012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48135
21bb2d2e 48136 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48137
21bb2d2e
AJ
48138 [BZ #13656]
48139 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48140 possibly allocate from heap instead of stack.
48141 * stdio-common/bug-vfprintf-nargs.c: New file.
48142 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48143
c6922934
AS
481442012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48145
48146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48147
bc957d53
MP
481482012-03-03 Marek Polacek <polacek@redhat.com>
48149
48150 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48151 * math/math_private.h: Likewise.
48152 * stdlib/tst-strtod.c: Likewise.
48153 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48154 * sysdeps/x86_64/bits/atomic.h: Likewise.
48155
6358490d
DM
481562012-03-02 David S. Miller <davem@davemloft.net>
48157
48158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48162 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48163 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48164 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48165 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48166
01ae168d
RM
481672012-03-02 Roland McGrath <roland@hack.frob.com>
48168
d9a17c07
RM
48169 [BZ #13792]
48170 * manual/examples/README: New file, says the example source files
48171 can be used under GPL>=2.
48172 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48173 line containing just "*/".
48174 * manual/examples/add.c: Add copyright header (GPL>=2).
48175 * manual/examples/argp-ex1.c: Likewise.
48176 * manual/examples/argp-ex2.c: Likewise.
48177 * manual/examples/argp-ex3.c: Likewise.
48178 * manual/examples/argp-ex4.c: Likewise.
48179 * manual/examples/atexit.c: Likewise.
48180 * manual/examples/db.c: Likewise.
48181 * manual/examples/dir.c: Likewise.
48182 * manual/examples/dir2.c: Likewise.
48183 * manual/examples/execinfo.c: Likewise.
48184 * manual/examples/filecli.c: Likewise.
48185 * manual/examples/filesrv.c: Likewise.
48186 * manual/examples/fmtmsgexpl.c: Likewise.
48187 * manual/examples/genpass.c: Likewise.
48188 * manual/examples/inetcli.c: Likewise.
48189 * manual/examples/inetsrv.c: Likewise.
48190 * manual/examples/isockad.c: Likewise.
48191 * manual/examples/longopt.c: Likewise.
48192 * manual/examples/memopen.c: Likewise.
48193 * manual/examples/memstrm.c: Likewise.
48194 * manual/examples/mkfsock.c: Likewise.
48195 * manual/examples/mkisock.c: Likewise.
48196 * manual/examples/mygetpass.c: Likewise.
48197 * manual/examples/pipe.c: Likewise.
48198 * manual/examples/popen.c: Likewise.
48199 * manual/examples/rprintf.c: Likewise.
48200 * manual/examples/search.c: Likewise.
48201 * manual/examples/select.c: Likewise.
48202 * manual/examples/setjmp.c: Likewise.
48203 * manual/examples/sigh1.c: Likewise.
48204 * manual/examples/sigusr.c: Likewise.
48205 * manual/examples/stpcpy.c: Likewise.
48206 * manual/examples/strdupa.c: Likewise.
48207 * manual/examples/strftim.c: Likewise.
48208 * manual/examples/strncat.c: Likewise.
48209 * manual/examples/subopt.c: Likewise.
48210 * manual/examples/swapcontext.c: Likewise.
48211 * manual/examples/termios.c: Likewise.
48212 * manual/examples/testopt.c: Likewise.
48213 * manual/examples/testpass.c: Likewise.
48214 * manual/examples/timeval_subtract.c: Likewise.
48215
01ae168d
RM
48216 [BZ #13792]
48217 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48218 function to ...
48219 * manual/timeval_subtract.c.texi: ... here, new file.
48220
49efa33d
DM
482212012-03-02 David S. Miller <davem@davemloft.net>
48222
48223 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48224
28afd92d
JM
482252012-03-02 Joseph Myers <joseph@codesourcery.com>
48226
804360ed
JM
48227 [BZ #3976]
48228 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48229 (__sin): Save and restore rounding mode and use round-to-nearest
48230 for all computations.
48231 (__cos): Save and restore rounding mode and use round-to-nearest
48232 for all computations.
48233 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48234 <fenv.h>.
48235 (tan): Save and restore rounding mode and use round-to-nearest for
48236 all computations.
48237 * math/libm-test.inc (cos_test_tonearest): New function.
48238 (cos_test_towardzero): Likewise.
48239 (cos_test_downward): Likewise.
48240 (cos_test_upward): Likewise.
48241 (sin_test_tonearest): Likewise.
48242 (sin_test_towardzero): Likewise.
48243 (sin_test_downward): Likewise.
48244 (sin_test_upward): Likewise.
48245 (tan_test_tonearest): Likewise.
48246 (tan_test_towardzero): Likewise.
48247 (tan_test_downward): Likewise.
48248 (tan_test_upward): Likewise.
48249 (main): Call the new functions.
48250 * sysdeps/i386/fpu/libm-test-ulps: Update.
48251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48252
a6d06d7b
JM
48253 [BZ #10135]
48254 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48255 small n, then large n, before computing and testing k+n.
48256 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48257 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48258 Likewise.
48259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48260 Likewise.
48261 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48262 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48264 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48265 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48266 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48267 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48268 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48269 * math/libm-test.inc (scalbn_test): Add more tests.
48270 (scalbln_test): Likewise.
48271
07e12bb3
JM
48272 * manual/filesys.texi (mode_t): Describe constraints on size and
48273 signedness, not exact equivalence to a particular type.
48274 (ino_t): Likewise.
48275 (ino64_t): Likewise.
48276 (dev_t): Likewise.
48277 (nlink_t): Likewise.
48278 (blkcnt_t): Likewise.
48279 (blkcnt64_t): Likewise.
48280 * manual/llio.texi (off_t): Likewise.
48281
28afd92d
JM
48282 [BZ #3976]
48283 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48284 (__ieee754_exp): Save and restore rounding mode and use
48285 round-to-nearest for all computations.
48286 * math/libm-test.inc (exp_test_tonearest): New function.
48287 (exp_test_towardzero): Likewise.
48288 (exp_test_downward): Likewise.
48289 (exp_test_upward): Likewise.
48290 (main): Call the new functions.
48291 * sysdeps/i386/fpu/libm-test-ulps: Update.
48292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48293
b1eeb65d
CD
482942012-03-01 Chris Demetriou <cgd@google.com>
48295
48296 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48297 have predictable order.
48298
53362a4b
DM
482992012-03-01 David S. Miller <davem@davemloft.net>
48300
3c969083
DM
48301 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48302
759707de
DM
48303 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48304 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48305 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48306 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48307
dfdb8ff2
DM
48308 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48309 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48310 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48312 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48313 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48314 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48315 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48316 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48317
ead89f96
DM
48318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48319
7f66bd07
DM
48320 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48321 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48322 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48323
53362a4b
DM
48324 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48325 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48326 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48327 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48328 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48329 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48331 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48332 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48333 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48334 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48335 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48336 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48337 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48338 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48340 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48341 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48342 * sysdeps/sparc/elf/configure: Regenerated.
48343
7b1902cb
JM
483442012-03-01 Joseph Myers <joseph@codesourcery.com>
48345
bec039bc
JM
48346 * configure.in (AS, LD): Require binutils 2.20 or later.
48347 * configure: Regenerated.
48348 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48349 as required minimum version.
48350 * INSTALL: Regenerated.
48351
7b1902cb
JM
48352 [BZ #2541]
48353 [BZ #4108]
48354 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48355 before squaring exponent.
48356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48357 bottom long double and 27 bits of top long double before squaring
48358 exponent.
48359 * math/libm-test.inc (erfc_test): Add more tests.
48360 * sysdeps/i386/fpu/libm-test-ulps: Update.
48361 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48363
f775c276
KT
483642012-03-01 Kai Tietz <ktietz@redhat.com>
48365
48366 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48367 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48368 containing bit-fields.
48369 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48370 * soft-fp/single.h (_FP_UNION_S): Likewise.
48371 * soft-fp/double.h (_FP_UNION_D): Likewise.
48372
5b8a4d4a
JM
483732012-02-29 Joseph Myers <joseph@codesourcery.com>
48374
0bab47b6
JM
48375 [BZ #13786]
48376 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48377 not include ../strcmp.S.
48378 [USE_AS_STRNCASECMP_L]: Likewise.
48379 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48380 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48381 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48382 (__strncasecmp_l_ia32): Define as alias to
48383 __strncasecmp_l_nonascii.
48384
0fcad3e2
JM
48385 [BZ #5794]
48386 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48387 * sysdeps/i386/fpu/libm-test-ulps: Update.
48388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48389
5b8a4d4a
JM
48390 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48392
8fdceb2e
JL
483932012-02-29 Jeff Law <law@redhat.com>
48394
48395 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48396 out of bounds read.
48397
1f393a11
MP
483982012-02-29 Marek Polacek <polacek@redhat.com>
48399
48400 [BZ #13706]
48401 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48402 * elf/Makefile: Add rules to run tst-unused-dep.out.
48403
8847f037
DM
484042012-02-28 David S. Miller <davem@davemloft.net>
48405
48406 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48407 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48410 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48411 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48412
169d7f11
JM
484132012-02-29 Joseph Myers <joseph@codesourcery.com>
48414
48415 * math/libm-test.inc (llround_test): Move one test from
48416 lround_test. Use TEST_f_L in moved test.
48417 (lround_test): Move misplaced test to llround_test. Add testcase
48418 from bug 2561.
48419
39adf059
UD
484202012-02-28 Ulrich Drepper <drepper@gmail.com>
48421
48422 * sysdeps/x86_64/fpu/e_expf.S: New file.
48423 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48424
71b5d1c5
SB
484252012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48426
48427 [BZ #13637]
48428 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48429 of remain_len that may cause incomplete multi-byte character and
48430 false match.
48431 * posix/bug-regex33.c: New file.
48432 * posix/Makefile (tests): Add bug-regex33.
48433
1f77f049
JM
484342012-02-28 Joseph Myers <joseph@codesourcery.com>
48435
48436 * manual/macros.texi: New file.
48437 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48438 * manual/libc.texinfo: Include macros.texi.
48439 * manual/creatute.texi: Likewise.
48440 * manual/install.texi: Likewise.
48441 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48442 @glibcadj{} in references to the GNU C Library.
48443 * manual/charset.texi: Likewise.
48444 * manual/conf.texi: Likewise.
48445 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48446 when not using those macros.
48447 * manual/creature.texi: Likewise.
48448 * manual/crypt.texi: Likewise.
48449 * manual/errno.texi: Likewise.
48450 * manual/filesys.texi: Likewise.
48451 * manual/header.texi: Likewise.
48452 * manual/install.texi: Likewise.
48453 * manual/intro.texi: Likewise.
48454 * manual/io.texi: Likewise.
48455 * manual/job.texi: Likewise.
48456 * manual/lang.texi: Likewise.
48457 * manual/libc.texiinfo: Likewise.
48458 * manual/llio.texi: Likewise.
48459 * manual/locale.texi: Likewise.
48460 * manual/maint.texi: Likewise.
48461 * manual/math.texi: Likewise.
48462 * manual/memory.texi: Likewise.
48463 * manual/message.texi: Likewise.
48464 * manual/nss.texi: Likewise.
48465 * manual/pattern.texi: Likewise.
48466 * manual/process.texi: Likewise.
48467 * manual/resource.texi: Likewise.
48468 * manual/search.texi: Likewise.
48469 * manual/setjmp.texi: Likewise.
48470 * manual/signal.texi: Likewise.
48471 * manual/socket.texi: Likewise.
48472 * manual/startup.texi: Likewise.
48473 * manual/stdio.texi: Likewise.
48474 * manual/string.texi: Likewise.
48475 * manual/sysinfo.texi: Likewise.
48476 * manual/syslog.texi: Likewise.
48477 * manual/terminal.texi: Likewise.
48478 * manual/time.texi: Likewise.
48479 * manual/users.texi: Likewise.
48480 * INSTALL: Regenerated.
48481 * NOTES: Regenerated.
d40c5d54 48482 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48483
450bf206
AS
484842012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48485
48486 * include/dirent.h: Include <dirstream.h> before
48487 <dirent/dirent.h>.
48488
741a235b
DM
484892012-02-28 David S. Miller <davem@davemloft.net>
48490
48491 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48492 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48493 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48494 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48495
d6b5aa58
DM
484962012-02-27 David S. Miller <davem@davemloft.net>
48497
1aff59a3
DM
48498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48500 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48501 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48502
d6b5aa58
DM
48503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48504 frame pointer instead of stack pointer relative arg slot.
48505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48506 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48507 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48508
433f48bf
CD
485092012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48510
48511 [BZ #3992]
48512 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48513
d674b76d
DM
485142012-02-27 David S. Miller <davem@davemloft.net>
48515
48516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48520 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48521 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48522 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48523 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48524
0e7727f7
JM
485252012-02-27 Joseph Myers <joseph@codesourcery.com>
48526
48527 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48528 later. Allow versions 5-9.
43be4ca2 48529 * configure: Regenerated.
0e7727f7
JM
48530 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48531 required minimum version and 4.6 as recommended version. Do not
48532 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48533 * INSTALL: Regenerated.
0e7727f7 48534
a78bc654
DM
485352012-02-27 David S. Miller <davem@davemloft.net>
48536
428d5830
DM
48537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48541 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48542 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48543 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48544 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48545
a78bc654
DM
48546 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48547 manipulate bits before adding and subtracting TWO112[sx].
48548 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48549
4579f81c
RM
485502012-02-27 Roland McGrath <roland@hack.frob.com>
48551
36c8acb4
RM
48552 [BZ #13775]
48553 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48554 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48555 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48556 being in POSIX, because they are in 1003.1-2008.
48557
84ad622b
RM
48558 * rt/tst-aio.c: Include <fcntl.h>.
48559 * rt/tst-aio7.c: Likewise.
48560 * rt/tst-aio64.c: Likewise.
48561
4579f81c
RM
48562 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48563
abd923db
JM
485642012-02-27 Joseph Myers <joseph@codesourcery.com>
48565
48566 * manual/install.texi (--with-headers): Describe headers as
48567 interface headers, not private headers.
48568 (Specific advice for GNU/Linux systems): Describe use of headers
48569 from "make headers_install", not private headers from older
48570 kernels.
43be4ca2 48571 * INSTALL: Regenerated.
abd923db
JM
48572 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48573 Change to 2.6.19.
48574 * sysdeps/unix/sysv/linux/configure: Regenerated.
48575
6664049b
JM
48576 * manual/llio.texi (fclean): Remove documentation.
48577
bb8b6697
JM
48578 * manual/Makefile (libc-texi-generated): New variable. Include
48579 version.texi.
48580 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48581 $(libc-texi-generated), not duplicated list of files.
48582 (version.texi, stamp-version): New rules.
48583 (realclean): Remove $(libc-texi-generated), not individual files
48584 from that list. Do not remove dir-add.texinfo.
48585 * manual/libc.texinfo: Comment out uses of edition numbers and
48586 references to printed manual. Remove last-updated dates.
48587 (EDITION): Comment out.
48588 (ISBN): Likewise.
48589 (VERSION, UPDATED): Remove.
48590 (version.texi): Include.
48591
12e5c3b9
AS
485922012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48593
48594 * sysdeps/posix/spawni.c: Include <signal.h>.
48595 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48596 * sysdeps/pthread/aio_fsync.c: Likewise.
48597
4efeffc1 485982012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48599
ba63ba08
UD
48600 * conform/Makefile (tests): Run only when not cross-compiling and
48601 when fast-check is not defined.
48602
d94a4670
UD
48603 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48604 * conform/data/limits.h-data: Fixes for POSIX2008.
48605 * conform/run-conformtest.sh: Run all tests.
48606 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48607 headers.
48608 * include/bits/dlfcn.h: Likewise.
48609 * include/langinfo.h: Likewise.
48610 * include/monetary.h: Likewise.
48611 * include/sys/poll.h: Likewise.
48612
48613 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48614 for __USE_GNU.
48615 * posix/spawn.h: Define __need_sigset_t.
48616 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48617 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48618 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48619 to get sigevent_t only.
48620 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48621 only for __USE_GNU.
48622 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48623 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48624 process_vm_writev only for __USE_GNU.
48625 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48626
48627 * conform/Makefile: For now ignore errors from run-conformtest.
48628 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48629 POSIX to avoid namespace pollution. Don't prepend headers.
48630 * conform/data/aio.h-data: Fixes for POSIX testing.
48631 * conform/data/fcntl.h-data: Likewise.
48632 * conform/data/glob.h-data: Likewise.
48633 * conform/data/grp.h-data: Likewise.
48634 * conform/data/pthread.h-data: Likewise.
48635 * conform/data/pwd.h-data: Likewise.
48636 * conform/data/signal.h-data: Likewise.
48637 * conform/data/spawn.h-data: Likewise.
48638 * conform/data/stdio.h-data: Likewise.
48639 * conform/data/stdlib.h-data: Likewise.
48640 * conform/data/stropts.h-data: Likewise.
48641 * conform/data/sys/mman.h-data: Likewise.
48642 * conform/data/sys/stat.h-data: Likewise.
48643 * conform/data/sys/types.h-data: Likewise.
48644 * conform/data/sys/wait.h-data: Likewise.
48645 * conform/data/time.h-data: Likewise.
48646 * conform/data/unistd.h-data: Likewise.
48647 * conform/data/utime.h-data: Likewise.
48648
48649 * io/sys/stat.h: fchmod was always in POSIX.
48650 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48651 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48652 * rt/aio.h: Define __need_timespec before including <time.h>.
48653 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48654 struct. Add forward declaration of pthread_attr_t and use it in
48655 sigevent.
48656 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48657 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48658 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48659 always remove CLK_TCK definition.
48660
c20105c3
AS
486612012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48662
48663 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48664
7a270350
UD
486652012-02-25 Ulrich Drepper <drepper@gmail.com>
48666
31341567
UD
48667 * conform/run-conformtest.sh: New file.
48668 * conform/Makefile: Run run-conformtest for tests.
48669 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48670 support.
48671
48672 * conform/data/uchar.h-data: New file.
48673 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48674 * conform/data/arpa/inet.h-data: Likewise.
48675 * conform/data/assert.h-data: Likewise.
48676 * conform/data/complex.h-data: Likewise.
48677 * conform/data/cpio.h-data: Likewise.
48678 * conform/data/ctype.h-data: Likewise.
48679 * conform/data/dirent.h-data: Likewise.
48680 * conform/data/dlfcn.h-data: Likewise.
48681 * conform/data/errno.h-data: Likewise.
48682 * conform/data/fcntl.h-data: Likewise.
48683 * conform/data/float.h-data: Likewise.
48684 * conform/data/fmtmsg.h-data: Likewise.
48685 * conform/data/fnmatch.h-data: Likewise.
48686 * conform/data/ftw.h-data: Likewise.
48687 * conform/data/glob.h-data: Likewise.
48688 * conform/data/grp.h-data: Likewise.
48689 * conform/data/iconv.h-data: Likewise.
48690 * conform/data/inttypes.h-data: Likewise.
48691 * conform/data/langinfo.h-data: Likewise.
48692 * conform/data/libgen.h-data: Likewise.
48693 * conform/data/limits.h-data: Likewise.
48694 * conform/data/locale.h-data: Likewise.
48695 * conform/data/math.h-data: Likewise.
48696 * conform/data/monetary.h-data: Likewise.
48697 * conform/data/mqueue.h-data: Likewise.
48698 * conform/data/ndbm.h-data: Likewise.
48699 * conform/data/net/if.h-data: Likewise.
48700 * conform/data/netdb.h-data: Likewise.
48701 * conform/data/netinet/in.h-data: Likewise.
48702 * conform/data/nl_types.h-data: Likewise.
48703 * conform/data/poll.h-data: Likewise.
48704 * conform/data/pthread.h-data: Likewise.
48705 * conform/data/pwd.h-data: Likewise.
48706 * conform/data/regex.h-data: Likewise.
48707 * conform/data/sched.h-data: Likewise.
48708 * conform/data/search.h-data: Likewise.
48709 * conform/data/semaphore.h-data: Likewise.
48710 * conform/data/setjmp.h-data: Likewise.
48711 * conform/data/signal.h-data: Likewise.
48712 * conform/data/spawn.h-data: Likewise.
48713 * conform/data/stdarg.h-data: Likewise.
48714 * conform/data/stdio.h-data: Likewise.
48715 * conform/data/stdlib.h-data: Likewise.
48716 * conform/data/string.h-data: Likewise.
48717 * conform/data/strings.h-data: Likewise.
48718 * conform/data/stropts.h-data: Likewise.
48719 * conform/data/sys/ipc.h-data: Likewise.
48720 * conform/data/sys/mman.h-data: Likewise.
48721 * conform/data/sys/msg.h-data: Likewise.
48722 * conform/data/sys/resource.h-data: Likewise.
48723 * conform/data/sys/select.h-data: Likewise.
48724 * conform/data/sys/sem.h-data: Likewise.
48725 * conform/data/sys/shm.h-data: Likewise.
48726 * conform/data/sys/socket.h-data: Likewise.
48727 * conform/data/sys/stat.h-data: Likewise.
48728 * conform/data/sys/statvfs.h-data: Likewise.
48729 * conform/data/sys/time.h-data: Likewise.
48730 * conform/data/sys/timeb.h-data: Likewise.
48731 * conform/data/sys/times.h-data: Likewise.
48732 * conform/data/sys/types.h-data: Likewise.
48733 * conform/data/sys/uio.h-data: Likewise.
48734 * conform/data/sys/un.h-data: Likewise.
48735 * conform/data/sys/utsname.h-data: Likewise.
48736 * conform/data/sys/wait.h-data: Likewise.
48737 * conform/data/syslog.h-data: Likewise.
48738 * conform/data/tar.h-data: Likewise.
48739 * conform/data/termios.h-data: Likewise.
48740 * conform/data/utime.h-data: Likewise.
48741 * conform/data/utmpx.h-data: Likewise.
48742 * conform/data/varargs.h-data: Likewise.
48743 * conform/data/wchar.h-data: Likewise.
48744 * conform/data/wctype.h-data: Likewise.
48745 * conform/data/wordexp.h-data: Likewise.
48746
48747 * include/stropts.h: New file.
48748 * include/uchar.h: New file.
48749 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48750 * include/assert.h: Likewise.
48751 * include/ctype.h: Likewise.
48752 * include/dirent.h: Likewise.
48753 * include/dlfcn.h: Likewise.
48754 * include/fcntl.h: Likewise.
48755 * include/fnmatch.h: Likewise.
48756 * include/glob.h: Likewise.
48757 * include/grp.h: Likewise.
48758 * include/libio.h: Likewise.
48759 * include/locale.h: Likewise.
48760 * include/math.h: Likewise.
48761 * include/net/if.h: Likewise.
48762 * include/netdb.h: Likewise.
48763 * include/netinet/in.h: Likewise.
48764 * include/pthread.h: Likewise.
48765 * include/pwd.h: Likewise.
48766 * include/regex.h: Likewise.
48767 * include/sched.h: Likewise.
48768 * include/search.h: Likewise.
48769 * include/setjmp.h: Likewise.
48770 * include/signal.h: Likewise.
48771 * include/stdio.h: Likewise.
48772 * include/stdlib.h: Likewise.
48773 * include/string.h: Likewise.
48774 * include/sys/cdefs.h: Likewise.
48775 * include/sys/mman.h: Likewise.
48776 * include/sys/msg.h: Likewise.
48777 * include/sys/resource.h: Likewise.
48778 * include/sys/select.h: Likewise.
48779 * include/sys/socket.h: Likewise.
48780 * include/sys/stat.h: Likewise.
48781 * include/sys/statvfs.h: Likewise.
48782 * include/sys/time.h: Likewise.
48783 * include/sys/times.h: Likewise.
48784 * include/sys/uio.h: Likewise.
48785 * include/sys/utsname.h: Likewise.
48786 * include/sys/wait.h: Likewise.
48787 * include/termios.h: Likewise.
48788 * include/time.h: Likewise.
48789 * include/ulimit.h: Likewise.
48790 * include/unistd.h: Likewise.
48791 * include/utime.h: Likewise.
48792 * include/wchar.h: Likewise.
48793 * include/wctype.h: Likewise.
48794 * include/wordexp.h: Likewise.
48795
48796 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48797
7a270350
UD
48798 * time/time.h: TIME_UTC must be a macro.
48799 Make timespec_get available for ISO C11 only as well.
48800
7724defc
UD
488012012-02-24 Ulrich Drepper <drepper@gmail.com>
48802
48803 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48804 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48805
6b1d1d46
JM
488062012-02-24 Joseph Myers <joseph@codesourcery.com>
48807
48808 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48809
0f8bbd69
JM
488102012-02-24 Joseph Myers <joseph@codesourcery.com>
48811
48812 * manual/texinfo.tex: Update to version 2012-01-19.16.
48813
66ab80bc
JM
488142012-02-24 Joseph Myers <joseph@codesourcery.com>
48815
48816 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48817
74981cc5
RM
488182012-02-24 Roland McGrath <roland@hack.frob.com>
48819
ee968201
RM
48820 [BZ #13738]
48821 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48822 * manual/fdl-1.3.texi: New file.
48823 * manual/fdl-1.1.texi: File removed.
48824
74981cc5
RM
48825 [BZ #13738]
48826 * manual/libc.texinfo (FDL_VERSION): New @set.
48827 Use it for mention of FDL in cover text.
48828 (Documentation License): Use it in @include file name.
48829
7bb764bc
JM
488302012-02-22 Joseph Myers <joseph@codesourcery.com>
48831 Roland McGrath <roland@hack.frob.com>
48832
48833 [BZ #5461]
57f41c40
AS
48834 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48835 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48836 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48837 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48838 name.
48839 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48840
6cbeae47
JM
488412012-02-22 Joseph Myers <joseph@codesourcery.com>
48842
48843 [BZ #2547]
48844 [BZ #11365]
48845 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48846 manipulate bits before adding and subtracting TWO23[sx].
48847 * math/libm-test.inc (nearbyint_test): Add more tests.
48848
fe45ce09
JM
488492012-02-22 Joseph Myers <joseph@codesourcery.com>
48850
48851 [BZ #2548]
48852 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48853 bits before adding and subtracting TWO23[sx].
48854 * math/libm-test.inc (rint_test): Add more tests.
48855 (rint_test_tonearest): Likewise.
48856 (rint_test_towardzero): Likewise.
48857 (rint_test_downward): Likewise.
48858 (rint_test_upward: Likewise.
48859
ff3b3d82
JM
488602012-02-22 Joseph Myers <joseph@codesourcery.com>
48861
48862 [BZ #10110]
48863 * include/stdc-predef.h: New file. Extracted from features.h.
48864 * include/features.h: Include stdc-predef.h.
48865 * Makefile (headers): Add stdc-predef.h.
48866 * CONFORMANCE (Compiler limitations): Update.
48867
ef0aab35
JM
488682012-02-22 Joseph Myers <joseph@codesourcery.com>
48869
48870 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48871
58639409
DM
488722012-02-21 David S. Miller <davem@davemloft.net>
48873
48874 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48875 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48876
c0e70b25
DM
488772012-02-20 David S. Miller <davem@davemloft.net>
48878
48879 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48880 using a normal save/restore sequence, rather than allocating a
48881 dummy stack frame just to store a frame pointer and restore.
48882 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48883
fb06851d
JM
488842012-02-21 Joseph Myers <joseph@codesourcery.com>
48885
48886 * manual/install.texi: Fix stray word in line-wrapped comment.
48887
7a8b71c3
DM
488882012-02-20 David S. Miller <davem@davemloft.net>
48889
d510c123
DM
48890 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48891 both binutils and gcc support GOTDATA.
48892
0722d7c2
DM
48893 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48894 "rd %pc" in the PIC register setup sequences.
48895
3d2b3019
DM
48896 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48897 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48898 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48899 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48900 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48902 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48903 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48905 (SYSCALL_ERROR_HANDLER): Likewise.
48906 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48907 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48909 (SYSCALL_ERROR_HANDLER): Likewise.
48910
c80098a9
DM
48911 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48912 (HAVE_GCC_GOTDATA): New.
48913 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48914 relocation support in both binutils and gcc.
48915 * sysdeps/sparc/elf/configure: Regenerate.
48916
3a2545a0
DM
48917 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48918 * sysdeps/sparc/sparc32/elf/configure: Delete.
48919 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48920 * sysdeps/sparc/sparc64/elf/configure: Delete.
48921 * sysdeps/sparc/elf/configure.in: New file.
48922 * sysdeps/sparc/elf/configure: Generate.
48923
7a8b71c3
DM
48924 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48925 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48926 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48927 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48928 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48929
f1e86fca
JM
489302012-02-21 Joseph Myers <joseph@codesourcery.com>
48931
48932 * manual/install.texi: Do not mention specific glibc version
48933 numbers.
48934 * manual/libc.texinfo (VERSION, UPDATED): Update.
48935 (@copying): Use @copyright{} and range of years.
48936
0e7dfaef
JM
489372012-02-21 Joseph Myers <joseph@codesourcery.com>
48938
48939 [BZ #13695]
48940 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48941 [crti.S not in sysdirs] (generated): Do not append.
48942 [crti.S not in sysdirs] (omit-deps): Likewise.
48943 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48944 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48945 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48946 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48947 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48948 Likewise.
48949 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48950 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48951 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48952 * csu/defs.awk: Remove file.
48953 * sysdeps/generic/initfini.c: Likewise.
48954 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48955 variable.
48956 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48957 Likewise.
48958
599af3ca
JM
489592012-02-20 Joseph Myers <joseph@codesourcery.com>
48960
48961 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48962 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48963 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48964 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48965 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48966 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48967 <bits/epoll.h>.
48968 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48969 (__EPOLL_PACKED): Define to empty if not defined by
48970 <bits/epoll.h>.
48971 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48973 bits/epoll.h.
48974
0e499750
JM
489752012-02-20 Joseph Myers <joseph@codesourcery.com>
48976
48977 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48978 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48979 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48980 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48981 <bits/timerfd.h>.
48982 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48984 bits/timerfd.h.
48985
5ad91f6e
JM
489862012-02-20 Joseph Myers <joseph@codesourcery.com>
48987
48988 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48989 in C locale.
48990 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48991 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48992 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48994
06b99b02
AJ
489952012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48996
48997 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48998 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48999
7638c0fd
AS
490002012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49001
49002 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49003 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49004 defined.
49005 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49006 Likewise.
49007 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49008 entry for 2.16.
49009
92221550
AJ
490102012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49011
49012 * math/w_acos.c: Use non-signaling floating-point comparisons.
49013 * math/w_acosf.c: Likewise.
49014 * math/w_acosh.c: Likewise.
49015 * math/w_acoshf.c: Likewise.
49016 * math/w_acoshl.c: Likewise.
49017 * math/w_acosl.c: Likewise.
49018 * math/w_asin.c: Likewise.
49019 * math/w_asinf.c: Likewise.
49020 * math/w_asinl.c: Likewise.
49021 * math/w_atanh.c: Likewise.
49022 * math/w_atanhf.c: Likewise.
49023 * math/w_atanhl.c: Likewise.
49024 * math/w_exp2.c: Likewise.
49025 * math/w_exp2f.c: Likewise.
49026 * math/w_exp2l.c: Likewise.
49027 * math/w_j0.c: Likewise.
49028 * math/w_j0f.c: Likewise.
49029 * math/w_j0l.c: Likewise.
49030 * math/w_j1.c: Likewise.
49031 * math/w_j1f.c: Likewise.
49032 * math/w_j1l.c: Likewise.
49033 * math/w_jn.c: Likewise.
49034 * math/w_jnf.c: Likewise.
49035 * math/w_log.c: Likewise.
49036 * math/w_log10.c: Likewise.
49037 * math/w_log10f.c: Likewise.
49038 * math/w_log10l.c: Likewise.
49039 * math/w_log2.c: Likewise.
49040 * math/w_log2f.c: Likewise.
49041 * math/w_log2l.c: Likewise.
49042 * math/w_logf.c: Likewise.
49043 * math/w_logl.c: Likewise.
49044 * math/w_sqrt.c: Likewise.
49045 * math/w_sqrtf.c: Likewise.
49046 * math/w_sqrtl.c: Likewise.
49047 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49048 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49049 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49050 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49051 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49052
ebaf36eb
JM
490532012-02-19 Joseph Myers <joseph@codesourcery.com>
49054
49055 [BZ #9739]
49056 * manual/string.texi (strnlen): Use correct parameter name in
49057 equivalent expression.
49058
71c254a6
JM
490592012-02-19 Joseph Myers <joseph@codesourcery.com>
49060
49061 [BZ #11174]
49062 * manual/users.texi (seteuid): Consistently use neweuid for
49063 argument name.
49064
16d2c631
JM
490652012-02-19 Joseph Myers <joseph@codesourcery.com>
49066
49067 [BZ #13704]
49068 * manual/nss.texi (Services in the NSS configuration): Correct
49069 list of services in example configuration file.
49070
cd837b09
NB
490712012-02-19 Nick Bowler <nbowler@draconx.ca>
49072
49073 [BZ #11322]
49074 * manual/arith.texi: Remove statements about negative zero
49075 behaving identically to zero.
49076
02c4bbad
JM
490772012-02-18 Joseph Myers <joseph@codesourcery.com>
49078
49079 [BZ #5993]
49080 * manual/install.texi: Do not document upgrading from libc5.
49081
366842e7
JM
490822012-02-18 Joseph Myers <joseph@codesourcery.com>
49083
49084 [BZ #4596]
49085 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49086
dd54084d
DM
490872012-02-18 David S. Miller <davem@davemloft.net>
49088
49089 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49090 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49091 %o7 across the call.
49092 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49093 instead.
49094 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49095 SETUP_PIC_REG_LEAF.
49096 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49097 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49098 * sysdeps/sparc/crtn.S: Likewise.
49099
2bcc53a3
UD
491002012-02-17 Ulrich Drepper <drepper@gmail.com>
49101
49102 * aout/Makefile: Remove.
49103
09c093b5
RK
491042012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49105
49106 [BZ #13058]
49107 * manual/examples/argp-ex1.c (main): Format definition in GNU
49108 style.
49109 * manual/examples/argp-ex2.c (main): Likewise.
49110 * manual/examples/argp-ex3.c (main): Likewise.
49111 * manual/examples/argp-ex4.c (main): Likewise.
49112 * manual/examples/longopt.c (main): Use new-style prototype
49113 definition.
49114 * manual/examples/strncat.c (main): Specify return type and use
49115 (void) for arguments.
49116 * manual/examples/subopt.c (main): Use char **argv argument.
49117
2ee633a2
JM
491182012-02-17 Joseph Myers <joseph@codesourcery.com>
49119
49120 [BZ #5077]
49121 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49122 rounding modes.
49123
0520adde
FB
491242012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49125
49126 [BZ #6907]
49127 * manual/string.texi (strchr): Change when strchrnul is
49128 recommended.
49129
3f4081cd
DGM
491302012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49131
49132 [BZ #174]
49133 * manual/locale.texi (setlocale): Document LOCPATH.
49134
d1b10e78
JM
491352012-02-17 Joseph Myers <joseph@codesourcery.com>
49136
49137 [BZ #10210]
49138 * manual/process.texi (execle): Move @dots{} before last argument.
49139
79c6869c
PB
491402012-02-17 Paul Bolle <pebolle@tiscali.nl>
49141
49142 [BZ #12047]
49143 * manual/charset.texi (Generic Charset Conversion): Fix typo
49144 (LC_TYPE -> LC_CTYPE).
49145
cc6e48bc
NB
491462012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49147
49148 [BZ #5805]
49149 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49150 (scalbnf): Likewise.
49151 (scalbnl): Likewise.
49152 (scalbln): Likewise.
49153 (scalblnf): Likewise.
49154 (scalblnl): Likewise.
49155 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49156 (vwarnx): Likewise.
49157 (verr): Likewise.
49158 (verrx): Likewise.
49159 * manual/filesys.texi (telldir): Use braces around return type.
49160 * manual/llio.texi (mmap): Add space after comma.
49161 (mmap64): Likewise.
49162 * manual/math.texi (jn): Use @var{} on parameter names.
49163 (jnf): Likewise.
49164 (jnl): Likewise.
49165 (yn): Likewise.
49166 (ynf): Likewise.
49167 (ynl): Likewise.
49168 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49169 line.
49170 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49171 "...".
49172 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49173 (sched_get_priority_max): Likewise.
49174 * manual/signal.texi (sigvec): Add space after comma.
49175 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49176 names.
49177 (if_indextoname): Likewise.
49178 (if_freenameindex): Likewise.
49179 (sendto): Use ',' instead of '.' in prototype.
49180 * manual/startup.texi (syscall): Use @dots{} instead of literal
49181 "...".
49182 * manual/stdio.texi (__fpending): Separate initial words of
49183 paragraph from @deftypefun line.
49184 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49185 "...".
49186 (vsyslog): Use @var{} on parameter names.
49187 * manual/terminal.texi (stty): Use @var{} on parameter names.
49188 * manual/users.texi (getutmp): Use @var{} on parameter names.
49189 (getutmpx): Likewise.
49190
5b23062f
JM
491912012-02-17 Joseph Myers <joseph@codesourcery.com>
49192
49193 [BZ #6884]
49194 * manual/stdio.texi (fopen): Fix typos in description of
49195 ",ccs=STRING".
49196
8dee4833
AJ
491972012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49198
49199 [BZ #4026]
49200 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49201 get clock_id definition.
49202
9078ce93
TS
492032012-02-17 Thomas Schwinge <thomas@schwinge.name>
49204
49205 [BZ #4822]
49206 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49207 (madvise): Cast every argument to void on its own.
49208
3835c55f
JM
492092012-02-17 Joseph Myers <joseph@codesourcery.com>
49210
49211 [BZ #9902]
49212 * manual/startup.texi (Exit Status): Fix typo.
49213
35c47e37
JM
492142012-02-17 Joseph Myers <joseph@codesourcery.com>
49215
49216 [BZ #10140]
49217 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49218 * manual/examples/argp-ex2.c: Likewise.
49219 * manual/examples/argp-ex3.c: Likewise.
49220
e3b69ca7
RH
492212012-02-16 Richard Henderson <rth@redhat.com>
49222
49223 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49224 * sysdeps/s390/s390-32/initfini.c: Remove.
49225 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49226 * sysdeps/s390/s390-64/initfini.c: Remove.
49227
df83af67
KK
492282012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49229
49230 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49231 compiler output for sysdeps/generic/initfini.c.
49232 * sysdeps/sh/elf/initfini.c: Remove file.
49233
f63f3380
DM
492342012-02-16 David S. Miller <davem@davemloft.net>
49235
fb59b3a4
DM
49236 [BZ #11494]
49237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49238
f63f3380
DM
49239 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49240 * sysdeps/sparc/crti.S: New file.
49241 * sysdeps/sparc/crtn.S: New file.
49242 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49243 * sysdeps/sparc/sparc64/Makefile: Likewise.
49244
df6a4a4a
MF
492452012-02-15 Mike Frysinger <vapier@gentoo.org>
49246
6dd8f3dc 49247 [BZ #3335]
df6a4a4a
MF
49248 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49249
1cac7236
RM
492502012-02-15 Roland McGrath <roland@hack.frob.com>
49251
d2c736f8
RM
49252 [BZ #4822]
49253 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49254
1cac7236
RM
49255 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49256 (write, read, close): Likewise.
49257 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49258
8e475601
JM
492592012-02-15 Joseph Myers <joseph@codesourcery.com>
49260
49261 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49262 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49263 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49264 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49265 <bits/signalfd.h>.
49266 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49268 bits/signalfd.h.
49269
ed656b40
MP
492702012-02-14 Marek Polacek <polacek@redhat.com>
49271
49272 * sysdeps/x86_64/crti.S: New file.
49273 * sysdeps/x86_64/crtn.S: New file.
49274 * sysdeps/x86_64/elf/initfini.c: Remove file.
49275
2a979d3a
JM
492762012-02-13 Joseph Myers <joseph@codesourcery.com>
49277
49278 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49279 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49280 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49281 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49282 <bits/inotify.h>.
49283 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49285 bits/inotify.h.
49286
2a418ac3
JM
492872012-02-13 Joseph Myers <joseph@codesourcery.com>
49288
49289 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49290 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49291 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49292 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49293 <bits/eventfd.h>.
49294 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49296 bits/eventfd.h.
49297
fb779be7
TS
492982012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49299
e19e83c5
RM
49300 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49301 __feraiseexcept instead of feraiseexcept.
7c35ffed 49302
fb779be7
TS
49303 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49304 nanosleep invocations.
49305 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49306 strings, and add error checking for a nanosleep invocations.
49307
59ba27a6
PE
493082012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49309
49310 Replace FSF snail mail address with URLs, as per GNU coding standards.
49311 Most of the snail mail addresses were wrong anyway, and omitting
49312 them makes the source code easier to maintain. Almost all of the
49313 changes are to license notices and to locale LC_IDENTIFICATION
49314 addresses, except for this one:
49315 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49316 not its snail mail address.
49317
57b957eb
RH
493182012-02-09 Richard Henderson <rth@twiddle.net>
49319
af850b1c
RH
49320 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49321 of kernel-features.h.
49322
57b957eb
RH
49323 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49324
6b73181a
MP
493252012-02-08 Marek Polacek <polacek@redhat.com>
49326
49327 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49328 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49329 * sysdeps/gnu/_G_config.h: Likewise.
49330 * sysdeps/generic/_G_config.h: Likewise.
49331
26ecc33a
AS
493322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49333
6c6dbc63
AS
49334 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49335 tests.
49336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49337
e216c012
AS
49338 * sysdeps/powerpc/powerpc32/crti.S: New file.
49339 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49340 * sysdeps/powerpc/powerpc64/crti.S: New file.
49341 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49342
26ecc33a
AS
49343 * Makeconfig (have-initfini): Don't set.
49344 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49345 * configure.in (nopic_initfini): Don't substitute.
49346 * config.h.in (HAVE_INITFINI): Don't #undef.
49347 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49348 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49349
3add8e13
JM
493502012-02-08 Joseph Myers <joseph@codesourcery.com>
49351
49352 Support crti.S and crtn.S provided directly by architectures.
49353 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49354 [crti.S in sysdirs] (omit-deps): Likewise.
49355 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49356 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49357 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49358 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49359 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49360 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49361 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49362 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49363 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49364 compiler output for sysdeps/generic/initfini.c.
49365 * sysdeps/i386/elf/Makefile: Remove file.
49366 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49367
a22f12b4
MP
493682012-02-07 Marek Polacek <polacek@redhat.com>
49369
49370 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49371 * sysdeps/gnu/_G_config.h: Likewise.
49372 * sysdeps/mach/hurd/_G_config.h: Likewise.
49373
148cf100
MP
493742012-02-07 Marek Polacek <polacek@redhat.com>
49375
49376 * math/Makefile (tests): Add tst-CMPLX2.
49377 * math/tst-CMPLX2.c: New file.
49378
cfdc0dd7
AS
493792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49380
84ba42c4
AS
49381 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49382
cfdc0dd7
AS
49383 * math/libm-test.inc (jn_test): Add missing L suffix.
49384
622c86f4
MP
493852012-02-06 Marek Polacek <polacek@redhat.com>
49386
49387 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49388 * sysdeps/i386/fpu/e_powf.S: Likewise.
49389 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49390 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49391 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49392 * sysdeps/i386/fpu/e_pow.S: Likewise.
49393 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49394 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49395 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49396 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49397 * sysdeps/i386/fpu/e_log2.S: Likewise.
49398 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49399 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49400 * sysdeps/i386/fpu/e_powl.S: Likewise.
49401 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49402 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49403 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49404 * sysdeps/i386/fpu/e_logl.S: Likewise.
49405 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49406 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49407 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49408 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49409 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49410 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49411 * sysdeps/i386/fpu/e_log.S: Likewise.
49412 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49413 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49414 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49415 * sysdeps/i386/fpu/e_logf.S: Likewise.
49416 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49417 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49418 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49419 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49420 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49421 * sysdeps/i386/fpu/e_log10.S: Likewise.
49422 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49423 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49424 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49425 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49426 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49427 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49428 * sysdeps/i386/asm-syntax.h: Likewise.
49429 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49431 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49432 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49433 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49434 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49435 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49436 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49437 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49438 * sysdeps/powerpc/sysdep.h: Likewise.
49439 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49440 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49441
d4a54ac6
JM
494422012-02-06 Joseph Myers <joseph@codesourcery.com>
49443
49444 [BZ #411]
49445 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49446
314054ea
JM
494472012-02-06 Joseph Myers <joseph@codesourcery.com>
49448
49449 * sysdeps/i386/sysdep.h: Include <features.h>.
49450 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49451 version.
49452
d8e0ca50
JM
494532012-02-05 Joseph Myers <joseph@codesourcery.com>
49454
49455 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49456 Define.
49457 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49458 LOAD_PIC_REG_STR.
49459
b1da7dd9
JM
494602012-02-03 Joseph Myers <joseph@codesourcery.com>
49461
49462 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49463 (SETUP_PIC_REG): Use GET_PC_THUNK.
49464 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49465 macro.
49466
9a1d9254
JM
494672012-02-03 Joseph Myers <joseph@codesourcery.com>
49468
49469 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49470 for non-PIC compilation.
49471 (SETUP_PIC_REG): Add .p2align directive.
49472 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49473 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49474 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49475 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49477 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49478 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49480 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49481 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49482 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49483 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49484 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49485 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49486 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49487 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49488 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49489 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49490 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49491 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49492 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49493 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49494 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49495 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49499 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49500 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49501 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49502 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49503 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49504 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49505 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49506 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49507 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49508 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49509 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49510 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49511 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49512 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49513
65dc3b75
JM
495142012-02-03 Joseph Myers <joseph@codesourcery.com>
49515
49516 * math/tst-CMPLX.c: Include <stdio.h>.
49517
d55bf177
JM
495182012-01-31 Joseph Myers <joseph@codesourcery.com>
49519
49520 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49521 float.
49522 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49523 * sysdeps/sparc/bits/mathdef.h: Likewise.
49524
69db4f8f
MP
495252012-01-31 Marek Polacek <polacek@redhat.com>
49526
49527 * libio/libio.h: Don't define _PARAMS.
49528 * locale/programs/config.h: Don't define PARAMS.
49529 * stdlib/strtol_l.c: Likewise.
49530 (__strtol_l): Remove PARAMS from the prototype.
49531
41b81892
UD
495322012-01-31 Ulrich Drepper <drepper@gmail.com>
49533
3b49edc0
UD
49534 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49535 names. Just use the correct names. Remove unnecessary wrapper
49536 functions.
49537 * malloc/arena.c: Likewise.
49538 * malloc/hooks.c: Likewise.
49539
41b81892
UD
49540 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49541 ARENA_TEST says not to. Simplify test for creation of a new arena.
49542 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49543
27a25b6e
UD
495442012-01-30 Ulrich Drepper <drepper@gmail.com>
49545
49546 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49547 into tail calls.
49548 (update_get_addr): New function.
49549 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49550 GET_ADDR_MODULE parameter.
49551
c8a89e7d
JM
495522012-01-30 Joseph Myers <joseph@codesourcery.com>
49553
49554 * crypt/cert.c: Remove __STDC__ conditionals.
49555 * crypt/crypt-entry.c: Likewise.
49556 * crypt/crypt_util.c: Likewise.
49557 * libio/filedoalloc.c: Likewise.
49558 * libio/fileops.c: Likewise.
49559 * libio/genops.c: Likewise.
49560 * libio/iofclose.c: Likewise.
49561 * libio/iofdopen.c: Likewise.
49562 * libio/iofopen.c: Likewise.
49563 * libio/iofopen64.c: Likewise.
49564 * libio/iogetdelim.c: Likewise.
49565 * libio/iopopen.c: Likewise.
49566 * libio/obprintf.c: Likewise.
49567 * libio/oldfileops.c: Likewise.
49568 * libio/oldiofclose.c: Likewise.
49569 * libio/oldiofdopen.c: Likewise.
49570 * libio/oldiofopen.c: Likewise.
49571 * libio/oldiopopen.c: Likewise.
49572 * libio/wfiledoalloc.c: Likewise.
49573 * libio/wgenops.c: Likewise.
49574 * locale/programs/xmalloc.c: Likewise.
49575 * misc/syslog.c: Likewise.
49576 * stdio-common/xbug.c: Likewise.
49577 * string/memchr.c: Likewise.
49578 * string/memcmp.c: Likewise.
49579 * string/memrchr.c: Likewise.
49580 * string/rawmemchr.c: Likewise.
49581 * sysdeps/posix/getcwd.c: Likewise.
49582 * time/strftime_l.c: Likewise.
49583
3b100462
JM
495842012-01-30 Joseph Myers <joseph@codesourcery.com>
49585
49586 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49587 * config.make.in (config-cflags-sse2avx): Define.
49588 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49589 Fix typo.
49590
607998af
CM
495912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49592
49593 * scripts/config.guess: Update from upstream config git repository.
49594 * scripts/config.sub: Likewise.
49595
3601428f
CM
495962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49597
3ac8b282
CM
49598 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49599 (EM_NUM): Update.
49600 (R_TILEPRO_*, R_TILEGX_*): New macros.
49601
e034841e
CM
49602 * scripts/firstversions.awk: Fix bug in version range handling.
49603
540d7568
CM
49604 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49605
3601428f
CM
49606 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49607
463de862
CM
49608 * include/sys/epoll.h: New file.
49609 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49610 libc_hidden_def.
49611
73139a76
UD
496122012-01-28 Ulrich Drepper <drepper@gmail.com>
49613
96bc5b45
UD
49614 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49615 Avoid unnecessary __WORDSIZE == 64 test.
49616 (fmaxf): Use VEX format if possible.
49617 (fmax): Likewise.
49618 (fminf): Likewise.
49619 (fmin): Likewise.
49620
56f6f6a2
UD
49621 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49622 * math/math_private.h: Remove libc_fegetround* and
49623 libc_fesetround*.
49624 * sysdeps/i386/configure.in: Check for -msse2avx.
49625 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49626 also if SSE2AVX is defined.
49627 Remove libc_fegetround* and libc_fesetround*.
49628 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49629 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49630 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49631 of HAS_YMM_USABLE.
49632 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49633 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49635 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49636 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49637
73139a76
UD
49638 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49639
d73f93a4
AZ
496402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49641
49642 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49643 size is not set.
49644 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49645
6ee65ed6
UD
496462012-01-27 Ulrich Drepper <drepper@gmail.com>
49647
49648 [BZ #13618]
49649 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49650 relocation.
49651 * Makeconfig (libm): Define.
49652 * elf/Makefile: Add rules to build and run tst-relsort1.
49653 * elf/tst-relsort1.c: New file.
49654 * elf/tst-relsort1mod1.c: New file.
49655 * elf/tst-relsort1mod2.c: New file.
49656
8db21882
JM
496572012-01-27 Joseph Myers <joseph@codesourcery.com>
49658
49659 * math/s_ldexp.c: Remove __STDC__ conditionals.
49660 * math/s_ldexpf.c: Likewise.
49661 * math/s_ldexpl.c: Likewise.
49662 * math/s_nextafter.c: Likewise.
49663 * math/s_nexttowardf.c: Likewise.
49664 * math/s_significand.c: Likewise.
49665 * math/s_significandf.c: Likewise.
49666 * math/s_significandl.c: Likewise.
49667 * math/w_jnl.c: Likewise.
49668 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49669 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49670 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49671 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49672 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49674 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49675 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49676 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49677 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49678 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49680 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49681 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49682 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49683 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49684 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49685 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49686 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49687 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49688 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49689 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49690 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49692 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49693 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49694 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49695 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49696 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49697 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49698 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49699 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49700 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49702 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49703 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49704 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49705 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49706 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49707 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49708 * sysdeps/ieee754/k_standard.c: Likewise.
49709 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49710 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49711 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49712 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49713 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49714 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49715 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49716 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49717 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49718 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49719 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49720 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49721 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49722 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49723 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49724 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49725 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49726 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49727 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49728 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49729 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49730 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49731 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49732 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49733 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49734 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49736 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49738 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49739 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49740 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49741 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49742 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49745 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49746 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49747 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49748 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49749 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49751 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49752 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49753 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49754 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49755 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49756 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49757 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49758 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49759 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49760 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49761 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49762 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49763 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49764 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49765 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49767 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49769 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49770 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49771 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49772 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49773 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49774 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49775 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49776 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49777 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49778 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49779 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49780 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49781 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49784 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49785 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49786 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49787 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49788 * sysdeps/ieee754/s_matherr.c: Likewise.
49789 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49790 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49792 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49793
965a54a4
JM
497942012-01-26 Joseph Myers <joseph@codesourcery.com>
49795
49796 * crypt/md5.h: Remove __STDC__ conditionals.
49797 * libio/libioP.h: Likewise.
49798 * locale/programs/config.h: Likewise.
49799 * sysdeps/generic/sysdep.h: Likewise.
49800 * sysdeps/i386/asm-syntax.h: Likewise.
49801 * sysdeps/s390/asm-syntax.h: Likewise.
49802 * sysdeps/unix/sysdep.h: Likewise.
49803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49805
7071ad79
JM
498062012-01-26 Joseph Myers <joseph@codesourcery.com>
49807
49808 * libio/libio.h: Remove __STDC__ conditionals.
49809 * malloc/obstack.h: Likewise.
49810 * math/complex.h: Likewise.
49811 * math/math.h: Likewise.
49812 * sysdeps/generic/_G_config.h: Likewise.
49813 * sysdeps/gnu/_G_config.h: Likewise.
49814 * sysdeps/mach/hurd/_G_config.h: Likewise.
49815 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49816 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49817 * sysdeps/sparc/bits/mathdef.h: Likewise.
49818
afc5ed09
UD
498192012-01-26 Ulrich Drepper <drepper@gmail.com>
49820
49821 [BZ #13583]
49822 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49823 Clean up HAS_* macros.
afc5ed09 49824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49825 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49826 possible.
49827 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49828 HAS_AVX.
49829 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49830 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49832 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49833 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49834
bdb6de1d
JM
498352012-01-25 Joseph Myers <joseph@codesourcery.com>
49836
49837 * elf/tst-unique3.cc (gets): Remove declaration.
49838 * elf/tst-unique3lib.cc (gets): Likewise.
49839 * elf/tst-unique3lib2.cc (gets): Likewise.
49840 * elf/tst-unique4.cc (gets): Likewise.
49841
b15549e6
UD
498422012-01-24 Ulrich Drepper <drepper@gmail.com>
49843
49844 * include/stdio.h: Add C++ protection. Add gets declarations and
49845 definitions.
49846 * debug/tst-chk1.c: Don't declare gets here.
49847 * stdio-common/tst-gets.c: Likewise.
49848
a037381f
JM
498492012-01-24 Joseph Myers <joseph@codesourcery.com>
49850
49851 * posix/glob: Remove directory.
49852
f1d4aa75
JM
498532012-01-24 Joseph Myers <joseph@codesourcery.com>
49854
49855 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49856
81c0c964
PT
498572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49858
49859 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49860 of the non-standard EPFNOSUPPORT.
49861
0ea698ae
ST
498622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49863
49864 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49865 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49866 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49867
d220b117
UD
498682012-01-21 Ulrich Drepper <drepper@gmail.com>
49869
49870 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49871
3e1aa84e
UD
498722012-01-20 Ulrich Drepper <drepper@gmail.com>
49873
49874 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49875 transient errors.
49876 * nscd/grpcache.c (cache_addgr): Likewise.
49877 * nscd/hstcache.c (cache_addhst): Likewise.
49878 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49879 * nscd/pwdcache.c (cache_addpw): Likewise.
49880 * nscd/servicescache.c (cache_addserv): Likewise.
49881
400aa020
UD
498822012-01-16 Ulrich Drepper <drepper@gmail.com>
49883
d77e7869
UD
49884 * malloc/malloc.c: Various cleanups.
49885 * malloc/hooks.c: Likewise.
49886
400aa020
UD
49887 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49888 * stdlib/bug-fmtmsg1.c: New file.
49889
49890 * stdlib/fmtmsg.c (init): Add missing unlock.
49891 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49892
e0a309cf
MP
498932012-01-12 Marek Polacek <polacek@redhat.com>
49894
49895 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49896 and _GNU_SOURCE.
49897
929d11c7
WS
498982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49899
49900 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49901 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49902 macro to ensure uniqueness of label name.
49903 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49904 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49905
41d0e869
UD
499062012-01-11 Ulrich Drepper <drepper@gmail.com>
49907
0cc5ed3b
UD
49908 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49909
41d0e869
UD
49910 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49911 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49912 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49914
a47a831a
UD
499152012-01-10 Ulrich Drepper <drepper@gmail.com>
49916
daa891c0
UD
49917 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49918
49919 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49920 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49921 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49922
e58ef0f2
UD
49923 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49924
a47a831a 49925 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49926 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49927 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49928 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49929
49930 * math/bits/math-finite.h: Add ldexp support.
49931
a0bfc9c7
MP
499322012-01-10 Marek Polacek <polacek@redhat.com>
49933
49934 * locale/programs/localedef.h (show_archive_content): Add noreturn
49935 attribute.
49936
d6e97a1d
UD
499372012-01-09 Ulrich Drepper <drepper@gmail.com>
49938
49939 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49940
d5835c26
UD
499412012-01-08 Ulrich Drepper <drepper@gmail.com>
49942
e5f484c6
UD
49943 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49944
d5835c26
UD
49945 * io/Makefile (headers): Add bits/poll2.h.
49946
d1f741e9
WS
499472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49948
49949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49950 typo #include statement.
49951
ec09c1c4
UD
499522012-01-08 Ulrich Drepper <drepper@gmail.com>
49953
49954 * include/sys/cdefs.h: Define __attribute_alloc_size.
49955 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49956 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49957 * elf/pldd.c: Likewise.
49958 * iconv/iconv_charmap.c: Likewise.
49959 * iconv/iconvconfig.c: Likewise.
49960 * iconv/strtab.c: Likewise.
49961 * locale/programs/locale.c: Likewise.
49962 * locale/programs/localedef.h: Likewise.
49963 * locale/programs/simple-hash.c: Likewise.
49964 * nscd/nscd.h: Likewise.
49965 * nss/makedb.c: Likewise.
49966 * sysdeps/generic/ldconfig.h: Likewise.
49967 * locale/programs/localedef.c: Remove xmalloc prototype.
49968 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49969
20b38e03
PP
499702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49971
49972 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49973 appropriate.
49974
a0da5fe1
UD
499752012-01-08 Ulrich Drepper <drepper@gmail.com>
49976
1d5a644a 49977 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49978 * math/tst-CMPLX.c: New file.
1d5a644a 49979
8784a6db
UD
49980 * math/complex.h (CMPLXL): Fix typo.
49981
d9a216c0
UD
49982 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49983 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49984 GLIBC_2.16.
49985 * debug/tst-chk1.c: Add poll and ppoll tests.
49986 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49987 * include/sys/poll.h: Add hidden proto for ppoll.
49988 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49989 * sysdeps/mach/hurd/ppoll.c: Likewise.
49990 * io/ppoll.c: Likewise.
49991 * debug/poll_chk.c: New file.
49992 * debug/ppoll_chk.c: New file.
49993 * include/bits/poll2.h: New file.
49994 * io/bits/poll2.h: New file.
49995
ac097f5c
UD
49996 [BZ #1350]
49997 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49998
2119dcfa
UD
49999 * configure.in: static is always set to yes. Remove.
50000 * config.make.in: Don't set build-static.
50001 * Makeconfig: Remove use of build-static.
50002 * dlfcn/Makefile: Likewise.
50003 * elf/Makefile: Likewise.
50004 * math/Makefile: Likewise.
50005 * misc/Makefile: Likewise.
50006 * nptl/Makefile: Likewise.
50007 * sysdeps/mach/hurd/Makefile: Likewise.
50008
121766a9
UD
50009 * configure.in: PWD_P is not used anymore.
50010 * config.make.in: Remove PWD_P entry.
50011
51a1d39c 50012 * configure.in: Remove last remnants of RANLIB.
8720d066 50013 No need to check for signed size_t anymore.
215f4bdc
UD
50014 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50015 and IA-64.
3857022a 50016 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50017 * aclocal.m4: Likewise.
50018
d3ed7225
UD
50019 * wcsmbs/mbrtoc16.c: Implement using towc function.
50020 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50021 * wcsmbs/wcsmbsload.c: Likewise.
50022 * iconv/gconv_simple.c: Likewise.
50023 * iconv/gconv_int.h: Likewise.
50024 * iconv/gconv_builtin.h: Likewise.
50025 * iconv/iconv_prog.c: Remove CHAR16 handling.
50026
50027 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50028
50029 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50030
a0da5fe1
UD
50031 * configure.in: Remove --with-elf and --enable-bounded options.
50032 Dont set base_machine for ia64. More non-ELF conditions removed.
50033 Remove testing and setting of leading underscore information.
50034 * config.make.in (build-bounded): Set to no.
50035 * config.h.in: Remove NO_UNDERSCORES entry.
50036 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50037 them.
50038 * csu/start.c: Remove !NO_UNDERSCORE code.
50039 * locale/localeinfo.h: Likewise.
50040 * sysdeps/generic/machine-gmon.h: Likewise.
50041 * sysdeps/generic/sysdep.h: Likewise.
50042 * sysdeps/i386/sysdep.h: Likewise.
50043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50044 * sysdeps/mach/sysdep.h: Likewise.
50045 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50046 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50047 * sysdeps/sh/sysdep.h: Likewise.
50048 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50049 * sysdeps/unix/i386/sysdep.S: Likewise.
50050 * sysdeps/unix/sparc/start.c: Likewise.
50051 * sysdeps/unix/sparc/sysdep.S: Likewise.
50052 * sysdeps/unix/sparc/sysdep.h: Likewise.
50053 * sysdeps/unix/start.c: Likewise.
50054 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50055 * sysdeps/x86_64/sysdep.h: Likewise.
50056
df78418a
UD
500572012-01-07 Ulrich Drepper <drepper@gmail.com>
50058
a784e502
UD
50059 [BZ #13553]
50060 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50061 for non-gcc.
50062 * argp/argp-fmtstream.h: Use const instead __const.
50063 * argp/argp.h: Likewise.
50064 * assert/assert.h: Likewise.
50065 * bits/fenv.h: Likewise.
50066 * bits/sched.h: Likewise.
50067 * bits/sigset.h: Likewise.
50068 * bits/sigthread.h: Likewise.
50069 * catgets/nl_types.h: Likewise.
50070 * conform/data/pthread.h-data: Likewise.
50071 * crypt/crypt-private.h: Likewise.
50072 * crypt/crypt.h: Likewise.
50073 * crypt/crypt_util.c: Likewise.
50074 * ctype/ctype.h: Likewise.
50075 * debug/execinfo.h: Likewise.
50076 * debug/mbsnrtowcs_chk.c: Likewise.
50077 * debug/mbsrtowcs_chk.c: Likewise.
50078 * debug/wcsnrtombs_chk.c: Likewise.
50079 * debug/wcsrtombs_chk.c: Likewise.
50080 * debug/wcstombs_chk.c: Likewise.
50081 * dirent/dirent.h: Likewise.
50082 * dlfcn/dlfcn.h: Likewise.
50083 * elf/neededtest4.c: Likewise.
50084 * grp/grp.h: Likewise.
50085 * gshadow/gshadow.h: Likewise.
50086 * iconv/gconv.h: Likewise.
50087 * iconv/gconv_int.h: Likewise.
50088 * iconv/gconv_simple.c: Likewise.
50089 * iconv/iconv.h: Likewise.
50090 * iconv/loop.c: Likewise.
50091 * iconv/skeleton.c: Likewise.
50092 * include/aio.h: Likewise.
50093 * include/aliases.h: Likewise.
50094 * include/argz.h: Likewise.
50095 * include/arpa/inet.h: Likewise.
50096 * include/assert.h: Likewise.
50097 * include/dirent.h: Likewise.
50098 * include/dlfcn.h: Likewise.
50099 * include/execinfo.h: Likewise.
50100 * include/fcntl.h: Likewise.
50101 * include/fenv.h: Likewise.
50102 * include/glob.h: Likewise.
50103 * include/grp.h: Likewise.
50104 * include/libintl.h: Likewise.
50105 * include/mntent.h: Likewise.
50106 * include/netdb.h: Likewise.
50107 * include/pwd.h: Likewise.
50108 * include/rpc/netdb.h: Likewise.
50109 * include/sched.h: Likewise.
50110 * include/search.h: Likewise.
50111 * include/shadow.h: Likewise.
50112 * include/signal.h: Likewise.
50113 * include/stdio.h: Likewise.
50114 * include/stdlib.h: Likewise.
50115 * include/string.h: Likewise.
50116 * include/sys/socket.h: Likewise.
50117 * include/sys/stat.h: Likewise.
50118 * include/sys/statfs.h: Likewise.
50119 * include/sys/statvfs.h: Likewise.
50120 * include/sys/syslog.h: Likewise.
50121 * include/sys/time.h: Likewise.
50122 * include/sys/uio.h: Likewise.
50123 * include/time.h: Likewise.
50124 * include/unistd.h: Likewise.
50125 * include/utmp.h: Likewise.
50126 * include/wchar.h: Likewise.
50127 * include/wctype.h: Likewise.
50128 * inet/aliases.h: Likewise.
50129 * inet/arpa/inet.h: Likewise.
50130 * inet/netinet/ether.h: Likewise.
50131 * inet/netinet/in.h: Likewise.
50132 * intl/libintl.h: Likewise.
50133 * io/bits/fcntl2.h: Likewise.
50134 * io/fcntl.h: Likewise.
50135 * io/ftw.h: Likewise.
50136 * io/sys/poll.h: Likewise.
50137 * io/sys/stat.h: Likewise.
50138 * io/sys/statfs.h: Likewise.
50139 * io/sys/statvfs.h: Likewise.
50140 * io/utime.h: Likewise.
50141 * libio/bits/stdio.h: Likewise.
50142 * libio/bits/stdio2.h: Likewise.
50143 * libio/libio.h: Likewise.
50144 * libio/libioP.h: Likewise.
50145 * libio/stdio.h: Likewise.
50146 * locale/lc-ctype.c: Likewise.
50147 * locale/locale.h: Likewise.
50148 * login/utmp.h: Likewise.
50149 * malloc/arena.c: Likewise.
50150 * malloc/malloc.c: Likewise.
50151 * malloc/malloc.h: Likewise.
50152 * malloc/mcheck.c: Likewise.
50153 * malloc/mtrace.c: Likewise.
50154 * math/bits/mathcalls.h: Likewise.
50155 * math/fenv.h: Likewise.
50156 * math/math_private.h: Likewise.
50157 * misc/bits/error.h: Likewise.
50158 * misc/bits/syslog.h: Likewise.
50159 * misc/err.h: Likewise.
50160 * misc/error.h: Likewise.
50161 * misc/fstab.h: Likewise.
50162 * misc/mntent.h: Likewise.
50163 * misc/regexp.h: Likewise.
50164 * misc/search.h: Likewise.
50165 * misc/sgtty.h: Likewise.
50166 * misc/sys/mman.h: Likewise.
50167 * misc/sys/syslog.h: Likewise.
50168 * misc/sys/uio.h: Likewise.
50169 * misc/sys/xattr.h: Likewise.
50170 * misc/ttyent.h: Likewise.
50171 * nis/rpcsvc/ypclnt.h: Likewise.
50172 * nss/nss.h: Likewise.
50173 * posix/bits/unistd.h: Likewise.
50174 * posix/fnmatch.h: Likewise.
50175 * posix/glob.h: Likewise.
50176 * posix/sched.h: Likewise.
50177 * posix/spawn.h: Likewise.
50178 * posix/sys/wait.h: Likewise.
50179 * posix/unistd.h: Likewise.
50180 * posix/wordexp.h: Likewise.
50181 * pwd/pwd.h: Likewise.
50182 * resolv/netdb.h: Likewise.
50183 * resource/sys/resource.h: Likewise.
50184 * rt/aio.h: Likewise.
50185 * rt/bits/mqueue2.h: Likewise.
50186 * rt/mqueue.h: Likewise.
50187 * shadow/shadow.h: Likewise.
50188 * signal/signal.h: Likewise.
50189 * socket/send.c: Likewise.
50190 * socket/sendto.c: Likewise.
50191 * socket/sys/socket.h: Likewise.
50192 * stdio-common/printf.h: Likewise.
50193 * stdlib/bits/stdlib.h: Likewise.
50194 * stdlib/fmtmsg.h: Likewise.
50195 * stdlib/monetary.h: Likewise.
50196 * stdlib/stdlib.h: Likewise.
50197 * stdlib/ucontext.h: Likewise.
50198 * streams/stropts.h: Likewise.
50199 * string/argz.h: Likewise.
50200 * string/bits/string2.h: Likewise.
50201 * string/string.h: Likewise.
50202 * string/strings.h: Likewise.
50203 * sunrpc/rpc/auth.h: Likewise.
50204 * sunrpc/rpc/auth_des.h: Likewise.
50205 * sunrpc/rpc/clnt.h: Likewise.
50206 * sunrpc/rpc/netdb.h: Likewise.
50207 * sunrpc/rpc/pmap_clnt.h: Likewise.
50208 * sunrpc/rpc/xdr.h: Likewise.
50209 * sysdeps/generic/inttypes.h: Likewise.
50210 * sysdeps/generic/net/if.h: Likewise.
50211 * sysdeps/generic/sys/swap.h: Likewise.
50212 * sysdeps/gnu/net/if.h: Likewise.
50213 * sysdeps/gnu/utmpx.h: Likewise.
50214 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50215 * sysdeps/i386/i486/bits/string.h: Likewise.
50216 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50217 * sysdeps/s390/bits/string.h: Likewise.
50218 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50219 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50220 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50221 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50222 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50223 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50224 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50225 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50226 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50227 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50228 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50229 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50230 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50231 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50232 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50233 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50234 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50236 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50237 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50239 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50240 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50241 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50242 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50243 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50244 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50245 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50246 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50247 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50248 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50249 * sysvipc/sys/ipc.h: Likewise.
50250 * sysvipc/sys/msg.h: Likewise.
50251 * sysvipc/sys/sem.h: Likewise.
50252 * sysvipc/sys/shm.h: Likewise.
50253 * termios/termios.h: Likewise.
50254 * time/sys/time.h: Likewise.
50255 * time/time.h: Likewise.
50256 * wcsmbs/bits/wchar2.h: Likewise.
50257 * wcsmbs/uchar.h: Likewise.
50258 * wcsmbs/wchar.h: Likewise.
50259 * wctype/wctype.h: Likewise.
50260
0269750c
UD
50261 [BZ #13551]
50262 * Makeconfig: Remove all but ELF support including AIX support.
50263 * Makerules: Likewise.
50264 * config.h.in: Likewise.
50265 * config.make.in: Likewise.
50266 * configure: Likewise.
50267 * configure.in: Likewise.
50268 * csu/Makefile: Likewise.
50269 * csu/version.c: Likewise.
50270 * debug/Makefile: Likewise.
50271 * dlfcn/Makefile: Likewise.
50272 * elf/Makefile: Likewise.
50273 * extra-lib.mk: Likewise.
50274 * iconv/Makefile: Likewise.
50275 * include/libc-symbols.h: Likewise.
50276 * include/shlib-compat.h: Likewise.
50277 * resolv/Makefile: Likewise.
50278 * resolv/res_libc.c: Likewise.
50279 * rt/Makefile: Likewise.
50280 * sysdeps/i386/asm-syntax.h: Likewise.
50281 * sysdeps/i386/sysdep.h: Likewise.
50282 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50283 * sysdeps/mach/sysdep.h: Likewise.
50284 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50285 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50286 * sysdeps/s390/asm-syntax.h: Likewise.
50287 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50288 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50289 * sysdeps/sh/sysdep.h: Likewise.
50290 * sysdeps/unix/sparc/sysdep.h: Likewise.
50291 * sysdeps/wordsize-32/divdi3.c: Likewise.
50292 * sysdeps/x86_64/sysdep.h: Likewise.
50293
00bbd29b
UD
50294 * argp/Versions: Remove _argp_unlock_xxx.
50295
50296 [BZ #13559]
50297 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50298 * abilist/libBrokenLocale.abilist: Likewise.
50299 * abilist/libanl.abilist: Likewise.
50300 * abilist/libc.abilist: Likewise.
50301 * abilist/libcrypt.abilist: Likewise.
50302 * abilist/libdl.abilist: Likewise.
50303 * abilist/libm.abilist: Likewise.
50304 * abilist/libnsl.abilist: Likewise.
50305 * abilist/libpthread.abilist: Likewise.
50306 * abilist/libresolv.abilist: Likewise.
50307 * abilist/librt.abilist: Likewise.
50308 * abilist/libthread_db.abilist: Likewise.
50309 * abilist/libutil.abilist: Likewise.
50310 * abilist/libnss_db.abilist: New file.
50311
50312 * scripts/abilist.awk: Add support for indirect functions.
50313
a2693a0e
UD
50314 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50315
3f05895f
UD
50316 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50317
ecb6fb48
UD
50318 * shlib-versions: Remove entries for ports architectures.
50319
664f8cb9
UD
50320 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50321 files in ports.
50322 * elf/stackguard-macros.h: Remove support for IA-64.
50323 * elf/tst-auditmod1.c: Likewise.
50324 * sysdeps/generic/ldsodefs.h: Likewise.
50325
7ae81d88
UD
50326 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50327 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50328 configure files.
50329
bdeba135
UD
50330 [BZ #13552]
50331 * configure.in: Remove --enable-omitfp support.
50332 * FAQ.in: Adjust.
50333 * config.make.in: Likewise.
50334 * Makeconfig: Likewise.
50335 * manual/install.texi: Likewise.
50336
d75a0a62
UD
50337 In case anyone cares, the IA-64 architecture could move to ports.
50338 * sysdeps/ia64/*: Removed.
50339 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50340 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50341
dcc9756b
UD
50342 [BZ #13555]
50343 * configure.in: Remove entries for unsupported architectures.
50344
d3761ebc 50345 [BZ #13533]
9954432e
UD
50346 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50347 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50348 routines.
50349 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50350 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50351 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50352 fall back to using wcrtomb.
50353 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50354 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50355 renaming.
50356 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50357 * wcsmbs/tst-c16c32-1.c: New file.
50358
50359 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50360 local variable.
50361
c3a87236
UD
50362 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50363
28926a1b
UD
50364 * elf/tst-unique3.cc: Add explicit declaration of gets.
50365 * elf/tst-unique3lib.cc: Likewise.
50366 * elf/tst-unique3lib2.cc: Likewise.
50367 * elf/tst-unique4.cc: Likewise.
50368
df78418a
UD
50369 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50370
8ecd6b2a
JM
503712012-01-06 Joseph Myers <joseph@codesourcery.com>
50372
50373 [BZ #13566]
50374 * assert/assert.h (static_assert): Don't define for C++.
50375 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50376 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50377
9f115170
UD
503782012-01-03 Ulrich Drepper <drepper@gmail.com>
50379
5e0d0300
UD
50380 * iconv/loop.c (single loop): Fix assertion in storing of
50381 remaining bytes.
50382
9f115170
UD
50383 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50384
81fb02b0
UD
503852012-01-01 Ulrich Drepper <drepper@gmail.com>
50386
50387 * posix/getconf.c: Update copyright year.
50388 * nss/getent.c: Likewise.
a316c1f6 50389 * nss/makedb.c: Likewise.
81fb02b0
UD
50390 * iconv/iconvconfig.c: Likewise.
50391 * iconv/iconv_prog.c: Likewise.
50392 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50393 * elf/pldd.c: Likewise.
50394 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50395 * catgets/gencat.c: Likewise.
50396 * csu/version.c: Likewise.
50397 * elf/ldd.bash.in: Likewise.
50398 * elf/sprof.c (print_version): Likewise.
50399 * locale/programs/locale.c: Likewise.
50400 * locale/programs/localedef.c: Likewise.
a316c1f6 50401 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50402 * nscd/nscd.c (print_version): Likewise.
50403 * debug/xtrace.sh: Likewise.
50404 * malloc/memusage.sh: Likewise.
50405 * malloc/mtrace.pl: Likewise.
50406 * debug/catchsegv.sh: Likewise.
50407
2ba92745
JJ
504082011-12-30 Jakub Jelinek <jakub@redhat.com>
50409
50410 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50411 pure attribute.
50412
dadebdae
UD
504132011-12-24 Ulrich Drepper <drepper@gmail.com>
50414
d3761ebc 50415 [BZ #13533]
db6af3eb
UD
50416 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50417 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50418 transformations.
50419 * iconv/gconv_int.h: Likewise.
50420 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50421 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50422 from libc for GLIBC_2.16.
50423 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50424 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50425 * wcsmbs/uchar.h: Really define mbstate_t.
50426 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50427 * wcsmbs/c16rtomb.c: New file.
50428 * wcsmbs/mbrtoc16.c: New file.
50429 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50430 for C/POSIX locale.
50431 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50432 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50433
dadebdae
UD
50434 * wcsmbs/wchar.h: Add missing __restrict.
50435
67371b56
UD
504362011-12-23 Ulrich Drepper <drepper@gmail.com>
50437
74033a25
UD
50438 [BZ #13532]
50439 * time/Makefile (routines): Add timespec_get.
50440 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50441 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50442 timespec for ISO C11.
50443 * time/timespec_get.c: New file.
50444 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50445 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50446
380d7e87
UD
50447 [BZ #13531]
50448 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50449 * stdlib/stdlib.h: Declare aligned_alloc.
50450 * Versions.def: Add GLIBC_2.16 for libc.
50451 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50452
4e9e7a35
UD
50453 [BZ 13527]
50454 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50455 ISO C11.
50456
380d7e87 50457 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50458 code.
50459
03a71829
UD
50460 [BZ #13528]
50461 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50462
839e283e
UD
50463 [BZ #13529]
50464 * assert/assert.h (static_assert): Define.
50465
ce5294e2 50466 * version.h: Update for 2.16 development version.
90fa7312 50467
8d44e150 50468 [BZ #13526]
d7809905
UD
50469 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50470 _ISOC11_SOURCE.
50471
c0da14cd
UD
50472 * version.h (RELEASE): Bump for 2.15 release.
50473 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50474
530a3249
MP
50475 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50476 Patch by Marek Polacek <mpolacek@redhat.com>.
50477
67371b56
UD
50478 * bits/byteswap.h: Protect long long constants with __extension__.
50479 * sysdeps/i386/bits/byteswap.h: Likewise.
50480 * sysdeps/ia64/bits/byteswap.h: Likewise.
50481 * sysdeps/s390/bits/byteswap.h: Likewise.
50482 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50483
15db4de1
LD
504842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50485
50486 [BZ #13540]
bbe315ea
LD
50487 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50488 destination buffer.
15db4de1
LD
50489 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50490
2b2596b1
MP
504912011-12-23 Marek Polacek <polacek@redhat.com>
50492
50493 * elf/dl-addr.c (determine_info): Add inline keyword.
50494 * elf/tst-auditmod4b.c (check_avx): Likewise.
50495 * elf/tst-auditmod6b.c (check_avx): Likewise.
50496 * elf/tst-auditmod6c.c (check_avx): Likewise.
50497 * elf/tst-auditmod7b.c (check_avx): Likewise.
50498
70c6c246
UD
504992011-12-23 Ulrich Drepper <drepper@gmail.com>
50500
50501 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50502 !__SSE_MATH__.
50503
c044cf14
LD
505042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50505
15db4de1 50506 [BZ #13540]
c044cf14
LD
50507 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50508 processing for last bytes.
50509
6b13d9d9
BH
505102011-08-06 Bruno Haible <bruno@clisp.org>
50511
d455f537
BH
50512 [BZ #13061]
50513 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50514 U+0385, not to U+1FEE.
50515
6b13d9d9
BH
50516 [BZ #13062]
50517 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50518 entry for U+00A5 U+0301.
50519
db910efd
UD
505202011-12-22 Ulrich Drepper <drepper@gmail.com>
50521
27deeafc
UD
50522 [BZ #13166]
50523 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50524 buffer for the output is too small.
50525
aed9d171
UD
50526 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50527 optimization.
50528
db910efd
UD
50529 [BZ #13185]
50530 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50531 SSE flags if possible.
50532
2bd779ae
LD
505332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50534
e7f9dac3 50535 [BZ #13540]
2bd779ae
LD
50536 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50537 processing for last bytes.
50538
154bfc16
JM
505392011-12-22 Joseph Myers <joseph@codesourcery.com>
50540
50541 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50542 (syscall-list-default-options, syscall-list-default-condition)
50543 (syscall-list-includes): Define.
50544 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50545 list of ABIs and options and #if conditions for each ABI. Do not
50546 handle common syscalls between ABIs specially.
50547 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50548 Remove.
50549 (syscall-list-variants, syscall-list-32bit-options)
50550 (syscall-list-32bit-condition, syscall-list-64bit-options)
50551 (syscall-list-64bit-condition): Define.
50552 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50553 (syscall-list-variants, syscall-list-32bit-options)
50554 (syscall-list-32bit-condition, syscall-list-64bit-options)
50555 (syscall-list-64bit-condition): Define.
50556 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50557 Remove.
50558 (syscall-list-variants, syscall-list-32bit-options)
50559 (syscall-list-32bit-condition, syscall-list-64bit-options)
50560 (syscall-list-64bit-condition): Define.
50561 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50562 Remove.
50563 (syscall-list-variants, syscall-list-32bit-options)
50564 (syscall-list-32bit-condition, syscall-list-64bit-options)
50565 (syscall-list-64bit-condition): Define.
50566
21eaf3a5
UD
505672011-12-22 Ulrich Drepper <drepper@gmail.com>
50568
16c6f992
UD
50569 * locale/iso-639.def: Add brx entry.
50570
41043168
UD
50571 [BZ #13328]
50572 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50573 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50574
21eaf3a5
UD
50575 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50576 __feraiseexcept_renamed.
50577
e3a851a2
UD
505782011-12-21 Ulrich Drepper <drepper@gmail.com>
50579
4920765e
UD
50580 [BZ #13538]
50581 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50582 EPOLLET with unsigned values.
50583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50584 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50585
e3a851a2
UD
50586 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50587 to large cancellation.
50588 * math/s_cacoshf.c: Likewise.
50589 * math/s_cacoshl.c: Likewise.
50590
b27e24b8
RK
505912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50592
50593 [BZ #13305]
aebefeee 50594 [BZ #12786]
b27e24b8
RK
50595 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50596 * math/s_cacoshf.c: Likewise.
50597 * math/s_cacoshl.c: Likewise.
50598
ee190f67
UD
505992011-12-21 Ulrich Drepper <drepper@gmail.com>
50600
50601 [BZ #13439]
50602 * iconv/gconv.h: Define __GCONV_SWAP.
50603 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50604 * iconvdata/utf-16.c: Likewise.
50605 * iconvdata/utf-32.c: Likewise.
50606
707f25df
AS
506072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50608
50609 [BZ #13524]
50610 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50611 numerator after shifting it by one limb.
50612
d2daaa1e
RÁE
506132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50614
50615 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50616 under [__USE_EXTERN_INLINES].
50617
a4647e72
UD
506182011-12-17 Ulrich Drepper <drepper@gmail.com>
50619
50620 [BZ #13446]
50621 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50622
f0b264f1
AZ
506232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50624
50625 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50626 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50627 optimized code.
50628 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50629 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50630 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50631 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50632 for strncasecmp/strncasecmp_l compilation.
50633 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50634 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50635
8ef4f244
MP
506362011-12-08 Marek Polacek <mpolacek@redhat.com>
50637
50638 [BZ #13484]
50639 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50640 of __asm__.
50641
97ac2654
UD
506422011-12-17 Ulrich Drepper <drepper@gmail.com>
50643
50644 [BZ #13506]
50645 * time/tzfile.c (__tzfile_read): Check values from file header.
50646
91d2a845
WS
506472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50648
50649 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50650 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50651 * powerpc/powerpc32/dl-start.S: Likewise.
50652 * powerpc/powerpc32/elf/start.S: Likewise.
50653 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50654 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50655 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50656 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50657 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50658 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50659 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50660 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50661 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50662 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50663 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50664 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50665 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50666 * powerpc/powerpc32/memset.S: Likewise.
50667 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50668 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50669 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50670 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50671 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50672 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50673 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50674 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50675 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50676 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50677 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50678 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50679 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50680
a1267ba1
AZ
506812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50682
50683 * math/libm-test.inc: Added more nearbyint tests.
50684 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50685 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50686 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50687 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50688
ad8ac1bd
RL
506892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50690
50691 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50692 FD_CLOEXEC.
50693
1d3e4b61
UD
506942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50695
50696 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50697 Add wcscpy-ssse3 wcscpy-c.
50698 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50699 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50700 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50701 * sysdeps/x86_64/wcschr.S: New file.
50702 * sysdeps/x86_64/wcsrchr.S: New file.
50703 * string/test-strcmp.c: Remove checking of wcscmp function for
50704 wrong alignments.
50705 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50706 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50707 wcsrchr-sse2 wcsrchr-c.
50708 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50709 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50710 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50711 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50712 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50713 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50714 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50715 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50716 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50717 * wcsmbc/wcschr.c (WCSCHR): New macro.
50718
5b330a2d
UD
507192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50720
50721 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50722 * wcsmbs/test-wcsrchr.c: New file.
50723 * string/test-strrchr.c: Add wcsrchr support.
50724 (WIDE): New macro.
50725 * wcsmbs/test-wcscpy.c: New file.
50726 * string/test-strcpy.c: Add wcscpy support.
50727 (WIDE): New macro.
26428b7c 50728
f039c043
UD
507292011-12-10 Ulrich Drepper <drepper@gmail.com>
50730
50731 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50732 the inner loop.
50733
850fb039
AS
507342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50735
50736 [BZ #13472]
50737 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50738
4efbd5cb
UD
507392011-12-04 Ulrich Drepper <drepper@gmail.com>
50740
52ff5dd0 50741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50742 Minor optimizations.
52ff5dd0 50743
4efbd5cb
UD
50744 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50745 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50746 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50747
8a426e12
UD
507482011-12-03 Ulrich Drepper <drepper@gmail.com>
50749
aff2453d
UD
50750 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50751 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50752 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50753 for gcc to avoid warnings.
50754 * inet/Makefile (tests): Add tst-checks.
50755 * inet/tst-checks.c: New file.
50756
50757 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50758 warning.
50759
50760 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50761 __wmemcmp_sse2.
50762
50763 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50764 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50765
8a426e12
UD
50766 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50767
9bea3473
UD
507682011-12-02 Ulrich Drepper <drepper@gmail.com>
50769
3a965496
UD
50770 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50771 problem.
50772
9bea3473
UD
50773 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50774
f101631b
UD
507752011-11-29 Joseph Myers <joseph@codesourcery.com>
50776
50777 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50778 conditional on GCC version.
50779 (__arch_compare_and_exchange_val_8_acq)
50780 (__arch_compare_and_exchange_val_16_acq)
50781 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50782 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50783 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50784
a98275aa
UD
507852011-12-02 Joseph Myers <joseph@codesourcery.com>
50786
50787 * sysdeps/sh/backtrace.c: New file.
50788
d4cc29a2
AS
507892011-12-02 Andreas Schwab <schwab@redhat.com>
50790
50791 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50792 parenthesis.
50793
6257af2d
AS
507942011-12-01 Andreas Schwab <schwab@redhat.com>
50795
50796 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50797 falling back to utime.
50798
b5f44c1a
AS
507992011-11-30 Andreas Schwab <schwab@redhat.com>
50800
50801 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50802 expectations for float.
50803
f3a6cc0a
AS
508042011-11-29 Andreas Schwab <schwab@redhat.com>
50805
50806 * locale/weight.h (findidx): Add parameter len.
50807 * locale/weightwc.h (findidx): Likewise.
50808 * posix/fnmatch_loop.c (FCT): Adjust caller.
50809 * posix/regcomp.c (build_equiv_class): Likewise.
50810 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50811 * posix/regexec.c (check_node_accept_bytes): Likewise.
50812 * string/strcoll_l.c (STRCOLL): Likewise.
50813 * string/strxfrm_l.c (STRXFRM): Likewise.
50814
9d65ea3a
UD
508152011-11-17 Ulrich Drepper <drepper@gmail.com>
50816
50817 * Makefile.in: Remove CVSOPT handling.
50818 * configure.in: Remove use of AC_REVISION.
50819 * iconvdata/Makefile (distribute): No need to filter out CVS.
50820 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50821 handling.
50822
5583a086
AS
508232011-11-16 Andreas Schwab <schwab@redhat.com>
50824
50825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50826 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50827 [USE_AS_STRNCASECMP_L]: Likewise.
50828 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50829 NO_TLS_DIRECT_SEG_REFS.
50830 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50831 Fix argument offsets for non-PIC.
50832 [USE_AS_STRNCASECMP_L]: Likewise.
50833 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50834 NO_TLS_DIRECT_SEG_REFS.
50835
d62a8200
UD
508362011-11-15 Ulrich Drepper <drepper@gmail.com>
50837
9d65ea3a 50838 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50839 O_CLOEXEC.
50840 * locale/loadlocale.c (_nl_load_locale): Likewise.
50841
09f93bd3
AS
508422011-11-15 Andreas Schwab <schwab@redhat.com>
50843
446514f9
AS
50844 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50845 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50846 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50847 (SYSCALL_GETTIME): Set errno on error.
50848
09f93bd3
AS
50849 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50850 count references to noai6ai_cached.
50851
312be3f9
UD
508522011-11-15 Ulrich Drepper <drepper@gmail.com>
50853
50854 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50855
50856 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50857 FD_CLOEXEC for /proc/self/maps.
50858
50859 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50860 FD_CLOEXEC for /proc/meminfo.
50861
50862 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50863 gai.conf.
50864
50865 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50866 FD_CLOEXEC for given file.
50867
50868 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50869
50870 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50871 FD_CLOEXEC for /etc/hosts.
50872 (_gethtent): Likewise.
50873
50874 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50875
50876 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50877 cancellation and set FD_CLOEXEC for /etc/netgroup.
50878
50879 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50880 reading /etc/publickey.
50881
50882 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50883 allow cancellation when reading /etc/group.
50884
50885 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50886 cancellation.
50887 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50888
50889 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50890 when using data file.
50891
50892 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50893
50894 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50895 (write_nis_obj): Use "c" and "e" in fopen.
50896
50897 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50898
50899 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50900
50901 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50902
50903 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50904
50905 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50906 locale.alias.
50907
50908 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50909
50910 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50911
50912 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50913
50914 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50915 file parsing and set FD_CLOEXEC.
50916
82af0fa8
UD
509172011-11-14 Ulrich Drepper <drepper@gmail.com>
50918
50919 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50920
a5fb313c
AS
509212011-11-14 Andreas Schwab <schwab@redhat.com>
50922
50923 * malloc/arena.c (arena_get2): Don't call reused_arena when
50924 _int_new_arena failed.
50925
6abf3465
UD
509262011-11-14 Ulrich Drepper <drepper@gmail.com>
50927
50928 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50929 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50931 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50932 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50933 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50934 to compile strcasecmp and strncasecmp.
50935 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50936 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50937
50938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50939
76e3966e
UD
509402011-11-13 Ulrich Drepper <drepper@gmail.com>
50941
50942 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50943 locale-defines.sym to gen-as-const-headers.
50944 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50945 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50947 to compile strcasecmp and strncasecmp.
50948 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50949 strcasecmp_l and strncasecmp_l.
50950 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50951 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50952 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50953 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50954 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50955 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50956 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50957 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50958 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50959 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50960 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50961
ab26144e
UD
509622011-11-12 Ulrich Drepper <drepper@gmail.com>
50963
7edb22ef
UD
50964 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50965 result of SYSDEP_GETTIME_CPU to retval.
50966 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50967 parameter list to macro. Remove trailing semicolon. Adjust users.
50968
9694fc44
UD
50969 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50970 variable.
50971
8ad89ef8
UD
50972 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50973 mantissa words.
50974 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50975
0c822ef9
UD
50976 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50977 from unused variable.
50978
874e0564
UD
50979 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50980 DWARF definitions.
50981 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50982 for assembling.
50983
3a2edc79
UD
50984 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50985 over namespaces.
50986
f3c2577f
UD
50987 * sunrpc/rpc_prot.c (rejected): Fix case value.
50988
294ce126
UD
50989 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50990 unsigned long long int to avoid warnings in shift.
50991
5e2b63c6
UD
50992 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50993 of use of trans.
50994 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50995 variable tmp.
50996
e7f4b08e
UD
50997 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50998 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50999 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51000
ab26144e
UD
51001 * nis/nis_table.c (nis_list): Use variable of correct type for
51002 result of __follow_path call.
51003
8a6d5255
AZ
510042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51005
51006 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51007 of math functions ceil, trunc, floor, round, and sqrt, when
51008 avaliable on the platform.
51009 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51010 name clash.
51011 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51012 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51013 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51014
aaddc98c
MP
510152011-10-30 Marek Polacek <mpolacek@redhat.com>
51016
51017 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51018 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51019
95b7042b
RM
510202011-11-11 Roland McGrath <roland@hack.frob.com>
51021
51022 * include/unistd.h: Fix __readlink return type.
51023 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51024
57769839
UD
510252011-11-11 Ulrich Drepper <drepper@gmail.com>
51026
51027 * stdlib/ucontext.h: Undo last change for makecontext.
51028
edc5984d
AS
510292011-11-11 Andreas Schwab <schwab@redhat.com>
51030
98591e58
AS
51031 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51032
edc5984d
AS
51033 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51034 * setjmp/setjmp.h: Mark functions as non-leaf.
51035 * setjmp/bits/setjmp2.h: Likewise.
51036 * stdlib/ucontext.h: Likewise.
51037
77cdc054
AS
510382011-11-10 Andreas Schwab <schwab@redhat.com>
51039
51040 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51041 (reused_arena): Don't check arena limit.
51042 (arena_get2): Atomically check arena limit.
51043
fe72eebd
UD
510442011-11-08 Ulrich Drepper <drepper@gmail.com>
51045
5f078c32
UD
51046 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51047 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51048
fe72eebd
UD
51049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51050 instructions.
51051
ae1bc2fa
AS
510522011-11-07 Andreas Schwab <schwab@redhat.com>
51053
7583a88d
AS
51054 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51055 handler when locking.
51056
ae1bc2fa
AS
51057 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51058 Fix size of allocated buffer.
51059
10fb0bfa
AS
510602011-11-04 Andreas Schwab <schwab@redhat.com>
51061
998832a4
AS
51062 [BZ #10103]
51063 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51064 declarations for long double functions.
51065 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51066
10fb0bfa
AS
51067 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51068
3d7ba52b
AS
510692011-11-03 Andreas Schwab <schwab@redhat.com>
51070
a9ae54a1
AS
51071 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51072 installed.
51073
3d7ba52b
AS
51074 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51075 is disabled.
51076
bc8db248
ST
510772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51078
51079 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51080
45b96dd6
AS
510812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51082
647776f6
AS
51083 * include/alloca.h (stackinfo_alloca_round): Define.
51084 (extend_alloca): Use it.
51085 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51086 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51087 here.
51088
d91a8b93
AS
51089 * scripts/check-local-headers.sh: Ignore libaudit.h.
51090
45b96dd6
AS
51091 * nscd/Makefile (extra-objs): Make recursively expanded.
51092
432d41ce
UD
510932011-11-01 Ulrich Drepper <drepper@gmail.com>
51094
34372fc6
UD
51095 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51096 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51097
fadb59f8
UD
51098 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51099 * posix/tst-rfc3484-2.c: Likewise.
51100 * posix/tst-rfc3484-3.c: Likewise.
51101
78239589
UD
51102 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51103 process_vm_writev.
51104 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51105 process_vm_writev.
51106 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51107 process_vm_writev from libc using GLIBC_2.15 version.
51108
432d41ce
UD
51109 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51110
02f9c6cf
PP
511112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51112
51113 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51114 stack usage.
51115
3a2c0242
UD
511162011-10-31 Ulrich Drepper <drepper@gmail.com>
51117
f4ec4833
UD
51118 [BZ #13367]
51119 * nss/getent.c (initgroups_keys): Show error message in case no group
51120 names are given.
51121
3a2c0242
UD
51122 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51123 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51124 __bump_nl_timestamp.
51125 * nscd/connections (nscd_init): When host database is served open
51126 netlink socket and request notification about configuration changes.
51127 (main_loop_poll): Track netlink file descriptor and bump timestamp
51128 in case data becomes available.
51129 (main_loop_epoll): Likewise.
51130 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51131 (database_pers_head): Add extra_data fileds.
51132 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51134 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51135 Adjust caller.
51136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51137 in6ai data, call __free_in6ai.
51138 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51139 Add -DHAVE_NETLINK.
51140 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51141 interface information. Reuse previous data if netlink timestamp
51142 is not changed.
51143 (__bump_nl_timestamp): New function.
51144 (__free_in6ai): New function.
51145
636064eb
UD
511462011-10-30 Ulrich Drepper <drepper@gmail.com>
51147
51148 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51149 close_not_cancel_no_status here.
51150 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51151
9beb2334
UD
511522011-10-29 Ulrich Drepper <drepper@gmail.com>
51153
6ef76f3b
UD
51154 [BZ #13276]
51155 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51156 return value.
51157
0ffc4f3e 51158 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51159 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51160 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51161
cb95113e
UD
511622011-07-03 Andreas Jaeger <aj@suse.de>
51163
51164 [BZ #10709]
51165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51166 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51167 * math/libm-test.inc (sin_test): Add test case.
51168
a1b560ff
UD
511692011-10-29 Ulrich Drepper <drepper@gmail.com>
51170
c9aaface
UD
51171 [BZ #13337]
51172 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51173 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51174
d272e7f1
UD
51175 * elf/chroot_canon.c (chroot_canon): Cleanups.
51176
1bc33071
UD
51177 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51178
1760874d
TJ
51179 [BZ #13335]
51180 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51181 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51182
51d91b18
UD
51183 * string/test-strchr.c: Make usable for strchrnul testing.
51184 * string/test-strchrnul.c: New file.
51185 * string/Makefile (strop-tests): Add strchrnul.
51186
a1b560ff 51187 * po/it.po: Update from translation team.
b611fb81 51188 * po/es.po: Likewise.
a1b560ff 51189
a5b81e1f
UD
511902011-10-28 Ulrich Drepper <drepper@gmail.com>
51191
fd52bc6d
UD
51192 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51193 the three constants needed as parameters. Drop the others.
51194 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51195 __m128i_strloadu_tolower.
52e4b9eb
UD
51196 Create and initialize variable zero and use it in all the places
51197 where _mm_setzero_si128 was used.
fd52bc6d 51198
a5b81e1f
UD
51199 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51200 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51201 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51202 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51203 anymore.
51204 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51205 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51206 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51207 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51208 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51209 __mpranred, __mptan.
51210 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51211 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51212 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51213 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51214 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51215 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51216 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51217 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51218 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51219
b4343346
AS
512202011-10-28 Andreas Schwab <schwab@redhat.com>
51221
0c92d8a8
AS
51222 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51223 redefine if SHARED.
51224 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51225
b4343346
AS
51226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51227 wide char related routines to wcsmbs subdir.
51228
3871f58f
AS
512292011-10-27 Andreas Schwab <schwab@redhat.com>
51230
51231 [BZ #13344]
51232 * misc/sys/cdefs.h (__THROWNL): Define.
51233 * posix/unistd.h: Use __THREADNL instead of __THREAD
51234 for memory synchronization functions.
51235
94d44d9f
RM
512362011-10-26 Roland McGrath <roland@hack.frob.com>
51237
21b64b15 51238 [BZ #13349]
94d44d9f
RM
51239 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51240 doesn't exist.
51241 * manual/stdio.texi (Obstack Streams): Node removed.
51242
f6ce9294
AS
512432011-10-26 Andreas Schwab <schwab@redhat.com>
51244
80479147
AS
51245 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51246 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51247 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51248
f6ce9294
AS
51249 * math/math_private.h (math_force_eval): Allow non-addressable
51250 arguments.
51251 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51252
618280a1
UD
512532011-10-25 Ulrich Drepper <drepper@gmail.com>
51254
e0016b11
UD
51255 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51256 file is not needed.
51257
51258 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51259 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51260 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51261 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51262 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51263 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51264 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51265 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51266 Add AVX variants.
51267 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51268 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51269 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51270 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51271 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51272 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51273 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51274 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51275 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51276 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51277 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51278 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51279 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51280 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51281 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51282 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51283 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51284 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51285 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51286
51287 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51288 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51289
618280a1
UD
51290 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51291 place. Use VEX encoding when compiling for AVX.
51292
37822576
AS
512932011-10-25 Andreas Schwab <schwab@redhat.com>
51294
1f1e1947
AS
51295 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51296 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51297
37822576
AS
51298 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51299
31ea014d
UD
513002011-10-25 Ulrich Drepper <drepper@gmail.com>
51301
d7826aa1 51302 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51303 useless if() expression.
d7826aa1
UD
51304 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51305 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51306 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51307 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51308 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51309 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51310 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51311 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51312 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51313 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51314 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51315 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51316 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51317 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51318 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51319 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51320 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51321 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51322 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51323
31ea014d
UD
51324 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51325
16437fec
AS
513262011-10-25 Andreas Schwab <schwab@redhat.com>
51327
51328 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51329 condition.
51330 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51331
31d3cc00
UD
513322011-10-25 Ulrich Drepper <drepper@gmail.com>
51333
51334 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51335 .text section. Avoid duplicate constants.
51336 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51338 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51344 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51345 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51346 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51347 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51348 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51349 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51350 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51351 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51352 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51353 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51354 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51355 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51356 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51357 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51358 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51359 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51360 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51361 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51362 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51363 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51364 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51365 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51366 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51367 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51368 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51369 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51370 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51371 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51372 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51373 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51374 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51375 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51376 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51378 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51380 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51381
58985aa9
UD
513822011-10-24 Ulrich Drepper <drepper@gmail.com>
51383
202c9deb
UD
51384 * sysdeps/x86_64/dla.h: Move to ...
51385 * sysdeps/x86_64/fpu/dla.h: ...here.
51386 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51387 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51388
af968f62
UD
51389 * config.make.in: Add have-mfma4 entry.
51390 * configure.in: Substitute libc_cv_cc_fma4.
51391 * math/Makefile (dbl-only-routines): Add sincostab.
51392 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51393 Use __sincostab not sincos.
51394 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51395 name is a macro.
51396 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51400 using __copysign.
51401 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51402 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51403 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51404 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51405 and __inv.
51406 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51407 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51408 __copysign.
51409 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51410 define aliases when function name is a macro.
51411 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51412 sysdeps/ieee754/dbl-64/sincos.tbl.
51413 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51414 fma4-enabled routines.
51415 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51416 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51417 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51418 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51419 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51420 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51421 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51422 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51424 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51425 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51426 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51427 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51428 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51429 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51430 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51431 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51432 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51433 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51434 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51435 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51436 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51437 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51438 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51439 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51441 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51442 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51443 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51444 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51445
58985aa9
UD
51446 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51447 rename.
51448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51449 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51453 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51454 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51455 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51456
a201fbcf
AS
514572011-10-24 Andreas Schwab <schwab@redhat.com>
51458
51459 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51460
fc2ee42a
LD
514612011-10-23 Ulrich Drepper <drepper@gmail.com>
51462
bb3129bd
UD
51463 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51464
0275fff8
UD
51465 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51466 prediction.
51467 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51468
2fa2ae85
UD
51469 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51470 Remove unused variable magic_bits.
51471 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51472
fc2ee42a
LD
51473 * string/strnlen.c: Define and use STRNLEN macro.
51474 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51475 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51476 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51477 * wcsmbs/wcslen.c: Define and use WCSLEN.
51478 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51479 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51480 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51481 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51482 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51483 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51484 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51485
ce7dd29f
LD
514862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51487
51488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51489 strnlen-sse2-no-bsf.
51490 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51492 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51493 Add strnlen support.
51494 (USE_AS_STRNLEN): New macro.
51495 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51496 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51497 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51498 * sysdeps/x86_64/wcslen.S: New file.
51499
979c70a3
MZ
515002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51501
51502 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51503 XMM-moves are used for copying on small sizes.
51504
2d09f82f
LD
515052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51506
51507 * wcsmbs/Makefile (strop-tests): Add wcschr.
51508 * wcsmbs/test-wcschr.c: New file.
51509 * string/test-strchr.c: Update.
51510 Add wcschr support.
51511 (WIDE): New macro.
51512
619fccca
LD
515132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51514
2d09f82f 51515 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51516 * wcsmbs/test-wcslen.c: New file.
51517 * string/test-strlen.c: Update.
51518 Add wcslen support.
51519 (WIDE): New macro.
51520
09f699ea
UD
515212011-10-23 Ulrich Drepper <drepper@gmail.com>
51522
51523 * po/it.po: Update from translation team.
51524
95584d3b
LD
515252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51526
51527 * sysdeps/x86_64/wcscmp.S: Update.
51528 Fix wrong comparison semantics.
51529 wcscmp shall use signed comparison not unsigned.
51530 Don't use substraction to avoid overflow bug.
51531 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51532 * wcsmbc/wcscmp.c: Likewise.
51533 * string/test-strcmp.c: Likewise.
51534 Add new tests to check cases with negative values.
51535
c8b3296b
UD
515362011-10-23 Ulrich Drepper <drepper@gmail.com>
51537
51538 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51539 * sysdeps/x86_64/dla.h: ...here. New file.
51540 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51545 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51547 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51549
246ad57a
AS
515502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51551
51552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51553 __ynl_finite aliases.
51554
a1a87169
UD
515552011-10-22 Ulrich Drepper <drepper@gmail.com>
51556
0d355eb7
UD
51557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51558
a1a87169
UD
51559 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51560 define DLA_FMA.
51561 [DLA_FMA] (EMULV): Use DLA_FMA.
51562 [DLA_FMA] (MUL12): Use EMULV.
51563 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51564 that are not needed.
51565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51571 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51572
ee2aafe0
AS
515732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51574
51575 * math/s_nan.c: Undef __nan.
51576 * math/s_nanf.c: Undef __nanf.
51577 * math/s_nanl.c: Undef __nanl.
51578 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51579 "math_private.h".
51580
bc62c2fb
UD
515812011-10-22 Ulrich Drepper <drepper@gmail.com>
51582
77425c63
UD
51583 * math/s_catan.c: Add branch predictions.
51584 * math/s_catanf.c: Likewise.
51585 * math/s_catanh.c: Likewise.
51586 * math/s_catanhf.c: Likewise.
51587 * math/s_catanhl.c: Likewise.
51588 * math/s_catanl.c: Likewise.
51589 * math/s_cexp.c: Likewise.
51590 * math/s_cexpf.c: Likewise.
51591 * math/s_cexpl.c: Likewise.
51592 * math/s_clog.c: Likewise.
51593 * math/s_clog10.c: Likewise.
51594 * math/s_clog10f.c: Likewise.
51595 * math/s_clog10l.c: Likewise.
51596 * math/s_clogf.c: Likewise.
51597 * math/s_clogl.c: Likewise.
51598 * math/s_csqrt.c: Likewise.
51599 * math/s_csqrtf.c: Likewise.
51600 * math/s_csqrtl.c: Likewise.
51601 * math/s_ctanf.c: Likewise.
51602 * math/s_ctanh.c: Likewise.
51603 * math/s_ctanhf.c: Likewise.
51604 * math/s_ctanhl.c: Likewise.
51605 * math/s_ctanl.c: Likewise.
51606
bc62c2fb
UD
51607 * math/math_private.h: Define __nan, __nanf, __nanl.
51608 * math/s_cacosh.c: Include <math_private.h>.
51609 * math/s_cacoshl.c: Likewise.
51610 * math/s_casinh.c: Likewise.
51611 * math/s_casinhf.c: Likewise.
51612 * math/s_casinhl.c: Likewise.
51613 * math/s_ccos.c: Rely entire on ccosh.
51614 * math/s_ccosf.c: Rely entire on ccoshf.
51615 * math/s_ccosl.c: Rely entirely on ccoshl.
51616 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51617 Remove tests for FE_INVALID.
51618 * math/s_ccoshf.c: Likewise.
51619 * math/s_ccoshl.c: Likewise.
51620 * math/s_csin.c: Likewise.
51621 * math/s_csinf.c: Likewise.
51622 * math/s_csinh.c Likewise.
51623 * math/s_csinhf.c: Likewise.
51624 * math/s_csinhl.c: Likewise.
51625 * math/s_csinl.c: Likewise.
51626 * math/s_ctan.c: Likewise.
51627 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51628 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51629 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51630
8ec250a4
UD
516312011-10-21 Ulrich Drepper <drepper@gmail.com>
51632
c196fed8
UD
51633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51634 compilation problems.
51635
8ec250a4
UD
51636 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51637 __builtin_expect.
51638
8d4f46c6
UD
516392011-10-20 Ulrich Drepper <drepper@gmail.com>
51640
ed72b654
UD
51641 * sysdeps/i386/configure.in: Test for -mfma4 option.
51642 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51643 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51644 COMMON_CPUID_INDEX_80000001.
51645 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51646 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51647 use it if FMA3 is not supported.
51648 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51649
8d4f46c6
UD
51650 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51651 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51652
d45c60c2
AS
516532011-10-20 Andreas Schwab <schwab@redhat.com>
51654
51655 [BZ #12892]
51656 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51657 it would create a cycle with a link time dependency.
51658
d9a4d2ab
UD
516592011-10-19 Ulrich Drepper <drepper@gmail.com>
51660
855d1560
UD
51661 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51662 instruction.
51663 * string/Makefile (strop-tests): Add rawmemchr.
51664 * string/test-rawmemchr.c: New file.
51665
d9a4d2ab
UD
51666 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51667 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51668 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51669 when compiling str{,n}casecmp and when AVX is available. Hook up
51670 new optimized code in initializers.
51671
8f3b1ffe
AS
516722011-10-19 Andreas Schwab <schwab@redhat.com>
51673
51674 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51675 __feraiseexcept instead of feraiseexcept.
51676
d38f1dba
UD
516772011-10-18 Ulrich Drepper <drepper@gmail.com>
51678
d9a8d0ab
UD
51679 * math/math_private.h: Define defaults for libc_fetestexcept and
51680 libc_feupdateenv.
51681 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51682 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51683 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51684 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51685 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51686 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51687 libc_fetestexcept and libc_feupdateenv.
51688
4855e3dd
UD
51689 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51690 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51691 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51692 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51693 libc_feholdexcept_setround.
51694
581d30e3
UD
51695 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51696 Add s_nearbyint-c and s_nearbyintf-c.
51697 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51698 nearbyintf inlines.
51699 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51700 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51701 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51702 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51703
d38f1dba
UD
51704 * math/math_private.h: Define defaults for libc_fegetround,
51705 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51706 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51707 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51708 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51709 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51710 standard functions.
51711 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51712 Remove comments and hacks for old compiler versions.
51713 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51714 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51715 libc_feholdexceptl.
51716
caa6c9d8
AS
517172011-10-18 Andreas Schwab <schwab@redhat.com>
51718
51719 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51720 (__feraiseexcept_renamed): Add __NTH.
51721 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51722 namespace violations.
51723
97c066e6
UD
517242011-10-17 Ulrich Drepper <drepper@gmail.com>
51725
99ce7b04
UD
51726 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51727
1004d182
UD
51728 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51729
228a984d
UD
51730 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51731 recently added interfaces.
51732 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51733
c8553a6a
UD
51734 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51735 about macro parameter expansion.
51736
ed22dcf6
UD
51737 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51738 __NO_MATH_INLINES is defined. Cleanups.
51739
51740 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51741 and __floorf is target has SSE4.1.
51742 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51743 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51744 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51745 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51746
b171c137
UD
51747 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51748 name.
51749 (floorf): Likewise.
51750
97c066e6
UD
51751 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51752
629f62ef
AS
517532011-10-17 Andreas Schwab <schwab@redhat.com>
51754
49a43d80
AS
51755 * misc/sys/cdefs.h: Fix last change.
51756
629f62ef
AS
51757 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51758 database lookup.
51759
e453f6cd
UD
517602011-10-16 Ulrich Drepper <drepper@gmail.com>
51761
aa78043a
UD
51762 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51763
ad0f5cad
UD
51764 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51765 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51766 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51767 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51769 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51770 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51771 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51772 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51773 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51774 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51775 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51776 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51777 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51778 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51779 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51780 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51781 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51782 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51783 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51784 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51785 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51786
51787 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51788 ceil, ceilf, floor, floorf.
51789
51790 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51791 Perform IRELATIVE relocations last.
51792
e453f6cd
UD
51793 * elf/do-rel.h: Add another parameter nrelative, replacing the
51794 local variable with the same name. Change name of the function
51795 to end in Rel or Rela (uppercase).
51796 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51797 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51798 elf_dynamic_do_##reloc function.
51799
fd5bdc09
UD
518002011-10-15 Ulrich Drepper <drepper@gmail.com>
51801
79b195b5
UD
51802 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51803 is sufficient, at least on modern CPUs.
51804
d4a28569
UD
51805 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51806
b61099b5
UD
51807 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51808 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51809
bcf01e6d
UD
51810 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51811 __expl_finite.
51812 * math/bits/math-finite.h: Add entries for exp.
51813 * math/e_expl.c: Add __*_finite alias.
51814 * sysdeps/i386/fpu/e_exp.S: Likewise.
51815 * sysdeps/i386/fpu/e_expf.S: Likewise.
51816 * sysdeps/i386/fpu/e_expl.c: Likewise.
51817 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51818 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51819 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51820 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51821 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51822 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51823 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51824
ba1a0d59
UD
51825 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51826 is sufficient, at least on modern CPUs.
51827
fd5bdc09
UD
51828 * ctype/ctype-info.c (__ctype_init): Define.
51829 * include/ctype.h (__ctype_init): Declare.
51830 (__ctype_b_loc): The variable is always initialized.
51831 (__ctype_toupper_loc): Likewise.
51832 (__ctype_tolower_loc): Likewise.
51833 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51834 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51835
7872cfb0
AS
518362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51837
b468825a
AS
51838 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51839
7872cfb0
AS
51840 * configure.in: Also look in $cxxmachine/include for C++ system
51841 headers.
51842
be13f7bf
LD
518432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51844
51845 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51846 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51847 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51848 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51849 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51850 (USE_AS_WMEMCMP): New macro.
51851 Fixing indents.
51852 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51853 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51854 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51855 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51857 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51858 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51859 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51860 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51861 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51862 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51863 (USE_AS_WMEMCMP): New macro.
51864 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51865 * sysdeps/string/test-memcmp.c: Update.
51866 Fix simple_wmemcmp.
51867 Add new tests.
51868 * wcsmbs/wmemcmp.c: Update.
51869 (WMEMCMP): New macro.
51870 Fix overflow bug.
51871
556a2007
AJ
518722011-10-12 Andreas Jaeger <aj@suse.de>
51873
51874 [BZ #13268]
51875 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51876
538faaa7
UD
518772011-10-15 Ulrich Drepper <drepper@gmail.com>
51878
ab6737ff
UD
51879 * libio/iofwide.c (do_length): Avoid warning.
51880
538faaa7
UD
51881 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51882
396a21b1
UD
518832011-10-14 Ulrich Drepper <drepper@gmail.com>
51884
cdf2901f
UD
51885 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51886
38ad40ce
UD
51887 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51888 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51889 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51890 * sysdeps/i386/i686/fpu/e_log.S: New file.
51891 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51892 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51893
396a21b1
UD
51894 * ctype/ctype.h: Add support for inlined isXXX functions when
51895 compiling C++ code.
51896
6b1f68c9
AS
518972011-10-14 Andreas Schwab <schwab@redhat.com>
51898
349290c0
AS
51899 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51900
6b1f68c9
AS
51901 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51902
f2282d42
RM
519032011-10-13 Roland McGrath <roland@hack.frob.com>
51904
51905 [BZ #13291]
51906 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51907
5298ffa8
AS
519082011-10-13 Andreas Schwab <schwab@redhat.com>
51909
714fad23
AS
51910 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51911 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51912 feraiseexcept.
51913
81dcc7fb
AS
51914 * sysdeps/x86_64/memrchr.S: Check for zero size.
51915
5298ffa8
AS
51916 * string/stratcliff.c: Add memrchr tests.
51917
951fbcec
LD
519182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51919
51920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51921 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51922 rawmemchr-sse2 rawmemchr-sse2-bsf.
51923 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51924 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51925 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51926 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51927 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51928 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51929 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51930 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51931 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51932 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51933 * string/memrchr.c (MEMRCHR): New macro.
51934
0ac5ae23
UD
519352011-10-12 Ulrich Drepper <drepper@gmail.com>
51936
51937 Add integration with gcc's -ffinite-math-only and optimize wrapper
51938 functions in libm.
51939 * Versions.def: Define GLIBC_2.15 version for libm.
51940 * math/Makefile (headers): Add bits/math-finite.h.
51941 * math/bits/math-finite.h: New file.
51942 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51943 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51944 * math/e_acoshl.c: Add __*_finite alias.
51945 * math/e_acosl.c: Likewise.
51946 * math/e_asinl.c: Likewise.
51947 * math/e_atan2l.c: Likewise.
51948 * math/e_atanhl.c: Likewise.
51949 * math/e_coshl.c: Likewise.
51950 * math/e_exp10.c: Likewise.
51951 * math/e_exp10f.c: Likewise.
51952 * math/e_exp10l.c: Likewise.
51953 * math/e_exp2l.c: Likewise.
51954 * math/e_fmodl.c: Likewise.
51955 * math/e_gammal_r.c: Likewise.
51956 * math/e_hypotl.c: Likewise.
51957 * math/e_j0l.c: Likewise.
51958 * math/e_j1l.c: Likewise.
51959 * math/e_jnl.c: Likewise.
51960 * math/e_lgammal_r.c: Likewise.
51961 * math/e_log10l.c: Likewise.
51962 * math/e_log2l.c: Likewise.
51963 * math/e_logl.c: Likewise.
51964 * math/e_powl.c: Likewise.
51965 * math/e_sinhl.c: Likewise.
51966 * math/e_sqrtl.c: Likewise.
51967 * math/e_scalb.c: Completely rewritten and optimized.
51968 * math/e_scalbf.c: Likewise.
51969 * math/e_scalbl.c: Likewise.
51970 * math/w_acos.c: Likewise.
51971 * math/w_acosf.c: Likewise.
51972 * math/w_acosl.c: Likewise.
51973 * math/w_acosh.c: Likewise.
51974 * math/w_acoshf.c: Likewise.
51975 * math/w_acoshl.c: Likewise.
51976 * math/w_asin.c: Likewise.
51977 * math/w_asinf.c: Likewise.
51978 * math/w_asinl.c: Likewise.
51979 * math/w_atan2.c: Likewise.
51980 * math/w_atan2f.c: Likewise.
51981 * math/w_atan2l.c: Likewise.
51982 * math/w_atanh.c: Likewise.
51983 * math/w_atanhf.c: Likewise.
51984 * math/w_atanhl.c: Likewise.
51985 * math/w_exp10.c: Likewise.
51986 * math/w_exp10f.c: Likewise.
51987 * math/w_exp10l.c: Likewise.
51988 * math/w_fmod.c: Likewise.
51989 * math/w_fmodf.c: Likewise.
51990 * math/w_fmodl.c: Likewise.
51991 * math/w_j0.c: Likewise.
51992 * math/w_j0f.c: Likewise.
51993 * math/w_j0l.c: Likewise.
51994 * math/w_j1.c: Likewise.
51995 * math/w_j1f.c: Likewise.
51996 * math/w_j1l.c: Likewise.
51997 * math/w_jn.c: Likewise.
51998 * math/w_jnf.c: Likewise.
51999 * math/w_log.c: Likewise.
52000 * math/w_logf.c: Likewise.
52001 * math/w_logl.c: Likewise.
52002 * math/w_log10.c: Likewise.
52003 * math/w_log10f.c: Likewise.
52004 * math/w_log10l.c: Likewise.
52005 * math/w_log2.c: Likewise.
52006 * math/w_log2f.c: Likewise.
52007 * math/w_log2l.c: Likewise.
52008 * math/w_pow.c: Likewise.
52009 * math/w_powf.c: Likewise.
52010 * math/w_powl.c: Likewise.
52011 * math/w_remainder.c: Likewise.
52012 * math/w_remainderf.c: Likewise.
52013 * math/w_remainderl.c: Likewise.
52014 * math/w_scalb.c: Likewise.
52015 * math/w_scalbf.c: Likewise.
52016 * math/w_scalbl.c: Likewise.
52017 * math/w_sqrt.c: Likewise.
52018 * math/w_sqrtf.c: Likewise.
52019 * math/w_sqrtl.c: Likewise.
52020 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52021 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52022 used.
52023 * math/math_private.h: Declare __kernel_standard_f.
52024 * math/w_cosh.c: Remove cruft and optimize a bit.
52025 * math/w_coshf.c: Likewise.
52026 * math/w_coshl.c: Likewise.
52027 * math/w_exp2.c: Likewise.
52028 * math/w_exp2f.c: Likewise.
52029 * math/w_exp2l.c: Likewise.
52030 * math/w_hypot.c: Likewise.
52031 * math/w_hypotf.c: Likewise.
52032 * math/w_hypotl.c: Likewise.
52033 * math/w_lgamma.c: Likewise.
52034 * math/w_lgamma_r.c: Likewise.
52035 * math/w_lgammaf.c: Likewise.
52036 * math/w_lgammaf_r.c: Likewise.
52037 * math/w_lgammal.c: Likewise.
52038 * math/w_lgammal_r.c: Likewise.
52039 * math/w_sinh.c: Likewise.
52040 * math/w_sinhf.c: Likewise.
52041 * math/w_sinhl.c: Likewise.
52042 * math/w_tgamma.c: Likewise.
52043 * math/w_tgammaf.c: Likewise.
52044 * math/w_tgammal.c: Likewise.
52045 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52046 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52047 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52048 Minor optimizations. Pretty printing. Remove cruft.
52049 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52050 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52051 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52052 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52053 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52054 * sysdeps/i386/fpu/e_asin.S: Likewise.
52055 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52056 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52057 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52058 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52059 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52060 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52061 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52062 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52063 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52064 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52065 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52066 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52067 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52068 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52069 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52070 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52071 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52072 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52073 * sysdeps/i386/fpu/e_log.S: Likewise.
52074 * sysdeps/i386/fpu/e_log10.S: Likewise.
52075 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52076 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52077 * sysdeps/i386/fpu/e_log2.S: Likewise.
52078 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52079 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52080 * sysdeps/i386/fpu/e_logf.S: Likewise.
52081 * sysdeps/i386/fpu/e_logl.S: Likewise.
52082 * sysdeps/i386/fpu/e_pow.S: Likewise.
52083 * sysdeps/i386/fpu/e_powf.S: Likewise.
52084 * sysdeps/i386/fpu/e_powl.S: Likewise.
52085 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52086 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52087 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52088 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52089 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52090 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52091 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52092 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52093 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52094 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52095 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52096 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52097 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52098 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52099 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52100 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52101 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52102 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52103 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52104 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52105 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52107 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52108 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52109 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52110 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52111 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52112 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52114 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52115 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52116 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52117 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52118 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52119 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52120 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52121 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52122 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52123 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52124 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52125 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52126 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52127 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52128 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52129 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52130 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52131 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52132 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52133 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52134 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52135 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52136 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52137 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52138 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52139 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52140 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52141 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52142 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52143 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52144 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52145 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52146 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52147 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52148 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52149 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52150 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52151 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52152 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52153 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52154 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52155 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52156 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52157 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52158 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52159 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52160 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52162 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52163 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52164 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52165 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52166 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52167 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52168 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52169 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52170 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52171 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52172 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52173 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52174 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52175 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52177 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52179 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52180 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52181 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52182 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52183 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52184 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52185 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52186 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52187 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52188 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52189 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52190 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52191 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52192 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52193 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52194 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52195 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52196 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52197 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52198 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52199 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52200 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52201 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52202 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52203 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52204 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52205 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52206 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52207 (__isnanf): Likewise.
52208 (__isinf_ns): Likewise.
52209 (__isinf_nsf): Likewise.
52210 (__finite): Likewise.
52211 (__finitef): Likewise.
52212 (__ieee754_sqrt): Define as macro.
52213 (__ieee754_sqrtf): Define as macro.
52214 (__ieee754_sqrtl): Define as macro.
52215 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52216 inlined copy.
52217 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52218 __FINITE_MATH_ONLY__ consistent.
52219 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52220
12cc2fcd
AS
522212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52222
a843a204
AS
52223 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52224 of rawmemchr.
52225
12cc2fcd
AS
52226 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52227
c853acd5
UD
522282011-10-09 Ulrich Drepper <drepper@gmail.com>
52229
52230 * po/ja.po: Update from translation team.
52231
c658d255
RM
522322011-10-08 Roland McGrath <roland@hack.frob.com>
52233
110946e4
RM
52234 * locale/programs/locarchive.c (prepare_address_space): New function.
52235 (create_archive, enlarge_archive, open_archive): Use it.
52236
50604220
RM
52237 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52238 inside [SHARED], where it is used.
52239
c658d255
RM
52240 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52241
52242 * nss/getent.c (netgroup_keys): Remove unused variable.
52243 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52244
6a621eb7
UD
522452011-10-08 Ulrich Drepper <drepper@gmail.com>
52246
7edb55ce
UD
52247 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52248 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52250 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52251 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52253 * math/Makefile (libm-calls): Add s_isinf_ns.
52254 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52255 * math/multc3.c: Likewise.
52256 * math/s_casin.c: Likewise.
52257 * math/s_casinf.c: Likewise.
52258 * math/s_casinl.c: Likewise.
52259 * math/s_ccos.c: Likewise.
52260 * math/s_ccosf.c: Likewise.
52261 * math/s_ccosl.c: Likewise.
52262 * math/s_ctan.c: Likewise.
52263 * math/s_ctanf.c: Likewise.
52264 * math/s_ctanh.c: Likewise.
52265 * math/s_ctanhf.c: Likewise.
52266 * math/s_ctanhl.c: Likewise.
52267 * math/s_ctanl.c: Likewise.
52268 * math/w_fmod.c: Likewise.
52269 * math/w_fmodf.c: Likewise.
52270 * math/w_fmodl.c: Likewise.
52271 * math/w_remainder.c: Likewise.
52272 * math/w_remainderf.c: Likewise.
52273 * math/w_remainderl.c: Likewise.
52274 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52275 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52276 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52278 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52279 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52280 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52281 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52282
187da0ae
UD
52283 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52284 of the number.
52285 * stdio-common/printf_fphex.c: Likewise.
52286 * stdio-common/printf_size.c: Likewise.
52287
9277c064
UD
52288 * math/e_exp10.c: Include math_private.h using <...> not "...".
52289 * math/e_exp10f.c: Likewise.
52290 * math/e_exp10l.c: Likewise.
52291 * math/e_exp2l.c: Likewise.
52292 * math/e_j0l.c: Likewise.
52293 * math/e_j1l.c: Likewise.
52294 * math/e_jnl.c: Likewise.
52295 * math/e_lgammal_r.c: Likewise.
52296 * math/e_rem_pio2l.c: Likewise.
52297 * math/e_scalb.c: Likewise.
52298 * math/e_scalbf.c: Likewise.
52299 * math/e_scalbl.c: Likewise.
52300 * math/k_cosl.c: Likewise.
52301 * math/k_sinl.c: Likewise.
52302 * math/k_tanl.c: Likewise.
52303 * math/s_cacoshf.c: Likewise.
52304 * math/s_catan.c: Likewise.
52305 * math/s_catanf.c: Likewise.
52306 * math/s_catanh.c: Likewise.
52307 * math/s_catanhf.c: Likewise.
52308 * math/s_catanhl.c: Likewise.
52309 * math/s_catanl.c: Likewise.
52310 * math/s_ccosh.c: Likewise.
52311 * math/s_ccoshf.c: Likewise.
52312 * math/s_ccoshl.c: Likewise.
52313 * math/s_cexp.c: Likewise.
52314 * math/s_cexpf.c: Likewise.
52315 * math/s_cexpl.c: Likewise.
52316 * math/s_clog.c: Likewise.
52317 * math/s_clog10.c: Likewise.
52318 * math/s_clog10f.c: Likewise.
52319 * math/s_clog10l.c: Likewise.
52320 * math/s_clogf.c: Likewise.
52321 * math/s_clogl.c: Likewise.
52322 * math/s_csin.c: Likewise.
52323 * math/s_csinf.c: Likewise.
52324 * math/s_csinh.c: Likewise.
52325 * math/s_csinhf.c: Likewise.
52326 * math/s_csinhl.c: Likewise.
52327 * math/s_csinl.c: Likewise.
52328 * math/s_csqrt.c: Likewise.
52329 * math/s_csqrtf.c: Likewise.
52330 * math/s_csqrtl.c: Likewise.
52331 * math/s_ctan.c: Likewise.
52332 * math/s_ctanf.c: Likewise.
52333 * math/s_ctanh.c: Likewise.
52334 * math/s_ctanhf.c: Likewise.
52335 * math/s_ctanhl.c: Likewise.
52336 * math/s_ctanl.c: Likewise.
52337 * math/s_ldexp.c: Likewise.
52338 * math/s_ldexpf.c: Likewise.
52339 * math/s_ldexpl.c: Likewise.
52340 * math/s_significand.c: Likewise.
52341 * math/s_significandf.c: Likewise.
52342 * math/s_significandl.c: Likewise.
52343 * math/w_acos.c: Likewise.
52344 * math/w_acosf.c: Likewise.
52345 * math/w_acosh.c: Likewise.
52346 * math/w_acoshf.c: Likewise.
52347 * math/w_acoshl.c: Likewise.
52348 * math/w_acosl.c: Likewise.
52349 * math/w_asin.c: Likewise.
52350 * math/w_asinf.c: Likewise.
52351 * math/w_asinl.c: Likewise.
52352 * math/w_atan2.c: Likewise.
52353 * math/w_atan2f.c: Likewise.
52354 * math/w_atan2l.c: Likewise.
52355 * math/w_atanh.c: Likewise.
52356 * math/w_atanhf.c: Likewise.
52357 * math/w_atanhl.c: Likewise.
52358 * math/w_cosh.c: Likewise.
52359 * math/w_coshf.c: Likewise.
52360 * math/w_coshl.c: Likewise.
52361 * math/w_dremf.c: Likewise.
52362 * math/w_exp10.c: Likewise.
52363 * math/w_exp10f.c: Likewise.
52364 * math/w_exp10l.c: Likewise.
52365 * math/w_exp2.c: Likewise.
52366 * math/w_exp2f.c: Likewise.
52367 * math/w_fmod.c: Likewise.
52368 * math/w_fmodf.c: Likewise.
52369 * math/w_fmodl.c: Likewise.
52370 * math/w_hypot.c: Likewise.
52371 * math/w_hypotf.c: Likewise.
52372 * math/w_hypotl.c: Likewise.
52373 * math/w_j0.c: Likewise.
52374 * math/w_j0f.c: Likewise.
52375 * math/w_j0l.c: Likewise.
52376 * math/w_j1.c: Likewise.
52377 * math/w_j1f.c: Likewise.
52378 * math/w_j1l.c: Likewise.
52379 * math/w_jn.c: Likewise.
52380 * math/w_jnf.c: Likewise.
52381 * math/w_jnl.c: Likewise.
52382 * math/w_lgamma.c: Likewise.
52383 * math/w_lgamma_r.c: Likewise.
52384 * math/w_lgammaf.c: Likewise.
52385 * math/w_lgammaf_r.c: Likewise.
52386 * math/w_lgammal.c: Likewise.
52387 * math/w_lgammal_r.c: Likewise.
52388 * math/w_log.c: Likewise.
52389 * math/w_log10.c: Likewise.
52390 * math/w_log10f.c: Likewise.
52391 * math/w_log10l.c: Likewise.
52392 * math/w_log2.c: Likewise.
52393 * math/w_log2f.c: Likewise.
52394 * math/w_log2l.c: Likewise.
52395 * math/w_logf.c: Likewise.
52396 * math/w_logl.c: Likewise.
52397 * math/w_pow.c: Likewise.
52398 * math/w_powf.c: Likewise.
52399 * math/w_powl.c: Likewise.
52400 * math/w_remainder.c: Likewise.
52401 * math/w_remainderf.c: Likewise.
52402 * math/w_remainderl.c: Likewise.
52403 * math/w_scalb.c: Likewise.
52404 * math/w_scalbf.c: Likewise.
52405 * math/w_scalbl.c: Likewise.
52406 * math/w_sinh.c: Likewise.
52407 * math/w_sinhf.c: Likewise.
52408 * math/w_sinhl.c: Likewise.
52409 * math/w_sqrt.c: Likewise.
52410 * math/w_sqrtf.c: Likewise.
52411 * math/w_sqrtl.c: Likewise.
52412 * math/w_tgamma.c: Likewise.
52413 * math/w_tgammaf.c: Likewise.
52414 * math/w_tgammal.c: Likewise.
52415
6a621eb7
UD
52416 * po/ja.po: Update from translation team.
52417
bf582445
AJ
524182011-09-29 Andreas Jaeger <aj@suse.de>
52419
f9efbf3a
AJ
52420 [BZ #13179]
52421 * sunrpc/netname.c (netname2host): Fix logic.
52422
bf582445
AJ
52423 [BZ #6779]
52424 [BZ #6783]
52425 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52426 correctly.
52427 * math/w_remainder.c (__remainder): Likewise.
52428 * math/w_remainderf.c (__remainderf): Likewise.
52429 * math/libm-test.inc (remainder_test): Add test cases.
52430
48693bea
AK
524312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52432
52433 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52434 sdiv_qrnnd.
52435
42622229
LD
524362011-10-07 Ulrich Drepper <drepper@gmail.com>
52437
52438 * string/test-memcmp.c: Avoid unncessary #defines.
52439 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52440
093ecf92
LD
524412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52442
52443 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52444 Use new sse2 version for core i3 - i7 as it's faster
52445 than sse42 version.
52446 (bit_Prefer_PMINUB_for_stringop): New.
52447 * sysdeps/x86_64/rawmemchr.S: Update.
52448 Replace with faster SSE2 version.
52449 * sysdeps/x86_64/memrchr.S: New file.
52450 * sysdeps/x86_64/memchr.S: Update.
52451 Replace with faster SSE2 version.
52452
fde56e5c
MP
524532011-09-12 Marek Polacek <mpolacek@redhat.com>
52454
52455 * elf/dl-load.c (lose): Add cast to avoid warning.
52456
21fd49a9
UD
524572011-10-07 Ulrich Drepper <drepper@gmail.com>
52458
5a06e643
UD
52459 * po/ca.po: Update from translation team.
52460
684ae515
UD
52461 * inet/getnetgrent_r.c: Hook up nscd.
52462 * nscd/Makefile (routines): Add nscd_netgroup.
52463 (nscd-modules): Add netgroupcache.
52464 (CFLAGS-netgroupcache.c): Define.
52465 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52466 (cache_search): Add const to second parameter.
52467 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52468 INNETGR.
52469 (dbs): Add netgrdb entry.
52470 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52471 (verify_persistent_db): Handle netgrdb.
52472 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52473 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52474 GETFDNETGR.
52475 (netgroup_response_header): Define.
52476 (innetgroup_response_header): Define.
52477 (datahead): Add netgroup_response_header and innetgroup_response_header
52478 elements.
52479 * nscd/nscd.conf: Add entries for netgroup cache.
52480 * nscd/nscd.h (dbtype): Add netgrdb.
52481 (_PATH_NSCD_NETGROUP_DB): Define.
52482 (netgroup_iov_disabled): Declare.
52483 (xmalloc, xcalloc, xrealloc): Move declarations here.
52484 (cache_search): Adjust prototype.
52485 Add netgroup-related prototypes.
52486 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52487 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52488 (__nscd_innetgr): Declare.
52489 * nscd/selinux.c (perms): Use access_vector_t as element type and
52490 add netgroup-related initializers.
52491 * nscd/netgroupcache.c: New file.
52492 * nscd/nscd_netgroup.c: New file.
52493 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52494 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52495 For four parameters use innetgr.
52496 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52497 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52498 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52499 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52500
21fd49a9
UD
52501 * nscd/connections.c (register_traced_file): Don't register file
52502 for disabled databases.
52503
054c0457
UD
525042011-10-06 Ulrich Drepper <drepper@gmail.com>
52505
32b63198
UD
52506 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52507
054c0457
UD
52508 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52509 from tree and freeing node.
52510
64031225
JO
525112011-09-25 Jiri Olsa <jolsa@redhat.com>
52512
52513 * nss/nsswitch.c (__nss_database_lookup): Handle
52514 nss_parse_service_list out of memory case.
52515
0490345c
JO
525162011-09-15 Jiri Olsa <jolsa@redhat.com>
52517
52518 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52519 out of memory case.
52520
3a62d00d
AS
525212011-10-04 Andreas Schwab <schwab@redhat.com>
52522
52523 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52524 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52525 pass it down.
52526 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52527 elf_machine_rela, elf_machine_lazy_rel.
52528 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52529 (ELF_DYNAMIC_DO_REL): Likewise.
52530 (ELF_DYNAMIC_DO_RELA): Likewise.
52531 (ELF_DYNAMIC_RELOCATE): Likewise.
52532 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52533 to ELF_DYNAMIC_DO_REL.
52534 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52535 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52536 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52537 elf_machine_rela.
52538 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52539 skip_ifunc, don't call ifunc function if non-zero.
52540 (elf_machine_rela): Likewise.
52541 (elf_machine_lazy_rel): Likewise.
52542 (elf_machine_lazy_rela): Likewise.
52543 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52544 (elf_machine_lazy_rel): Likewise.
52545 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52546 Likewise.
52547 (elf_machine_lazy_rel): Likewise.
52548 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52549 Likewise.
52550 (elf_machine_lazy_rel): Likewise.
52551 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52552 (elf_machine_lazy_rel): Likewise.
52553 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52554 (elf_machine_lazy_rel): Likewise.
52555 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52556 (elf_machine_lazy_rel): Likewise.
52557 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52558 (elf_machine_lazy_rel): Likewise.
52559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52560 (elf_machine_lazy_rel): Likewise.
52561 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52562 (elf_machine_lazy_rel): Likewise.
52563
68577918
UD
525642011-09-28 Ulrich Drepper <drepper@gmail.com>
52565
52566 * nss/nss_files/files-init.c (_nss_files_init): Use static
52567 initialization for all the *_traced_file variables.
52568
68822d74
AS
525692011-09-28 Andreas Schwab <schwab@redhat.com>
52570
52571 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52572
2056100b
RM
525732011-09-27 Roland McGrath <roland@hack.frob.com>
52574
52575 [BZ #13226]
52576 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52577
32c76b63
AS
525782011-09-27 Andreas Schwab <schwab@redhat.com>
52579
52580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52581 Reread the line before reparsing it.
52582
bf972c9d
AS
525832011-09-26 Andreas Schwab <schwab@redhat.com>
52584
52585 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52586
e057a1b5
JM
525872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52588 Maxim Kuvyrkov <maxim@codesourcery.com>
52589 Joseph Myers <joseph@codesourcery.com>
52590
52591 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52592 if needed for __stack_chk_guard.
52593
bc7e1c36
RM
525942011-09-19 Roland McGrath <roland@hack.frob.com>
52595
ecb1482f
RM
52596 * sysdeps/posix/spawni.c (script_execute): Always define it.
52597 It will be optimized away if unused.
52598 (maybe_script_execute): New function.
52599 (__spawni): Call it.
52600
bc7e1c36
RM
52601 * Makerules: Don't include tls.make.
52602 (config-tls): Always set to thread.
52603 * tls.make.c: File removed.
52604
1c3b002b
MF
526052011-09-19 Mike Frysinger <vapier@gentoo.org>
52606
52607 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52608 * config.make.in (CPPFLAGS-config): New substituted variable.
52609
2840865d
UD
526102011-09-15 Ulrich Drepper <drepper@gmail.com>
52611
88738eb6
UD
52612 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52613
cbf645a6 52614 [BZ #13192]
2840865d
UD
52615 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52616 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52617
b402e91a
RM
526182011-09-15 Roland McGrath <roland@hack.frob.com>
52619
52620 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52621 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52623 (CALL_FAIL): Likewise.
52624 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52625 (CALL_FAIL): Macro removed.
52626 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52627
4c1a1f71
UD
526282011-09-15 Ulrich Drepper <drepper@gmail.com>
52629
52630 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52631 for __FINITE_MATH_ONLY__ == 1.
52632
edc121be
AS
526332011-09-15 Andreas Schwab <schwab@redhat.com>
52634
52635 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52636 __ieee754_sqrt instead of sqrt.
52637 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52638 __ieee754_sqrtf instead of sqrtf.
52639 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52640 __floorf instead of floorf.
52641 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52642 __floorf, __truncf instead of floorf, truncf.
52643
cd205654
UD
526442011-09-14 Ulrich Drepper <drepper@gmail.com>
52645
ee4d0315
UD
52646 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52647
cd205654
UD
52648 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52649 __extern_always_inline.
52650 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52651 32-bit.
52652
48b67d71
AS
526532011-09-14 Andreas Schwab <schwab@redhat.com>
52654
52655 * elf/rtld.c (dl_main): Also relocate in dependency order when
52656 doing symbol dependency testing.
52657
1ae12c75
AS
526582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52659
52660 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52661 Always define `refsym'.
52662
995a80df
AS
526632011-09-13 Andreas Schwab <schwab@redhat.com>
52664
e529793b
AS
52665 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52666 (__FD_ELT): Renamed from __FDELT.
52667 * misc/bits/select2.h (__FD_ELT): Likewise.
52668 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52669 __FD_MASK instead of __FDELT, __FDMASK.
52670 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52671 Likewise.
52672 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52673 Likewise.
52674
52d4fef8
AS
52675 * elf/Makefile (gen-ldd): Fix pattern.
52676
995a80df
AS
52677 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52678 (init_tls): Likewise.
52679
8682f8b0
UD
526802011-09-12 Ulrich Drepper <drepper@gmail.com>
52681
52682 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52683
de82006d
AS
526842011-09-12 Andreas Schwab <schwab@redhat.com>
52685
a7c8e6a1
AS
52686 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52687 `struct cmsghdr *' instead of `void *'.
52688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52689 Likewise.
52690
0f31fe77
AS
526912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52692
52693 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52694 if non-absolute.
52695 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52696 ldd_rewrite_script.
0f31fe77 52697
32b4c839
UD
526982011-09-11 Ulrich Drepper <drepper@gmail.com>
52699
83cd1420
UD
52700 * configure.in: Remove --with-tls option.
52701 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52702 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52703 out in case it is missing.
52704 * sysdeps/ia64/elf/configure.in: Likewise.
52705 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52706 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52707 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52708 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52709 * sysdeps/sh/elf/configure.in: Likewise.
52710 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52711 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52712 * sysdeps/x86_64/elf/configure.in: Likewise.
52713 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52714 * sysdeps/mach/hurd/tls.h: Likewise.
52715
633f745d
UD
52716 [BZ #13067]
52717 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52718
f318beb8
UD
52719 [BZ #13090]
52720 * configure.in: Fix use of AC_INIT.
52721
32b4c839
UD
52722 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52723
3ce1f295
UD
527242011-09-10 Ulrich Drepper <drepper@gmail.com>
52725
bb016596
UD
52726 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52727 __set_errno.
8e58439c
UD
52728 * malloc/hooks.c: Likewise.
52729
aebae053 52730 [BZ #11929]
02d46fc4
UD
52731 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52732 variables statically.
52733 (narenas): Initialize.
52734 (list_lock): Initialize.
bb016596
UD
52735 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52736 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52737 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52738 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52739 Add initializers to main_arena and mp_.
52740 (malloc_state): Remove pagesize member. Change all users to use
52741 GLRO(dl_pagesize).
52742
52743 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52744 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52745 is always initialized.
52746
22a89187
UD
52747 * malloc/malloc.c: Removed unused configurations and dead code.
52748 * malloc/arena.c: Likewise.
52749 * malloc/hooks.c: Likewise.
02d46fc4 52750 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52751
d063d164
UD
52752 * include/tls.h: Removed. USE___THREAD must always be defined.
52753 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52754 * elf/dl-libc.c: Likewise.
52755 * elf/dl-tsd.c: Likewise.
52756 * include/errno.h: Likewise.
52757 * include/netdb.h: Likewise.
52758 * include/resolv.h: Likewise.
52759 * inet/herrno-loc.c: Likewise.
52760 * inet/herrno.c: Likewise.
52761 * malloc/arena.c: Likewise.
52762 * malloc/hooks.c: Likewise.
52763 * malloc/malloc.c: Likewise.
52764 * resolv/res-state.c: Likewise.
52765 * resolv/res_libc.c: Likewise.
52766 * sysdeps/i386/dl-machine.h: Likewise.
52767 * sysdeps/ia64/dl-machine.h: Likewise.
52768 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52769 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52770 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52771 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52772 * sysdeps/sh/dl-machine.h: Likewise.
52773 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52774 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52775 * sysdeps/unix/i386/sysdep.S: Likewise.
52776 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52777 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52778 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52780 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52782 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52786 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52787 * sysdeps/x86_64/dl-machine.h: Likewise.
52788 * tls.make.c: Likewise.
52789
3ce1f295
UD
52790 * configure.in: Remove --with-__thread option. Make tests for
52791 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52792 tls_model attribute fail if no support is available. Remove
52793 USE_IN_LIBIO.
52794 * Makeconfig: Adjust for dropped configure option. All features are
52795 now mandatory.
52796 * Makerules: Likewise.
52797 * Versions.def: Likewise.
52798 * argp/argp-fmtstream.c: Likewise.
52799 * argp/argp-fmtstream.h: Likewise.
52800 * argp/argp-help.c: Likewise.
52801 * assert/assert.c: Likewise.
52802 * config.h.in: Likewise.
52803 * config.make.in: Likewise.
52804 * configure: Likewise.
52805 * configure.in: Likewise.
52806 * csu/Versions: Likewise.
52807 * csu/init.c: Likewise.
52808 * elf/tst-audit2.c: Likewise.
52809 * elf/tst-tls10.c: Likewise.
52810 * elf/tst-tls10.h: Likewise.
52811 * elf/tst-tls11.c: Likewise.
52812 * elf/tst-tls12.c: Likewise.
52813 * elf/tst-tls14.c: Likewise.
52814 * elf/tst-tlsmod11.c: Likewise.
52815 * elf/tst-tlsmod12.c: Likewise.
52816 * elf/tst-tlsmod13.c: Likewise.
52817 * elf/tst-tlsmod13a.c: Likewise.
52818 * elf/tst-tlsmod14a.c: Likewise.
52819 * elf/tst-tlsmod15b.c: Likewise.
52820 * elf/tst-tlsmod16a.c: Likewise.
52821 * elf/tst-tlsmod16b.c: Likewise.
52822 * elf/tst-tlsmod7.c: Likewise.
52823 * elf/tst-tlsmod8.c: Likewise.
52824 * elf/tst-tlsmod9.c: Likewise.
52825 * gmon/gmon.c: Likewise.
52826 * grp/fgetgrent_r.c: Likewise.
52827 * grp/putgrent.c: Likewise.
52828 * hurd/fopenport.c: Likewise.
52829 * include/libc-symbols.h: Likewise.
52830 * include/tls.h: Likewise.
52831 * intl/gettextP.h: Likewise.
52832 * intl/loadinfo.h: Likewise.
52833 * locale/global-locale.c: Likewise.
52834 * locale/localeinfo.h: Likewise.
52835 * mach/devstream.c: Likewise.
52836 * malloc/arena.c: Likewise.
52837 * malloc/set-freeres.c: Likewise.
52838 * misc/err.c: Likewise.
52839 * misc/getttyent.c: Likewise.
52840 * misc/mntent_r.c: Likewise.
52841 * posix/getopt.c: Likewise.
52842 * posix/wordexp.c: Likewise.
52843 * pwd/fgetpwent_r.c: Likewise.
52844 * resolv/Versions: Likewise.
52845 * resolv/res_hconf.c: Likewise.
52846 * shadow/fgetspent_r.c: Likewise.
52847 * shadow/putspent.c: Likewise.
52848 * stdio-common/printf_fphex.c: Likewise.
52849 * stdio-common/tmpfile.c: Likewise.
52850 * stdlib/abort.c: Likewise.
52851 * stdlib/fmtmsg.c: Likewise.
52852 * sunrpc/auth_unix.c: Likewise.
52853 * sunrpc/clnt_perr.c: Likewise.
52854 * sunrpc/clnt_tcp.c: Likewise.
52855 * sunrpc/clnt_udp.c: Likewise.
52856 * sunrpc/clnt_unix.c: Likewise.
52857 * sunrpc/openchild.c: Likewise.
52858 * sunrpc/svc_simple.c: Likewise.
52859 * sunrpc/svc_tcp.c: Likewise.
52860 * sunrpc/svc_udp.c: Likewise.
52861 * sunrpc/svc_unix.c: Likewise.
52862 * sunrpc/xdr.c: Likewise.
52863 * sunrpc/xdr_array.c: Likewise.
52864 * sunrpc/xdr_rec.c: Likewise.
52865 * sunrpc/xdr_ref.c: Likewise.
52866 * sunrpc/xdr_stdio.c: Likewise.
52867
1248c1c4
PB
528682011-09-09 Ulrich Drepper <drepper@gmail.com>
52869
52870 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52871
528722011-07-03 Andreas Jaeger <aj@suse.de>
52873
52874 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52875 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52876 regenerate with gen-libm-tests.pl.
52877
528782010-05-12 Petr Baudis <pasky@suse.cz>
52879
52880 [BZ #11589]
52881 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52882 around j0() zero points by switching to j1().
52883 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52884 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52886 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52887
f22e1074
UD
528882011-09-09 Ulrich Drepper <drepper@gmail.com>
52889
f19009c1
UD
52890 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52891 instead of 0.
52892 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52893 instead of 0.
f19009c1
UD
52894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52895 Patch in part by Pavel Roskin <proski@gnu.org>.
52896
3f8cc204
UD
52897 [BZ #13138]
52898 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52899 realloc.
52900 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52901 Free memory block if necessary.
52902
f22e1074
UD
52903 [BZ #12847]
52904 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52905 be NULL. Don't lock in this case.
52906
0a2349f9
RM
529072011-09-09 Roland McGrath <roland@hack.frob.com>
52908
52909 * elf/elf.h (ELFOSABI_GNU): New macro.
52910 (ELFOSABI_LINUX): Define to that.
52911
f3cdd467
DZ
529122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52913
52914 * string/strncat.c (strncat): Undef the symbol in case it has been
52915 defined in bits/string.h.
52916
74718d13
UD
529172011-09-09 Ulrich Drepper <drepper@gmail.com>
52918
633e9e0f
UD
52919 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52920
0a2349f9 52921 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52922 link map.
52923
f9924780
AJ
529242011-08-17 Andreas Jaeger <aj@suse.de>
52925
52926 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52927
7f5517aa
PP
529282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52929 Ian Lance Taylor <iant@google.com>
52930
52931 * math/libm-test.inc (lround_test): New testcase.
52932 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52933
762011fe
UD
529342011-09-08 Ulrich Drepper <drepper@gmail.com>
52935
92963737
UD
52936 * Makefile: Remove support for automatic cvs check-ins.
52937 * Makerules: Likewise.
52938 * config.make.in: Likewise.
52939 * configure.in: Likewise.
52940 * intl/Makefile: Likewise.
52941 * locale/Makefile: Likewise.
52942 * po/Makefile: Likewise.
52943 * posix/Makefile: Likewise.
52944 * sysdeps/gnu/Makefile: Likewise.
52945 * sysdeps/mach/hurd/Makefile: Likewise.
52946 * sysdeps/sparc/sparc32/Makefile: Likewise.
52947
b0727fd8
JS
52948 [BZ #13118]
52949 * posix/Makefile (bug-regex32-ENV): Define.
52950 Patch by John Stanley <jpsinthemix@verizon.net>.
52951
a0f33f99
UD
52952 * misc/Makefile (headers): Add bits/select2.h.
52953 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52954 * misc/bits/select2.h: New file.
52955 * include/bits/select2.h: New file.
52956 * debug/Makefile (routines): Add fdelt_chk.
52957 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52958 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52959 FD_ISSET.
52960 * debug/fdelt_chk.c: New file.
52961
762011fe
UD
52962 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52963 * wcsmbs/test-wmemcmp.c: Likewise.
52964 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52965 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52966
529672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52968
52969 * string/Makefile (strop-tests): Add memcmp.
52970 * string/test-wmemcmp.c: New file.
52971 * string/test-memcmp.c: Add wmemcmp support.
52972
7f513ec8
RM
529732011-09-08 Roland McGrath <roland@hack.frob.com>
52974
0442afb4
RM
52975 [BZ #13153]
52976 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52977 2011-07-19 change.
52978
7f513ec8
RM
52979 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52980 garbage value in a __mach_port_mod_refs call in the cases of the
52981 task-self and thread-self ports.
52982
a12b2239
ST
529832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52984
52985 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52986
610f9ab4
AS
529872011-09-08 Andreas Schwab <schwab@redhat.com>
52988
7f513ec8 52989 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52990
48882a1a
LD
529912011-09-07 Ulrich Drepper <drepper@gmail.com>
52992
b49865be
UD
52993 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52994
fdc86bc9
UD
52995 * elf/dl-libc.c (dlerror_run): Pass back error code from
52996 dl_catch_error.
52997
c966526a
UD
52998 [BZ #13123]
52999 * elf/dl-load.c (lose): Free l_origin if it is valid.
53000
48882a1a
LD
53001 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53002 names.
53003 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53004 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53006 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53007 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53008 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53009
77a2a8b4
AZ
530102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53011
53012 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53013 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53014 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53015 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53016 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53017 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53018 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53019 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53020 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53021 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53022
24f579d8
AM
530232011-08-15 Alan Modra <amodra@gmail.com>
53024
53025 [BZ #13092]
53026 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53027 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53028 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53029 ppc_mcount to static-only-routines.
53030 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53031 __mcount_internal.
53032 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53033 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53034
3d4837df
UD
530352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53036
53037 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53038 for finite and infinity parameters.
53039
22700377
WS
530402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53041
53042 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53043 and add nop instructions for throughput optimization.
53044 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53045
5025581e
WS
530462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53047
53048 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53049 aligned copy for power7 with vector-scalar instructions.
53050 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53051
08a300c9
L
530522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53053
53054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53055 AVX check.
53056
59178ef9
AS
530572011-09-07 Andreas Schwab <schwab@redhat.com>
53058
53059 [BZ #13144]
53060 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53061 last change.
53062
e38ba7ab
UD
530632011-09-07 Ulrich Drepper <drepper@gmail.com>
53064
53065 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53066 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53067 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53068 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53069 clock_gettime.
53070
d53a73ac
UD
530712011-09-06 Ulrich Drepper <drepper@gmail.com>
53072
fc8bffcc
UD
53073 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53074 Forgot to demangle the pointer.
53075
ceaa0c5d
UD
53076 * sysdeps/i386/sysdep.h: Define atom_text_section.
53077 * sysdeps/x86_64/sysdep.h: Likewise.
53078 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53079 section with atom_text_section.
53080 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53081 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53082 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53084 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53085
a77d3c17
UD
53086 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53087 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53088 already be defined. Change to take two parameters and don't assign
53089 result to variable. Adjust all users.
53090 Define INTERNAL_GETTIME if not already defined.
53091 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53092 call.
53093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53094 HAVE_CLOCK_GETTIME_VSYSCALL.
53095 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53096
d53a73ac
UD
53097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53098 gettimeofday vsyscall, just use time.
53099
a8f84144
AS
531002011-09-06 Andreas Schwab <schwab@redhat.com>
53101
53102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53103 <errno.h>.
53104
ef606249
UD
531052011-09-06 Ulrich Drepper <drepper@gmail.com>
53106
53107 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53108 syscall on x86-64.
53109 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53110 syscall.
53111 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53112 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53113 syscall if possible.
53114
6585cb60
UD
531152011-09-05 Ulrich Drepper <drepper@gmail.com>
53116
53117 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53118 e_ident. Don't pass to find_mapsXX.
53119 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53120
a5f524e4
LD
531212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53122
53123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53124 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53125 * sysdeps/x86_64/multiarch/strchr.S: Update.
53126 Check bit_slow_BSF bit.
53127 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53128 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53129 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53130
554881ef
UD
531312011-09-05 Ulrich Drepper <drepper@gmail.com>
53132
d96de963
UD
53133 [BZ #13134]
53134 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53135 before glibc 2.15.
53136 (tryshell): Define.
53137 (__spawni): Change last parameter to be flag. Test
53138 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53139 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53140 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53141 * posix/spawni.c: Likewise.
53142 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53143 * posix/spawnp.c: Likewise. Change normal version to use
53144 SPAWN_XFLAGS_USE_PATH.
53145 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53146 SPAWN_XFLAGS_TRY_SHELL.
53147
d48e5868
UD
53148 [BZ #13150]
53149 * posix/glob.h: Remove gcc 1.x support.
53150
554881ef
UD
53151 [BZ #13068]
53152 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53153
693fb948
LD
531542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53155
53156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53157 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53158 strrchr-sse2-bsf
53159 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53160 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53161 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53162 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53163 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53164 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53165
1b48c537
UD
531662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53167
49d42c37
UD
53168 * sysdeps/x86_64/wcscmp.S: New file.
53169
1b48c537
UD
53170 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53171 wcscmp-c wcscmp-sse2
53172 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53173 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53174 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53175 * wcsmbs/wcscmp.c: Allow renaming.
53176
15c95c5d
DM
531772011-09-05 David S. Miller <davem@davemloft.net>
53178
53179 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53180 stack slot, rather than the struct return pointer slot.
53181 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53182 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53184 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53185
2f0ad8f3
UD
531862011-09-05 Ulrich Drepper <drepper@gmail.com>
53187
d88ae418
UD
53188 * po/ja.po: Update from translation team.
53189
2f0ad8f3
UD
53190 [BZ #13144]
53191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53192 kernel in 64-bit binaries.
53193
5f4318d1
DM
531942011-09-01 David S. Miller <davem@davemloft.net>
53195
53196 * elf/elf.h (HWCAP_SPARC_*): Move to..
53197 * sysdeps/sparc/sysdep.h: this new file and add new values.
53198 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53199 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53200 _DL_HWCAP_COUNT to 24.
53201 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53202 entries.
53203 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53204 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53205 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53207 instead of magic constants.
53208 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53209
3ba57516
DM
532102011-08-31 David S. Miller <davem@davemloft.net>
53211
53212 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53214 Reimplement to do errno handling inline.
53215 (SYSCALL_ERROR_HANDLER): New macro.
53216 (__SYSCALL_STRING): Do not do errno handling in asm.
53217 (__CLONE_SYSCALL_STRING): Delete.
53218 (__INTERNAL_SYSCALL_STRING): Delete.
53219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53220 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53221 (PSEUDO): Reimplement to do errno handling inline.
53222 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53223 (SYSCALL_ERROR_HANDLER): New macro.
53224 (__SYSCALL_STRING): Do not do errno handling in asm.
53225 (__CLONE_SYSCALL_STRING): Delete.
53226 (__INTERNAL_SYSCALL_STRING): Delete.
53227 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53228 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53229 i386.
53230 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53231 (inline_syscall*): Add 'err' argument.
53232 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53233 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53234 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53235 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53236
53237 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53238 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53239
2bc17433
AS
532402011-08-30 Andreas Schwab <schwab@redhat.com>
53241
53242 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53243
fbeb5f4d
JO
532442011-08-29 Jiri Olsa <jolsa@redhat.com>
53245
53246 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53247 directive.
53248
ad69cc26
DM
532492011-08-24 David S. Miller <davem@davemloft.net>
53250
53251 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53252
39dd69df
AS
532532011-08-24 Andreas Schwab <schwab@redhat.com>
53254
53255 * elf/Makefile: Add rules to build and run unload8 test.
53256 * elf/unload8.c: New file.
53257 * elf/unload8mod1.c: New file.
53258 * elf/unload8mod1x.c: New file.
53259 * elf/unload8mod2.c: New file.
53260 * elf/unload8mod3.c: New file.
53261
53262 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53263 it wasn't used.
53264
2c0b250a
DM
532652011-08-23 David S. Miller <davem@davemloft.net>
53266
53267 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53268 subtract stack bias.
53269 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53270 %sp not %fp in calculations.
53271 (_JMPBUF_UNWINDS_ADJ): Likewise.
53272
22044b48
DM
53273 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53274 (aio_suspend): Call it to force an exception region around the
53275 AIO_MISC_WAIT() invocation.
53276
2cae4995
AS
532772011-08-23 Andreas Schwab <schwab@redhat.com>
53278
53279 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53280 backslash.
53281
873a772e
AJ
532822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53283
53284 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53285 protection macro.
53286 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53287 and <dl-machine.h>.
53288 (Elf64_FuncDesc): Remove.
53289
25ad0df1
DM
532902011-08-22 David S. Miller <davem@davemloft.net>
53291
53292 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53293 sigaltstack check, add missing cfi directives.
53294 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53295 missing cfi directives, and sigaltstack handling.
53296
e888bcbe
AS
532972011-08-16 Andreas Schwab <schwab@redhat.com>
53298
53299 [BZ #11724]
53300 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53301 object is seen twice.
53302 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53303
53304 * elf/Makefile (distribute): Add tst-initorder2.c.
53305 (tests): Add tst-initorder2.
53306 (modules-names): Add tst-initorder2a tst-initorder2b
53307 tst-initorder2c tst-initorder2d. Add rules to build them.
53308 ($(objpfx)tst-initorder2.out): New rule.
53309 * elf/tst-initorder2.c: New file.
53310 * elf/tst-initorder2.exp: New file.
53311
87162f46
AS
533122011-08-22 Andreas Schwab <schwab@redhat.com>
53313
70538b7f
AS
53314 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53315
f55ffe58
AS
53316 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53317 dependencies back to end of function.
53318
87162f46
AS
53319 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53320 $(elfobjdir)/ld.so.
53321
91b392a4
UD
533222011-08-21 Ulrich Drepper <drepper@gmail.com>
53323
53324 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53325 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53326 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53327 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53328 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53329 of __vdso_gettimeofday.
53330 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53331 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53332 attribute_hidden.
53333 (_libc_vdso_platform_setup): Remove initialization of
53334 __vdso_gettimeofday and __vdso_time.
53335
5c43483f
UD
533362011-08-20 Ulrich Drepper <drepper@gmail.com>
53337
775a77e7
UD
53338 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53339 and fgetc_unlocked.
53340 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53341 getc_unlocked.
89f447ed 53342
49c74ba9
UD
53343 * elf/dl-open.c (add_to_global): Report additions to the global scope
53344 for LD_DEBUG=scopes.
53345 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53346 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53347
5c43483f
UD
53348 [BZ #13114]
53349 * stdio-common/Makefile (tests): Add bug24.
53350 * stdio-common/bug24.c: New file.
53351
a101b025
AJ
533522011-08-19 Andreas Jaeger <aj@suse.de>
53353
53354 [BZ #13114]
53355 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53356 non-existant file when using close-on-exec mode.
53357
c88f1766
UD
533582011-08-20 Ulrich Drepper <drepper@gmail.com>
53359
0276a718
UD
53360 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53361 the very first instruction.
53362
c88f1766
UD
53363 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53364 the CFI state in the end.
53365 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53366 inclusion of dl-trampoline.h.
53367 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53368
51ccffa0
AS
533692011-08-19 Andreas Schwab <schwab@redhat.com>
53370
94d7165f
AS
53371 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53372 expectations for long double.
53373
51ccffa0
AS
53374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53375 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53376
fd708658 533772011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53378
53379 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53380 artificual limit depends upon the system page size.
53381
44f0a71e
UD
533822011-08-17 Ulrich Drepper <drepper@gmail.com>
53383
53384 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53385 * resolv/Makefile: Define CFLAGS-libresolv.
53386
8de79a24
AS
533872011-08-17 Andreas Schwab <schwab@redhat.com>
53388
53389 * nss/makedb.c (compute_tables): Make variables used in nested
53390 function static.
53391
27724598
UD
533922011-08-17 Ulrich Drepper <drepper@gmail.com>
53393
c5305d88
UD
53394 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53395 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53396 if buffer was too small.
53397
27724598
UD
53398 * elf/pldd.c (main): Attach to all threads in the process.
53399 Rewrite /proc handling to use *at functions.
53400
076fe015
UD
534012011-08-16 Ulrich Drepper <drepper@gmail.com>
53402
174baab3
UD
53403 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53404 specifies first scope to show.
53405 (dl_open_worker): Update callers. Move printing scope of new
53406 object to before the relocation.
44f0a71e 53407 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53408 * sysdeps/generic/ldsodefs.h: Update declaration.
53409
076fe015
UD
53410 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53411 string for the scope number.
53412
a60df2c3
UD
534132011-08-14 Ulrich Drepper <drepper@gmail.com>
53414
53415 * nscd/servicescache.c (cache_addserv): Make sure written is always
53416 initialized.
53417
5e4287d1
RM
534182011-08-14 Roland McGrath <roland@hack.frob.com>
53419
85ae0589
RM
53420 * sysdeps/i386/i486/bits/atomic.h
53421 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53422 statement expression, so as to suppress "set but not used" warning.
53423 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53424
69f63097
RM
53425 * string/strncat.c (STRNCAT): Use prototype definition.
53426
675456ef
RM
53427 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53428 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53429 -Iprograms here.
53430 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53431 (localedef-modules): Add localedef.
53432 (locale-modules): Add locale.
53433
5e4287d1
RM
53434 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53435 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53436 to avoid a warning.
53437
9c96ff23
DM
534382011-08-14 David S. Miller <davem@davemloft.net>
53439
53440 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53441 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53442
f9ddf089
UD
534432011-08-13 Ulrich Drepper <drepper@gmail.com>
53444
44f0a71e 53445 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53446 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53447 * elf/rtld.c (dl_main): Set l_name of vDSO.
53448 Call _dl_show_scope when DL_DEBUG_SCOPES.
53449 (process_dl_debug): Recognize scopes flag and also set it for all.
53450 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53451 Declare _dl_show_scope.
53452
1dc27704
UD
53453 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53454 (do_dlopen): Pass caller_dlopen to dl_open.
53455 (__libc_dlopen_mode): Initialize caller_dlopen.
53456
f9ddf089
UD
53457 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53458 of libc. Make tolower call locale-independent. Optimize a bit by
53459 using isdigit instead of isalnum.
53460 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53461
9ac533d3
UD
534622011-08-12 Ulrich Drepper <drepper@gmail.com>
53463
53464 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53465 was a dependency or dynamically loaded.
53466
89edf2e9
UD
534672011-08-11 Ulrich Drepper <drepper@gmail.com>
53468
8e999d29
UD
53469 * intl/l10nflist.c: Allow architecture-specific pop function.
53470 * sysdeps/x86_64/l10nflist.c: New file.
53471
89edf2e9
UD
53472 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53473 classification.
53474
14d96785
AS
534752011-08-10 Andreas Schwab <schwab@redhat.com>
53476
53477 * include/dirent.h: Add libc_hidden_proto for scandirat and
53478 scandirat64. Don't declare __scandirat64.
53479 * dirent/scandirat.c: Add libc_hidden_def.
53480 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53481 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53482
6761ac04
DM
534832011-08-10 David S. Miller <davem@davemloft.net>
53484
53485 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53486 enum.
53487 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53490
c55fbd1e
UD
534912011-08-09 Ulrich Drepper <drepper@gmail.com>
53492
53493 * Versions.def [libc]: Add GLIBC_2.15.
53494 * dirent/Makefile (routines): Add scandirat and scandirat64.
53495 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53496 GLIBC_2.15.
53497 * dirent/dirent.h: Declare scandirat and scandirat64.
53498 * dirent/scandirat.c: New file.
53499 * dirent/scandirat64.c: New file.
53500 * sysdeps/wordsize-64/scandirat.c: New file.
53501 * sysdeps/wordsize-64/scandirat64.c: New file.
53502 * dirent/opendir.c: Define opendirat.
53503 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53504 using scandirat.
53505 * dirent/scandir64.c: Adjust for scandir.c change.
53506 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53507 __scandirat64, and __scandir_cancel_handler.
53508 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53509 additional parameter and use openat instead of open (outside of ld.so).
53510 Add new __opendir as wrapper around __opendirat.
53511 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53512 here without requiring old scandirat implementation.
53513
879165f2
UD
535142011-08-08 Ulrich Drepper <drepper@gmail.com>
53515
53516 * dirent/scandir.c (cancel_handler): Renamed to
53517 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53518 defined. Adjust users.
53519 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53520 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53521
cb7e923b
UD
535222011-08-04 Ulrich Drepper <drepper@gmail.com>
53523
16292edd
UD
53524 * string/test-string.h (IMPL): Use __STRING to expand name and then
53525 stringify it.
53526
cb7e923b
UD
53527 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53528 of cleanups.
53529
cff82933
LD
535302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53531
53532 * string/Makefile: Update.
53533 (strop-tests): Append strncat.
53534 * string/test-wcscmp.c: New file.
53535 New comprehensive test for wcscmp.
53536 * string/test-strcmp.c: Update.
53537 (WIDE): New define.
53538
9be9bfcc
AS
535392011-07-22 Andreas Schwab <schwab@redhat.com>
53540
53541 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53542 line.
53543
2e96f1c7
AS
535442011-07-26 Andreas Schwab <schwab@redhat.com>
53545
53546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53547 encoding to ACE if AI_IDN.
53548
85188888
JJ
535492011-08-01 Jakub Jelinek <jakub@redhat.com>
53550
53551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53552 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53553
5fa16e9b
LD
535542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53555
53556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53557 Fix overflow bug in strncat.
53558 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53559
53560 * string/test-strncat.c: Update.
53561 Add new tests for checking overflow bugs.
53562
535632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53564
53565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53566 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53567 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53568 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53569 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53570 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53571 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53572 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53573 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53574
53575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53576 (USE_AS_STRCAT): Define.
53577 Add strcat and strncat support.
53578 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53579
8c1a459f
AS
535802011-07-25 Andreas Schwab <schwab@redhat.com>
53581
53582 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53583 __n bigger than INT_MAX+1.
53584 (__strncmp_g): Likewise.
53585
bba33c28
UD
535862011-07-23 Ulrich Drepper <drepper@gmail.com>
53587
798be72d
UD
53588 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53589 * libio/stido.h: Likewise.
53590
8accd4dc
UD
53591 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53592 (AF_NFC): Define.
53593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53594 (AF_NFC): Define.
53595
cbff0d96
UD
53596 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53597 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53598 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53599 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53600 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53601
9191c04a
UD
53602 [BZ #13021]
53603 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53604 installed.
53605
bba33c28
UD
53606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53607 typo.
53608 (_dl_x86_64_save_sse): Likewise.
53609
90f139dd
UD
536102011-07-22 Ulrich Drepper <drepper@gmail.com>
53611
1aae088a
UD
53612 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53613 OSXSAVE.
53614 (_dl_x86_64_save_sse): Likewise.
53615
8e2045f5
UD
53616 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53617
90f139dd
UD
53618 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53619
1d002f25
AS
536202011-07-21 Andreas Schwab <schwab@redhat.com>
53621
53622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53623 change.
53624 (_dl_x86_64_save_sse): Use correct AVX check.
53625
21137f89
UD
536262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53627
53628 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53629 bug in strncpy/strncat.
53630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53631
a65c0b7a
UD
536322011-07-21 Ulrich Drepper <drepper@gmail.com>
53633
53634 * string/tester.c (test_strcat): Add tests for different alignments
53635 of source and destination.
53636 (test_strncat): Likewise.
53637
6986b98a
UD
536382011-07-20 Ulrich Drepper <drepper@gmail.com>
53639
90bb2039
UD
53640 [BZ #12852]
53641 * posix/glob.c (glob): Check passed in values before using them in
53642 expressions to avoid some overflows.
53643 (glob_in_dir): Likewise.
53644
5644ef54
UD
53645 [BZ #13007]
53646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53647 check for AVX enablement so that we don't crash with old kernels and
53648 new hardware.
53649 * elf/tst-audit4.c: Add same checks here.
53650 * elf/tst-audit6.c: Likewise.
53651
53652 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53653
bfc9dc9b
AS
536542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53655
53656 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53657
702e64bb
UD
536582011-07-20 Ulrich Drepper <drepper@gmail.com>
53659
53660 * po/cs.po: Update from translation team.
53661 * po/bg.po: Likewise.
53662
295e904f
MP
536632011-07-12 Marek Polacek <mpolacek@redhat.com>
53664
53665 * misc/sys/cdefs.h: Add support for const attribute.
53666 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53667 to gnu_dev_{major,minor,makedev} functions.
53668
3ff94596
MP
536692011-07-20 Marek Polacek <mpolacek@redhat.com>
53670
53671 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53672
28b59fca
AS
536732011-07-20 Andreas Schwab <schwab@redhat.com>
53674
53675 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53676 strlen results.
53677
19df733e
AK
536782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53679
53680 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53681 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53682 register in order to avoid conflicts with the soft frame pointer
53683 being held in r11 when necessary.
53684 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53685 (INTERNAL_VSYSCALL_NCS): Likewise.
53686
c8835729
MP
536872011-07-14 Marek Polacek <mpolacek@redhat.com>
53688
53689 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53690 * elf/dl-fini.c (_dl_fini): Adjust caller.
53691 * elf/dl-close.c (_dl_close_worker): Likewise.
53692 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53693
b902330c
MP
536942011-07-15 Marek Polacek <mpolacek@redhat.com>
53695
8991e135
MP
53696 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53697 "aux_cache->nlibs < 0".
53698
b902330c
MP
53699 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53700 in the reload-count case.
53701
99710781
LD
537022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53703
53704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53705 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53706 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53707 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53708 * sysdeps/x86_64/multiarch/strcat.S: New file.
53709 * sysdeps/x86_64/multiarch/strncat.S: New file.
53710 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53711 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53712 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53713 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53714 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53715 (USE_AS_STRCAT): Define.
53716 Add strcat and strncat support.
53717 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53719 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53720 * string/strncat.c: Update.
53721 (USE_AS_STRNCAT): Define.
53722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53723 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53724 and i7.
53725 * sysdeps/x86_64/multiarch/init-arch.h
53726 (bit_Prefer_PMINUB_for_stringop): New.
53727 (index_Prefer_PMINUB_for_stringop): Likewise.
53728 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53729 bit_Prefer_PMINUB_for_stringop.
53730
7dc6bd90
UD
537312011-07-19 Ulrich Drepper <drepper@gmail.com>
53732
53733 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53734 buffer64.
53735 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53736 of casting of buffer.
53737 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53738 buffer32 and buffer64.
53739 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53740 writes instead of casting of buffer.
53741 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53742 buffer32.
53743 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53744 casting of buffer.
53745
e0e72284
AS
537462011-07-19 Andreas Schwab <schwab@redhat.com>
53747
53748 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53749
feb1eb0b
UD
537502011-07-19 Ulrich Drepper <drepper@gmail.com>
53751
53752 * nscd/nscd.c (termination_handler): Don't do anything for a database
53753 if it has not yet been initialized.
53754
298711ff
UD
537552011-07-18 Ulrich Drepper <drepper@gmail.com>
53756
53757 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53758
537592011-07-15 Marek Polacek <mpolacek@redhat.com>
53760
53761 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53762
f9d68389
UD
537632011-07-18 Ulrich Drepper <drepper@gmail.com>
53764
53765 * po/nl.po: Update from translation team.
53766 * po/sv.po: Likewise.
53767
db290cf5
RM
537682011-07-16 Roland McGrath <roland@hack.frob.com>
53769
53770 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53771 now disallowed by GCC.
5c550700 53772
fd5e21c7
RM
53773 * configure.in (use-default-link): Default to yes if a test -shared
53774 link meets our qualifications.
53775 * configure: Regenerated.
53776
5c550700
RM
53777 * config.make.in (output-format): New variable.
53778 * configure.in: Check for ld --print-output-format support.
53779 * configure: Regenerated.
53780 * Makerules ($(common-objpfx)format.lds)
53781 [$(output-format) != unknown]: Just use $(output-format),
53782 instead of the linker-script munging.
53783
9fa2c032
RM
537842011-07-14 Roland McGrath <roland@hack.frob.com>
53785
a6928d51
RM
53786 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53787 of $(common-objpfx)shlib.lds.
53788 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53789
661607b3
RM
53790 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53791 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53792
9fa2c032
RM
53793 * configure.in (-z relro check): Adjust test code to add a large
53794 writable data section after it.
53795 * configure: Regenerated.
53796
defe9061
RM
537972011-07-11 Roland McGrath <roland@hack.frob.com>
53798
53799 * configure.in (-z relro check): Fix test code to make the variable
53800 truly const.
53801 * configure: Regenerated.
53802
319b9ad4
UD
538032011-07-11 Ulrich Drepper <drepper@gmail.com>
53804
53805 * nscd/nscd.h (struct traced_file): Define.
53806 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53807 elements. Add traced_files.
53808 (inotify_fd): Declare.
53809 (register_traced_file): Declare.
53810 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53811 (inotify_fd): Export.
53812 (resolv_conf_descr): Remove.
53813 (nscd_init): Move inotify descriptor creation to main.
53814 Don't register files for notification here.
53815 (register_traced_file): New function.
53816 (invalidate_cache): Don't use reset_res to determine whether to call
53817 res_init, go through the list of registered files.
53818 (main_loop_poll): The inotify descriptors are now stored in the
53819 structures for the traced files.
53820 (main_loop_epoll): Likewise
53821 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53822 to __nss_disable_nscd.
53823 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53824 for a database anymore. Check the records for all the registered
53825 files instead.
53826 * nss/Makefile (libnss_files-routines): Add files-init.
53827 (libnss_db-routines): Add db-init.
53828 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53829 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53830 * nss/nss_db/db-init.c: New file.
53831 * nss/nss_files/files-init.c: New file.
53832 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53833 __nss_lookup_function.
53834 (__nss_lookup_function): Call nss_load_library.
53835 (nss_load_all_libraries): New function.
53836 (__nss_disable_nscd): Take parameter with callback function for files
53837 to register. Set is_nscd. Load all the DSOs for the NSS modules
53838 used for the cached services.
53839 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53840 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53841 options for features to all the files in nscd.
53842
53843 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53844
23bee3e8
RM
538452011-07-10 Roland McGrath <roland@hack.frob.com>
53846
53847 * csu/elf-init.c (__libc_csu_init): Comment typo.
53848
46a5b7f0
UD
538492011-07-09 Ulrich Drepper <drepper@gmail.com>
53850
53851 * po/pl.po: Update from translation team.
53852 * po/ja.po: Likewise.
53853 * po/ru.po: Likewise.
53854 * po/ko.po: Likewise.
53855 * po/fr.po: Likewise.
53856
d30cf5bb
RM
538572011-07-09 Roland McGrath <roland@hack.frob.com>
53858
113ddea4
RM
53859 * configure.in (.ctors/.dtors header and trailer check):
53860 Use an empirical test on a built program.
53861 * configure: Regenerated.
53862
574920b4
RM
53863 * configure.in (-z relro check): Use an empirical test on a built DSO.
53864 Detect, but do not require, on ia64.
53865 * configure: Regenerated.
53866
d30cf5bb
RM
53867 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53868 Update tests that use readelf to use $READELF instead.
53869 * configure: Regenerated.
53870
8538fdb3
UD
538712011-07-08 Ulrich Drepper <drepper@gmail.com>
53872
53873 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53874 if the result is not used.
53875
04d08991
AJ
538762011-07-05 Andreas Jaeger <aj@suse.de>
53877
53878 [BZ#9696]
53879 * stdlib/tst-strtod.c: Add testcase.
53880
de283087
AD
538812011-07-07 Ulrich Drepper <drepper@gmail.com>
53882
4e5f31c8 53883 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53884 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53885 The latter has a higher limit. Take additional parameter to pass to
53886 the new function.
53887 (__pathconf): Pass file to __statfs_link_max.
53888 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53889 __statfs_link_max.
53890 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53891 __statfs_link_max.
53892
de283087
AD
53893 [BZ #12868]
53894 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53895 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53896 Handle Lustre.
53897 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53898 (__statfs_filesize_max): Likewise.
53899 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53900
c75fa153
AJ
539012011-07-05 Andreas Jaeger <aj@suse.de>
53902
53903 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53904
1a544854
UD
539052011-07-06 Marek Polacek <mpolacek@redhat.com>
53906
53907 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53908 `status' variable.
53909 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53910 Likewise.
53911
6f0eec67
UD
539122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53913
53914 * Makefile (strop-tests): Add strncat.
53915 * string/test-strncat.c: New file.
53916
aae30307
UD
539172011-06-30 Marek Polacek <mpolacek@redhat.com>
53918
53919 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53920
c0cfb5eb
UD
539212011-06-21 Andreas Jaeger <aj@suse.de>
53922
53923 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53924 Copy rule from iconvdata/Makefile.
53925
01636b21
UD
539262011-07-06 Ulrich Drepper <drepper@gmail.com>
53927
53928 [BZ #12922]
53929 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53930 but no long options are defined, just return 'W'.
53931
9895c8bc
UD
539322011-06-22 Marek Polacek <mpolacek@redhat.com>
53933
53934 [BZ #9696]
53935 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53936
5d4cf042
UD
539372011-07-06 Ulrich Drepper <drepper@gmail.com>
53938
53939 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53940 netgroups to read.
960e5535 53941 (innetgr): Likewise.
5d4cf042 53942
751eb97e
RM
539432011-07-05 Roland McGrath <roland@hack.frob.com>
53944
53945 * config.make.in (install_root): Default to $(DESTDIR).
53946
f15f1e45
UD
539472011-07-05 Ulrich Drepper <drepper@gmail.com>
53948
53949 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53950
4e34ac6a
RM
539512011-07-02 Roland McGrath <roland@hack.frob.com>
53952
5e9b6af4
RM
53953 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53954
84f9ea0f
RM
53955 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53956 containing directory rather than embedding absolute directory names.
53957
ea5ee9f7
RM
53958 * scripts/check-local-headers.sh: Rewritten using awk.
53959 Match by word, not by line. Print error messages for matches.
53960 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53961
1b74661a
RM
53962 * Makerules [shlib-lds-flags empty]:
53963 ($(common-objpfx)libc_pic.opts): New target.
53964 ($(common-objpfx)libc_pic.os.clean): New target.
53965 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53966
53967 * config.make.in (OBJCOPY): New variable.
53968 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53969 * configure: Regenerated.
53970
f781ef40
RM
53971 * config.make.in (use-default-link): New variable.
53972 * configure.in (use_default_link): Grok --with-default-link to set it.
53973 * configure: Regenerated.
53974 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53975 (shlib-lds, shlib-lds-flags): Define to empty.
53976
2d4fa81e
RM
53977 * Makerules (shlib-lds): New variable.
53978 (shlib-lds-flags): New variable.
53979 (build-shlib, build-moduile, build-module-asneeded): Use it.
53980 ($(common-objpfx)libc.so): Use $(shlib-lds).
53981 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53982 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53983
31fffa6b
RM
53984 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53985 DT_FLAGS/DT_FLAGS_1 with zero flags.
53986
4e34ac6a
RM
53987 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53988 linker script munging.
53989
fcfc776b
UD
539902011-07-02 Ulrich Drepper <drepper@gmail.com>
53991
53992 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53993 as 128-bit value.
53994 * crypt/sha512.c (sha512_process_block): Perform total addition using
53995 128-bit if possible.
53996 (__sha512_finish_ctx): Likewise.
53997 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53998 as 64-bit value.
53999 * crypt/sha256.c (SWAP64): Define.
54000 (sha256_process_block): Perform total addition using 64-bit if
54001 possible.
54002 (__sha256_finish_ctx): Likewise.
54003
99231d9a
UD
540042011-07-01 Ulrich Drepper <drepper@gmail.com>
54005
54006 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54007 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54008 * nscd/hstcache.c (cache_addhst): Likewise.
54009 * nscd/grpcache.c (cache_addgr): Likewise.
54010 * nscd/aicache.c (addhstaiX): Likewise
54011 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54012
445b4a53
TK
540132011-07-01 Thorsten Kukuk <kukuk@suse.de>
54014
54015 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54017 * nscd/hstcache.c (cache_addhst): Likewise.
54018 * nscd/grpcache.c (cache_addgr): Likewise.
54019 * nscd/aicache.c (addhstaiX): Likewise
54020
6d4d8e8e
AS
540212011-07-01 Andreas Schwab <schwab@redhat.com>
54022
54023 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54024 domain only when needed.
54025
89f654c5
AS
540262011-06-30 Andreas Schwab <schwab@redhat.com>
54027
54028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54029 is always restored.
54030
cf3b23ff
UD
540312011-06-29 Ulrich Drepper <drepper@gmail.com>
54032
54033 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54034 are re-adding the entry.
54035 * nscd/servicescache.c (cache_addserv): Likewise.
54036
751626f9
AJ
540372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54038
54039 * sysdeps/generic/dl-irel.h: fix protection against multiple
54040 inclusions.
54041 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54042
9113ea1f
UD
540432011-06-28 Ulrich Drepper <drepper@gmail.com>
54044
5c0b8d90
UD
54045 [BZ #12935]
54046 * malloc/memusage.sh: Fix quoting in message.
54047 * debug/xtrace.sh: Likewise.
54048
9113ea1f
UD
54049 * configure.in: Remove support for --experimental-malloc option, make
54050 it the default.
54051 * config.make.in: Likewise.
54052 * malloc/Makefile: Likewise.
54053
a4172181
AS
540542011-06-27 Andreas Schwab <schwab@redhat.com>
54055
54056 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54057 two-byte characters.
54058
78a7eee7
RM
540592011-06-27 Roland McGrath <roland@hack.frob.com>
54060
62bede13
RM
54061 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54062 AC_CACHE_CHECK invocation.
54063 * configure: Regenerated.
54064
78a7eee7
RM
54065 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54066
5ce33a62
UD
540672011-06-27 Ulrich Drepper <drepper@gmail.com>
54068
034807a9
UD
54069 [BZ #12350]
54070 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54071 bit from old_res_options.
54072
4902da17
UD
54073 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54074
5ce33a62
UD
54075 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54076 value type for setfct.
54077
c2344f56
L
540782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54079
54080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54081 __gettimeofday instead of gettimeofday.
54082
68468076
UD
540832011-06-26 Ulrich Drepper <drepper@gmail.com>
54084
54085 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54086
acb0d739
L
540872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54088
54089 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54090
54091 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54092 info.
54093
8912479f
L
540942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54095
54096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54097 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54098 strcpy-sse2-unaligned strncpy-sse2-unaligned
54099 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54100 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54101 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54102 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54103 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54104 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54105 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54106 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54107 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54108 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54109 (STRCPY): Support SSE2 and SSSE3 versions.
54110
d5495a11
UD
541112011-06-24 Ulrich Drepper <drepper@gmail.com>
54112
54113 [BZ #12874]
54114 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54115 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54116 kernels which artificially limit size of requests.
54117
0b1cbaae
L
541182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54119
54120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54121 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54122 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54123 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54124 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54125 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54126 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54127 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54129 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54130 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54131 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54132 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54133 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54134 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54136 Enable unaligned load optimization for Intel Core i3, i5 and i7
54137 processors.
54138 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54139 Define.
54140 (index_Fast_Unaligned_Load): Define.
54141 (HAS_FAST_UNALIGNED_LOAD): Define.
54142
07f494a0
MP
541432011-06-23 Marek Polacek <mpolacek@redhat.com>
54144
54145 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54146
fa3fc0fe
UD
541472011-06-22 Ulrich Drepper <drepper@gmail.com>
54148
54149 [BZ #12907]
54150 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54151 until it is clear that the information is realy needed.
54152 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54153
e12df166
AS
541542011-06-22 Andreas Schwab <schwab@redhat.com>
54155
54156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54157
852eb34d
UD
541582011-06-22 Ulrich Drepper <drepper@gmail.com>
54159
84e2a551
UD
54160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54161 /sys/devices/system/cpu/online if it is usable.
54162
852eb34d
UD
54163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54164 reading the information from the /proc filesystem to once a second.
54165
6e502e19
UD
541662011-06-21 Andreas Jaeger <aj@suse.de>
54167
54168 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54169 NULL after inclusion of kernel headers.
54170
75d39ff2
UD
541712011-06-21 Ulrich Drepper <drepper@gmail.com>
54172
51f9aa6a
UD
54173 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54174 calls to internal_setent.
54175
c0244a9d
UD
54176 [BZ #12885]
54177 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54178 addresses using gethostbyname4_r ignore IPv4 addresses.
54179
c5e3c2ae
UD
54180 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54181 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54182
75d39ff2
UD
54183 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54184
42675c6f
DM
541852011-06-20 David S. Miller <davem@davemloft.net>
54186
54187 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54188 inclusions.
54189 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54190
54191 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54192 (elf_irel): Use it.
54193 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54194 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54195 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54196 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54197 * sysdeps/x86_64/dl-irel.h: Likewise.
54198
54199 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54200 * elf/dl-sym.c: Likewise.
54201
57912a71
UD
542022011-06-15 Ulrich Drepper <drepper@gmail.com>
54203
54204 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54205 need to dereference resplen2.
54206
ee22793d
AS
542072011-06-14 Andreas Schwab <schwab@redhat.com>
54208
54209 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54210
a9e836b0
UD
542112011-06-15 Ulrich Drepper <drepper@gmail.com>
54212
77fb9117
UD
54213 * Makeconfig: Define vardbdir and inst_vardbdir.
54214 * nss/Makefile: Add rules to install db-Makefile.
54215
40c1b22c
UD
54216 * nss/nss_db/db-XXX.c: Cleanup.
54217
9f2da732
UD
54218 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54219 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54220 GLIBC_PRIVATE.
54221 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54222 * nss/makedb.c: Implement -g option to specify that value strings
54223 are generated and should not be added to table iterated over for
54224 get*ent calls.
54225 * nss/nss_db/db-initgroups.c: New file.
54226
82e9a1f7
UD
54227 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54228 interface.
54229
c41af17e
UD
54230 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54231 (internal_getgrouplist): Adjust to name change.
54232 Update use_initgroups_entry if this is not the first call.
54233 * nss/databases.def: Add initgroups entry.
54234
a9e836b0
UD
54235 * nss/makedb.c (compute_tables): Check result of multiple hash table
54236 sizes to minimize maximum chain length.
54237
2666d441
UD
542382011-06-14 Ulrich Drepper <drepper@gmail.com>
54239
54240 * Versions.def: Add entry for libnss_db.
54241 * shlib-versions: Likewise.
54242 * nss/Makefile: Add rules to build libnss_db.
54243 * nss/Versions: Add libnss_db information. Organize libnss_files
54244 entries better.
54245 * nss/db-Makefile: Add gshadow support. Change rules for the new
54246 makedb progra. Some minor improvements to generate smaller files.
54247 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54248 here from...
54249 * nss/makedb.c: ...here.
54250 Improve database format to be smaller and require less memory at
54251 runtime.
54252 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54253 db anymore.
54254 * nss/nss_db/db-netgrp.c: Likewise.
54255 * nss/nss_db/db-open.c: Likewise.
54256 * nss/nss_files/flies-XXX.x: Adjust comments.
54257 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54258 * nss/nss_files/files-grp.c: Likewise.
54259 * nss/nss_files/files-hosts.c: Likewise.
54260 * nss/nss_files/files-network.c: Likewise.
54261 * nss/nss_files/files-proto.c: Likewise.
54262 * nss/nss_files/files-pwd.c: Likewise.
54263 * nss/nss_files/files-rpc.c: Likewise.
54264 * nss/nss_files/files-service.c: Likewise.
54265 * nss/nss_files/files-sgrp.c: Likewise.
54266 * nss/nss_files/files-spwd.c: Likewise.
54267 * nss/nss_db/db-alias.c: Removed.
54268 * nss/nss_db/dummy-db.h: Removed.
54269
9ee76b5a
UD
542702011-06-02 Ulrich Drepper <drepper@gmail.com>
54271
54272 * nss/makedb.c: Rewritten to not use database library.
54273 * nss/Makefile: Update to build new makedb program.
54274
c71ca1f8
AJ
542752011-06-14 Andreas Jaeger <aj@suse.de>
54276
54277 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54278 memset declaration.
54279
3154bfb8
UD
542802011-06-10 Andreas Schwab <schwab@redhat.com>
54281
54282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54283 tmpbuf.
54284
b350afab
RM
542852011-06-10 Roland McGrath <roland@hack.frob.com>
54286
decd4e50
RM
54287 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54288 * elf/Makefile ($(objpfx)ld.so): Likewise.
54289
5615eaf2
RM
54290 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54291 Don't list ld.so twice in dependencies.
54292
54293 * posix/bug-regex31.c: Include <stdlib.h>.
54294
54295 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54296
54297 * nis/nss_compat/compat-spwd.c
54298 (getspent_next_nss_netgr): Remove unused variable.
54299 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54300
54301 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54302 nonmembers" output to use the right array.
54303
54304 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54305
54306 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54307
54308 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54309 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54310 * catgets/gencat.c (read_input_file): Likewise.
54311 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54312
54313 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54314 variable definition inside #if's controlling its use.
54315
54316 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54317
54318 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54319
54320 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54321
54322 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54323 unreachable code.
54324
54325 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54326
b68e08db
RM
54327 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54328 * configure: Regenerated.
54329
b350afab
RM
54330 * Makerules: Revert last change.
54331 * elf/Makefile: Likewise.
54332
28368601
RM
543332011-06-09 Roland McGrath <roland@hack.frob.com>
54334
54335 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54336 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54337 (reloc-link): Likewise.
54338
11988f8f
UD
543392011-06-09 Ulrich Drepper <drepper@gmail.com>
54340
54341 * elf/Makefile: Add rules to build pldd.
54342 * elf/pldd.c: New file.
54343 * elf/pldd-xx.c: New file.
54344
e80fab37
UD
543452011-06-07 Ulrich Drepper <drepper@gmail.com>
54346
54347 * version.h: Update for 2.15 development version.
54348
9b849836
DM
543492011-06-07 David S. Miller <davem@davemloft.net>
54350
54351 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54352 ifuncs.
54353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54354 elf_machine_lazy_rel): Likewise.
54355 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54356 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54357 elf_machine_lazy_rel): Likewise.
54358 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54359 dl_hwcap via passed in argument.
54360 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54361 Likewise.
54362
5a31b283
AK
543632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54364
54365 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54366
069e52f8
RM
543672011-06-06 Roland McGrath <roland@hack.frob.com>
54368
54369 [BZ #12849]
54370 * manual/fdl-1.1.texi: New file, verbatim from:
54371 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54372 * manual/lgpl-2.1.texi: New file, verbatim from:
54373 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54374 * manual/Makefile (licenses): New variable, list those new file names.
54375 (texis): Use it.
54376 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54377
54378 * manual/fdl.texi: File removed.
54379 * manual/lesser.texi: File removed.
54380 * manual/libc.texinfo (Copying, Documentation License):
54381 Use new @include file names, put @appendix directive before @include.
54382
f16846a5
JJ
543832011-06-04 Jakub Jelinek <jakub@redhat.com>
54384
54385 [BZ #12841]
54386 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54387 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54388 (mq_open): Add __NTH.
54389
3d29045b
L
543902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54391
54392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54393 Assume Intel Core i3/i5/i7 processor if AVX is available.
54394
8c297311
UD
543952011-05-31 Ulrich Drepper <drepper@gmail.com>
54396
54397 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54398 typo.
54399
c8fc0c91
UD
544002011-05-31 Andreas Schwab <schwab@redhat.com>
54401
54402 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54403 memory. Use alloca_account. Fix memory leak when retrying.
54404
5b27a807
UD
544052011-05-31 Ulrich Drepper <drepper@gmail.com>
54406
356f8bc6
UD
54407 * version.h (RELEASE): Bump for 2.14 release.
54408 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54409
5b27a807
UD
54410 * config.make.in (RANLIB): Remove entry.
54411
01f16ab0
UD
544122011-05-30 Ulrich Drepper <drepper@gmail.com>
54413
41fce8bd
UD
54414 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54415 (libc.pot): Work around missing support for .ksh extension in xgettext.
54416
4769ae77
UD
54417 [BZ #12684]
54418 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54419 if both request failed.
54420 (send_dg): In case of server errors clear resplen or *resplen2.
54421
6b1e7d19
UD
54422 [BZ #12454]
54423 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54424 when there are multiple maps.
54425 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54426 (_dl_fini): Remove test here.
54427
01f16ab0
UD
54428 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54429
b1ebd700
UD
544302011-05-29 Ulrich Drepper <drepper@gmail.com>
54431
7ae22829
UD
54432 [BZ #12350]
54433 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54434 bit from old_res_options.
54435 (gaih_inet): Likewise.
54436
553149f6 54437 [BZ #11099]
18a84741 54438 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54439 as signed.
54440
652ffab1
UD
54441 * resolv/res_init.c (res_setoptions): Make the code more compact.
54442
16985fd0
UD
54443 [BZ #11558]
54444 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54445 set RES_USEVC.
54446
0464f746
UD
54447 [BZ #11634]
54448 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54449
7d17596c
UD
54450 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54451
cf6bbbd7
UD
54452 [BZ #11781]
54453 * malloc/malloc.h: Declare malloc hook variables as volatile.
54454
13f1ab36
UD
54455 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54456 in last patch.
54457
b1ebd700
UD
54458 [BZ #11799]
54459 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54460 raise in the comment.
80e2212d
UD
54461 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54462 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54463 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54464
ce67228d
UD
544652011-05-28 Ulrich Drepper <drepper@gmail.com>
54466
8887a920
UD
54467 [BZ #12811]
54468 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54469 grow the buffers more if it already has to be sufficient.
54470 (build_wcs_upper_buffer): Likewise.
54471 * posix/regexec.c (check_matching): Likewise.
54472 (clean_state_log_if_needed): Likewise.
54473 (extend_buffers): Don't enlarge buffers beyond size of the input
54474 buffer.
54475 Patches mostly by Emil Wojak <emil@wojak.eu>.
54476 * posix/bug-regex32.c: New file.
54477 * posix/Makefile (tests): Add bug-regex32.
54478
4f031072
UD
54479 * locale/findlocale.c (_nl_find_locale): Return right away if
54480 _nl_explode_name failed.
54481 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54482
d0478f0c
UD
54483 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54484
de81b246
UD
54485 * debug/xtrace.sh: Unify messages.
54486 * malloc/memusage.sh: Likewise.
54487
c738465a
UD
54488 [BZ #12813]
54489 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54490 time symbol from vDSO. Substitute with vsyscall if not available.
54491 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54492 __vdso_time.
54493
f1f929d7
UD
54494 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54495 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54496 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54497 Add sendmmsg and internal_sendmmsg.
54498 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54499 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54500 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54501
ce67228d
UD
54502 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54503 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54504 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54505
e57420c6
UD
545062011-05-27 Ulrich Drepper <drepper@gmail.com>
54507
a8509ca5
UD
54508 [BZ #12813]
54509 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54510 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54511 available.
54512 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54513 __vdso_getcpu.
54514
e57420c6
UD
54515 [BZ #12814]
54516 * iconvdata/Makefile (tests): Add bug-iconv9.
54517 * iconvdata/bug-iconv9.c: New file.
54518
4d07db15
AS
545192011-05-27 Andreas Schwab <schwab@redhat.com>
54520
54521 [BZ #12814]
54522 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54523
ea486f69
JJ
545242011-05-25 Jakub Jelinek <jakub@redhat.com>
54525
54526 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54527 (struct user_regs_struct): Change intcs field back to cs.
54528
6f038433
UD
545292011-05-25 Ulrich Drepper <drepper@gmail.com>
54530
54531 * po/ja.po: Update from translation team.
54532
67f86a25
UD
545332011-05-23 Ulrich Drepper <drepper@gmail.com>
54534
54535 [BZ #12795]
54536 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54537 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54538
def7fbd6
AS
545392011-05-20 Andreas Schwab <schwab@redhat.com>
54540
54541 * stdlib/longlong.h: Update from GCC.
54542
f50ef8f1
AS
545432011-05-23 Andreas Schwab <schwab@redhat.com>
54544
54545 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54546 parameter name.
54547 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54548 Add parameter name.
54549 (__sysconf): Pass it down.
54550
de7ce8f1
UD
545512011-05-22 Ulrich Drepper <drepper@gmail.com>
54552
f2962a71
UD
54553 [BZ #12671]
54554 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54555 some situations.
54556 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54557 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54558 add in in __libc_use_alloca calls. Adjust callers.
54559 (glob): Use malloc in some situations.
54560
de7ce8f1
UD
54561 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54562 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54563 pltexit.
54564
aec84f53
UD
545652011-05-21 Ulrich Drepper <drepper@gmail.com>
54566
05bb4a68
UD
54567 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54568 and CLOCK_BOOTTIME_ALARM.
54569
7ea72f99
UD
54570 [BZ #12782]
54571 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54572 is returned.
54573
7e4afad5
UD
54574 * string/_strerror.c (__strerror_r): Print negative errors as signed
54575 numbers.
54576
8e211fec
UD
54577 [BZ #12777]
54578 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54579 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54580 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54581
f7d82dc9
UD
54582 * configure.in: Fix typo in redirection and correct removal of test
54583 files in two cases.
54584
cc9e536d
UD
54585 [BZ #12788]
54586 * locale/setlocale.c (new_composite_name): Fix test to check for
54587 identical name of all categories.
54588
aec84f53
UD
54589 [BZ #12792]
54590 * libio/filedoalloc.c (local_isatty): New function.
54591 (_IO_file_doallocate): Use local_isatty.
54592 * stdio-common/perror.c (perror): In case a new stream is used
54593 forward the stream error.
54594 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54595 error flag.
54596
78e64fdc
RT
545972011-05-20 Ulrich Drepper <drepper@gmail.com>
54598
34a9094f
UD
54599 [BZ #11869]
54600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54601 alloca.
54602 * include/alloca.h (extend_alloca_account): Define.
54603
78e64fdc
RT
54604 [BZ #11857]
54605 * posix/regex.h: Fix comments with documentation of user-accessible
54606 fields after compilation and describe correct free'ing of pattern
54607 after re_compile_pattern.
54608 Patch by Reuben Thomas <rrt@sc3d.org>.
54609
457bddfc
RA
546102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54611
54612 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54613 and -mno-altivec to prevent the compiler from using Altivec and/or
54614 VSX instructions when the corresponding registers are not available.
54615
a4527b51
AS
546162011-05-19 Andreas Schwab <schwab@redhat.com>
54617
54618 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54619
ed690b2f
UD
546202011-05-19 Ulrich Drepper <drepper@gmail.com>
54621
54622 * libio/freopen.c (freopen): Use __dup2, not dup2.
54623 * libio/freopen64.c (freopen64): Likewise.
54624
8db73634
L
546252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54626
54627 [BZ #12775]
54628 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54629 * math/Makefile (tests): Add test-powl.
54630 (CFLAGS-test-powl.c): Define.
54631 * math/test-powl.c: New file.
54632
0a197a9d
L
546332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54634
54635 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54636
ee30c380
UD
546372011-05-17 Ulrich Drepper <drepper@gmail.com>
54638
54639 [BZ #11837]
54640 * iconvdata/gb18030.c: Update to GB18020-2005.
54641
6ce75379
UD
546422011-05-16 Ulrich Drepper <drepper@gmail.com>
54643
a4b89fd8
AR
54644 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54645 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54646 Patch by Aharon Robbins <arnold@skeeve.com>.
54647
ea389b12
UD
54648 [BZ #11892]
54649 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54650 on the stack.
54651
68a3f91f
UD
54652 [BZ #11895]
54653 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54654 through underflows.
54655
15cc7dd1
UD
54656 [BZ #12766]
54657 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54658 point to strings before performing equality test for error_one_per_line
54659 mode.
54660
f3799213
UD
54661 [BZ #11697]
54662 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54663
d79a9c94
UD
54664 [BZ #11820]
54665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54666 (struct user_fpregs_struct): Avoid __uint*_t types.
54667
56e5eb46
UD
54668 [BZ #6420]
54669 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54670 symbol info. Use it instead of calling _dl_addr locally.
54671 (lock_and_info): New function.
54672 (tr_freehook): Call lock_and_info and pass symbol info as additional
54673 parameter to tr_where.
54674 (tr_mallochook): Likewise.
54675 (tr_reallochook): Likewise.
54676 (tr_memalignhook): Likewise.
54677
6ce75379
UD
54678 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54679 used and couldn't be at all thread-safe.
54680
f8a3b5bf
UD
546812011-05-15 Ulrich Drepper <drepper@gmail.com>
54682
94b7cc37
UD
54683 * libio/freopen.c (freopen): Don't close old file descriptor
54684 before the new one is opened. Instead dup the new file descriptor
54685 to the old one after the new stream is created.
54686 * libio/freopen64.c (freopen64): Likewise.
54687 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54688 * libio/fileops.c (_IO_new_file_close_it): Handle new
54689 _IO_FLAGS2_NOCLOSE flag.
54690 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54691 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54692 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54693 _IO_FLAGS2_NOCLOSE flag.
54694 * include/unistd.h: Add hidden_proto for dup3.
54695 Define __have_dup3.
54696 * io/dup3.c: Define hidden symbol.
54697 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54698
bd25564e
UD
54699 [BZ #7101]
54700 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54701 when an incomplete long option is used.
54702 * posix/tst-getopt_long1.c: New file.
54703 * posix/Makefile (tests): Add tst-getopt_long1.
54704
c84cfef4
UD
54705 [BZ #10138]
54706 * scripts/config.guess: Update from autoconf-2.68.
54707 * scripts/config.sub: Likewise.
54708
3b85df27
UD
54709 [BZ #10157]
54710 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54711 tests into ...
54712 (has_cpuclock): ...this. New function.
54713 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54714 macro here based on has_cpuclock code.
54715
15a856b1
UD
54716 [BZ #10149]
54717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54718 First byte (not low byte) is now always NUL.
54719 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54720
05f399e6
UD
54721 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54722 Use non-cancelable interfaces.
54723
10a52685 54724 [BZ #9809]
94ecc67d
UD
54725 * locale/iso-639.def: Add entry for Sorani.
54726
f8a3b5bf
UD
54727 [BZ #11901]
54728 * include/stdlib.h: Move include protection to the right place.
54729 Define abort_msg_s. Declare __abort_msg with it.
54730 * stdlib/abort.c (__abort_msg): Adjust type.
54731 * assert/assert.c (__assert_fail_base): New function. Majority
54732 of code from __assert_fail. Allocate memory for __abort_msg with
54733 mmap.
54734 (__assert_fail): Now call __assert_fail_base.
54735 * assert/assert-perr.c: Remove bulk of implementation. Use
54736 __assert_fail_base.
54737 * include/assert.hL Declare __assert_fail_base.
54738 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54739 mmap.
54740 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54741
1af4e298
UD
547422011-05-14 Ulrich Drepper <drepper@gmail.com>
54743
f8a3b5bf 54744 [BZ #11952]
d26dfc60
MG
54745 [BZ #12453]
54746 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54747 until all modules are registered in the DTV.
54748 * elf/Makefile: Add rules to build and run tst-tls19.
54749 * elf/tst-tls19.c: New file.
54750 * elf/tst-tls19mod1.c: New file.
54751 * elf/tst-tls19mod2.c: New file.
54752 * elf/tst-tls19mod3.c: New file.
54753 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54754
2fc54d6f
UD
54755 [BZ #12083]
54756 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54757 correctly.
54758
98d76b46
UD
54759 [BZ #12601]
54760 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54761 two-byte sequence errors.
54762 * iconvdata/Makefile (tests): Add bug-iconv8.
54763 * iconvdata/bug-iconv8.c: New file.
54764
da3c19ef
UD
54765 [BZ #12626]
54766 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54767 buf2 definition.
54768
ca408c15
UD
54769 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54770
d6f67f7d
UD
54771 [BZ #12432]
54772 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54773 (dummy_getcfa): New function.
54774 (init): Get _Unwind_GetCFA address, use dummy if not found.
54775 (backtrace_helper): In recursion check, also check whether CFA changes.
54776 (__backtrace): Completely initialize arg.
54777
1af4e298 54778 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54779 storing incomplete byte sequence in state object. Avoid testing for
54780 guaranteed too small input if we know there is enough data available.
1af4e298 54781
da62f81b
AS
547822011-05-11 Andreas Schwab <schwab@redhat.com>
54783
54784 * Makeconfig (+link-pie): Indent.
54785 * Rules (binaries-pie): Define if $(have-fpie) and
54786 $(build-shared).
54787 (binaries-shared): Also filter out $(binaries-pie).
54788 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54789 * nscd/Makefile (others-pie): Add nscd.
54790 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54791 ($(objpfx)nscd): Remove command override.
54792 * login/Makefile (others-pie): Add pt_chown.
54793 ($(objpfx)pt_chown): Remove command override.
54794 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54795 remove command overrides.
54796
fcabc0f8
UD
547972011-05-13 Ulrich Drepper <drepper@gmail.com>
54798
20030ae6
UD
54799 * libio/tst_putwc.c: Fix error messages.
54800
fcabc0f8
UD
54801 [BZ #12724]
54802 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54803 currently writing and seek to current position when not.
54804 * libio/Makefile (tests): Add bug-fclose1.
54805 * libio/bug-fclose1.c: New file.
54806
320a5dc0
PB
548072011-05-12 Ulrich Drepper <drepper@gmail.com>
54808
54809 [BZ #12511]
54810 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54811 don't set DF_1_NODELETE here.
54812 (do_lookup_x): When entering new entry test for copy relocation
54813 and if necessary set DF_1_NODELETE flag.
54814 * elf/tst-unique4.cc: New file.
54815 * elf/tst-unique4.h: New file.
54816 * elf/tst-unique4lib.cc: New file.
54817 * elf/Makefile: Add rules to build and run tst-unique4.
54818 Patch by Piotr Bury <pbury@goahead.com>.
54819
22836f52
UD
548202011-05-11 Ulrich Drepper <drepper@gmail.com>
54821
f574184a
UD
54822 [BZ #12052]
54823 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54824
e1fb097f
UD
54825 [BZ #12625]
54826 * misc/mntent_r.c (addmntent): Flush the stream after the output
54827
22836f52
UD
54828 [BZ #12393]
54829 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54830 (is_trusted_path_normalize): Skip initial colon. Append slash
54831 to empty buffer. Duplicate is_trusted_path code but allow
54832 constructed patch to be prefix.
54833 (is_dst): Allow $ORIGIN followed by /.
54834 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54835 Correct testing of result of is_trusted_path_normalize
54836 (decompose_rpath): Fix warning.
54837
7b3b0b2a
UD
548382011-05-10 Ulrich Drepper <drepper@gmail.com>
54839
54840 [BZ #11257]
54841 * grp/initgroups.c (internal_getgrouplist): When we found the service
54842 list through the initgroups entry in nsswitch.conf do not always
54843 continue on a successful lookup. Don't always use the
eac80ce2 54844 __nss_group_database value if it is set.
7b3b0b2a
UD
54845 * nss/nsswitch.conf (initgroups): Change action for successful db
54846 lookup to continue for compatibility.
54847
2a81eaa5
UD
548482011-05-09 Ulrich Drepper <drepper@gmail.com>
54849
be97a69e
UD
54850 [BZ #11532]
54851 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54852 and CP774 modules.
54853 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54854 and CP774 modules.
54855 * iconvdata/tst-tables.sh: Likewise.
54856 * iconvdata/cp770.c: New file.
54857 * iconvdata/cp771.c: New file.
54858 * iconvdata/cp772.c: New file.
54859 * iconvdata/cp773.c: New file.
54860 * iconvdata/cp774.c: New file.
54861 * iconvdata/testdata/CP770: New file.
54862 * iconvdata/testdata/CP770..UTF8: New file.
54863 * iconvdata/testdata/CP771: New file.
54864 * iconvdata/testdata/CP771..UTF8: New file.
54865 * iconvdata/testdata/CP772: New file.
54866 * iconvdata/testdata/CP772..UTF8: New file.
54867 * iconvdata/testdata/CP773: New file.
54868 * iconvdata/testdata/CP773..UTF8: New file.
54869 * iconvdata/testdata/CP774: New file.
54870 * iconvdata/testdata/CP774..UTF8: New file.
54871
54872 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54873 END CHARMAP line.
54874 * iconvdata/gen-8bit-gap.sh: Likewise.
54875 * iconvdata/gen-8bit.sh: Likewise.
54876
c1e9e399
UD
54877 * locale/iso-639.def: Add ary entry.
54878
24c55fb3 54879 [BZ #11258]
96b4b1b0
UD
54880 * locale/C-translit.h.in: Add U20A1 transliteration.
54881
bdc2f971
KB
54882 [BZ #12178]
54883 * locale/iso-639.def: Add wae entry.
54884 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54885
2952b117
UD
54886 [BZ #12545]
54887 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54888 for n.
54889
2a81eaa5
UD
54890 [BZ #12711]
54891 * locale/C-translit.h.in: Add entry for U20B9.
54892 Patch by pravin.d.s@gmail.com.
54893
28377d1b
UD
548942011-05-08 Ulrich Drepper <drepper@gmail.com>
54895
7fb90fb8
UD
54896 [BZ #12713]
54897 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54898 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54899 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54900 in rtld. Use *stat64.
7fb90fb8 54901 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54902 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54903 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54904 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54905 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54906 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54907 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54908 __fstatat64 macros.
7fb90fb8
UD
54909 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54910 * dirent/rewinddir.c: Add libc_hidden_def.
54911 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54912 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54913
28377d1b
UD
54914 * include/dirent.h (__alloc_dir): Add flags parameter.
54915 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54916 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54917 __alloc_dir.
54918 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54919 from fdopendir if O_CLOEXEC is already set.
54920
66bdbaa4
AM
549212011-03-15 Alan Modra <amodra@gmail.com>
54922
54923 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54924 l_tls_firstbyte_offset non-zero. Save padding offset in
54925 l_tls_firstbyte_offset for later use.
54926 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54927 freeing static tls block.
54928
95721191
JN
549292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54930
54931 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54932 where #ifdef was intended. The intent is to prevent ARG_MAX from
54933 being defined by the kernel headers.
54934
f87dfb1f
UD
549352011-05-07 Ulrich Drepper <drepper@gmail.com>
54936
54937 [BZ #12734]
54938 * resolv/resolv.h: Define RES_NOTLDQUERY.
54939 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54940 no-tld-query and set RES_NOTLDQUERY.
54941 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54942 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54943 modern BIND to search name as TLD unless forbidden.
54944
47c3cd7a
UD
549452011-05-07 Petr Baudis <pasky@suse.cz>
54946 Ulrich Drepper <drepper@gmail.com>
54947
54948 [BZ #12393]
54949 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54950 (is_trusted_path): ...to here.
c1e9ea35 54951 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54952 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54953 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54954
8a35c912
PP
549552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54956
54957 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54958 __BEGIN/__END_DECLS.
54959
acd41f47
UD
549602011-05-06 Ulrich Drepper <drepper@gmail.com>
54961
54962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54963 NSS_STATUS_NOTFOUND if no record was found.
54964
597df647
AS
549652011-05-05 Andreas Schwab <schwab@redhat.com>
54966
54967 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54968 (headers-not-in-tirpc): Remove rpc/netdb.h
54969 * resolv/netdb.h: Revert last change.
54970
b9af1301
PP
549712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54972
54973 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54974 circular dependency between libgcc.a and libc.a.
54975
4e34d5f5
AS
549762011-05-05 Andreas Schwab <schwab@redhat.com>
54977
54978 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54979 * nis/Makefile: Don't install rpcsvc/*.
54980 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54981 instead of <rpc/types.h>.
54982 (MAXHOSTNAMELEN): Define.
54983
00ee369c
AS
549842011-05-03 Andreas Schwab <schwab@redhat.com>
54985
54986 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54987
0b592a30
MB
549882011-04-28 Maciej Babinski <mbabinski@google.com>
54989
54990 [BZ #12714]
54991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54992 gethostbyname4_r when IPv6 results are possible.
54993
6e04cbbe
UD
549942011-05-02 Ulrich Drepper <drepper@gmail.com>
54995
54996 [BZ #12723]
54997 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54998 _PC_PIPE_BUF handling.
54999
e4ecafe0
BH
550002011-04-30 Bruno Haible <bruno@clisp.org>
55001
55002 [BZ #12717]
55003 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55004 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55005 to 'int'.
55006 * inet/getnameinfo.c (getnameinfo): Likewise.
55007
125ee683
UD
550082011-04-29 Ulrich Drepper <drepper@gmail.com>
55009
55010 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55011 to groups setting in database lookup.
55012 * nss/nsswitch.conf: Add initgroups entry.
55013
b722481a
EB
550142011-04-22 Ulrich Drepper <drepper@gmail.com>
55015
55016 [BZ #12685]
55017 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55018 mode string.
55019 Patch by Eric Blake <eblake@redhat.com>.
55020
4df46dbd
L
550212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55022
55023 * sunrpc/Makefile (need-export-routines): Add svc_run.
55024 (routines): Remove svc_run.
55025 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55026 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55027 * sunrpc/svc_run.c (svc_run): Likewise.
55028 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55029
e84142d2
UD
550302011-04-21 Ulrich Drepper <drepper@gmail.com>
55031
55032 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55033 problem in reallocation in last patch.
55034
877175d8
UD
550352011-04-20 Ulrich Drepper <drepper@gmail.com>
55036
55037 * sunrpc/Makefile: Move inclusion of Rules.
55038
ab8eed78
UD
550392011-04-19 Ulrich Drepper <drepper@gmail.com>
55040
55041 * nss/nss_files/files-initgroups.c: New file.
55042 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55043 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55044 _nss_files_initgroups_dyn.
55045
e3d8f584
RS
550462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55047
55048 * elf/elf.h (R_ARM_IRELATIVE): Define.
55049
af190f45
UD
550502011-04-19 Ulrich Drepper <drepper@gmail.com>
55051
55052 * po/ru.po: Update from translation team.
55053
53cf59ef
UD
550542011-04-17 Ulrich Drepper <drepper@gmail.com>
55055
55056 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55057 dependencies.
55058
4c559bcd
MF
550592011-02-06 Mike Frysinger <vapier@gentoo.org>
55060
55061 [BZ #12653]
55062 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55063 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55065 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55066 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55067
4420675c
AS
550682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55069
55070 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55071 differing bytes.
55072 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55073 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55075
75ea32ab
UD
550762011-04-17 Ulrich Drepper <drepper@gmail.com>
55077
55078 [BZ #12420]
55079 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55080 storing it.
55081 * stdlib/bug-getcontext.c: New file.
55082 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55083
27390476
AK
550842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55085
55086 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55087 instructions into .machine "z9-109".
55088 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55089 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55090
10442705
AK
550912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55092
55093 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55094 between environment variables and auxiliary vector.
55095
7b57bfe5
UD
550962011-04-16 Ulrich Drepper <drepper@gmail.com>
55097
55098 * Makefile: Add rules to build linkobj/libc.so.
55099 * include/libc-symbols.h: Define libc_hidden_nolink.
55100 * include/rpc/auth.h: Mark functions which are to be hidden.
55101 * include/rpc/auth_des.h: Likewise.
55102 * include/rpc/auth_unix.h: Likewise.
55103 * include/rpc/clnt.h: Likewise.
55104 * include/rpc/des_crypt.h: Likewise.
55105 * include/rpc/key_prot.h: Likewise.
55106 * include/rpc/pmap_clnt.h: Likewise.
55107 * include/rpc/pmap_prot.h: Likewise.
55108 * include/rpc/pmap_rmt.h: Likewise.
55109 * include/rpc/rpc_msg.h: Likewise.
55110 * include/rpc/svc.h: Likewise.
55111 * include/rpc/svc_auth.h: Likewise.
55112 * include/rpc/xdr.h: Likewise.
55113 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55114 * nss/Makefile: Likewise.
55115 * sunrpc/Makefile: Don't install headers. Build library with normal
55116 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55117 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55118 for the compat linking library. Remove use of INTDEF/INTUSE.
55119 * sunrpc/auth_none.c: Likewise.
55120 * sunrpc/auth_unix.c: Likewise.
55121 * sunrpc/authdes_prot.c: Likewise.
55122 * sunrpc/authuxprot.c: Likewise.
55123 * sunrpc/clnt_gen.c: Likewise.
55124 * sunrpc/clnt_perr.c: Likewise.
55125 * sunrpc/clnt_raw.c: Likewise.
55126 * sunrpc/clnt_simp.c: Likewise.
55127 * sunrpc/clnt_tcp.c: Likewise.
55128 * sunrpc/clnt_udp.c: Likewise.
55129 * sunrpc/clnt_unix.c: Likewise.
55130 * sunrpc/des_crypt.c: Likewise.
55131 * sunrpc/des_soft.c: Likewise.
55132 * sunrpc/get_myaddr.c: Likewise.
55133 * sunrpc/key_call.c: Likewise.
55134 * sunrpc/key_prot.c: Likewise.
55135 * sunrpc/netname.c: Likewise.
55136 * sunrpc/pm_getmaps.c: Likewise.
55137 * sunrpc/pm_getport.c: Likewise.
55138 * sunrpc/pmap_clnt.c: Likewise.
55139 * sunrpc/pmap_prot.c: Likewise.
55140 * sunrpc/pmap_prot2.c: Likewise.
55141 * sunrpc/pmap_rmt.c: Likewise.
55142 * sunrpc/publickey.c: Likewise.
55143 * sunrpc/rpc_cmsg.c: Likewise.
55144 * sunrpc/rpc_common.c: Likewise.
55145 * sunrpc/rpc_dtable.c: Likewise.
55146 * sunrpc/rpc_prot.c: Likewise.
55147 * sunrpc/rpc_thread.c: Likewise.
55148 * sunrpc/rtime.c: Likewise.
55149 * sunrpc/svc.c: Likewise.
55150 * sunrpc/svc_auth.c: Likewise.
55151 * sunrpc/svc_authux.c: Likewise.
55152 * sunrpc/svc_raw.c: Likewise.
55153 * sunrpc/svc_run.c: Likewise.
55154 * sunrpc/svc_simple.c: Likewise.
55155 * sunrpc/svc_tcp.c: Likewise.
55156 * sunrpc/svc_udp.c: Likewise.
55157 * sunrpc/svc_unix.c: Likewise.
55158 * sunrpc/svcauth_des.c: Likewise.
55159 * sunrpc/xcrypt.c: Likewise.
55160 * sunrpc/xdr.c: Likewise.
55161 * sunrpc/xdr_array.c: Likewise.
55162 * sunrpc/xdr_float.c: Likewise.
55163 * sunrpc/xdr_intXX_t.c: Likewise.
55164 * sunrpc/xdr_mem.c: Likewise.
55165 * sunrpc/xdr_rec.c: Likewise.
55166 * sunrpc/xdr_ref.c: Likewise.
55167 * sunrpc/xdr_sizeof.c: Likewise.
55168 * sunrpc/xdr_stdio.c: Likewise.
55169
e6c61494
UD
551702011-04-10 Ulrich Drepper <drepper@gmail.com>
55171
55172 [BZ #12650]
55173 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55174 * sysdeps/ia64/dl-tls.h: Likewise.
55175 * sysdeps/powerpc/dl-tls.h: Likewise.
55176 * sysdeps/s390/dl-tls.h: Likewise.
55177 * sysdeps/sh/dl-tls.h: Likewise.
55178 * sysdeps/sparc/dl-tls.h: Likewise.
55179 * sysdeps/x86_64/dl-tls.h: Likewise.
55180 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55181
34fe483e
AS
551822011-03-14 Andreas Schwab <schwab@redhat.com>
55183
55184 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55185 rpath element also skip the following colon.
55186 (expand_dynamic_string_token): Add is_path parameter and pass
55187 down to DL_DST_REQUIRED and _dl_dst_substitute.
55188 (decompose_rpath): Call expand_dynamic_string_token with
55189 non-zero is_path. Ignore empty rpaths.
55190 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55191 with zero is_path.
55192
f12a32e6
AS
551932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55194
55195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55196 Make cancelable.
55197
38a7d692
UD
551982011-04-09 Ulrich Drepper <drepper@gmail.com>
55199
55200 [BZ #12655]
55201 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55202 Patch by Filipe David Manana <fdmanana@apache.org>.
55203
e451d22b
AS
552042011-04-07 Andreas Schwab <schwab@redhat.com>
55205
55206 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55207 Maintain aligned stack.
55208 (CHECK_RSP): Remove unused macro.
55209
dedc7c7b
UD
552102011-04-03 Ulrich Drepper <drepper@gmail.com>
55211
55212 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55213 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55214
94521213
UD
552152011-04-02 Ulrich Drepper <drepper@gmail.com>
55216
55217 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55218
8cb700c0 55219 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55220
0354e355
L
552212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55222
55223 [BZ #12518]
55224 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55225 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55226 * sysdeps/x86_64/memmove.c: New file.
55227 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55228 (memcpy): Renamed to ...
55229 (__new_memcpy): This.
55230 (memcpy): Provide GLIBC_2_14 memcpy.
55231 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55232 (memcpy): Provide GLIBC_2_2_5 memcpy.
55233
8593482f
UD
552342011-04-01 Ulrich Drepper <drepper@gmail.com>
55235
55236 [BZ #12631]
55237 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55238
81a5726b
AS
552392011-03-30 Andreas Schwab <schwab@redhat.com>
55240
55241 * misc/syncfs.c: New file.
55242 * misc/Makefile (routines): Add syncfs.
55243 * posix/unistd.h: Declare syncfs.
55244 * sysdeps/unix/syscalls.list: Add syncfs.
55245
00e5419f
AS
552462011-04-01 Andreas Schwab <schwab@redhat.com>
55247
55248 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55249 open_by_handle_at.
55250 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55251 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55253 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55255 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55256 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55257
748876bf
UD
552582011-04-01 Ulrich Drepper <drepper@gmail.com>
55259
658e451d
UD
55260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55262 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55267
748876bf
UD
55268 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55269 sync_file_range.c with -fexceptions.
55270 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55271 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55272 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55273 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55274 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55275 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55276 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55277 sync_file_range as cancellation point
55278 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55279 now a wrapper around __call_sync_file_range with cancellation handling.
55280 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55281 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55282 function name to __call_sync_file_range.
55283 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55284 Add call_sync_file_range.
748876bf 55285
6e63d5e1
AS
552862011-04-01 Andreas Schwab <schwab@redhat.com>
55287
55288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55289 bits/timex.h.
6e63d5e1 55290
46998f74
UD
552912011-04-01 Ulrich Drepper <drepper@gmail.com>
55292
4c1423ed
UD
55293 * iconv/iconv.h: Fix typo in comment.
55294 * io/fcntl.h: Likewise.
55295 * libio/stdio.h: Likewise.
55296 * posix/spawn.h: Likewise.
55297 * posix/unistd.h: Likewise.
55298 * stdlib/stdlib.h: Likewise.
55299 * time/time.h: Likewise.
55300 * wcsmbs/wchar.h: Likewise.
55301
158648c0
UD
55302 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55303 open_by_handle): Add.
55304 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55305 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55306 Augment a few comments.
55307 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55309 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55311 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55312 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55313 open_by_handle.
55314
46998f74
UD
55315 * io/fcntl.h (AT_EMPTY_PATH): Define.
55316
83fe108b
UD
553172011-03-30 Ulrich Drepper <drepper@gmail.com>
55318
55319 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55320 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55321 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55322 to...
55323 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55324 * Versions.def: Add GLIBC_2.14.
55325 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55326 Export.
83fe108b 55327
bb242059
UD
553282011-03-22 Ulrich Drepper <drepper@gmail.com>
55329
55330 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55331 round counter.
55332 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55333
c97a1282
L
553342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55335
55336 [BZ #12597]
55337 * string/test-strncmp.c (do_page_test): New function.
55338 (check2): Likewise.
55339 (test_main): Call check2.
55340 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55341
2a115601
UD
553422011-03-20 Ulrich Drepper <drepper@gmail.com>
55343
55344 [BZ #12587]
55345 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55346 Handle cache information in CPU leaf 4.
55347 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55348
8126d904
UD
553492011-03-18 Ulrich Drepper <drepper@gmail.com>
55350
042c49c6 55351 [BZ #12583]
8126d904
UD
55352 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55353 character representation.
55354 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55355
ccfe366e
RA
553562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55357
55358 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55359 END(__isnan) to END(__isnanf) to match function entry point/label
55360 EALIGN(__isnanf,...).
55361
c6e13027
JJ
553622011-03-10 Jakub Jelinek <jakub@redhat.com>
55363
55364 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55365
33f85a3f
UD
553662011-03-10 Ulrich Drepper <drepper@gmail.com>
55367
028478fa
UD
55368 [BZ #12510]
55369 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55370 copy from the symbol referenced in the relocation to initialize the
55371 used variable.
55372 Patch by Piotr Bury <pbury@goahead.com>.
55373 * elf/Makefile: Add rules to build and tst-unique3.
55374 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55375 * elf/tst-unique3.cc: New file.
55376 * elf/tst-unique3.h: New file.
55377 * elf/tst-unique3lib.cc: New file.
55378 * elf/tst-unique3lib2.cc: New file.
55379
33f85a3f
UD
55380 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55381
03592fc7
MF
553822011-03-10 Mike Frysinger <vapier@gentoo.org>
55383
55384 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55385 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55386 to _start.
03592fc7 55387
6a5ee102
UD
553882011-03-06 Ulrich Drepper <drepper@gmail.com>
55389
55390 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55391 to-be-loaded object along a path to loader is ld.so.
55392
7e4ba49c
HJ
553932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55394 Ulrich Drepper <drepper@gmail.com>
55395
55396 * sysdeps/x86_64/memset.S: After aligning destination, code
55397 branches to different locations depending on the value of
55398 misalignment, when multiarch is enabled. Fix this.
55399
554002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55401
55402 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55403 Set _x86_64_preferred_memory_instruction for AMD processsors.
55404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55405 Set bit_Prefer_SSE_for_memop for AMD processors.
55406
13a804de
UD
554072011-03-04 Ulrich Drepper <drepper@gmail.com>
55408
55409 * libio/fmemopen.c (fmemopen): Optimize a bit.
55410
9d25c392
AS
554112011-03-03 Andreas Schwab <schwab@redhat.com>
55412
55413 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55414
a5543c6a
RM
554152011-03-03 Roland McGrath <roland@redhat.com>
55416
55417 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55418
012d35f7
DM
554192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55420
7e4ba49c 55421 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55422 __bzero_ultra1 instead of __memset_ultra1.
55423
4bff6e01
AS
554242011-02-23 Andreas Schwab <schwab@redhat.com>
55425 Ulrich Drepper <drepper@gmail.com>
55426
55427 [BZ #12509]
55428 * include/link.h (struct link_map): Add l_orig_initfini.
55429 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55430 returning unsuccessfully.
55431 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55432 close of a file loaded at startup, restore the original l_initfini
55433 list.
55434 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55435 list, store the pointer.
55436 * elf/Makefile ($(objpfx)noload-mem): New rule.
55437 (noload-ENV): Define.
55438 (tests): Add $(objpfx)noload-mem.
55439 * elf/noload.c: Include <memcheck.h>.
55440 (main): Call mtrace. Close all opened handles.
55441
f2092faf
AS
554422011-02-17 Andreas Schwab <schwab@redhat.com>
55443
55444 [BZ #12454]
55445 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55446 dependencies are missing.
55447
6c8a2e88
ST
554482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55449
f2092faf 55450 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55451 Hurd needs munmap.
55452 * sysdeps/mach/hurd/ifreq.h: New file.
55453
84a42118
PB
554542011-01-27 Petr Baudis <pasky@suse.cz>
55455 Ulrich Drepper <drepper@gmail.com>
55456
071f805e 55457 [BZ 12445]#
84a42118
PB
55458 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55459 to extend_alloca().
55460 * stdio-common/bug23.c: New file.
55461 * stdio-common/Makefile (tests): Add bug23.
55462
e23fe25b
AS
554632010-09-28 Andreas Schwab <schwab@redhat.com>
55464 Ulrich Drepper <drepper@gmail.com>
55465
55466 [BZ #12489]
55467 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55468 before performing relro protection. At old place add assertion
55469 to make sure nothing changed.
55470
d3f02e10
NS
554712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55472 Glauber de Oliveira Costa <glommer@gmail.com>
55473
55474 * elf/elf.h: Add new ARM TLS relocs.
55475
d55fd7a5
RA
554762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55477
55478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55479 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55480 cast from r3.
55481 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55482 'tests' variable.
55483 * sysdeps/wordsize-64/tst-writev.c: New file.
55484
2206397e
RA
554852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55486
55487 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55488 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55489 insns in _dl_start to prevent a TOC reference before relocs are
55490 resolved.
55491
e9433893
UD
554922011-02-15 Ulrich Drepper <drepper@gmail.com>
55493
55494 [BZ #12469]
55495 * Makeconfig: Remove RANLIB definition.
55496 * Makerules: Don't use RANLIB.
55497 * aclocal.m4: Remove ranlib test.
55498 * configure.in: No need to check for ranlib.
55499 * elf/rtld-Rules: Don't use RANLIB.
55500
f75286c6
ST
555012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55502
8e31c82d
ST
55503 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55504 protection macro.
55505 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55506 inclusion protection macro.
55507
f75286c6
ST
55508 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55509 SIGRTMIN and SIGRTMAX and print information in that case only when
55510 SIGRTMIN is defined.
55511
c1d0e639
JJ
555122011-02-11 Jakub Jelinek <jakub@redhat.com>
55513
55514 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55515 arginfo fn returning -1.
55516
55517 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55518 and thousands string is zero terminated.
55519
edf9294e
AS
555202011-02-03 Andreas Schwab <schwab@redhat.com>
55521
55522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55523 sysdeps/unix/sysv/linux/bits/socket.h.
55524
2b7e92df
ST
555252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55526
edf9294e
AS
55527 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55528 (__CPU_COUNT): Remove old macros.
55529 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55530 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55531 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55532 (__sched_cpualloc, __sched_cpufree): Add declarations.
55533
a4c7ea7b
UD
555342011-02-05 Ulrich Drepper <drepper@gmail.com>
55535
55536 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55537 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55538 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55539 (readdhstai): Return value of addhstaiX call.
55540 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55541 (addgrbyX): Return value returned by cache_addgr.
55542 (readdgrbyname): Return value returned by addgrbyX.
55543 (readdgrbygid): Likewise.
55544 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55545 (addpwbyX): Return value returned by cache_addpw.
55546 (readdpwbyname): Return value returned by addhstbyX.
55547 (readdpwbyuid): Likewise.
55548 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55549 (addservbyX): Return value returned by cache_addserv.
55550 (readdservbyname): Return value returned by addservbyX:
55551 (readdservbyport): Likewise.
55552 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55553 (addhstbyX): Return value returned by cache_addhst.
55554 (readdhstbyname): Return value returned by addhstbyX.
55555 (readdhstbyaddr): Likewise.
55556 (readdhstbynamev6): Likewise.
55557 (readdhstbyaddrv6): Likewise.
55558 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55559 (readdinitgroups): Return value returned by addinitgroupsX.
55560 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55561 (prune_cache): Keep track of timeout value of re-added entries.
55562 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55563 * nscd/nscd.h: Adjust prototypes of readd* functions.
55564
a0bf67cc
RM
555652011-02-04 Roland McGrath <roland@redhat.com>
55566
55567 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55568 (nis_stats): Likewise.
55569 * nis/nis_modify.c (nis_modify): Likewise.
55570 * nis/nis_remove.c (nis_remove): Likewise.
55571 * nis/nis_add.c (nis_add): Likewise.
55572
55573 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55574
55575 * posix/fnmatch_loop.c: Add some consts.
55576
55577 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55578
435b95eb
L
555792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55580
55581 [BZ #12460]
55582 * config.make.in (config-cflags-novzeroupper): Define.
55583 * configure.in: Substitute libc_cv_cc_novzeroupper.
55584 * elf/Makefile (AVX-CFLAGS): Define.
55585 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55586 (CFLAGS-tst-auditmod4a.c): Likewise.
55587 (CFLAGS-tst-auditmod4b.c): Likewise.
55588 (CFLAGS-tst-auditmod6b.c): Likewise.
55589 (CFLAGS-tst-auditmod6c.c): Likewise.
55590 (CFLAGS-tst-auditmod7b.c): Likewise.
55591 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55592
8517b15e
UD
555932011-02-02 Ulrich Drepper <drepper@gmail.com>
55594
55595 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55596 function to the callback.
55597 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55598
10a656fe
AS
555992011-02-02 Andreas Schwab <schwab@redhat.com>
55600
55601 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55602 of errno.
55603
968dad0a
UD
556042011-01-19 Ulrich Drepper <drepper@gmail.com>
55605
9f94d2ea 55606 [BZ #11724]
968dad0a
UD
55607 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55608 of constructors.
55609 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55610 of destructors.
55611 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55612
55613 [BZ #11724]
55614 * elf/Makefile: Add rules to build and run new test.
55615 * elf/tst-initorder.c: New file.
55616 * elf/tst-initorder.exp: New file.
55617 * elf/tst-initordera1.c: New file.
55618 * elf/tst-initordera2.c: New file.
55619 * elf/tst-initordera3.c: New file.
55620 * elf/tst-initordera4.c: New file.
55621 * elf/tst-initorderb1.c: New file.
55622 * elf/tst-initorderb2.c: New file.
55623 * elf/tst-order-a1.c: New file.
55624 * elf/tst-order-a2.c: New file.
55625 * elf/tst-order-a3.c: New file.
55626 * elf/tst-order-a4.c: New file.
55627 * elf/tst-order-b1.c: New file.
55628 * elf/tst-order-b2.c: New file.
55629 * elf/tst-order-main.c: New file.
55630 New test case by George Gensure <werkt0@gmail.com>.
55631
86e92359
UD
556322010-10-01 Andreas Schwab <schwab@redhat.com>
55633
55634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55635 decoding ACE if AI_CANONIDN.
55636
5d5732b0
UD
556372011-01-18 Ulrich Drepper <drepper@gmail.com>
55638
55639 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55640
a77e8cbc
UD
556412011-01-17 Ulrich Drepper <drepper@gmail.com>
55642
6392473f
UD
55643 * version.h (RELEASE): Bump for 2.13 release.
55644 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55645
620a0529
UD
55646 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55647
18ba70a5
UD
55648 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55649 MADV_NOHUGEPAGE.
32465c3e
UD
55650 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55651 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55652 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55654 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55655 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55656
c0dafcf1
UD
55657 * posix/getconf.c: Update copyright year.
55658 * catgets/gencat.c: Likewise.
55659 * csu/version.c: Likewise.
55660 * debug/catchsegv.sh: Likewise.
55661 * debug/xtrace.sh: Likewise.
55662 * elf/ldconfig.c: Likewise.
55663 * elf/ldd.bash.in: Likewise.
55664 * elf/sprof.c (print_version): Likewise.
55665 * iconv/iconv_prog.c: Likewise.
55666 * iconv/iconvconfig.c: Likewise.
55667 * locale/programs/locale.c: Likewise.
55668 * locale/programs/localedef.c: Likewise.
55669 * malloc/memusage.sh: Likewise.
55670 * malloc/mtrace.pl: Likewise.
55671 * nscd/nscd.c (print_version): Likewise.
55672 * nss/getent.c: Likewise.
55673
a77e8cbc
UD
55674 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55675 PF_CAIF, and PF_ALG.
55676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55677
77e8bddf
AS
556782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55679
1f20b93a
AS
55680 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55681 (modules-names): Use them.
55682 (ifunc-test-modules, ifunc-pie-tests): Define.
55683 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55684 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55685 (test-extras): Likewise.
55686 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55687 $(compile-command.c).
55688 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55689 (all-built-dso): Define.
55690 (check-textrel.out, check-execstack.out): Depend on it.
55691
77e8bddf
AS
55692 * configure.in: Don't override --enable-multi-arch.
55693
bc425b33
UD
556942011-01-15 Ulrich Drepper <drepper@gmail.com>
55695
55696 [BZ #6812]
55697 * nscd/hstcache.c (tryagain): Define.
55698 (cache_addhst): Return tryagain not notfound for temporary errors.
55699 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55700 failed.
55701
794c3ad3
UD
557022011-01-14 Ulrich Drepper <drepper@gmail.com>
55703
70181fdd
UD
55704 [BZ #10563]
55705 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55706 to make the syscall.
55707 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55708
794c3ad3
UD
55709 [BZ #12378]
55710 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55711 and fall back to matching as normal character if the string ends before
55712 the matching ']' is found. This is what POSIX requires.
55713 * posix/testfnm.c: Adjust test result.
55714 * posix/globtest.sh: Adjust test result. Add new test.
55715 * posix/tst-fnmatch.input: Likewise.
55716 * posix/tst-fnmatch2.c: Add new test.
55717
68dc9497
AS
557182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55719
55720 * elf/Makefile (check-execstack): Revert last change. Depend on
55721 check-execstack.h.
55722 (check-execstack.h): New target.
55723 (generated): Add check-execstack.h.
55724 * elf/check-execstack.c: Include "check-execstack.h".
55725 (main): Revert last change.
55726 (handle_file): Return zero if GNU_STACK is absent and
55727 DEFAULT_STACK_PERMS doesn't include PF_X.
55728
451f001b
UD
557292011-01-13 Ulrich Drepper <drepper@gmail.com>
55730
cfa28e56
UD
55731 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55732 in child fails because the descriptor is already closed.
8cf8ce17
UD
55733 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55734 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55735 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55736
1086d70d
UD
55737 [BZ #12397]
55738 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55739 syscall.
55740
451f001b
UD
55741 [BZ #10484]
55742 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55743 temporary buffer used to handle multi lookups locally.
a85b5cb4 55744 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55745
08769175
UD
557462011-01-12 Ulrich Drepper <drepper@gmail.com>
55747
55748 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55749 loader is ld.so.
55750
5e49c52e
UD
557512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55752
55753 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55754 alignment for SSE2.
55755
60522a5f
UD
557562011-01-12 Ulrich Drepper <drepper@gmail.com>
55757
55758 [BZ #12394]
55759 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55760 characters. When rounding increased number of integer digits recompute
55761 number of groups.
55762 * stdio-common/tst-grouping.c: New file.
55763 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55764
f257bbd7
UD
557652011-01-09 Ulrich Drepper <drepper@gmail.com>
55766
55767 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55768 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55769
55770 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55771 void.
55772 * bits/select.h: Likewise.
55773
fa9c15cb
UD
557742011-01-08 Ulrich Drepper <drepper@gmail.com>
55775
55776 * po/ja.po: Update from translation team.
55777
16c2895f
DM
557782011-01-04 David S. Miller <davem@sunset.davemloft.net>
55779
55780 [BZ #11155]
55781 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55782 implementation just like for lxstat, fxstatat, et al.
55783
2543fef2
JM
557842010-12-27 Jim Meyering <meyering@redhat.com>
55785
55786 [BZ #12348]
55787 * posix/regexec.c (build_trtable): Return failure indication upon
55788 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55789
98727dbe
UD
557902010-12-25 Ulrich Drepper <drepper@gmail.com>
55791
5bd6dc5c
UD
55792 [BZ #12201]
55793 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55794 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55795 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55796 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55797
97983464
UD
55798 [BZ #12207]
55799 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55800
98727dbe
UD
55801 [BZ #12204]
55802 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55803 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55804
4a531bb0
L
558052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55806
55807 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55808 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55809 script has SORT_BY_INIT_PRIORITY.
55810 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55811 NO_CTORS_DTORS_SECTIONS is defined.
55812 * elf/soinit.c: Likewise.
55813 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55814 NO_CTORS_DTORS_SECTIONS is defined.
55815 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55816 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55817 * sysdeps/sh/init-first.c: Likewise.
55818 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55819
07eb4b71
UD
558202010-12-24 Ulrich Drepper <drepper@gmail.com>
55821
55822 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55823 always use the slow path.
55824
30950a5f
RA
558252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55826
55827 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55828 similar rule which adds the sysdep directories to the header search in
55829 order to pick up the correct platform stackinfo.h.
55830 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55831 perform test if it is, otherwise return successfully without testing.
55832 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55833 DEFAULT_STACK_PERMS define in stackinfo.h.
55834 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55835 defined in stackinfo.h.
55836 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55837 DEFAULT_STACK_PERMS defined in stackinfo.h.
55838 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55839 * sysdeps/ia64/stackinfo.h: Likewise.
55840 * sysdeps/s390/stackinfo.h: Likewise.
55841 * sysdeps/sh/stackinfo.h: Likewise.
55842 * sysdeps/sparc/stackinfo.h: Likewise.
55843 * sysdeps/x86_64/stackinfo.h: Likewise.
55844 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55845 PF_X for powerpc64. Retain PF_X for powerpc32.
55846
db753e2c
UD
558472010-12-19 Ulrich Drepper <drepper@gmail.com>
55848
14b697f7
UD
55849 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55850 accurately.
db753e2c
UD
55851 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55852 GETDENTS_64BIT_ALIGNED.
55853
28300719
UD
558542010-12-14 Ulrich Drepper <dreper@gmail.com>
55855
14b697f7 55856 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55857
4f197237
AS
558582010-12-10 Andreas Schwab <schwab@redhat.com>
55859
dbb0472f
AS
55860 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55861 _GNU_SOURCE.
55862
4f197237
AS
55863 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55864 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55865 Remove __restrict.
55866 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55867 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55868
fb88ac72
UD
558692010-12-09 Ulrich Drepper <drepper@gmail.com>
55870
55871 [BZ #11655]
55872 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55873 are initialized.
55874
42acbb92
JJ
558752010-12-09 Jakub Jelinek <jakub@redhat.com>
55876
55877 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55878
c038d98d
UD
558792010-12-03 Ulrich Drepper <drepper@gmail.com>
55880
55881 * po/it.po: Update from translation team.
55882
3a4a2499
L
558832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55884
55885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55886 unused codes.
55887
1e24cf6e
UD
558882010-11-30 Ulrich Drepper <drepper@gmail.com>
55889
55890 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55891
a7690819
AS
558922010-11-24 Andreas Schwab <schwab@redhat.com>
55893
55894 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55895 specially.
55896 (gaih_getanswer_slice): Likewise.
55897
3bf8d1b1
JJ
558982010-10-20 Jakub Jelinek <jakub@redhat.com>
55899
55900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55901
6db52fbb
PB
559022010-05-31 Petr Baudis <pasky@suse.cz>
55903
55904 [BZ #11149]
55905 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55906 silently even in the chroot mode.
55907
eaca7569
UD
559082010-11-22 Ulrich Drepper <drepper@gmail.com>
55909
55910 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55911 last patch a bit. Pretty printing
55912
3056dcdb
UD
559132010-05-31 Petr Baudis <pasky@suse.cz>
55914
55915 [BZ #10085]
55916 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55917 initialization of skip_initgroups_dyn.
55918
cf7c9078
UD
559192010-11-19 Ulrich Drepper <drepper@gmail.com>
55920
55921 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55922 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55923
a1fb5e3e
UD
559242010-11-16 Ulrich Drepper <drepper@gmail.com>
55925
55926 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55927
3540d66b
AS
559282010-11-11 Andreas Schwab <schwab@redhat.com>
55929
55930 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55931 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55932 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55933 ($(objpfx)tst-fnmatch-mem): New rule.
55934 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55935 * posix/tst-fnmatch.c (main): Call mtrace.
55936
13b69574
L
559372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55938
55939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55940 Support Intel processor model 6 and model 0x2c.
55941
da93d214
LM
559422010-11-10 Luis Machado <luisgpm@br.ibm.com>
55943
55944 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55945 signed comparison.
55946
8ca52c6e
L
559472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55948
55949 [BZ #12205]
55950 * string/test-strncasecmp.c (check_result): New function.
55951 (do_one_test): Use it.
55952 (check1): New function.
55953 (test_main): Use it.
55954 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55955 Support strcasecmp and strncasecmp.
55956
69da074d
UD
559572010-11-08 Ulrich Drepper <drepper@gmail.com>
55958
55959 [BZ #12194]
55960 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55961 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55962
ff02d528
L
559632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55964
55965 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55966 IFUNC support.
55967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55968 memset-x86-64.
55969 * sysdeps/x86_64/multiarch/bzero.S: New file.
55970 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55971 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55972 * sysdeps/x86_64/multiarch/memset.S: New file.
55973 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55975 Set bit_Prefer_SSE_for_memop for Intel processors.
55976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55977 Define.
55978 (index_Prefer_SSE_for_memop): Define.
55979 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55980
344d0b54
LM
559812010-11-04 Luis Machado <luisgpm@br.ibm.com>
55982
55983 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55984 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55985
c0dde15b
UD
559862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55987
55988 [BZ #12191]
55989 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55990 (__x86_64_raw_data_cache_size_half): Likewise.
55991 (__x86_64_raw_shared_cache_size): Likewise.
55992 (__x86_64_raw_shared_cache_size_half): Likewise.
55993
55994 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55995 (__x86_64_raw_data_cache_size_half): Likewise.
55996 (__x86_64_raw_shared_cache_size): Likewise.
55997 (__x86_64_raw_shared_cache_size_half): Likewise.
55998 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55999 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56000 and __x86_64_raw_shared_cache_size_half. Round
56001 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56002 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56003 to multiple of 256 bytes.
56004
0e516e0e
MS
560052010-11-03 Ulrich Drepper <drepper@gmail.com>
56006
56007 [BZ #12167]
56008 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56009 of inacessible symlinks. Verify result of symlink before returning it.
56010 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56011 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56012
0e012e87
ER
560132010-10-28 Erich Ritz <erichritz@gmail.com>
56014
56015 * math/math.h (isinf): Fix typo in comment.
56016
de0ff7bc
UD
560172010-11-01 Ulrich Drepper <drepper@gmail.com>
56018
56019 * po/da.po: Update from translation team.
56020
fa41c84d
UD
560212010-10-26 Ulrich Drepper <drepper@gmail.com>
56022
56023 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56024 is added to the list.
56025
f0967738
AK
560262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56027 Ulrich Drepper <drepper@gmail.com>
56028
56029 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56030 the global list here. Move code to...
56031 (_dl_add_to_namespace_list): ...here. New function.
56032 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56033 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56034 * elf/dl-load.c (lose): Don't remove the element from the list.
56035 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56036 (_dl_map_object): Likewise.
56037
560382010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56039
56040 [BZ #12159]
56041 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56042 into all bytes of SSE register.
56043 Patch by Richard Li <richardpku@gmail.com>.
56044
f0967738 560452010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56046
56047 [BZ #12140]
56048 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56049 perturbing.
56050
d0b9e94f
MB
560512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56052
56053 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56054 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56055 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56056 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56058 submachine.
56059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56060
8e9f92e9
AS
560612010-10-22 Andreas Schwab <schwab@redhat.com>
56062
56063 * include/dlfcn.h (__RTLD_SECURE): Define.
56064 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56065 mode & __RTLD_SECURE instead.
56066 (open_path): Rename preloaded parameter to secure.
56067 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56068 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56069 * elf/dl-deps.c (openaux): Likewise.
56070 * elf/rtld.c (struct map_args): Remove is_preloaded.
56071 (map_doit): Don't use it.
56072 (dl_main): Likewise.
56073 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56074 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56075
bc96fbda
AS
560762010-09-09 Andreas Schwab <schwab@redhat.com>
56077
56078 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56079 (sysd-rules-targets): Remove duplicates.
56080 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56081 rtld-%.$o dependency.
56082
22cd1c9b
AS
560832010-10-18 Andreas Schwab <schwab@redhat.com>
56084
56085 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56086 _dl_map_object do it.
56087
18edac48
UD
560882010-10-19 Ulrich Drepper <drepper@gmail.com>
56089
56090 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56091 fast fma builtins, define the macros in the C99 standard.
56092 (FP_FAST_FMAF): Likewise.
56093 (FP_FAST_FMAL): Likewise.
56094 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56095
56096 * bits/mathdef.h: Update copyright year.
56097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56098
d2050124
MM
560992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56100
56101 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56102 builtins, define the macros in the C99 standard.
56103 (FP_FAST_FMAF): Likewise.
56104 (FP_FAST_FMAL): Likewise.
56105 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56106 multiply/add.
56107 (FP_FAST_FMAF): Likewise.
56108
475facd1
JJ
561092010-10-15 Jakub Jelinek <jakub@redhat.com>
56110
56111 [BZ #3268]
56112 * math/libm-test.inc (fma_test): Some new testcases.
56113 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56114 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56115 y and infinite z. Do multiplication by C already in long double.
56116 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56118 y and infinite z. Do bitwise or of inexact bit into u.d.
56119 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56120 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56121 * sysdeps/i386/fpu/s_fma.S: Removed.
56122 * sysdeps/i386/fpu/s_fmal.S: Removed.
56123
7c08a05c
JJ
561242010-10-16 Jakub Jelinek <jakub@redhat.com>
56125
56126 [BZ #3268]
56127 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56129 computation is not scheduled after fetestexcept. Fix value
56130 of minimum denormal long double.
56131
f3f7372d
JJ
561322010-10-14 Jakub Jelinek <jakub@redhat.com>
56133
56134 [BZ #3268]
56135 * math/libm-test.inc (fma_test): Add some more tests.
56136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56137 correctly.
56138
14d43591
AS
561392010-10-15 Andreas Schwab <schwab@redhat.com>
56140
56141 * scripts/data/localplt-s390-linux-gnu.data: New file.
56142 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56143
5e908464
JJ
561442010-10-13 Jakub Jelinek <jakub@redhat.com>
56145
56146 [BZ #3268]
56147 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56148 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56149 instead of dbl-64.
56150 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56151 inlines.
56152 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56154 if one of x and y is very large and the other is subnormal.
56155 * sysdeps/s390/fpu/s_fmaf.c: New file.
56156 * sysdeps/s390/fpu/s_fma.c: New file.
56157 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56158 * sysdeps/powerpc/fpu/s_fma.S: New file.
56159 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56160 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56161 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56162
561632010-10-12 Jakub Jelinek <jakub@redhat.com>
56164
56165 [BZ #3268]
56166 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56167 fma tests.
56168 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56169 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56170 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56171 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56172 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56173 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56174 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56175
b833d51f
UD
561762010-10-12 Ulrich Drepper <drepper@redhat.com>
56177
56178 [BZ #12078]
56179 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56180 * posix/bug-regex31.input: Add test case.
56181
1751705d
UD
561822010-10-11 Ulrich Drepper <drepper@gmail.com>
56183
e9b9cbf5
UD
56184 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56185 * posix/bug-regex31.input: New file.
56186
56187 [BZ #12078]
56188 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56189 (parse_sub_exp): Fix last change, use postorder.
56190
ef06edbe
UD
56191 * posix/bug-regex31.c: New file.
56192 * posix/Makefile: Add rules to build and run bug-regex31.
56193
a129c80d
UD
56194 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56195
56196 [BZ #12078]
56197 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56198
b76b818e
UD
56199 [BZ #12108]
56200 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56201 to have entries in sys_siglist.
56202
1751705d
UD
56203 [BZ #12093]
56204 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56205 be NULL.
56206
9ff8d36f
JJ
562072010-10-07 Jakub Jelinek <jakub@redhat.com>
56208
56209 [BZ #3268]
56210 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56211 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56212 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56213 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56214 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56215 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56216 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56217 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56218 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56219 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56220 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56221 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56222 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56223 * math/ftestexcept.c (fetestexcept): Likewise.
56224 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56225 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56226 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56227 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56228 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56229 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56230 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56231
af325969
UD
562322010-10-11 Ulrich Drepper <drepper@gmail.com>
56233
c579b202 56234 [BZ #12107]
af325969
UD
56235 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56236 newline.
56237
67a67b95
UD
562382010-10-06 Ulrich Drepper <drepper@gmail.com>
56239
56240 * string/bug-strstr1.c: New file.
56241 * string/Makefile: Add rules to build and run bug-strstr1.
56242
5fb308bc
EB
562432010-10-05 Eric Blake <eblake@redhat.com>
56244
56245 [BZ #12092]
56246 * string/str-two-way.h (two_way_long_needle): Always clear memory
56247 when skipping input due to the shift table.
56248
45db99c7
UD
562492010-10-03 Ulrich Drepper <drepper@gmail.com>
56250
3b111893
UD
56251 [BZ #12005]
56252 * malloc/mcheck.c: Handle large requests.
56253
45db99c7
UD
56254 [BZ #12077]
56255 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56256 for strncmp and strncasecmp.
56257 * string/stratcliff.c: Add tests for strcmp and strncmp.
56258 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56259
cf7a1eb8
NI
562602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56261
56262 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56263 __set_fpscr.
56264
6484ba5e
AJ
562652010-09-30 Andreas Jaeger <aj@suse.de>
56266
56267 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56268 (CGROUP_SUPER_MAGIC): Define.
56269 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56270 Handle btrfs and cgroup file systems.
56271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56272 Likewise.
56273
91c42559
LM
562742010-09-27 Luis Machado <luisgpm@br.ibm.com>
56275
56276 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56277 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56278
87a97932
AK
562792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56280
56281 [BZ #12067]
56282 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56283 trying to locate the ELF header.
56284
c21cc9bc
AS
562852010-09-27 Andreas Schwab <schwab@redhat.com>
56286
56287 [BZ #11611]
56288 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56289 Mask out sign-bit copies when constructing f_fsid.
56290
315970f6
PB
562912010-09-24 Petr Baudis <pasky@suse.cz>
56292
56293 * debug/stack_chk_fail_local.c: Add missing licence exception.
56294 * debug/warning-nop.c: Likewise.
56295
1ac7a2c7
JM
562962010-09-15 Joseph Myers <joseph@codesourcery.com>
56297
56298 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56299 implementing getdents64 using getdents syscall, set d_type if
56300 __ASSUME_GETDENTS32_D_TYPE.
56301
56801c50
AS
563022010-09-16 Andreas Schwab <schwab@redhat.com>
56303
56304 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56305 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56306
dda51327
UD
563072010-09-21 Ulrich Drepper <drepper@redhat.com>
56308
56309 [BZ #12037]
56310 * posix/unistd.h: Undo change of feature selection for ftruncate from
56311 2010-01-11.
56312
8ffcee4a
UD
563132010-09-20 Ulrich Drepper <drepper@redhat.com>
56314
a545ecd9 56315 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56316 detection.
56317
e24f0a8b
AS
563182010-09-20 Andreas Schwab <schwab@redhat.com>
56319
56320 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56321 fanotify_mark.
56322 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56323
7291c56f
AS
563242010-09-14 Andreas Schwab <schwab@redhat.com>
56325
56326 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56327 variables after CHECK_SP call.
56328 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56329
bc5fb037
AS
563302010-09-13 Andreas Schwab <schwab@redhat.com>
56331 Ulrich Drepper <drepper@redhat.com>
56332
56333 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56334 re-relocationg ld.so.
56335 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56336 _dl_init_paths call.
56337 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56338 here anymore.
56339
e66e7419
UD
563402010-09-14 Ulrich Drepper <drepper@redhat.com>
56341
56342 * resolv/res_init.c (__res_vinit): Count the default server we added.
56343
c044aa75
CLT
563442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56345 Ulrich Drepper <drepper@redhat.com>
56346
56347 [BZ #11968]
56348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56349 (____longjmp_chk): Use %ebx for saving value across system call.
56350 Add unwind info.
56351
32cf4069
AS
563522010-09-06 Andreas Schwab <schwab@redhat.com>
56353
56354 * manual/Makefile: Don't mix pattern rules with normal rules.
56355
817328ee
AS
563562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56357
56358 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56359 operation.
56360 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56361 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56362 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56363 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56364 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56365 Likewise.
56366
29fddf61
UD
563672010-09-04 Ulrich Drepper <drepper@redhat.com>
56368
56369 [BZ #11979]
56370 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56371 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56372
0959ffc9
UD
563732010-09-02 Ulrich Drepper <drepper@redhat.com>
56374
56375 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56376 * sysdeps/x86_64/addmul_1.S: Likewise.
56377 * sysdeps/x86_64/lshift.S: Likewise.
56378 * sysdeps/x86_64/mul_1.S: Likewise.
56379 * sysdeps/x86_64/rshift.S: Likewise.
56380 * sysdeps/x86_64/sub_n.S: Likewise.
56381 * sysdeps/x86_64/submul_1.S: Likewise.
56382
ece29840
ST
563832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56384
0959ffc9
UD
56385 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56386 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56387 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56388 * bits/sched.h [__need_schedparam]
ece29840 56389 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56390 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56391 (__defined_schedparam): Define to 1.
ece29840
ST
56392 (__sched_param): New structure, identical to sched_param.
56393 (__need_schedparam): Undefine.
56394
e53a31fe
MF
563952010-08-31 Mike Frysinger <vapier@gentoo.org>
56396
fdc0c10d
MF
56397 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56398 (epoll_create1): Declare.
56399
e53a31fe
MF
56400 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56401
a726d796
AS
564022010-08-31 Andreas Schwab <schwab@redhat.com>
56403
56404 [BZ #7066]
56405 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56406 shifting retval into place.
56407
2f3e3dc7
UD
564082010-09-01 Ulrich Drepper <drepper@redhat.com>
56409
f2933da9
UD
56410 * nis/rpcsvc/nis.h: Update copyright notice.
56411 * nis/rpcsvc/nis.x: Likewise.
56412 * nis/rpcsvc/nis_callback.h: Likewise.
56413 * nis/rpcsvc/nis_callback.x: Likewise.
56414 * nis/rpcsvc/nis_object.x: Likewise.
56415 * nis/rpcsvc/nis_tags.h: Likewise.
56416 * nis/rpcsvc/yp.h: Likewise.
56417 * nis/rpcsvc/yp.x: Likewise.
56418 * nis/rpcsvc/ypupd.h: Likewise.
56419 * nis/yp_xdr.c: Likewise.
56420 * nis/ypupdate_xdr.c: Likewise.
56421
2f3e3dc7
UD
56422 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56423 mainly the body of pmap_getport. Add parameters to specify timeouts.
56424 (pmap_getport): Use __libc_rpc_getport.
56425 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56426 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56427 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56428
f3dcc2f9
AS
564292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56430
56431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56432 fanotify_mark.
56433
6d34eb5b
RM
564342010-08-27 Roland McGrath <roland@redhat.com>
56435
56436 * sysdeps/i386/i686/multiarch/Makefile
56437 (CFLAGS-varshift.c): New variable.
56438
9ea3de11
UD
564392010-08-27 Ulrich Drepper <drepper@redhat.com>
56440
c96d23fc
UD
56441 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56442 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56443
9ea3de11
UD
56444 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56445
56446 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56447
623aac7f
L
564482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56449
56450 * sysdeps/x86_64/strlen.S: Unroll the loop.
56451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56452 strlen-sse2 strlen-sse2-bsf.
56453 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56454 __strlen_no_bsf if bit_Slow_BSF is set.
56455 (__strlen_sse42): Removed.
56456 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56457 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56458
8b2b7715
RM
564592010-08-25 Roland McGrath <roland@redhat.com>
56460
56461 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56462 * sysdeps/x86_64/multiarch/varshift.c: New file.
56463 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56464 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56465 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56466 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56467
e73015f2
L
564682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56469
56470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56471 strlen-sse2 strlen-sse2-bsf.
56472 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56473 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56474 (__strlen_sse2): Removed.
56475 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56476 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56478 bit_Slow_BSF for Atom.
56479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56480 (index_Slow_BSF): Define.
56481 (HAS_SLOW_BSF): Define.
56482
df24a73e
UD
564832010-08-25 Ulrich Drepper <drepper@redhat.com>
56484
56485 [BZ #10851]
56486 * resolv/res_init.c (__res_vinit): When no server address at all
56487 is given default to loopback.
56488
f2ac4868
RM
564892010-08-24 Roland McGrath <roland@redhat.com>
56490
09055553
RM
56491 * configure.in: Remove config-name.h generation.
56492 * configure: Regenerated.
56493 * config-name.in: File removed.
56494 * scripts/config-uname.sh: New file.
56495 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56496 ($(objdir)config-name.h): New target.
56497
f2ac4868
RM
56498 * sunrpc/rpc_parse.h: Avoid nested comment.
56499
73f27d5e
RH
565002010-08-24 Richard Henderson <rth@redhat.com>
56501 Ulrich Drepper <drepper@redhat.com>
56502 H.J. Lu <hongjiu.lu@intel.com>
56503
56504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56506 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56507 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56508 _mm_alignr_epi8 with _mm_loadu_si128.
56509 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56510 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56511 (__m128i_shift_right): Removed.
56512 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56513 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56514 * sysdeps/x86_64/multiarch/varshift.h: New file.
56515 * sysdeps/x86_64/multiarch/varshift.S: New file.
56516
84b9230c
MF
565172010-08-21 Mike Frysinger <vapier@gentoo.org>
56518
56519 * configure.in: Move assembler checks to before sysdep dir checking.
56520
9bbd0ddc
PB
565212010-08-20 Petr Baudis <pasky@suse.cz>
56522
56523 * LICENSES: Sync the sunrpc license.
56524
9da4bb31
UD
565252010-08-19 Ulrich Drepper <drepper@redhat.com>
56526
a7ab6ec8
UD
56527 * sunrpc/auth_des.c: Update copyright notice once again.
56528 * sunrpc/auth_none.c: Likewise.
56529 * sunrpc/auth_unix.c: Likewise.
56530 * sunrpc/authdes_prot.c: Likewise.
56531 * sunrpc/authuxprot.c: Likewise.
56532 * sunrpc/bindrsvprt.c: Likewise.
56533 * sunrpc/clnt_gen.c: Likewise.
56534 * sunrpc/clnt_perr.c: Likewise.
56535 * sunrpc/clnt_raw.c: Likewise.
56536 * sunrpc/clnt_simp.c: Likewise.
56537 * sunrpc/clnt_tcp.c: Likewise.
56538 * sunrpc/clnt_udp.c: Likewise.
56539 * sunrpc/clnt_unix.c: Likewise.
56540 * sunrpc/des_crypt.c: Likewise.
56541 * sunrpc/des_soft.c: Likewise.
56542 * sunrpc/get_myaddr.c: Likewise.
56543 * sunrpc/getrpcport.c: Likewise.
56544 * sunrpc/key_call.c: Likewise.
56545 * sunrpc/key_prot.c: Likewise.
56546 * sunrpc/openchild.c: Likewise.
56547 * sunrpc/pm_getmaps.c: Likewise.
56548 * sunrpc/pm_getport.c: Likewise.
56549 * sunrpc/pmap_clnt.c: Likewise.
56550 * sunrpc/pmap_prot.c: Likewise.
56551 * sunrpc/pmap_prot2.c: Likewise.
56552 * sunrpc/pmap_rmt.c: Likewise.
56553 * sunrpc/rpc/auth.h: Likewise.
56554 * sunrpc/rpc/auth_unix.h: Likewise.
56555 * sunrpc/rpc/clnt.h: Likewise.
56556 * sunrpc/rpc/des_crypt.h: Likewise.
56557 * sunrpc/rpc/key_prot.h: Likewise.
56558 * sunrpc/rpc/netdb.h: Likewise.
56559 * sunrpc/rpc/pmap_clnt.h: Likewise.
56560 * sunrpc/rpc/pmap_prot.h: Likewise.
56561 * sunrpc/rpc/pmap_rmt.h: Likewise.
56562 * sunrpc/rpc/rpc.h: Likewise.
56563 * sunrpc/rpc/rpc_des.h: Likewise.
56564 * sunrpc/rpc/rpc_msg.h: Likewise.
56565 * sunrpc/rpc/svc.h: Likewise.
56566 * sunrpc/rpc/svc_auth.h: Likewise.
56567 * sunrpc/rpc/types.h: Likewise.
56568 * sunrpc/rpc/xdr.h: Likewise.
56569 * sunrpc/rpc_clntout.c: Likewise.
56570 * sunrpc/rpc_cmsg.c: Likewise.
56571 * sunrpc/rpc_common.c: Likewise.
56572 * sunrpc/rpc_cout.c: Likewise.
56573 * sunrpc/rpc_dtable.c: Likewise.
56574 * sunrpc/rpc_hout.c: Likewise.
56575 * sunrpc/rpc_main.c: Likewise.
56576 * sunrpc/rpc_parse.c: Likewise.
56577 * sunrpc/rpc_parse.h: Likewise.
56578 * sunrpc/rpc_prot.c: Likewise.
56579 * sunrpc/rpc_sample.c: Likewise.
56580 * sunrpc/rpc_scan.c: Likewise.
56581 * sunrpc/rpc_scan.h: Likewise.
56582 * sunrpc/rpc_svcout.c: Likewise.
56583 * sunrpc/rpc_tblout.c: Likewise.
56584 * sunrpc/rpc_util.c: Likewise.
56585 * sunrpc/rpc_util.h: Likewise.
56586 * sunrpc/rpcinfo.c: Likewise.
56587 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56588 * sunrpc/rpcsvc/key_prot.x: Likewise.
56589 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56590 * sunrpc/rpcsvc/mount.x: Likewise.
56591 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56592 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56593 * sunrpc/rpcsvc/rex.x: Likewise.
56594 * sunrpc/rpcsvc/rstat.x: Likewise.
56595 * sunrpc/rpcsvc/rusers.x: Likewise.
56596 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56597 * sunrpc/rpcsvc/spray.x: Likewise.
56598 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56599 * sunrpc/rtime.c: Likewise.
56600 * sunrpc/svc.c: Likewise.
56601 * sunrpc/svc_auth.c: Likewise.
56602 * sunrpc/svc_authux.c: Likewise.
56603 * sunrpc/svc_raw.c: Likewise.
56604 * sunrpc/svc_run.c: Likewise.
56605 * sunrpc/svc_simple.c: Likewise.
56606 * sunrpc/svc_tcp.c: Likewise.
56607 * sunrpc/svc_udp.c: Likewise.
56608 * sunrpc/svc_unix.c: Likewise.
56609 * sunrpc/svcauth_des.c: Likewise.
56610 * sunrpc/xcrypt.c: Likewise.
56611 * sunrpc/xdr.c: Likewise.
56612 * sunrpc/xdr_array.c: Likewise.
56613 * sunrpc/xdr_float.c: Likewise.
56614 * sunrpc/xdr_mem.c: Likewise.
56615 * sunrpc/xdr_rec.c: Likewise.
56616 * sunrpc/xdr_ref.c: Likewise.
56617 * sunrpc/xdr_sizeof.c: Likewise.
56618 * sunrpc/xdr_stdio.c: Likewise.
56619
9da4bb31
UD
56620 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56621 handling.
56622
bdaa77bc
AS
566232010-08-19 Andreas Schwab <schwab@redhat.com>
56624
56625 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56626
fe2f79db
LM
566272010-08-19 Luis Machado <luisgpm@br.ibm.com>
56628
56629 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56630 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56631 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56632 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56633 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56634 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56635 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56636 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56637 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56638 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56639 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56640 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56641 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56642 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56643
b9b42ee0
AB
566442010-07-26 Anton Blanchard <anton@samba.org>
56645
56646 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56647 * malloc/arena.c (heap_trim): Likewise.
56648
1c06ba31
UD
566492010-08-16 Ulrich Drepper <drepper@redhat.com>
56650
56651 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56652 here. Not...
56653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56654 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56655
f8392f40
L
566562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56657
56658 * sysdeps/i386/elf/Makefile: New file.
56659
3162f12e
AS
566602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56661
56662 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56663 from fanotify_init.
56664 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56665 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56666
28c90b2c
UD
566672010-08-15 Ulrich Drepper <drepper@redhat.com>
56668
56669 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56670 of strncasecmp_l.
1feccb6c 56671 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56672
ca6bb004
UD
566732010-08-14 Ulrich Drepper <drepper@redhat.com>
56674
e9f82e0d
UD
56675 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56676 strncase_l-nonascii.
56677 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56678 Add strncase_l-ssse3.
56679 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56680 * sysdeps/x86_64/strcmp.S: Likewise.
56681 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56682 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56683 * sysdeps/x86_64/strncase.S: New file.
56684 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56685 * sysdeps/x86_64/strncase_l.S: New file.
56686 * string/Makefile (strop-tests): Add strncasecmp.
56687 * string/test-strncasecmp.c: New file.
56688
56689 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56690 warning.
56691
ca6bb004
UD
56692 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56693 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56694
052fa7b3
AS
566952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56696
56697 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56698
962dba78
UD
566992010-08-12 Ulrich Drepper <drepper@redhat.com>
56700
56701 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56702 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56704
bebff237
AM
567052010-05-01 Alan Modra <amodra@gmail.com>
56706
56707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56708 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56709 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56710 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56711 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56712 tidying. Don't tail-call __sigjmp_save for static lib.
56713 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56714 save location.
56715 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56716 (CALL_MCOUNT): Add eh info, and nop after bl.
56717 (TAIL_CALL_SYSCALL_ERROR): New macro.
56718 (PSEUDO_RET): Use it.
56719 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56720 Correct save location of integer regs and cr.
56721 (_dl_profile_resolve): Correct cr save location. Delete nops
56722 after bl when SHARED. Reduce cfi size a little by better
56723 placement of cfi directives.
56724 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56725 make a stack frame. Instead use parm save area as a temp.
56726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56727 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56729 Don't make a stack frame for parent, use parm save area.
56730 Increase child stack frame to 112 bytes. Don't save unused reg,
56731 and adjust reg usage. Set up cfi on error recovery and
56732 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56734 (__makecontext): Add dummy nop after jump to exit.
56735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56736 Use correct parm save area and cr save, reduce stack frame.
56737 Correct cfi for possible PSEUDO_RET frame setup.
56738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56739 Branch to local label emitted by PSEUDO_RET rather than
56740 __syscall_error.
56741
02637374
AS
567422010-08-12 Andreas Schwab <schwab@redhat.com>
56743
56744 [BZ #11904]
56745 * locale/programs/locale.c (print_assignment): New function.
56746 (show_locale_vars): Use it.
56747
c3e2f19b
UD
567482010-08-11 Ulrich Drepper <drepper@redhat.com>
56749
3cdaa6ad
UD
56750 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56751 field.
56752 (struct statfs64): Likewise.
56753 (_STATFS_F_FLAGS): Define.
56754 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56755 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56756 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56757 (ST_VALID): Define locally.
56758 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56759 __statvfs_getflags, use the provided value.
56760 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56761 __ASSUME_STATFS_F_FLAGS.
56762
754f7da3
UD
56763 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56764
10b3bedc
UD
56765 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56766 Add sys/fanotify.h.
56767 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56768 fanotify_mask for GLIBC_2.13.
56769 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56770 fanotify_init and fanotify_mark.
56771 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56772 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56773
c08fb0d7
UD
56774 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56775 Add prlimit.
56776 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56777 prlimit64 for GLIBC_2.13.
56778 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56779 prlimit64.
56780 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56781 syscall.
56782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56783 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56784 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56785 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56787 add prlimit alias.
56788 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56789
15bac72b
UD
56790 [BZ #11903]
56791 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56792 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56793
c3e2f19b
UD
56794 * nss/Makefile: Add rules to build and run tst-nss-test1.
56795 * shlib-versions: Add entry for libnss_test1.
56796 * nss/nss_test1.c: New file.
56797 * nss/tst-nss-test1.c: New file.
56798
56799 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56800 (__nss_configure_lookup): Set appropriate entry in
56801 __nss_configure_lookup to true.
56802 * nss/nsswitch.h: Define enum with indeces of databases in
56803 databases and __nss_database_custom arrays. Declare
56804 __nss_database_custom.
56805 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56806 to avoid using nscd when custom rules are installed.
56807 * nss/getXXbyYY_r.c: Likewise.
56808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56809
56810 * nss/nss_files/files-parse.c: Whitespace fixes.
56811
f15ce4d8
UD
568122010-08-09 Ulrich Drepper <drepper@redhat.com>
56813
56814 [BZ #11883]
56815 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56816 * posix/fnmatch_loop.c: Likewise.
56817
d22e4cc9
AK
568182010-07-17 Andi Kleen <ak@linux.intel.com>
56819
56820 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56821 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56822 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56823 * Versions.def [GLIBC_2.13]: Add.
56824
805bc17d
UD
568252010-08-06 Ulrich Drepper <drepper@redhat.com>
56826
56827 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56828 Also fail if tpwd after pwuid call is NULL.
56829
5a42321d
ST
568302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56831
56832 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56833 when converting to ms.
56834
fd3ebeda
ST
568352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56836
56837 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56838 EOPNOTSUPP errors with ENOTTY.
56839 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56840 EOPNOTSUPP errors with ENOTTY.
56841
73507d3a
UD
568422010-07-31 Ulrich Drepper <drepper@redhat.com>
56843
56844 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56845 Add strcasecmp_l-ssse3.
56846 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56847 strcasecmp.
56848 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56849 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56850 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56851
fe36dd02
UD
568522010-07-30 Ulrich Drepper <drepper@redhat.com>
56853
66f6765a
UD
56854 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56855
42e08a54
UD
56856 * string/Makefile (strop-tests): Add strcasecmp.
56857 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56858 strcasecmp_l-nonascii.
56859 (gen-as-const-headers): Add locale-defines.sym.
56860 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56861 * sysdeps/x86_64/strcasecmp.S: New file.
56862 * sysdeps/x86_64/strcasecmp_l.S: New file.
56863 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56864 * sysdeps/x86_64/locale-defines.sym: New file.
56865 * string/test-strcasecmp.c: New file.
56866
fe36dd02
UD
56867 * string/test-strcasestr.c: Test both ends of the range of characters.
56868 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56869
48cbc0d6
RM
568702010-07-29 Roland McGrath <roland@redhat.com>
56871
76e6d6bc 56872 [BZ #11856]
48cbc0d6
RM
56873 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56874
880113d9
UD
568752010-07-27 Ulrich Drepper <drepper@redhat.com>
56876
56877 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56878 for ld.so.
56879
deb9cabb
AS
568802010-07-27 Andreas Schwab <schwab@redhat.com>
56881
56882 * manual/memory.texi (Malloc Tunable Parameters): Document
56883 M_PERTURB.
56884
1c7570ff
RM
568852010-07-26 Roland McGrath <roland@redhat.com>
56886
56887 [BZ #11840]
56888 * configure.in (-fgnu89-inline check): Set and substitute
56889 gnu89_inline, not libc_cv_gnu89_inline.
56890 * configure: Regenerated.
56891 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56892
24fb0f88
UD
568932010-07-26 Ulrich Drepper <drepper@redhat.com>
56894
56895 * string/test-strnlen.c: New file.
56896 * string/Makefile (strop-tests): Add strnlen.
56897 * string/tester.c (test_strnlen): Add a few more test cases.
56898 * string/tst-strlen.c: Better error reporting.
56899
56900 * sysdeps/x86_64/strnlen.S: New file.
56901
8e96b93a
UD
569022010-07-24 Ulrich Drepper <drepper@redhat.com>
56903
56904 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56905 lower-latency instructions.
56906
dbc676d4
UD
569072010-07-23 Ulrich Drepper <drepper@redhat.com>
56908
56909 * string/test-strcasestr.c: New file.
56910 * string/test-strstr.c: New file.
56911 * string/Makefile (strop-tests): Add strstr and strcasestr.
56912 * string/str-two-way.h: Don't undefine MAX.
56913 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56914
f6a31e0e
AS
569152010-07-21 Andreas Schwab <schwab@redhat.com>
56916
56917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56918 strcasestr-nonascii.
56919 (CFLAGS-strcasestr-nonascii.c): Define.
56920 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56921 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56922 Remove unused attribute.
56923
5dbc3b6c
RM
569242010-07-20 Roland McGrath <roland@redhat.com>
56925
56926 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56927 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56928 ld.so.cache was broken. With it, there is no way to disable dsocaps
56929 like LD_HWCAP_MASK can disable hwcaps.
56930
23d101d8
EPM
569312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56932
56933 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56934
cc9f2e47
UD
569352010-07-16 Ulrich Drepper <drepper@redhat.com>
56936
56937 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56938 call in strcasestr.
56939 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56940 __strcasestr_sse42_nonascii.
56941 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56942 strcasestr-nonascii.c.
56943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56944
77c1b069
LM
569452010-06-15 Luis Machado <luisgpm@br.ibm.com>
56946
56947 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56948 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56949 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56950 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56951
440566c3
UD
569522010-07-09 Ulrich Drepper <drepper@redhat.com>
56953
56954 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56955 fcntl.
56956
5be9d05d
AS
569572010-07-06 Andreas Schwab <schwab@redhat.com>
56958
c30b7ee2 56959 [BZ #11577]
5be9d05d
AS
56960 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56961 dl_signal_cerror.
56962
8a492a67
UD
569632010-07-06 Ulrich Drepper <drepper@redhat.com>
56964
56965 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56966 _PC_PIPE_BUF using F_GETPIPE_SZ.
56967
713df3d5
RM
569682010-07-05 Roland McGrath <roland@redhat.com>
56969
56970 * manual/arith.texi (Rounding Functions): Fix rint description
56971 implicit in round description.
56972
702e8f14
UD
569732010-07-02 Ulrich Drepper <drepper@redhat.com>
56974
56975 * elf/Makefile: Fix linking for a few tests to make recent linker
56976 happy.
56977
52ed8be9
AS
569782010-06-30 Andreas Schwab <schwab@redhat.com>
56979
56980 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56981 $(common-objpfx)libc_nonshared.a.
56982
f47c9a11
LM
569832010-06-21 Luis Machado <luisgpm@br.ibm.com>
56984
56985 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56986 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56987 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56988 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56989 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56990 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56991 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56992 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57007 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57008 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57009 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57010 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57011 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57012 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57013 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57014 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57015 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57016 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57017 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57018 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57033
6fb8cbcb
L
570342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57035
57036 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57037 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57038 * string/memmove.c (memmove): Renamed to ...
57039 (MEMMOVE): ...this. Default to memmove.
57040 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57041 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57042 (END_CHK): Define.
57043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57044 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57045 mempcpy-ssse3-back memmove-ssse3-back.
57046 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57049 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57050 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57051 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57052 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57053 * sysdeps/x86_64/multiarch/memmove.c: New file.
57054 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57055 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57056 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57057 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57058 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57060 Define.
57061 (index_Fast_Copy_Backward): Define.
57062 (HAS_ARCH_FEATURE): Define.
57063 (HAS_FAST_REP_STRING): Define.
57064 (HAS_FAST_COPY_BACKWARD): Define.
57065
4e733bac 570662010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57067
57068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57069 Restore proper fallback handling.
57070
63c4ed22
UD
570712010-06-19 Ulrich Drepper <drepper@redhat.com>
57072
ac2b484c
UD
57073 [BZ #11701]
57074 * posix/group_member.c (__group_member): Correct checking loop.
57075
63c4ed22
UD
57076 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57077 OOM in getpwuid_r correctly. Return error number when the caller
57078 should return, otherwise -1.
57079 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57080 call returning > 0 value.
57081 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57082
765ade4b
AS
570832010-06-07 Andreas Schwab <schwab@redhat.com>
57084
57085 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57086 libc_nonshared.a from targets in modules-names.
57087
80da2e09
KS
570882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57089
57090 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57091 requires it.
57092
158db122
LM
570932010-06-10 Luis Machado <luisgpm@br.ibm.com>
57094
57095 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57096 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57097 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57099
caa78cf8
AS
571002010-06-02 Andreas Schwab <schwab@redhat.com>
57101
57102 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57103
b2ef2c01
UD
571042010-06-14 Ulrich Drepper <drepper@redhat.com>
57105
57106 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57107 and F_GETPIPE_SZ.
57108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57112 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57113 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57114
fbd643b6
RM
571152010-06-14 Roland McGrath <roland@redhat.com>
57116
57117 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57118
f32f2869
JJ
571192010-06-07 Jakub Jelinek <jakub@redhat.com>
57120
57121 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57122 __REDIRECT followed by __THROW.
57123 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57124 * posix/getopt.h (getopt): Likewise.
57125
2a50c078
EPM
571262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57127
57128 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57129 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57130 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57131 in AT_FLAGS.
57132 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57133 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57134
eb5ad2eb
LM
571352010-05-28 Luis Machado <luisgpm@br.ibm.com>
57136
57137 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57138
3c88fe1e
L
571392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57140
57141 [BZ #11640]
57142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57143 Properly check family and model.
57144
d2f73151
TY
571452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57146
57147 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57148
ebd2e13d
LM
571492010-05-24 Luis Machado <luisgpm@br.ibm.com>
57150
57151 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57152
b32b8b45
UD
571532010-05-21 Ulrich Drepper <drepper@redhat.com>
57154
57155 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57156 symbol reference.
57157
9acbe24d
AS
571582010-05-19 Andreas Schwab <schwab@redhat.com>
57159
57160 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57161 symbol reference.
57162
f0ccf6ea
AS
571632010-05-21 Andreas Schwab <schwab@redhat.com>
57164
3d04ff3a
AS
57165 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57166 and internal_recvmmsg.
57167 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57168 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57169 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57170 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57171
f0ccf6ea
AS
57172 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57173 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57174 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57175
5b08ac57
AS
571762010-05-20 Andreas Schwab <schwab@redhat.com>
57177
57178 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57179
4828935d
LM
571802010-05-17 Luis Machado <luisgpm@br.ibm.com>
57181
57182 POWER7 optimizations.
57183 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57184 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57185
373d545e
UD
571862010-05-19 Ulrich Drepper <drepper@redhat.com>
57187
57188 * version.h: Update for 2.13 development version.
57189
21a2b1ae
AS
571902010-05-12 Andrew Stubbs <ams@codesourcery.com>
57191
57192 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57193 exceptions. Return 0.
57194
3f7dcb2b
RM
571952010-05-07 Roland McGrath <roland@redhat.com>
57196
57197 * elf/ldconfig.c (main): Add a const.
57198
5f24d53a 571992010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57200
a160f8d8
UD
57201 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57202 (args_options): Add no-idn option.
57203 (ahosts_keys_int): Add idn_flags to ai_flags.
57204 (parse_option): Handle 'i' option to clear idn_flags.
57205
5f24d53a
UD
57206 * malloc/malloc.c (_int_free): Possible race in the most recently
57207 added check. Only act on the data if no current modification
57208 happened.
265bb1ce
UD
57209
57210See ChangeLog.17 for earlier changes.