]> sourceware.org Git - glibc.git/blame - ChangeLog
Rather than using a C implementation of memset, directly call memset, which
[glibc.git] / ChangeLog
CommitLineData
ddcf6798
WD
12015-02-27 Wilco Dijkstra wdijkstr@arm.com
2
3 * string/bzero.c (__bzero): Call memset for performance.
4
49f476f4
JDA
52015-02-27 John David Anglin <dave.anglin@bell.net>
6
7 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8 to 00100000.
9
f8ab5d38
JM
102015-02-27 Joseph Myers <joseph@codesourcery.com>
11
12 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13
380bd0fd
JM
142015-02-26 Joseph Myers <joseph@codesourcery.com>
15
31331a07
JM
16 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17 (__kernel_standard): Use CSTR macro when setting exc.name.
18 * sysdeps/ieee754/Makefile [$(subdir) = math]
19 (CFLAGS-k_standard.c): Remove variable.
20
09220e66
JM
21 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22 setting p and q from "else if" to "else".
23 (qzero): Likewise.
24 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25 (qone): Likewise.
26 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27 (qzerof): Likewise.
28 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
29 (qonef): Likewise.
30 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31 (qzero): Likewise.
32 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33 (qone): Likewise.
34
1d9ab20c
JM
35 [BZ #18038]
36 [BZ #18039]
37 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38 return pi/2 for arguments below 0x1p-113L.
39 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
40 return pi/2 for arguments below 0x1p-106L.
41 * math/auto-libm-test-in: Add more tests of acos.
42 * math/auto-libm-test-out: Regenerated.
43
ec0ce0d3
JM
44 [BZ #16351]
45 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
46 (MO): New macro.
47 (__ieee754_asin): Force underflow exception for results with small
48 absolute value.
49 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
50 (MO): New macro.
51 (__ieee754_asinf): Force underflow exception for results with
52 small absolute value.
53 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
54 (__ieee754_asin): Force underflow exception for results with small
55 absolute value.
56 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
57 (__ieee754_asinf): Force underflow exception for results with
58 small absolute value.
59 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
60 (__ieee754_asinl): Force underflow exception for results with
61 small absolute value.
62 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
63 (__ieee754_asinl): Force underflow exception for results with
64 small absolute value.
65 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
66 (__ieee754_asinl): Force underflow exception for results with
67 small absolute value.
68 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
69 Include <math.h>.
70 * math/auto-libm-test-in: Do not mark underflow exceptions as
71 possibly missing for bug 16351.
72 * math/auto-libm-test-out: Regenerated.
73
380bd0fd
JM
74 [BZ #18030]
75 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
76 of power of 2 down when low part has opposite sign.
77 * math/libm-test.inc (logb_test_data): Add more tests.
78
4a28f4d5
AS
792015-02-26 Andreas Schwab <schwab@suse.de>
80
81 [BZ #18032]
82 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
83 over collating symbol inside a bracket expression. Minor cleanup.
84 * posix/tst-fnmatch3.c (do_test): Add test case.
85
524ae9ea
JM
862015-02-26 Joseph Myers <joseph@codesourcery.com>
87
88 [BZ #18029]
89 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
90 Adjust exponent of power of 2 down when low part has opposite
91 sign.
92 * math/libm-test.inc (ilogb_test_data): Add more tests.
93
23d43090
AO
942015-02-26 Alexandre Oliva <aoliva@redhat.com>
95
96 [BZ #15969]
97 * locale/findlocale.c (_nl_find_locale): Fix constness error in
98 the previous change.
0d822a01
AO
99
100 [BZ #15969]
101 * locale/findlocale.c (_nl_find_locale): Retry archive search
102 after alias expansion.
103
d19df6ac
RM
1042015-02-25 Roland McGrath <roland@hack.frob.com>
105
ca681b7b
RM
106 * iconv/tst-iconv3.c (main): Converted to ...
107 (do_test): ... this.
108 (TEST_FUNCTION): New macro.
109 Include test-skeleton.c.
110
fd1f2f1c
RM
111 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
112 (convert): Make function static.
113 (test_unalign): Likewise. Add const to argument pointee types.
114 (main): Replace with static function do_test.
115 Print "Succeeded." only if RET is zero.
116 (TEST_FUNCTION): New macro.
117 Include test-skeleton.c.
118
d19df6ac
RM
119 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
120 returns a null pointer.
121
115e0de7
AZ
1222015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
123
124 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
125 to __memcpy_ppc only for static builds.
126
137cef7d
JM
1272015-02-25 Joseph Myers <joseph@codesourcery.com>
128
129 [BZ #18020]
130 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
131 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
132 * math/auto-libm-test-in: Add more tests of asinh.
133 * math/auto-libm-test-out: Regenerated.
134 * sysdeps/i386/fpu/libm-test-ulps: Update.
135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
136
cb43bb0d
CW
1372015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
138
139 [BZ #15850]
140 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
141 and ip6_mtuinfo definitions here.
142 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
143 in this define too. Update comment.
144
9be1052b
BS
1452015-02-24 Benno Schulenberg <bensberg@justemail.net>
146
147 * elf/sprof.c (load_shobj): Tweak error message to match others.
148
6807b1db
KE
1492015-02-24 Kevin Easton <kevin@guarana.org>
150
151 [BZ #16145] (partial fix)
152 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
153 to reduce lock contention.
154
b433df00
ML
1552015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
156
157 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
158 (struct timex): Update time comment.
159 (ADJ_SETOFFSET): Define.
160
440169d6
JM
1612015-02-24 Joseph Myers <joseph@codesourcery.com>
162
163 [BZ #18019]
164 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
165 2**56 not 2**28 as threshold for log (2x) formula.
166 * math/auto-libm-test-in: Add more tests of acosh.
167 * math/auto-libm-test-out: Regenerated.
168 * sysdeps/i386/fpu/libm-test-ulps: Update.
169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
170
ba7d2c54
MF
1712015-02-24 Mike Frysinger <vapier@gentoo.org>
172
173 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
174 parenthesis around the buf assignment.
175 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
176
9438b237
JM
1772015-02-24 Joseph Myers <joseph@codesourcery.com>
178
179 [BZ #16783]
180 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
181 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
182 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
183 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
184 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
185 * math/libm-test.inc (scalb_test_data): Add more tests.
186
6909d276
PP
1872015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
188
189 [BZ #17916]
190 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
191 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
192
65f6f938
ER
1932015-02-24 Eric Rannaud <e@nanocritical.com>
194
195 [BZ #17523]
196 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
197 * io/bits/fcntl2.h (open): Use it.
198 (openat): Likewise.
199 * io/open.c (__libc_open): Likewise.
200 * io/open64.c (__libc_open64): Likewise.
201 * io/open64_2.c (__open64_2): Likewise.
202 * io/open_2.c (__open_2): Likewise.
203 * io/openat.c (__openat): Likewise.
204 * io/openat64.c (__openat64): Likewise.
205 * io/openat64_2.c (__openat64_2): Likewise.
206 * io/openat_2.c (__openat_2): Likewise.
207 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
208 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
209 * sysdeps/posix/open64.c (__libc_open64): Likewise.
210 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
211 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
212 (__open_nocancel): Likewise.
213 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
214 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
215 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
216
3e3002ff
SP
2172015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
218
219 [BZ #14841]
220 * resolv/gethnamaddr.c (getanswer): Skip logging if
221 RES_USE_DNSSEC is set.
222 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
223
9813dd58
MF
2242015-02-24 Mike Frysinger <vapier@gentoo.org>
225
226 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
227
7b1ec6a0
AO
2282015-02-23 Alexandre Oliva <aoliva@redhat.com>
229
230 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
231 201304L, for Unicode 7.
232
d49499c1
L
2332015-02-23 H.J. Lu <hongjiu.lu@intel.com>
234
235 [BZ #17836]
236 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
237 shared library. Add gmon-start.os otherwise.
238 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
239 $(objpfx)gmon-start.os if builing shared library.
240 ($(objpfx)g$(static-start-installed-name)): Likewise.
241
51225803
AS
2422015-02-23 Andreas Schwab <schwab@suse.de>
243
244 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
245
bdf1ff05
PP
2462015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
247
248 [BZ #17269]
249 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
250 (enlarge_userbuf): Likewise.
251
95296112
CLT
2522015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
253
254 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
255 * math/atest-exp.c (TIMEOUT): Adjust to 200.
256 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
257 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
258
e4a399dc
JM
2592015-02-20 Joseph Myers <joseph@codesourcery.com>
260
261 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
262 expression inside statement expression.
263
7133957f
SL
2642015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
265
266 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
267 <sysdeps/nptl/lowlevellock.h> and remove macros and
268 functions that are now defined there.
269 (SYS_futex): Remove.
270 (lll_compare_and_swap): Remove.
271 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
272
40176158
JM
2732015-02-19 Joseph Myers <joseph@codesourcery.com>
274
275 [BZ #17999]
276 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
277 instead of scandirat.
278 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
279 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
280 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
281 __scandirat.
282 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
283 (__scandirat): Declare. Use libc_hidden_proto.
284 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
285 Remove variable.
286 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
287
4629c866
JM
2882015-02-18 Joseph Myers <joseph@codesourcery.com>
289
290 [BZ #15319]
291 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
292 (MO): New macro.
293 (__ieee754_atan2): For results with small absolute value, force
294 underflow exception and remove excess range and precision from
295 return value.
296 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
297 (MO): New macro.
298 (__ieee754_atan2f): For results with small absolute value, force
299 underflow exception and remove excess range and precision from
300 return value.
301 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
302 (MO): New macro.
303 (__atan): For results with small absolute value, force underflow
304 exception and remove excess range and precision from return value.
305 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
306 (MO): New macro.
307 (__atanf): For results with small absolute value, force underflow
308 exception and remove excess range and precision from return value.
309 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
310 <math.h>.
311 (__ieee754_atan2): Force underflow exception for results with
312 small absolute value.
313 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
314 <math_private.h>.
315 (atan): Force underflow exception for results with small absolute
316 value.
317 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
318 (__atanf): Force underflow exception for results with small
319 absolute value.
320 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
321 <math.h>.
322 (__atanl): Force underflow exception for results with small
323 absolute value.
324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
325 (__atanl): Force underflow exception for results with small
326 absolute value.
327 * sysdeps/x86/fpu/bits/mathinline.h
328 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
329 (__ieee754_atan2): Only define inline for long double.
330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
331 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
332 * math/auto-libm-test-in: Do not mark underflow exceptions as
333 possibly missing for bug 15319. Add more tests of atan2.
334 * math/auto-libm-test-out: Regenerated.
335 * math/libm-test.inc (casin_test_data): Do not mark underflow
336 exceptions as possibly missing for bug 15319.
337 (casinh_test_data): Likewise.
338 * sysdeps/i386/fpu/libm-test-ulps: Update.
339
9ee16d8b
SE
3402015-02-18 Steve Ellcey <sellcey@imgtec.com>
341
342 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
343 * sysdeps/mips/bits/endian.h: Fix comments.
344
4ffb1771
JM
3452015-02-18 Joseph Myers <joseph@codesourcery.com>
346
347 [BZ #17996]
348 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
349 (hdestroy_r): Likewise.
350 (hsearch_r): Likewise.
351 (__hcreate_r): Declare and use libc_hidden_proto.
352 (__hdestroy_r): Likewise.
353 (__hsearch_r): Likewise.
354 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
355 (hcreate): Call __hcreate_r instead of hcreate_r.
356 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
357 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
358 as weak alias of __hcreate_r.
359 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
360 __hdestroy_r.
361 (hsearch_r): Rename to __hsearch_r and define as weak alias of
362 __hsearch_r.
363 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
364 Remove variable.
365 (test-xfail-XPG4/search.h/linknamespace): Likewise.
366 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
367 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
368 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
369
94c5a52a
SP
3702015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
371
372 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
373 arena_lock into a single arena_get.
374
8a35c3fe
CD
3752015-02-17 Carlos O'Donell <carlos@redhat.com>
376
377 * dl-reloc.c: Inlucde libc-internal.h.
378 (_dl_try_allocate_static_tls): Call ALIGN_UP.
379 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
380 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
381 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
382 (grow_heap): Likewise.
383 * malloc/malloc.c: Include libc-internal.h.
384 (do_check_malloc): Call powerof2.
385 (sysmalloc): Use pagesize. Call ALIGN_UP.
386 (systrim): Use pagesize.
387 (mremap_chunk): Use pagesize. Call ALIGN_UP.
388 (__libc_valloc): Use pagesize.
389 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
390
1a2325c0
JM
3912015-02-17 Joseph Myers <joseph@codesourcery.com>
392
393 [BZ #17991]
394 * include/sys/resource.h (__getrlimit64): Declare. Use
395 libc_hidden_proto.
396 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
397 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
398 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
399 getrlimit64.
400 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
401 __getrlimit64.
402 [!getrlimit64] (getrlimit64): Define as weak alias of
403 __getrlimit64. Use libc_hidden_weak.
404 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
405 using __getrlimit64 not __new_getrlimit64.
406 (__GI_getrlimit64): Likewise.
407 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
408 Likewise.
409 (__GI_getrlimit64): Likewise.
410 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
412 (getrlimit): Add __getrlimit64 alias.
413 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
414 Likewise.
415 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
416 Remove variable.
417 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
418 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
419
8ae4bb5a
PP
4202015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
421
422 * libio/fileops.c: Add missing sys/mman.h
423 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
424
18a218b7
JM
4252015-02-17 Joseph Myers <joseph@codesourcery.com>
426
427 * manual/math.texi (Errors in Math Functions): Clarify goals
428 regarding inexact and underflow exceptions.
429
e72ad0ef
SE
4302015-02-17 Steve Ellcey <sellcey@imgtec.com>
431
432 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
433 * sysdeps/mips/memset.S: Ditto.
434
2caa4099
SE
4352015-02-17 Steve Ellcey <sellcey@imgtec.com>
436
437 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
438
f20bfc9b
SL
4392015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
440
441 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
442 (__v1longjmp): Remove versioned symbol.
443 (__v1siglongjmp): Remove alias and versioned symbol.
444 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
445 (__v2siglongjmp): Likewise.
446
71c06b69
TR
4472015-02-16 Torvald Riegel <triegel@redhat.com>
448
449 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
450
a9a05adb
MF
4512015-02-16 Mike Frysinger <vapier@gentoo.org>
452
453 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
454
ce8fc784
JM
4552015-02-16 Joseph Myers <joseph@codesourcery.com>
456
457 [BZ #17987]
458 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
459 zero result does not depend on the sign resulting from
460 subtraction.
461 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
462 Likewise.
463 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
464 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
465 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
466 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
467 * math/libm-test.inc (remquo_test_data): Add more tests.
468
0d7036bd
PE
4692015-02-16 Paul Eggert <eggert@cs.ucla.edu>
470
471 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
472 Problem reported by J William Piggott.
473
86c56b16
JM
4742015-02-16 Joseph Myers <joseph@codesourcery.com>
475
a820f9b3
JM
476 [BZ #17978]
477 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
478 products 4 * y and 2 * y where those would overflow.
479 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
480 Likewise.
481 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
482 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
483 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
484 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
485 * math/libm-test.inc (remquo_test_data): Add more tests.
486
be802953
JM
487 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
488
e5e72fe9
JM
489 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
490 [defined _COMPILING_NEWLIB].
491 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
492 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
493
86c56b16
JM
494 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
495 [!defined __mips_isa_rev || __mips_isa_rev < 6].
496
35264d14
TR
4972015-02-16 Torvald Riegel <triegel@redhat.com>
498
499 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
500 acquired.
501
6f49e32a
MF
5022015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
503
504 [BZ #17792]
505 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
506 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
507 HOST_STACK_END_ADDR): Likewise.
508
e525154e
SE
5092015-02-13 Steve Ellcey <sellcey@imgtec.com>
510
511 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
512 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
513 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
514
4ab770b7
RM
5152015-02-13 Roland McGrath <roland@hack.frob.com>
516
517 * sysdeps/generic/c++-types.data: New file.
518 * sysdeps/generic/ld.abilist: New file.
519 * sysdeps/generic/libBrokenLocale.abilist: New file.
520 * sysdeps/generic/libanl.abilist: New file.
521 * sysdeps/generic/libc.abilist: New file.
522 * sysdeps/generic/libcrypt.abilist: New file.
523 * sysdeps/generic/libdl.abilist: New file.
524 * sysdeps/generic/libm.abilist: New file.
525 * sysdeps/generic/libpthread.abilist: New file.
526 * sysdeps/generic/libresolv.abilist: New file.
527 * sysdeps/generic/librt.abilist: New file.
528
d9afe48d
JM
5292015-02-13 Joseph Myers <joseph@codesourcery.com>
530
531 [BZ #17569]
532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
533 Compute absolute value of x as modified by fmod, not original
534 value of x.
535 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
536 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
537 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
538 RUN_TEST_ffI_f1_mod8.
539 (remquo_test_data): Add more tests.
540
3846188b
RM
5412015-02-13 Roland McGrath <roland@hack.frob.com>
542
543 * sysdeps/init_array/pt-crti.S: New file.
544
95c26233
JM
5452015-02-13 Joseph Myers <joseph@codesourcery.com>
546
547 [BZ #17967]
548 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
549 __builtin_fmaf instead of relying on contraction of a * b + c.
550
3f293d61
WP
5512015-02-12 J William Piggott <elseifthen@gmx.com>
552
553 [BZ #17969]
554 * manual/time.texi: correct the zoneinfo path in the TZ Variable
555 node.
556
e8bd5286
JM
5572015-02-12 Joseph Myers <joseph@codesourcery.com>
558
559 [BZ #17964]
560 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
561 __builtin_fma instead of relying on contraction of a * b + c.
562
04f5a636
RM
5632015-02-12 Roland McGrath <roland@hack.frob.com>
564
96a15749
RM
565 * Makeconfig (ASFLAGS): Add -Werror=undef.
566 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
567 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
568 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
569
04f5a636
RM
570 * Makeconfig (after-link): New variable.
571 (+link-pie, +link-pie-tests): Use it.
572 (+link-static, +link-static-tests): Likewise.
573 (+link, +link-tests): Likewise.
574 * Makerules (build-module, build-module-asneeded): Likewise.
575 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
576 Likewise.
577 * elf/Makefile ($(objpfx)ld.so): Likewise.
578
87a629c5
RS
5792015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
580
581 [BZ #17965]
582 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
583 both struct timeval and struct timespec.
584
03d95bd4
JM
5852015-02-12 Joseph Myers <joseph@codesourcery.com>
586
587 [BZ #16560]
588 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
589 and redefine.
590 (__ieee754_exp2l): Do not multiply small fractional parts by
591 M_LN2l.
592 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
593 small argument.
594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
595 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
596 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
597 * math/auto-libm-test-in: Add more tests of exp2.
598 * math/auto-libm-test-out: Regenerated.
599
98408b95
RS
6002015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
601
602 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
603 unaligned path.
604
6f741503
AZ
6052015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606
607 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
608 little endian.
609
2868e070
AS
6102015-02-12 Andreas Schwab <schwab@suse.de>
611
612 [BZ #15790]
613 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
614 Filter out elision flags from value returned in kind.
615 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
616 * nptl/tst-pthread-mutexattr.c: New file.
617
ebf27d12
ST
6182015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
619
620 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
621 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
622 into gnu-gnu, and update comment to refer to abi-tags.
623
d435569c
JM
6242015-02-11 Joseph Myers <joseph@codesourcery.com>
625
626 [BZ #15467]
627 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
628 (__sincos): Set errno to EDOM for infinite argument.
629 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
630 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
631 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
632 (__sincosl): Set errno to EDOM for infinite argument.
633 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
634 (__sincosl): Set errno to EDOM for infinite argument.
635 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
636 (__sincosl): Set errno to EDOM for infinite argument.
637 * math/libm-test.inc (sincos_test_data): Test errno setting.
638
d35273f2
LH
6392015-02-11 Leonhard Holz <leonhard.holz@web.de>
640
641 * string/strxfrm_l.c: Remove #define STRCMP.
642 * string/strcoll_l.c: Remove #define STRLEN.
643 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
644 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
645
306bc0d1
JM
6462015-02-10 Joseph Myers <joseph@codesourcery.com>
647
648 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
649 * sysdeps/mips/mips32/sfp-machine.h: ... here.
650 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
651 * sysdeps/mips/mips64/Makefile: ... here.
652 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
653 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
654 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
655 * sysdeps/mips/mips64/sfp-machine.h: ... here.
656 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
657 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
658 * sysdeps/mips/mips64/n64/Implies: Likewise.
659
92b67e8d
RM
6602015-02-10 Roland McGrath <roland@hack.frob.com>
661
662 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
663 <sys/time.h>, <string.h>, and <errno.h>.
664 (dest_offset, dest_address, value, zero): Remove unused variables.
665 (ldouble): Remove typedef.
666 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
667 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
668 1). Fix code style.
669 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
670 (check): Function removed.
671 (CHECK): New macro.
672 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
673 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
674 Don't call set_sigaction_FP and remove_sigaction_FP here.
675 (ldouble_test): Just use 'long double' as macro argument, no need for
676 the 'ldouble' typedef.
677 (do_test): Set up SIGFPE handler at start, using plain signal rather
678 than sigaction. Fix code style.
679
132a1328
EF
6802015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
681
682 [BZ #17949]
683 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
684 jump label.
685
3001e54c
AZ
6862015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
687
bc0cdc49
AZ
688 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
689 * sysdeps/powerpc/powerpc32/configure: Regenerated.
690
83658961
AZ
691 * sysdeps/powerpc/configure.ac: Remove file.
692 * sysdeps/powerpc/configure: Likewise.
693
10169938
AZ
694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
695 [sysdep_routines]: Remove wordcopy-power6 object.
696 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
697 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
698 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
699 (__memmove_ppc32): Likewise.
700 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
701 file.
702 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
703 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
704 Remove preprocessor.
705
8548a53d
AZ
706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
707 [sysdep_routines]: Remove wide chars objects.
708 [wcsmbs]: New rule for wide char objects.
709
b2692114
AZ
710 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
711 Remove wordcopy-power6 obejct.
712 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
713 Use local call for wordcopy and memcpy symbols.
714 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
715 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
716 implementation for loader.
717 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
718
18e270aa
AZ
719 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
720 Remove wordcopy-power7 object.
721 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
723 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
724 (_wordcopy_fwd_dest_aligned): Likewise.
725 (_wordcopy_bwd_aligned): Likewise.
726 (_wordcopy_bwd_dest_aligned): Likewise.
727
6f0993a6
AZ
728 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
729 Rewrite to call __memmove_ppc instead of include default
730 implementation.
731
3001e54c
AZ
732 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
733 Remove wide chars objects.
734 [wcsmbs]: New rule for wide char objects.
735
59b61c82
AS
7362015-02-09 Andreas Schwab <schwab@suse.de>
737
738 [BZ #17912]
739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
740 in terms of __O_DIRECTORY.
741
ebd7aede
ST
7422015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
743
744 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
745 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
746 call PTR_MANGLE.
747 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
748 PTR_DEMANGLE.
ebd7aede 749
3999d26e
PE
7502015-02-07 Paul Eggert <eggert@cs.ucla.edu>
751
752 Add ersatz _Static_assert on older C hosts
753 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
754 pre-C11 C platform that is not known to support _Static_assert.
755
e9a5bc1c
ST
7562015-02-07 Richard Braun <rbraun@sceen.net>
757
758 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
759 sigstate.
e86c5b64 760 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 761
e2049d17
ST
7622015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
763
764 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
765 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
766 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
767 instead of int.
768 * misc/fchflags.c (fchflags): Likewise.
769 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
770 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
771 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
772 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
773 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
774 Declare macros.
775 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
776 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
777 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
778 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
779 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
780 45.
a9a002fb
ST
781 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
782 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
783 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
784 MACH_RCV_TIMED_OUT.
f96ec27a
ST
785 * hurd/hurd/signal.h (_hurd_self_sigstate,
786 _hurd_critical_section_lock, _hurd_critical_section_unlock):
787 Explicit casts from void *.
4fc81a77 788 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 789 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 790
f05826f0
ST
791 [BZ #4719]
792 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
793 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
794 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
795 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
796 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
797 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
798
a5eb23de
ST
799 [BZ #17944]
800 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
801 duplicates ADDR->sun_path with sockaddr LEN limitation.
802 * sysdeps/mach/hurd/connect.c: Include <string.h>
803 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
804 * sysdeps/mach/hurd/sendmsg.c: Likewise.
805 * sysdeps/mach/hurd/sendto.c: Likewise.
806 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
807 implementing it by hand.
808
ac9e0e5e
RM
8092015-02-06 Roland McGrath <roland@hack.frob.com>
810
f8d1bb4c
RM
811 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
812 Use sfi_breg on ldr.
813 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
814 Likewise.
815
022f4812
RM
816 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
817 it's defined.
818 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
819 Test SIGSETXID only if it's defined.
820
1ac074e6
RM
821 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
822
f50ad78b
RM
823 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
824 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
825
9e7265f4
RM
826 * nptl/tst-align2.c: Moved ...
827 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
828 * nptl/Makefile (tests): Remove tst-align2.
829 * sysdeps/unix/sysv/linux/Makefile
830 [$(subdir) = nptl] (tests): Add tst-align-clone.
831 * nptl/tst-getpid1.c: Moved ...
832 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
833 * nptl/tst-getpid2.c: Moved ...
834 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
835 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
836 * sysdeps/unix/sysv/linux/Makefile
837 [$(subdir) = nptl] (tests): ... here.
838 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
839 * sysdeps/unix/sysv/linux/Makefile
840 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
841
62ad2abc
RM
842 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
843 Drop trailing \n from perror argument. Use return rather than exit.
844
cfa69b0b
RM
845 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
846 on [SA_SIGINFO].
847 * nptl/tst-cancel21.c (do_test): Likewise.
848 * debug/tst-backtrace6.c: Include <signal.h> first thing.
849 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
850 [!SA_SIGINFO]: Make it a stub test.
851
82727806
RM
852 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
853 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
854
da3a1594
RM
855 * posix/tst-getlogin.c: Move to ...
856 * login/tst-getlogin.c: ... here.
857 * posix/Makefile (tests): Move tst-getlogin to ...
858 * login/Makefile (tests): ... here.
859
b65c0ff9
RM
860 * libio/tst-atime.c (do_test): Move local variables SV and E
861 inside [ST_NOATIME] conditional.
862
56606ab3
RM
863 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
864
ebf7d6ee
RM
865 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
866
ca0e0675
RM
867 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
868 (wait_code): New function replaces macro.
869 Call nanosleep rather than syscall.
870
8c28bbc6
RM
871 * nptl/pt-system.c: Rewritten. Put everything under
872 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
873 Use IFUNC to redirect when possible.
874
ec2a88b3
RM
875 * nptl/pt-longjmp.c: Rewritten. Put everything under
876 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
877 Use IFUNC to redirect when possible.
878
beff1d13
RM
879 * nptl/pt-fork.c: Rewritten. Put everything under
880 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
881 Use IFUNC to redirect when possible.
882 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
883
ea02c6b8
RM
884 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
885 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
886 unconditionally nowadays. This included the only reference to
887 __vdso_clock_gettime that appears outside libc proper.
888 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
889 Remove version set (containing only __vdso_clock_gettime).
890 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
891 Add attribute_hidden.
892 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
893 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
894 libc_hidden_data_def.
895 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
896 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
897
a1309c2b
RM
898 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
899 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
900 setrpcent, and getrpcport to ...
901 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
902 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
903 getrpcbynumber_r, and getrpcent_r to ...
904 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
905 * inet/getrpcbyname.c: Moved ...
906 * sunrpc/getrpcbyname.c: ... here.
907 * inet/getrpcbyname_r.c: Moved ...
908 * sunrpc/getrpcbyname_r.c: ... here.
909 * inet/getrpcbynumber.c: Moved ...
910 * sunrpc/getrpcbynumber.c: ... here.
911 * inet/getrpcbynumber_r.c: Moved ...
912 * sunrpc/getrpcbynumber_r.c: ... here.
913 * inet/getrpcent.c: Moved ...
914 * sunrpc/getrpcent.c: ... here.
915 * inet/getrpcent_r.c: Moved ...
916 * sunrpc/getrpcent_r.c: ... here.
917 * inet/Makefile (routines): Move those to ...
918 * sunrpc/Makefile (routines): ... here.
919 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
920 the $(subdirs) list.
921 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
922 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
923 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
924 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
925
ac9e0e5e
RM
926 * elf/Makefile (routines): Include $(all-dl-routines), not just
927 $(dl-routines).
928 (rtld-routines): Likewise. Use = rather than :=.
929 * sysdeps/aarch64/Makefile [$(subdir) = elf]
930 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
931 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
932 * sysdeps/arm/Makefile: Likewise.
933 * sysdeps/i386/Makefile: Likewise.
934 * sysdeps/x86_64/Makefile: Likewise.
935 * sysdeps/hppa/Makefile [$(subdir) = elf]
936 (sysdep_routines, sysdep-rtld-routines): Don't add
937 $(sysdep-dl-routines) to these.
938 * sysdeps/ia64/Makefile: Likewise.
939 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
940 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
941 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
942 Don't add dl-static to these; sysdep-dl-routines alone is enough.
943 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
944 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
946 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
947 * sysdeps/powerpc/Makefile [$(subdir) = elf]
948 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
949 these; sysdep-dl-routines alone is enough.
950
639e42eb
JM
9512015-02-06 Joseph Myers <joseph@codesourcery.com>
952
1c7a4a51
JM
953 [BZ #17932]
954 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
955 where multiplication results in zero and third argument is finite
956 and nonzero.
957 * math/auto-libm-test-in: Add more tests of fma.
958 * math/auto-libm-test-out: Regenerated.
959
61f006c1
JM
960 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
961 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
962 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
963 (_FP_CMP_EQ): Likewise.
964 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
965
639e42eb
JM
966 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
967 extra argument CHECK_NAN. Redefine as wrapper around
968 _FP_EXTEND_CNAN.
969
3c0c543b
CD
9702015-02-06 Carlos O'Donell <carlos@systemhalted.org>
971
4e42b5b8
CD
972 * version.h (RELEASE): Set to "stable".
973 (VERSION): Set to "2.21"
974 * include/features.h (__GLIBC_MINOR__): Set to 21.
975
3c0c543b
CD
976 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
977
5bd80bfe 9782015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 979 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
980
981 [BZ #16618]
982 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
984 size in bytes. Store needed elements in wpmax. Use needed size
985 in bytes for extend_alloca.
986
3f823f48
CD
9872015-02-05 Carlos O'Donell <carlos@systemhalted.org>
988
04cb913d
CD
989 * manual/install.texi: Latest tested versions are GCC 4.9.2,
990 binutls 2.25, and texinfo 5.2.
991 * INSTALL: Regenerate.
992 * sysdeps/nios2/configure: Regenerate.
993 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
994 * manual/contrib.texi: Update.
995 * po/be.po: Update.
996 * po/bg.po: Update.
997 * po/ca.po: Update.
998 * po/cs.po: Update.
999 * po/da.po: Update.
1000 * po/de.po: Update.
1001 * po/el.po: Update.
1002 * po/eo.po: Update.
1003 * po/es.po: Update.
1004 * po/fi.po: Update.
1005 * po/fr.po: Update.
1006 * po/gl.po: Update.
1007 * po/hr.po: Update.
1008 * po/hu.po: Update.
1009 * po/ia.po: Update.
1010 * po/id.po: Update.
1011 * po/it.po: Update.
1012 * po/ja.po: Update.
1013 * po/ko.po: Update.
1014 * po/lt.po: Update.
1015 * po/nb.po: Update.
1016 * po/nl.po: Update.
1017 * po/pl.po: Update.
1018 * po/pt_BR.po: Update.
1019 * po/ru.po: Update.
1020 * po/rw.po: Update.
1021 * po/sk.po: Update.
1022 * po/sl.po: Update.
1023 * po/sv.po: Update.
1024 * po/tr.po: Update.
1025 * po/uk.po: Update.
1026 * po/vi.po: Update.
1027 * po/zh_CN.po: Update.
1028 * po/zh_TW.po: Update.
1029
3f823f48
CD
1030 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1031 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1032 * sysdeps/hppa/dl-irel.h: Remove #warning.
1033 * sysdeps/hppa/entry.h: Provide prototype for
1034 __canonicalize_funcptr_for_compare and cast argument.
1035 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1036 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1037 * sysdeps/hppa/sotruss-lib.c: New file.
1038 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1039 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1040 (atomic_compare_and_exchange_bool_acq): Likewise.
1041 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1042 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1043
1044 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1045 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1046 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1047
34c56048
CLT
10482015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1049
1050 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1051 called function in non-PIC case.
1052
d4abeca5
DM
10532015-01-31 David S. Miller <davem@davemloft.net>
1054
edac0a60
DM
1055 * sysdeps/sparc/sparc32/bits/atomic.h
1056 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1057 unlock not after it.
1058 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1059 volatile register usage warnings from the compiler.
1060
d4abeca5
DM
1061 * sysdeps/sparc/nptl/sem_init.c: Delete.
1062 * sysdeps/sparc/nptl/sem_post.c: Delete.
1063 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1064 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1065 * sysdeps/sparc/sparc32/sem_init.c: New file.
1066 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1067 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1068 padding explicitly initialized.
1069 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1070 padding for in-semaphore spinlock.
1071 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1072 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1073 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1074 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1075 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1076 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1077 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1078 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1079 version.
1080 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1081 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1082
5f3d0b78
L
10832015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1084
1085 [BZ #17801]
1086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1087 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1088 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1089 New.
1090 (index_AVX_Fast_Unaligned_Load): Likewise.
1091 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1092 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1093 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1094 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1095 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1096 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1097 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1098 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1099 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1100
b658fdd8
AS
11012015-01-29 Andreas Schwab <schwab@suse.de>
1102
1103 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1104
3cb26316
SP
11052015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1106
1107 [BZ #17892]
1108 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1109
527de9e4
MS
11102015-01-28 Martin Sebor <msebor@redhat.com>
1111
1112 * math/README.libm-test: Clarify. Add "How to read the test output."
1113
06991eb8
CM
11142015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1115
1116 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1117 Define to 0.
1118
df341342
JM
11192015-01-28 Joseph Myers <joseph@codesourcery.com>
1120
1121 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1122 (__HAVE_64B_ATOMICS): Define to 0.
1123
08cee2a4
AZ
11242015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1125
d4d0ecb2
AZ
1126 [BZ #17885]
1127 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1128 value to set as new flag.
1129
08cee2a4
AZ
1130 [BZ #16576]
1131 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1132 and use _ARCH_PPCSQ instead.
1133 (__ieee754_sqrt): Likewise.
1134 (__ieee754_sqrtf): Likewise.
1135 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1136 _ARCH_PPCSQ is defined.
1137 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1138 fsqrt instruction.
1139 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1140 _ARCH_PPCSQ is defined.
1141 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1142 fsqrts instruction.
1143 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1144
5fe8e359
AK
11452015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1146
1147 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1148 bug (GCC BZ #64739).
1149
24bb7432
AS
11502015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1151
fa20da31
AS
1152 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1153 Mark _retval as used.
1154 (lll_futex_wake_unlock): Likewise.
1155 (lll_futex_timed_wait_requeue_pi): Likewise.
1156
45819cbc
AS
1157 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1158 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1159 register variables.
1160
403cc231
AS
1161 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1162 libm_hidden_def.
1163
24bb7432
AS
1164 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1165 (__bswap_64): Mark as __always_inline.
1166
9317ea65
B
11672015-01-25 Bram <bug_rh@spam.wizbit.be>
1168
1169 [BZ #15378]
1170 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1171 when none of the search directories exist.
1172
0e87343e
AZ
11732015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1174
bea58013
AZ
1175 [BZ #17869]
1176 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1177 power8 in .machine directive.
1178
0e87343e
AZ
1179 [BZ #17868]
1180 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1181 set dependency from opd value.
1182
ede0236c
L
11832015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1184
1185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1186 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1187 architecture.
ede0236c 1188
22971c35
L
11892015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1190
1191 [BZ #17870]
1192 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1193 with uint64_t.
1194 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1195 (uint64_t) 1.
e0da28a1 1196 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1197 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1198 Replace 1UL with (uint64_t) 1.
1199 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1200 int with uint64_t.
1201
da5bf245
RM
12022015-01-23 Roland McGrath <roland@hack.frob.com>
1203
2ec2d703
RM
1204 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1205 (if_freenameindex): Likewise.
1206
da5bf245
RM
1207 * resource/getrlimit64.c: Add missing libc_hidden_def.
1208
d7423856
JM
12092015-01-22 Joseph Myers <joseph@codesourcery.com>
1210
1211 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1212 __label__.
1213 (_FP_FMA): Likewise.
1214 (_FP_TO_INT_ROUND): Likewise.
1215 (_FP_FROM_INT): Likewise.
1216
6b2ba95b
AZ
12172015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1218
1219 [BZ #16418]
1220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1221 Make code racy and cancel safe.
1222
ccdb048d
CD
12232015-01-21 Carlos O'Donell <carlos@redhat.com>
1224
191220b3
CD
1225 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1226 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1227 attribution.
1228
0897c551
CD
1229 * pwd/tst-getpw.c: Rewrite.
1230
ccdb048d
CD
1231 [BZ #17702]
1232 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1233 (modules-names): Add moddummy1 and moddummy2.
1234 ($(objpfx)tst-rec-dlopen): Define.
1235 * dlfcn/moddummy1.c: New file.
1236 * dlfcn/moddummy2.c: New file.
1237 * dlfcn/tst-rec-dlopen.c: New file.
1238 * elf/dl-cache.c (_dl_load_cache_lookup):
1239 Return char*. Copy result with alloca/strcpy/strdup.
1240 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1241 returns char*. Free cached. If not saving realname
1242 free cached.
1243 * elf/dl-open.c (dl_open_worker): Do not assert that
1244 _r_debug->r_state is RT_CONSISTENT.
1245 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1246 returns char*.
1247
042e1521
CD
12482015-01-21 Torvald Riegel <triegel@redhat.com>
1249 Carlos O'Donell <carlos@redhat.com>
1250
1251 [BZ #12674]
1252 * nptl/sem_waitcommon.c: New file.
1253 * nptl/sem_wait.c: Include sem_waitcommon.c.
1254 (__sem_wait_cleanup, do_futex_wait): Remove.
1255 (__new_sem_wait): Adapt.
1256 (__new_sem_trywait): New function.
1257 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1258 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1259 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1260 (sem_timedwait): Adapt.
1261 * nptl/sem_post.c (__new_sem_post): Adapt.
1262 (futex_wake): New function.
1263 (__old_sem_post): Add release MO fence.
1264 * nptl/sem_open.c (sem_open): Adapt.
1265 * nptl/sem_init.c (__new_sem_init): Adapt.
1266 (futex_private_if_supported): New function.
1267 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1268 (__old_sem_getvalue): Add using previous code.
1269 * sysdeps/nptl/internaltypes.h: Adapt.
1270 * nptl/tst-sem13.c (do_test): Adapt.
1271 * nptl/tst-sem11.c (main): Adapt.
1272 * nptl/sem_trywait.c: Remove.
1273 * nptl/DESIGN-sem.txt: Remove.
1274 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1275 (gen-as-const-headers): Remove structsem.sym.
1276 * nptl/structsem.sym: Remove.
1277 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1278 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1279 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1280 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1281 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1282 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1283 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1284 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1285 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1286 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1287 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1288 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1289 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1290 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1291 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1292 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1293 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1294 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1295 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1296 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1297 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1298 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1299
fe0e85af
CD
13002015-01-20 Carlos O'Donell <carlos@redhat.com>
1301
a8db092e
CD
1302 * INSTALL: Regenerated.
1303
fe0e85af
CD
1304 * po/libc.pot: Regenerated.
1305
522e6ee3
CLT
13062015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1307 Sandra Loosemore <sandra@codesourcery.com>
1308 Andrew Jenner <andrew@codesourcery.com>
1309 Joseph Myers <joseph@codesourcery.com>
1310 Nathan Sidwell <nathan@codesourcery.com>
1311
1312 * NEWS: Mention new Nios II port.
1313 * sysdeps/nios2/Implies: New file.
1314 * sysdeps/nios2/Makefile: New file.
1315 * sysdeps/nios2/Subdirs: New file.
1316 * sysdeps/nios2/Versions: New file.
1317 * sysdeps/nios2/__longjmp.S: New file.
1318 * sysdeps/nios2/abort-instr.h: New file.
1319 * sysdeps/nios2/backtrace.c: New file.
1320 * sysdeps/nios2/bits/endian.h: New file.
1321 * sysdeps/nios2/bits/fenv.h: New file.
1322 * sysdeps/nios2/bits/link.h: New file.
1323 * sysdeps/nios2/bits/setjmp.h: New file.
1324 * sysdeps/nios2/bsd-_setjmp.S: New file.
1325 * sysdeps/nios2/bsd-setjmp.S: New file.
1326 * sysdeps/nios2/configure: New generated file.
1327 * sysdeps/nios2/configure.ac: New file.
1328 * sysdeps/nios2/crti.S: New file.
1329 * sysdeps/nios2/crtn.S: New file.
1330 * sysdeps/nios2/dl-init.c: New file.
1331 * sysdeps/nios2/dl-machine.h: New file.
1332 * sysdeps/nios2/dl-sysdep.h: New file.
1333 * sysdeps/nios2/dl-tls.h: New file.
1334 * sysdeps/nios2/dl-trampoline.S: New file.
1335 * sysdeps/nios2/gccframe.h: New file.
1336 * sysdeps/nios2/gmp-mparam.h: New file.
1337 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1338 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1339 * sysdeps/nios2/ldsodefs.h: New file.
1340 * sysdeps/nios2/libc-tls.c: New file.
1341 * sysdeps/nios2/libm-test-ulps: New file.
1342 * sysdeps/nios2/machine-gmon.h: New file.
1343 * sysdeps/nios2/math-tests.h: New file.
1344 * sysdeps/nios2/math_private.h: New file.
1345 * sysdeps/nios2/memusage.h: New file.
1346 * sysdeps/nios2/nptl/Makefile: New file.
1347 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1348 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1349 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1350 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1351 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1352 * sysdeps/nios2/nptl/tls.h: New file.
1353 * sysdeps/nios2/preconfigure: New file.
1354 * sysdeps/nios2/s_fma.c: New file.
1355 * sysdeps/nios2/s_fmaf.c: New file.
1356 * sysdeps/nios2/setjmp.S: New file.
1357 * sysdeps/nios2/sfp-machine.h: New file.
1358 * sysdeps/nios2/sotruss-lib.c: New file.
1359 * sysdeps/nios2/stackguard-macros.h: New file.
1360 * sysdeps/nios2/stackinfo.h: New file.
1361 * sysdeps/nios2/start.S: New file.
1362 * sysdeps/nios2/sysdep.h: New file.
1363 * sysdeps/nios2/tls-macros.h: New file.
1364 * sysdeps/nios2/tst-audit.h: New file.
1365 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1366 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1367 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1368 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1369 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1370 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1371 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1372 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1373 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1374 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1375 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1376 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1377 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1378 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1379 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1380 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1381 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1382 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1383 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1384 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1385 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1386 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1387 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1388 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1389 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1390 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1391 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1392 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1393 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1394 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1395 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1396 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1397 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1398 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1399 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1400 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1401 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1402 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1403 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1404 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1405 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1406 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1407 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1408 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1409
026eb207
SL
14102015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1411
1412 [BZ #17844]
1413 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1414 (getutent): Use weak_alias in non SHARED case
1415 and default_symbol_version in SHARED case.
1416 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1417 (getutent_r, pututline): Likewise.
1418 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1419 (getutid): Likewise.
1420 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1421 (getutid_r): Likewise.
1422 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1423 (getutline): Likewise.
1424 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1425 (getutline_r): Likewise.
1426 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1427 (updwtmp): Likewise.
1428
1d532483
SL
14292015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1430
1431 [BZ #17848]
1432 * sysdeps/s390/s390-32/memcmp.S
1433 (memcmp_g5): Rename to __memcmp_g5.
1434 * sysdeps/s390/s390-32/memcpy.S
1435 (memcpy_g5): Rename to __memcpy_g5.
1436 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1437 (memcpy_mvcle) Rename to __memcpy_mvcle.
1438 * sysdeps/s390/s390-32/memset.S
1439 (memset_g5): Rename to __memset_g5.
1440 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1441 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1442 and use prefixed functions.
1443 * sysdeps/s390/s390-32/multiarch/memcmp.S
1444 (memcmp_z196): Rename to __memcmp_z196.
1445 (memcmp_z10): Rename to __memcmp_z10.
1446 (memcmp): Set alias to __memcmp_g5.
1447 (bcmp): Set alias to __memcmp_g5.
1448 * sysdeps/s390/s390-32/multiarch/memcpy.S
1449 (memcpy_z196): Rename to __memcpy_z196.
1450 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1451 (memcpy_z10): Rename to __memcpy_z10.
1452 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1453 (memcpy): Set alias to __memcpy_g5.
1454 * sysdeps/s390/s390-32/multiarch/memset.S
1455 (memset_z196): Rename to __memset_z196.
1456 Jump to __memset_mvcle instead of memset_mvcle.
1457 (memset_z10): Rename to __memset_z10.
1458 Jump to __memset_mvcle instead of memset_mvcle.
1459 (memset_mvcle) Rename to __memset_mvcle.
1460 (memset): Set alias to __memset_g5.
1461 * sysdeps/s390/s390-64/memcmp.S
1462 (memcmp_z900): Rename to __memcmp_z900.
1463 * sysdeps/s390/s390-64/memcpy.S
1464 (memcpy_z900): Rename to __memcpy_z900.
1465 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1466 (memcpy_mvcle) Rename to __memcpy_mvcle.
1467 * sysdeps/s390/s390-64/memset.S
1468 (memset_z900): Rename to __memset_z900.
1469 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1470 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1471 and use prefixed functions.
1472 * sysdeps/s390/s390-64/multiarch/memcmp.S
1473 (memcmp_z196): Rename to __memcmp_z196.
1474 (memcmp_z10): Rename to __memcmp_z10.
1475 (memcmp): Set alias to __memcmp_z900.
1476 (bcmp): Set alias to __memcmp_z900.
1477 * sysdeps/s390/s390-64/multiarch/memcpy.S
1478 (memcpy_z196): Rename to __memcpy_z196.
1479 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1480 (memcpy_z10): Rename to __memcpy_z10.
1481 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1482 (memcpy): Set alias to __memcpy_z900.
1483 * sysdeps/s390/s390-64/multiarch/memset.S
1484 (memset_z196): Rename to __memset_z196.
1485 Jump to __memset_mvcle instead of memset_mvcle.
1486 (memset_z10): Rename to __memset_z10.
1487 Jump to __memset_mvcle instead of memset_mvcle.
1488 (memset_mvcle) Rename to __memset_mvcle.
1489 (memset): Set alias to __memset_z900.
1490
53fbd169
JM
14912015-01-14 Joseph Myers <joseph@codesourcery.com>
1492
1493 [BZ #17748]
1494 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1495 __fesetenv instead of fesetenv.
1496
d639a363
SP
14972015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1498
1499 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1500 macro.
1501
d3b00f46
AZ
15022015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1503
ce6615c9
AZ
1504 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1505 regression on LE.
1506
d3b00f46
AZ
1507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1508 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1509 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1510 strncmp-power8 object.
1511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1512 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1513 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1514 * NEWS: Update.
1515
72607db0
RS
15162015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1517 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1518
1519 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1520 trailing byte check.
1521
54dc5461
DM
15222015-01-13 David S. Miller <davem@davemloft.net>
1523
1524 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1525
1c6e6f23
RM
15262015-01-13 Roland McGrath <roland@hack.frob.com>
1527
1528 * login/logout.c (logout): Use memset rather than bzero.
1529 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1530 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1531 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1532 (_gethtbyaddr): Likewise.
1533 * locale/programs/simple-hash.c (bcopy): Macro removed.
1534
96d6fd6c
AZ
15352015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1536
8bedcb5f
AZ
1537 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1538 Add strcmp-power8 object.
1539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1540 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1541 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1542 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1543 __strcmp_power8 implementation.
1544 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1545 * NEWS: Update.
1546
f06a4faf
AZ
1547 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1548 Add strncpy-power8 and stpncpy-power8 objects.
1549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1550 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1551 implementations.
1552 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1553 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1554 __stpncpy_power8 implementation.
1555 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1556 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1557 __strncpy_power8 implementation.
1558 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1559 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1560 * NEWS: Update.
1561
9f2f36e5
AZ
1562 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1563 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1564 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1565
96d6fd6c 1566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1567 strncat-power8 object.
1568 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1569 __strcat_power8 implementation.
1570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1571 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1572 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1573 optimized strcat for power8.
1574
1575 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1576 strcpy-power8 and stpcpy-power8 objects.
1577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1578 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1579 implementations.
1580 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1581 multiarch stpcpy implementation for POWER8.
1582 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1583 multiarch strcpy implementation for POWER8.
1584 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1585 __strcpy_power8 function.
1586 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1587 stpcpy for POWER8.
1588 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1589 strcpy for POWER8.
1590 * NEWS: Update.
1591
0f9e5854
LH
15922015-01-13 Leonhard Holz <leonhard.holz@web.de>
1593
1594 [BZ #16009]
1595 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1596 weights and rules. Use do_xfrm_cached if data fits in cache,
1597 do_xfrm otherwise. Moved former main loop to...
1598 * (do_xfrm_cached): New function.
1599 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1600 find_idx, find_position and stack_push.
1601 * (find_idx): New function.
1602 * (find_position): Likewise.
1603 * localedata/sort-test.sh: Added test run for do_xfrm.
1604 * localedata/xfrm-test.c (main): Added command line option
1605 -nocache to run the test with strings that are too large for
1606 the STRXFRM cache.
1607
c60ec0e0
TR
16082015-01-13 Torvald Riegel <triegel@redhat.com>
1609
1610 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1611 variable to lll_futex_wake call, not the value itself.
1612
34e93d6c
JM
16132015-01-12 Joseph Myers <joseph@codesourcery.com>
1614
5a9e4c09
JM
1615 [BZ #17803]
1616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1617 twom64. Adjust value to 0x1p-64L.
1618 (__scalblnl): Only return standard underflowing result for K <=
1619 -64 not K <= -63; adjust exponent for underflowing result by 64
1620 not 63.
1621 * math/libm-test.inc (scalbn_test_data): Add more tests.
1622 (scalbln_test_data): Likewise.
1623
34e93d6c
JM
1624 [BZ #17834]
1625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1626 0x1p63L.
1627 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1628 not HX.
1629 * math/libm-test.inc (scalbn_test_data): Add more tests.
1630 (scalbln_test_data): Likewise.
1631
ca677d3c
AZ
16322015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1633 Stefani Seibold <stefani@seibold.net>
1634
1635 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1636 (sysdep_routines): Add dl-vdso here, ...
1637 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1638 (sysdep_routines): ... not here.
1639 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1640 fallback when vDSO is not presented.
1641 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1642 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1643 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1644 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1645 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1646 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1647 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1648 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1649 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1651 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1652 fallback configurable symbol when vDSO is not available.
1653 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1654 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1655 be able to redefine fallback symbol when vDSO is not available.
1656 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1657 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1658
49a9f6ab 16592015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1660
56cf2763
AZ
1661 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1662 (TLS_INIT_TP): Add tm_capable initialization.
1663 (TLS_DEFINE_INIT_TP): Likewise.
1664 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1665 TCB.
1666 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1667 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1668 calculation.
1669 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1670 transactoion is lock elision is built and TCB tm_capable is set.
1671 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1673 (INTERNAL_SYSCALL_NCS): Likewise.
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1675 (INTERNAL_SYSCALL_NCS): Likewise.
1676 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1677
4b45943a
AZ
1678 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1679 for powerpc.
1680 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1681 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1682 and remove it for 32 bits case.
1683 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1685 initialization.
1686 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1687 Disable lock elision with rdlocks if elision is not available.
1688
8d2c0a59
AZ
1689 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1690 (sysdep_routines): Add lock elision objects.
1691 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1692 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1693 [pthread_mutex_t] (__elision): Add field.
1694 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1695 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1696 elision definitions for powerpc.
1697 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1698 implementation of lock elision for powerpc.
1699 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1700 implementation of timed lock elision for powerpc.
1701 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1702 implementation of trylock with lock elision for powerpc.
1703 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1704 implementaion of unlock for lock elision for powerpc.
1705 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1706 automatic enable lock elision for mutexes.
1707 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1708 transaction execution definitions for powerpc.
1709 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1710 definitions.
1711 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1712 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1713 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1714 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1715 * NEWS: Update.
1716
bc0ed9f7
RM
17172015-01-09 Roland McGrath <roland@hack.frob.com>
1718
1719 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1720 for #include of <shm-directory.h>.
1721
585d9c18
CLT
17222015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1723
1724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1725 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1726
aee6626c
MF
17272015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1728
1729 [BZ #17791]
1730 * NEWS: Mention bug fix.
1731 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1732 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1733 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1734
9e560f48
TR
17352015-01-09 Torvald Riegel <triegel@redhat.com>
1736
1737 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1738
e1cfbd0c
TR
17392015-01-09 Torvald Riegel <triegel@redhat.com>
1740
1741 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1742
cf71e44f
DH
17432015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1744
1745 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1746 pointer and cast to uintptr_t.
1747
b360ee62
DH
17482015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1749
1750 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1751 removed.
1752 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1753
caff764e
DH
17542015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1755
1756 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1757 of 0.
1758
59ff172f
RM
17592015-01-08 Roland McGrath <roland@hack.frob.com>
1760
c97d27f1
RM
1761 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1762 <nptl/pthreadP.h> instead.
1763 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1764
08734ccd
RM
1765 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1766 already defined.
1767 [__SIGRTMIN] (init): Function removed.
1768 [__SIGRTMIN] (initialized): Variable removed.
1769 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1770 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1771 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1772 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1773 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1774 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1775 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1776 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1777 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1778 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1779 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1780 * sysdeps/nptl/allocrtsig.c: New file.
1781 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1782 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1783 * sysdeps/generic/testrtsig.h: File removed.
1784
7b052e33
RM
1785 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1786 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1787
cc40d25e
RM
1788 * nptl/nptl-init.c (pthread_functions): Conditionalize
1789 .ptr__nptl_setxid initialization on [SIGSETXID].
1790
9287adf0
RM
1791 * sysdeps/nptl/sys/procfs.h: New file.
1792 * nptl_db/Makefile (headers): Add it.
1793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1794
59ff172f
RM
1795 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1796 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1797 * nptl/pthread_attr_setaffinity.c: Include it.
1798 * nptl/pthread_setattr_default_np.c: Likewise.
1799 * nptl/check-cpuset.h: New file.
1800
b9205857
RH
18012015-01-08 Richard Henderson <rth@redhat.com>
1802
1803 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1804 (CFLAGS-tst-execstack-prog.c): Likewise.
1805 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1806
1a0a8d15
CLT
18072015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1808 Sandra Loosemore <sandra@codesourcery.com>
1809 Andrew Jenner <andrew@codesourcery.com>
1810 Joseph Myers <joseph@codesourcery.com>
1811 Nathan Sidwell <nathan@codesourcery.com>
1812
1813 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1814 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1815 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1816 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1817 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1818 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1819 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1820 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1821 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1822 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1823 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1824 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1825 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1826 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1827 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1828 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1829 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1830
dd6e8af6
AZ
18312015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832
1833 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1834 timespec struct member in syscall macro.
1835 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1836 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1837 first timeval struct member in syscall macro.
1838 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1839
8116321f
JM
18402015-01-07 Joseph Myers <joseph@codesourcery.com>
1841
1842 [BZ #17748]
1843 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1844 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1845 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1846 __feupdateenv and define as weak alias of __feupdateenv. Use
1847 libm_hidden_weak.
1848 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1849 libm_hidden_def.
1850 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1851 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1852 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1853 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1854 libm_hidden_def.
1855 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1856 __feupdateenv and define as weak alias of __feupdateenv. Use
1857 libm_hidden_weak.
1858 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1859 libm_hidden_def.
1860 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1861 __feupdateenv and define as weak alias of __feupdateenv. Use
1862 libm_hidden_weak.
1863 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1864 libm_hidden_def.
1865 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1866 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1867 (__feupdateenv): Likewise.
1868 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1869 __feupdateenv and define as weak alias of __feupdateenv. Use
1870 libm_hidden_weak.
1871 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1872 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1873 libm_hidden_def.
1874 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1875 function.
1876 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1877 libm_hidden_def.
1878 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1879 __feupdateenv instead of feupdateenv.
1880 (default_libc_feupdateenv_test): Likewise.
1881 (libc_feresetround_ctx): Likewise.
1882
882dfe18
AZ
18832015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1884
1885 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1886 prototype.
1887
39a12f8d
CM
18882015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1889
1890 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1891 COLL_SYM in a couple of places to avoid uninitialized variable
1892 wanings on tilegx gcc 4.8.2.
1893
dc400d7b
RE
18942015-01-07 Richard Earnshaw <rearnsha@arm.com>
1895
1896 * sysdeps/aarch64/strcpy.S: New file.
1897 * sysdeps/aarch64/stpcpy.S: New file.
1898 * NEWS: Updated.
1899
ec582ca0
RE
19002015-01-07 Richard Earnshaw <rearnsha@arm.com>
1901
1902 * sysdeps/aarch64/strrchr.S: New file.
1903 * NEWS: Updated.
1904
d5b1c5ed
EB
19052015-01-07 Eric Biggers <ebiggers3@gmail.com>
1906
1907 [BZ #17658]
1908 * stdlib/setenv.c: Fix memory leak when setting large,
1909 duplicate string.
1910
fb87ee96
VN
19112015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1912
60f046a8 1913 [BZ #17273]
fb87ee96
VN
1914 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1915 and tabs from buffer before parsing fstab entry.
1916 * misc/tst-mntent.c (main): Add test for mount entry with
1917 trailing spaces and tabs.
1918
cd42798a
JM
19192015-01-06 Joseph Myers <joseph@codesourcery.com>
1920
01238691
JM
1921 [BZ #17748]
1922 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1923 * math/fesetround.c (fesetround): Rename to __fesetround and
1924 define as weak alias of __fesetround. Use libm_hidden_weak.
1925 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1926 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1927 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1928 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1929 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1930 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1931 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1932 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1933 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1934 __fesetround_inline.
1935 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1936 __fesetround_inline instead of __fesetround.
1937 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1938 __fesetround and define as weak alias of __fesetround. Use
1939 libm_hidden_weak. Call __fesetround_inline instead of
1940 __fesetround.
1941 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1942 __fesetround and define as weak alias of __fesetround. Use
1943 libm_hidden_weak.
1944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1945 Likewise.
1946 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1947 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1948 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1949 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1950 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1951 __fesetround and define as weak alias of __fesetround. Use
1952 libm_hidden_weak.
1953 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1954 __fesetround instead of fesetround.
1955 (default_libc_feholdexcept_setround): Likewise.
1956 (libc_feholdsetround_ctx): Likewise.
1957 (libc_feholdsetround_noex_ctx): Likewise.
1958
cd42798a
JM
1959 [BZ #17748]
1960 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1961 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1962 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1963 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1964 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1965 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1966 define as weak alias of __fesetenv. Use libm_hidden_weak.
1967 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1968 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1969 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1970 define as weak alias of __fesetenv. Use libm_hidden_weak.
1971 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1972 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1973 define as weak alias of __fesetenv. Use libm_hidden_weak.
1974 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1975 libm_hidden_def.
1976 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1977 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1978 Likewise.
1979 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1980 define as weak alias of __fesetenv. Use libm_hidden_weak.
1981 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1982 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1983 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1984 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1985 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1986 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1987 __fesetenv instead of fesetenv.
1988 (libc_feresetround_noex_ctx): Likewise.
1989 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1990 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1991 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1992 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1993 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1994 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1995 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1996 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1997 (__feupdateenv): Likewise.
1998 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1999 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2000 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2001 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2002
38949026
AJ
20032015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2004
1cf98e27 2005 [BZ #17806]
38949026
AJ
2006 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2007 addresses have been freed.
2008
5fe55e9c
AJ
20092015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2010
2011 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2012 and nservall.
2013
dc8ab018
OB
20142015-01-06 Ondřej Bílka <neleai@seznam.cz>
2015
2016 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2017 Clean up check_pf allocation pattern. addresses
2018
14bb4e57
AZ
20192015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2020
2021 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2022 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2023 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2024 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2025 * nptl/pthread_join.c (pthread_join): Likewise.
2026 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2027 * sysdeps/posix/waitid.c (__waitid): Likewise.
2028 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2029 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2030 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2031 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2033 Likewise.
2034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2035 (__libc_pread64): Likewise.
2036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2037 (__libc_pwrite): Likewise.
2038 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2039 (__libc_pwrite64): Likewsie.
2040 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2041 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2042 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2043 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2044 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2045 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2046 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2048 Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2050 (__libc_pread64): Likewise.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2052 Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2054 (__libc_pwrite64): Likewise.
2055 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2056 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2057 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2058 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2059 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2060 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2061 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2062 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2063 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2064 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2065 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2066 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2067 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2068 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2069 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2071 Likewise.
2072
10a5e112
AS
20732015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2074
2075 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2076 (CFLAGS-test-double.c): Likewise.
2077 (CFLAGS-test-ldouble.c): Likewise.
2078 (CPPFLAGS-test-ifloat.c): Likewise.
2079 (CPPFLAGS-test-idouble.c): Likewise.
2080 (CPPFLAGS-test-ildoubl.c): Likewise.
2081 (CFLAGS-test-test-fenv.c): Remove variable.
2082 (CFLAGS-test-misc.c): Likewise.
2083
57ada0e7
L
20842015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 [BZ #17797]
2087 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2088 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2089 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2090 CLOCKS_PER_SEC == 1000000.
2091 * time/clocktest.c (main): Replace %ld with %jd and cast to
2092 intmax_t.
2093
46abb64d
RM
20942015-01-05 Roland McGrath <roland@hack.frob.com>
2095
2096 * sysdeps/generic/unwind-resume.h: New file.
2097 * sysdeps/gnu/unwind-resume.c: Include it.
2098 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2099 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2100 argument list.
2101 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2102 global rather than static.
2103 (_Unwind_Resume): Update user.
2104 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2105 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2106 rather than static. Add __attribute__ ((cold)).
2107 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2108 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2109 * sysdeps/arm/arm-unwind-resume.S: New file.
2110 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2111 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2112 * sysdeps/arm/Makefile [$(subdir) = csu]
2113 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2114 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2115 Add rt-arm-unwind-resume.
2116 [$(subdir) = nptl]
2117 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2118 Add pt-arm-unwind-resume.
2119 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2120 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2121
ef9faf13
JM
21222015-01-05 Joseph Myers <joseph@codesourcery.com>
2123
2124 [BZ #17748]
2125 * include/fenv.h (__feholdexcept): Declare. Use
2126 libm_hidden_proto.
2127 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2128 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2129 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2130 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2131 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2132 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2133 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2134 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2135 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2136 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2137 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2138 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2139 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2140 (feholdexcept): Likewise.
2141 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2142 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2143 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2144 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2145 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2146 __feholdexcept instead of feholdexcept.
2147 (default_libc_feholdexcept_setround): Likewise.
2148
295a453e
SE
21492015-01-05 Steve Ellcey <sellcey@imgtec.com>
2150
2151 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2152 to avoid using stl/str to align destination.
2153
882c4b9f
SE
21542015-01-05 Steve Ellcey <sellcey@imgtec.com>
2155
2156 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2157
ac4c11f5
JM
21582015-01-05 Joseph Myers <joseph@codesourcery.com>
2159
2160 [BZ #17796]
2161 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2162 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2163 Define as weak alias not strong alias.
2164
03403e30
SE
21652015-01-05 Steve Ellcey <sellcey@imgtec.com>
2166
2167 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2168 bltzal with addiupc.
2169 (RTLD_START): Ditto.
2170
1dca195e
CM
21712015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2172
00b8b9ba
SP
2173 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2174 for __vdso_* functions in declarations.
2175 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2176 definitions.
2177 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2178 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2179
1dca195e
CM
2180 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2181 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2182 function with cast from llround().
2183 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2184 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2185 Define.
2186
a287953a
JM
21872015-01-05 Joseph Myers <joseph@codesourcery.com>
2188
ab70da77
JM
2189 [BZ #17793]
2190 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2191 Define as weak alias not strong alias.
2192
b8986484
JM
2193 [BZ #17635]
2194 * ctype/ctype-c99.c: New file. isblank implementation moved from
2195 ...
2196 * ctype/ctype-extn.c: ... here.
2197 (__isblank_l): Move to ...
2198 * ctype/ctype-c99_l.c: ... here. New file.
2199 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2200 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2201 Remove variable.
2202 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2203 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2204 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2205 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2206 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2207
a287953a
JM
2208 [BZ #17777]
2209 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2210 (posix_fadvise64): Define as weak alias not strong alias.
2211 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2212 (posix_fallocate64): Likewise.
2213 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2214 Remove variable.
2215 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2216 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2217 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2218 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2219 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2220
b1efe3bb
MF
22212015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2222
2223 [BZ #16191]
2224 * NEWS: Mention bug fix.
2225 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2226 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2227 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2228 (HOST_STACK_END_ADDR): Likewise.
2229
9706dc5f
JM
22302015-01-02 Joseph Myers <joseph@codesourcery.com>
2231
b93c2205
JM
2232 [BZ #17748]
2233 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2234 * math/fegetround.c (fegetround): Rename to __fegetround and
2235 define as weak alias of __fegetround. Use libm_hidden_weak.
2236 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2237 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2238 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2239 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2240 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2241 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2242 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2243 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2244 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2245 Undefine after rather than before function definition; use
2246 parentheses around function name in definition.
2247 (__fegetround): Also undefine macro after function definition.
2248 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2249 __fegetround and define as weak alias of __fegetround. Use
2250 libm_hidden_weak. Do not undefine as macro.
2251 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2252 Likewise.
2253 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2254 __fegetround and define as weak alias of __fegetround. Use
2255 libm_hidden_weak.
2256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2257 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2258 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2259 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2260 __fegetround and define as weak alias of __fegetround. Use
2261 libm_hidden_weak.
2262 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2263 __fegetround instead of fegetround.
2264
253a59cc
JM
2265 [BZ #17782]
2266 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2267 Condition macro definition on [__USE_MISC].
2268
27dae011
JM
2269 [BZ #17781]
2270 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2271 (struct sigaction): Change type of sa_flags field to int.
2272
172019c0
JM
2273 [BZ #17780]
2274 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2275 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2276 __glibc_reserved0.
2277
522ad1d6
JM
2278 * nptl/version.c (banner): Use single year in copyright notice.
2279
9706dc5f
JM
2280 * NEWS: Update copyright dates.
2281 * catgets/gencat.c (print_version): Likewise.
2282 * csu/version.c (banner): Likewise.
2283 * debug/catchsegv.sh: Likewise.
2284 * debug/pcprofiledump.c (print_version): Likewise.
2285 * debug/xtrace.sh (do_version): Likewise.
2286 * elf/ldconfig.c (print_version): Likewise.
2287 * elf/ldd.bash.in: Likewise.
2288 * elf/pldd.c (print_version): Likewise.
2289 * elf/sotruss.sh: Likewise.
2290 * elf/sprof.c (print_version): Likewise.
2291 * iconv/iconv_prog.c (print_version): Likewise.
2292 * iconv/iconvconfig.c (print_version): Likewise.
2293 * locale/programs/locale.c (print_version): Likewise.
2294 * locale/programs/localedef.c (print_version): Likewise.
2295 * login/programs/pt_chown.c (print_version): Likewise.
2296 * malloc/memusage.sh (do_version): Likewise.
2297 * malloc/memusagestat.c (print_version): Likewise.
2298 * malloc/mtrace.pl: Likewise.
2299 * manual/libc.texinfo: Likewise.
2300 * nptl/version.c (banner): Likewise.
2301 * nscd/nscd.c (print_version): Likewise.
2302 * nss/getent.c (print_version): Likewise.
2303 * nss/makedb.c (print_version): Likewise.
2304 * posix/getconf.c (main): Likewise.
2305 * scripts/test-installation.pl: Likewise.
2306 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2307
b8607aac
WN
23082015-01-02 Will Newton <will.newton@linaro.org>
2309
2310 * sysdeps/arm/armv7/configure: Removed.
2311 * sysdeps/arm/armv7/configure.ac: Likewise.
2312
b168057a
JM
23132015-01-02 Joseph Myers <joseph@codesourcery.com>
2314
2315 * All files with FSF copyright notices: Update copyright dates
2316 using scripts/update-copyrights.
2317 * intl/plural.c: Regenerated.
2318 * locale/programs/charmap-kw.h: Likewise.
2319 * locale/programs/locfile-kw.h: Likewise.
2320
b217c15f
SP
23212015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2322
2323 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2324
73a268c7
JM
23252014-12-31 Joseph Myers <joseph@codesourcery.com>
2326
2327 [BZ #17748]
2328 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2329 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2330 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2331 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2332 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2333 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2334 define as weak alias of __fegetenv. Use libm_hidden_weak.
2335 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2336 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2337 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2338 define as weak alias of __fegetenv. Use libm_hidden_weak.
2339 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2340 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2341 define as weak alias of __fegetenv. Use libm_hidden_weak.
2342 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2343 libm_hidden_def.
2344 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2345 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2346 Likewise.
2347 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2348 define as weak alias of __fegetenv. Use libm_hidden_weak.
2349 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2350 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2351 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2352 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2353 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2354 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2355 __fegetenv instead of fegetenv.
2356 (libc_feholdsetround_noex_ctx): Likewise.
2357
0bd95672
MF
23582014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2359
2360 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2361 (Elf_MIPS_ABIFlags_v0): New structure.
2362 (EF_MIPS_FP64): Define.
2363 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2364 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2365 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2366 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2367 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2368 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2369 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2370 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2371 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2372 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2373 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2374 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2375 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2376 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2377 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2378 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2379 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2380 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2381 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2382 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2383 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2384 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2385 field.
2386 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2387 EF_MIPS_FP64.
2388 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2389 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2390 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2391 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2392 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2393 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2394 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2395 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2396 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2397 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2398 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2399 record the current FP ABI extension.
2400 (mips-mode-switch): Define to show if kernel headers support mode
2401 switching.
2402 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2403 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2404 supported SYSV ABI version to 3.
2405 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2406 feature.
2407
f59ad976
RS
24082014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2409 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2410
2411 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2412 path.
2413 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2414
4a3d3999
JM
24152014-12-31 Joseph Myers <joseph@codesourcery.com>
2416
2417 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2418 __fegetround and redefine to call __fegetround. Remove condition
2419 on [!__NO_MATH_INLINES].
2420 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2421 function.
2422 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2423 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2424 Remove macro.
2425 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2426 instead of <fenv_libc.h>.
2427 (__llrintl): Call fegetround instead of __fegetround.
2428 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2429 instead of <fenv_libc.h>.
2430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2431 (__lrintl): Call fegetround instead of __fegetround.
2432 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2433 instead of <fenv_libc.h>.
2434 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2435 (__rintl): Call fegetround instead of __fegetround.
2436
195f3afc
SP
24372014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2438
2439 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2440 arrays.
2441
7062bd42
L
24422014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2443
2444 [BZ #17775]
2445 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2446 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2447 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2448
07256e18
AS
24492014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2450
2451 * sysdeps/i386/tls-macros.h: Include <features.h>.
2452 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2453 (TLS_IE): Likewise.
2454 (TLS_LD): Likewise.
2455 (TLS_GD): Likewise.
2456 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2457 define for GCC >= 5.0.
2458
1ff950ad
CM
24592014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2460
2461 * math/test-fenv.c (test_single_exception, set_single_exc,
2462 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2463 feexcp_mask_test, feenable_test, fe_single_test): Add
2464 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2465 case where they are not used.
2466 * math/libm-test.inc: Likewise.
2467 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2468 unused in the absence of FP rounding/exception support.
2469 * stdio-common/tst-printf-round.c: Likewise.
2470 * stdlib/tst-strtod-round.c: Likewise.
2471 * stdlib/tst-strtod-underflow.c: Likewise.
2472
0747f818
JM
24732014-12-30 Joseph Myers <joseph@codesourcery.com>
2474
2475 [BZ #17723]
2476 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2477 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2478 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2479 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2480 libm_hidden_weak.
2481 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2482 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2483 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2484 libm_hidden_def.
2485 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2486 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2487 libm_hidden_weak.
2488 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2489 Likewise.
2490 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2491 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2492 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2493 libm_hidden_weak.
2494 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2495 libm_hidden_def.
2496 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2497 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2498 (__feraiseexcept): Likewise.
2499 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2500 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2501 libm_hidden_weak.
2502 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2503 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2504 libm_hidden_def.
2505 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2506 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2507 Use libm_hidden_def.
2508 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2509 libm_hidden_def.
2510 (feraiseexcept): Define as weak not strong alias. Use
2511 libm_hidden_weak.
2512 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2513 New inline function. Factored out of ...
2514 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2515 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2516 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2517 feraiseexcept.
2518 * math/w_acos.c (__acos): Likewise.
2519 * math/w_asin.c (__asin): Likewise.
2520 * math/w_ilogb.c (__ilogb): Likewise.
2521 * math/w_j0.c (y0): Likewise.
2522 * math/w_j1.c (y1): Likewise.
2523 * math/w_jn.c (yn): Likewise.
2524 * math/w_log.c (__log): Likewise.
2525 * math/w_log10.c (__log10): Likewise.
2526 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2527 * sysdeps/aarch64/fpu/math_private.h
2528 (libc_feupdateenv_test_aarch64): Likewise.
2529 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2530 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2531 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2532 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2533 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2534 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2535 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2536 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2537 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2538 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2539
8d2b2763
L
25402014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2541
2542 [BZ #17732]
2543 * io/test-utime.c (main): Replace %ld with %jd and cast to
2544 intmax_t.
41fad830 2545 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2546 * nptl/tst-mutex5.c: Include <stdint.h>.
2547 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2548 * posix/tst-regex.c (run_test): Likewise.
2549 (run_test_backwards): Likewise.
5d619de4
L
2550 * rt/tst-clock.c: Include <stdint.h>.
2551 (clock_test): Replace %ld with %jd and cast to intmax_t.
2552 * rt/tst-cpuclock1.c: Include <stdint.h>.
2553 (do_test): Replace %lu with %ju and cast to uintmax_t.
2554 * rt/tst-cpuclock2.c: Include <stdint.h>.
2555 (do_test): Replace %lu with %ju and cast to uintmax_t.
2556 * rt/tst-mqueue1.c: Include <stdint.h>.
2557 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2558 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2559 intmax_t.
2560 * rt/tst-mqueue4.c (do_test): Likewise.
2561 * rt/tst-timer4.c: Include <stdint.h>.
2562 (check_ts): Replace %ld with %jd and cast to intmax_t.
2563 (do_test): Likewise.
ad86fbc3
L
2564 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2565 and cast to intmax_t.
37f46900 2566 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2567 * time/clocktest.c (main): Likewise.
2568 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2569 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2570
8b4416d8
AS
25712014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2572 H.J. Lu <hongjiu.lu@intel.com>
2573
2574 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2575 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2576 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2577 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2578 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2579 version if bit_Fast_Unaligned_Load is set.
2580 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2581 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2582 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2583 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2584 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2585 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2587 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2588 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2589 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2590 to 4.
2591 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2592 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2593 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2594 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2595
e47b8d3b
CM
25962014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2597
6d6d7fde
CM
2598 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2599 instead of #if to avoid a Wundef warning.
2600 * stdlib/tst-limits.c (do_test): Likewise.
2601
cd2c37c9
CM
2602 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2603 parallel other exception macros.
2604 (fegetenv): Convert from macro to extern inline so that it applies
2605 retroactively to inline functions already seen by the compiler.
2606 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2607
e47b8d3b
CM
2608 * posix/Makefile (before-compile): Use $(objpfx) for
2609 posix-conf-vars-def.h.
2610
4a6aca7b
SP
26112014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2612
7910c2ae
SP
2613 * posix/getconf.c (main): Use size_t for type of I.
2614 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2615 NSPEC.
2616
50cbbaa9
SP
2617 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2618 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2619 * posix/posix-envs.def: Likewise.
2620 * sysdeps/posix/sysconf.c: Likewise.
2621 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2622 (specs): Remove array.
2623 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2624 array.
2625
3b566046
SP
2626 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2627 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2628 (__sysconf): Use CONF_IS_* macros.
2629
4a6aca7b
SP
2630 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2631 ($(objpfx)posix-conf-vars-def.h): New target.
2632 * posix/posix-conf-vars.list: New file.
2633 * posix/posix-conf-vars.h: New file.
2634 * posix/confstr.c: Include posix-conf-vars.h.
2635 (confstr): Use CONF_IS_* macros.
2636 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2637 CONF_IS_* macros.
2638 * scripts/gen-posix-conf-vars.awk: New file.
2639
7c1395a7
CM
26402014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2641
0025b4cc
CM
2642 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2643 fegetround): Add no-op macros to avoid linknamespace issues.
2644
d8aaf74b
CM
2645 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2646 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2647
5d24aa60
CM
2648 * sysdeps/unix/sysv/linux/tile/sysdep.h
2649 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2650 assembly-specific section to avoid a redefinition warning.
2651
7c1395a7
CM
2652 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2653 long before casting to pointer to avoid a cast warning.
2654
3c87c616
CM
26552014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2656
2657 * sysdeps/tile/tilegx/Implies: New file.
2658
f559d8cf
RE
26592014-12-23 Richard Earnshaw <rearnsha@arm.com>
2660
2661 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2662
7d81e8d6
FW
26632014-12-23 Florian Weimer <fweimer@redhat.com>
2664
2665 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2666
90aa3d09
JM
26672014-12-22 Joseph Myers <joseph@codesourcery.com>
2668
2669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2670 not define.
2671 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2672 <kernel-features.h>.
2673 (__utimes) [__NR_utimes]: Make code unconditional.
2674 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2675 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2676 (__ASSUME_UTIMES): Do not undefine.
2677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2678 (__ASSUME_UTIMES): Likewise.
2679 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2680 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2681 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2682 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2683
4c0c0e2a
SE
26842014-12-22 Steve Ellcey <sellcey@imgtec.com>
2685
2686 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2687
0dacd7a3
CM
26882014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2689
b638f96a
CM
2690 [BZ #17747]
2691 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2692 alias to weak alias for j0l, y0l.
2693 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2694 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2695
0dacd7a3
CM
2696 [BZ #17746]
2697 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2698 conversion.
2699
528479c4
SE
27002014-12-22 Steve Ellcey <sellcey@imgtec.com>
2701
2702 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2703 to zero if not already defined.
2704
f56f9124
JM
27052014-12-22 Joseph Myers <joseph@codesourcery.com>
2706
2707 [BZ #17724]
2708 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2709 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2710 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2711 (char *) casts added.
2712 * sysdeps/ieee754/k_standardf.c: New file.
2713 * sysdeps/ieee754/k_standardl.c: Likewise.
2714 * math/Makefile (libm-support): Remove k_standard.
2715 (libm-calls): Add k_standard.
2716
8622d556
WD
27172014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2718
2719 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2720 Optimize to avoid an unnecessary FPCR read.
2721
f3806bdb
WD
27222014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2723
2724 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2725 Optimize to reduce FPCR/FPSR accesses.
2726
9b47df58
WD
27272014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2728
2729 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2730 Call libc_fetestexcept_aarch64.
2731
97be3cac
WD
27322014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2733
2734 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2735 Call libc_fesetround_aarch64.
2736
935ab817
JM
27372014-12-22 Joseph Myers <joseph@codesourcery.com>
2738
2739 [BZ #17733]
2740 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2741 (__bind): Do not define as weak alias.
2742 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2743 define.
2744 (__getsockname): Do not define as weak alias.
2745
cc8623f1
WN
27462014-12-22 Will Newton <will.newton@linaro.org>
2747
2748 * manual/install.texi: Document that we require bison 2.7
2749 or above.
2750 * INSTALL: Regenerate.
2751 * configure.ac: Use AC_CHECK_PROG_VER instead of
2752 AC_PATH_PROG when checking for bison and check for
2753 version 2.7 or above.
2754 * configure: Regenerate.
2755
a19ca65a
CM
27562014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2757
92901170 2758 [BZ #17745]
e969965a
CM
2759 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2760 * sysdeps/tile/ffsll.c (ffsll): To here.
2761
a19ca65a
CM
2762 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2763
050f7298
L
27642014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2767 if not defined.
2768 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2769 definition.
2770 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2771 hidden ___tls_get_addr.
2772 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2773 hidden __tls_get_addr.
2774 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2775 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2776 Likewise.
2777
6df5547e
AS
27782014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2779
2780 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2781 _dl_init call.
2782
7432d613
L
27832014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2786 from "call _dl_init@PLT".
2787 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2788
98fe149e
AK
27892014-12-21 Anders Kaseorg <andersk@mit.edu>
2790
2791 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2792 guarantees.
2793
d12455f5
CM
27942014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2795
2796 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2797
95dee05f
CM
27982014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2799
92901170 2800 [BZ #17744]
95dee05f
CM
2801 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2802 strnlen.
2803
2ef4b74a
SE
28042014-12-19 Steve Ellcey <sellcey@imgtec.com>
2805
2806 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2807 of multu on MIPSr6.
2808 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2809 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2810 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2811 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2812 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2813
28142014-12-19 Steve Ellcey <sellcey@imgtec.com>
2815
2816 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2817 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2818 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2819 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2820 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2821 mips32r6/mips64r6.
2822 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2823
3eb38795
OB
28242014-12-19 Ondřej Bílka <neleai@seznam.cz>
2825
2826 * string/strncat.c (STRNCAT): Simplify implementation.
2827
6d4188dd
DM
28282014-12-19 David S. Miller <davem@davemloft.net>
2829
0d4ba8be
DM
2830 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2831 access the quad as both a long double and as a series of 4 words.
2832
6d4188dd
DM
2833 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2834 link_map->l_info array access.
2835
4ef91cdc
CM
28362014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2837
804c54f7
CM
2838 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2839
4ef91cdc
CM
2840 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2841 * math/atest-exp2.c (TIMEOUT): Likewise.
2842 * math/atest-sincos.c (TIMEOUT): Likewise.
2843
afd176d6
L
28442014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2845
2846 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2847 -Wno-error with -fno-builtin-lround.
2848
a4a43a90
TR
28492014-12-19 Torvald Riegel <triegel@redhat.com>
2850
2851 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2852 Contains futex constants and functions moved over from ...
2853 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2854 <lowlevellock-futex.h>.
2855 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2856 (lll_timedwait_tid): Add comments and parentheses around macro
2857 arguments.
2858
76f71081
TR
28592014-12-19 Torvald Riegel <triegel@redhat.com>
2860
2861 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2862 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2863 (__lll_private_flag): Remove.
2864 (lll_futex_wait): Likewise.
2865 (lll_futex_timed_wait): Likewise.
2866 (lll_futex_wake): Likewise.
2867 (lll_futex_requeue): Likewise.
2868 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2869 (__lll_timedwait_tid): Spell out argument names.
2870 (lll_timedwait_tid): Add comments and parentheses around macro
2871 arguments.
2872 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2873 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2874
6b814909
TR
28752014-12-19 Torvald Riegel <triegel@redhat.com>
2876
2877 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2878 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2879 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2880 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2881 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2882 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2883 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2884 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2885 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2886 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2887 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2888 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2889 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2890 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2891 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2892 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2893 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2894 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2895 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2896
9cd4d4ab
L
28972014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 * sysdeps/x86_64/x32/Makefile: New file.
2900
c9c1a2d0
L
29012014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2902
2903 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2904 1L with (mp_limb_t) 1.
2905
af102d95
RM
29062014-12-17 Roland McGrath <roland@hack.frob.com>
2907
dd690454
RM
2908 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2909 * nptl/libc_pthread_init.c: ... here.
2910 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2911 * nptl/register-atfork.c: ... here.
2912
74eb826c
RM
2913 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2914 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2915 Use assert_perror to check its return value.
2916 (__gai_create_helper_thread): Likewise.
2917
c9ce306b
RM
2918 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2919
af102d95
RM
2920 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2921
8ac5a76a
JM
29222014-12-17 Joseph Myers <joseph@codesourcery.com>
2923
ea41469b
JM
2924 [BZ #17725]
2925 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2926 __profil_counter.
2927 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2928 Likewise.
2929 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2930 Likewise.
2931 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2932 Likewise.
2933 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2934 (profil_counter): Likewise.
2935 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2936 (profil_counter): Likewise.
2937 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2938 Likewise.
2939 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2940 Likewise.
2941 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2942 (profil_counter): Likewise.
2943 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2944 Likewise.
2945 [!__profil_counter] (profil_counter): Define as weak alias of
2946 __profil_counter.
2947 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2948 (profil_counter): Rename to __profil_counter.
2949 [!__profil_counter] (profil_counter): Define as weak alias of
2950 __profil_counter.
2951 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2952 (profil_counter): Rename to __profil_counter.
2953 [!__profil_counter] (profil_counter): Define as weak alias of
2954 __profil_counter.
2955 * sysdeps/posix/profil.c: Update comment referring to
2956 profil_counter.
2957 (__profil): Use __profil_counter instead of profil_counter.
2958 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2959 __profil_counter. Use __profil_counter_ushort and
2960 __profil_counter_uint in definitions.
2961 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2962 instead of profil_counter_uint and profil_counter_ushort.
2963
8ac5a76a
JM
2964 [BZ #17722]
2965 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2966 define as weak alias of __inet_makeaddr.
2967 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2968 as weak alias of __inet_addr.
2969 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2970 as weak alias of __inet_pton. Use libc_hidden_weak.
2971 * include/arpa/inet.h (__inet_pton): Declare. Use
2972 libc_hidden_proto.
2973 (inet_makeaddr): Don't use libc_hidden_proto.
2974 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2975 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2976 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2977 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2978 Remove variable.
2979 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2980 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2981
66ce3cb1
SE
29822014-12-17 Steve Ellcey <sellcey@imgtec.com>
2983
2984 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2985
d22ce01b
SL
29862014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2987
2988 * stdio-common/bug-vfprintf-nargs.c (do_test):
2989 Cast value to intptr_t to avoid format warning
2990 for usage with PRIdPTR printing macro.
2991
eca2772b
SL
29922014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2993
2994 * libio/tst-widetext.c (do_test):
2995 Use format type %td instead of %Zd for ptrdiff_t
2996 in order to avoid format warning.
2997
bdf079da
AS
29982014-12-17 Andreas Schwab <schwab@suse.de>
2999
3000 * nscd/mem.c (gc): Add size_t cast to match printf format.
3001
3eb5d2fc
RM
30022014-12-16 Roland McGrath <roland@hack.frob.com>
3003
3004 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3005 (init): Apply PTR_MANGLE to pointers before storing them.
3006 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3007 before using them.
3008
d003ada2
JM
30092014-12-16 Joseph Myers <joseph@codesourcery.com>
3010
380292ba
JM
3011 [BZ #17719]
3012 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3013 define as weak alias of __memrchr.
3014 (__memrchr): Do not define as strong alias of memrchr.
3015 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3016 Remove variable.
3017 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3018 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3019 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3020
9a44d530
JM
3021 [BZ #17717]
3022 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3023 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3024 (if_indextoname): Rename to __if_indextoname and define as weak
3025 alias of __if_indextoname. Use libc_hidden_weak.
3026 (if_freenameindex): Rename to __if_freenameindex and define as
3027 weak alias of __if_freenameindex.
3028 (if_nameindex): Rename to __if_nameindex and define as weak alias
3029 of __if_nameindex.
3030 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3031 __if_nametoindex and define as weak alias of __if_nametoindex.
3032 Use libc_hidden_weak.
3033 (if_freenameindex): Rename to __if_freenameindex and define as
3034 weak alias of __if_freenameindex.
3035 (if_nameindex): Rename to __if_nameindex and define as weak alias
3036 of __if_nameindex.
3037 (if_indextoname): Rename to __if_indextoname and define as weak
3038 alias of __if_indextoname. Use libc_hidden_weak.
3039 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3040 __if_nametoindex and define as weak alias of __if_nametoindex.
3041 Use libc_hidden_weak.
3042 (if_freenameindex): Rename to __if_freenameindex and define as
3043 weak alias of __if_freenameindex. Use libc_hidden_weak.
3044 (if_nameindex_netlink): Use __if_freenameindex instead of
3045 if_freenameindex.
3046 (if_nameindex): Rename to __if_nameindex and define as weak alias
3047 of __if_nameindex. Use libc_hidden_weak.
3048 (if_indextoname): Rename to __if_indextoname and define as weak
3049 alias of __if_indextoname. Use libc_hidden_weak.
3050 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3051 libc_hidden_proto.
3052 [!_ISOMAC] (__if_freenameindex): Likewise.
3053 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3054 if_nametoindex.
3055 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3056 variable.
3057 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3058 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3059 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3060 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3061 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3062 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3063 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3064
d003ada2
JM
3065 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3066 Remove variable.
3067 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3068 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3069
a0d424ef
SP
30702014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3071
0cd85520
SP
3072 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3073 subscript above bounds'
3074
a0d424ef
SP
3075 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3076 bounds.
3077
0e426475
AS
30782014-12-16 Arjun Shankar <arjun.is@lostca.se>
3079
8b460906
AS
3080 * libio/tst-fopenloc.c: Use test-skeleton.c.
3081
fa13e15b
AS
3082 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3083 (entry): Rename to ITEM.
3084 (do_test, comp): Adjust.
3085
0e426475
AS
3086 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3087
4f646bce
TR
30882014-12-16 Torvald Riegel <triegel@redhat.com>
3089
3090 * string/tester.c: Include <libc-internal.h>.
3091 (test_memset): Ignore -Wmemset-transposed-args.
3092
a07c4427
TR
30932014-12-16 Torvald Riegel <triegel@redhat.com>
3094
3095 * misc/tst-mntent2.c (do_test): Fix warning.
3096
1469f466
TR
30972014-12-16 Torvald Riegel <triegel@redhat.com>
3098
3099 * elf/tst-unique4lib.cc(a): Mark as used.
3100
11e3417a
FW
31012014-12-16 Florian Weimer <fweimer@redhat.com>
3102
3103 [BZ #17630]
3104 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3105 names.
3106
ae61fc7b
AM
31072014-12-16 Allan McRae <allan@archlinux.org>
3108
3109 * stdio-common/Makefile (tests): Re-add bug26.
3110
363a9899
OB
31112014-12-15 Ondřej Bílka <neleai@seznam.cz>
3112
3113 [BZ #17657]
3114 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3115 static array.
3116
d52c62df
TR
31172014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3118
3119 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3120 (__lll_lock_wait): Likewise.
3121 (__lll_timedlock_wait): Likewise.
3122 (__lll_timedwait_tid): Likewise.
3123 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3124 (__lll_robust_timedlock_wait): Likewise.
3125 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3126 (lll_cond_trylock): Likewise.
3127 (__lll_lock): Likewise.
3128 (__lll_robust_lock): Likewise.
3129 (__lll_cond_lock): Likewise.
3130 (lll_robust_cond_lock): Likewise.
3131 (__lll_timedlock): Likewise.
3132 (__lll_robust_timedlock): Likewise.
3133 (__lll_unlock): Likewise.
3134 (__lll_robust_unlock): Likewise.
3135 (lll_wait_tid): Likewise.
3136 (lll_timedwait_tid): Likewise.
3137
045a6bcd
TR
31382014-12-15 Torvald Riegel <triegel@redhat.com>
3139
3140 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3141
7f786dc1
TR
31422014-12-15 Torvald Riegel <triegel@redhat.com>
3143
3144 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3145
e7e21cba
AZ
31462014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3147
3148 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3149 * stdio-common/tst-sprintf.c: Likewise.
3150
bc89c0fc
TR
31512014-12-15 Torvald Riegel <triegel@redhat.com>
3152
3153 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3154
a5357b7c
JL
31552014-12-15 Jeff Law <law@redhat.com>
3156
3157 [BZ #16617]
3158 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3159 on the heap. (CVE-2012-3406)
3160 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3161 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3162 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3163
3a12c70f
WN
31642014-12-15 Will Newton <will.newton@linaro.org>
3165
3166 * manual/install.texi: Bump required version of texinfo
3167 to 4.7 from 4.5.
3168 * INSTALL: Regenerated.
3169 * configure.ac: Check for makeinfo version 4.7 and above.
3170 * configure: Regenerated.
3171
e4f639e4
RM
31722014-12-12 Roland McGrath <roland@hack.frob.com>
3173
3174 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3175 PREFIX, string constant to insert between directory and name.
3176 * sysdeps/posix/shm_open.c: Update caller.
3177 * sysdeps/posix/shm_unlink.c: Likewise.
3178 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3179 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3180 (SEM_SHM_PREFIX): New macro.
3181 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3182 [$(have-thread-library) = no].
3183 * nptl/Makefile (libpthread-routines): Add shm-directory.
3184 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3185 * sysdeps/nptl/shm-directory.h: New file.
3186 * sysdeps/posix/shm-directory.c
3187 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3188 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3189 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3190 INTERNAL_SYSCALL.
3191 (__where_is_shmfs): Function removed.
3192 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3193 Variables removed.
3194 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3195 Use SHM_GET_NAME.
3196 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3197
3198 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3199 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3200 unconditional for use inside libpthread.
3201 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3202
439c43f6
RM
32032014-12-12 Roland McGrath <roland@hack.frob.com>
3204
c76d1ff5
RM
3205 * nptl/pthread_getaffinity.c: New file.
3206 * nptl/pthread_setaffinity.c: New file.
3207 * nptl/pthread_getname.c: New file.
3208 * nptl/pthread_setname.c: New file.
3209
439c43f6
RM
3210 * nptl/pthread_create.c (START_THREAD_DEFN)
3211 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3212
48e435cd
SL
32132014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3214 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3215
3216 * resolv/res_send.c (send_vc): Disable warning resplen may
3217 be used uninitialized.
3218
9d9c0019
SL
32192014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3220
3221 * nptl/tst-mutex6.c
3222 (ATTR_NULL): New define checks ATTR against NULL.
3223 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3224 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3225
9173840b
JL
32262014-12-11 James Lemke <jwlemke@codesourcery.com>
3227
3228 [BZ #17581]
3229 * malloc/hooks.c
3230 (mem2mem_check): Revert my previous change.
3231 (malloc_check_get_size): Revert my previous change.
3232 (mem2chunk_check): Revert my previous change.
3233
78e21c5d
RM
32342014-12-11 Roland McGrath <roland@hack.frob.com>
3235
3236 * sysdeps/posix/shm-directory.c: New file.
3237 * sysdeps/posix/shm-directory.h: New file.
3238 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3239 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3240 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3241 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3242 Transmute EPERM to EACCES.
3243 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3244 from ...
3245 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3246 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3247
f82c43af
KK
32482014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3249
3250 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3251 pointer and cast to uintptr_t.
3252 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3253 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3254 Add cast to avoid warning.
3255 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3256
fc00cf7b
JM
32572014-12-11 Joseph Myers <joseph@codesourcery.com>
3258
3259 * nptl/semaphore.h: Move to ...
3260 * sysdeps/pthread/semaphore.h: ... here.
3261 * Makefile (installed-headers): Change nptl/semaphore.h to
3262 sysdeps/pthread/semaphore.h.
3263
1c4053db
RM
32642014-12-11 Roland McGrath <roland@hack.frob.com>
3265
73b0c1a1
RM
3266 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3267 generated error format strings.
3268
1c4053db
RM
3269 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3270 -Wformat-extra-args warnings for scanf formats.
3271 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3272 test of zero-length format (duh).
3273 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3274 corner-case scanf format test.
3275 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3276 generated fprintf format string.
3277 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3278 corner-case sprintf format tests.
3279 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3280 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3281 -Wformat-extra-args warnings throughout.
3282 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3283 (CFLAGS-scanf4.c): Likewise.
3284 (CFLAGS-scanf7.c): Likewise.
3285 (CFLAGS-tst-sprintf.c): Likewise.
3286 (CFLAGS-tst-printf.c): Likewise.
3287 (CFLAGS-tst-printfsz.c): Likewise.
3288
47d51f4f
JM
32892014-12-11 Joseph Myers <joseph@codesourcery.com>
3290
a1edbf3c
JM
3291 * include/cpio.h: New file.
3292 * include/fmtmsg.h: Likewise.
3293
47d51f4f
JM
3294 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3295 corresponding format argument to size_t.
3296 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3297 arguments.
3298 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3299 corresponding format argument to size_t.
3300 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3301 arguments.
3302 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3303 corresponding format argument to size_t.
3304 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3305 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3306 (CFLAGS-tst-mbswcs2.c): Likewise.
3307 (CFLAGS-tst-mbswcs3.c): Likewise.
3308 (CFLAGS-tst-mbswcs4.c): Likewise.
3309 (CFLAGS-tst-mbswcs5.c): Likewise.
3310 (CFLAGS-tst-trans.c): Likewise
3311
e9813cfb
RM
33122014-12-11 Roland McGrath <roland@hack.frob.com>
3313
3314 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3315 rather than assuming they won't contain any '%'s.
3316
f627ca82
CM
33172014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3318
3319 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3320 inhibit_loop_to_libcall to avoid recursive calls.
3321 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3322 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3323
7f296942
AZ
33242014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3325
3326 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3327 prototype.
3328
d0276e18
SE
33292014-12-11 Steve Ellcey <sellcey@imgtec.com>
3330
3331 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3332 integer value instead of boolean.
3333
fc56e970
SE
33342014-12-11 Steve Ellcey <sellcey@imgtec.com>
3335
3336 * malloc/malloc.c: Fix powerof2 check.
3337
40e53917
SL
33382014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3339
3340 * locale/programs/locfile.h (maybe_swap_uint32):
3341 Remove inline and add unused attribute.
3342
1ea166df
SL
33432014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3344
9d9c0019 3345 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3346 Truncating assembler expression to a .long expression.
3347
acf869f4
AS
33482014-12-11 Andreas Schwab <schwab@suse.de>
3349
3350 * elf/rtld.c (struct map_args): Constify str member.
3351 (do_preload): Constify fname argument.
3352
9d969099
AZ
33532014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3354
3355 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3356 constants definition.
3357
da5bcaa4
AS
33582014-12-11 Andreas Schwab <schwab@suse.de>
3359
b0a3c164
AS
3360 [BZ #16657]
3361 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3362 FORCE_ELISION instead of DO_ELISION.
3363 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3364 Remove.
3365 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3366 Likewise.
3367
da5bcaa4
AS
3368 * iconvdata/gconv-modules: Remove duplicate entry.
3369
6d248857
WN
33702014-12-11 Will Newton <will.newton@linaro.org>
3371
3372 Merge gettext 0.19.3 into intl/.
3373
3374 This involves a number of cosmetic changes to comments
3375 and ANSI function definitions and prototypes throughout
3376 all the files. The gettext copyright header is used but
3377 with the date ranges taken from the glibc copy.
3378
3379 * NEWS: Add gettext merge to 2.21.
3380 * intl/bindtextdom.c: Switch to gettext copyright.
3381 Use ANSI definitions and prototypes.
3382 Use gl_* locking primitives rather than __libc_* ones.
3383 Use __builtin_expect rather than __glibc_likely/unlikely.
3384 * intl/dcgettext.c: Switch to gettext copyright.
3385 Use ANSI definitions and prototypes.
3386 * intl/dcigettext.c: Switch to gettext copyright.
3387 Use ANSI definitions and prototypes.
3388 (INTDIV0_RAISES_SIGFPE): New define.
3389 Use gl_* locking primitives rather than __libc_* ones.
3390 Include eval-plural.h instead of plural-eval.c.
3391 Use __builtin_expect rather than __glibc_likely/unlikely.
3392 * intl/dcngettext.c: Switch to gettext copyright.
3393 Use ANSI definitions and prototypes.
3394 * intl/dgettext.c: Likewise.
3395 * intl/dngettext.c: Likewise.
3396 * intl/plural-eval.c: Renamed to...
3397 * intl/eval-plural.h: ...this.
3398 * intl/explodename.c: Switch to gettext copyright.
3399 Use ANSI definitions and prototypes.
3400 (_nl_explode_name): Use strchr instead of __rawmemchr.
3401 * intl/finddomain.c: Switch to gettext copyright.
3402 Use ANSI definitions and prototypes.
3403 Use gl_* locking primitives rather than __libc_* ones.
3404 (_nl_find_domain): Use malloc rather than alloca for
3405 allocation of temporary locale name.
3406 * intl/gettext.c: Switch to gettext copyright.
3407 Use ANSI definitions and prototypes.
3408 * intl/gettextP.h: Switch to gettext copyright.
3409 Use ANSI definitions and prototypes.
3410 Use gl_* locking primitives rather than __libc_* ones.
3411 * intl/gmo.h: Switch to gettext copyright.
3412 (struct sysdep_string): Move struct segment_pair outside of
3413 struct definition.
3414 * intl/hash-string.c: Use ANSI definitions and prototypes.
3415 * intl/hash-string.h: Switch to gettext copyright.
3416 Use ANSI definitions and prototypes.
3417 * intl/l10nflist.c: Switch to gettext copyright.
3418 Use ANSI definitions and prototypes.
3419 (_nl_normalize_codeset): Avoid integer overflow.
3420 * intl/loadinfo.h: Switch to gettext copyright.
3421 Use ANSI definitions and prototypes.
3422 (LIBINTL_DLL_EXPORTED): New define.
3423 (PATH_SEPARATOR): New define.
3424 * intl/loadmsgcat.c: Switch to gettext copyright.
3425 * intl/localealias.c: Switch to gettext copyright.
3426 Use ANSI definitions and prototypes.
3427 (_nl_expand_alias): Use PATH_SEPARATOR.
3428 * intl/ngettext.c: Switch to gettext copyright.
3429 Use ANSI definitions and prototypes.
3430 * intl/plural-exp.c: Likewise.
3431 * intl/plural-exp.h: Switch to gettext copyright.
3432 Use ANSI definitions and prototypes.
3433 (struct expression): Move definition of enum operator outside
3434 of struct definition.
3435 * intl/plural.c: Regenerate.
3436 * intl/plural.y: Switch to gettext copyright.
3437 Use ANSI definitions and prototypes.
3438 Port to bison 3.0.
3439 * intl/textdomain.c: Switch to gettext copyright.
3440 Use ANSI definitions and prototypes.
3441 Use gl_* locking primitives rather than __libc_* ones.
3442
48c43298
SE
34432014-12-10 Steve Ellcey <sellcey@imgtec.com>
3444
3445 * debug/warning-nop.c: Add used atrribute.
3446
2b89bce9
JM
34472014-12-10 Joseph Myers <joseph@codesourcery.com>
3448
c153ac9f
JM
3449 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3450
2b89bce9
JM
3451 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3452 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3453 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3454
2cfbdb9a
JM
34552014-12-10 Joseph Myers <joseph@codesourcery.com>
3456 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3457
3458 [BZ #17634]
3459 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3460 Undefine after defining function. Define as weak alias of
3461 __wcschr. Use libc_hidden_weak.
3462 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3463 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3464 (libc_hidden_def): Also define __GI___wcschr alias.
3465 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3466 __wcschr and define as weak alias of __wcschr.
3467 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3468 __wcschr.
3469 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3470 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3471 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3472 libc_hidden_weak. Do not use libc_hidden_def.
3473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3474 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3475 __GI___wcschr alias.
3476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3477 [IS_IN (libc)] (wcschr): Define as macro expanding to
3478 __redirect_wcschr.
3479 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3480 [IS_IN (libc)] (__wcschr_power6): Likewise.
3481 [IS_IN (libc)] (__wcschr_power7): Likewise.
3482 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3483 instead of wcschr.
3484 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3485 __libc_wcschr.
3486 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3487 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3488 __wcschr and define as weak alias of __wcschr. Use
3489 libc_hidden_builtin_def.
3490 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3491 as weak alias of __wcschr. Use libc_hidden_weak.
3492 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3493 wcschr.
3494 * time/era.c (_nl_init_era_entries): Likewise.
3495 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3496 variable.
3497 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3498 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3499
1b8bf351
JM
35002014-12-10 Joseph Myers <joseph@codesourcery.com>
3501
3502 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3503 format for long int variable.
3504
f5f46d51
AK
35052014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3506
3507 [BZ #10672]
07008f7d 3508 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3509 qsort stable.
3510
217a74a8
AS
35112014-12-10 Andreas Schwab <schwab@suse.de>
3512
3513 [BZ #12847]
3514 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3515 user-controlled locks.
3516
aa76a5c7
RE
35172014-12-10 Richard Earnshaw <rearnsha@arm.com>
3518
3519 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3520 register.
3521
2084e7ca
JM
35222014-12-10 Joseph Myers <joseph@codesourcery.com>
3523
a4ecc9eb
JM
3524 * configure.ac (--disable-werror): New configure option.
3525 (enable_werror): New AC_SUBST.
3526 * configure: Regenerated.
3527 * config.make.in (enable-werror): New variable.
3528 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3529 -Wno-error=undef.
3530 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3531 * manual/install.texi (Configuring and compiling): Document
3532 --disable-werror.
3533 * INSTALL: Regenerated.
3534 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3535 (CFLAGS-tst-chk2.c): Likewise.
3536 (CFLAGS-tst-chk3.c): Likewise.
3537 (CFLAGS-tst-chk4.cc): Likewise.
3538 (CFLAGS-tst-chk5.cc): Likewise.
3539 (CFLAGS-tst-chk6.cc): Likewise.
3540 (CFLAGS-tst-lfschk1.c): Likewise.
3541 (CFLAGS-tst-lfschk2.c): Likewise.
3542 (CFLAGS-tst-lfschk3.c): Likewise.
3543 (CFLAGS-tst-lfschk4.cc): Likewise.
3544 (CFLAGS-tst-lfschk5.cc): Likewise.
3545 (CFLAGS-tst-lfschk6.cc): Likewise.
3546
0f88636c
JM
3547 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3548 (main): Disable -Wdeprecated-declarations around calls to
3549 register_printf_function.
3550
c81e9deb
JM
3551 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3552 (do_test): Disable -Wdiv-by-zero around some calls to
3553 fwrite_unlocked and fread_unlocked.
3554
2084e7ca
JM
3555 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3556 (DIAG_POP_NEEDS_COMMENT): Likewise.
3557 (_DIAG_STR1): Likewise.
3558 (_DIAG_STR): Likewise.
3559 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3560 * stdio-common/bug21.c: Include <libc-internal.h>.
3561 (do_test): Disable -Wformat around call to sscanf.
3562 * stdio-common/scanf14.c: Include <libc-internal.h>.
3563 (main): Disable -Wformat around some calls to scanf functions.
3564
df7ecc6b
TR
35652014-12-09 Torvald Riegel <triegel@redhat.com>
3566
3567 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3568
2aa3862e
AZ
35692014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3570
3571 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3572 stack variable alignment.
3573
c5c2b7c3
JM
35742014-12-06 Joseph Myers <joseph@codesourcery.com>
3575
3576 [BZ #17682]
3577 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3578 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3579 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3580 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3581 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3582 __getrlimit instead of getrlimit.
3583 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3584 __gettimeofday instead of gettimeofday.
3585 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3586 Likewise.
3587 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3588 Likewise.
3589 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3590 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3591 Remove variable.
3592 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3593 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3594
9752c3cd
AZ
35952014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3596
3597 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3598 for wide-character tests.
3599
4bee4cd9
RM
36002014-12-04 Roland McGrath <roland@hack.frob.com>
3601
3602 * io/openat64.c: #include <libc-internal.h>
3603 (__openat64): Prototypify. Use ignore_value on MODE.
3604 * io/openat.c: Likewise.
3605 * misc/reboot.c: #include <libc-internal.h>
3606 (reboot): Prototypify. Use ignore_value on HOWTO.
3607 * misc/ptrace.c: #include <libc-internal.h>
3608 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3609
84dbedb6
JM
36102014-12-04 Joseph Myers <joseph@codesourcery.com>
3611
3612 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3613 XPG4, UNIX98 and XOPEN2K.
3614 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3615 Remove variable.
3616 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3617
b7a3e1c4 36182014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3619
af50dfc1 3620 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3621 * libio/iofopen.c: Likewise.
3622 * libio/wfileops.c: Likewise.
3623
fe8b4d98
SP
3624 [BZ #17653]
3625 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3626 offset on EOF.
3627 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3628 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3629 (fgets_func): Function pointer to fgets and fgetws.
3630 (do_ftell_test): Add test to verify ftell value after read
3631 EOF.
3632 (do_test): Set fgets_func.
3633
61b4f792
SP
3634 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3635 O_TRUNC flag for w and w+ modes.
3636 (do_rewind_test): Likewise.
3637 (do_ftell_test): Likewise.
3638 (do_write_test): Likewise.
3639
be349d70
SP
3640 [BZ #17647]
3641 * libio/fileops.c (do_ftell): Seek only when there are
3642 unflushed writes.
3643 * libio/wfileops.c (do_ftell_wide): Likewise.
3644 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3645 test case.
3646 (do_one_test): Call it.
3647
e3d6dba5
JM
36482014-12-03 Joseph Myers <joseph@codesourcery.com>
3649
3650 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3651 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3652 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3653 Remove variable.
3654 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3655 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3656 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3657
7f994279
JM
36582014-12-02 Joseph Myers <joseph@codesourcery.com>
3659
28a91e8f
JM
3660 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3661 Remove variable.
3662 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3663
7f994279
JM
3664 [BZ #17668]
3665 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3666 as weak alias of __getifaddrs. Use libc_hidden_weak.
3667 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3668 __freeifaddrs. Use libc_hidden_weak.
3669 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3670 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3671 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3672 __freeifaddrs. Use libc_hidden_weak.
3673 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3674 __getifaddrs and define as weak alias of __getifaddrs. Use
3675 libc_hidden_weak.
3676 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3677 __freeifaddrs. Use libc_hidden_weak.
3678 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3679 Remove variable.
3680 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3681 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3682
bbe4c142
PJ
36832014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3684
3685 [BZ #17601]
3686 * sysdeps/mips/start.S (__start): Use indirect jump to call
3687 __libc_start_main.
3688
66cadc05
JM
36892014-12-02 Joseph Myers <joseph@codesourcery.com>
3690
909e16d9
JM
3691 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3692
4e0b9016
JM
3693 * nptl/tst-mutex1.c: Include <stdbool.h>.
3694 [!ATTR] (ATTR_NULL): New macro.
3695 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3696 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3697 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3698
b1aff6a4
JM
3699 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3700 to char *.
3701
266865c0
JM
3702 [BZ #17665]
3703 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3704 Change conditional to [__USE_MISC].
3705
84e5e756
JM
3706 [BZ #17664]
3707 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3708 fgets_unlocked.
3709 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3710 __fgets_unlocked.
3711 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3712 fgets_unlocked.
3713 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3714 Remove variable.
3715 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3716 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3717 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3718 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3719 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3720 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3721 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3722 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3723 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3724
66cadc05
JM
3725 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3726
2e8a2de2 37272014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3728
3729 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3730 Remove strpbrk objects.
3731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3732 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3733 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3734 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3735 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3736 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3737
bb2542e0
AZ
3738 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3739 Remove strcspn objects.
3740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3741 (__libc_ifunc_impl_list): Remove strcspn implementation.
3742 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3743 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3744 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3745 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3746
3747 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3748 Remove strspn objetcs.
3749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3750 (__libc_ifunc_impl_list): Remove strspn implementation.
3751 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3752 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3753 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3754 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3755
08f1e1d2
JL
37562014-12-01 James Lemke <jwlemke@codesourcery.com>
3757
3758 [BZ #17581]
3759 * malloc/hooks.c
3760 (mem2mem_check): Add a terminator to the chain of checking blocks.
3761 (malloc_check_get_size): Use it here.
3762 (mem2chunk_check): Ditto.
3763
a8a7d7d2
RS
37642014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3765
3766 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3767 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3768
97114a38
CD
37692014-11-29 Carlos O'Donell <carlos@redhat.com>
3770
c8dc1727
CD
3771 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3772
6d03458e
CD
3773 * nptl/nptl-init.c: Include libc-internal.h.
3774 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3775
97114a38
CD
3776 * elf/ldconfig.c (search_dir): Expand comment.
3777
0e7e69ba
JM
37782014-11-29 Joseph Myers <joseph@codesourcery.com>
3779
3780 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3781 variable.
3782 (linknamespace-symlist-stdlibs-tests): Likewise.
3783 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3784 instead of $(objpfx)symlist-stdlibs.
3785 (linknamespace-libs-isoc): New variable.
3786 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3787 (linknamespace-libs-ISO): New variable.
3788 (linknamespace-libs-ISO99): Likewise.
3789 (linknamespace-libs-ISO11): Likewise.
3790 (linknamespace-libs-XPG3): Likewise.
3791 (linknamespace-libs-XPG4): Likewise.
3792 (linknamespace-libs-POSIX): Likewise.
3793 (linknamespace-libs-UNIX98): Likewise.
3794 (linknamespace-libs-XOPEN2K): Likewise.
3795 (linknamespace-libs-POSIX2008): Likewise.
3796 (linknamespace-libs-XOPEN2K8): Likewise.
3797 ($(objpfx)symlist-stdlibs): Replace by
3798 $(linknamespace-symlist-stdlibs-tests). Use
3799 $(linknamespace-libs-$*) as set of libraries.
3800 ($(linknamespace-header-tests)): Update dependencies. Use
3801 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3802 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3803 * conform/linknamespace.pl: Remove comment about considering
3804 definitions of symbols from irrelevant libraries.
3805
d8dd0080
L
38062014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 [BZ #13862]
3809 * elf/dl-tls.c: Include <atomic.h>.
3810 (oom): Remove #ifdef SHARED/#endif.
3811 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3812 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3813 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3814 big enough.
3815 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3816 * nptl/Makefile (tests): Add tst-stack4.
3817 (modules-names): Add tst-stack4mod.
3818 ($(objpfx)tst-stack4): New.
3819 (tst-stack4mod.sos): Likewise.
3820 ($(objpfx)tst-stack4.out): Likewise.
3821 ($(tst-stack4mod.sos)): Likewise.
3822 (clean): Likewise.
3823 * nptl/tst-stack4.c: New file.
3824 * nptl/tst-stack4mod.c: Likewise.
3825
167da422
B
38262014-11-27 J. Brown <jb999@gmx.de>
3827
3828 * sysdeps/x86/bits/string.h: Add recent CPUs.
3829
9114625b
JM
38302014-11-27 Joseph Myers <joseph@codesourcery.com>
3831
6b5189eb
JM
3832 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3833 sigblock.
3834
49051f8e
JM
3835 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3836 feof.
3837
9114625b
JM
3838 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3839 variable.
3840
e7300fef
SL
38412014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3842
3843 * nscd/connections.c: Include libc-internal.h because of macro
3844 usage ignore_value.
3845
1721f0a4
SP
38462014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3847
3848 * string/bits/string3.h (__warn_memset_zero_len): Don't
3849 declare for gcc newer than 5.0.
3850 (memset): Don't test for zero-length __LEN for gcc newer than
3851 5.0.
3852
be970916
JM
38532014-11-27 Joseph Myers <joseph@codesourcery.com>
3854
d88548f4
JM
3855 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3856 size_t for %zu format.
3857
be970916
JM
3858 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3859 difference, not %ju.
3860
3b20fd5c
JM
38612014-11-26 Joseph Myers <joseph@codesourcery.com>
3862
8915eace
JM
3863 * include/libc-internal.h (ignore_value): New macro.
3864 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3865 with ignore_value.
3866
f1a5a0e3
JM
3867 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3868 definition.
3869
59ef1715
JM
3870 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3871 pthread_cleanup_push to void *.
3872
a6f3079b
JM
3873 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3874 Undefine.
3875
706688aa
JM
3876 [BZ #16619]
3877 [BZ #16740]
3878 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3879 instead of 1L << 52.
3880
12da14a5
JM
3881 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3882 * libio/bug-rewind2.c (do_test): Likewise.
3883
bd5dadac
JM
3884 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3885 * debug/test-strcpy_chk-ifunc.c: Likewise.
3886 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3887 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3888 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3889 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3890 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3891 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3892 * Rules [$(multi-arch) = no] (tests): Do not filter out
3893 $(tests-ifunc).
3894 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3895 * debug/Makefile (tests-ifunc): Remove variable.
3896 (tests): Do not add $(tests-ifunc).
3897 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3898 (tests): Do not add $(tests-ifunc).
3899 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3900 [TEST_IFUNC]: Remove conditionals.
3901 * string/test-string.h (TEST_IFUNC): Remove macro.
3902 [TEST_IFUNC]: Remove conditionals.
3903
3b20fd5c
JM
3904 * string/test-strchr.c [!WIDE] (L): New macro.
3905 [WIDE] (L): Likewise.
3906 (check1): Use CHAR instead of char. Use L on string and character
3907 constants.
3908
704f7947
AZ
39092014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3910
3911 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3912 tests.
3913 * sysdeps/powerpc/bits/atomic.h
3914 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3915 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3916 (atomic_exchange_and_add_acq): Likewise.
3917 (atomic_exchange_and_add_rel): Likewise.
3918 * sysdeps/powerpc/powerpc32/bits/atomic.h
3919 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3920 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3921 * sysdeps/powerpc/powerpc64/bits/atomic.h
3922 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3923 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3924
cdcb42d7
TR
39252014-11-26 Torvald Riegel <triegel@redhat.com>
3926
3927 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3928 Change synchronization of __sched_fifo_min_prio and
3929 __sched_fifo_max_prio.
3930 * nptl/pthread_mutexattr_getprioceiling.c
3931 (pthread_mutexattr_getprioceiling): Likewise.
3932 * nptl/pthread_mutexattr_setprioceiling.c
3933 (pthread_mutexattr_setprioceiling): Likewise.
3934 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3935 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3936 Likewise.
3937
c82f5c0c
JM
39382014-11-26 Joseph Myers <joseph@codesourcery.com>
3939
3940 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3941 void.
3942
439e1ad6
JM
39432014-11-25 Joseph Myers <joseph@codesourcery.com>
3944
3945 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3946 third argument const.
3947
b1eda10e
PE
39482014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3949
3950 fnmatch: work around GCC compiler warning bug with uninit var
3951 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3952 This works around a bug with x86-64 GCC 4.9.2 and earlier
3953 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3954 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3955 used uninitialized in this function [-Wmaybe-uninitialized]".
3956
bde2667a
JM
39572014-11-25 Joseph Myers <joseph@codesourcery.com>
3958
3959 * posix/bug-regex31.c (main): Return RES not 0.
3960
5fbb5691
AB
39612014-11-25 Anton Blanchard <anton@samba.org>
3962
3963 * sysdeps/powerpc/bits/atomic.h
3964 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3965
467fec0b
BM
39662014-11-24 Sterling Augustine <saugustine@google.com>
3967
3968 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3969
e9ff8efb
RC
39702014-11-24 Ryan Cumming <etaoins@gmail.com>
3971
3972 [BZ #17608]
3973 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3974
9744496f
JM
39752014-11-24 Joseph Myers <joseph@codesourcery.com>
3976
3977 [BZ #17633]
3978 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3979 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3980 variable.
3981 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3982 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3983
6423d475
WD
39842014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3985
3986 * string/strncpy.c (strncpy): Improve performance by using memset.
3987
39882014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3989
3990 * string/strcpy.c (strcpy):
3991 Improve performance by using strlen and memcpy.
3992
5d178c37
LH
39932014-11-24 Leonhard Holz <leonhard.holz@web.de>
3994
3995 * string/strcoll_l.c (get_next_seq): __always_inline.
3996 * string/strcoll_l.c (do_compare): __always_inline.
3997
279bc5b3
SP
39982014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3999
7a9ebfa1
SP
4000 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4001 defined.
4002 * include/mqueue.h: Likewise.
4003 * include/stdlib.h: Likewise.
4004
4f41c682
SP
4005 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4006 (get_null_defines): Adjust.
4007 * sunrpc/Makefile: Adjust comment.
4008 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4009 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4010 (CFLAGS-interp.c): Likewise.
4011 (CFLAGS-ldconfig.c): Likewise.
4012 (CPPFLAGS-.os): Likewise.
4013 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4014 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4015 * extra-modules.mk (extra-modules.mk): Likewise.
4016 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4017 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4018 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4019 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4020 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4021 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4022 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4023 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4024 * iconvdata/Makefile (CPPFLAGS): Likewise.
4025 (cpp-srcs-left): Add libof for all iconvdata routines.
4026 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4027 * include/assert.h: Likewise.
4028 * include/ctype.h: Likewise.
4029 * include/errno.h: Likewise.
4030 * include/libc-symbols.h: Likewise.
4031 * include/math.h: Likewise.
4032 * include/netdb.h: Likewise.
4033 * include/resolv.h: Likewise.
4034 * include/stdio.h: Likewise.
4035 * include/stdlib.h: Likewise.
4036 * include/string.h: Likewise.
4037 * include/sys/stat.h: Likewise.
4038 * include/wctype.h: Likewise.
4039 * intl/l10nflist.c: Likewise.
4040 * libidn/idn-stub.c: Likewise.
4041 * libio/libioP.h: Likewise.
4042 * nptl/libc_multiple_threads.c: Likewise.
4043 * nptl/pthreadP.h: Likewise.
4044 * posix/regex_internal.h: Likewise.
4045 * resolv/res_hconf.c: Likewise.
4046 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4047 * sysdeps/arm/memmove.S: Likewise.
4048 * sysdeps/arm/sysdep.h: Likewise.
4049 * sysdeps/generic/_itoa.h: Likewise.
4050 * sysdeps/generic/symbol-hacks.h: Likewise.
4051 * sysdeps/gnu/errlist.awk: Likewise.
4052 * sysdeps/gnu/errlist.c: Likewise.
4053 * sysdeps/i386/i586/memcpy.S: Likewise.
4054 * sysdeps/i386/i586/memset.S: Likewise.
4055 * sysdeps/i386/i686/memcpy.S: Likewise.
4056 * sysdeps/i386/i686/memmove.S: Likewise.
4057 * sysdeps/i386/i686/mempcpy.S: Likewise.
4058 * sysdeps/i386/i686/memset.S: Likewise.
4059 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4060 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4061 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4062 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4063 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4065 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4067 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4068 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4069 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4070 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4071 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4072 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4073 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4074 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4075 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4076 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4077 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4078 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4085 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4088 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4095 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4096 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4099 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4100 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4102 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4103 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4104 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4105 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4106 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4107 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4108 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4110 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4111 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4112 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4113 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4114 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4115 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4116 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4117 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4118 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4119 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4120 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4121 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4122 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4123 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4124 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4125 * sysdeps/posix/closedir.c: Likewise.
4126 * sysdeps/posix/opendir.c: Likewise.
4127 * sysdeps/posix/readdir.c: Likewise.
4128 * sysdeps/posix/rewinddir.c: Likewise.
4129 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4130 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4131 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4132 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4133 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4135 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4140 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4141 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4142 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4143 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4144 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4145 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4146 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4149 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4150 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4151 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4152 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4157 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4164 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4165 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4166 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4167 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4168 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4169 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4170 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4171 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4173 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4174 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4175 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4176 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4177 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4178 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4179 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4180 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4181 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4182 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4183 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4184 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4185 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4186 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4187 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4188 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4189 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4190 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4191 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4192 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4193 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4194 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4195 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4196 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4197 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4198 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4199 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4200 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4201 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4202 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4203 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4204 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4205 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4206 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4207 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4208 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4209 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4210 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4211 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4212 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4213 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4215 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4216 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4217 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4219 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4220 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4221 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4225 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4227 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4228 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4229 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4230 * sysdeps/unix/alpha/sysdep.S: Likewise.
4231 * sysdeps/unix/alpha/sysdep.h: Likewise.
4232 * sysdeps/unix/make-syscalls.sh: Likewise.
4233 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4234 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4236 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4237 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4238 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4239 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4240 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4241 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4242 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4243 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4244 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4246 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4247 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4248 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4249 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4250 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4251 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4252 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4253 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4254 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4255 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4256 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4257 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4258 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4262 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4263 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4264 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4267 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4271 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4272 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4273 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4274 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4275 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4276 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4280 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4283 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4284 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4285 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4286 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4287 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4288 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4289 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4291 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4292 * sysdeps/x86_64/memcpy.S: Likewise.
4293 * sysdeps/x86_64/memmove.c: Likewise.
4294 * sysdeps/x86_64/memset.S: Likewise.
4295 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4296 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4297 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4298 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4299 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4302 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4304 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4305 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4306 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4307 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4310 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4311 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4312 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4313 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4315 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4316 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4319 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4320 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4321 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4322 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4324 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4325 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4326 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4327 * sysdeps/x86_64/strcmp.S: Likewise.
4328
76ca86a5
SP
4329 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4330
a3848485
SP
4331 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4332 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4333 * elf/rtld-Rules: Likewise.
4334 * elf/setup-vdso.h: Likewise.
4335 * include/assert.h: Likewise.
4336 * include/bits/stdlib-float.h: Likewise.
4337 * include/errno.h: Likewise.
4338 * include/sys/stat.h: Likewise.
4339 * include/unistd.h: Likewise.
4340 * sysdeps/aarch64/setjmp.S: Likewise.
4341 * sysdeps/alpha/setjmp.S: Likewise.
4342 * sysdeps/arm/__longjmp.S: Likewise.
4343 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4344 * sysdeps/arm/setjmp.S: Likewise.
4345 * sysdeps/arm/sysdep.h: Likewise.
4346 * sysdeps/generic/_itoa.h: Likewise.
4347 * sysdeps/generic/dl-sysdep.h: Likewise.
4348 * sysdeps/generic/ldsodefs.h: Likewise.
4349 * sysdeps/i386/dl-tls.h: Likewise.
4350 * sysdeps/i386/setjmp.S: Likewise.
4351 * sysdeps/m68k/setjmp.c: Likewise.
4352 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4353 * sysdeps/mach/hurd/opendir.c: Likewise.
4354 * sysdeps/posix/getcwd.c: Likewise.
4355 * sysdeps/posix/opendir.c: Likewise.
4356 * sysdeps/posix/profil.c: Likewise.
4357 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4358 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4359 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4360 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4361 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4362 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4363 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4364 * sysdeps/s390/dl-tls.h: Likewise.
4365 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4366 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4367 * sysdeps/sh/sh3/setjmp.S: Likewise.
4368 * sysdeps/sh/sh4/setjmp.S: Likewise.
4369 * sysdeps/unix/alpha/sysdep.h: Likewise.
4370 * sysdeps/unix/arm/sysdep.S: Likewise.
4371 * sysdeps/unix/i386/sysdep.S: Likewise.
4372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4373 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4374 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4375 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4376 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4377 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4378 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4379 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4380 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4381 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4382 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4383 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4384 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4387 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4390 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4391 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4395 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4396 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4400 * sysdeps/x86_64/setjmp.S: Likewise.
4401
a109996e
SP
4402 * include/math.h: Use IS_IN instead of IS_IN_libm.
4403 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4415 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4423 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4424 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4425 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4426 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4427 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4428 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4430 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4431 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4432 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4433 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4434 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4435 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4437 Likewise.
4438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4439 Likewise.
4440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4441 Likewise.
4442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4443 Likewise.
4444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4445 Likewise.
4446 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4447 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4448 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4449 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4450 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4451 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4457 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4458 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4459 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4460 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4461 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4464 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4465 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4466 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4468 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4470 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4472 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4473
ce9f10f7
SP
4474 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4475 * nptl/pthreadP.h: Likewise.
4476 * nptl_db/structs.def: Likewise.
4477 * sysdeps/arm/sysdep.h: Likewise.
4478 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4479 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4480 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4481 * sysdeps/unix/alpha/sysdep.h: Likewise.
4482 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4484 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4485 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4486 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4487 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4488 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4489 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4490 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4491 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4492 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4493 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4494 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4495 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4500 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4503 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4504 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4505 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4506 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4507 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4508
016afc75
SP
4509 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4510 * nptl/pthreadP.h: Likewise.
4511 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4512 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4513 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4514 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4515 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4516 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4517 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4518 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4519 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4520 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4521 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4522 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4524 Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4526 Likewise.
4527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4529 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4532 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4533 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4534 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4535
9b42a0b3
SP
4536 * dlfcn/dladdr.c: Use IS_IN.
4537 * dlfcn/dladdr1.c: Likewise.
4538 * dlfcn/dlclose.c: Likewise.
4539 * dlfcn/dlerror.c: Likewise.
4540 * dlfcn/dlinfo.c: Likewise.
4541 * dlfcn/dlmopen.c: Likewise.
4542 * dlfcn/dlopen.c: Likewise.
4543 * dlfcn/dlsym.c: Likewise.
4544 * dlfcn/dlvsym.c: Likewise.
4545
85f36372
SP
4546 * include/ifaddrs.h: Use IS_IN.
4547 * inet/check_pf.c: Likewise.
4548 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4549 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4550
fb6784e3
SP
4551 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4552 IS_IN_ldconfig.
4553 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4554 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4555
2886d2d1
SP
4556 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4557 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4558 IS_IN (libc).
4559
9a484857
SP
4560 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4561
a10178bd
SP
4562 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4563 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4564 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4565 * include/libc-symbols.h (IS_IN_LIB): New macro.
4566 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4567 * include/netdb.h: Likewise.
4568 * include/stap-probe.h: Remove all uses of IN_LIB.
4569
279bc5b3
SP
4570 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4571 instead of IN_MODULE.
4572 * include/libc-symbols.h (IN_MODULE): Define using
4573 MODULE_NAME.
4574 (PASTE_NAME, PASTE_NAME1): New macros.
4575 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4576 of IN_LIB.
4577 (STAP_PROBE_ASM): Likewise.
4578
e0cfa510
ST
45792014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4580
4581 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4582 __mach_init in dlopened libc.
4583
34d97d87
MF
45842014-11-22 Mike Frysinger <vapier@gentoo.org>
4585
4586 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4587 * sysdeps/arm/preconfigure: Regenerate.
4588
33cd1f74
RM
45892014-11-21 Roland McGrath <roland@hack.frob.com>
4590
4591 * nptl/pthread_create.c (__pthread_create_2_1): Set
4592 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4593 when copying values from IATTR into PD.
4594
8c230039
WN
45952014-11-21 Will Newton <will.newton@linaro.org>
4596 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4597
6d3db89b
AP
4598 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4599 Refactor inline-asm. Also add comment.
4600
01194ba1
WN
4601 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4602 ElfW macro instead of hardcoded Elf64 types.
4603 (la_aarch64_gnu_pltenter): Likewise.
4604 * sysdeps/aarch64/dl-machine.h
4605 (elf_machine_runtime_setup): Use ElfW(Addr).
4606
8c230039
WN
4607 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4608 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4609 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4610 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4611 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4612 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4613 (R_AARCH64_TLS_DTPMOD): This.
4614 (R_AARCH64_TLS_DTPREL64): Rename to ...
4615 (R_AARCH64_TLS_DTPREL): This.
4616 (R_AARCH64_TLS_TPREL64): Rename to ...
4617 (R_AARCH64_TLS_TPREL): This.
4618 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4619 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4620 R_AARCH64_TLS_TPREL64.
4621 (elf_machine_rela): Likewise.
4622
0d79fa53
TR
46232014-11-21 Torvald Riegel <triegel@redhat.com>
4624
4625 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4626 by setting it to 0. 64b atomics are not supported currently.
4627
b59d114b
AO
46282014-11-21 Alexandre Oliva <aoliva@redhat.com>
4629
4630 [BZ #16469]
4631 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4632 search domain names.
4633
f3d945d5
AO
46342014-11-21 Alexandre Oliva <aoliva@redhat.com>
4635
4636 [BZ #16469]
4637 * NEWS: Update.
4638 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4639 trailing dot.
4640 * posix/tst-getaddrinfo5.c: New.
4641 * posix/Makefile (tests): Add it.
4642
49698902
AO
46432014-11-21 Alexandre Oliva <aoliva@redhat.com>
4644
4645 [BZ #14498]
4646 * NEWS: Fixed.
4647 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4648 after parsing line but before break_if_match.
4649 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4650 if there is a protocol mismatch.
4651
81959214
MS
46522014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4653
4654 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4655 because the potential race is on the user-supplied stream.
4656
7729e0e9
AO
46572014-11-21 Alexandre Oliva <aoliva@redhat.com>
4658
4659 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4660 string literal if not passed a buffer.
4661 * manual/job.texi (ctermid): Update reasoning, note deviation
4662 from posix, suggest mtasurace when not passed a buffer, for
4663 future non-preliminary safety notes.
4664
a4ea5e28
AO
46652014-11-21 Alexandre Oliva <aoliva@redhat.com>
4666
4667 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4668 of not passing it a buffer.
4669 Reported by Peng Haitao.
4670
a2b581cb
AO
46712014-11-21 Alexandre Oliva <aoliva@redhat.com>
4672
4673 * manual/Makefile ($(objpfx)stamp-summary): Require
4674 check-safety.sh to pass.
4675 * manual/check-safety.sh: Wish for verification that every
4676 @deftypefn and @deftypefun is followed by a @safety remark.
4677
f214ff74
RM
46782014-11-20 Roland McGrath <roland@hack.frob.com>
4679
7f0dfae0
RM
4680 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4681
2f531bbb
RM
4682 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4683 PTHREAD_CANCEL_ASYNCHRONOUS.
4684 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4685 send SIGCANCEL.
4686
f214ff74
RM
4687 * nptl/default-sched.h: New file.
4688 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4689 * nptl/pthread_create.c: Include it.
4690 (__pthread_create_2_1): Use collect_default_sched instead of making
4691 Linux syscalls here directly.
4692
e37c91d4
TR
46932014-11-20 Torvald Riegel <triegel@redhat.com>
4694
4695 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4696 __pthread_once): Use C11 atomics.
4697
1eccfecd
TR
46982014-11-20 Torvald Riegel <triegel@redhat.com>
4699
4700 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4701
ff871426
TR
47022014-11-20 Torvald Riegel <triegel@redhat.com>
4703
4704 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4705 atomic_thread_fence_acquire, atomic_thread_fence_release,
4706 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4707 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4708 atomic_compare_exchange_weak_relaxed,
4709 atomic_compare_exchange_weak_acquire,
4710 atomic_compare_exchange_weak_release,
4711 atomic_exchange_acquire, atomic_exchange_release,
4712 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4713 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4714 atomic_fetch_and_acquire,
4715 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4716
1ea339b6
TR
47172014-11-20 Torvald Riegel <triegel@redhat.com>
4718
4719 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4720 USE_ATOMIC_COMPILER_BUILTINS): Define.
4721 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4722 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4723 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4724 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4725 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4726 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4727 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4728 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4729 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4730 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4731 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4732 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4733 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4734 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4735 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4736 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4737 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4738 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4739 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4740 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4741 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4742 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4743 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4744 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4745 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4746 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4747 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4748 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4749 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4750 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4751 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4752 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4753 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4754 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4755 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4756 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4757 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4758 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4759 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4760 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4761
cbd463e2
RM
47622014-11-19 Roland McGrath <roland@hack.frob.com>
4763
d960211f
RM
4764 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4765 the sched_priority value here. It was already checked when the user
4766 called pthread_attr_setschedparam.
4767
cbd463e2
RM
4768 * nptl/tst-bad-schedattr.c: New file.
4769 * nptl/Makefile (tests): Add it.
4770
a39208bd
CD
47712014-11-19 Carlos O'Donell <carlos@redhat.com>
4772 Florian Weimer <fweimer@redhat.com>
4773 Joseph Myers <joseph@codesourcery.com>
4774 Adam Conrad <adconrad@0c3.net>
4775 Andreas Schwab <schwab@suse.de>
4776 Brooks <bmoses@google.com>
4777
4778 [BZ #17625]
4779 * wordexp-test.c (__dso_handle): Add prototype.
4780 (__register_atfork): Likewise.
4781 (__app_register_atfork): New function.
4782 (registered_forks): New global.
4783 (register_fork): New function.
4784 (test_case): Add 3 new tests for WRDE_CMDSUB.
4785 (main): Call __app_register_atfork.
4786 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4787 fork count is non-zero fail the test.
4788 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4789 is set.
4790 (parse_dollars): Remove check for WRDE_NOCMD.
4791 (parse_dquote): Likewise.
4792
9cd47470
SP
47932014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4794
130ac68c
SP
4795 * Makeconfig (built-modules): List non-library modules to be
4796 built.
4797 (module-cppflags): Include libc-modules.h for
4798 everything except shlib-versions.v.i.
4799 (CPPFLAGS): Use it.
4800 (before-compile): Add libc-modules.h.
4801 ($(common-objpfx)libc-modules.h,
4802 $(common-objpfx)libc-modules.stmp): New targets.
4803 (common-generated): Add libc-modules.h and libc-modules.stmp.
4804 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4805 * include/libc-symbols.h: Don't include libc-modules.h.
4806 * include/libc-modules.h: Remove file.
4807 * scripts/gen-libc-modules.awk: New script to generate
4808 libc-modules.h.
4809 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4810 Depend on libc-modules.stmp.
4811
286663c3
SP
4812 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4813
9cd47470
SP
4814 * Makeconfig (in-module): Get value of libof set for the
4815 translation unit.
4816 (CPPFLAGS): Use $(in-module).
4817 * Makerules: Don't suffix routine names for nonlib.
4818 * include/libc-modules.h: New file.
4819 * include/libc-symbols.h: Include libc-modules.h
4820 (IS_IN): New macro to replace IS_IN_* macros.
4821 * elf/Makefile: Set libof-* for each routine.
4822 * elf/rtld-Rules: Likewise.
4823 * extra-modules.mk: Likewise.
4824 * iconv/Makefile: Likewise.
4825 * iconvdata/Makefile: Likewise.
4826 * locale/Makefile: Likewise.
4827 * malloc/Makefile: Likewise.
4828 * nss/Makefile: Likewise.
4829 * sysdeps/gnu/Makefile: Likewise.
4830 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4831 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4832 * sysdeps/s390/s390-64/Makefile: Likewise.
4833 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4834 CPPFLAGS for nscd instead of nonlib.
4835
32fed10f
RM
48362014-11-18 Roland McGrath <roland@hack.frob.com>
4837
d71035bd
RM
4838 * nptl/createthread.c: New file.
4839
6540b991
RM
4840 * nptl/createthread.c: Moved ...
4841 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4842
32fed10f
RM
4843 * nptl/createthread.c: Add proper top-line comment.
4844 (do_clone): Folded into ...
4845 (create_thread): ... here. Take new arguments STOPPED_START and
4846 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4847 increment __nptl_threads, do event-reporting logic, do
4848 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4849 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4850 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4851 just send SIGCANCEL.
4852 * nptl/pthread_create.c: Forward-declare create_thread before
4853 including createthread.c.
4854 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4855 declaration, and new macro START_THREAD_SELF to replace argument.
4856 Remove return statement.
4857 (report_thread_creation): New function.
4858 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4859 synchronization logic, and __nptl_nthreads increment here, around
4860 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4861 PD->parent_cancelhandling here, before create_thread. When
4862 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4863 __deallocate_stack, and ENOMEM translation here.
4864
107a5bf0
JM
48652014-11-18 Joseph Myers <joseph@codesourcery.com>
4866
4867 [BZ #17616]
4868 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4869 (mptwo): Rename to __mptwo.
4870 (__inv): Use __mptwo instead of mptwo.
4871 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4872 (mptwo): Rename to __mptwo.
4873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4874 of mpone and __mptwo instead of mptwo.
4875 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4876 instead of mpone.
4877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4878 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4879 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4880 of mpone and __mptwo instead of mptwo.
4881 (__mpranred): Use __mpone instead of mpone.
4882 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4883 variable.
4884 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4885 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4886 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4887 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4888 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4889 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4890 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4891 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4892 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4893 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4894 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4895 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4896 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4897 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4898 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4899 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4900 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4901 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4902 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4903
3b679ab3
TV
49042014-11-18 Tom de Vries <tom@codesoucery.com>
4905
4906 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4907 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4908
49092014-11-17 Richard Henderson <rth@redhat.com>
4910
4911 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4912 (_FP_PACK_RAW_2): Remove.
4913 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4914 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4915 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4916 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4917 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4918 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4919 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4920 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4921 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4922 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4923 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4924 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4925 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4926 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4927 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4928 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4929
0781a777
RM
49302014-11-14 Roland McGrath <roland@hack.frob.com>
4931
4932 * signal/signal.h [__USE_MISC]
4933 (struct sigvec): Remove type.
4934 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4935 (sigvec): Remove declaration.
4936 * sysdeps/posix/sigvec.c: Moved ...
4937 * signal/sigvec.c: ... here, replacing old file.
4938 (struct sigvec): New type, copied from old signal.h definition.
4939 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4940 (__sigvec): Convert definition to prototype.
4941 (sigvec): Replace weak_alias with compat_symbol.
4942 * signal/Versions (libc: GLIBC_2.21): New version set.
4943 * include/signal.h: Remove __sigvec declaration.
4944 * sysdeps/unix/bsd/sigvec.c: Remove file.
4945 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4946 * manual/signal.texi (BSD Handler): Remove subsection.
4947 Move siginterrupt up to ...
4948 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4949 (Blocking in BSD): Fold subsection into its parent.
4950 * NEWS: Mention sigvec removal.
4951
a4733812
JM
49522014-11-14 Joseph Myers <joseph@codesourcery.com>
4953
5ae4fe60
JM
4954 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4955 (DLA_FMS): Make definition conditional only on [__FMA4__].
4956 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4957 definition.
4958
6a0dd472
JM
4959 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4960 Make definition conditional only on [PROF].
4961 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4962 definition.
4963 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4964 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4965
a4733812
JM
4966 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4967 !__GNUC__].
4968 * include/signal.h (__sigpause): Move declaration above call to
4969 libc_hidden_proto.
4970 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4971 variable.
4972 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4973 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4974
cf7246dd
DM
49752014-11-14 David S. Miller <davem@davemloft.net>
4976
4977 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4978 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4979
c1b0aadc
JM
49802014-11-14 Joseph Myers <joseph@codesourcery.com>
4981
4863355a
JM
4982 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4983 * configure: Regenerated.
4984 * manual/install.texi (Tools for Compilation): Document a
4985 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4986 compiler verified to work.
4987 * INSTALL: Regenerated.
4988
c1b0aadc
JM
4989 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4990 redeclare with asm name.
4991 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4992 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4993 including <string.h>.
4994 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4995 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4996 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4997 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4998 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4999 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5000 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5001
2a1cfd94
JM
50022014-11-13 Joseph Myers <joseph@codesourcery.com>
5003
bf438382
JM
5004 * stdlib/strtol.c (__strtol): Use prototype definition.
5005
2a1cfd94
JM
5006 [BZ #17594]
5007 * stdlib/strtol.c (SYM__): New macro.
5008 (SYM__1): Likewise.
5009 (__strtol): Likewise.
5010 (strtol): Rename to __strtol and define as weak alias of
5011 __strtol. Use libc_hidden_weak.
5012
20ed0d26
SL
50132014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5014
5015 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5016 Use numbered labels in inline assembly.
5017
53244a4e
SL
50182014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5019
5020 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5021 Add setjmp LIBC_PROBE.
5022 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5023 Likewise.
5024 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5025 Add longjmp, longjmp_target LIBC_PROBE.
5026 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5027 Likewise.
5028
47df8251
SL
50292014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5030
5031 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5032 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5033 to get rid of unused variable warning.
5034
618cebef
SL
50352014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5036
5037 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5038 Check for unwind_backtrace == NULL only in SHARED case.
5039 (__backchain_backtrace): Compile only in SHARED case.
5040 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5041 Likewise.
5042 (__backchain_backtrace): Declare as static.
5043
c6aab2cb
RM
50442014-11-12 Roland McGrath <roland@hack.frob.com>
5045
5046 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5047 (__libc_multiple_threads_ptr): Variable moved ...
5048 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5049
5a6fa4d7
JM
50502014-11-12 Joseph Myers <joseph@codesourcery.com>
5051
24f4f825
JM
5052 * conform/GlibcConform.pm: New file.
5053 * conform/conformtest.pl: Use GlibcConform module.
5054 * conform/linknamespace.pl: New file.
5055 * conform/list-header-symbols.pl: Likewise.
5056 * conform/Makefile (linknamespace-symlists-base): New variable.
5057 (linknamespace-symlists-tests): Likewise.
5058 (linknamespace-header-base): Likewise.
5059 (linknamespace-header-tests): Likewise.
5060 (tests-special): Add new tests.
5061 ($(linknamespace-symlists-tests)): New rule.
5062 (linknamespace-libs): New variable.
5063 ($(objpfx)symlist-stdlibs): New rule.
5064 ($(linknamespace-header-tests)): Likewise.
5065 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5066 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5067 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5068 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5069 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5070 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5071 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5072 (test-xfail-ISO/math.h/linknamespace): Likewise.
5073 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5074 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5075 (test-xfail-ISO/time.h/linknamespace): Likewise.
5076 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5077 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5078 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5079 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5080 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5081 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5082 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5083 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5084 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5085 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5086 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5087 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5088 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5089 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5090 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5091 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5092 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5093 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5094 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5095 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5096 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5097 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5098 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5099 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5100 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5101 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5102 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5103 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5104 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5105 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5106 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5107 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5108 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5109 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5110 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5111 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5112 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5113 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5114 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5115 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5116 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5117 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5118 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5119 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5120 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5121 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5122 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5123 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5124 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5125 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5126 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5127 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5128 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5129 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5130 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5131 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5132 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5133 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5134 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5135 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5136 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5137 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5138 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5139 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5140 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5141 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5142 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5143 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5144 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5145 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5146 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5147 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5148 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5149 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5150 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5151 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5152 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5153 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5154 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5155 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5156 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5157 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5158 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5159 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5160 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5161 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5162 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5163 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5164 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5165 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5166 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5167 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5168 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5169 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5170 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5171 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5172 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5173 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5174 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5175 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5176 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5177 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5178 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5179 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5180 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5181 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5182 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5183 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5184 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5185 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5186 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5187 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5188 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5189 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5190 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5191 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5192 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5193 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5194 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5195 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5196 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5197 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5198 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5199 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5200 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5201 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5202 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5203 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5204 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5205 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5206 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5207 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5208 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5209 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5210 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5211 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5212 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5213 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5214 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5215 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5216 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5217 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5218 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5219 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5220 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5221 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5222 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5223 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5224 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5225 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5226
cc67478e
JM
5227 [BZ #17589]
5228 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5229 of fgets_unlocked.
5230
9975e3d3
JM
5231 [BZ #17585]
5232 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5233 (memmem): Rename to __memmem and define as weak alias of
5234 __memmem. Use libc_hidden_weak.
5235 (__memmem): Use libc_hidden_def.
5236 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5237 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5238 memmem.
5239
c4eae752
JM
5240 [BZ #17582]
5241 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5242 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5243 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5244 and define as weak alias of __fgets_unlocked. Use
5245 libc_hidden_weak.
5246 (__fgets_unlocked): Use libc_hidden_def.
5247 * include/stdio.h (__fgets_unlocked): Declare. Use
5248 libc_hidden_proto.
5249 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5250 __fgets_unlocked instead of fgets_unlocked.
5251 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5252 (GET_NPROCS_CONF_PARSER): Likewise.
5253 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5254 (GET_NPROCS_CONF_PARSER): Likewise.
5255
01cad84e
JM
5256 [BZ #17574]
5257 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5258 weak alias of __wmemset. Use libc_hidden_weak.
5259 (__wmemset): Use libc_hidden_def.
5260 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5261 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5262 of wmemset.
5263
939da411
JM
5264 [BZ #17573]
5265 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5266 with asm name __mempcpy.
5267 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5268
293d9a41
JM
5269 [BZ #17572]
5270 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5271 and define as weak alias of __rawmemchr.
5272 (__rawmemchr): Do not define as strong alias of rawmemchr.
5273
bef8fd60
JM
5274 [BZ #17571]
5275 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5276 alias of __qsort_r.
5277 (qsort): Call __qsort_r instead of qsort_r.
5278 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5279 (__qsort_r): Declare. Call libc_hidden_proto.
5280 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5281 instead of qsort_r.
5282 * nscd/gai.c (__qsort_r): Define to qsort_r.
5283 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5284 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5285 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5286
c52ff39e
JM
5287 [BZ #17570]
5288 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5289 define as weak alias of __malloc_info.
5290
2f5c1b00
JM
5291 [BZ #17584]
5292 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5293 as weak alias of __rewinddir. Don't use libc_hidden_def.
5294 (__rewinddir): Use libc_hidden_def.
5295 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5296 as weak alias of __rewinddir. Don't use libc_hidden_def.
5297 (__rewinddir): Use libc_hidden_def.
5298 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5299 weak alias of __rewinddir. Don't use libc_hidden_def.
5300 (__rewinddir): Use libc_hidden_def.
5301 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5302 (__rewinddir): Use libc_hidden_proto.
5303 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5304 rewinddir.
5305 (__getcwd): Use __rewinddir instead of rewinddir.
5306
5a6fa4d7
JM
5307 [BZ #17583]
5308 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5309 alias of __fileno. Use libc_hidden_weak.
5310 (__fileno): Use libc_hidden_def.
5311 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5312 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5313 alias of __ftello.
5314 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5315 __ftello.
5316 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5317 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5318 libc_hidden_def.
5319 (fread_unlocked): Don't use libc_hidden_ver.
5320 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5321 and define as weak alias of __fread_unlocked. Don't use
5322 libc_hidden_def.
5323 (__fread_unlocked): Use libc_hidden_def.
5324 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5325 (ftello): Don't use libc_hidden_proto.
5326 (__ftello): Declare. Use libc_hidden_proto.
5327 (fread_unlocked): Don't use libc_hidden_proto.
5328 (__fread_unlocked): Declare. Use libc_hidden_proto.
5329 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5330 and __ftello instead of fileno, fread_unlocked and ftello.
5331
2581b98e
SP
53322012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5333
5334 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5335 GOT12.
5336 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5337 Likewise.
5338 (_dl_start_user): Likewise.
5339 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5340
533bb7c2
SP
53412014-11-12 Carlos O'Donell <carlos@redhat.com>
5342 Siddhesh Poyarekar <siddhesh@redhat.com>
5343
5344 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5345 Move argv and envp down instead of moving argc up.
5346 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5347
fffa1cf8
LH
53482014-11-12 Leonhard Holz <leonhard.holz@web.de>
5349
5350 [BZ #17506]
5351 * test-skeleton.c (main): Return successful if one of
5352 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5353 * string/tst-strcoll-overflow.c: Define expected status.
5354
fb89b46d
TU
53552014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5356
5357 [BZ #17475]
5358 * locale/iso-639.def: Define Bhili and Tulu language codes.
5359
5c40c3ba
AH
53602014-11-11 Alan Hayward <alan.hayward@arm.com>
5361
5362 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5363
b17fe01b 53642014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5365
5366 [BZ #17555]
5367 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5368
bd805071
AS
53692014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5370
5371 * configure.ac: Updated check of minimal required version to
5372 2.22.
5373 * manual/install.texi (Tools for Compilation): Updated version
5374 number.
5375 * configure: Regenerated.
5376 * INSTALL: Likewise.
5377
1400983e
AS
53782014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5379
5380 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5381 __tls_get_addr.
5382
2c46a66a
JM
53832014-11-07 Joseph Myers <joseph@codesourcery.com>
5384
5385 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5386 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5387 (__waitpid): Don't define as alias. Use libc_hidden_def not
5388 libc_hidden_weak.
5389 (waitpid): Define as alias of __waitpid.
5390 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5391 __waitpid.
5392 (__waitpid): Don't define as alias. Use libc_hidden_def not
5393 libc_hidden_weak.
5394 (waitpid): Define as alias of __waitpid.
5395 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5396 __libc_waitpid alias.
5397 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5398 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5399 Likewise.
5400 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5401 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5402 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5403 alias.
5404 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5405 __waitpid.
5406 (__waitpid): Don't define as alias. Use libc_hidden_def not
5407 libc_hidden_weak.
5408 (waitpid): Define as alias of __waitpid.
5409
da53d6db
CD
54102014-11-06 Carlos O'Donell <carlos@redhat.com>
5411
a2887bdb
CD
5412 * manual/llio.texi: Add comment that write safety has been
5413 fixed in Linux.
5414
da53d6db
CD
5415 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5416 (localplt-build-dso): Add elf/ld.so.
5417 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5418 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5419 and free for ld.so.
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5421 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5423 Likewise.
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5425 Likewise.
5426 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5427 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5428 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5429 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5430 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5431 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5432 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5433 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5434 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5435 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5437
9cf27b8d
JM
54382014-11-05 Joseph Myers <joseph@codesourcery.com>
5439
5440 [BZ #14132]
5441 * include/libc-symbols.h (INTUSE): Remove macro.
5442 (INTDEF): Likewise.
5443 (INTVARDEF): Likewise.
5444 (_INTVARDEF): Likewise.
5445 (INTDEF2): Likewise.
5446 (INTVARDEF2): Likewise.
5447 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5448 rtld_hidden_def instead of INTVARDEF.
5449 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5450 (_dl_starting_up_internal): Remove declaration.
5451 (_dl_starting_up): Use rtld_hidden_proto.
5452 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5453 declaration.
5454 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5455 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5456 _dl_starting_up.
5457 * elf/dl-writev.h (_dl_writev): Likewise.
5458 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5459 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5460 _dl_starting_up_internal.
5461
af83568d
AZ
54622014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5463
5464 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5465 test-skeleton.c.
5466
b01ee67c
WN
54672014-11-05 Will Newton <will.newton@linaro.org>
5468
5469 * benchtests/Makefile: (bench-malloc): Add malloc thread
5470 scalability benchmark.
5471 * benchtests/bench-malloc-threads.c: New file.
5472
be9d4ccc
RE
54732014-11-05 Richard Earnshaw <rearnsha@arm.com>
5474
5475 * sysdeps/aarch64/strchrnul.S: New file.
5476
7110166d
AZ
54772014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478
5479 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5480 definition.
5481 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5482 Likwise.
5483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5484 Likewise.
5485 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5486 Likewise.
5487 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5488 Likewise.
5489 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5490 Likewise.
5491
54922014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5493
5494 * catgets/test-gencat.c: Use test-skeleton.c.
5495 * catgets/tst-catgets.c: Likewise.
5496 * csu/tst-empty.c: Likewise.
5497 * elf/tst-audit2.c: Likewise.
5498 * elf/tst-global1.c: Likewise.
5499 * elf/tst-pathopt.c: Likewise.
5500 * elf/tst-piemod1.c: Likewise.
5501 * elf/tst-tls10.c: Likewise.
5502 * elf/tst-tls11.c: Likewise.
5503 * elf/tst-tls12.c: Likewise.
5504 * gnulib/tst-gcc.c: Likewise.
5505 * iconvdata/tst-e2big.c: Likewise.
5506 * iconvdata/tst-loading.c: Likewise.
5507 * iconv/tst-iconv1.c: Likewise.
5508 * iconv/tst-iconv2.c: Likewise.
5509 * inet/test-inet6_opt.c: Likewise.
5510 * inet/tst-gethnm.c: Likewise.
5511 * inet/tst-network.c: Likewise.
5512 * inet/tst-ntoa.c: Likewise.
5513 * intl/tst-codeset.c: Likewise.
5514 * intl/tst-gettext2.c: Likewise.
5515 * intl/tst-gettext3.c: Likewise.
5516 * intl/tst-ngettext.c: Likewise.
5517 * intl/tst-translit.c: Likewise.
5518 * io/test-stat.c: Likewise.
5519 * libio/test-fmemopen.c: Likewise.
5520 * libio/tst-freopen.c: Likewise.
5521 * libio/tst-sscanf.c: Likewise.
5522 * libio/tst-ungetwc1.c: Likewise.
5523 * libio/tst-ungetwc2.c: Likewise.
5524 * libio/tst-widetext.c: Likewise.
5525 * localedata/tst-ctype.c: Likewise.
5526 * localedata/tst-digits.c: Likewise.
5527 * localedata/tst-leaks.c: Likewise.
5528 * localedata/tst-mbswcs1.c: Likewise.
5529 * localedata/tst-mbswcs2.c: Likewise.
5530 * localedata/tst-mbswcs3.c: Likewise.
5531 * localedata/tst-mbswcs4.c: Likewise.
5532 * localedata/tst-mbswcs5.c: Likewise.
5533 * localedata/tst-setlocale.c: Likewise.
5534 * localedata/tst-trans.c: Likewise.
5535 * localedata/tst-wctype.c: Likewise.
5536 * localedata/tst-xlocale1.c: Likewise.
5537 * login/tst-grantpt.c: Likewise.
5538 * malloc/tst-calloc.c: Likewise.
5539 * malloc/tst-malloc.c: Likewise.
5540 * malloc/tst-mallocstate.c: Likewise.
5541 * malloc/tst-mcheck.c: Likewise.
5542 * malloc/tst-mtrace.c: Likewise.
5543 * malloc/tst-obstack.c: Likewise.
5544 * math/atest-exp2.c: Likewise.
5545 * math/atest-exp.c: Likewise.
5546 * math/atest-sincos.c: Likewise.
5547 * math/test-matherr.c: Likewise.
5548 * math/test-misc.c: Likewise.
5549 * math/test-powl.c: Likewise.
5550 * math/tst-definitions.c: Likewise.
5551 * misc/tst-dirname.c: Likewise.
5552 * misc/tst-efgcvt.c: Likewise.
5553 * misc/tst-fdset.c: Likewise.
5554 * misc/tst-hsearch.c: Likewise.
5555 * misc/tst-mntent2.c: Likewise.
5556 * nptl/tst-sem7.c: Likewise.
5557 * nptl/tst-sem8.c: Likewise.
5558 * nptl/tst-sem9.c: Likewise.
5559 * nss/test-netdb.c: Likewise.
5560 * posix/tst-fnmatch.c: Likewise.
5561 * posix/tst-getlogin.c: Likewise.
5562 * posix/tst-gnuglob.c: Likewise.
5563 * posix/tst-mmap.c: Likewise.
5564 * pwd/tst-getpw.c: Likewise.
5565 * resolv/tst-inet_ntop.c: Likewise.
5566 * rt/tst-timer.c: Likewise.
5567 * stdio-common/test-fseek.c: Likewise.
5568 * stdio-common/test-popen.c: Likewise.
5569 * stdio-common/test-vfprintf.c: Likewise.
5570 * stdio-common/tst-cookie.c: Likewise.
5571 * stdio-common/tst-fileno.c: Likewise.
5572 * stdio-common/tst-gets.c: Likewise.
5573 * stdio-common/tst-obprintf.c: Likewise.
5574 * stdio-common/tst-perror.c: Likewise.
5575 * stdio-common/tst-sprintf2.c: Likewise.
5576 * stdio-common/tst-sprintf3.c: Likewise.
5577 * stdio-common/tst-sprintf.c: Likewise.
5578 * stdio-common/tst-swprintf.c: Likewise.
5579 * stdio-common/tst-tmpnam.c: Likewise.
5580 * stdio-common/tst-unbputc.c: Likewise.
5581 * stdio-common/tst-wc-printf.c: Likewise.
5582 * stdlib/tst-environ.c: Likewise.
5583 * stdlib/tst-fmtmsg.c: Likewise.
5584 * stdlib/tst-limits.c: Likewise.
5585 * stdlib/tst-rand48-2.c: Likewise.
5586 * stdlib/tst-rand48.c: Likewise.
5587 * stdlib/tst-random2.c: Likewise.
5588 * stdlib/tst-random.c: Likewise.
5589 * stdlib/tst-strtol.c: Likewise.
5590 * stdlib/tst-strtoll.c: Likewise.
5591 * stdlib/tst-tls-atexit.c: Likewise.
5592 * stdlib/tst-xpg-basename.c: Likewise.
5593 * string/test-ffs.c: Likewise.
5594 * string/tst-bswap.c: Likewise.
5595 * string/tst-inlcall.c: Likewise.
5596 * string/tst-strtok.c: Likewise.
5597 * string/tst-strxfrm.c: Likewise.
5598 * sysdeps/x86_64/tst-audit10.c: Likewise.
5599 * sysdeps/x86_64/tst-audit3.c: Likewise.
5600 * sysdeps/x86_64/tst-audit4.c: Likewise.
5601 * sysdeps/x86_64/tst-audit5.c: Likewise.
5602 * time/tst-ftime_l.c: Likewise.
5603 * time/tst-getdate.c: Likewise.
5604 * time/tst-mktime3.c: Likewise.
5605 * time/tst-mktime.c: Likewise.
5606 * time/tst-posixtz.c: Likewise.
5607 * time/tst-strptime2.c: Likewise.
5608 * time/tst-strptime3.c: Likewise.
5609 * wcsmbs/tst-btowc.c: Likewise.
5610 * wcsmbs/tst-mbrtowc.c: Likewise.
5611 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5612 * wcsmbs/tst-wchar-h.c: Likewise.
5613 * wcsmbs/tst-wcpncpy.c: Likewise.
5614 * wcsmbs/tst-wcrtomb.c: Likewise.
5615 * wcsmbs/tst-wcsnlen.c: Likewise.
5616 * wcsmbs/tst-wcstof.c: Likewise.
5617
2004e7fb
JM
56182014-11-04 Joseph Myers <joseph@codesourcery.com>
5619
ab97ee8f
JM
5620 [BZ #14132]
5621 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5622 INTDEF.
5623 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5624 declaration.
5625 (_dl_mcount): Use rtld_hidden_proto.
5626 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5627 _dl_mcount.
5628 * elf/rtld.c (_rtld_global_ro): Likewise.
5629
c5684fdb
JM
5630 [BZ #14132]
5631 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5632 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5633 of _dl_init_internal.
5634 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5635 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5636 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5637 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5638 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5639 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5640 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5641 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5642 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5643 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5644 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5645 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5646 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5647 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5648 * sysdeps/tile/dl-start.S (_start): Likewise.
5649 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5650 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5651
4243cbea
JM
5652 [BZ #14132]
5653 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5654 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5655 (rtld_progname): Make macro definition unconditional.
5656 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5657 INTDEF.
5658 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5659 (dl_main): Likewise.
5660 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5661 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5662 instead of _dl_argv_internal.
5663 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5664 __GI__dl_argv instead of INTUSE(_dl_argv).
5665 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5666 __GI__dl_argv instead of _dl_argv_internal.
5667
2004e7fb
JM
5668 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5669 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5670 macro.
5671 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5672 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5673 New macro.
5674 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5675 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5676 macro.
5677 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5678 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5679
97827bfc
AS
56802014-11-04 Andreas Schwab <schwab@suse.de>
5681
5682 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5683
5e4df284
AZ
56842014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5685
5686 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5687 mtvsrd instruction in binary form.
5688
04b76b5a
AS
56892014-11-03 Andreas Schwab <schwab@suse.de>
5690
5691 [BZ #17522]
5692 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5693 for less than MB_LEN_MAX use a local buffer of that size.
5694 * libio/tst-fputws.c: New file.
5695 * libio/Makefile (tests): Add tst-fputws.
5696
4c6da7da
JM
56972014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5698
5699 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5700 the size of the fpu_fr.fpu_dregs[] array.
5701
1679ba8e
JM
57022014-11-01 Joseph Myers <joseph@codesourcery.com>
5703
5704 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5705 (__nanosleep): Do not define as alias.
5706 (nanosleep): Define as alias of __nanosleep.
5707 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5708 __libc_nanosleep name.
5709
2626c183
JM
57102014-10-31 Joseph Myers <joseph@codesourcery.com>
5711
5712 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5713 install.texi in comment.
5714
7f981fc2
TR
57152014-10-31 Torvald Riegel <triegel@redhat.com>
5716
5717 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5718 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5719 ... add here and use lwsync or sync ...
5720 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5721 ... and add here using lwsync.
5722
d6f373d2
MF
57232014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5724
5725 * elf/dl-machine-reject-phdr.h: New file.
5726 * elf/dl-load.c: #include that.
5727 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5728 if that returned true.
5729
67c37987
RM
57302014-10-31 Roland McGrath <roland@hack.frob.com>
5731
5732 [BZ #17496]
5733 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5734 gen-as-const-headers chunk. Add a big scare comment after the last
5735 safe place to touch before-compile.
5736
94a42455 57372014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5738
f3f5d895
JM
5739 * manual/install.texi (Tools for Compilation): Update autoconf
5740 version requirements.
5741 * INSTALL: Regenerated.
5742
f62ff286
JM
5743 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5744 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5745 (__libc_pselect): Likewise.
94a42455
JM
5746
5747 [BZ #14138]
5748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5752
ff9dbdc0
TR
57532014-10-31 Torvald Riegel <triegel@redhat.com>
5754
5755 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5756 correct barrier instruction.
5757 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5758 Likewise.
5759 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5760 Likewise.
5761
b4f66884
RM
57622014-10-30 Roland McGrath <roland@hack.frob.com>
5763
5764 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5765 after defining inlines. Instead, just use parens to defeat macro
5766 expansion of __isctype in its declaration.
5767
e19c95fd
JM
57682014-10-30 Joseph Myers <joseph@codesourcery.com>
5769
5770 * include/sys/uio.h (__libc_readv): Remove declaration.
5771 (__libc_writev): Likewise.
5772 * misc/readv.c (__libc_readv): Rename to __readv.
5773 (__readv): Do not define as alias.
5774 (readv): Define as alias of __readv.
5775 * misc/writev.c (__libc_writev): Rename to __writev.
5776 (__writev): Do not define as alias.
5777 (writev): Define as alias of __writev.
5778 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5779 (__readv): Do not define as alias.
5780 (readv): Define unconditionally as alias of __readv.
5781 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5782 (__writev): Do not define as alias.
5783 (writev): Define unconditionally as alias of __writev.
5784 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5785 name.
5786 (writev): Do not define __libc_writev name.
5787
65b00b6c
RM
57882014-10-30 Roland McGrath <roland@hack.frob.com>
5789
5790 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5791 (convert_charseq): New function, broken out of ...
5792 (use_from_charmap): ... here. Call it.
5793 (use_to_charmap): Use convert_charseq and free instead of duplicating
5794 its code with a variable-length stack struct.
5795
d4e157aa
JM
57962014-10-30 Joseph Myers <joseph@codesourcery.com>
5797
5798 * include/fcntl.h (__libc_creat): Remove declaration.
5799 * io/creat.c (__libc_creat): Rename to creat.
5800 (creat): Do not define as alias.
5801 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5802 of creat instead of __libc_creat.
5803 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5804 to creat.
5805 (creat): Do not define as alias.
5806 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5807 __libc_creat.
5808 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5809 __libc_creat name.
5810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5811 Likewise.
5812
0c6891a0
CD
58132014-10-29 Carlos O'Donell <carlos@redhat.com>
5814
5815 * manual/llio.texi: Add comments discussing why write() may be
5816 considered MT-unsafe on Linux.
5817
cc00cece
CD
58182014-10-28 Carlos O'Donell <carlos@redhat.com>
5819
5820 * dl-load.c (local_strdup): Remove.
5821 (expand_dynamic_string_token): Use __strdup.
5822 (decompose_rpath): Likewise.
5823 (_dl_map_object): Likewise.
5824
51e623f2
JM
58252014-10-28 Joseph Myers <joseph@codesourcery.com>
5826
5827 [BZ #14132]
5828 * sysdeps/generic/unwind-dw2-fde.c
5829 (__register_frame_info_bases_internal): Do not declare.
5830 (__register_frame_info_table_bases_internal): Likewise.
5831 (__deregister_frame_info_bases_internal): Likewise.
5832 (__register_frame_info_bases): Declare and use hidden_proto before
5833 definition. Use hidden_def instead of INTDEF.
5834 (__register_frame_info_table_bases): Likewise.
5835 (__deregister_frame_info_bases): Likewise.
5836 (__register_frame_info): Do not use INTUSE.
5837 (__register_frame): Likewise.
5838 (__register_frame_info_table): Likewise.
5839 (__register_frame_table): Likewise.
5840 (__deregister_frame_info): Likewise.
5841 (__deregister_frame): Likewise.
5842
03d41216
GC
58432014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5844
5845 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5846 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5847 not undefine.
5848 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5849 Likewise.
5850 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5851 Likewise.
5852
a4b3624d
JM
58532014-10-27 Joseph Myers <joseph@codesourcery.com>
5854
5855 [BZ #14138]
5856 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5857 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5858 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5859 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5860 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5861 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5862 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5863 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5864 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5865 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5866 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5867 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5868 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5869 syscall.
5870 (setfsuid): Likewise.
5871 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5872 (setfsuid): Likewise.
5873 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5874 (setfsuid): Likewise.
5875 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5876 Likewise.
5877 (setfsuid): Likewise.
5878 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5879 (setfsuid): Likewise.
5880 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5881 Likewise.
5882 (setfsuid): Likewise.
5883
3574f2fd
AS
58842014-10-27 Andreas Schwab <schwab@suse.de>
5885
5886 [BZ #17501]
5887 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5888 check for Slow_SSE4_2 feature bit.
5889 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5890 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5891 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5892 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5893
70996a37
RM
58942014-10-24 Roland McGrath <roland@hack.frob.com>
5895
461a7b1e
RM
5896 * configure.ac: Validate compiler version with a empirical test of
5897 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5898 $CC -v output.
5899 * configure: Regenerated.
5900
70996a37
RM
5901 * inet/htons.c (htons): Prototypify.
5902 * inet/htonl.c (htonl): Likewise.
5903
e80514b5
WD
59042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5905
5906 * string/strncat.c (strncat): Improve performance by using strlen.
5907
6e46de42
WD
59082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5909
5910 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5911
6a9ad2fa
WD
59122014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5913
5914 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5915 Call libc_fetestexcept_aarch64.
5916
1c8810ed
WD
59172014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5918
5919 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5920 Call libc_feholdexcept_aarch64.
5921
8b1af712
WD
59222014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5923
5924 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5925 Call get_rounding_mode.
5926
a7b00c11
WD
59272014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5928
5929 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5930 Simplify logic.
5931
3a84f1a6
WD
59322014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5933
5934 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5935 Simplify logic.
5936
48eb7a94
JM
59372014-10-24 Joseph Myers <joseph@codesourcery.com>
5938
c8bc4038
JM
5939 [BZ #14138]
5940 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5941 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5942 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5943 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5944 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5945 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5946 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5947 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5948 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5949 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5950 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5951 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5952 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5953 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5954 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5955 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5956 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5957 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5958 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5959 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5960 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5961 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5962 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5963 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5964 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5965 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5966 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5967 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5968 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5969 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5970 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5971 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5972 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5973 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5974 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5975 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5977 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5978 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5979 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5980 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5981 syscall.
5982 (geteuid): Likewise.
5983 (getgid): Likewise.
5984 (getuid): Likewise.
5985 (getresgid): Likewise.
5986 (getresuid): Likewise.
5987 (getgroups): Likewise.
5988 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5989 (geteuid): Likewise.
5990 (getgid): Likewise.
5991 (getuid): Likewise.
5992 (getresgid): Likewise.
5993 (getresuid): Likewise.
5994 (getgroups): Likewise.
5995 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5996 (geteuid): Likewise.
5997 (getgid): Likewise.
5998 (getuid): Likewise.
5999 (getresgid): Likewise.
6000 (getresuid): Likewise.
6001 (getgroups): Likewise.
6002 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6003 Likewise.
6004 (geteuid): Likewise.
6005 (getgid): Likewise.
6006 (getuid): Likewise.
6007 (getresgid): Likewise.
6008 (getresuid): Likewise.
6009 (getgroups): Likewise.
6010 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6011 (geteuid): Likewise.
6012 (getgid): Likewise.
6013 (getuid): Likewise.
6014 (getresgid): Likewise.
6015 (getresuid): Likewise.
6016 (getgroups): Likewise.
6017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6018 Likewise.
6019 (geteuid): Likewise.
6020 (getgid): Likewise.
6021 (getuid): Likewise.
6022 (getgroups): Likewise.
6023
48eb7a94
JM
6024 [BZ #14138]
6025 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6026 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6027 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6028 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6029 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6030 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6031 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6032 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6033 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6034 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6035 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6036 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6037 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6038 __chown.
6039 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6040 (lchown): Likewise.
6041 (fchown): Likewise.
6042 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6043 Likewise.
6044 (lchown): Likewise.
6045 (fchown): Likewise.
6046 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6047 (lchown): Likewise.
6048 (fchown): Likewise.
6049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6050 Likewise.
6051 (lchown): Likewise.
6052 (fchown): Likewise.
6053
ea9a7c8b
WD
60542014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6055
6056 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6057 Simplify logic.
6058
e226de33
WD
60592014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6060
6061 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6062 Cleanup logic.
6063
6e3d8ed3
WD
60642014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6065
6066 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6067 Remove unused include.
6068
eb04247d
WD
60692014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6070
6071 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6072 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6073 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6074 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6075
13d84554
CD
60762014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6077 Helge Deller <deller@gmx.de>
6078
6079 [BZ #17508]
6080 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6081 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6082 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6083
15f9c5df
JM
60842014-10-23 Joseph Myers <joseph@codesourcery.com>
6085
6086 [BZ #14132]
6087 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6088 Remove macro definition.
6089 (__ashrdi3_v_glibc20): Likewise.
6090 (__lshrdi3_v_glibc20): Likewise.
6091 (__cmpdi2_v_glibc20): Likewise.
6092 (__ucmpdi2_v_glibc20): Likewise.
6093 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6094 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6095 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6096 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6097 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6098 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6099
c6dfed24
RM
61002014-10-22 Roland McGrath <roland@hack.frob.com>
6101
6102 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6103 old GNU extension [0] syntax.
6104 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6105 alloca rather than an array member with variable length.
6106 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6107 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6108 (parse_opt): ... here. Likewise use alloca there.
6109 Validate the -i argument before checking for rootness.
6110 (send_shutdown): New function, broken out of ...
6111 (parse_opt): ... here.
6112
8c2b1ed8
RM
61132014-10-22 Roland McGrath <roland@hack.frob.com>
6114
6115 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6116 macro to get at the _rt_local_ro field.
6117 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6118 ([PIC] case) or _dl_hwcap ([!PIC] case).
6119 * sysdeps/arm/setjmp.S: Likewise.
6120
6121 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6122 * sysdeps/arm/configure.ac: New check to define it.
6123 * sysdeps/arm/configure: Regenerated.
6124 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6125 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6126 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6127 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6128 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6129 Use move/movt pair instead of a load.
6130 (LDST_GLOBAL): Macro removed.
6131 (LDR_GLOBAL): New macro replaces it.
6132 (LDR_HIDDEN): New macro.
6133 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6134 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6135
6136 * setjmp/tst-setjmp-static.c: New file.
6137 * setjmp/Makefile (tests): Add it.
6138 (tests-static): New variable.
6139
b5af9297
MR
61402014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6141
6142 [BZ #17485]
6143 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6144
a13d0d74
JM
61452014-10-21 Joseph Myers <joseph@codesourcery.com>
6146
6147 [BZ #14132]
6148 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6149
f05e73f6
RM
61502014-10-21 Roland McGrath <roland@hack.frob.com>
6151
6152 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6153
6ab1d1ea
RM
61542014-10-20 Roland McGrath <roland@hack.frob.com>
6155
6156 * io/fts.c (dirent_not_directory): New function.
6157 (fts_build): Call it.
6158
ab49e763
RM
61592014-10-20 Roland McGrath <roland@hack.frob.com>
6160
e436eb79
RM
6161 * nptl/version.c (__nptl_main): Use normal __write rather than
6162 INTERNAL_SYSCALL.
6163 (banner): Update copyright years.
6164
6af246cf
RM
6165 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6166 gettimeofday.
6167 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6168 * nptl/pthread_cond_timedwait.c: Likewise.
6169 * nptl/pthread_mutex_timedlock.c: Likewise.
6170 * nptl/sem_timedwait.c: Likewise.
6171
ab49e763
RM
6172 * sysdeps/nptl/bits/libc-lock.h
6173 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6174 (__libc_lock_init_recursive): Return void, not 0.
6175 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6176 (__libc_rwlock_init): Likewise.
6177 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6178
f50277c1
TR
61792014-10-20 Torvald Riegel <triegel@redhat.com>
6180
6181 [BZ #15215]
6182 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6183 (__pthread_once_slow): ... here.
6184 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6185 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6186
63668b70
TR
61872014-10-20 Torvald Riegel <triegel@redhat.com>
6188
6189 [BZ #15215]
6190 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6191 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6192 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6193 * nptl/pthread_once.c (__pthread_once): Likewise.
6194 Update comments.
6195
42b7f5d4
JM
61962014-10-20 Joseph Myers <joseph@codesourcery.com>
6197
6198 [BZ #14138]
6199 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6200 name.
6201 (writev): Use __libc_writev as strong name.
6202 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6203 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6204
b0643088
RM
62052014-10-17 Roland McGrath <roland@hack.frob.com>
6206
114c4e09
RM
6207 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6208
674b8978
RM
6209 * sysdeps/i386/nptl/tls.h
6210 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6211 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6212 New macros.
6213 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6214 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6215 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6216 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6217 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6218 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6219
184ee940
RM
6220 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6221 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6222 on [__NR_futex].
6223 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6224 broken out of ...
6225 (__pthread_mutex_init): ... here. Call it.
6226 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6227 Conditionalize PI cases on [__NR_futex].
6228 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6229 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6230 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6231
327ae257
RM
6232 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6233 conditional on [SIGSETXID].
6234 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6235 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6236 is defined. Likewise for SIGSETXID.
6237 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6238 Conditionalize definitions on [SIGSETXID].
6239 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6240 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6241 unblocking on [SIGCANCEL].
6242
b0643088
RM
6243 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6244 [__NR_set_robust_list].
6245
33cc770b
SP
62462014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6247
6248 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6249 (do_compare): Likewise.
6250
0742aef6
LH
62512014-10-17 Leonhard Holz <leonhard.holz@web.de>
6252
6253 [BZ #15884]
6254 * string/strcoll_l.c: Don't include stdio.h.
6255 (coll_seq): Remove members idxarr and rulearr.
6256 (get_next_seq_cached): Remove function.
6257 (get_next_seq): Likewise.
6258 (get_next_seq_nocache): Rename to get_next_seq.
6259 (do_compare): Remove function.
6260 (do_compare_nocache): Rename to do_compare.
6261 (STRCOLL): Remove weight and rules cache.
6262
ee54ce44
RM
62632014-10-16 Roland McGrath <roland@hack.frob.com>
6264
6265 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6266 * sysdeps/arm/sfp-machine.h: ... to here.
6267 * sysdeps/arm/Implies: Remove arm/soft-fp.
6268
a75d3b02
JM
62692014-10-14 Joseph Myers <joseph@codesourcery.com>
6270
6271 * conform/data/sys/utsname.h-data (*_t): Allow.
6272 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6273 [POSIX] (WEXITED): Do not expect constant.
6274 [POSIX] (WSTOPPED): Likewise.
6275 [POSIX] (WNOHANG): Likewise.
6276 [POSIX] (WNOWAIT): Likewise.
6277 [POSIX] (siginfo_t): Do not expect type or elements.
6278 [POSIX] (pid_t): Do not expect type.
6279 [POSIX] (signal.h): Do not allow header.
6280 [POSIX] (sys/resource.h): Likewise.
6281 [POSIX] (si_*): Do not allow pattern.
6282 [POSIX] (W*): Likewise.
6283 [POSIX] (P_*): Likewise.
6284 [POSIX] (BUS_*): Likewise.
6285 [POSIX] (CLD_*): Likewise.
6286 [POSIX] (FPE_*): Likewise.
6287 [POSIX] (ILL_*): Likewise.
6288 [POSIX] (POLL_*): Likewise.
6289 [POSIX] (SEGV_*): Likewise.
6290 [POSIX] (SI_*): Likewise.
6291 [POSIX] (TRAP_*): Likewise.
6292 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6293 variable.
6294
fda389c8
SP
62952014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6296
6297 [BZ #12926]
6298 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6299 infinite loop when __recvmsg returns 0.
6300
6bc6bd3b
JM
63012014-10-10 Joseph Myers <joseph@codesourcery.com>
6302
fcb32af1
JM
6303 * CANCEL-FCT-WAIVE: Remove file.
6304 * CANCEL-FILE-WAIVE: Likewise.
6305
6bc6bd3b
JM
6306 [BZ #14132]
6307 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6308 instead of INTVARDEF.
6309 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6310 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6311 rtld_hidden_data_def instead of INTVARDEF.
6312 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6313 * elf/dl-deps.c (expand_dst): Likewise.
6314 * elf/dl-load.c (_dl_dst_count): Likewise.
6315 (_dl_dst_substitute): Likewise.
6316 (decompose_rpath): Likewise.
6317 (_dl_init_paths): Likewise.
6318 (open_path): Likewise.
6319 (_dl_map_object): Likewise.
6320 * elf/rtld.c (dl_main): Likewise.
6321 (process_dl_audit): Likewise.
6322 (process_envvars): Likewise.
6323 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6324 Remove declaration.
6325 (__libc_enable_secure): Use rtld_hidden_proto.
6326
b8c80a7e
KS
63272014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6328
6329 * elf/dl-load.c
6330 (add_path): New function broken out of _dl_rtld_di_serinfo.
6331 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6332
ff12c11f
JM
63332014-10-09 Joseph Myers <joseph@codesourcery.com>
6334
5c0508a3
JM
6335 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6336 parentheses around macro arguments.
6337 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6339 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6340 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6341 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6342 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6343 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6344 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6346 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6347 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6348 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6349 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6350 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6351 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6352 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6353 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6354 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6355 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6357 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6358 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6359 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6360 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6362 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6363 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6364 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6365 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6366 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6367 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6368 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6369 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6370 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6371 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6372 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6373 Likewise.
6374 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6375 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6376 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6378 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6379 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6380 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6381 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6382 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6383 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6384 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6385 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6386 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6389 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6391 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6395 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6396 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6397 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6398 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6399 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6400 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6401 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6402 (_FP_FRAC_SRS_1): Likewise.
6403 (_FP_FRAC_CLZ_1): Likewise.
6404 (_FP_MUL_MEAT_1_imm): Likewise.
6405 (_FP_MUL_MEAT_1_wide): Likewise.
6406 (_FP_MUL_MEAT_1_hard): Likewise.
6407 (_FP_SQRT_MEAT_1): Likewise.
6408 (_FP_FRAC_ASSEMBLE_1): Likewise.
6409 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6410 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6411 (__FP_CLZ_2): Likewise.
6412 (_FP_MUL_MEAT_2_wide): Likewise.
6413 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6414 (_FP_MUL_MEAT_2_gmp): Likewise.
6415 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6416 (_FP_SQRT_MEAT_2): Likewise.
6417 (_FP_FRAC_ASSEMBLE_2): Likewise.
6418 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6419 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6420 (_FP_FRAC_CLZ_4): Likewise.
6421 (_FP_MUL_MEAT_4_wide): Likewise.
6422 (_FP_MUL_MEAT_4_gmp): Likewise.
6423 (_FP_SQRT_MEAT_4): Likewise.
6424 (_FP_FRAC_ASSEMBLE_4): Likewise.
6425 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6426 * soft-fp/op-common.h (_FP_CMP): Likewise.
6427 (_FP_CMP_EQ): Likewise.
6428 (_FP_CMP_UNORD): Likewise.
6429 (_FP_TO_INT): Likewise.
6430 (_FP_FROM_INT): Likewise.
6431 [!__FP_CLZ] (__FP_CLZ): Likewise.
6432 (_FP_DIV_HELP_imm): Likewise.
6433 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6434 Likewise.
6435 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6437 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6439 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6440 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6441 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6444 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6445 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6446 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6447 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6448 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6449 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6450 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6451 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6452 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6453 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6455 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6457 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6462 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6463 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6464 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6465 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6466 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6467 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6468 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6469 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6470 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6471 (FP_UNPACK_RAW_SP): Likewise.
6472 (FP_PACK_RAW_S): Likewise.
6473 (FP_PACK_RAW_SP): Likewise.
6474 (FP_UNPACK_S): Likewise.
6475 (FP_UNPACK_SP): Likewise.
6476 (FP_UNPACK_SEMIRAW_S): Likewise.
6477 (FP_UNPACK_SEMIRAW_SP): Likewise.
6478 (FP_PACK_S): Likewise.
6479 (FP_PACK_SP): Likewise.
6480 (FP_PACK_SEMIRAW_S): Likewise.
6481 (FP_PACK_SEMIRAW_SP): Likewise.
6482 (_FP_SQRT_MEAT_S): Likewise.
6483 (FP_CMP_S): Likewise.
6484 (FP_CMP_EQ_S): Likewise.
6485 (FP_CMP_UNORD_S): Likewise.
6486 (FP_TO_INT_S): Likewise.
6487 (FP_FROM_INT_S): Likewise.
6488
a736ec37
JM
6489 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6490
ff12c11f
JM
6491 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6492 (FP_EX_INVALID_IMZ): Likewise.
6493 (FP_EX_INVALID_IMZ_FMA): Likewise.
6494 (FP_EX_INVALID_ISI): Likewise.
6495 (FP_EX_INVALID_ZDZ): Likewise.
6496 (FP_EX_INVALID_IDI): Likewise.
6497 (FP_EX_INVALID_SQRT): Likewise.
6498 (FP_EX_INVALID_CVI): Likewise.
6499 (FP_EX_INVALID_VC): Likewise.
6500 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6501 "invalid" exceptions.
6502 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6503 (_FP_ADD_INTERNAL): Likewise.
6504 (_FP_MUL): Likewise.
6505 (_FP_FMA): Likewise.
6506 (_FP_DIV): Likewise.
6507 (_FP_CMP_CHECK_NAN): Likewise.
6508 (_FP_SQRT): Likewise.
6509 (_FP_TO_INT): Likewise.
6510 (FP_EXTEND): Likewise.
6511
b6dcfe8c
AM
65122014-10-09 Allan McRae <allan@archlinux.org>
6513
6514 * po/fr.po: Update French translation from translation project.
6515
2d6a47ba
JM
65162014-10-09 Joseph Myers <joseph@codesourcery.com>
6517
cb831245
JM
6518 [BZ #14132]
6519 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6520 of INTDEF.
6521 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6522 (__cxa_atexit): Use libc_hidden_proto.
6523 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6524
5deeb190
JM
6525 [BZ #14132]
6526 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6527 declaration.
6528 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6529 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6530 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6531 [!_ISOMAC] (__iswctype_internal): Likewise.
6532 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6533 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6534 alias.
6535 (fcntl): Remove __fcntl_internal alias.
6536 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6537 __connect_internal alias.
6538 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6539 Likewise.
6540
454ac701
JM
6541 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6542 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6543 FP_DENORM_ZERO.
6544 (_FP_CHECK_FLUSH_ZERO): New macro.
6545 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6546 (_FP_CMP): Likewise.
6547 (_FP_CMP_EQ): Likewise.
6548 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6549 FP_DENORM_ZERO.
6550 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6551 (FP_TRUNC): Likewise.
6552
0022e688
JM
6553 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6554 treated as invalid conversion, not as normal exponent.
6555
73e28d9c
JM
6556 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6557 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6558 (_FP_CMP_EQ): Likewise.
6559 (_FP_CMP_UNORD): Likewise.
6560 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6561 (FP_CMP_EQ_D): Likewise.
6562 (FP_CMP_UNORD_D): Likewise.
6563 * soft-fp/extended.h (FP_CMP_E): Likewise.
6564 (FP_CMP_EQ_E): Likewise.
6565 (FP_CMP_UNORD_E): Likewise.
6566 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6567 (FP_CMP_EQ_Q): Likewise.
6568 (FP_CMP_UNORD_Q): Likewise.
6569 * soft-fp/single.h (FP_CMP_S): Likewise.
6570 (FP_CMP_EQ_S): Likewise.
6571 (FP_CMP_UNORD_S): Likewise.
6572 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6573 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6574 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6575 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6576 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6577 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6578 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6579 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6580 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6581 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6582 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6583 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6584 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6585 to FP_CMP_Q.
6586 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6587 FP_CMP_Q.
6588 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6589 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6590 FP_CMP_EQ_Q.
6591 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6592 FP_CMP_Q.
6593 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6594 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6595 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6596 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6597 FP_CMP_EQ_Q.
6598 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6599 FP_CMP_Q.
6600 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6601 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6602 FP_CMP_EQ_Q.
6603 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6604 FP_CMP_Q.
6605 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6606 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6607 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6608 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6609 FP_CMP_EQ_Q.
6610
43059f42
JM
6611 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6612 a subnormal result, set the underflow exception if trapping on
6613 underflow is enabled.
6614 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6615 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6616 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6617 redefine to 0.
6618 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6619 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6620 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6621 * soft-fp/extendxftf2.c (__extendxftf2): Use
6622 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6623
2d6a47ba
JM
6624 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6625 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6626 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6627 FP_HANDLE_EXCEPTIONS.
6628 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6629 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6630 FP_HANDLE_EXCEPTIONS.
6631 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6632 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6633 FP_HANDLE_EXCEPTIONS.
6634 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6635 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6636 FP_HANDLE_EXCEPTIONS.
6637
620f462e
JM
66382014-10-08 Joseph Myers <joseph@codesourcery.com>
6639
6640 [BZ #14132]
6641 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6642 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6643 use INTUSE.
6644 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6645 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6646 Remove alias.
6647 (__adjtimex): Define using libc_hidden_ver.
6648 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6649 Remove declaration.
6650 (ntp_gettime): Call __adjtimex directly.
6651 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6652 Remove declaration.
6653 (ntp_gettimex): Call __adjtimex directly.
6654 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6655 __adjtimex_internal alias.
6656
c763c5d2
RM
66572014-10-08 Roland McGrath <roland@hack.frob.com>
6658
6659 [BZ #17460]
6660 * nscd/nscd.c (more_help): Rewrite list of tables collection
6661 using xstrdup and asprintf.
6662
6663 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6664
7b8fb2b8
RM
66652014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6666 Roland McGrath <roland@hack.frob.com>
6667
6668 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6669 (do_lookup_unique): ... local function 'enter' here; update callers.
6670
abb280f7
JM
66712014-10-06 Joseph Myers <joseph@codesourcery.com>
6672
f7b42517
JM
6673 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6674 compat_symbol calls on [SHARED].
6675 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6676 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6677 Remove.
6678 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6679 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6680 (oldsetrlimit): Remove.
6681 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6683 (lchown): New syscall entry.
6684 (oldsetrlimit): Remove.
6685 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6687 (oldsetrlimit): Remove.
6688 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6689
abb280f7
JM
6690 [BZ #14138]
6691 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6692 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6693 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6694 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6695 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6696 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6697 (fchown): Likewise.
6698 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6699 (fchown): Likewise.
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6701 Likewise.
6702
47d46237
AZ
67032014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6704
6705 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6706 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6707 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6708 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6709 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6710 Likewise.
6711 (__old_sem_post): Likewise.
6712
67132014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6714
845a7343
CM
6715 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6716 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6717 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6718 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6719 Use INLINE_VSYSCALL macro.
6720 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6721 __vdso_clock_gettime.
6722 * sysdeps/unix/sysv/linux/tile/init-first.c
6723 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6724 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6725 __vdso_clock_gettime.
6726
83d641ef
CM
6727 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6728 to set up frame more cleanly.
6729
d9cd52e6
CM
6730 * sysdeps/tile/memcmp.c: New file.
6731
4b68ea11
CM
6732 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6733
c86f7b80
CM
6734 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6735 * sysdeps/tile/tilegx/strcasestr.c: New file.
6736 * sysdeps/tile/tilegx/strnlen.c: New file.
6737 * sysdeps/tile/tilegx/strstr.c: New file.
6738
1c4c1a6f
CM
6739 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6740
99d86ea3
AS
67412014-10-06 Arjun Shankar <arjun.is@lostca.se>
6742
6743 * nptl/tst-setuid3.c: Write errors to stdout.
6744
06210a44
KS
67452014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6746
6747 * elf/dl-deps.c
6748 (preload): New functions broken out of _dl_map_object_deps.
6749 (_dl_map_object_deps): Remove a nested function. Update call sites.
6750
6268f532
JM
67512014-10-01 Joseph Myers <joseph@codesourcery.com>
6752
6753 [BZ #14138]
6754 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6755 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6756
b925285f
SE
67572014-10-01 Steve Ellcey <sellcey@mips.com>
6758
6759 * sysdeps/mips/strcmp.S: New.
6760
754a15c6
JM
67612014-09-30 Joseph Myers <joseph@codesourcery.com>
6762
6763 [BZ #14138]
6764 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6765 (linkat): Likewise.
6766 (mkdirat): Likewise.
6767 (readlinkat): Likewise.
6768 (renameat): Likewise.
6769 (symlinkat): Likewise.
6770 (unlinkat): Likewise.
6771 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6772 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6773 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6774 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6775 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6776 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6777 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6778
85bb81c9
WN
67792014-09-30 Will Newton <will.newton@linaro.org>
6780
dc6fe23b
WN
6781 * math/math.h: Define long double math functions if
6782 _LIBC_TEST is defined.
6783 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6784
85bb81c9
WN
6785 * localedata/Makefile: Move assignment to tests-special
6786 into an ifdef testing run-built-tests.
6787 * timezone/Makefile: Likewise.
6788
b7e02da4
JM
67892014-09-29 Joseph Myers <joseph@codesourcery.com>
6790
6791 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6792 with $(BASH) not $(SHELL).
6793
62058ce6
CD
67942014-09-29 Carlos O'Donell <carlos@redhat.com>
6795 Matthew LeGendre <legendre1@llnl.gov>
6796
6797 [BZ #17411]
6798 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6799 l_reloc_result.
6800
8e257a29
KS
68012014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6802
6803 * stdio-common/printf_fp.c
6804 (hack_digit): New function, broken out of ...
6805 (__printf_fp): ... local function here. Update call sites.
6806 hack_digit now takes an additional parameter that is a pointer
6807 to a struct of the referenced locals. Those locals moved inside
6808 the struct and references updated.
6809
f4a58f0d
L
68102014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6811
6812 * aclocal.m4: Require autoconf 2.69.
6813 * configure: Regenerated.
6814 * sysdeps/aarch64/configure: Likewise.
6815 * sysdeps/alpha/configure: Likewise.
6816 * sysdeps/arm/armv7/configure: Likewise.
6817 * sysdeps/arm/configure: Likewise.
6818 * sysdeps/ia64/configure: Likewise.
6819 * sysdeps/mach/configure: Likewise.
6820 * sysdeps/mips/configure: Likewise.
6821 * sysdeps/s390/configure: Likewise.
6822 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6824
6825 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6826 file.
6827 * sysdeps/ia64/configure.ac: Likewise.
6828
93ae1eba
JM
68292014-09-26 Joseph Myers <joseph@codesourcery.com>
6830
1810d3ab
JM
6831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6832 specify symbol version for ld.so. Do not include entry for
6833 libpthread.
6834 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6835 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6836 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6837
93ae1eba
JM
6838 [BZ #14171]
6839 * Makeconfig [$(build-shared) = yes]
6840 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6841 makefiles.
6842 [$(build-shared) = yes && $(soversions.mk-done) = t]
6843 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6844 [$(build-shared) = yes && $(soversions.mk-done) = t]
6845 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6846 to Makerules.
6847 [$(build-shared) = yes && $(soversions.mk-done) = t]
6848 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6849 here.
6850 [$(build-shared) = yes && $(soversions.mk-done) = t]
6851 (common-generated): Don't append gnu/lib-names.h and
6852 gnu/lib-names.stmp here.
6853 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6854 (lib-names-h-abi): New variable.
6855 [$(build-shared) = yes && $(soversions.mk-done) = t]
6856 (lib-names-stmp-abi): Likewise.
6857 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6858 abi-variants] (before-compile): Append
6859 $(common-objpfx)$(lib-names-h-abi).
6860 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6861 abi-variants] (common-generated): Append gnu/lib-names.h.
6862 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6863 abi-variants] (install-others-nosubdir): Depend on
6864 $(inst_includedir)/$(lib-names-h-abi).
6865 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6866 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6867 [$(build-shared) = yes && $(soversions.mk-done) = t]
6868 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6869 [$(build-shared) = yes && $(soversions.mk-done) = t]
6870 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6871 [$(build-shared) = yes && $(soversions.mk-done) = t]
6872 (common-generated): Append $(lib-names-h-abi) and
6873 $(lib-names-stmp-abi).
6874 * scripts/lib-names.awk: Do not handle multi being set.
6875 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6876 Remove variable.
6877 (abi-lp64_be-ld-soname): Likewise.
6878 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6879 Likewise.
6880 (abi-hard-ld-soname): Likewise.
6881 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6882 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6883 Remove variable.
6884 (abi-o32_hard-ld-soname): Likewise.
6885 (abi-o32_soft_2008-ld-soname): Likewise.
6886 (abi-o32_hard_2008-ld-soname): Likewise.
6887 (abi-n32_soft-ld-soname): Likewise.
6888 (abi-n32_hard-ld-soname): Likewise.
6889 (abi-n32_soft_2008-ld-soname): Likewise.
6890 (abi-n32_hard_2008-ld-soname): Likewise.
6891 (abi-n64_soft-ld-soname): Likewise.
6892 (abi-n64_hard-ld-soname): Likewise.
6893 (abi-n64_soft_2008-ld-soname): Likewise.
6894 (abi-n64_hard_2008-ld-soname): Likewise.
6895 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6896 Likewise.
6897 (abi-64-v2-ld-soname): Likewise.
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6899 ld.so entries.
6900 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6901 variable.
6902 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6903 entry.
6904 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6905 variable.
6906 (abi-64-ld-soname): Likewise.
6907 (abi-x32-ld-soname): Likewise.
6908 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6909 entry.
6910 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6911
68870f12
JM
69122014-09-23 Joseph Myers <joseph@codesourcery.com>
6913
6914 [BZ #14138]
6915 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6916 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6917 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6918 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6919 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6920 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6921 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6922 syscall entry for GLIBC_2.2 symbol version.
6923 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6924 Likewise.
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6926 (setrlimit): Likewise.
6927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6928 Likewise.
6929
ea58f202
WN
69302014-09-23 Will Newton <will.newton@linaro.org>
6931
6932 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6933 _LINUX_ARM_SYSDEP_H include guard too.
6934 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6935 define.
6936
69eb9a18
RV
69372014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6938
6939 * sysdeps/unix/sysv/linux/eventfd.c:
6940 Make first argument unsigned.
6941 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6942 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6943
20e5a5f7
OB
69442014-09-20 Ondřej Bílka <neleai@seznam.cz>
6945
6946 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6947 * socket/sys/socket.h: Likewise
6948 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6949
d3c827e7
AK
69502014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6951
6952 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6953
fe1cc35a
AS
69542014-09-17 Arjun Shankar <arjun.is@lostca.se>
6955
6956 * time/tst-ftime.c: New test.
6957 * time/Makefile (tests): Add tst-ftime.
6958
4e8afe69
JM
69592014-09-17 Joseph Myers <joseph@codesourcery.com>
6960
c4fe3ea7
JM
6961 * soft-fp/extended.h: Fix comment formatting.
6962 * soft-fp/op-1.h: Likewise.
6963 * soft-fp/op-2.h: Likewise.
6964 * soft-fp/op-4.h: Likewise.
6965 * soft-fp/op-8.h: Likewise.
6966 * soft-fp/op-common.h: Likewise.
6967 * soft-fp/soft-fp.h: Likewise.
6968
4e8afe69
JM
6969 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6970
af296fcd
JM
69712014-09-16 Joseph Myers <joseph@codesourcery.com>
6972
6973 [BZ #6652]
6974 * Makeconfig (soversions-default-setname): Remove variable.
6975 ($(common-objpfx)soversions.i): Don't pass default_setname to
6976 soversions.awk.
6977 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6978 oldest_abi to abi-versions.awk.
6979 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6980 * config.make.in (oldest-abi): Remove variable.
6981 * configure.ac (--enable-oldest-abi): Remove configure option.
6982 * configure: Regenerated.
6983 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6984 text.
6985 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6986 * scripts/soversions.awk: Do not handle default_setname variable.
6987 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6988 variable.
6989 * sysdeps/mach/hurd/configure: Regenerated.
6990 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6991 variable.
6992 * sysdeps/unix/sysv/linux/configure: Regenerated.
6993
545583d6
SP
69942014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6995
d330b980
SP
6996 * elf/Makefile (CFLAGS-interp.c): Remove.
6997 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6998 path string.
6999 * elf/interp.c: Include generated runtime-linker.h
7000
02657da2
SP
7001 * Makerules (lib%.so): Don't include $(+interp) in
7002 prerequisites.
7003 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7004 * dlfcn/eval.c: Remove file.
7005
653b1080
SP
7006 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7007 macros.
7008
602f80ec
SP
7009 [BZ #17266]
7010 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7011 4.2 and newer.
7012
545583d6
SP
7013 [BZ #17370]
7014 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7015
884ddc50
SP
70162014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7017 Jakub Jelinek <jakub@redhat.com>
7018
7019 [BZ #17266]
7020 * libio/stdio.h: Check definition of __fortify_function
7021 instead of __extern_always_inline to include bits/stdio2.h.
7022 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7023 check if __extern_always_inline is defined.
7024 [__USE_MISC || __USE_XOPEN]: Likewise.
7025 [__USE_ISOC99] Likewise.
7026 * misc/sys/cdefs.h (__fortify_function): Define only if
7027 __extern_always_inline is defined.
7028 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7029 __extern_always_inline and __extern_inline only for g++-4.3
7030 and newer or a compatible gcc.
7031
a7b87268
AS
70322014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7033
7034 [BZ #17371]
7035 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7036 last change to handle zero prefix length.
7037
3f41521d
SP
70382014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7039
61fe374a
SP
7040 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7041 _SC_REGEX_VERSION.
7042
3f41521d
SP
7043 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7044 _POSIX_RAW_SOCKETS.
7045
d8f879ee
AM
70462014-09-13 Allan McRae <allan@archlinux.org>
7047
7048 * po/ru.po: Update Russian translation from translation project.
7049
c079afb7
RM
70502014-09-12 Roland McGrath <roland@hack.frob.com>
7051
a62b3c15
RM
7052 * locale/programs/locale.c (show_locale_vars): Inline local function
7053 into its sole call site. Clean up some style nits.
7054 (print_item): New function, broken out of ...
7055 (show_info): ... local function here. Clean up style nits.
7056
d7e49b19
RM
7057 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7058 out of ...
7059 (set_class_defaults): ... local function set_default here.
7060 Define set_default as a macro locally to pass constant parameters.
7061 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7062 rather than a shared local.
7063
c079afb7
RM
7064 * stdlib/rpmatch.c (try): New function, broken out of ...
7065 (rpmatch): ... local function here. Also, prototypify definition.
7066
0bd72468
JM
70672014-09-12 Joseph Myers <joseph@codesourcery.com>
7068
ba90e050
JM
7069 * scripts/soversions.awk: Do not handle configuration names.
7070 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7071 vendor and os variables to soversions.awk.
7072 * configure.ac: Do not modify gnu-* host_os.
7073 * configure: Regenerated
7074 * shlib-versions: Remove first column with configuration names.
7075 * nptl/shlib-versions: Likewise.
7076 * nptl_db/shlib-versions: Likewise.
7077 * sysdeps/hppa/shlib-versions: Likewise.
7078 * sysdeps/m68k/shlib-versions: Likewise.
7079 * sysdeps/mach/hurd/shlib-versions: Likewise.
7080 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7081 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7082 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7083 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7084 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7085 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7086 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7087 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7089 Likewise.
7090 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7091 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7092 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7093 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7094 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7095 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7096 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7097 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7098
73a39112
JM
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7100 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7102 Regenerated.
7103 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7105 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7106
c729e7c1
JM
7107 * shlib-versions: Remove OS-specific entries. Moved to files in
7108 sysdeps.
7109 * sysdeps/mach/hurd/shlib-versions: New file.
7110 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7111
dc932a24
JM
7112 * nptl/shlib-versions: Remove architecture-specific entries.
7113 Moved to files in sysdeps.
7114 * shlib-versions: Likewise.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7116 file.
7117 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7118 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7119 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7120 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7121
0bd72468
JM
7122 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7123 (UDP_NO_CHECK6_RX): Likewise.
7124
920238e0
SP
71252014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7126
7127 * sysdeps/posix/sysconf.c (__sysconf): Spell
7128 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7129
ba7b4d29
FW
71302014-08-12 Florian Weimer <fweimer@redhat.com>
7131
7132 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7133 loading.
7134 * iconv/Versions (__gconv_transliterate): Export for use from
7135 gconv modules.
7136 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7137 (struct __gconv_trans_data, __gconv_trans_fct,
7138 __gconv_trans_context_fct, __gconv_trans_query_fct,
7139 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7140 definitions.
7141 (struct __gconv_step_data): Remove __trans member.
7142 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7143 longer hidden. Remove unused trans_data argument.
7144 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7145 (__gconv_translit_find): Remove declaration.
7146 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7147 prototype.
7148 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7149 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7150 trans_data argument. Add hidden definition.
7151 (__gconv_translit_find): Remove.
7152 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7153 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7154 * iconv/skeleton.c: Remove transliteration initialization.
7155 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7156 __gconv_step_data initialization.
7157 * libio/iofwide.c (__libio_translit_): Remove.
7158 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7159 * wcsmbs/btowc.c (__btowc): Likewise.
7160 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7161 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7162 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7163 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7164 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7165 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7166 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7167 * wcsmbs/wctob.c (wctob): Likewise.
7168
5379aebd
SP
71692014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7170
7171 [BZ #16194]
7172 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7173 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7174 register usage.
7175 * sysdeps/x86/Makefile: Adjust.
7176
8c0ab919
RM
71772014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7178 Roland McGrath <roland@hack.frob.com>
7179
7180 * locale/weight.h: Add include guard.
7181 (findidx): Make static rather than auto; take new parameters
7182 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7183 * locale/weightwc.h: Likewise.
7184 * posix/fnmatch_loop.c
7185 (FCT): Change type of EXTRA from int32_t to wint_t.
7186 Don't include either header inside the function.
7187 Call FINDIDX rather than findidx, and pass new arguments.
7188 #undef FINDIDX at the end of the file.
7189 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7190 FINDIDX before including fnmatch_loop.c for the non-wide version.
7191 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7192 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7193 for the wide version.
7194 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7195 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7196 Pass new arguments to findidx.
7197 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7198 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7199 Don't #include it inside the function. Pass new arguments to findidx.
7200 * posix/regex_internal.h
7201 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7202 (re_string_elem_size_at): Don't #include it inside the function.
7203 Pass new arguments to findidx.
7204 * string/strcoll_l.c: #include WEIGHT_H at top level.
7205 (get_next_seq): Don't #include it inside the function.
7206 Pass new arguments to findidx.
7207 (get_next_seq_nocache): Likewise.
7208 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7209 (STRXFRM): Don't #include it inside the function.
7210 Pass new arguments to findidx.
7211
52ffbdf2
FW
72122014-09-11 Florian Weimer <fweimer@redhat.com>
7213
7214 [BZ #17344]
7215 * malloc/malloc.c (unlink): Turn asserts into a call to
7216 malloc_printerr.
7217
984c0ea9
TL
72182014-09-11 Tim Lammens <tim.lammens@gmail.com>
7219
7220 [BZ #17370]
7221 * libio/wfileops (do_ftell_wide): Free OUT.
7222
3daee107
CM
72232014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7224
7225 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7226
58b930ae
SP
72272014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7228
7229 [BZ #17363]
7230 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7231 group if the current group is empty.
7232
3b473fec
AZ
72332014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7234
71ae8647
AZ
7235 * benchtests/bench-memset.c (test_main): Add more test from size
7236 from 32 to 512 bytes.
7237 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7238 Add POWER8 memset object.
7239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7240 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7241 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7242 implementation.
7243 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7244 Likewise.
7245 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7246 multiarch POWER8 memset optimization.
7247 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7248 POWER8 memset optimization.
7249
3b473fec
AZ
7250 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7251 Remove bzero multiarch objects.
7252 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7253 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7254 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7255 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7256 Remove define.
7257 [__bzero]: Redefine to specific name.
7258 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7259 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7260 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7261 define.
7262 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7263 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7264
e6fb9587
FW
72652014-09-10 Florian Weimer <fweimer@redhat.com>
7266
7267 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7268 warnings into errors.
7269
7270 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7271 __cxa_thread_atexit_impl prototype.
7272
9d3a350b
SE
72732014-09-09 Steve Ellcey <sellcey@mips.com>
7274
7275 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7276 Fix capitalization of error message.
7277
0febba23
SE
72782014-09-09 Steve Ellcey <sellcey@mips.com>
7279
7280 * sysdeps/mips/preconfigure: Modify ABI tests.
7281
645a0e9c
CD
72822014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7283
7284 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7285
d83f0734
CD
72862014-09-07 Roland McGrath <roland@hack.frob.com>
7287 Carlos O'Donell <carlos@systemhalted.org>
7288
7289 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7290 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7291 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7292 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7293 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7294 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7295 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7296 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7297 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7298 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7299 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7300 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7301 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7302 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7303 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7304 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7305 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7306 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7307 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7308 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7309 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7310 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7311 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7312 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7313 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7314 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7315 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7316 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7317 Deconditionalize the code that was previously under [RESET_PID].
7318 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7319 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7320 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7321 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7322 include sysdep.h.
7323
21c83793
AM
73242014-09-08 Allan McRae <allan@archlinux.org>
7325
7326 * version.h (RELEASE): Set to "development".
7327 (VERSION): Set to "2.20.90"
7328
1cd9b65c
AM
73292014-09-07 Allan McRae <allan@archlinux.org
7330
b8079dd0
AM
7331 * version.h (RELEASE): Set to "stable".
7332 (VERSION): Set to "2.20"
7333 * include/features.h (__GLIBC_MINOR__): Set to 20.
7334
c46303ef
AM
7335 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7336 Liebler.
7337
1cd9b65c
AM
7338 * po/ko.po: Update Korean translation from translation project.
7339
8622092d
CM
73402014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7341
7342 [BZ #17354]
7343 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7344 macro for handling signed relocations.
7345
41488498
FW
73462014-09-03 Florian Weimer <fweimer@redhat.com>
7347
7348 [BZ #17325]
7349 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7350 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7351 assert.
7352 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7353 * iconvdata/ibm935.c (BODY): Likewise.
7354 * iconvdata/ibm937.c (BODY): Likewise.
7355 * iconvdata/ibm939.c (BODY): Likewise.
7356 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7357 assert.
7358 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7359 script.
7360 * iconvdata/run-iconv-test.sh: New test loop for checking for
7361 decoder crashers.
7362
a78b712d
KR
73632014-09-02 Khem Raj <raj.khem@gmail.com>
7364
7365 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7366 libm_hidden_ver.
7367
cb08abc6
AM
73682014-09-01 Allan McRae <allan@archlinux.org>
7369
2c31e102
AM
7370 * po/eo.po: Update Esperanto translation from translation project.
7371
cb08abc6
AM
7372 * po/ca.po: Update Catalan translation from translation project.
7373
17a62de1
ST
73742014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7375
7376 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7377 __proc_dostop call.
7378
9570bc53
MW
73792014-08-27 Mark Wielaard <mjw@redhat.com>
7380
7381 [BZ #17319]
7382 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7383 to call set_thread_area instead of hand written asm.
7384 (__NR_set_thread_area): Removed define.
7385 (TLS_FLAG_WRITABLE): Likewise.
7386 (__ASSUME_SET_THREAD_AREA): Remove check.
7387 (TLS_EBX_ARG): Remove define.
7388 (TLS_LOAD_EBX): Likewise.
7389
b0f955c9
ST
73902014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7391
7392 Simplify atomicity of socket creation in bind.
7393
7394 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7395 looking up the name after linking the file.
7396
529bf515
AM
73972014-08-27 Allan McRae <allan@archlinux.org>
7398
7399 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7400
a1a6a401
FW
74012014-08-26 Florian Weimer <fweimer@redhat.com>
7402
7403 [BZ #17187]
7404 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7405 trans_compare, open_translit, __gconv_translit_find):
7406 Remove module loading code.
7407
686ab290
AM
74082014-08-26 Allan McRae <allan@archlinux.org>
7409
e4e7cfd2
AM
7410 * po/vi.po: Update Vietnamese translation from translation project.
7411
6aa09f71
AM
7412 * po/uk.po: Update Ukrainian translation from translation project.
7413
edc0660e
AM
7414 * po/fr.po: Update French translation from translation project.
7415
7eea72ac
AM
7416 * po/ru.po: Update Russian translation from translation project.
7417
93c49eff
AM
7418 * po/pl.po: Update Polish translation from translation project.
7419
46acaf63
AM
7420 * po/cs.po: Update Czech translation from translation project.
7421
a9f5ce98
AM
7422 * po/de.po: Update German translation from translation project.
7423
373f2b78
AM
7424 * po/bg.po: Update Bulgarian translation from translation project.
7425
e7548bd8
AM
7426 * po/sv.po: Update Sweedish translation from translation project.
7427
c526bf4d
AM
7428 * po/nl.po: Update Dutch translation from translation project.
7429
686ab290
AM
7430 * po/es.po: Update Spanish translation from translation project.
7431
eb72478a
SP
74322014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7433
dd763fdb
SP
7434 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7435
318c7a58
SP
7436 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7437 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7438 (CPPFLAGS-iconvconfig): Likewise.
7439 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7440
eb72478a
SP
7441 * include/libc-symbols.h: Remove unnecessary check for
7442 NOT_IN_libc.
7443 * nptl/pthreadP.h: Likewise.
7444 * sysdeps/aarch64/setjmp.S: Likewise.
7445 * sysdeps/alpha/setjmp.S: Likewise.
7446 * sysdeps/arm/sysdep.h: Likewise.
7447 * sysdeps/i386/setjmp.S: Likewise.
7448 * sysdeps/m68k/setjmp.c: Likewise.
7449 * sysdeps/posix/getcwd.c: Likewise.
7450 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7451 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7452 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7453 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7454 * sysdeps/sh/sh3/setjmp.S: Likewise.
7455 * sysdeps/sh/sh4/setjmp.S: Likewise.
7456 * sysdeps/unix/alpha/sysdep.h: Likewise.
7457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7458 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7459 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7460 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7465 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7468 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7470 * sysdeps/x86_64/setjmp.S: Likewise.
7471
d44a052c
JM
74722014-08-13 Joseph Myers <joseph@codesourcery.com>
7473
7474 [BZ #17263]
7475 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7476 <stdint.h>.
7477 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7478 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7479
508ce3ac
SP
74802014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7481
e44c8b0e
SP
7482 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7483
508ce3ac
SP
7484 [BZ #17262]
7485 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7486 and __x86_64__ when disabling x87 inline functions.
7487
b4acef1f
L
74882014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7489
7490 [BZ #17259]
7491 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7492 asm statement with __cpuid_count.
7493
61b1ef6e
MF
74942014-08-12 Mike Frysinger <vapier@gentoo.org>
7495
7496 * configure.ac: Change __ehdr_start code to dereference the struct.
7497 Run readelf on the output to look for relocations.
7498 * configure: Regenerated.
7499
898c62f4
JM
75002014-08-12 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #17261]
7503 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7504 value to 0.
7505 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7506
9a8a5720
RM
75072014-08-12 Roland McGrath <roland@hack.frob.com>
7508
7509 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7510
4e75751c
BO
75112014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7512
7513 [BZ #16892]
7514 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7515 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7516
bb2ce416
SA
75172014-08-12 Sean Anderson <seanga2@gmail.com>
7518
7519 * malloc/malloc.c: Fix typo in comment.
7520
7950a4ee
AM
75212014-08-09 Allan McRae <allan@archlinux.org>
7522
7523 * Regenerate libc.po.
7524
f469c49f
MF
75252014-08-08 Mike Frysinger <vapier@gentoo.org>
7526
7527 * intl/tst-gettext2.sh: Check every lang file for creation.
7528
656b84c2
WD
75292014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7530
7531 * sysdeps/aarch64/fpu/math_private.h
7532 (libc_feholdsetround_noex_aarch64_ctx): New function.
7533
538e9e45
W
75342014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7535
7536 * sysdeps/arm/armv6/strcpy.S (strcpy):
7537 Fix performance issue in misaligned cases.
7538
d4795e4a
AZ
75392014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7540
7541 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7542 Move definition from termios.h.
7543 (struct termio): Likewise.
7544 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7545 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7546 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7547 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7548 Likewise.
7549 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7550 Move definition to ioctl-types.h
7551 (struct termio): Likewise.
7552 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7553 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7554 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7555 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7556 Likewise.
7557
64accb62
RH
75582014-08-05 Richard Henderson <rth@redhat.com>
7559
27bb6dc0
RH
7560 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7561 exceptions.
7562 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7563 Add fraiseexcpt.
7564 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7565 Use __feraiseexcept.
7566 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7567 Protect libm symbols with IS_IN_libm.
7568
64accb62
RH
7569 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7570
e5292691
BO
75712014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7572
7573 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7574
5b4bd2d4
WN
75752014-08-04 Will Newton <will.newton@linaro.org>
7576
7577 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7578 file.
7579
fcadaeef
MF
75802014-08-04 Mike Frysinger <vapier@gentoo.org>
7581
7582 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7583 variants for each function.
7584
43a94c64
RM
75852014-08-04 Roland McGrath <roland@hack.frob.com>
7586
7587 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7588 appended ...
7589 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7590 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7591 appended ...
7592 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7593 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7594 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7595 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7596 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7597 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7598 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7599 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7600 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7601 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7602 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7603 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7604 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7605 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7606 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7607 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7608 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7609 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7610 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7611 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7612 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7613 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7614 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7615 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7616 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7617 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7618 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7619 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7620 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7621 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7622 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7623 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7624 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7625 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7626 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7627 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7628 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7629 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7630 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7631 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7632 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7634 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7636 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7637 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7638 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7639 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7640 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7641 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7642 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7643 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7644 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7645 Update #include.
7646 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7647 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7648
8f3c1fa4
RM
76492014-08-04 Roland McGrath <roland@hack.frob.com>
7650
7651 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7652 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7653 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7654 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7655 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7656 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7657
ca08746f
RM
76582014-08-04 Roland McGrath <roland@hack.frob.com>
7659
7660 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7661 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7662 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7663 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7664
9c925ff9
RM
76652014-08-04 Roland McGrath <roland@hack.frob.com>
7666
7667 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7668 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7669 (__libc_vfork): Define function under this name.
7670 (__vfork): Define as an alias.
7671 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7672 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7673
e641054c
RM
76742014-08-04 Roland McGrath <roland@hack.frob.com>
7675
7676 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7677 that was previously under [RESET_PID].
7678 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7679
dacdc867
AS
76802014-08-04 Andreas Schwab <schwab@suse.de>
7681
7682 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7683
41f725ff
MF
76842014-08-03 Mike Frysinger <vapier@gentoo.org>
7685
7686 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7687 (main): Likewise.
7688
277cfb31
RM
76892014-08-01 Roland McGrath <roland@hack.frob.com>
7690
7691 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7692
4896f049
RH
76932014-08-01 Richard Henderon <rth@redhat.com>
7694
7695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7696 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7697 typo in exact zero test.
7698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7699 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7701
6f64e7d7
RM
77022014-08-01 Roland McGrath <roland@hack.frob.com>
7703
7704 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7705 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7706 * sysdeps/arm/sysdep.h: ... here.
7707 [!__ASSEMBLER__]: Include <stdint.h>.
7708
3f3dd810
SP
77092014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7710
a476ac4b
SP
7711 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7712 (HAVE_WCTYPE_H): Likewise.
7713 (HAVE_ISWCTYPE): Likewise.
7714 (ENABLE_NLS): Likewise.
7715 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7716 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7717
78dd658a
SP
7718 * posix/regex_internal.c: Check if DEBUG is defined and is
7719 set.
7720
3f3dd810
SP
7721 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7722 (HAVE_MBSRTOWCS): Likewise.
7723 * posix/fnmatch.c: Include string.h unconditionally.
7724
95ee7fb1
SL
77252014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7726
7727 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7728 reversal.
7729
23fe486b
RM
77302014-07-31 Roland McGrath <roland@hack.frob.com>
7731
f61a113f
RM
7732 * sysdeps/generic/safe-fatal.h: New file.
7733 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7734 * nptl/forward.c: Include it.
7735 (__pthread_unwind): Use __safe_fatal as default action, rather
7736 than a bogus use of INTERNAL_SYSCALL that could never work.
7737
9fe7e787
RM
7738 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7739 * configure.ac (libc_cv_builtin_trap): New test.
7740 * configure: Regenerated.
7741 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7742 (ABORT_INSTRUCTION): Define using __builtin_trap.
7743
23fe486b
RM
7744 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7745 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7746 * sysdeps/nptl/nptl-signals.h: New file.
7747 * nptl/pthreadP.h: Include <nptl-signals.h>.
7748
f349489e
SL
77492014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7750
7751 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7752 (ONE_DIRECTION): Define.
7753 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7754 (ONE_DIRECTION): Define.
7755 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7756 (ONE_DIRECTION): Define.
7757
2f438e20
SL
77582014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7759
7760 * sysdeps/s390/Makefile: Delete file.
7761 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7762 * sysdeps/s390/__longjmp.c: Delete file.
7763 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7764 Remove fields __flags and __reserved.
7765 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7766 and add versioning.
7767 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7768 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7769 * sysdeps/s390/rtld-setjmp.S: Likewise.
7770 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7771 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7772 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7773 * sysdeps/s390/s390-32/setjmp.S: ... here.
7774 Add versioning.
7775 (__sigsetjmp): Remove setting __flags field.
7776 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7777 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7778 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7779 * sysdeps/s390/s390-64/setjmp.S: ... here.
7780 Add versioning.
7781 (__sigsetjmp): Remove setting __flags field.
7782 * sysdeps/s390/setjmp.S: Delete file.
7783 * sysdeps/s390/sigjmp.c: Likewise.
7784 * sysdeps/s390/v1-longjmp.c: Likewise.
7785 * sysdeps/s390/v1-setjmp.h: Likewise.
7786 * sysdeps/s390/v1-sigjmp.c: Likewise.
7787 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7788 Remove v1-longjmp_chk.
7789 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7790 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7791 Include debug/longjmp_chk.c and add versioning.
7792 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7793 Include nptl/pt-longjmp.c and add versioning.
7794 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7795 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7796 Include __longjmp.c.
7797 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7798 Move to ...
7799 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7800 (__getcontext): Remove setting __flags field.
7801 Add versioning.
7802 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7803 Don't restore upper high grps.
7804 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7805 Likewise.
7806 (__swapcontext): Remove setting uc_flags field.
7807 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7808 Delete file.
7809 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7810 Include __longjmp.c.
7811 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7812 Move to ...
7813 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7814 (__getcontext): Remove setting __flags field.
7815 Add versioning.
7816 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7817 (__swapcontext): Remove setting uc_flags field.
7818 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7819 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7820 Remove fields uc_high_gprs and __reserved.
7821 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7822 New file with reverted content.
7823 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7824 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7825 Regenerated.
7826 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7827 Regenerated.
7828
6c9578a2
AS
78292014-07-31 Andreas Schwab <schwab@suse.de>
7830
7831 * config.h.in (HAVE_IFUNC): Define to 0.
7832 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7833 definedness.
7834
05f3633d
LM
78352014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7836
7837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7838 memmove-avx-unaligned, memcpy-avx-unaligned and
7839 mempcpy-avx-unaligned.
7840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7841 Add tests for AVX memcpy functions.
7842 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7843 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7844 memcpy_chk.
7845 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7846 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7847 memmove_chk.
7848 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7849 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7850 mempcpy_chk.
7851 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7852 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7853 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7854
a53fbd8e
AZ
78552013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7856
7857 [BZ #17213]
7858 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7859 powerpc64le.
7860
0961f7e1
JL
78612014-07-29 Jeff Layton <jlayton@poochiereds.net>
7862
7863 [BZ #16839]
7864 * manual/llio.texi: Add section about open file description locks.
7865 * manual/examples/ofdlocks.c: Example of open file description
7866 lock usage.
7867 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7868 F_OFD_SETLK, and F_OFD_SETLKW.
7869
cc5fb300
AM
78702014-07-23 Allan McRae <allan@archlinux.org>
7871
7872 * po/es.po: Update Spanish translation from translation project.
7873
23329dca
AS
78742014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7875
7876 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7877
9c82da17
MR
78782014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7879
7880 [BZ #17078]
7881 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7882 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7883 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7884
29c4f53e
JM
78852014-07-17 Joseph Myers <joseph@codesourcery.com>
7886
831b9896
JM
7887 [BZ #17088]
7888 * math/fesetenv.c (__fesetenv)
7889 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7890 * math/feupdateenv.c (__feupdateenv)
7891 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7892
b21c2d50
JM
7893 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7894 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7895 (__ASSUME_SOCKETCALL): Do not define.
7896
067764ef
JM
7897 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7898 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7899 (__ASSUME_SOCKETCALL): Do not define.
7900 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7901 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7902 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7903 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7904 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7905 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7906 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7907 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7908
642530c1
JM
7909 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7910 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7911 (__ASSUME_SOCKETCALL): Do not define.
7912 (__ASSUME_IPC64): Define unconditionally.
7913 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7914 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7915 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7916 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7917 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7918 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7919 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7920 Likewise.
7921
03f77315
JM
7922 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7923 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7924 (__ASSUME_SOCKETCALL): Do not define.
7925 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7926 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7927 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7928 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7929 (__ASSUME_REQUEUE_PI): Define unconditionally.
7930 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7931 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7932 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7933 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7934 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7935 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7936
083b1f7c
JM
7937 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7938 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7939 (__ASSUME_SOCKETCALL): Do not define.
7940 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7941 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7942 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7943 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7944 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7945 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7946
5be44ea6
JM
7947 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7948 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7949 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7950 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7951 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7952 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7953 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7954 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7955 (__ASSUME_GETCPU_SYSCALL): Likewise.
7956
d95ffd4c
JM
7957 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7958 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7959 cases for individual architectures.
7960 * sysdeps/gnu/configure: Regenerated.
7961 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7962 LIBC_SLIBDIR_RTLDDIR.
7963 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7964 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7965 LIBC_SLIBDIR_RTLDDIR.
7966 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7968 LIBC_SLIBDIR_RTLDDIR.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7970 Regenerated.
7971 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7972 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7973 file.
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7975 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7976 file.
7977 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7978 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7979 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7980 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7981
29c4f53e
JM
7982 * sysdeps/aarch64/shlib-versions: Move to ...
7983 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7984 * sysdeps/alpha/shlib-versions: Move to ...
7985 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7986 * sysdeps/arm/shlib-versions: Move to ...
7987 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7988 * sysdeps/hppa/shlib-versions: Move all contents except for
7989 libgcc_s entry to ...
7990 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7991 entry from ...
7992 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7993 * sysdeps/ia64/shlib-versions: Move to ...
7994 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7995 entry from ...
7996 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7997 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7998 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7999 * sysdeps/microblaze/shlib-versions: Move to ...
8000 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8001 * sysdeps/mips/shlib-versions: Move to ...
8002 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8003 entry from ...
8004 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8005 * sysdeps/tile/shlib-versions: Move to ...
8006 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8007 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8008 from ...
8009 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8010 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8011 entry from ...
8012 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8013
32bead5b
WN
80142014-07-17 Will Newton <will.newton@linaro.org>
8015
57977c4b
WN
8016 * sysdeps/arm/bits/atomic.h
8017 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8018 (__arch_compare_and_exchange_bool_16_int): Likewise.
8019 (__arch_compare_and_exchange_bool_64_int): Likewise.
8020
32bead5b
WN
8021 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8022 into an #else block.
8023
37fccd41
RM
80242014-07-16 Roland McGrath <roland@hack.frob.com>
8025
8026 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8027 just Linux configurations. Test empirically that the compiler sets
8028 __ARM_EABI__, rather than using the tuple to decide.
8029 * sysdeps/arm/preconfigure: Regenerated.
8030 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8031 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8032 contents appended ...
8033 * sysdeps/arm/configure.ac: ... here.
8034 * sysdeps/arm/configure: Regenerated.
8035
b365f3ec
RM
80362014-07-15 Roland McGrath <roland@hack.frob.com>
8037
8badf496
RM
8038 * nptl/pthread_kill.c: New file.
8039 * nptl/pthread_sigmask.c: New file.
8040 * nptl/pthread_sigqueue.c: New file.
8041
3df6f22e
RM
8042 * sysdeps/nptl/lowlevellock.h: New file.
8043 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8044 * sysdeps/nptl/lowlevellock-futex.h: New file.
8045
b365f3ec
RM
8046 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8047 Remove dead declarations.
8048
f2fef657
L
80492014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8050
8051 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8052 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8053 config-cflags-avx2.
8054 * sysdeps/x86_64/configure.ac: Likewise.
8055 * sysdeps/i386/configure: Regenerated.
8056 * sysdeps/x86_64/configure: Likewise.
8057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8058 memset-avx2 only if config-cflags-avx2 is yes.
8059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8060 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8061 defined.
8062 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8063 only if HAVE_AVX2_SUPPORT is defined.
8064 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8065
f6c44d47
AM
80662014-07-14 Alan Modra <amodra@gmail.com>
8067
8068 [BZ #17153]
8069 * elf/elf.h (DT_PPC64_NUM): Correct value.
8070 * NEWS: Add to fixed bug list.
8071
7ee03f00
JM
80722014-07-13 Jim Meyering <meyering@fb.com>
8073
8074 [BZ 17150]
8075 regex: don't deref NULL upon heap allocation failure
8076 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8077 failure in one more place.
8078 To trigger the segfault, configure grep -with-included-regex,
8079 build it, and run these commands:
8080 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8081
9d39d517
AS
80822014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8083
8084 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8085
a75b89b7
RH
80862014-07-11 Richard Henderson <rth@redhat.com>
8087
8088 * sysdeps/aarch64/libm-test-ulps: Update.
8089
771eb141
FW
80902014-07-10 Florian Weimer <fweimer@redhat.com>
8091
8092 [BZ #17135]
8093 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8094 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8095 (__nptl_setxid): Initialize error member. Call
8096 __nptl_setxid_error.
8097 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8098 * nptl/descr.h (struct xid_command): Add error member.
8099 * nptl/tst-setuid3.c: New file.
8100 * nptl/Makefile (tests): Add it.
8101
bc1da176
AZ
81022014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8103
8104 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8105 New define.
8106 (__lll_trylock): Use __lll_base_trylock.
8107 (__lll_cond_trylock): Likewise.
8108
887865fc
RM
81092014-07-10 Roland McGrath <roland@hack.frob.com>
8110
c0c6bac9
RM
8111 * nptl/pthread_create.c (start_thread): Use atomic_or and
8112 lll_futex_wake directly rather than lll_robust_dead.
8113 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8114 (lll_robust_dead): Macro removed.
6a42be57 8115 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8116 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8117 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8118 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8119 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8120 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8121 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8122 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8123 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8124 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8125 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8126 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8127 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8128 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8129 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8130
887865fc
RM
8131 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8132 Use atomic_compare_and_exchange_val_acq directly rather than
8133 lll_robust_trylock.
8134 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8135 (__lll_robust_trylock, lll_robust_trylock): Removed.
8136 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8137 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8138 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8139 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8140 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8141 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8142 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8143 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8144 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8145 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8146 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8147 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8148 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8149 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8150
58536726
FW
81512014-07-02 Florian Weimer <fweimer@redhat.com>
8152
8153 * manual/locale.texi (Locale Names): New section documenting
8154 locale name syntax. Adjust menu and node chaining accordingly.
8155 (Choosing Locale): Reference Locale Names, Locale Categories.
8156 Mention setting LC_ALL=C. Reflect that name syntax is now
8157 documented.
8158 (Locale Categories): New section title. Reference Locale Names.
8159 LC_ALL is an environment variable, but not a category.
8160 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8161 description, now in Locale Name. Reference that section. Locale
8162 name syntax is now documented.
8163
4e8f95a0
FW
81642014-07-02 Florian Weimer <fweimer@redhat.com>
8165
8166 [BZ #17137]
8167 * locale/findlocale.c (name_present, valid_locale_name): New
8168 functions.
8169 (_nl_find_locale): Use the loc_name variable to store name
8170 candidates. Call name_present and valid_locale_name to check and
8171 validate locale names. Return an error if the locale is invalid.
8172
d1836456
FW
81732014-07-02 Florian Weimer <fweimer@redhat.com>
8174
8175 * locale/setlocale.c (setlocale): Use strdup for allocating
8176 composite name copy.
8177
d69b7f5a
SP
81782014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8179
888c679b
SP
8180 Sync up with gnulib.
8181 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8182 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8183 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8184 and _GL_ARG_NONNULL.
8185 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8186 [!_LIBC]: Include code for Windows and Cygwin.
8187 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8188 Include prototype for int strerror_r.
8189 [!_LIBC] (is_open): New function.
8190 (flush_stdout): New function.
8191 (print_errno_message): Use it.
8192 (error): Likewise.
8193 (error_at_line): Likewise.
8194 (error_tail) Add function attribute macros. Use
8195 __builtin_expect.
8196
180e0e4b
SP
8197 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8198
d22f1fe2
SP
8199 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8200
12f2254b
SP
8201 * io/ftw.c: Include sys/param.h unconditionally.
8202
c3c7c360
SP
8203 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8204
d62aa75a
SP
8205 [BZ #17125]
8206 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8207 libc_freeres_ptr.
8208 (freecache): New function to free CACHE on exit.
8209
d69b7f5a
SP
8210 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8211 initialization.
8212
5efe06a1
DM
82132014-07-09 David S. Miller <davem@davemloft.net>
8214
8215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8216
7000d82e
DM
8217 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8218 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8219 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8220 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8221 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8222 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8223 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8224 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8225 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8226 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8227 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8228 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8229 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8230
c213442d
AS
82312014-07-09 Andreas Schwab <schwab@suse.de>
8232
4a2552c3
AS
8233 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8234 output.
8235 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8236 (do_test): Likewise.
8237
c213442d
AS
8238 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8239
82374e65
WN
82402014-07-09 Will Newton <will.newton@linaro.org>
8241
8242 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8243 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8244 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8245 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8246 * sysdeps/hppa/start.S (_start): Likewise.
8247
6680738a
SP
82482014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8249
6ee3eab4
SP
8250 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8251
6680738a
SP
8252 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8253 defined.
8254
80b5c505
SP
82552014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8256
e35c53e3
SP
8257 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8258 after checking that it is non-NULL.
8259
80b5c505
SP
8260 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8261
91f4b564
AZ
82622014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8263
27b75f56
AZ
8264 * sysdeps/powerpc/memmove.c: Remove file.
8265 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8266 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8267 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8268 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8269 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8270 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8271 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8272 string memmove instead of removed powerpc one.
8273
e7f95bb5
AZ
8274 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8275 [weak_alias]: Fix compiler warning due trailing data.
8276 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8277 [weak_alias]: Likewise.
8278 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8279 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8280
91f4b564
AZ
8281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8282 (__libc_ifunc_impl_list): Add memmove functions.
8283
7c33f1e5
SP
82842014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8285
8286 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8287 Remove code.
8288 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8289 Likewise
8290 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8291 Likewise
8292 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8293 Likewise
8294 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8295 Likewise
8296 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8297 Likewise
8298 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8299 Likewise
8300 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8301 Likewise
8302 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8303 Likewise
8304 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8305 Likewise
8306 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8307 Likewise
8308 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8309 Likewise
8310 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8311 Likewise
8312 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8313 Likewise
8314 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8315 Likewise
8316 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8317 Likewise
8318 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8319 Likewise
8320
3f17b03b
AZ
83212014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8322
87868c24
AZ
8323 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8324 to avoid alignment traps in non-cacheable memory.
8325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8326
07aedd78
AZ
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8328 multiarch objects.
8329 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8330 file: multiarch power7 memmove.
8331 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8332 multiarch default memmove.
8333 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8334 multiarch memove for powerpc32/power4.
8335
17762f66
AZ
8336 * string/bcopy.c: Use full path to include memmove.c.
8337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8338 multiarch objects.
8339 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8340 bcopy for powerpc64.
8341 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8342 bcopy for powerpc64.
8343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8344 and memmove implementations.
8345 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8346 optimized multiarch memmove for POWER7/powerpc64.
8347 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8348 default multiarch memmove for powerpc64.
8349 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8350 multiarch for powerpc64.
8351 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8352 for POWER7/powerpc64.
8353 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8354 memmove for POWER7/powerpc64.
8355
d6f68bbe
AZ
8356 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8357 glibc default one.
8358
3f17b03b
AZ
8359 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8360 __ELF_NATIVE_CLASS equal to 64.
8361
08192659
RM
83622014-07-07 Roland McGrath <roland@hack.frob.com>
8363
f4c4021b
RM
8364 * sysdeps/nptl/lowlevellock.h: File removed.
8365
f083450f
RM
8366 * NEWS: NPTL is no longer an add-on!
8367 * nptl/internaltypes.h: Moved ...
8368 * sysdeps/nptl/internaltypes.h: ... here.
8369 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8370 * sysdeps/nptl/fork.c: Likewise.
8371 * sysdeps/nptl/gai_misc.h: Likewise.
8372 * sysdeps/nptl/librt-cancellation.c: Likewise.
8373 * sysdeps/nptl/jmp-unwind.c: Likewise.
8374 * sysdeps/nptl/setxid.h: Likewise.
8375 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8376 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8377 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8378 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8379 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8380 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8381 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8382 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8383 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8384 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8385 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8386 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8387 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8388 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8389 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8390 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8391 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8392 * nptl/Makeconfig: Moved ...
8393 * sysdeps/nptl/Makeconfig: ... here.
8394 * nptl/configure: File removed.
8395 * nptl/ANNOUNCE: File removed.
8396 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8397 * sysdeps/unix/sysv/linux/configure: Regenerated.
8398
08192659
RM
8399 * nptl/Makefile (routines): Add libc_pthread_init,
8400 libc_multiple_threads, register-atfork and unregister-atfork.
8401 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8402 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8403 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8404 pthread-pi-defines.sym, structsem.sym.
8405 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8406 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8407 [$(subdir) = nptl] (tests): Add tst-setgetname.
8408 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8409 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8410 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8411 [!LIBC_SIGACTION]: Remove aliases.
8412 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8413 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8414 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8415 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8416 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8417 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8419 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8420 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8421 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8422 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8423 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8424 __libc_allocate_rtsig_private.
8425 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8426 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8427 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8428 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8429 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8430 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8431 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8432 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8433 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8434 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8435 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8436 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8437 * nptl/internaltypes.h: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8439 * sysdeps/nptl/jmp-unwind.c: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8441 * nptl/libc-lowlevellock.c: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8443 * nptl/libc_multiple_threads.c: ... here.
8444 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8445 * nptl/libc_pthread_init.c: ... here.
8446 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8447 * nptl/lowlevelbarrier.sym: ... here.
8448 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8449 * nptl/lowlevelcond.sym: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8451 * nptl/lowlevellock.c: ... here.
8452 * nptl/lowlevellock.h: Moved ...
8453 * sysdeps/nptl/lowlevellock.h: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8455 * nptl/lowlevelrobustlock.c: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8457 * nptl/lowlevelrobustlock.sym: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8459 * nptl/lowlevelrwlock.sym: ... here.
8460 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8461 * nptl/pt-fork.c: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8463 * nptl/pthread-pi-defines.sym: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8465 * nptl/pthread_attr_getaffinity.c: ... here.
8466 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8467 * nptl/pthread_attr_setaffinity.c: ... here.
8468 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8469 * nptl/pthread_mutex_cond_lock.c: ... here.
8470 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8471 Update #include.
8472 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8473 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8474 * nptl/pthread_once.c: ... here, replacing old file.
8475 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8476 * nptl/pthread_yield.c: ... here.
8477 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8478 * nptl/register-atfork.c: ... here.
8479 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8480 * nptl/sem_post.c: ... here.
8481 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8482 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8483 * nptl/sem_timedwait.c: ... here.
8484 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8485 * nptl/sem_trywait.c: ... here.
8486 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8487 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8488 * nptl/sem_wait.c: ... here.
8489 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8490 * nptl/structsem.sym: ... here.
8491 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8492 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8493 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8494 * nptl/unregister-atfork.c: ... here.
8495 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8496 * nptl/unwindbuf.sym: ... here.
8497 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8498 * sysdeps/nptl/fork.c: ... here.
8499 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8500 * sysdeps/nptl/fork.h: ... here.
8501 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8502 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8503 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8504 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8505 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8506 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8507 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8508 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8509 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8510 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8511 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8512 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8513 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8514 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8515 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8516 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8517 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8518 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8519 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8520 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8521 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8522 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8523 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8524 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8525 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8526 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8527 * sysdeps/unix/sysv/linux/raise.c: ... here.
8528 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8529 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8530 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8531 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8532 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8533 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8534 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8535 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8536 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8537 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8538 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8539 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8540 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8541 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8542 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8543
96baf6ff
SP
85442014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8545
8546 * sysdeps/generic/memcopy.h: Add comment for
8547 MEMCPY_OK_FOR_FWD_MEMMOVE.
8548
6b7b14b2
WN
85492014-07-04 Will Newton <will.newton@linaro.org>
8550
1570a72b
WN
8551 * string/memchr.c: Merge from gnulib.
8552 [_LIBC]: Remove conditionals.
8553 (__ptr_t): Remove define.
8554 (LONG_MAX_32_BITS): Likewise.
8555 (LONG_MAX): Likewise.
8556 (MEMCHR): Use ANSI prototype and optimize algorithm.
8557
6b7b14b2
WN
8558 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8559
38851324
SP
85602014-07-03 Roland McGrath <roland@hack.frob.com>
8561
3d9eb57c
RM
8562 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8563 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8564
78b984ae
RM
8565 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8566 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8567 in a bare environment with no <stdlib.h> installed.
8568 * sysdeps/nptl/configure: Regenerated.
8569
2d5976a5
RM
8570 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8571
c1f5acd4
RM
8572 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8573 AC_EGREP_CPP for kernel header checks, so they only succeed if
8574 including <linux/version.h> actually works right.
8575 * sysdeps/unix/sysv/linux/configure: Regenerated.
8576
4d614fe5
RM
8577 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8578 value so it's not diagnosed as unused.
8579
38851324
SP
8580 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8581 thing) with "ifeq ($(subdir),rt)".
8582
b3ec00e5
RH
85832014-07-03 Richard Henderson <rth@redhat.com>
8584
69862e25
RH
8585 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8586 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8587 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8588
d5e16ade
RH
8589 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8590 (math_force_eval): New.
8591
ca7b945c
RH
8592 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8593 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8594
cd1175a3
RH
8595 * sysdeps/alpha/fpu/s_round.c: Remove file.
8596 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8597
b3ec00e5
RH
8598 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8599 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8600 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8601 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8602 (_dl_start, print_statistics): Likewise.
8603 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8604 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8605
8606 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8607 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8608 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8609 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8610 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8611 (HP_SMALL_TIMING_AVAIL): Define.
8612 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8613 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8614 (HP_SMALL_TIMING_AVAIL): Define.
8615 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8616 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8617
8618 * sysdeps/aarch64/hp-timing.h: New file.
8619
8620 * sysdeps/generic/hp-timing.h: Remove dead comment.
8621 * sysdeps/generic/hp-timing-common.h: New file.
8622 * sysdeps/alpha/hp-timing.h: Include it.
8623 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8624 * sysdeps/i386/i686/hp-timing.h: Likewise.
8625 * sysdeps/ia64/hp-timing.h: Likewise.
8626 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8627 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8628 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8629 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8630 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8631 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8632 (hp_timing_t): New.
8633
8634 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8635 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8636 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8637 * elf/rtld.c (_dl_start_final): Likewise.
8638 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8639 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8640 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8641 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8642 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8643 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8644 (HP_TIMING_DIFF_INIT): Remove.
8645 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8647 (HP_TIMING_DIFF_INIT): Remove.
8648 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8649 * sysdeps/i386/i686/hp-timing.c: Remove file.
8650 * sysdeps/x86_64/hp-timing.c: Remove file.
8651 * sysdeps/ia64/hp-timing.c: Remove file.
8652 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8653 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8655 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8656
8657 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8658 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8659 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8660 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8661 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8662 (HP_TIMING_ACCUM): Remove.
8663 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8664 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8665 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8666
8667 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8668 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8669 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8670 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8671 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8672 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8673 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8674 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8675
8676 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8677
225f410f
MR
86782014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8679
8680 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8681
3247f285
SP
86822014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8683
8684 Sync up with gettext.
8685 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8686 [_MSC_VER]: Include malloc.h
8687 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8688 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8689 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8690 TEMP_FAILURE_RETRY. Cast return of alloca.
8691 [!_LIBC] Call gl_rwlock_init.
8692 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8693
d12704c7
SP
86942014-07-02 Roland McGrath <roland@hack.frob.com>
8695
8696 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8697 before checking its value.
8698
99f8dc92
SP
86992014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8700
05fdac77
SP
8701 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8702
99f8dc92
SP
8703 * debug/memcpy_chk.c: Don't include pagecopy.h.
8704 * debug/mempcpy_chk.c: Likewise.
8705 * string/memcpy.c: Likewise.
8706 * string/memmove.c: Likewise.
8707 * sysdeps/powerpc/memmove.c: Likewise.
8708 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8709 definition of PAGE_COPY_FWD_MAYBE here...
8710 * sysdeps/generic/pagecopy.h: ... from here.
8711 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8712
bc8ea385
VR
87132014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8714 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8715
8716 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8718 optimizations.
8719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8720 (__libc_ifunc_impl_list): Likewise.
8721 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8722 multiarch strcat for PPC64.
8723 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8724 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8725
fe5f34e4
RM
87262014-07-02 Roland McGrath <roland@hack.frob.com>
8727
8728 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8729
256aa665
SP
87302014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
d4eb8195
SP
8732 * intl/loadmsgcat.c: Remove declaration of
8733 get_sysdep_segment_value.
8734 (get_sysdep_segment_value): Use ISO C style.
8735 (_nl_load_domain): Use ISO C style. Get rid of redundant
8736 semicolon. Fix typo and formatting in comment.
8737 (_nl_unload_domain): Use ISO C style.
8738
256aa665
SP
8739 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8740
b100f9aa
WN
87412014-07-02 Will Newton <will.newton@linaro.org>
8742
8743 * malloc/obstack.c: Merge from gnulib master.
8744 [HAVE_CONFIG_H]: Remove conditional code.
8745 [!_LIBC]: Include config.h.
8746 [!ELIDE_CODE]: Don't include inttypes.h, include
8747 stdint.h unconditionally.
8748 (print_and_abort): Mark as _Noreturn.
8749 (_obstack_allocated_p): Mark as __attribute_pure__.
8750 (obstack_free): Rename to __obstack_free.
8751 [!__attribute__]: Remove conditional code.
8752 * malloc/obstack.h: Merge from gnulib master.
8753 [__cplusplus]: Move conditional down.
8754 [!__attribute_pure__]: Define __attribute_pure__ here
8755 if it is not already defined.
8756 (_obstack_memory_used): Mark as __attribute_pure__.
8757 [!__obstack_free]: Define as obstack_free.
8758 [__GNUC__]: Remove check for ancient NeXT gcc.
8759
c4c41244
PE
87602014-07-02 Will Newton <will.newton@linaro.org>
8761 Paul Eggert <eggert@cs.ucla.edu>
8762
8763 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8764
e1e041c4
SP
87652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8766
8767 * resolv/gethnamaddr.c: Add comment warning that the file is
8768 not maintained.
8769
ccf431ff
CD
87702014-07-01 Carlos O'Donell <carlos@redhat.com>
8771
d34570a6
CD
8772 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8773 entries.
8774
ccf431ff
CD
8775 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8776 entry for aio_cancel and aio_cancel64.
8777 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8778 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8779 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8780 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8781 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8782 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8783 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8784 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8785 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8786 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8787 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8788 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8789 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8790
ca06321d
RM
87912014-07-01 Roland McGrath <roland@hack.frob.com>
8792
8793 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8794 * nptl/pthread_mutex_lock.c: Likewise.
8795 * nptl/pthread_mutex_timedlock.c: Likewise.
8796 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8797
a1ac3184
RH
87982014-07-01 Richard henderson <rth@redhat.com>
8799
631021e0
RH
8800 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8801 (__isnan, __isnanl): Remove.
8802 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8803
a1ac3184
RH
8804 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8805
0c1d731f
SL
88062014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8807
8808 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8809
76985d3e
SP
88102014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8811
8812 * resolv/nss_dns/dns-host.c (getanswer_r)
8813 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8814
b0cb3096
JM
88152014-07-01 Joseph Myers <joseph@codesourcery.com>
8816
8817 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8818 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8819 undefine.
8820 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8821 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8822
4d76cb39
RM
88232014-07-01 Roland McGrath <roland@hack.frob.com>
8824
8825 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8826 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8827
8828 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8829 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8830
8831 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8832 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8833 ... here.
8834 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8835 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8836
8837 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8838 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8839 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8840 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8841
8842 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8843 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8844 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8845 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8846 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8847 Moved ...
8848 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8849 ... here.
8850 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8857 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8858 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8859 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8860 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8861 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8862 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8863 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8864 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8865 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8866 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8867 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8868 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8869 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8870 ... here.
8871 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8872 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8873 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8874 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8875 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8876 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8877 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8878 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8879
0cdcad17
DH
88802014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8881
8882 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8883 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8884 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8885 Add sysdep.
8886
9b71d0e3
AZ
88872014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8888
8889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8890
665390c2
JM
88912014-06-30 Joseph Myers <joseph@codesourcery.com>
8892
ae05a9d7
JM
8893 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8894 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8895
a7672a2f
JM
8896 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8897
665390c2
JM
8898 * sysdeps/arm/libm-test-ulps: Regenerated.
8899
d7a05d07
MR
89002014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8901 Roland McGrath <roland@hack.frob.com>
8902
8903 * test-skeleton.c (signal_handler): Kill the whole process group
8904 before killing the child individually.
8905 (main): Report any failure on `setpgid'.
8906
46f1d8a6
RM
89072014-06-30 Roland McGrath <roland@hack.frob.com>
8908
8909 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8910 from _TLS_H to _ARM_NPTL_TLS_H.
8911 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8912 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8913
9c37ec0b
JM
89142014-06-30 Joseph Myers <joseph@codesourcery.com>
8915
ce9c5b3e
JM
8916 [BZ #16539]
8917 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8918 (__expm1l): Return argument unchanged when small but not
8919 subnormal.
8920
3a6e9887
JM
8921 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8922 include macro name.
8923 (_FP_UNPACK_RAW_1_P): Likewise.
8924 (_FP_PACK_RAW_1): Likewise.
8925 (_FP_PACK_RAW_1_P): Likewise.
8926 (_FP_MUL_MEAT_1_wide): Likewise.
8927 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8928 (_FP_MUL_MEAT_1_hard): Likewise.
8929 (_FP_DIV_MEAT_1_imm): Likewise.
8930 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8931 (_FP_DIV_MEAT_1_udiv): Likewise.
8932 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8933 (_FP_UNPACK_RAW_2): Likewise.
8934 (_FP_UNPACK_RAW_2_P): Likewise.
8935 (_FP_PACK_RAW_2): Likewise.
8936 (_FP_PACK_RAW_2_P): Likewise.
8937 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8938 (_FP_MUL_MEAT_2_wide): Likewise.
8939 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8940 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8941 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8942 (_FP_MUL_MEAT_2_gmp): Likewise.
8943 (_FP_DIV_MEAT_2_udiv): Likewise.
8944 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8945 (_FP_FRAC_SRL_4): Likewise.
8946 (_FP_FRAC_SRST_4): Likewise.
8947 (_FP_FRAC_SRS_4): Likewise.
8948 (_FP_UNPACK_RAW_4): Likewise.
8949 (_FP_UNPACK_RAW_4_P): Likewise.
8950 (_FP_PACK_RAW_4): Likewise.
8951 (_FP_PACK_RAW_4_P): Likewise.
8952 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8953 (_FP_MUL_MEAT_4_wide): Likewise.
8954 (_FP_MUL_MEAT_4_gmp): Likewise.
8955 (umul_ppppmnnn): Likewise.
8956 (_FP_DIV_MEAT_4_udiv): Likewise.
8957 (__FP_FRAC_ADD_4): Likewise.
8958 (__FP_FRAC_SUB_3): Likewise.
8959 (__FP_FRAC_SUB_4): Likewise.
8960 (__FP_FRAC_DEC_3): Likewise.
8961 (__FP_FRAC_DEC_4): Likewise.
8962 (__FP_FRAC_ADDI_4): Likewise.
8963 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8964 (_FP_FRAC_SRL_8): Likewise.
8965 (_FP_FRAC_SRS_8): Likewise.
8966
9c37ec0b
JM
8967 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8968 include macro name.
8969 (FP_UNPACK_RAW_EP): Likewise.
8970 (FP_PACK_RAW_E): Likewise.
8971 (FP_PACK_RAW_EP): Likewise.
8972 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8973 (_FP_ISSIGNAN): Likewise.
8974 (_FP_ADD_INTERNAL): Likewise.
8975 (_FP_FMA): Likewise.
8976 (_FP_CMP): Likewise.
8977 (_FP_SQRT): Likewise.
8978 (_FP_TO_INT): Likewise.
8979 (_FP_FROM_INT): Likewise.
8980 (FP_EXTEND): Likewise.
8981 (_FP_DIV_MEAT_N_loop): Likewise.
8982
2125f674
MR
89832014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8984
8985 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8986 throughout.
8987
edea4028
JM
89882014-06-29 Joseph Myers <joseph@codesourcery.com>
8989
8990 [BZ #17097]
8991 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8992 result with correct sign in case of exponents that produce
8993 overflow except for X very close to 1.
8994
dd0ba018
PE
89952014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8996
8997 mktime: merge #if/#ifdef usage from glibc
8998 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8999 as that works with both Glibc's and Gnulib's style.
9000 See thread starting at Siddhesh Poyarekar's bug report at:
9001 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9002
64df73c2
SP
90032014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9004
9005 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9006 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9007 * sysdeps/tile/tilegx/memmove.c: Remove file.
9008
f1eafb41
JM
90092014-06-27 Joseph Myers <joseph@codesourcery.com>
9010
9011 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9012 abi-name definition.
9013 * scripts/soversions.awk: Do not handle or generate ABI lines.
9014 * shlib-versions: Remove ABI entries.
9015 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9016 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9017
58eb0862
RM
90182014-06-27 Roland McGrath <roland@hack.frob.com>
9019
37caf178
RM
9020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9021 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9022 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9023 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9025 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9027 Moved ...
9028 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9029 ... here.
9030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9031 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9033 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9035 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9037 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9038 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9039 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9041 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9043 Moved ...
9044 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9046 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9048 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9050 Moved ...
9051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9052 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9053 Moved ...
9054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9058 Moved ...
9059 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9061 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9063 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9064 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9065 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9066 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9067 Moved ...
9068 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9070 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9071 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9072 Moved ...
9073 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9074 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9075 Moved ...
9076 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9077 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9078 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9079 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9080 Moved ...
9081 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9082 ... here.
9083 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9084 Identical file removed.
9085 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9086 Moved ...
9087 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9088 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9089 Identical file removed.
9090 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9091 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9092 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9093 Moved ...
9094 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9095 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9096 Identical file removed.
9097 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9098 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9099 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9100 Identical file removed.
9101 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9104 Identical file removed.
9105 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9106 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9107 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9108 Identical file removed.
9109 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9110 Moved ...
9111 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9113 Identical file removed.
9114 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9115 Moved ...
9116 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9117 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9118 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9119 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9120 Identical file removed.
9121 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9122 Moved ...
9123 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9124 ... here.
9125 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9126 Identical file removed.
9127 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9128 Moved ...
9129 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9131 Identical file removed.
9132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9133 Moved ...
9134 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9136 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9137 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9138 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9139 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9140 Moved ...
9141 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9142 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9143 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9144
58eb0862
RM
9145 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9146 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9147 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9148 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9149 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9150
6f12d062
AS
91512014-06-27 Arjun Shankar <arjun.is@lostca.se>
9152
9153 [BZ #17092]
9154 * nscd/nscd.c (monitor_child): Return exit status of child
9155 instead of return value from wait syscall.
9156
be254932
JM
91572014-06-27 Joseph Myers <joseph@codesourcery.com>
9158
cb403c34
JM
9159 * configure.ac (libc_commonpagesize): Remove variable.
9160 (libc_relro_required): Likewise.
9161 (libc_cv_z_relro): Remove configure test.
9162 * configure: Regenerated.
9163 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9164 variable.
9165 (libc_relro_required): Likewise.
9166 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9167 (libc_relro_required): Likewise.
9168 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9169 (libc_relro_required): Likewise.
9170 * sysdeps/arm/preconfigure: Regenerated.
9171 * sysdeps/ia64/preconfigure: Remove file.
9172 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9173 variable.
9174 (libc_relro_required): Likewise.
9175
be254932
JM
9176 [BZ #16561]
9177 [BZ #16562]
9178 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9179 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9180 recompute overflowing results in original rounding mode.
9181 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9182 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9183 recompute overflowing results in original rounding mode.
9184 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9185 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9186 recompute overflowing results in original rounding mode.
9187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9188 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9189 recompute overflowing results in original rounding mode.
9190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9191 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9192 recompute overflowing results in original rounding mode.
9193 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9194 (libc_feholdsetround_ctx): New macro.
9195 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9198
b351d85a
JM
91992014-06-26 Joseph Myers <joseph@codesourcery.com>
9200
9201 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9202 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9203 corresponding .cpsetup call.
9204
3cb4de47
RM
92052014-06-26 Roland McGrath <roland@hack.frob.com>
9206
9207 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9208 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9209 * sysdeps/arm/Makefile [$(subdir) = csu]
9210 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9211 (static-only-routines): Add aeabi_read_tp here.
9212 (shared-only-routines): Add libc-aeabi_read_tp here.
9213 (CFLAGS-libc-start.c): Add -fexceptions here.
9214 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9215 (sysdep_routines, static-only-routines, shared-only-routines):
9216 Don't add to these here.
9217 (CFLAGS-libc-start.c): Likewise.
9218
9219 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9220 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9221 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9222 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9223 * sysdeps/arm/Makefile [$(subdir) = rt]
9224 (librt-sysdep_routines, librt-shared-only-routines):
9225 Append rt-aeabi_unwind_cpp_pr1 here.
9226 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9227 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9228 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9229 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9230 Append nptl-aeabi_unwind_cpp_pr1 here.
9231 (tests): Filter out tst-cleanupx4 here.
9232 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9233 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9234 Don't do those here.
9235
354426bb
JM
92362014-06-26 Joseph Myers <joseph@codesourcery.com>
9237
9238 * scripts/list-sources.sh: Do not handle ports specially.
9239
28b0a8c9
RM
92402014-06-26 Roland McGrath <roland@hack.frob.com>
9241
a3dd035d
RM
9242 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9243 * sysdeps/arm/feupdateenv.c: Likewise.
9244
28b0a8c9
RM
9245 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9246
e66a8203
JM
92472014-06-26 Joseph Myers <joseph@codesourcery.com>
9248
9249 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9250 trailing whitespace removed.
9251 * scripts/config.guess: Update to version 2014-03-23.
9252 * scripts/config.sub: Update to version 2014-05-01
9253 * scripts/install-sh: Update to version 2013-12-25.23.
9254 * scripts/move-if-change: Update from gnulib.
9255
74171115
SP
92562014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9257
b97c9ce5
SP
9258 * debug/memmove_chk.c: Remove pagecopy.h include.
9259
4000f892
SP
92602014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9261
74171115
SP
9262 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9263 identical to gnulib mktime.
9264
a8779c28
JM
92652014-06-26 Joseph Myers <joseph@codesourcery.com>
9266
e64708de
JM
9267 * configure.ac: Do not test for machine being rs6000. Do not test
9268 for powerpc*-*soft.
9269 * configure: Regenerated.
9270
a8779c28
JM
9271 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9272 test.
9273 * configure: Regenerated.
9274 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9275 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9276 Remove configure test.
9277 * sysdeps/arm/configure: Regenerated.
9278 * sysdeps/nptl/configure.ac: Do not check
9279 libc_cv_asm_cfi_directives.
9280 * sysdeps/nptl/configure: Regenerated.
9281 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9282 * sysdeps/x86_64/nptl/configure: Remove generated file.
9283 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9284 unconditional.
9285 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9286
2aac0a86
SP
92872014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9288
059bf913
SP
9289 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9290 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9291 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9292 it is defined.
9293
4cf5b6d0
SP
9294 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9295 instead of whether it is defined.
9296 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9297 * sysdeps/hppa/dl-machine.h: Likewise.
9298 * sysdeps/ia64/dl-machine.h: Likewise.
9299 * sysdeps/m68k/dl-machine.h: Likewise.
9300 * sysdeps/microblaze/dl-machine.h: Likewise.
9301 * sysdeps/mips/dl-machine.: Likewise.
9302 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9303 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9304 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9305 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9306 * sysdeps/sh/dl-machine.h: Likewise.
9307 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9308 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9309 * sysdeps/tile/dl-machine.h: Likewise.
9310 * sysdeps/x86_64/dl-machine.h: Likewise.
9311
2aac0a86
SP
9312 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9313 code.
9314 (verify_persistent_db): Likewise.
9315
6ad2df0b
RM
93162014-06-26 Roland McGrath <roland@hack.frob.com>
9317
d8a483f3
RM
9318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9319 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9321 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9323 Moved ...
9324 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9325 ... here.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9327 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9329 Identical file removed.
9330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9331 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9333 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9335 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9337 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9339 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9341 Moved ...
9342 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9344 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9346 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9348 Moved ...
9349 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9351 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9353 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9355 Identical file removed.
9356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9357 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9359 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9361 Moved ...
9362 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9363 ... here.
9364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9365 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9367 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9369 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9371 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9373 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9375 Moved ...
9376 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9378 Moved ...
9379 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9381 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9383 Moved ...
9384 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9386 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9387
52ae23b4
RM
9388 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9389 folded into ...
9390 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9391 * sysdeps/unix/sysv/linux/s390/Versions
9392 (libpthread: GLIBC_2.19): New version set.
9393 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9394 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9395 (librt: GLIBC_2.3.3): New version set.
9396 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9397 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9398 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9399 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9400 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9401 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9402 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9403 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9404 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9405 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9406 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9407 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9408 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9409 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9410 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9411 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9412 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9413 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9414 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9415 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9416 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9417 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9418 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9419 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9420 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9421 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9422 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9423 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9424 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9425 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9426 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9427 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9429 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9432 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9434 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9436 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9438 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9440 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9441
39507e4a
RM
9442 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9443 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9444 (__libc_vfork): Define the function under this name.
9445 [!NOT_IN_libc] (__vfork): Make this an alias.
9446 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9448 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9449 (__libc_vfork): Define the function under this name.
9450 [!NOT_IN_libc] (__vfork): Make this an alias.
9451 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9452 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9453 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9454 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9455 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9456 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9457
e549ee56
RM
9458 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9459 code that was previously under [RESET_PID].
9460 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9461 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9462 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9463
6ad2df0b
RM
9464 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9465 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9466 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9467 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9468 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9469 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9470 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9471 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9472 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9473 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9474 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9475 Moved ...
9476 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9477 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9478 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9479 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9480 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9481 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9482 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9483 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9484 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9485 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9486 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9487 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9488 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9489 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9490 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9491 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9492 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9493 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9494 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9495 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9496 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9497 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9498 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9499 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9500 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9501 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9502 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9503 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9504 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9505
7c1c1d8e
RM
95062014-06-25 Roland McGrath <roland@hack.frob.com>
9507
9508 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9509 that was previously under [RESET_PID].
9510 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9511
3e239be6
JM
95122014-06-25 Joseph Myers <joseph@codesourcery.com>
9513
74385da5
JM
9514 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9515 not undefine and redefine.
9516 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9517 [O_CLOEXEC]: Make code unconditional.
9518 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9519 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9520 <kernel-features.h>.
9521 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9522 conditional variable definition.
9523 (shm_open) [O_CLOEXEC]: Make code unconditional.
9524 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9525 code.
9526
c2570a0b
JM
9527 * configure.ac (USE_REGPARMS): Don't define here.
9528 * configure: Regenerated.
9529 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9530 * sysdeps/i386/configure: Regenerated.
9531
11b076bb
JM
9532 * nptl/createthread.c: Don't include kernel-features.h.
9533 * nptl/pthread_cancel.c: Likewise.
9534 * nptl/pthread_condattr_setclock.c: Likewise.
9535 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9536 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9537 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9538 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9539 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9540 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9541 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9544 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9545 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9546 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9547 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9548 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9549 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9550 * nscd/gai.c: Likewise.
9551 * nss/nss_db/db-open.c: Likewise.
9552 * sysdeps/generic/ldsodefs.h: Likewise.
9553 * sysdeps/sh/nptl/tls.h: Likewise.
9554 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9555 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9556 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9557 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9558 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9559 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9560 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9561 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9563 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9564 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9565 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9566 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9567 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9568 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9569 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9570 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9571 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9572 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9573 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9574 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9575 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9576 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9577 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9578 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9579 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9580 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9581 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9582 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9583 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9584 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9585 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9586 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9587 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9588 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9589 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9590 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9591 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9592 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9593 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9594 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9595 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9596 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9597 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9598 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9599 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9600 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9601 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9602 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9603 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9604 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9605 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9606 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9607 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9608 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9609 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9610 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9611 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9634 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9635 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9636 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9637 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9638 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9639 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9640 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9641 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9642 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9643 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9644 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9645 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9646 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9647 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9648 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9649 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9650 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9651 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9652 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9653 * sysdeps/unix/sysv/linux/system.c: Likewise.
9654 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9655 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9656 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9657 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9658 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9659 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9660 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9661
92072d57
JM
9662 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9663 * configure: Regenerated.
9664 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9665
3e239be6
JM
9666 * configure.ac (base_machine): Do not set specially for particular
9667 machines here.
9668 * configure: Regenerated.
9669 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9670 settings from configure.ac.
9671 * sysdeps/i386/preconfigure: New file.
9672 * sysdeps/s390/preconfigure: Likewise.
9673 * sysdeps/sh/preconfigure: Likewise.
9674 * sysdeps/sparc/preconfigure: Likewise.
9675
06d50baa
RM
96762014-06-25 Roland McGrath <roland@hack.frob.com>
9677
74836003
RM
9678 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9679 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9680 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9681 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9682 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9683 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9684 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9685 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9686 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9687 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9688 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9689 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9690 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9691 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9692 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9693 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9694 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9695 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9696 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9697
9698 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9699 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9700 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9701 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9702 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9703 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9704 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9705 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9706 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9707 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9708 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9709 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9710 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9711 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9712 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9713 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9714 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9715 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9716 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9717 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9719 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9720 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9721 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9722 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9723 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9724 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9725 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9726 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9727 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9728 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9729 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9730 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9731 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9732 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9733 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9734 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9735 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9736
06d50baa
RM
9737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9738 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9740 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9742 Moved ...
9743 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9744 ... here.
9745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9746 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9748 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9750 Moved ...
9751 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9753 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9755 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9757 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9759 Moved ...
9760 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9762 Moved ...
9763 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9765 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9767 Moved ...
9768 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9770 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9772 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9774 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9776 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9778 Moved ...
9779 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9780 ... here.
9781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9782 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9784 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9786 Moved ...
9787 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9795 Moved ...
9796 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9798 Moved ...
9799 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9801 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9803 Moved ...
9804 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9806 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9808 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9809
a4ccbc9b
JM
98102014-06-25 Joseph Myers <joseph@codesourcery.com>
9811
0828edbf
JM
9812 * timezone/checktab.awk: Update from tzcode 2014e.
9813 * timezone/private.h: Likewise.
9814 * timezone/tzfile.h: Likewise.
9815 * timezone/zdump.c: Likewise.
9816 * timezone/zic.c: Likewise.
9817
a4ccbc9b
JM
9818 * sysdeps/unix/sysv/linux/kernel-features.h
9819 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9820 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9821 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9822 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9823 Remove conditional code.
9824
9aea0cb8
WN
98252014-06-25 Will Newton <will.newton@linaro.org>
9826
9827 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9828 (_dl_arm_cap_flags): Add HWCAP2 values.
9829 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9830 (_DL_HWCAP_COUNT): Increase to 37.
9831 (_DL_HWCAP_LAST): New define.
9832 (_DL_HWCAP2_LAST): New define.
9833 (_dl_procinfo): Add support for printing
9834 AT_HWCAP2 entries.
9835 (_dl_string_hwcap): Use _dl_hwcap_string.
9836
6eaa65ce
AZ
98372014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9838
9839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9840
0f5b7185
JM
98412014-06-25 Joseph Myers <joseph@codesourcery.com>
9842
cfd2ea50
JM
9843 * README: Do not mention ports directory.
9844
cecf2ed4
JM
9845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9846 Remove macro.
9847 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9848 <kernel-features.h>.
9849 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9850 conditional variable definition.
9851 (__futimes): Update comment.
9852 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9853 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9854
a638de82
JM
9855 [BZ #16560]
9856 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9857 arguments close to 0.
9858 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9859 Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9861 Likewise.
9862 * math/auto-libm-test-in: Add more tests of exp10.
9863 * math/auto-libm-test-out: Regenerated.
9864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9865
0f5b7185
JM
9866 * sysdeps/unix/sysv/linux/kernel-features.h
9867 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9868 * sysdeps/unix/sysv/linux/readv.c: Do not include
9869 <kernel-features.h>.
9870 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9871 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9872 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9873 unconditional.
9874 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9875 conditional code.
9876 * sysdeps/unix/sysv/linux/writev.c: Do not include
9877 <kernel-features.h>.
9878 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9879 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9880 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9881 unconditional.
9882 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9883 conditional code.
9884
c7aec4be
WN
98852014-06-25 Will Newton <will.newton@linaro.org>
9886
9887 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9888 comment changes throughout the file. Remove checks
9889 for HAVE_*_H definitions that are not required.
9890 (__gen_tempname): Call abort if an unknown kind value is
9891 passed.
9892
c5241f95
AS
98932014-06-25 Andreas Schwab <schwab@suse.de>
9894
9895 [BZ #17086]
9896 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9897 scalbln, scalblnf, scalblnl in libc.
9898
911422da
SP
98992014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9900
9901 [BZ #17086]
9902 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9903 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9904 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9905
0d749bbe
RM
99062014-06-24 Roland McGrath <roland@hack.frob.com>
9907
9908 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9909 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9910 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9911 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9912 Update #include.
9913 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9914 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9915 Update #include.
9916 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9917 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9918 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9919 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9920 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9921 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9922 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9923 * sysdeps/x86/bits/semaphore.h: ... here.
9924 * sysdeps/x86/nptl/elide.h: Moved ...
9925 * sysdeps/x86/elide.h: ... here.
9926 * sysdeps/x86_64/nptl/Implies: File removed.
9927 * sysdeps/i386/nptl/Implies: File removed.
9928
0ea5d373
JM
99292014-06-24 Joseph Myers <joseph@codesourcery.com>
9930
4060283d
JM
9931 [BZ #16539]
9932 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9933 return the argument for normal arguments with exponent below -64.
9934 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9935 Likewise.
9936 * math/auto-libm-test-in: Add another test of expm1.
9937 * math/auto-libm-test-out: Regenerated.
9938
e7dd3c8c
JM
9939 [BZ #16287]
9940 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9941 calling __erfcl for arguments at least 16.
9942 * math/auto-libm-test-in: Add more tests of erf.
9943 * math/auto-libm-test-out: Regenerated.
9944
0ea5d373
JM
9945 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9946 individual architectures.
9947 * sysdeps/unix/sysv/linux/configure: Regenerated.
9948 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9949 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9950 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9951 (ldd_rewrite_script): Define variable.
9952 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9954 file.
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9956 generated file.
9957 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9958 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9959 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9960 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9961 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9962 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9963 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9964 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9965
2307e126
SP
99662014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9967
9968 [BZ #17084]
9969 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9970 Rename member __data.d to __data.__elision_data.
9971
c0a4ed77
W
99722014-06-24 Wilco <wdijkstr@arm.com>
9973
9974 * NEWS: Add 16918 to fixed bug list.
9975
b8c00573
W
99762014-06-24 Wilco <wdijkstr@arm.com>
9977
9978 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9979
b5570d92
W
99802014-06-24 Wilco <wdijkstr@arm.com>
9981
9982 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9983 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9984 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9985 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9986 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9987 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9988 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9989 Use _FPU_MASK_RM.
9990
947bdca2
W
99912014-06-24 Wilco <wdijkstr@arm.com>
9992
9993 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9994
00f669ed
W
99952014-06-24 Wilco <wdijkstr@arm.com>
9996
9997 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9998 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9999 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10000 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10001
db59bad3
W
100022014-06-24 Wilco <wdijkstr@arm.com>
10003
10004 [BZ #16918]
10005 * sysdeps/arm/feupdateenv.c (feupdateenv):
10006 Rewrite to reduce FPSCR accesses and fix return value.
10007
001f7b77
W
100082014-06-24 Wilco <wdijkstr@arm.com>
10009
10010 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10011 Optimize to avoid unnecessary FPSCR writes.
10012 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10013 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10014 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10015 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10016
4841e6a6
W
100172014-06-24 Wilco <wdijkstr@arm.com>
10018
10019 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10020 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10021 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10022 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10023 Call libc_fetestexcept_vfp.
10024 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10025 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10026 __SOFTFP__ ifdef so that they can be built for softfp.
10027
0813022c
SP
100282014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10029
08e5862f
SP
10030 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10031 argument type signed char.
10032
0813022c
SP
10033 * Makerules (check-abi): Dump diff of symlist if the test
10034 fails.
10035
3fc7236a
RM
100362014-06-23 Roland McGrath <roland@hack.frob.com>
10037
aba8ef95
RM
10038 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10039 using abort.
10040
3fc7236a
RM
10041 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10042 Remove unused variable ST.
10043
4da6db51
JM
100442014-06-23 Joseph Myers <joseph@codesourcery.com>
10045
4648909d
JM
10046 [BZ #16354]
10047 [BZ #17061]
10048 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10049 small arguments before calling __expm1.
10050 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10051 small arguments before calling __expm1f.
10052 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10053 small arguments before calling __expm1l.
10054 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10055 Likewise.
10056 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10057 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10058 spurious underflow for some cosh tests.
10059 * math/auto-libm-test-out: Regenerated.
10060 * sysdeps/i386/fpu/libm-test-ulps: Update.
10061
46a3d3c7
JM
10062 [BZ #17050]
10063 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10064 (__ieee754_y1): Set errno if return value overflows.
10065 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10066 (__ieee754_y1f): Set errno if return value overflows.
10067 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10068 (__ieee754_y1l): Set errno if return value overflows.
10069 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10070 (__ieee754_y1l): Set errno if return value overflows.
10071 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10072 * math/auto-libm-test-out: Regenerated.
10073
863893ec
JM
10074 * math/gen-auto-libm-tests.c: Document use of
10075 ignore-zero-inf-sign.
10076 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10077 (input_flags): Add ignore-zero-inf-sign.
10078 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10079 * math/gen-libm-test.pl (generate_testfile): Handle
10080 ignore-zero-inf-sign.
10081 * math/auto-libm-test-in: Mark some cpow tests with
10082 ignore-zero-inf-sign and some with xfail-rounding.
10083 * math/auto-libm-test-out: Regenerated.
10084 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10085 * sysdeps/i386/fpu/libm-test-ulps: Update.
10086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10087
4da6db51
JM
10088 [BZ #16315]
10089 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10090 overflowing or underflowing operations take place with sign of
10091 result.
10092 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10093 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10094 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10095 (__ieee754_pow): Recompute overflowing and underflowing results in
10096 original rounding mode.
10097 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10098 (__powl_helper): Allow negative argument X and scale negated value
10099 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10100 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10101 overflowing or underflowing operations take place with sign of
10102 result.
10103 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10104 Include <math.h>.
10105 * math/auto-libm-test-in: Add more tests of pow.
10106 * math/auto-libm-test-out: Regenerated.
10107 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10108 (pow_tonearest_test_data): Remove.
10109 (pow_test_tonearest): Likewise.
10110 (pow_towardzero_test_data): Likewise.
10111 (pow_test_towardzero): Likewise.
10112 (pow_downward_test_data): Likewise.
10113 (pow_test_downward): Likewise.
10114 (pow_upward_test_data): Likewise.
10115 (pow_test_upward): Likewise.
10116 (main): Don't call removed functions.
10117 * sysdeps/i386/fpu/libm-test-ulps: Update.
10118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10119
5686b236
RM
101202014-06-23 Roland McGrath <roland@hack.frob.com>
10121
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10123 Moved ...
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10126 Moved ...
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10129 Moved ...
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10132 Moved ...
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10135 File removed.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10137 File removed.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10139 File removed.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10141 File removed.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10143 File removed.
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10145 File removed.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10147 File removed.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10149 File removed.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10151 File removed.
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10153 File removed.
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10155 File removed.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10157 File removed.
10158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10159 Moved ...
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10162 Moved ...
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10164 ... here.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10166 Moved ...
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10169 Moved ...
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10172 Moved ...
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10175 Moved ...
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10178 Moved ...
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10181 Moved ...
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10184 Moved ...
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10188 ... here.
10189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10190 Moved ...
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10193 Moved ...
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10195 ... here.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10197 Moved ...
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10199 ... here.
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10201 Moved ...
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10203 ... here.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10205 Moved ...
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10208 Moved ...
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10213 Moved ...
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10215 ... here.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10217 Moved ...
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10219 ... here.
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10221 Moved ...
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10224 Moved ...
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10227 Moved ...
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10230 Moved ...
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10233 Moved ...
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10235 ... here.
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10237 Moved ...
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10240 Moved ...
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10243 Moved ...
10244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10246 Moved ...
10247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10251 Moved ...
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10254 Moved ...
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10257 Moved ...
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10259 ... here.
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10261 Moved ...
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10263 ... here.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10265 Moved ...
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10267 ... here.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10269 Moved ...
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10272 Moved ...
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10275 Moved ...
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10278 Moved ...
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10280 ... here.
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10282 Moved ...
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10284 ... here.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10286 Moved ...
10287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10288 ... here.
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10290 Moved ...
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10293 Moved ...
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10295
e6d90d67
WD
102962014-06-23 Will Newton <will.newton@linaro.org>
10297 Wilco <wdijkstr@arm.com>
10298
10299 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10300 implementation. Include get-rounding-mode.h.
10301 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10302 [!libc_feholdsetround_noex_ctx]: Define
10303 libc_feholdsetround_noex_ctx.
10304 [!libc_feholdsetround_noexf_ctx]: Define
10305 libc_feholdsetround_noexf_ctx.
10306 [!libc_feholdsetround_noexl_ctx]: Define
10307 libc_feholdsetround_noexl_ctx.
10308 (libc_feholdsetround_ctx): New function.
10309 (libc_feresetround_ctx): New function.
10310 (libc_feholdsetround_noex_ctx): New function.
10311 (libc_feresetround_noex_ctx): New function.
10312
d42df555
RM
103132014-06-23 Roland McGrath <roland@hack.frob.com>
10314
88a46474
RM
10315 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10316 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10317 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10318 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10319 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10320 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10321
15bed472
RM
10322 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10323 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10324 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10325 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10326 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10327 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10328 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10329 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10331 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10333 Moved ...
10334 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10335 ... here.
10336 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10337 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10338 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10339 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10340 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10341 Moved ...
10342 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10344 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10346 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10347 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10348 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10349 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10350 Moved ...
10351 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10353 Moved ...
10354 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10355 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10356 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10357 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10358 Moved ...
10359 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10360 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10363 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10364 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10365 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10366 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10367 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10369 Moved ...
10370 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10371 ... here.
10372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10373 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10375 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10377 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10378 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10379 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10380 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10381 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10385 Moved ...
10386 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10388 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10389 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10390 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10391 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10392 Moved ...
10393 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10395 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10396 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10397 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10398
d42df555
RM
10399 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10400 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10401 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10402 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10403 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10404 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10405 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10406 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10408 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10409 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10410 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10411 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10412 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10413 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10414 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10415 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10416 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10417 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10418 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10419 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10420 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10421 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10422 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10423 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10424 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10425 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10426 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10427
76e5216e
JM
104282014-06-23 Joseph Myers <joseph@codesourcery.com>
10429
10430 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10431 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10432 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10433 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10434 (IPV6_PMTUDISC_INTERFACE): Likewise.
10435 (IPV6_PMTUDISC_OMIT): Likewise.
10436
7a81cbcc
AS
104372014-06-23 Andreas Schwab <schwab@suse.de>
10438
10439 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10440 Remove unused errout label.
10441
db224009
AZ
104422014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10443
10444 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10445 macro: hardware supports Vector Crypto instructions.
10446
f393b4aa
WN
104472014-06-23 Will Newton <will.newton@linaro.org>
10448
cc7d0447
WN
10449 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10450 rather than __builtin_expect.
10451
d6d06225
WN
10452 * elf/dl-lookup.c (undefined_msg): Remove variable.
10453 (_dl_lookup_symbol_x): Replace undefined_msg with string
10454 literal.
10455
f393b4aa
WN
10456 * elf/dl-lookup.c (do_lookup_unique): New function.
10457 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10458 to a separate function.
10459
ac60763e
AS
104602014-06-23 Andreas Schwab <schwab@suse.de>
10461
10462 [BZ #17079]
10463 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10464 before reading the next line.
10465
c5c13355
WN
104662014-06-23 Will Newton <will.newton@linaro.org>
10467
10468 * test-skeleton.c (signal_handler): Use printf and %m
10469 rather than perror. Use printf rather than fprintf to
10470 stderr. Use puts rather than fputs to stderr.
10471 (main): Likewise.
10472
bd3675f9
LC
104732014-06-22 Ludovic Courtès <ludo@gnu.org>
10474
10475 * nscd/nscd.c (thread_info_t): Remove typedef.
10476 (thread_info): Remove variable.
10477
d03efb2f
AM
104782014-06-21 Allan McRae <allan@archlinux.org>
10479
10480 * NEWS: Mention CVE-2014-4043.
10481
bc4a86fa
RM
104822014-06-20 Roland McGrath <roland@hack.frob.com>
10483
dc9a54f8
RM
10484 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10485 * nptl/smp.h: ... here.
10486
bd7022c4
RM
10487 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10488
26ffd5e6
RM
10489 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10490 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10491 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10492 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10493
93a6d082
RM
10494 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10495 * nptl/stack-aliasing.h: New file.
10496 * sysdeps/i386/i686/stack-aliasing.h: New file.
10497 * sysdeps/i386/i686/nptl/Makefile: File removed.
10498 * sysdeps/x86_64/stack-aliasing.h: New file.
10499 * sysdeps/x86_64/nptl/Makefile
10500 (CFLAGS-pthread_create.c): Variable removed.
10501
bc4a86fa
RM
10502 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10503 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10504 old file.
10505 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10506 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10507 old file.
10508
2272ffc1
JM
105092014-06-21 Joseph Myers <joseph@codesourcery.com>
10510
10511 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10512 (__ASSUME_SIGFRAME_V2): Remove macro.
10513 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10514 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10515 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10516 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10517 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10518 Declare as function. Remove conditional macro definitions.
10519 (__default_rt_sa_restorer): Likewise.
10520 (__default_sa_restorer_v1): Remove declaration.
10521 (__default_sa_restorer_v2): Likewise.
10522 (__default_rt_sa_restorer_v1): Likewise.
10523 (__default_rt_sa_restorer_v2): Likewise.
10524 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10525 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10526 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10527
4b88139b
RM
105282014-06-20 Roland McGrath <roland@hack.frob.com>
10529
10530 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10531 (libpthread-routines): Add sysdep.
10532 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10533 * sysdeps/unix/sysv/linux/sparc/Versions
10534 (libpthread: GLIBC_2.3.3): New version set.
10535 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10536 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10537 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10538 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10539 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10540 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10541 Moved ...
10542 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10543 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10544 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10545 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10546 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10547 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10548 * sysdeps/sparc/nptl/sem_init.c: ... here.
10549 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10550 * sysdeps/sparc/nptl/sem_post.c: ... here.
10551 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10552 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10553 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10554 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10555 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10556 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10557 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10558 (libpthread-routines): Add cpu_relax.
10559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10560 File removed.
10561 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10562 (librt: GLIBC_2.3.3): New version set.
10563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10564 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10565 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10566 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10569 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10571 Moved ...
10572 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10574 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10576 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10578 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10580 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10582 Moved ...
10583 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10584 Update #include.
10585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10586 Moved ...
10587 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10588 Update #include.
10589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10590 Moved ...
10591 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10592 Update #include.
10593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10594 Moved ...
10595 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10596 Update #include.
10597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10598 Moved ...
10599 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10600 Update #include.
10601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10602 Moved ...
10603 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10604 Update #include.
10605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10606 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10612 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10614 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10616 Moved ...
10617 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10619 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10621 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10622
d7109027
JM
106232014-06-20 Joseph Myers <joseph@codesourcery.com>
10624
9bc6103d
JM
10625 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10626 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10627 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10628 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10629 * nscd/nscd.c: Likewise.
10630 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10631 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10632 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10633 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10634
d7109027
JM
10635 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10636 <kernel-features.h>.
10637 (init_mq_netlink): Remove conditional have_sock_cloexec
10638 definitions. Remove code conditional on have_sock_cloexec < 0.
10639 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10640 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10641 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10642 <kernel-features.h>.
10643 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10644 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10645
d92d8f8a
L
106462014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10647
10648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10649 Add tests for memset_chk and memset.
10650
10651 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10652 with AVX2_Usable.
10653
4e6d2347
MR
106542014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10655
257ce712
MR
10656 [BZ #16046]
10657 * elf/tst-dl-iter-static.c: New file.
10658 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10659
4e6d2347
MR
10660 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10661 error.
10662
a2a76afe
JM
106632014-06-20 Joseph Myers <joseph@codesourcery.com>
10664
7fd00f99
JM
10665 * sysdeps/unix/sysv/linux/kernel-features.h
10666 (__ASSUME_F_GETOWN_EX): Remove macro.
10667 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10668 <kernel-features.h>.
10669 (miss_F_GETOWN_EX): Remove variable or macro.
10670 (do_fcntl): Do not check miss_F_GETOWN_EX.
10671 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10672
4a103975
JM
10673 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10674 Remove macro.
10675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10676 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10677 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10678
a2a76afe
JM
10679 * sysdeps/unix/sysv/linux/kernel-features.h
10680 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10681 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10682 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10683 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10684
90e5dd48
MR
106852014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10686
10687 [BZ #17075]
10688 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10689 Fix calculation of the symbol's value.
10690 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10691 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10692 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10693 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10694 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10695 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10696 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10697 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10698 (modules-names): Add `tst-armtlsdescmod',
10699 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10700 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10701 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10702 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10703 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10704 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10705 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10706 ($(objpfx)tst-armtlsdescloc): New dependency.
10707 ($(objpfx)tst-armtlsdescextnow): Likewise.
10708 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10709 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10710 TLS scheme support.
10711 * sysdeps/arm/configure: Regenerate.
10712
809fdf0d
JM
107132014-06-20 Joseph Myers <joseph@codesourcery.com>
10714
10715 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10716 (__atfct_seterrno_2): Likewise.
10717 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10718 <kernel-features.h>.
10719 (__ASSUME_ATFCTS): Do not undefine and redefine.
10720 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10721 (__have_atfcts): Remove conditional definition.
10722 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10723 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10724 unreachable if [__ASSUME_ATFCTS].
10725 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10726 not undefine and redefine.
10727 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10728 <kernel-features.h>.
10729 (faccessat) [__NR_faccessat]: Make code unconditional.
10730 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10731 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10732 <kernel-features.h>.
10733 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10734 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10735 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10736 <kernel-features.h>.
10737 (fchownat) [__NR_fchownat]: Make code unconditional.
10738 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10739 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10740 <kernel-features.h>.
10741 (futimesat) [__NR_futimesat]: Make code unconditional.
10742 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10743 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10744 <kernel-features.h>.
10745 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10746 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10747 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10748 <kernel-features.h>.
10749 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10750 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10751 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10752 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10753 <kernel-features.h>.
10754 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10755 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10756 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10757 <kernel-features.h>.
10758 (linkat) [__NR_linkat]: Make code unconditional.
10759 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10760 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10761 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10762 <kernel-features.h>.
10763 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10764 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10765 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10766 <kernel-features.h>.
10767 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10768 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10769 * sysdeps/unix/sysv/linux/openat.c: Do not include
10770 <kernel-features.h>.
10771 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10772 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10773 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10774 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10775 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10776 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10777 <kernel-features.h>.
10778 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10779 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10780 result of INLINE_SYSCALL directly, not via int variable.
10781 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10782 <kernel-features.h>.
10783 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10784 (renameat) [__NR_renameat]: Make code unconditional.
10785 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10786 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10787 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10788 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10789 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10790 (__ASSUME_ATFCTS): Do not undefine and redefine.
10791 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10792 <kernel-features.h>.
10793 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10794 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10795 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10796 <kernel-features.h>.
10797 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10798 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10799 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10800 (__ASSUME_ATFCTS): Do not undefine and redefine.
10801 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10802 <kernel-features.h>.
10803 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10804 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10805 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10806 <kernel-features.h>.
10807 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10808 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10809
224c6c51
L
108102014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10811
10812 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10813
aa6ec754
AS
108142014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10815
10816 [BZ #17069]
10817 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10818 constructed tree before returning error.
10819 * posix/bug-regexp36.c: Expand test case.
10820
d8c2869d
SL
108212014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10822
3ef6b850
SL
10823 [BZ #6803]
10824 * math/libm-test.inc (scalbln_test_date):
10825 Add errno expectations.
10826 * math/w_scalblnf.c: New File.
10827 Add wrapper which checks for setting errno to ERANGE.
10828 Add weak_alias for corresponding scalbln function.
10829 * math/w_scalbln.c: Likewise.
10830 * math/w_scalblnl.c: Likewise.
10831 * math/Makefile (libm-calls): Add w_scalbln.
10832 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10833 Remove weak_alias for corresponding scalbln function.
10834 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10836 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10838 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10839 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10840 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10841 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10842 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10843 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10844 Remove long_double_symbol for scalblnl function in libm, libc.
10845 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10846 Add wrapper which checks for setting errno to ERANGE.
10847 Add long_double_symbol for scalblnl function in libm, libc.
10848 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10849 Remove long_double_symbol for scalblnl in libm.
10850 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10851 Add wrapper which checks for setting errno to ERANGE.
10852 Add long_double_symbol for scalblnl function in libm.
10853 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10854 Do not use wrapper because of own implementation.
10855
c8daec5c
L
108562014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10857
10858 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10859 3 bytes for __pad1 for x32.
10860 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10861
5c74e47c
LM
108622014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10863 H.J. Lu <hongjiu.lu@intel.com>
10864
10865 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10866 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10867 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10868 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10869 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10870
4d43ef1e
AS
108712014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10872
10873 [BZ #17069]
10874 * posix/regcomp.c (parse_expression): Deallocate partially
10875 constructed tree before returning error.
10876 * posix/Makefile.c (tests): Add bug-regex36.
10877 (generated): Add bug-regex36.mtrace.
10878 (tests-special): Add $(objpfx)bug-regex36-mem.out
10879 (bug-regex36-ENV): New variable.
10880 ($(objpfx)bug-regex36-mem.out): New rule.
10881 * posix/bug-regex36.c: New file.
10882
51a7380b
WN
108832014-06-19 Will Newton <will.newton@linaro.org>
10884
10885 * malloc/malloc.c (systrim): If extra is zero then return
10886 early.
10887
91b84fe5
SP
108882014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10889
10890 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10891
f940b965
RE
108922014-06-19 Richard Earnshaw <rearnsha@arm.com>
10893
10894 * sysdeps/aarch64/strchr.S: New file.
10895
4ba7a00f
JM
108962014-06-18 Joseph Myers <joseph@codesourcery.com>
10897
10898 [BZ #17022]
10899 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10900 from arguments -2 or below.
10901 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10902 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10903
b3a9f56b
AS
109042014-06-18 Andreas Schwab <schwab@suse.de>
10905
10906 [BZ #17062]
10907 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10908 of a bracket expr not to run off the end of the string.
10909 * posix/Makefile (tests): Add tst-fnmatch3.
10910 * posix/tst-fnmatch3.c: New file.
10911
85d89278
JM
109122014-06-18 Joseph Myers <joseph@codesourcery.com>
10913
10914 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10915 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10916 [$(cross-compiling) = no]: Likewise.
10917 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10918 [$(cross-compiling) = no]: Likewise.
10919
754c5a08
RS
109202014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10921
10922 [BZ #17031]
10923 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10924 double, adjusted for any remainder from the high double.
10925 * math/libm-test.inc (nearbyint): Add tests.
10926 (rint): Likewise.
10927
556f529d
AZ
109282014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10929
10930 * nptl/sysdeps/powerpc/Makefile: Moved ...
10931 * sysdeps/powerpc/nptl/Makefile: ... here.
10932 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10933 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10934 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10935 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10936 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10937 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10938 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10939 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10940 * nptl/sysdeps/powerpc/tls.h: Moved ...
10941 * sysdeps/powerpc/nptl/tls.h: ... here.
10942
91c03c53
JM
109432014-06-16 Joseph Myers <joseph@codesourcery.com>
10944
10945 [BZ #16681]
10946 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10947 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10948 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10949 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10950 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10951 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10952 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10953 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10954 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10955
a76e63c5
AS
109562014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10957
10958 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10959
f2f6d82f
AS
109602014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10961
ea8a15f6
AS
10962 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10963 defined operator.
10964
f2f6d82f
AS
10965 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10966 $TIMEOUTFACTOR.
10967
a7291117
FW
109682014-06-16 Florian Weimer <fweimer@redhat.com>
10969
10970 [BZ #17058]
10971 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10972 non-executed part of the test.
10973
3d7c00e3
AS
109742014-06-16 Andreas Schwab <schwab@suse.de>
10975
10976 * string/bits/string2.h (strdup, strndup): Update feature guard.
10977
6957fb31
DM
109782014-06-14 David S. Miller <davem@davemloft.net>
10979
10980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10981
11b9e55b
AS
109822014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10983
1d2a0492
AS
10984 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10985 that was previously under [RESET_PID].
10986 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10987
11b9e55b
AS
10988 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10989 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10990 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10991 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10992 (__libc_vfork): New strong alias.
10993 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10994
0f6901d0
AK
109952014-06-14 Andi Kleen <ak@linux.intel.com>
10996
10997 * sysdeps/generic/elide.h: New file.
10998
38bbbb9f
SL
109992014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11000
11001 * Makefile (installed-headers): Adjust path of pthread.h header.
11002
45193bb8
RM
110032014-06-13 Roland McGrath <roland@hack.frob.com>
11004
9a25fd1e
RM
11005 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11006 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11007 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11008 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11009
4004f7e4
RM
11010 * nptl/sysdeps/s390/Makefile: Moved ...
11011 * sysdeps/s390/nptl/Makefile: ... here.
11012 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11013 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11014 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11015 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11016 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11017 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11018 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11019 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11020 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11021 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11022 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11023 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11024 * nptl/sysdeps/s390/tls.h: Moved ...
11025 * sysdeps/s390/nptl/tls.h: ... here.
11026
45193bb8
RM
11027 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11028 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11029
f6fdf533
DM
110302014-06-13 David S. Miller <davem@davemloft.net>
11031
11032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11035 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11039 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11040 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11041 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11042 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11043 Remove RESET_PID cpp guards.
11044 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11045 Remove RESET_PID cpp guards.
11046 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11047
f5d71e14
AS
110482014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11049
11050 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11051 __sp to uintptr_t.
11052
b7aa8caa
AK
110532014-06-13 Andi Kleen <ak@linux.intel.com>
11054
4b266200
AZ
11055 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11056 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11057 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11058 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11059 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11060 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11061 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11062 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11063 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11065 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11066 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11067 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11070 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11071 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11072 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11074 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11075
11076 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11077 (pthread_rwlock_rdlock): Add elision.
11078 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11079 (pthread_rwlock_wrlock): Add elision.
11080 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11081 (pthread_rwlock_trywrlock): Add elision.
11082 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11083 (pthread_rwlock_tryrdlock): Add elision.
11084 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11085 (pthread_rwlock_tryrdlock): Add elision unlock.
11086 * nptl/sysdeps/pthread/pthread.h:
11087 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11088 (PTHREAD_RWLOCK_INITIALIZER,
11089 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11090 Handle new elision field.
11091 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11092 * sysdeps/arm/nptl/bits/pthreadtypes.h
11093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11094 * sysdeps/sh/nptl/bits/pthreadtypes.h
11095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11096 * sysdeps/tile/nptl/bits/pthreadtypes.h
11097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11098 * sysdeps/a/nptl/bits/pthreadtypes.h
11099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11100 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11102 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11104 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11106 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11108 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11110 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11112 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11114 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11116 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11117 (elision_init): Set try_xbegin to zero when no RTM.
11118 * sysdeps/x86/nptl/bits/pthreadtypes.h
11119 (pthread_rwlock_t): Change __pad1 to __rwelision.
11120 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11121
a832bdd3
AK
111222014-06-13 Andi Kleen <ak@linux.intel.com>
11123
11124 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11125 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11126 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11127 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11128
995a46bb
MI
111292014-06-13 Meador Inge <meadori@codesourcery.com>
11130
11131 [BZ #16996]
03ed7738 11132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11133 that the cached result has been set before returning it.
11134
45262aee
RM
111352014-06-12 Roland McGrath <roland@hack.frob.com>
11136
febf6cc5
RM
11137 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11138 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11140 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11141 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11142 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11143
e2682246
RM
11144 * nptl/sysdeps/sparc/Makefile: Moved ...
11145 * sysdeps/sparc/nptl/Makefile: ... here.
11146 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11147 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11148 * nptl/sysdeps/sparc/tls.h: Moved ...
11149 * sysdeps/sparc/nptl/tls.h: ... here.
11150 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11151 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11152 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11153 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11154 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11155 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11156 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11157 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11158 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11159 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11160 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11161 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11162 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11163 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11164 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11165 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11166 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11168 Update #include.
11169 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11171 Update #include.
11172 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11173 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11174 Update #include.
11175 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11177 Update #include.
11178
b0725f43
RM
11179 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11180
b14368b8
RM
11181 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11182 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11183
c5620eb3
RM
11184 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11185 (struct list_links): Type removed.
11186 (struct thread_node, struct timer_node): Replace struct list_links
11187 with struct list_head.
11188 (list_unlink_ip): Likewise.
11189 * sysdeps/pthread/timer_routines.c
11190 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11191 (list_append, list_insbefore): Likewise.
11192 (list_init): Function removed.
11193 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11194 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11195 * sysdeps/pthread/Makefile: ... here, new file.
11196
11197 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11198 * sysdeps/nptl/Implies: ... here.
11199 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11200 * nptl/sysdeps/pthread/list.h: Moved ...
11201 * include/list.h: ... here.
11202 * nptl/sysdeps/pthread/createthread.c: Moved ...
11203 * nptl/createthread.c: ... here.
11204 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11205 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11206 * nptl/pt-longjmp.c: ... here.
11207 * nptl/sysdeps/pthread/Makefile: Moved ...
11208 * sysdeps/nptl/Makefile: ... here.
11209 * nptl/sysdeps/pthread/Subdirs: Moved ...
11210 * sysdeps/nptl/Subdirs: ... here.
11211 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11212 * sysdeps/nptl/aio_misc.h: ... here.
11213 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11214 * sysdeps/nptl/bits/libc-lock.h: ... here.
11215 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11216 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11217 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11218 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11219 * nptl/sysdeps/pthread/configure: Moved ...
11220 * sysdeps/nptl/configure: ... here.
11221 * nptl/sysdeps/pthread/configure.ac: Moved ...
11222 * sysdeps/nptl/configure.ac: ... here.
11223 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11224 * sysdeps/nptl/gai_misc.h: ... here.
11225 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11226 * sysdeps/nptl/librt-cancellation.c: ... here.
11227 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11228 * sysdeps/nptl/malloc-machine.h: ... here.
11229 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11230 * sysdeps/nptl/pthread-functions.h: ... here.
11231 * nptl/sysdeps/pthread/pthread.h: Moved ...
11232 * sysdeps/nptl/pthread.h: ... here.
11233 * nptl/sysdeps/pthread/setxid.h: Moved ...
11234 * sysdeps/nptl/setxid.h: ... here.
11235 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11236 * sysdeps/nptl/sigfillset.c: ... here.
11237 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11238 * sysdeps/nptl/tcb-offsets.h: ... here.
11239 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11240 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11241 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11242 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11243 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11244 * sysdeps/pthread/allocalim.h: ... here.
11245 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11246 * sysdeps/pthread/bits/sigthread.h: ... here.
11247 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11248 * sysdeps/pthread/flockfile.c: ... here.
11249 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11250 * sysdeps/pthread/ftrylockfile.c: ... here.
11251 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11252 * sysdeps/pthread/funlockfile.c: ... here.
11253 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11254 * sysdeps/pthread/posix-timer.h: ... here.
11255 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11256 * sysdeps/pthread/timer_create.c: ... here.
11257 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11258 * sysdeps/pthread/timer_delete.c: ... here.
11259 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11260 * sysdeps/pthread/timer_getoverr.c: ... here.
11261 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11262 * sysdeps/pthread/timer_gettime.c: ... here.
11263 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11264 * sysdeps/pthread/timer_routines.c: ... here.
11265 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11266 * sysdeps/pthread/timer_settime.c: ... here.
11267 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11268 * sysdeps/pthread/tst-timer.c: ... here.
11269 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11270 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11271
e876b090
RM
11272 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11273 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11274
f6b07b3d
RM
11275 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11276 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11277 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11278 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11279 Update #include target.
11280 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11281 * sysdeps/i386/i686/nptl/Makefile: ... here.
11282 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11283 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11284 Update #include target.
11285 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11286 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11287 * nptl/sysdeps/i386/Makefile: Moved ...
11288 * sysdeps/i386/nptl/Makefile: ... here.
11289 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11290 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11291 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11292 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11293 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11294 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11295 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11296 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11297 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11298 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11299 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11300 * nptl/sysdeps/i386/tls.h: Moved ...
11301 * sysdeps/i386/nptl/tls.h: ... here.
11302
45262aee
RM
11303 * sysdeps/sh/Makefile [$(subdir) = csu]
11304 (gen-as-const-headers): Add tcb-offsets.sym.
11305 * nptl/sysdeps/sh/Makefile: File removed.
11306 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11307 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11308 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11309 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11310 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11311 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11312 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11313 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11314 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11315 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11316 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11317 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11318 * nptl/sysdeps/sh/tls.h: Moved ...
11319 * sysdeps/sh/nptl/tls.h: ... here.
11320 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11321 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11322 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11323 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11325 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11326 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11327 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11328 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11329 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11331 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11333 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11335 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11337 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11339 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11341 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11345 Moved ...
11346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11347 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11348 Moved ...
11349 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11351 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11352 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11353 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11354 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11355 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11356 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11357 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11358 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11359 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11360 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11361 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11362 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11363 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11364 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11365 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11366 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11367 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11368
35a5e3e3
SL
113692014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11370
11371 * posix/spawn_faction_addopen.c: Include string.h.
11372
14642b85
RM
113732014-06-11 Roland McGrath <roland@hack.frob.com>
11374
11375 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11376 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11377 * nptl/sysdeps/x86_64/Makefile: Moved ...
11378 * sysdeps/x86_64/nptl/Makefile: ... here.
11379 * nptl/sysdeps/x86_64/configure: Moved ...
11380 * sysdeps/x86_64/nptl/configure: ... here.
11381 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11382 * sysdeps/x86_64/nptl/configure.ac: ... here.
11383 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11384 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11385 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11386 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11387 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11388 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11389 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11390 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11391 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11392 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11393 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11394 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11395 * nptl/sysdeps/x86_64/tls.h: Moved ...
11396 * sysdeps/x86_64/nptl/tls.h: ... here.
11397 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11398 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11399 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11400 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11401
11402 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11403
31c44fea
AZ
114042014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11405
11406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11407
e81a4f9a
JM
114082014-06-11 Joseph Myers <joseph@codesourcery.com>
11409
11410 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11411 type.
11412 [POSIX] (off_t): Likewise.
11413 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11414 [POSIX] (S_ISBLK): Require macro.
11415 [POSIX] (S_ISCHR): Likewise.
11416 [POSIX] (S_ISDIR): Likewise.
11417 [POSIX] (S_ISFIFO): Likewise.
11418 [POSIX] (S_ISREG): Likewise.
11419 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11420 optional-macro.
11421 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11422 type.
11423 [POSIX] (time_t): Likewise.
11424 [POSIX] (timer_t): Likewise.
11425
89e435f3
FW
114262014-06-11 Florian Weimer <fweimer@redhat.com>
11427
11428 [BZ #17048]
11429 * posix/spawn_int.h (struct __spawn_action): Make the path string
11430 non-const to support deallocation.
11431 * posix/spawn_faction_addopen.c
11432 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11433 * posix/spawn_faction_destroy.c
11434 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11435 path in all spawn_do_open actions.
11436 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11437 posix_spawn_file_actions_addopen.
11438
c3a2ebe1
CM
114392014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11440
11441 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11442 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11443 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11444 conditional code always true.
11445 (__libc_vfork): New alias.
11446
9503784a
RM
114472014-06-11 Roland McGrath <roland@hack.frob.com>
11448
c9cab3d2
RM
11449 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11450 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11451
d3996c79
RM
11452 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11453
ba5ec611
RM
11454 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11455 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11456
f12b4814
RM
11457 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11458 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11459
9503784a
RM
11460 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11461 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11462
e23d3d26
VR
114632014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11464
11465 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11466 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11467 multiarch strcmp for PPC64.
11468 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11469 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11471 multiarch optimizations.
11472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11473 (__libc_ifunc_impl_list): Likewise.
11474
42b1161e
SP
114752014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11476
11477 * benchtests/scripts/validate_benchout.py: New script.
11478 * benchtests/Makefile (bench-func): Call it.
11479 * benchtests/scripts/benchout.schema.json: New file.
11480
2d0fc4dc
CM
114812014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11482
4a594c34
AZ
11483 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11484 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11485 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11486 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11487 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11488 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11489 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11490 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11491 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11492 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11493 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11494 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11495 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11496 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11497 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11498 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11500 Moved ...
4a594c34 11501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11502 ... here.
4a594c34 11503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11504 Moved ...
4a594c34
AZ
11505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11507 Moved ...
4a594c34 11508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11509 ... here.
4a594c34 11510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11511 Moved ...
4a594c34 11512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11513 ... here.
4a594c34 11514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11515 Moved ...
4a594c34
AZ
11516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11518 Moved ...
4a594c34 11519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11520 ... here.
4a594c34 11521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11522 Moved ...
4a594c34 11523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11524 ... here.
4a594c34 11525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11526 Moved ...
4a594c34
AZ
11527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11529 Moved ...
4a594c34 11530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11531 ... here.
4a594c34 11532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11533 Moved ...
4a594c34 11534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11535 ... here.
4a594c34 11536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11537 Moved ...
4a594c34 11538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11539 ... here.
4a594c34 11540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11541 Moved ...
4a594c34
AZ
11542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11544 Moved ...
4a594c34 11545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11546 ... here.
4a594c34 11547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11548 Moved ...
4a594c34 11549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11550 ... here.
4a594c34 11551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11552 Moved ...
4a594c34 11553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11554 ... here.
4a594c34 11555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11556 Moved ...
4a594c34
AZ
11557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11559 Moved ...
4a594c34 11560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11561 ... here.
4a594c34 11562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11563 Moved ...
4a594c34 11564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11565 ... here.
4a594c34 11566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11567 Moved ...
4a594c34
AZ
11568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11570 Moved ...
4a594c34 11571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11572 ... here.
4a594c34 11573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11574 Moved ...
4a594c34
AZ
11575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11577 Moved ...
4a594c34
AZ
11578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11580 Moved ...
4a594c34 11581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11582 ... here.
4a594c34 11583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11584 Moved ...
4a594c34 11585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11586 ... here.
4a594c34 11587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11588 Moved ...
4a594c34 11589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11590 ... here.
4a594c34 11591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11592 Moved ...
4a594c34
AZ
11593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11595 Moved ...
4a594c34 11596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11597 ... here.
4a594c34 11598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11599 Moved ...
4a594c34 11600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11601 ... here.
4a594c34
AZ
11602 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11603 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11604 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11605 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11607 Moved ...
4a594c34 11608 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11609 ... here.
4a594c34
AZ
11610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11611 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11613 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11615 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11617 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11619 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11621 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11623 Moved ...
4a594c34
AZ
11624 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11626 Moved ...
4a594c34
AZ
11627 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11629 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11630 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11631 Moved ...
4a594c34
AZ
11632 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11633 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11634 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11635 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11636 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11637 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11638 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11639
0570cfed
W
116402014-06-10 Wilco <wdijkstr@arm.com>
11641
11642 * math/test-fenv-return.c: New file.
11643 * math/Makefile: Add new test test-fenv-return.
11644
f8ba1b56
JM
116452014-06-10 Joseph Myers <joseph@codesourcery.com>
11646
11647 [BZ #17042]
11648 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11649 when x - 1 is zero.
11650 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11651 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11652 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11653 0.0L for an argument of 1.0L.
11654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11655 Likewise.
11656 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11657 value when x - 1 is zero.
11658 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11659 * sysdeps/i386/fpu/libm-test-ulps: Update.
11660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11661
2c3520d9
BO
116622014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11663
11664 [BZ #15119]
11665 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11666
acaa4d24
RM
116672014-06-09 Roland McGrath <roland@hack.frob.com>
11668
11669 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11670 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11671
962b744d
RM
116722014-06-09 Roland McGrath <roland@hack.frob.com>
11673
d752f0cc
RM
11674 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11675 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11676
34eda6d1
RM
11677 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11678 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11679
50f0a637
RM
11680 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11681 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11682
08f41f04
RM
11683 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11684 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11685
962b744d
RM
11686 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11687 if not already defined.
11688 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11689 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11690 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11691 (TLS_INIT_TP): Use it.
11692 (TLS_DEFINE_INIT_TP): New macro.
11693 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11694
09f19b05
JM
116952014-06-09 Joseph Myers <joseph@codesourcery.com>
11696
11697 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11698 constant.
11699 [POSIX] (IXANY): Likewise.
11700 [POSIX] (OLCUC): Likewise.
11701 [POSIX || POSIX2008] (CBAUD): Do not allow.
11702 [POSIX || POSIX2008] (DEFECHO): Likewise.
11703 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11704 [POSIX || POSIX2008] (ECHOKE): Likewise.
11705 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11706 [POSIX || POSIX2008] (EXTA): Likewise.
11707 [POSIX || POSIX2008] (EXTB): Likewise.
11708 [POSIX || POSIX2008] (FLUSHO): Likewise.
11709 [POSIX || POSIX2008] (LOBLK): Likewise.
11710 [POSIX || POSIX2008] (PENDIN): Likewise.
11711 [POSIX || POSIX2008] (SWTCH): Likewise.
11712 [POSIX || POSIX2008] (VDISCARD): Likewise.
11713 [POSIX || POSIX2008] (VDSUSP): Likewise.
11714 [POSIX || POSIX2008] (VLNEXT): Likewise.
11715 [POSIX || POSIX2008] (VREPRINT): Likewise.
11716 [POSIX || POSIX2008] (VSTATUS): Likewise.
11717 [POSIX || POSIX2008] (VWERASE): Likewise.
11718 (B*): Change to B[0123456789]*.
11719 * conform/data/time.h-data [POSIX || UNIX98]
11720 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11721 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11722 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11723 [POSIX] (tm_*): Do not allow.
11724
686554bf
JM
117252014-06-07 Joseph Myers <joseph@codesourcery.com>
11726
11727 * Makefile (install): Don't set LANGUAGE.
11728 * Makefile.in (install): Likewise.
11729 * assert/Makefile (test-assert-ENV): Remove variable.
11730 (test-assert-perr-ENV): Likewise.
11731 * elf/Makefile (neededtest4-ENV): Likewise.
11732 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11733 [$(cross-compiling) = no]: Don't set LANGUAGE.
11734 * io/ftwtest-sh (LANG): Remove variable.
11735 * libio/Makefile (tst-widetext-ENV): Likewise.
11736 * manual/install.texi (Running make install): Don't refer to
11737 environment settings for make install.
11738 * INSTALL: Regenerated.
11739 * nptl/tst-tls6.sh: Don't set LANG.
11740 * posix/globtest.sh (LANG): Remove variable.
11741 * string/Makefile (tester-ENV): Likewise.
11742 (inl-tester-ENV): Likewise.
11743 (noinl-tester-ENV): Likewise.
11744 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11745 [$(cross-compiling) = no]: Don't set LANGUAGE.
11746 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11747 without explicit environment settings.
11748
68e6b6b1
RM
117492014-06-06 Roland McGrath <roland@hack.frob.com>
11750
11751 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11752 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11753 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11754 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11755
4d3ae034
CM
117562014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11757
11758 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11759 other files in the crypt directory.
11760 * crypt/crypt.c: Remove duplicate includes.
11761 * crypt/crypt-entry.c: Likewise.
11762 * crypt/crypt_util.c: Likewise.
11763
8540f6d2
JM
117642014-06-06 Joseph Myers <joseph@codesourcery.com>
11765
11766 * Makeconfig (run-program-env): New variable.
11767 (run-program-prefix-before-env): Likewise.
11768 (run-program-prefix-after-env): Likewise.
11769 (run-program-prefix): Define in terms of new variables.
11770 (built-program-cmd-before-env): New variable.
11771 (built-program-cmd-after-env): Likewise.
11772 (built-program-cmd): Define in terms of new variables.
11773 (test-program-prefix-before-env): New variable.
11774 (test-program-prefix-after-env): Likewise.
11775 (test-program-prefix): Define in terms of new variables.
11776 (test-program-cmd-before-env): New variable.
11777 (test-program-cmd-after-env): Likewise.
11778 (test-program-cmd): Define in terms of new variables.
11779 * Rules (make-test-out): Use $(run-program-env).
11780 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11781 (help): Do not mention environment variables. Mention
11782 --timeoutfactor option.
11783 (timeoutfactor): New variable.
11784 (blacklist_exports): Remove function.
11785 (exports): Remove variable.
11786 (command): Do not include ${exports}.
11787 * manual/install.texi (Configuring and compiling): Do not mention
11788 test wrappers preserving environment variables. Mention that last
11789 assignment to a variable must take precedence.
11790 * INSTALL: Regenerated.
11791 * benchtests/Makefile (run-bench): Use $(run-program-env).
11792 * catgets/Makefile ($(objpfx)test1.cat): Use
11793 $(built-program-cmd-before-env), $(run-program-env) and
11794 $(built-program-cmd-after-env).
11795 ($(objpfx)test2.cat): Do not specify environment variables
11796 explicitly.
11797 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11798 $(run-program-env) and $(built-program-cmd-after-env).
11799 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11800 $(run-program-env) and $(test-program-cmd-after-env).
11801 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11802 explicitly.
11803 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11804 run_program_env and test_program_cmd_after_env arguments.
11805 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11806 * elf/tst-pathopt.sh: Use run_program_env argument.
11807 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11808 $(test-wrapper-env) and $(run-program-env).
11809 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11810 run_program_env arguments.
11811 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11812 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11813 $(test-program-prefix-before-env), $(run-program-env) and
11814 $(test-program-prefix-after-env).
11815 ($(objpfx)tst-gettext2.out): Likewise.
11816 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11817 run_program_env and test_program_prefix_after_env arguments.
11818 * intl/tst-gettext2.sh: Likewise.
11819 * intl/tst-gettext4.sh: Do not set environment variables
11820 explicitly.
11821 * intl/tst-gettext6.sh: Likewise.
11822 * intl/tst-translit.sh: Likewise.
11823 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11824 $(test-program-prefix-before-env), $(run-program-env) and
11825 $(test-program-prefix-after-env).
11826 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11827 run_program_env and test_program_prefix_after_env arguments.
11828 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11829 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11830 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11831 explicitly with each use of ${test_wrapper_env}.
11832 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11833 $(test-program-prefix-before-env), $(run-program-env) and
11834 $(test-program-prefix-after-env).
11835 * posix/tst-getconf.sh: Do not set environment variables
11836 explicitly.
11837 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11838 run_program_env and test_program_prefix_after_env arguments.
11839 * stdio-common/tst-printf.sh: Do not set environment variables
11840 explicitly.
11841 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11842 $(test-program-prefix-before-env), $(run-program-env) and
11843 $(test-program-prefix-after-env).
11844 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11845 run_program_env and test_program_prefix_after_env arguments.
11846 Split $test calls into $test_pre and $test.
11847 * timezone/Makefile (build-testdata): Use
11848 $(built-program-cmd-before-env), $(run-program-env) and
11849 $(built-program-cmd-after-env).
11850
ed36bfa1
AZ
118512014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11852
11853 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11854 strlen for non SHARED builds.
11855
fc75bf46
SP
118562014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11857
11858 * nptl/allocatestack.c (check_list): Inlined function...
11859 (__reclaim_stacks): ... here.
11860
d89b3d80
OB
118612014-06-05 Ondřej Bílka <neleai@seznam.cz>
11862
11863 [BZ #15698]
11864 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11865 memory overrun.
11866
2bf18041
JM
118672014-06-05 Joseph Myers <joseph@codesourcery.com>
11868
11869 * Rules (make-test-out): Include
11870 LOCPATH=$(common-objpfx)localedata in default environment.
11871 * debug/Makefile (tst-chk1-ENV): Remove variable.
11872 (tst-chk2-ENV): Likewise.
11873 (tst-chk3-ENV): Likewise.
11874 (tst-chk4-ENV): Likewise.
11875 (tst-chk5-ENV): Likewise.
11876 (tst-chk6-ENV): Likewise.
11877 (tst-lfschk1-ENV): Likewise.
11878 (tst-lfschk2-ENV): Likewise.
11879 (tst-lfschk3-ENV): Likewise.
11880 (tst-lfschk4-ENV): Likewise.
11881 (tst-lfschk5-ENV): Likewise.
11882 (tst-lfschk6-ENV): Likewise.
11883 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11884 (tst-iconv7-ENV): Likewise.
11885 * intl/Makefile (LOCPATH-ENV): Likewise.
11886 (tst-codeset-ENV): Likewise.
11887 (tst-gettext3-ENV): Likewise.
11888 (tst-gettext5-ENV): Likewise.
11889 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11890 (tst-fopenloc-ENV): Likewise.
11891 (tst-fgetws-ENV): Remove variable.
11892 (tst-ungetwc1-ENV): Likewise.
11893 (tst-ungetwc2-ENV): Likewise.
11894 (bug-ungetwc2-ENV): Likewise.
11895 (tst-swscanf-ENV): Likewise.
11896 (bug-ftell-ENV): Likewise.
11897 (tst-fgetwc-ENV): Likewise.
11898 (tst-fseek-ENV): Likewise.
11899 (tst-ftell-partial-wide-ENV): Likewise.
11900 (tst-ftell-active-handler-ENV): Likewise.
11901 (tst-ftell-append-ENV): Likewise.
11902 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11903 (tst-regexloc-ENV): Likewise.
11904 (bug-regex1-ENV): Likewise.
11905 (tst-regex-ENV): Likewise.
11906 (tst-regex2-ENV): Likewise.
11907 (bug-regex5-ENV): Likewise.
11908 (bug-regex6-ENV): Likewise.
11909 (bug-regex17-ENV): Likewise.
11910 (bug-regex18-ENV): Likewise.
11911 (bug-regex19-ENV): Likewise.
11912 (bug-regex20-ENV): Likewise.
11913 (bug-regex22-ENV): Likewise.
11914 (bug-regex23-ENV): Likewise.
11915 (bug-regex25-ENV): Likewise.
11916 (bug-regex26-ENV): Likewise.
11917 (bug-regex30-ENV): Likewise.
11918 (bug-regex32-ENV): Likewise.
11919 (bug-regex33-ENV): Likewise.
11920 (bug-regex34-ENV): Likewise.
11921 (bug-regex35-ENV): Likewise.
11922 (tst-rxspencer-ENV): Likewise.
11923 (tst-rxspencer-no-utf8-ENV): Likewise.
11924 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11925 (tst-sscanf-ENV): Likewise.
11926 (tst-swprintf-ENV): Likewise.
11927 (tst-swscanf-ENV): Likewise.
11928 (test-vfprintf-ENV): Likewise.
11929 (scanf13-ENV): Likewise.
11930 (bug14-ENV): Likewise.
11931 (tst-grouping-ENV): Likewise.
11932 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11933 (tst-strtod3-ENV): Likewise.
11934 (tst-strtod4-ENV): Likewise.
11935 (tst-strtod5-ENV): Likewise.
11936 (testmb2-ENV): Likewise./
11937 * string/Makefile (tst-strxfrm-ENV): Likewise.
11938 (tst-strxfrm2-ENV): Likewise.
11939 (bug-strcoll1-ENV): Likewise.
11940 (test-strcasecmp-ENV): Likewise.
11941 (test-strncasecmp-ENV): Likewise.
11942 * time/Makefile (tst-strptime-ENV): Likewise.
11943 (tst-ftime_l-ENV): Likewise.
11944 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11945 (tst-mbrtowc-ENV): Likewise.
11946 (tst-wcrtomb-ENV): Likewise.
11947 (tst-mbrtowc2-ENV): Likewise.
11948 (tst-c16c32-1-ENV): Likewise.
11949 (tst-mbsnrtowcs-ENV): Likewise.
11950
cd1fb604
OB
119512014-06-05 Ondřej Bílka <neleai@seznam.cz>
11952
11953 * manual/resource.texi (How to get information about the memory
11954 subsystem?): Fix typo.
11955 Reported by Peon de la Parra Ivan <peon@keba.com>
11956
b42eca7d
GY
119572014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11958
11959 [BZ #16882]
11960 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11961 (pthread_spin_lock): Branch out of spin loop to proper location.
11962 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11963 (pthread_spin_lock): Likewise.
11964
902b71f9
DM
11965 * nptl/tst-spin4.c: New test.
11966 * nptl/Makefile (tests): Add tst-spin4.
11967
f9d2d032
AS
119682014-06-03 Andreas Schwab <schwab@suse.de>
11969
11970 [BZ #15946]
11971 * resolv/res_send.c (send_dg): Reload file descriptor after
11972 calling reopen.
11973
cf7bfd28
SL
119742014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11975
11976 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11977
111cc714
RH
119782014-06-03 Richard Henderson <rth@redhat.com>
11979
89b4bd6b
RH
11980 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11981 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11982 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11983 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11984 in the SAVE_PID block.
11985 (__libc_vfork): New alias.
71840409 11986 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11987
111cc714
RH
11988 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11989 child in registers, not on the stack. Remove RESET_PID conditionals.
11990 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11991
ccc39911
MS
119922014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11993
11994 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11995
693096cc
W
119962014-06-03 Wilco <wdijkstr@arm.com>
11997
11998 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11999 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12000 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12001 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12002 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12003 Likewise.
12004
0b4366bc
W
120052014-06-03 Wilco <wdijkstr@arm.com>
12006
12007 * sysdeps/aarch64/fpu/math_private.h
12008 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12009 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12010 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12011 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12012 Fix declarations.
12013
8747cd03
KS
120142014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12015
12016 * crypt/crypt-private.h: Include ufc-crypt.h.
12017 (__b64_from_24bit): Declare extern.
12018 * crypt/crypt_util.c(__b64_from_24bit): New function.
12019 (b64t): New static const variable.
12020 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12021 (b64t): Remove variable.
12022 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12023 * crypt/sha256-crypt.c: Include crypt-private.h.
12024 (b64t): Remove variable.
12025 (__sha256_crypt_r): Remove b64_from_24bit and replace
12026 with __b64_from_24bit.
12027 * crypt/sha512-crypt.c: Likewise.
12028
d936d379
RM
120292014-06-02 Roland McGrath <roland@hack.frob.com>
12030
12031 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12032 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12033 Label the code __libc_vfork rather than __vfork.
12034 [!NOT_IN_libc] (vfork): Define as weak alias.
12035 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12036 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12037 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12038
9fa76613
SP
120392014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12040
12041 * malloc/malloc.c (malloc_info): Fix format specifier for
12042 n_mmaps.
12043
a88dadbe
W
120442014-06-02 Wilco <wdijkstr@arm.com>
12045
12046 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12047 FPCR write.
12048
c95b3011
W
120492014-06-02 Wilco <wdijkstr@arm.com>
12050
12051 [BZ #17009]
12052 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12053 Rewrite to reduce FPCR/FPSR accesses.
12054
6b4d7a90
DM
120552014-06-01 David S. Miller <davem@davemloft.net>
12056
12057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12058
30f3d07c
DM
120592014-05-31 David S. Miller <davem@davemloft.net>
12060
12061 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12062 to occur in round to nearest mode when |x| >= 2.0
12063
74f31c18
RH
120642014-05-30 Richard Henderson <rth@twiddle.net>
12065
f0712b54
RH
12066 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12067 (PSEUDO_RET_NOERRNO): Remove.
12068 (ret): Don't redefine.
12069 (ret_NOERRNO): Define in terms of ret.
12070 (ret_ERRVAL): Likewise.
12071
74f31c18
RH
12072 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12073 use of PSEUDO_RET; perform the error check directly.
12074
30477995
MM
120752014-05-30 Marko Myllynen <myllynen@redhat.com>
12076
12077 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12078 with __int128_t.
12079
62a58816
SP
120802014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12081
12082 * malloc/malloc (malloc_info): Fix formatting.
12083
4d653a59
SP
120842014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12085 Roland McGrath <roland@hack.frob.com>
12086
12087 * malloc/malloc (malloc_info): Also print mmapped statistics.
12088
5190c17f
RM
120892014-05-30 Roland McGrath <roland@hack.frob.com>
12090
12091 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12092 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12093
987c0269
OB
120942014-05-30 Ondřej Bílka <neleai@seznam.cz>
12095
12096 * malloc/malloc.c (malloc_info): Inline mi_arena.
12097
af4e8ef9
RH
120982014-05-29 Richard Henderson <rth@twiddle.net>
12099
1670e207
RH
12100 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12101 Remove comma before expanding ASM_ARGS_##nr.
12102 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12103 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12104 of ASM_ARGS_##nr.
12105 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12106 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12107 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12108 (ASM_ARGS_1): Add leading comma.
12109
11a28aee
RH
12110 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12111 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12112 to __errno_location.
12113 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12114 Remove the expected plt for __errno_location.
12115
a17e5ffb 12116 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12117 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12118 call to __read_tp.
12119
b5be4597
RH
12120 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12121 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12122 it and break it down.
12123 (DOCARGS_0, DOCARGS_1): Do nothing.
12124 (DOCARGS_2): Update to store into the new stack frame.
12125 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12126 (UNDOCARGS_1): Update to restore from the new stack frame.
12127 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12128 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12129
645d44ab
RH
12130 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12131 (SINGLE_THREAD_P): New parameter for result regno.
12132 (PSEUDO): Update to match; use cbz instead of beq.
12133
a8b4f04a
RH
12134 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12135 Use ENTRY to define the _nocancel entry point. Share the syscall
12136 and syscall error check paths with the cancel path.
12137 (PSEUDO_END): New.
12138
af4e8ef9
RH
12139 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12140 whitespace; tabs before and after asm mnemonics.
12141
26b0d2e1
EW
121422014-05-29 Eric Wong <normalperson@yhbt.net>
12143
12144 [BZ #15132]
12145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12146 Call fstat64 or stat64 internally, depending on arguments passed.
12147 Replace stat buffer argument with file descriptor argument.
12148 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12149 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12150 Pass fd to __internal_statvfs instead of calling fstat64.
12151 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12152 Pass fd to __internal_statvfs64 instead of calling fstat64.
12153 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12154 Pass -1 to __internal_statvfs instead of calling stat64.
12155 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12156 Pass -1 to __internal_statvfs64 instead of calling stat64.
12157
1efe2bd9
RM
121582014-05-28 Roland McGrath <roland@hack.frob.com>
12159
0d3b7a19
RM
12160 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12161 that was previously under [RESET_PID].
12162 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12163
1efe2bd9
RM
12164 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12165 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12166
a6bea3ca
RM
121672014-05-27 Roland McGrath <roland@hack.frob.com>
12168
30b6629e
RM
12169 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12170
a6bea3ca
RM
12171 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12172 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12173
3dfb9a5c
OB
121742014-05-27 Ondřej Bílka <neleai@seznam.cz>
12175
12176 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12177
774f9285
AS
121782014-05-27 Andreas Schwab <schwab@suse.de>
12179
12180 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12181 TLS_INIT_TP macro.
12182 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12183 * elf/rtld.c (init_tls, dl_main): Likewise.
12184 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12185 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12186 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12187 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12188 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12189 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12190 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12191 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12192 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12193 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12194 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12195 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12196 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12197 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12198 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12199 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12200 * sysdeps/generic/tls.h: Update description.
12201
36ffe739
WN
122022014-05-27 Will Newton <will.newton@linaro.org>
12203
12204 [BZ #16990]
12205 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12206 and restore r2 rather than just restoring.
12207
2482ae43
SP
122082014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12209
12210 [BZ #16724]
12211 * libio/tst-ftell-append.c: New test case.
12212 * libio/Makefile (tests): Add test case.
12213 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12214 append mode.
12215 * libio/wfileops.c (do_ftell_wide): Likewise.
12216
3d1024e8
AZ
122172014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12218
bab90016
AZ
12219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12220
c7a8d667
AZ
12221 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12222 ...
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12225 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12226 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12227 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12228 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12229 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12230 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12231 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12232 Moved ...
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12235 Moved ...
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12237 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12238 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12239 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12240 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12241 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12242 ...
12243 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12244 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12245 Moved ...
12246 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12247 here.
12248 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12249 ...
12250 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12251 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12252 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12253
daee7851
AZ
12254 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12255 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12256 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12257 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12258
50a40819
AZ
12259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12260 merge into ...
12261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12263 ...
12264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12266 ...
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12269 Moved ...
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12271 here.
12272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12273 Moved ...
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12276 Moved ...
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12278
8464c2a1
AZ
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12280 conditional [RESET_PID].
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12283 removed.
12284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12285 removed.
12286
3d1024e8
AZ
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12288 <tcb-offsets.h>.
12289 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12290 (__libc_vfork): New strong alias.
12291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12292 removed.
12293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12294 Removed.
12295
12296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12297 <tcb-offsets.h>.
12298 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12299 (__libc_vfork): New strong alias.
12300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12301 removed.
12302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12303 removed.
12304
fdfd175d
CD
123052014-05-26 Carlos O'Donell <carlos@redhat.com>
12306
12307 * malloc/malloc.c (mi_arena): New function.
12308 (malloc_info): Remove nested function mi_arena. Call non-nosted
12309 function mi_arena.
12310
d298c416
AZ
123112014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12312
12313 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12314 by insrwi.
12315 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12316 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12317 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12318 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12319 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12320 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12321 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12322
b60ea6ff
AS
123232014-05-26 Andreas Schwab <schwab@suse.de>
12324
12325 [BZ #16984]
12326 * locale/programs/repertoire.c (repertoire_read): Add slash
12327 between I18NPATH element and file name.
12328 * locale/programs/locfile.c (locfile_read): Likewise.
12329
67365926
SL
123302014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12331
12332 * nptl/pthread_mutexattr_settype.c
12333 (__pthread_mutexattr_settype):
12334 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12335
f8bdf1f0
SL
123362014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12337
12338 * nptl/tst-mutex5 (do_test):
12339 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12340
15eaf6ff
SP
123412014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12342
12343 * benchtests/README: Document 'init' directive.
12344 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12345 BENCH_INIT.
12346 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12347 (parse_file): Recognize 'init' directive.
12348
75f11331
KM
123492014-05-26 Kyle McMartin <kyle@redhat.com>
12350
12351 [BZ #16796]
12352 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12353 alignment of struct pthread.
12354
c3ec475c
SP
123552014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12356
12357 [BZ #16878]
12358 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12359 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12360 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12361 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12362
82aab97c
RH
123632014-05-25 Richard Henderson <rth@twiddle.net>
12364
aa2f176d
RH
12365 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12366 (SINGLE_THREAD_P_PIC): Remove.
12367 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12368 (SINGLE_THREAD_P_PIC): Remove.
12369
ca3cfa40
RH
12370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12371 branch to syscall error ...
12372 (PSEUDO): ... here.
12373 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12374 from __local_syscall_error to .Lsyscall_error.
12375 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12376 (SYSCALL_ERROR): Update label name.
12377
6e6c2d01
RH
12378 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12379 Do not use DOARGS/UNDOARGS.
12380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12381 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12382 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12383 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12384 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12385
c69abcee
RH
12386 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12387 block comment.
12388
82aab97c
RH
12389 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12390 define if !NOT_IN_libc.
12391 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12392 define with non-default symbol versions.
12393
8820e3ac
RH
123942014-05-23 Richard Henderson <rth@twiddle.net>
12395
900e445f
RH
12396 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12397 (vfork, __vfork): Define via compat_symbol.
12398
8820e3ac
RH
12399 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12400 [!HAVE_IFUNC] (vfork_compat): Remove.
12401 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12402
e59252a5
JM
124032014-05-23 Joseph Myers <joseph@codesourcery.com>
12404
12405 [BZ #16978]
12406 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12407 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12408 variable.
12409
132c7f5f
RH
124102014-05-23 Richard Henderson <rth@twiddle.net>
12411
bc89e962
RH
12412 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12413 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12414 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12415 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12416
12417 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12418 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12419 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12420 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12421 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12422 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12423 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12424 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12425 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12426 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12427 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12428 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12429 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12430 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12431 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12432 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12433 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12434 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12435 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12436 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12437 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12438 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12439 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12440 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12441 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12444 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12445 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12446 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12447 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12448 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12449 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12450 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12451 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12452 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12453 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12454 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12455 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12456 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12457 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12458 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12459 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12460 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12461 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12462 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12464 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12466 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12468 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12469 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12470 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12471 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12472 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12473
e2fa4bc2
RH
12474 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12475 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12476 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12477 before exiting on error.
12478 (__libc_vfork): New strong alias.
12479 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12480 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12481
279b24e2
RH
12482 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12483 that was previously under [RESET_PID].
12484 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12485
132c7f5f
RH
12486 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12487
b72592e7
JM
124882014-05-23 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #16977]
12491 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12492 value when x - 1 is zero.
12493 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12494 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12495 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12496 0.0L for an argument of 1.0L.
12497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12498 Likewise.
12499 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12500 value when x - 1 is zero.
12501 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12502 * sysdeps/i386/fpu/libm-test-ulps: Update.
12503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12504
2302d679
RV
125052014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12506
12507 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12508 alphasort and versionsort.
12509
32999d63
AZ
125102014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12511
12512 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12513 macro.
12514 [copysignf]: Likewise.
12515
019324d0
SP
125162014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12517
12518 * crypt/md5-crypt.c: Fix formatting.
12519
34fff5c2
KS
125202014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12521
12522 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12523 (b64_from_24bit): New function.
12524
3d2badac
AZ
125252014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12526
12527 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12528 libc_hidden_builtin_def to ifunc.
12529 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12530 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12531
f7bb179f 125322014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12533
12534 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12535 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12536
4134b50d
JM
125372014-05-21 Joseph Myers <joseph@codesourcery.com>
12538
bb7d0337
JM
12539 * nscd/Depend (linuxthreads): Remove.
12540 (nptl): Add.
12541 * resolv/Depend (linuxthreads): Remove.
12542 * rt/Depend (linuxthreads): Remove.
12543
4134b50d
JM
12544 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12545 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12546 $(common-objpfx)elf/.
12547 (link-libc-before-gnulib): Likewise.
12548 (elfobjdir): Remove variable.
12549 * Makefile (install): Use $(elf-objpfx) instead of
12550 $(common-objpfx)elf/.
12551 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12552 $(elfobjdir)/.
12553 (link-libc-deps): Likewise.
12554 ($(common-objpfx)libc.so): Likewise.
12555 ($(common-objpfx)linkobj/libc.so): Likewise.
12556 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12557 instead of $(common-objpfx)elf/.
12558 (symbolic-link-list): Likewise.
12559 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12560 [$(cross-compiling) = no]: Likewise.
12561 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12562 $(elfobjdir)/.
12563 (static-gnulib-arch): Likewise.
12564 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12565 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12566 $(common-objpfx)elf/.
12567
3612eb8f
RH
125682014-05-21 Richard Henderson <rth@redhat.com>
12569
a6b3657b
RH
12570 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12571 (SINGLE_THREAD_P): Use the correct width load. Fold
12572 into the ldr offset.
12573
3612eb8f
RH
12574 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12575 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12576
175cef41
JM
125772014-05-20 Joseph Myers <joseph@codesourcery.com>
12578
12579 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12580 (libgcc_s_resume): Use __attribute_used__.
12581 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12582 Likewise.
12583
e13bccd3
AZ
125842014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585
12586 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12587 optimization when used with float constants.
12588
7c112a38
AZ
12589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12590
ae75a883
AJ
125912014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12592
12593 [BZ #16915]
12594 * locale/nl_langinfo_l.c: Make direct reference to every
12595 _nl_current_CATEGORY symbol.
12596 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12597 (tests-static): Add tst-langinfo-static.
12598 (tests-special): Add tst-langinfo-static.out.
12599 ($(objpfx)tst-langinfo.out): Redirect output.
12600 ($(objpfx)tst-langinfo-static.out): New.
12601 * localedata/tst-langinfo.sh: Send output to stdout.
12602 * localedata/tst-langinfo-static.c: New file.
12603
4406c41c
AJ
12604 [BZ #16965]
12605 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12606 when the shift amount is modulo the limb size.
12607
4c0a1e63
RH
126082014-05-20 Richard Henderson <rth@redhat.com>
12609
de9d8f20
RH
12610 [BZ #16967]
12611 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12612 Change type of sa_flags from unsigned int to int.
12613
4c0a1e63
RH
12614 [BZ #16966]
12615 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12616
12617 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12618
a60339aa
WN
126192014-05-20 Will Newton <will.newton@linaro.org>
12620
12621 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12622 Test the return value of the system call in the nocancel case.
12623
7d05a816
YR
126242014-05-20 Will Newton <will.newton@linaro.org>
12625 Yvan Roux <yvan.roux@linaro.org>
12626
12627 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12628 #include of asm/ptrace.h.
12629 (PTRACE_GET_THREAD_AREA): Remove #undef.
12630 (PTRACE_GETHBPREGS): Likewise.
12631 (PTRACE_SETHBPREGS): Likewise.
12632 (struct user_regs_struct): New structure.
12633 (struct user_fpsimd_struct): New structure.
12634 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12635 #include of asm/ptrace.h and second #include of sys/user.h.
12636 (PTRACE_GET_THREAD_AREA): Remove #undef.
12637 (PTRACE_GETHBPREGS): Likewise.
12638 (PTRACE_SETHBPREGS): Likewise.
12639 (ELF_NGREG): Use new struct user_regs_struct.
12640 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12641
af121e37
AZ
126422014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12643
12644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12646
834caf06
JM
126472014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12648
12649 [BZ #16958]
12650 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12651 membar to avoid block loads/stores to overlap previous stores.
12652
e184a918
RH
126532014-05-17 Richard Henderson <rth@redhat.com>
12654
12655 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12656 Create the __##syscall_name##_nocancel entry point.
12657 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12658 Remove; let the sysdep-cancel.h code create it.
12659
f56c7a6a
DM
126602014-05-17 David S. Miller <davem@davemloft.net>
12661
12662 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12663 Protect with __USE_GNU.
12664 (TIOCSET_TEMPT): Likewise.
12665 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12666 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12667 these are already provided in bits/ioctl-types.h
12668
f75616b2
RM
126692014-05-16 Roland McGrath <roland@hack.frob.com>
12670
3edeca86
RM
12671 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12672 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12673
f75616b2
RM
12674 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12675 Use wait4 regardless of [__NR_waitpid].
12676
deb0f7f6
MR
126772014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12678
12679 PR libgcc/60166
12680 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12681 (_FP_NANSIGN_Q): Set the quiet bit.
12682
79520f4b
JM
126832014-05-16 Joseph Myers <joseph@codesourcery.com>
12684
12685 * benchtests/Makefile
12686 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12687 not $(common-objpfx)math/libm.so.
12688 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12689 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12690 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12691 $(common-objpfx)dlfcn/libdl.so.
12692 ($(objpfx)tst-audit8): Depend on $(libm), not
12693 $(common-objpfx)math/libm.so.
12694 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12695 not $(common-objpfx)dlfcn/libdl.so.
12696 * math/Makefile
12697 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12698 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12699 [$(build-shared) = yes].
12700 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12701 $(common-objpfx)nptl/libpthread.so.
12702 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12703 $(common-objpfx)math/libm.so$(libm.so-version) or
12704 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12705 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12706 $(common-objpfx)dlfcn/libdl.so.
12707 * setjmp/Makefile (link-libm): Remove variable.
12708 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12709 * stdio-common/Makefile (link-libm): Remove variable.
12710 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12711 * stdlib/Makefile (link-libm): Remove variable.
12712 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12713 ($(objpfx)tst-strtod-round): Likewise.
12714 ($(objpfx)tst-tininess): Likewise.
12715 ($(objpfx)tst-strtod-underflow): Likewise.
12716 ($(objpfx)tst-strtod6): Likewise.
12717 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12718 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12719 $(common-objpfx)dlfcn/libdl.so.
12720
026b0fe4
AZ
127212014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12722
12723 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12724 BSD terminal modes definitions.
12725
def4bcb2
RM
127262014-05-16 Roland McGrath <roland@hack.frob.com>
12727
fe39b021
RM
12728 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12729 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12730
1d1fc46e 12731 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12732 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12733 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12734 Don't do #include_next.
12735 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12736 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12737 Don't do #include_next.
12738 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12739 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12740 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12741 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12742
c72399fb
AM
127432014-05-16 Allan McRae <allan@archlinux.org>
12744
d51d659d
AM
12745 * po/sv.po: Update Swedish translation from translation project.
12746
c72399fb
AM
12747 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12748 in sed expression.
12749
d0583c40
AJ
127502014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12751
12752 [BZ #16917]
12753 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12754 errno if the TIOCGPTN ioctl fails with an error different than
12755 EINVAL.
12756 * login/tst-ptsname.c: New file.
12757 * login/Makefile (tests): Add tst-ptsname.
12758
d16e6ec7
AJ
12759 [BZ #16943]
12760 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12761 and prlimit64.
12762
cf26a0cb
SP
127632014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12764
12765 [BZ #16849]
12766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12767 herrno to return EAI_AGAIN.
12768
5675da1e
RM
127692014-05-14 Roland McGrath <roland@hack.frob.com>
12770
a5d87b3d
RM
12771 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12772 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12773 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12774 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12775 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12776 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12777 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12778 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12780 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12781 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12782 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12783 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12784 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12785 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12786 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12787 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12788 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12789 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12790 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12791 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12792 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12794 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12795 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12796 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12797 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12798 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12799 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12800 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12802 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12804 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12806 Moved ...
12807 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12809 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12811 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12813 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12815 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12817 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12819 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12821 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12823 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12825 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12827 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12829 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12831 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12833 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12835 Moved ...
12836 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12838 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12840 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12842 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12844 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12846 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12848 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12850 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12852 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12854 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12856 Moved ...
12857 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12859 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12860
039890a6
RM
12861 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12862 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12863 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12864 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12865 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12866 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12867 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12868 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12869 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12870 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12871 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12872 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12873 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12874 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12875 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12876 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12877 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12878 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12879 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12880 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12881 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12882 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12883 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12884 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12885 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12886 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12887 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12888 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12889 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12890 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12891 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12892
65c89320
RM
12893 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12894 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12895
348f8e8c
RM
12896 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12897 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12898 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12899 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12900 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12901 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12902 Moved ...
12903 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12905 Moved ...
12906 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12907 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12908 Moved ...
12909 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12910 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12911 Moved ...
12912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12913 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12914 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12915 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12916 Moved ...
12917 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12918 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12919 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12921 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12922 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12923 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12924 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12925 Moved ...
12926 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12927 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12928 Moved ...
12929 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12930 ... here.
12931 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12932 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12933 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12934 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12935 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12936 Moved ...
12937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12938 ... here.
12939 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12940 Moved ...
12941 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12942 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12943 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12944 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12945 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12946 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12947 Moved ...
12948 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12950 Moved ...
12951 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12952 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12953 Moved ...
12954 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12955 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12956 Moved ...
12957 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12958 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12959 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12960 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12961 Moved ...
12962 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12963 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12964 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12965 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12966 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12967 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12968 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12969 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12970 Moved ...
12971 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12972 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12973 Moved ...
12974 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12975 ... here.
12976 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12977 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12978 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12979 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12980 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12981 Moved ...
12982 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12983 ... here.
12984 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12985 Moved ...
12986 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12987 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12988 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12989 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12990 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12991 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12992 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12993 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12994 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12995 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12996 Moved ...
12997 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12998 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12999 Moved ...
13000 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13001 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13002 Moved ...
13003 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13005 Moved ...
13006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13007 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13008 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13009 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13010 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13011 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13012 Moved ...
13013 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13014 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13015 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13016 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13017 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13018 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13019 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13021 Moved ...
13022 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13023 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13024 Moved ...
13025 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13026 ... here.
13027 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13028 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13029 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13030 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13032 Moved ...
13033 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13034 ... here.
13035 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13036 Moved ...
13037 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13038 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13039 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13040 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13041 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13042 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13043 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13044 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13045 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13046 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13047 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13048
5085af05
RM
13049 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13050 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13051
708f0813
RM
13052 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13053 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13054
c96067bc
RM
13055 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13056 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13057 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13059 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13060 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13061 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13062 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13063 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13064 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13065 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13066 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13067 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13068 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13069 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13070 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13071 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13072 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13073 Moved ...
13074 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13075 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13076 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13078 Moved ...
13079 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13081 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13082 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13083 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13085 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13087 Moved ...
13088 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13090 Moved ...
13091 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13093 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13094 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13095 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13096 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13097 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13098 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13099 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13100 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13101 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13102 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13103 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13104 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13105 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13106 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13107 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13108
ec136444
RM
13109 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13110 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13111 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13112 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13113 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13114
2fbdf533
RM
13115 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13116 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13117 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13118 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13119 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13120 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13121 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13122 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13123 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13124 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13125
4c68138b
RM
13126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13128
4eaae765
RM
13129 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13130 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13131 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13132 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13133 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13134 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13135 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13136 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13137 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13138 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13139 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13140 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13141 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13142 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13144 Update #include.
13145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13146 Likewise.
13147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13148 Likewise.
13149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13150 Likewise.
13151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13152 Likewise.
13153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13154 Likewise.
13155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13156 Likewise.
13157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13158 Likewise.
13159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13160 Likewise.
13161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13162 Likewise.
4ef6befa
RM
13163 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13164 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13165 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13166 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13167 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13168 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13169 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13170 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13171 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13172 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13173 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13174 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13175 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13176 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13177 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13178
941d7dfd
RM
13179 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13180 that was previously under [RESET_PID].
13181 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13182 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13183 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13184
1b731c35
RM
13185 * sysdeps/i386/nptl/Implies: New file.
13186 * sysdeps/x86_64/nptl/Implies: New file.
13187 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13188 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13189 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13190 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13191
e2787137
RM
13192 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13193 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13194 (__libc_vfork): New strong alias.
13195 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13196 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13197
13198 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13199 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13200 (__libc_vfork): New strong alias.
13201 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13202 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13203
5675da1e
RM
13204 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13205 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13206 (__libc_vfork): New strong alias.
13207 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13208 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13209 * nptl/pt-vfork.c: New file.
13210 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13211 (libpthread: GLIBC_2.20): New version set (empty).
13212
4f02e2b8
WN
132132014-05-14 Will Newton <will.newton@linaro.org>
13214
13215 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13216 rather than #if.
13217
0bf061d3
JM
132182014-05-14 Joseph Myers <joseph@codesourcery.com>
13219
1a84c3d6
JM
13220 [BZ #16564]
13221 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13222 arguments with exponent 65 or above.
13223 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13224 arguments 0x1p113L or above.
13225 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13226 to arguments 0x1p107L or above.
13227 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13228 positive arguments with exponent 65 or above.
13229 * math/auto-libm-test-in: Add more tests of log1p.
13230 * math/auto-libm-test-out: Regenerated.
13231
01dbacd2
JM
13232 [BZ #16928]
13233 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13234 non-finite arguments is +0.
13235 * math/s_cacosf.c (__cacosf): Likewise.
13236 * math/s_cacosl.c (__cacosl): Likewise.
13237 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13238 * sysdeps/i386/fpu/libm-test-ulps: Update.
13239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13240
913d03c8
JM
13241 [BZ #16927]
13242 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13243 value.
13244 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13245 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13246 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13247 for explicit high bit of mantissa when testing for argument equal
13248 to 1.
13249 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13250 * sysdeps/i386/fpu/libm-test-ulps: Update.
13251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13252
0bf061d3
JM
13253 [BZ #16516]
13254 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13255 (__erf): Scale by 16 instead of 8 in potentially underflowing
13256 case. Ensure exception if result actually underflows.
13257 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13258 (__erff): Scale by 16 instead of 8 in potentially underflowing
13259 case. Ensure exception if result actually underflows.
13260 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13261 (efx8): Remove variable.
13262 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13263 case. Ensure exception if result actually underflows.
13264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13265 (efx8): Remove variable.
13266 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13267 case. Ensure exception if result actually underflows.
13268 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13269 (efx8): Remove variable.
13270 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13271 case. Ensure exception if result actually underflows.
13272 * math/auto-libm-test-in: Add more tests of erf.
13273 * math/auto-libm-test-out: Regenerated.
13274
73ba67cb
AS
132752014-05-14 Andreas Schwab <schwab@suse.de>
13276
3d8c8bff
AS
13277 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13278 Remove code conditionalized on USE___THREAD.
13279
73ba67cb
AS
13280 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13281 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13282 not definedness.
13283
5c521ecd
JM
132842014-05-14 Joseph Myers <joseph@codesourcery.com>
13285
5e7698c6
JM
13286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13287 Define unconditionally.
13288 (__ASSUME_O_CLOEXEC): Likewise.
13289 (__ASSUME_SOCK_CLOEXEC): Likewise.
13290 (__ASSUME_IN_NONBLOCK): Likewise.
13291 (__ASSUME_PIPE2): Likewise.
13292 (__ASSUME_EVENTFD2): Likewise.
13293 (__ASSUME_SIGNALFD4): Likewise.
13294 (__ASSUME_DUP3): Likewise.
13295 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13296 (__ASSUME_DUP3): Do not define.
13297 (__ASSUME_EVENTFD2): Likewise.
13298 (__ASSUME_IN_NONBLOCK): Likewise.
13299 (__ASSUME_O_CLOEXEC): Likewise.
13300 (__ASSUME_PIPE2): Likewise.
13301 (__ASSUME_SIGNALFD4): Likewise.
13302 (__ASSUME_SOCK_CLOEXEC): Likewise.
13303 (__ASSUME_UTIMES): Undefine.
13304 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13305 (__ASSUME_UTIMES): Do not define.
13306 (__ASSUME_O_CLOEXEC): Likewise.
13307 (__ASSUME_SOCK_CLOEXEC): Likewise.
13308 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13309 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13310 0x020621].
13311 (__ASSUME_PIPE2): Likewise.
13312 (__ASSUME_EVENTFD2): Likewise.
13313 (__ASSUME_SIGNALFD4): Likewise.
13314 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13315 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13316 Do not define.
13317 (__ASSUME_EVENTFD2): Likewise.
13318 (__ASSUME_SIGNALFD4): Likewise.
13319 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13320 (__ASSUME_32BITUIDS): Likewise.
13321 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13322 (__ASSUME_IPC64): Likewise.
13323 (__ASSUME_ST_INO_64_BIT): Likewise.
13324 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13325 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13326 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13327 (__ASSUME_UTIMES): Do not define.
13328 (__ASSUME_PSELECT): Likewise.
13329 (__ASSUME_PPOLL): Likewise.
13330 (__ASSUME_O_CLOEXEC): Likewise.
13331 (__ASSUME_SOCK_CLOEXEC): Likewise.
13332 (__ASSUME_IN_NONBLOCK): Likewise.
13333 (__ASSUME_PIPE2): Likewise.
13334 (__ASSUME_EVENTFD2): Likewise.
13335 (__ASSUME_SIGNALFD4): Likewise.
13336 (__ASSUME_DUP3): Likewise.
13337 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13338 (__ASSUME_UTIMES): Likewise.
13339 (__ASSUME_O_CLOEXEC): Likewise.
13340 (__ASSUME_SOCK_CLOEXEC): Likewise.
13341 (__ASSUME_IN_NONBLOCK): Likewise.
13342 (__ASSUME_PIPE2): Likewise.
13343 (__ASSUME_EVENTFD2): Likewise.
13344 (__ASSUME_SIGNALFD4): Likewise.
13345 (__ASSUME_DUP3): Likewise.
13346 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13347 (__ASSUME_UTIMES): Likewise.
13348 (__ASSUME_O_CLOEXEC): Likewise.
13349 (__ASSUME_SOCK_CLOEXEC): Likewise.
13350 (__ASSUME_IN_NONBLOCK): Likewise.
13351 (__ASSUME_PIPE2): Likewise.
13352 (__ASSUME_EVENTFD2): Likewise.
13353 (__ASSUME_SIGNALFD4): Likewise.
13354 (__ASSUME_DUP3): Likewise.
13355 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13356 Likewise.
13357 (__ASSUME_UTIMES): Likewise.
13358 (__ASSUME_EVENTFD2): Likewise.
13359 (__ASSUME_SIGNALFD4): Likewise.
13360 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13361 (__ASSUME_O_CLOEXEC): Likewise.
13362 (__ASSUME_SOCK_CLOEXEC): Likewise.
13363 (__ASSUME_IN_NONBLOCK): Likewise.
13364 (__ASSUME_PIPE2): Likewise.
13365 (__ASSUME_EVENTFD2): Likewise.
13366 (__ASSUME_SIGNALFD4): Likewise.
13367 (__ASSUME_DUP3): Likewise.
13368 (__ASSUME_UTIMES): Undefine.
13369
5c521ecd
JM
13370 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13371 feclearexcept. Remove symbol versioning code.
13372 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13373 symbol versioning code.
13374 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13375 symbol versioning code.
13376 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13377 feupdateenv. Remove symbol versioning code.
13378 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13379 fegetexceptflag. Remove symbol versioning code.
13380 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13381 fesetexceptflag. Remove symbol versioning code.
13382 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13383 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13384 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13385 (__posix_fadvise64_l32): Remove prototype.
13386 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13387 code.
13388
5da9dfad
RM
133892014-05-13 Roland McGrath <roland@hack.frob.com>
13390
13391 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13392 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13393 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13394 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13395
893b4f37
SK
133962014-05-13 Sami Kerola <kerolasa@iki.fi>
13397
13398 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13399 current working directory
13400
e0db6517
RM
134012014-05-13 Roland McGrath <roland@hack.frob.com>
13402
58aa195d
RM
13403 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13404 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13405 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13406 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13407 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13408 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13409 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13410 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13411 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13412 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13413 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13414 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13415 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13416 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13417 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13418 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13420 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13421 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13422 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13426 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13427 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13428 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13429 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13430 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13431 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13432 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13433 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13434 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13435 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13436 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13437 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13438 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13439 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13440 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13441 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13442 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13443 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13444 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13445
8c6d01f0
RM
13446 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13447 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13448
13449 * sysdeps/unix/sysv/linux/arm/Makefile
13450 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13451 Add rt-aeabi_unwind_cpp_pr1.
13452 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13453 Add nptl-aeabi_unwind_cpp_pr1.
13454 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13455 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13456 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13457 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13458 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13459 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13460
13461 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13462 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13463 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13464 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13465
bba6da4e
RM
13466 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13467 Deconditionalize the code that was previously under [RESET_PID].
13468 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13469
e0db6517
RM
13470 * sysdeps/generic/exit-thread.h: New file.
13471 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13472 * include/unistd.h (__exit_thread): Remove declaration.
13473 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13474 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13475 * csu/libc-start.c: Include <exit-thread.h>.
13476 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13477 * nptl/pthread_create.c: Include <exit-thread.h>.
13478 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13479 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13480 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13481 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13482 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13483 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13484 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13485 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13486 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13487 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13488 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13489 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13490 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13491 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13492 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13493 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13494 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13495
01eb16fd
AS
134962014-05-13 Andreas Schwab <schwab@suse.de>
13497
13498 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13499
637461d9
JM
135002014-05-12 Joseph Myers <joseph@codesourcery.com>
13501
13502 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13503 (__ASSUME_UTIMES): Do not condition on kernel version.
13504 (__ASSUME_PSELECT): Define unconditionally.
13505 (__ASSUME_PPOLL): Likewise.
13506 (__ASSUME_ATFCTS): Likewise.
13507 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13508 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13509 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13510 (__ASSUME_UTIMENSAT): Define unconditionally.
13511 (__ASSUME_PRIVATE_FUTEX): Likewise.
13512 (__ASSUME_FALLOCATE): Likewise.
13513 (__ASSUME_O_CLOEXEC): Likewise.
13514 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13515 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13516 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13517 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13518 (__ASSUME_IN_NONBLOCK): Likewise.
13519 (__ASSUME_PIPE2): Likewise.
13520 (__ASSUME_EVENTFD2): Likewise.
13521 (__ASSUME_SIGNALFD4): Likewise.
13522 (__ASSUME_DUP3): Likewise.
13523 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13524 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13525 (__ASSUME_AT_RANDOM): Likewise.
13526 (__ASSUME_PREADV): Likewise.
13527 (__ASSUME_PWRITEV): Likewise.
13528 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13529 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13530 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13531 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13532 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13533 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13534 (__ASSUME_O_CLOEXEC): Define unconditionally.
13535 (__ASSUME_PSELECT): Do not undefine conditionally.
13536 (__ASSUME_PPOLL): Likewise.
13537 (__ASSUME_ATFCTS): Likewise.
13538 (__ASSUME_SET_ROBUST_LIST): Likewise.
13539 (__ASSUME_UTIMENSAT): Likewise.
13540 (__ASSUME_FDATASYNC): Define unconditionally.
13541 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13542 (__ASSUME_SIGFRAME_V2): Likewise.
13543 )__ASSUME_EVENTFD2): Likewise.
13544 (__ASSUME_SIGNALFD4): Likewise.
13545 (__ASSUME_PSELECT): Do not undefine conditionally.
13546 (__ASSUME_PPOLL): Likewise.
13547 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13548 (__ASSUME_PSELECT): Define unconditionally.
13549 (__ASSUME_PPOLL): Likewise.
13550 (__ASSUME_O_CLOEXEC): Likewise.
13551 (__ASSUME_SOCK_CLOEXEC): Likewise.
13552 (__ASSUME_IN_NONBLOCK): Likewise.
13553 (__ASSUME_PIPE2): Likewise.
13554 (__ASSUME_EVENTFD2): Likewise.
13555 (__ASSUME_SIGNALFD4): Likewise.
13556 (__ASSUME_DUP3): Likewise.
13557 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13558 (__ASSUME_O_CLOEXEC): Likewise.
13559 (__ASSUME_SOCK_CLOEXEC): Likewise.
13560 (__ASSUME_IN_NONBLOCK): Likewise.
13561 (__ASSUME_PIPE2): Likewise.
13562 (__ASSUME_EVENTFD2): Likewise.
13563 (__ASSUME_SIGNALFD4): Likewise.
13564 (__ASSUME_DUP3): Likewise.
13565 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13566 (__ASSUME_EVENTFD2): Likewise.
13567 (__ASSUME_SIGNALFD4): Likewise.
13568 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13569
315eb1d8
AS
135702014-05-12 Andreas Schwab <schwab@suse.de>
13571
13572 [BZ #16932]
13573 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13574 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13575 than maximum RPC packet size.
13576 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13577 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13578 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13579 (_nss_nis_getservbyport_r): Likewise.
13580
91df99f7
WN
135812014-05-12 Will Newton <will.newton@linaro.org>
13582
13583 * malloc/Makefile (tests): Add tst-mallopt.
13584 * malloc/tst-mallopt.c: New file.
13585
0a982a29
RM
135862014-05-09 Roland McGrath <roland@hack.frob.com>
13587
13588 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13589 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13590
0ded08a5
AZ
135912014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13592
13593 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13594 (tst-tlsmod6.so): Likewise.
13595
55d4d550
RM
135962014-05-09 Roland McGrath <roland@hack.frob.com>
13597
13598 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13599
77d08aca
JM
136002014-05-09 Joseph Myers <joseph@codesourcery.com>
13601
13602 [BZ #16064]
13603 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13604 and <dl-procinfo.h>.
13605 (__fegetenv): Save SSE state in envp->__eip if supported.
13606 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13607 envp->__eip if supported.
13608 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13609 and <dl-procinfo.h>.
13610 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13611 __data_offset and __data_selector in environment to 0. Set SSE
13612 state if supported.
13613 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13614 test-fenv-sse.
13615 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13616 -mfpmath=sse.
13617 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13618
28162f4d
WN
136192014-05-09 Will Newton <will.newton@linaro.org>
13620
13621 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13622 and libc_relro_required for ARM.
13623 * sysdeps/arm/preconfigure: Regenerate.
13624
5a414ff7
DV
136252014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13626 Stefan Liebler <stli@linux.vnet.ibm.com>
13627
13628 * config.make.in (enable-lock-elision): New Makefile variable.
13629 * configure.ac: Likewise.
13630 * configure: Regenerate.
13631 * sysdeps/s390/configure.ac:
13632 Add check for gcc transactions support.
13633 * sysdeps/s390/configure: Regenerate.
13634 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13635 Build elision files if enabled.
13636 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13637 Add lock elision support for s390.
13638 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13639 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13640 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13641 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13642 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13643 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13644 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13645 Likewise.
13646 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13647 Likewise.
13648 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13649 Likewise.
13650 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13651 Likewise.
13652 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13653 (__lll_timedlock_elision, __lll_lock_elision)
13654 (__lll_unlock_elision, __lll_trylock_elision)
13655 (lll_timedlock_elision, lll_lock_elision)
13656 (lll_unlock_elision, lll_trylock_elision): Add.
13657 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13658 (pthread_mutex_t): Add lock elision support for s390.
13659
1a2f40e5
W
136602014-05-14 Wilco <wdijkstr@arm.com>
13661
13662 * sysdeps/arm/fclrexcpt.c: Cleanup.
13663 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13664 * sysdeps/arm/feenablxcpt.c: Cleanup.
13665 * sysdeps/arm/fegetenv.c: Cleanup.
13666 * sysdeps/arm/fegetexcept.c: Cleanup.
13667 * sysdeps/arm/fegetround.c: Cleanup.
13668 * sysdeps/arm/feholdexcpt.c: Cleanup.
13669 * sysdeps/arm/fesetenv.c: Cleanup.
13670 * sysdeps/arm/fesetround.c: Cleanup.
13671 * sysdeps/arm/feupdateenv.c: Cleanup.
13672 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13673 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13674 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13675 * sysdeps/arm/ftestexcept.c: Cleanup.
13676 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13677 * sysdeps/arm/setfpucw.c: Cleanup.
13678
f63c86fe
WN
136792014-05-09 Will Newton <will.newton@linaro.org>
13680
13681 * sysdeps/arm/armv7/strcmp.S: New file.
13682 * NEWS: Mention addition of ARMv7 optimized strcmp.
13683
7a1a51b5
RM
136842014-05-08 Roland McGrath <roland@hack.frob.com>
13685
95afbbe5
RM
13686 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13687 look for %.ac rather than %.in.
13688
13689 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13690 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13691 * sysdeps/mach/hurd/configure: Regenerated.
13692 * sysdeps/unix/sysv/linux/configure: Regenerated.
13693
7a1a51b5
RM
13694 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13695
5057ad3b
SE
136962014-05-07 Steve Ellcey <sellcey@mips.com>
13697
13698 [BZ# 16922]
13699 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13700 (LONG_SUB): Ditto.
13701 (PTR_SUB): Ditto.
13702
8dc97517
AS
137032014-05-07 Andreas Schwab <schwab@suse.de>
13704
13705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13706 when skipping over non-matching result from nscd.
13707
ce0c5b8f
OB
137082014-05-07 Ondřej Bílka <neleai@seznam.cz>
13709
13710 [BZ #16876]
13711 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13712
a1189263
OB
13713 [BZ #16877]
13714 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13715 nscd security class.
ce0c5b8f 13716
0f58d252
RM
137172014-05-06 Roland McGrath <roland@hack.frob.com>
13718
13719 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13720 * sysdeps/arm/unwind.h: ... here.
13721
83df9ad0
AJ
137222014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13723
ce0c5b8f
OB
13724 [BZ# 16916]
13725 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13726 Define.
83df9ad0 13727
f360f94a
VR
137282014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13729
13730 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13731 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13732 multiarch strncpy for PPC64.
13733 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13734 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13736 multiarch optimizations.
13737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13738 (__libc_ifunc_impl_list): Likewise.
13739 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13740 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13741 multiarch stpncpy for PPC64.
13742 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13743 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13744
978a41c3
AS
137452014-05-06 Andreas Schwab <schwab@suse.de>
13746
13747 [BZ #16912]
13748 * gmon/mcount.c (_MCOUNT_DECL): Use
13749 atomic_compare_and_exchange_bool_acq instead of
13750 catomic_compare_and_exchange_bool_acq.
13751
eb1ed03d
RM
137522014-05-05 Roland McGrath <roland@hack.frob.com>
13753
fe658845
RM
13754 * elf/Makefile (others, install-bin): Remove pldd.
13755 (pldd-modules): Variable removed.
13756 ($(objpfx)pldd): Target removed.
13757 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13758 (others, install-bin): Append pldd here.
13759 ($(objpfx)pldd): New target.
13760
eb1ed03d
RM
13761 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13762 to 0, so the first #if test emitted later doesn't see it undefined.
13763 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13764 * sysdeps/gnu/errlist.c: Regenerated.
13765
19c4bec0
AZ
137662014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13767
13768 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13769 [libc_hidden_builtin_def]: Define to empty value.
13770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13771 [libc_hidden_builtin_def]: Likewise.
13772 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13773 [libc_hidden_builtin_def]: Likewise.
13774 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13775 [libc_hidden_builtin_def]: Likewise.
13776 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13777 __redirect_memcpy and define ifunc as default hidden symbol.
13778 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13779 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13780
7776e669
AC
137812014-05-04 Adam Conrad <adconrad@0c3.net>
13782
13783 * locale/iso-4217.def: Reintroduce XDR currency.
13784
d69aeb12
AM
137852014-05-04 Allan McRae <allan@archlinux.org>
13786
13787 * po/eo.po: Update Esperanto translation from translation project.
13788
8f1df5cf
CD
137892014-05-02 Carlos O'Donell <carlos@redhat.com>
13790
13791 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13792 and FEATURE_INDEX_MAX to 1.
13793 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13794
13e402e7
SE
137952014-05-01 Steve Ellcey <sellcey@mips.com>
13796
13797 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13798 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13799 * iconvdata/big5.c (ONE_DIRECTION): Define.
13800 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13801 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13802 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13803 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13804 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13805 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13806 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13807 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13808 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13809 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13810 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13811 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13812 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13813 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13814 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13815 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13816 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13817 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13818 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13819 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13820 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13821 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13822 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13823 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13824 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13825 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13826 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13827 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13828 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13829 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13830 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13831 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13832 * iconvdata/johab.c (ONE_DIRECTION): Define.
13833 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13834 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13835 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13836 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13837 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13838 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13839 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13840 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13841 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13842 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13843
c727f032
RM
138442014-05-01 Roland McGrath <roland@hack.frob.com>
13845
8f2f08d0
RM
13846 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13847 (_IO_JUMPS_OFFSET): Define to 0.
13848
c727f032
RM
13849 * nptl/sysdeps/pthread/bits/libc-lock.h
13850 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13851 (__libc_lock_define_initialized_recursive): Always define using
13852 initializer. Modern compilers treat uninitialized (implicit zero) and
13853 explicit zero initializers the same (i.e. put the datum in bss).
13854
a849e800
AS
138552014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13856
13857 * nscd/nscd-client.h: Include <string.h>.
13858
5331255b
DM
138592014-05-01 David S. Miller <davem@davemloft.net>
13860
13861 [BZ #16885]
13862 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13863 multiple zero bytes exist at the end of a string.
13864 Reported by Aurelien Jarno <aurelien@aurel32.net>
13865
13866 * string/test-strcmp.c (check): Add explicit test for situations where
13867 there are multiple zero bytes after the first.
13868
4fdfe821
AS
138692014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13870
13871 [BZ #16890]
13872 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13873 when compiling wprintf.
13874 * stdio-common/tstdiomisc.c (t3): New function.
13875 (main): Call it.
13876
0cdddc25
SE
138772014-05-01 Steve Ellcey <sellcey@mips.com>
13878
13879 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13880 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13881 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13882 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13883
6426d77e
SE
138842014-05-01 Steve Ellcey <sellcey@mips.com>
13885
13886 * stdlib/longlong.h: Updated from GCC.
13887
6d96f5e4
WN
138882014-05-01 Will Newton <will.newton@linaro.org>
13889 Bernard Ogden <bernie.ogden@linaro.org>
13890
7470db0c
WN
13891 * NEWS: Update fixed bug list.
13892
6d96f5e4
WN
13893 [BZ #15119]
13894 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13895
211d653c
DM
138962014-04-30 David S. Miller <davem@davemloft.net>
13897
4fa262fa
DM
13898 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13899 (libc_feholdexcept_setround_sparc_ctx): New function.
13900 (libc_fesetenv_sparc_ctx): Likewise.
13901 (libc_feupdateenv_sparc_ctx): Likewise.
13902 (libc_feholdsetround_sparc_ctx): Likewise.
13903 (libc_feholdexcept_setround_ctx): Define.
13904 (libc_feholdexcept_setroundf_ctx): Likewise.
13905 (libc_feholdexcept_setroundl_ctx): Likewise.
13906 (libc_fesetenv_ctx): Likewise.
13907 (libc_fesetenvf_ctx): Likewise.
13908 (libc_fesetenvl_ctx): Likewise.
13909 (libc_feupdateenv_ctx): Likewise.
13910 (libc_feupdateenvf_ctx): Likewise.
13911 (libc_feupdateenvl_ctx): Likewise.
13912 (libc_feresetround_ctx): Likewise.
13913 (libc_feresetroundf_ctx): Likewise.
13914 (libc_feresetroundl_ctx): Likewise.
13915 (libc_feholdsetround_ctx): Likewise.
13916 (libc_feholdsetroundf_ctx): Likewise.
13917 (libc_feholdsetroundl_ctx): Likewise.
13918
1d3d93ef
DM
13919 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13920 with __USE_GNU instead of XOPEN cpp guards.
13921
8aa583c3
DM
13922 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13923 0.
13924
211d653c
DM
13925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13926 with XOPEN cpp guards.
13927
60c8f1f6
JB
139282014-04-30 Julian Brown <julian@codesourcery.com>
13929
13930 [BZ #16888]
13931 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13932 handling.
13933
9a461d46
JM
139342014-04-30 Joseph Myers <joseph@codesourcery.com>
13935
d0f5b3f8
JM
13936 [BZ #9894]
13937 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13938 Change to 2.6.32.
13939 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13940 * sysdeps/unix/sysv/linux/configure: Regenerated.
13941 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13942 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13943 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13944 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13945 * README: Update reference to required Linux kernel version.
13946 * manual/install.texi (Linux): Update reference to required Linux
13947 kernel headers version.
13948 * INSTALL: Regenerated.
13949
9a461d46
JM
13950 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13951 header inclusion.
13952 [POSIX] (limits.h): Likewise.
13953 [POSIX] (math.h): Likewise.
13954 [POSIX] (sys/wait.h): Likewise.
13955 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13956 function.
13957 [POSIX] (stddef.h): Do not allow header inclusion.
13958
1775babf
AZ
139592014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13960
57f41c40 13961 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13962
8f630cca
YY
139632014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13964
13965 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13966 Return immediately after lll_futex_wake.
13967
1cdeb237
SP
139682014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13969
bc8f194c
SP
13970 [BZ #16791]
13971 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13972 structure.
13973 (datahead_init_pos): Call datahead_init_common early.
13974 (datahead_init_neg): Likewise.
13975
1cdeb237
SP
13976 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13977 datahead_init_neg): New functions.
13978 * nscd/aicache.c (addhstaiX): Use them.
13979 * nscd/grpcache.c (cache_addgr): Likewise.
13980 * nscd/hstcache.c (cache_addhst): Likewise.
13981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13982 * nscd/netgroupcache.c (do_notfound): Likewise.
13983 (addgetnetgrentX): Likewise.
13984 (addinnetgrX): Likewise.
13985 * nscd/pwdcache.c (cache_addpw): Likewise.
13986 * nscd/servicescache.c (cache_addserv): Likewise.
13987
16b293a7
SP
139882014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13989 Atsushi Onoe <atsushi@onoe.org>
13990
13991 [BZ #14308]
13992 [BZ #12994]
13993 [BZ #13651]
13994 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13995 one response is valid.
13996 * resolv/res_send.c (send_dg): Check for validity of other
13997 response if the current response is a referral.
13998
a28a9b94
SE
139992014-04-29 Steve Ellcey <sellcey@mips.com>
14000
14001 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14002
2ca180e9
SL
140032014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14004
14005 [BZ #16823]
14006 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14007 Always divide by positive zero when computing -Inf result.
14008 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14009 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14010
18f2945a
AZ
140112014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14012
14013 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14014 FPSCR if value do not change.
14015 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14016 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14017 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14018 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14019 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14020 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14021 function.
14022
5abebba4
CD
140232014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14024
14025 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14026 * sysdeps/unix/sysv/linux/hppa: Move directory from
14027 ports/systeps/unix/sysv/linux/hppa.
14028 * README: Update listing for hppa-*-linux-gnu.
14029
f7ed60c2
OB
140302014-04-28 Ondřej Bílka <neleai@seznam.cz>
14031
fff763a5
OB
14032 [BZ #16754]
14033 * manual/stdio.texi (Hook functions): Fix types of stream hook
14034 functions.
f7ed60c2
OB
14035 [BZ #16854]
14036 * socket/sys/socket.h: Fix typo in comment.
14037
df639d73
WD
140382014-04-28 Wilco <wdijkstr@arm.com>
14039
f7ed60c2 14040 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14041 * sysdeps/arm/math_private.h: New file.
14042 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14043
48332d82
L
140442014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14045
14046 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14047 with __int128_t.
14048 (La_x86_64_retval): Likewise.
14049
e5e0d9a4
IB
140502014-04-24 Ian Bolton <ian.bolton@arm.com>
14051
14052 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14053 fpsr if value didn't change.
14054 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14055 to fpcr if value didn't change.
14056 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14057 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14058 fpsr or fpcr if value didn't change.
14059 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14060 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14061 fpcr if value didn't change.
14062 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14063 to fpsr if value didn't change.
14064
bacc75f7
SP
140652014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14066
14067 * nptl/tst-sem3.c: Use test-skeleton.c
14068 (main): Rename to do_test. Use return instead of
14069 exit.
14070 * nptl/tst-sem4.c: Use test-skeleton.c
14071 (main): Rename to do_test.
14072
a059d359
DM
140732014-04-22 David S. Miller <davem@davemloft.net>
14074
14075 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14076 (struct sigaction): New struct member __glibc_reserved0, change
14077 type of sa_flags to int.
14078
ea6c92f3
YZ
140792014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14080
14081 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14082 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14083
766c4a36
SP
140842014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14085
14086 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14087 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14088
140cc7ab
VK
140892014-04-22 Will Newton <will.newton@linaro.org>
14090 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14091
14092 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14093 (__longjmp): Add longjmp and longjmp_target SystemTap
14094 probes.
14095 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14096 (__sigsetjmp): Add setjmp SystemTap probe.
14097
c54e5cf7
CD
140982014-04-17 Carlos O'Donell <carlos@redhat.com>
14099
14100 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14101 match manual order.
14102
75ffb047
AZ
141032014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14104
14105 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14106
2cd925f7
AZ
14107 * sysdeps/powerpc/fpu/fenv_private.h
14108 (libc_feholdexcept_setroundl_ctx): Define to
14109 libc_feholdexcept_setround_ppc_ctx.
14110 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14111 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14112 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14113 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14114
39e6cd8d
IB
141152014-04-17 Ian Bolton <ian.bolton@arm.com>
14116
14117 * sysdeps/aarch64/math-tests.h: New file.
14118
f9281df9
SY
141192014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14120
14121 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14122 New.
14123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14124 Check and set bit_AVX2_Usable.
14125 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14126 macro.
14127 (bit_AVX2): Likewise.
14128 (index_AVX2_Usable): Likewise.
14129 (CPUID_AVX2): Likewise.
14130 (HAS_AVX2): Likewise.
14131
37d35007
WN
141322014-04-17 Will Newton <will.newton@linaro.org>
14133
7c677662
WN
14134 * manual/setjmp.texi (System V contexts): Add note that
14135 calling setcontext on a context created by a call to a
14136 signal handler is undefined. Update text to note that
14137 setcontext from a signal handler is possible but not
14138 recommended.
14139
37d35007 14140 [BZ #16629]
e04a4e9d
WN
14141 * stdlib/tst-setcontext.c: Include signal.h.
14142 (main): Check that the signal stack before and
14143 after swapcontext is the same.
14144
37d35007
WN
14145 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14146 Re-implement to restore registers in user code and avoid
14147 rt_sigreturn system call.
14148
423a7160
W
141492014-04-17 Wilco <wdijkstr@arm.com>
14150
14151 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14152 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14153 * math/test-fenv.c: Skip exception trap tests on targets which only
14154 support non-stop mode.
14155
bc93ab29
IB
141562014-04-17 Ian Bolton <ian.bolton@arm.com>
14157 Wilco Dijkstra <wilco.dijkstra@arm.com>
14158
14159 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14160 (libc_feholdsetround_aarch64_ctx)
14161 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14162 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14163 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14164 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14165 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14166 (libc_feresetround_noexl_ctx): Define.
14167
95fc5fa3
RH
141682014-04-16 Richard Henderson <rth@redhat.com>
14169
ddb04724
RH
14170 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14171
d77c0899
RH
14172 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14173 unwind tables.
14174
a3df56fc
RH
14175 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14176 const from the non-libc, non-ldso copy.
14177
95fc5fa3
RH
14178 * sysdeps/alpha/libm-test-ulps: Regenerate.
14179
7e0b6763
IB
141802014-04-16 Ian Bolton <ian.bolton@arm.com>
14181 Wilco Dijkstra <wilco.dijkstra@arm.com>
14182
14183 * sysdeps/aarch64/fpu/math_private.h: New file.
14184
a9ea2e0c
MS
141852014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14186
14187 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14188
ea8ba7cd
IZ
141892014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14190
7e54fd04 14191 [BZ #16275]
ea8ba7cd
IZ
14192 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14193 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14195 Intel MPX bound registers before _dl_profile_fixup.
14196 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14197 registers after _dl_profile_fixup. Save and restore bound
14198 registers bnd0/bnd1 when calling _dl_call_pltexit.
14199 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14200 (LR_BND_OFFSET): Likewise.
14201 (LRV_BND0_OFFSET): Likewise.
14202 (LRV_BND1_OFFSET): Likewise.
14203
9f2a4fbc
ST
142042014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14205
14206 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14207 to...
14208 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14209 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14210 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14211 fields.
9f2a4fbc 14212
fd15a59b
ST
142132014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14214
14215 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14216
f19dfa0a
SL
142172014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14218
14219 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14220
4fa8bc3b
SL
142212014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14222
14223 [BZ #14770]
14224 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14225 * sysdeps/s390/configure: Regenerate.
14226
8ea587db
SL
14227 [BZ #16824]
14228 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14229 Set round-to-nearest internally to reduce error accumulation.
14230
aa5f0ff1
AM
142312014-04-16 Alan Modra <amodra@gmail.com>
14232
14233 [BZ #16740]
14234 [BZ #16619]
14235 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14236 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14237 * NEWS: Update fixed bug list.
aa5f0ff1 14238
bb9c256f
SP
142392014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14240
14241 * benchtests/Makefile: Depend on libraries in build directory.
14242 (bench-math): Separate out math tests.
14243 (bench-pthread): Separate out pthread tests.
14244 (bench): Include math and pthread tests.
14245
f737dfd0
CD
142462014-04-14 Carlos O'Donell <carlos@redhat.com>
14247
14248 [BZ #16831]
14249 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14250 _dl_debug_initialize.
14251
0699f766
CD
14252 * configure.ac: Remove SELinux header check.
14253 * configure: Regenerate.
14254 * nscd/selinux.c (perms): Array of const char* to permission names.
14255 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14256 default policy. Call string_to_security_class and string_to_av_perm to
14257 translate strings. Enforce default policy and call avs_has_perm with
14258 results of translated strings.
14259
809bd45f
DM
142602014-04-13 David S. Miller <davem@davemloft.net>
14261
14262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14263
89e691f2
AM
142642014-04-12 Allan McRae <allan@archlinux.org>
14265
14266 [BZ #16838]
14267 * manual/string.texi (Collation Functions): Fix qsort argument
14268 order in example.
14269 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14270
9c9daaeb
CM
142712014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14272
14273 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14274 Make the test a no-op if there are no exceptions defined.
14275
95561fb9
PP
142762014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14277
fe8d072c 14278 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14279 enable-hardcoded-path-in-tests
14280
970c602a
WN
142812014-04-11 Will Newton <will.newton@linaro.org>
14282
14283 * benchtests/Makefile (extra-objs): Add json-lib.o.
14284 (bench-func): Tidy up JSON output.
14285 * benchtests/bench-skeleton.c: Include json-lib.h.
14286 (main): Use JSON library functions to do output of
14287 benchmark results.
14288 * benchtests/bench-timing-type.c (main): Output the
14289 timing type simply, leaving formatting to the user.
14290 * benchtests/json-lib.c: New file.
14291 * benchtests/json-lib.h: Likewise.
14292
36875b06
TR
142932014-04-11 Torvald Riegel <triegel@redhat.com>
14294
14295 [BZ #15215]
14296 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14297 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14298 memory barriers. Add comments.
14299 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14300 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14301 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14302 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14303 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14304 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14305
579db35a
SL
143062014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14307
14308 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14309 * sysdeps/s390/s390-64/configure.ac: ... this ...
14310 * sysdeps/s390/configure.ac: ... to here.
14311 * sysdeps/s390/s390-32/configure: Delete file.
14312 * sysdeps/s390/s390-64/configure: Delete file.
14313 * sysdeps/s390/configure: Regenerate.
14314
c12e9f37
JAPH
143152014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14316
14317 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14318
439bda32
WN
143192014-04-11 Will Newton <will.newton@linaro.org>
14320
14321 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14322 to zero if it is not defined elsewhere. (mtrim): Test
14323 the value of MALLOC_DEBUG with #if rather than #ifdef.
14324
6a5d6ea1
TR
143252014-04-10 Torvald Riegel <triegel@redhat.com>
14326
14327 * benchtests/pthread_once-inputs: New file.
14328 * benchtests/pthread_once-source.c: New file.
14329 * benchtests/README: Update documentation.
14330
a4c75cfd
IZ
143312014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14332 H.J. Lu <hongjiu.lu@intel.com>
14333
7e54fd04 14334 [BZ #16275]
a4c75cfd
IZ
14335 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14336 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14337 * sysdeps/x86_64/configure: Regenerated.
14338 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14339 macro.
14340 (REGISTER_SAVE_RAX): Likewise.
14341 (REGISTER_SAVE_RCX): Likewise.
14342 (REGISTER_SAVE_RDX): Likewise.
14343 (REGISTER_SAVE_RSI): Likewise.
14344 (REGISTER_SAVE_RDI): Likewise.
14345 (REGISTER_SAVE_R8): Likewise.
14346 (REGISTER_SAVE_R9): Likewise.
14347 (REGISTER_SAVE_BND0): Likewise.
14348 (REGISTER_SAVE_BND1): Likewise.
14349 (REGISTER_SAVE_BND2): Likewise.
14350 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14351 bound registers when calling _dl_fixup.
14352
27822ce6
AZ
143532014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14354
14355 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14356 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14357 of its definition.
27822ce6
AZ
14358 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14359 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14360 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14361 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14362 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14363 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14364 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14365
a88ddc90
PTB
143662014-04-09 Peter Brett <peter@peter-b.co.uk>
14367
14368 [BZ #15514]
14369 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14370 pathconf(_PC_NAME_MAX).
14371
01f8eac2
AZ
143722014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14373
14374 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14375 Remove macro usage.
14376 (__PTHREAD_SPINS): Move definition to ...
14377 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14378 (__PTHREAD_SPINS): ... here.
14379 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14380 (__PTHREAD_SPIN): Likewise.
14381 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14382 (__PTHREAD_SPIN): Likewise.
14383 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14384 (__PTHREAD_SPIN): Likewise.
14385 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14386 (__PTHREAD_SPIN): Likewise.
14387 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14388 (__PTHREAD_SPIN): Likewise.
14389 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14390 (__PTHREAD_SPIN): Likewise.
14391 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14392 (__PTHREAD_SPIN): Likewise.
14393 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14394 (__PTHREAD_SPIN): Likewise.
14395 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14396 (__PTHREAD_SPIN): Likewise.
14397 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14398 (__PTHREAD_SPIN): Likewise.
14399 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14400 (__PTHREAD_SPIN): Likewise.
14401 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14402 (__PTHREAD_SPIN): Likewise.
14403
de21c33c
AZ
14404 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14405 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14406 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14407 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14408 imply folder.
14409 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14410 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14411 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14412 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14413 correct imply path.
14414 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14415 strlen symbol for non multi-arch builds.
14416 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14417 missing hidden_def and weak_alias.
14418
862c472e
CD
144192014-04-08 Carlos O'Donell <carlos@redhat.com>
14420
14421 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14422
8667f90e
WN
144232014-04-07 Will Newton <will.newton@linaro.org>
14424
14425 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14426 and contents. [!_LIBC] Remove #ifndef and contents.
14427 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14428 * string/memccpy.c (__memccpy): Use ANSI prototype.
14429 * string/memfrob.c (memfrob): Likewise.
14430 * string/strcoll.c (STRCOLL): Likewise.
14431 * string/strlen.c (strlen): Likewise.
14432 * string/strtok.c (STRTOK): Likewise.
14433 * string/strcat.c: Remove unused #include of memcopy.h.
14434 (strcat): Use ANSI prototype.
14435 * string/strchr.c: Remove unused #include of memcopy.h.
14436 (strchr): Use ANSI prototype.
14437 * string/strcmp.c: Remove unused #include of memcopy.h.
14438 (strcmp): Use ANSI prototype.
14439 * string/strcpy.c: Remove unused #include of memcopy.h.
14440 (strcpy): Use ANSI prototype.
14441
7ffa9423
AZ
144422014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14443
14444 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14445 * config.make.in (config-extra-cppflags): Set it from
14446 libc_extra_cppflags.
14447 * configure.ac (libc_extra_cflags): Make it accumulate over
14448 configure fragments.
14449 (libc_extra_cppflags): New flag.
14450 * configure. Regenerate.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14452 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14453 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14455
8bd70862
AZ
14456 [BZ #16815]
14457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14458 result for FE_DOWNWARD rounding mode.
14459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14460 Likewise.
14461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14462
d42f3448
CM
144632014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14464
14465 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14466 in function argument name.
14467
1c21d115
DS
144682014-04-03 David Svoboda <svoboda@cert.org>
14469
14470 [BZ #5666]
14471 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14472 explicitly.
14473
fcccd512
RM
144742014-04-03 Roland McGrath <roland@hack.frob.com>
14475
14476 * elf/dl-unmap-segments.h: New file.
14477 * sysdeps/generic/ldsodefs.h
14478 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14479 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14480 * elf/dl-fptr.c: Likewise.
14481 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14482 * sysdeps/aarch64/tlsdesc.c: Likewise.
14483 * sysdeps/arm/tlsdesc.c: Likewise.
14484 * sysdeps/i386/tlsdesc.c: Likewise.
14485 * sysdeps/tile/dl-runtime.c: Likewise.
14486 * sysdeps/x86_64/tlsdesc.c: Likewise.
14487 * elf/dl-load.h: New file.
14488 * elf/dl-load.c: Include it.
14489 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14490 Macros moved to dl-load.h.
14491 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14492 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14493 Use _dl_unmap_segments in place of __munmap.
14494 Break out segment-mapping loop into ...
14495 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14496
f6488e2b
WN
144972014-04-03 Will Newton <will.newton@linaro.org>
14498
14499 * elf/dl-lookup.c (do_lookup_x): Remove comment
14500 referring to nested function and move variable
14501 declarations down to before first use.
14502
6f05bafe
JM
145032014-04-02 Joseph Myers <joseph@codesourcery.com>
14504
a84e78c8
JM
14505 [BZ #16799]
14506 [BZ #16800]
14507 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14508 with 0 numerator.
14509 * math/s_catanf.c (__catanf): Likewise.
14510 * math/s_catanh.c (__catanh): Likewise.
14511 * math/s_catanhf.c (__catanhf): Likewise.
14512 * math/s_catanhl.c (__catanhl): Likewise.
14513 * math/s_catanl.c (__catanl): Likewise.
14514 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14515 by positive zero when computing -Inf result.
14516 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14517 (catanh_test): Likewise.
14518 * sysdeps/i386/fpu/libm-test-ulps: Update.
14519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14520
6f05bafe
JM
14521 [BZ #16789]
14522 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14523 instead of using underflowing value in computing result.
14524 * math/s_clog10.c (__clog10): Likewise.
14525 * math/s_clog10f.c (__clog10f): Likewise.
14526 * math/s_clog10l.c (__clog10l): Likewise.
14527 * math/s_clogf.c (__clogf): Likewise.
14528 * math/s_clogl.c (__clogl): Likewise.
14529 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14530 (clog10_test): Likewise.
14531 * sysdeps/i386/fpu/libm-test-ulps: Update.
14532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14533
b0abbc21
AM
145342014-04-02 Alan Modra <amodra@gmail.com>
14535
14536 [BZ #16739]
14537 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14538 output when value is near a power of two. Use int64_t for lx and
14539 remove casts. Use decimal rather than hex exponent constants.
14540 Don't use long double multiplication when double will suffice.
14541 * math/libm-test.inc (nextafter_test_data): Add tests.
14542 * NEWS: Add 16739 and 16786 to bug list.
14543
af6b1797
AM
14544 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14545
483818d7
AM
14546 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14547
f6c55796
WN
145482014-04-01 Will Newton <will.newton@linaro.org>
14549
14550 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14551 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14552
13f7fe35
FW
145532014-04-01 Florian Weimer <fweimer@redhat.com>
14554
14555 [BZ #13347]
14556 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14557 * nptl/tst-setuid2.c: New file.
14558 * nptl/Makefile (xtests): Add tst-setuid2.
14559
c859b32e
AM
145602014-04-01 Alan Modra <amodra@gmail.com>
14561
14562 [BZ #16786]
14563 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14564
54fa2475
JM
145652014-03-31 Joseph Myers <joseph@codesourcery.com>
14566
8795b4a4
JM
14567 [BZ #6803]
14568 [BZ #6804]
14569 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14570 set errno as appropriate.
14571 * math/w_scalbf.c (__scalbf): Likewise.
14572 * math/w_scalbl.c (__scalbl): Likewise.
14573 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14574 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14575 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14576 Add more NaN tests.
14577
54fa2475
JM
14578 [BZ #16349]
14579 * math/w_atan2.c: Include <errno.h>.
14580 (__atan2): Set errno for result underflowing to zero.
14581 * math/w_atan2f.c: Include <errno.h>.
14582 (__atan2f): Set errno for result underflowing to zero.
14583 * math/w_atan2l.c: Include <errno.h>.
14584 (__atan2l): Set errno for result underflowing to zero.
14585 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14586 tests.
14587 * math/auto-libm-test-out: Regenerated.
14588
757d9dd5
AZ
145892014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14590
14591 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14592 Encode instruction correctly in little endian.
14593 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14594 Likewise.
14595 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14596 Likewise.
14597 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14598 Likewise.
14599 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14600 Likewise.
14601
d7a68734
JM
146022014-03-31 Joseph Myers <joseph@codesourcery.com>
14603
47c5adeb
JM
14604 [BZ #9894]
14605 * sysdeps/unix/sysv/linux/kernel-features.h
14606 [__sparc__ && !__arch64__ && !__sparc_v9__]
14607 (__ASSUME_SET_ROBUST_LIST): Do not define.
14608 [__sparc__ && !__arch64__ && !__sparc_v9__]
14609 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14610 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14611 Likewise.
14612 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14613 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14614 (__ASSUME_REQUEUE_PI): Likewise.
14615 (__ASSUME_SET_ROBUST_LIST): Likewise.
14616 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14617 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14618 Undefine.
14619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14620 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14621 Likewise.
14622 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14623 Likewise.
14624 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14625 Likewise.
14626 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14627 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14628 Undefine.
14629 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14630 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14631 Likewise.
14632
d7a68734
JM
14633 [BZ #16648]
14634 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14635 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14636 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14637
c760f5c2
WN
146382014-03-31 Will Newton <will.newton@linaro.org>
14639
14640 * benchtests/Makefile (bench): Add ffs and ffsll to list
14641 of tests.
14642 * benchtests/ffs-inputs: New file.
14643 * benchtests/ffsll-inputs: Likewise.
14644
ea6029b1
JM
146452014-03-29 Joseph Myers <joseph@codesourcery.com>
14646
14647 [BZ #16770]
14648 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14649 too large before casting to int.
14650 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14651 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14652 * math/libm-test.inc (scalb_test_data): Add more tests.
14653
cf806aff
SP
146542014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14655
56737508
SP
14656 * benchtests/Makefile (DETAILED_OPT): New make option.
14657 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14658 set.
14659 * benchtests/bench-skeleton.c: Include stdbool.h.
14660 (main): Store and print timings per input.
14661 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14662 member to each argument value.
14663 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14664 (_print_arg_data): Initialize per-input timing to 0.
14665
cb5e4aad
SP
14666 * benchtests/Makefile (timing-type): New binary.
14667 (bench-clean): Also remove bench-timing-type.
14668 (bench): New target for timing-type.
14669 (bench-func): Print output in JSON format.
14670 * benchtests/bench-skeleton.c (main): Print output in JSON
14671 format.
14672 * benchtests/bench-timing-type.c: New file.
14673 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14674 (TIMING_PRINT_STATS): Remove.
14675 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14676 name separately.
14677
cf806aff
SP
14678 * benchtests/bench-modf.c: Remove.
14679 * benchtests/modf-inputs: New inputs file.
14680
289e0779
JM
146812014-03-28 Joseph Myers <joseph@codesourcery.com>
14682
14683 [BZ #16362]
14684 * math/s_clog10.c (M_PI_LOG10E): New macro.
14685 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14686 imaginary parts are 0.
14687 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14688 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14689 imaginary parts are 0.
14690 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14691 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14692 imaginary parts are 0.
14693 * math/libm-test.inc (clog10_test_data): Update expected results
14694 for when real and imaginary parts are 0.
14695
277ae3f1
PP
146962014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14697
14698 * elf/dl-load.c: Finish conversion of __builtin_expect into
14699 __glibc_{un}likely.
14700
03a7091f
JM
147012014-03-27 Joseph Myers <joseph@codesourcery.com>
14702
14703 [BZ #16348]
14704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14705 1+x for argument with exponent below -67.
14706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14707 Likewise.
14708 * math/auto-libm-test-in: Add more tests of exp.
14709 * math/auto-libm-test-out: Regenerated.
14710
ea7d8b95
SP
147112014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14712
dd3022d7
SP
14713 [BZ #16759]
14714 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14715 (nscd_getnetgrent): Use it.
14716
ea7d8b95
SP
14717 [BZ #16760]
14718 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14719 of stpcpy.
14720
df5b85da
AK
147212014-03-27 Andi Kleen <ak@linux.intel.com>
14722
57f41c40
AS
14723 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14724 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14725 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14726 (lll_robust_unlock): Remove out of line section. Use cfi
14727 intrinsics.
df5b85da 14728 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14729 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14730 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14731 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14732 (lll_robust_unlock): Remove out of line section. Use cfi
14733 intrinsics.
df5b85da
AK
14734 (LLL_STUB_UNWIND_INFO*): Remove.
14735
fbd6b5a4
SP
147362014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14737
14738 [BZ #16758]
14739 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14740 blank values.
14741
1b26b855
PP
147422014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14743
14744 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14745
9be36fb8
JM
147462014-03-26 Joseph Myers <joseph@codesourcery.com>
14747
14748 [BZ #16198]
14749 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14750 fnstenv.
14751 * math/test-fenv-preserve.c: New file.
14752 * math/Makefile (tests): Add test-fenv-preserve.
14753
60a2f3c1
WN
147542014-03-26 Will Newton <will.newton@linaro.org>
14755
14756 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14757
a5e5f1e2
RM
147582014-03-25 Roland McGrath <roland@hack.frob.com>
14759
14760 * scripts/versionlist.awk: Partition the version sets and emit all
14761 GLIBC_* (sorted) before all others (sorted).
14762
00f4012a
JM
147632014-03-25 Joseph Myers <joseph@codesourcery.com>
14764
14765 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14766 GLIBC_2.2.5 version.
14767
7bc5a741
AZ
147682014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14769
14770 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14771 calls.
14772
7578473b
AZ
14773 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14774 previous change.
14775
f3f1dab3
AZ
14776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14777
6da36183
AS
147782014-03-25 Andreas Schwab <schwab@suse.de>
14779
14780 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14781 label to be used after in6ailist is initialized.
14782
f3f1dab3 147832014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14784
7578473b 14785 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14786 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14787
046651c1
JM
147882014-03-25 Joseph Myers <joseph@codesourcery.com>
14789
14790 [BZ #16357]
14791 [BZ #16599]
14792 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14793 min_plus_half.
14794 (fp_formats): Update initializers.
14795 (init_fp_formats): Initialize new field.
14796 (output_for_one_input_case): Allow underflow for results up to
14797 min_plus_half.
14798 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14799 * math/auto-libm-test-in: Don't mark some underflows from asin and
14800 atanh as spurious.
14801 * math/auto-libm-test-out: Regenerated.
14802 * sysdeps/i386/fpu/libm-test-ulps: Update.
14803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14804
003e49ed
AS
148052014-03-25 Andreas Schwab <schwab@suse.de>
14806
14807 * libio/Makefile (tst-ftell-partial-wide-ENV)
14808 (tst-ftell-active-handler-ENV): Define.
14809
de031874
SL
148102014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14811
14812 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14813
55a81e3b
PP
148142014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14815
14816 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14817
f3426898
JM
148182014-03-24 Joseph Myers <joseph@codesourcery.com>
14819
14820 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14821 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14822 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14823
a42faf59
PP
148242014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14825
14826 [BZ #16634]
a42faf59 14827 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14828 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14829 (open_path): Change from boolean 'secure' to complete flag 'mode'
14830 (_dl_map_object): Adjust.
a42faf59
PP
14831 * elf/Makefile (tests): Add tst-dlopen-aout.
14832 * elf/tst-dlopen-aout.c: New test.
14833
50936127
SL
148342014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14835
14836 [BZ #16714]
14837 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14838 (struct stat): Rename member pad0 to __glibc_reserved0.
14839
26011b5c
SL
14840 [BZ #16712]
14841 * sysdeps/s390/s390-32/bits/wordsize.h
14842 (__WORDSIZE32_SIZE_ULONG): New define.
14843 * sysdeps/s390/s390-64/bits/wordsize.h
14844 (__WORDSIZE32_SIZE_ULONG): Likewise.
14845 * sysdeps/generic/stdint.h (SIZE_MAX):
14846 Define as UL if __WORDSIZE32_SIZE_ULONG.
14847
a2d86bf1
SL
14848 [BZ #16713]
14849 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14850 (__glibc_reserved0): New variable.
14851 (sa_flags): Change type to int.
14852
78b6eebc
SL
14853 * posix/Makefile (before-compile): Use += before-compile instead
14854 of a :=.
14855
f1399b5a
SL
14856 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14857 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14858
a071766e
AS
148592014-03-20 Andreas Schwab <schwab@suse.de>
14860
14861 [BZ #16743]
14862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14863 non-matching result from nscd.
14864
27c673b8
SP
148652014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14866
14867 * scripts/bench.py: Moved to ...
14868 * benchtests/scripts/bench.py: ... here.
14869 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14870
44152e4b
AS
148712014-03-24 Andreas Schwab <schwab@suse.de>
14872
14873 [BZ #16002]
14874 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14875 alloca_account and account alloca use for struct in6ailist.
14876
b376a11a
JM
148772014-03-24 Joseph Myers <joseph@codesourcery.com>
14878
14879 [BZ #16284]
14880 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14881 rounding mode to recompute results that overflow to infinity or
14882 underflow to zero.
14883 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14884 bug 16284.
14885 * math/auto-libm-test-out: Regenerated.
14886 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14887 (ccosh_test): Likewise.
14888 (csin_test_data): Use plus_oflow.
14889 (csin_test): Use ALL_RM_TEST.
14890 (csinh_test_data): Use plus_oflow.
14891 (csinh_test): Use ALL_RM_TEST.
14892 * sysdeps/i386/fpu/libm-test-ulps: Update.
14893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14894
f7be7376
JM
148952014-03-21 Joseph Myers <joseph@codesourcery.com>
14896
1ca2d03e
JM
14897 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14898 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14899 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14900
f7be7376
JM
14901 [BZ #16731]
14902 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14903 when x - 1 is zero.
14904 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14905 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14906 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14907 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14908 argument is 1.
14909 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14910 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14911 zero.
14912 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14913 * sysdeps/i386/fpu/libm-test-ulps: Update.
14914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14915
fdf4534d
SP
149162014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14917
df26ea53
SP
14918 * scripts/bench.pl: Remove file.
14919 * scripts/bench.py: New benchmark script.
14920 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14921 * benchtests/README: Mention python dependency.
14922 * scripts/pylintrc: New file.
14923 * scripts/pylint: New file.
14924
fdf4534d
SP
14925 * bits/mathdef.h: Use #ifdef instead of #if.
14926 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14927 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14928 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14929 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14930 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14931 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14932
6f23d093
AZ
149332014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14934 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14935
14936 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14938 and strpbrk-ppc64 objects.
14939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14940 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14941 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14942 multiarch strpbrk for POWER7.
14943 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14944 multiarch strpbrk for PPC64.
14945 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14946 ifunc selector.
14947 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14948 strpbrk for POWER7.
14949
8c92dfff
JM
149502014-03-20 Joseph Myers <joseph@codesourcery.com>
14951
14952 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14953 (atan_test): Likewise.
14954 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14955 (atanh_test): Use ALL_RM_TEST.
14956 (atan2_test_data): Likewise.
14957 (cabs_test): Likewise.
14958 (cacosh_test): Likewise.
14959 (carg_test): Likewise.
14960 (casin_test): Likewise.
14961 (casinh_test): Likewise.
14962 (cbrt_test): Likewise.
14963 (csqrt_test): Likewise.
14964 (erf_test): Likewise.
14965 (erfc_test): Likewise.
14966 (pow10_test): Likewise.
14967 (exp2_test): Likewise.
14968 (hypot_test): Likewise.
14969 (j0_test): Likewise.
14970 (j1_test): Likewise.
14971 (lgamma_test): Likewise.
14972 (gamma_test): Likewise.
14973 (sincos_test): Likewise.
14974 (tanh_test): Likewise.
14975 (y0_test): Likewise.
14976 (y1_test): Likewise.
14977 * sysdeps/i386/fpu/libm-test-ulps: Update.
14978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14979
6eaf95cb
AZ
149802014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14981
a387428c
SP
14982 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14984 and strcspn-ppc64 objects.
14985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14986 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14987 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14988 multiarch strcspn for POWER7.
14989 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14990 multiarch strcspn for PPC64.
14991 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14992 ifunc selector.
14993 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14994 strcspn for POWER7.
14995
ae3a5dff
JM
149962014-03-20 Joseph Myers <joseph@codesourcery.com>
14997
14998 * math/gen-libm-test.pl (generate_testfile): Expect only function
14999 name as argument to AUTO_TESTS_* and pass results for all rounding
15000 modes to parse_args.
15001 (parse_auto_input): Separate inputs of automatic tests from
15002 outputs before storing in %auto_tests.
15003 * math/libm-test.inc (acos_test_data): Update call to
15004 AUTO_TESTS_f_f.
15005 (acos_test): Use ALL_RM_TEST.
15006 (acos_tonearest_test_data): Remove.
15007 (acos_test_tonearest): Likewise.
15008 (acos_towardzero_test_data): Likewise.
15009 (acos_test_towardzero): Likewise.
15010 (acos_downward_test_data): Likewise.
15011 (acos_test_downward): Likewise.
15012 (acos_upward_test_data): Likewise.
15013 (acos_test_upward): Likewise.
15014 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15015 (asin_test_data): Likewise.
15016 (asin_test): Use ALL_RM_TEST.
15017 (asin_tonearest_test_data): Remove.
15018 (asin_test_tonearest): Likewise.
15019 (asin_towardzero_test_data): Likewise.
15020 (asin_test_towardzero): Likewise.
15021 (asin_downward_test_data): Likewise.
15022 (asin_test_downward): Likewise.
15023 (asin_upward_test_data): Likewise.
15024 (asin_test_upward): Likewise.
15025 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15026 (atan_test_data): Likewise.
15027 (atanh_test_data): Likewise.
15028 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15029 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15030 (carg_test_data): Likewise.
15031 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15032 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15033 (ccosh_test_data): Likewise.
15034 (cexp_test_data): Likewise.
15035 (clog_test_data): Likewise.
15036 (clog10_test_data): Likewise.
15037 (cos_test_data): Update call to AUTO_TESTS_f_f.
15038 (cos_test): Use ALL_RM_TEST.
15039 (cos_tonearest_test_data): Remove.
15040 (cos_test_tonearest): Likewise.
15041 (cos_towardzero_test_data): Likewise.
15042 (cos_test_towardzero): Likewise.
15043 (cos_downward_test_data): Likewise.
15044 (cos_test_downward): Likewise.
15045 (cos_upward_test_data): Likewise.
15046 (cos_test_upward): Likewise.
15047 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15048 (cosh_test): Use ALL_RM_TEST.
15049 (cosh_tonearest_test_data): Remove.
15050 (cosh_test_tonearest): Likewise.
15051 (cosh_towardzero_test_data): Likewise.
15052 (cosh_test_towardzero): Likewise.
15053 (cosh_downward_test_data): Likewise.
15054 (cosh_test_downward): Likewise.
15055 (cosh_upward_test_data): Likewise.
15056 (cosh_test_upward): Likewise.
15057 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15058 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15059 (ctan_test_data): Likewise.
15060 (ctan_test): Use ALL_RM_TEST.
15061 (ctan_tonearest_test_data): Remove.
15062 (ctan_test_tonearest): Likewise.
15063 (ctan_towardzero_test_data): Likewise.
15064 (ctan_test_towardzero): Likewise.
15065 (ctan_downward_test_data): Likewise.
15066 (ctan_test_downward): Likewise.
15067 (ctan_upward_test_data): Likewise.
15068 (ctan_test_upward): Likewise.
15069 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15070 (ctanh_test): Use ALL_RM_TEST.
15071 (ctanh_tonearest_test_data): Remove.
15072 (ctanh_test_tonearest): Likewise.
15073 (ctanh_towardzero_test_data): Likewise.
15074 (ctanh_test_towardzero): Likewise.
15075 (ctanh_downward_test_data): Likewise.
15076 (ctanh_test_downward): Likewise.
15077 (ctanh_upward_test_data): Likewise.
15078 (ctanh_test_upward): Likewise.
15079 (erf_test_data): Update call to AUTO_TESTS_f_f.
15080 (erfc_test_data): Likewise.
15081 (exp_test_data): Likewise.
15082 (exp_test): Use ALL_RM_TEST.
15083 (exp_tonearest_test_data): Remove.
15084 (exp_test_tonearest): Likewise.
15085 (exp_towardzero_test_data): Likewise.
15086 (exp_test_towardzero): Likewise.
15087 (exp_downward_test_data): Likewise.
15088 (exp_test_downward): Likewise.
15089 (exp_upward_test_data): Likewise.
15090 (exp_test_upward): Likewise.
15091 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15092 (exp10_test): Use ALL_RM_TEST.
15093 (exp10_tonearest_test_data): Remove.
15094 (exp10_test_tonearest): Likewise.
15095 (exp10_towardzero_test_data): Likewise.
15096 (exp10_test_towardzero): Likewise.
15097 (exp10_downward_test_data): Likewise.
15098 (exp10_test_downward): Likewise.
15099 (exp10_upward_test_data): Likewise.
15100 (exp10_test_upward): Likewise.
15101 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15102 (expm1_test_data): Likewise.
15103 (expm1_test): Use ALL_RM_TEST.
15104 (expm1_tonearest_test_data): Remove.
15105 (expm1_test_tonearest): Likewise.
15106 (expm1_towardzero_test_data): Likewise.
15107 (expm1_test_towardzero): Likewise.
15108 (expm1_downward_test_data): Likewise.
15109 (expm1_test_downward): Likewise.
15110 (expm1_upward_test_data): Likewise.
15111 (expm1_test_upward): Likewise.
15112 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15113 (fma_test): Use ALL_RM_TEST.
15114 (fma_towardzero_test_data): Remove.
15115 (fma_test_towardzero): Likewise.
15116 (fma_downward_test_data): Likewise.
15117 (fma_test_downward): Likewise.
15118 (fma_upward_test_data): Likewise.
15119 (fma_test_upward): Likewise.
15120 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15121 (j0_test_data): Update call to AUTO_TESTS_f_f.
15122 (j1_test_data): Likewise.
15123 (jn_test_data): Update call to AUTO_TESTS_if_f.
15124 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15125 (log_test_data): Update call to AUTO_TESTS_f_f.
15126 (log10_test_data): Likewise.
15127 (log1p_test_data): Likewise.
15128 (log2_test_data): Likewise.
15129 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15130 (pow_tonearest_test_data): Likewise.
15131 (sin_test_data): Update call to AUTO_TESTS_f_f.
15132 (sin_test): Use ALL_RM_TEST.
15133 (sin_tonearest_test_data): Remove.
15134 (sin_test_tonearest): Likewise.
15135 (sin_towardzero_test_data): Likewise.
15136 (sin_test_towardzero): Likewise.
15137 (sin_downward_test_data): Likewise.
15138 (sin_test_downward): Likewise.
15139 (sin_upward_test_data): Likewise.
15140 (sin_test_upward): Likewise.
15141 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15142 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15143 (sinh_test): Use ALL_RM_TEST.
15144 (sinh_tonearest_test_data): Remove.
15145 (sinh_test_tonearest): Likewise.
15146 (sinh_towardzero_test_data): Likewise.
15147 (sinh_test_towardzero): Likewise.
15148 (sinh_downward_test_data): Likewise.
15149 (sinh_test_downward): Likewise.
15150 (sinh_upward_test_data): Likewise.
15151 (sinh_test_upward): Likewise.
15152 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15153 (sqrt_test): Use ALL_RM_TEST.
15154 (sqrt_tonearest_test_data): Remove.
15155 (sqrt_test_tonearest): Likewise.
15156 (sqrt_towardzero_test_data): Likewise.
15157 (sqrt_test_towardzero): Likewise.
15158 (sqrt_downward_test_data): Likewise.
15159 (sqrt_test_downward): Likewise.
15160 (sqrt_upward_test_data): Likewise.
15161 (sqrt_test_upward): Likewise.
15162 (tan_test_data): Update call to AUTO_TESTS_f_f.
15163 (tan_test): Use ALL_RM_TEST.
15164 (tan_tonearest_test_data): Remove.
15165 (tan_test_tonearest): Likewise.
15166 (tan_towardzero_test_data): Likewise.
15167 (tan_test_towardzero): Likewise.
15168 (tan_downward_test_data): Likewise.
15169 (tan_test_downward): Likewise.
15170 (tan_upward_test_data): Likewise.
15171 (tan_test_upward): Likewise.
15172 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15173 (tgamma_test_data): Likewise.
15174 (y0_test_data): Likewise.
15175 (y1_test_data): Likewise.
15176 (yn_test_data): Update call to AUTO_TESTS_if_f.
15177 (main): Do not call removed functions.
15178
d71aeee8
JM
151792014-03-19 Joseph Myers <joseph@codesourcery.com>
15180
15181 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15182 (ldexp_test_data): Remove.
15183 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15184 scalbn_test_data.
15185 (scalb_test): Use ALL_RM_TEST.
15186
baaf1ded
AS
151872014-03-19 Andreas Schwab <schwab@suse.de>
15188
15189 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15190
b1115e91
JM
151912014-03-19 Joseph Myers <joseph@codesourcery.com>
15192
15193 [BZ #16649]
15194 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15195 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15196 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15197 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15198 (__ASSUME_PREADV): Undefine.
15199 (__ASSUME_PWRITEV): Likewise.
15200
0283ecca
RM
152012014-03-18 Roland McGrath <roland@hack.frob.com>
15202
7d375303
RM
15203 * bits/mman-linux.h: Add comment about non-Linux use.
15204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15205 bits/mman-linux.h resting place.
15206
0283ecca
RM
15207 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15208 * bits/mman-linux.h: ... here.
15209
aebe1003
AZ
152102014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15211
15212 * conform/conformtest.pl: Add standard definition when calling C
15213 preprocessor on data files.
15214 (checknamespace): Remove unused variable.
15215
b29b6bb8
JM
152162014-03-18 Joseph Myers <joseph@codesourcery.com>
15217
15218 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15219 minus_oflow, plus_uflow and minus_uflow in expected results.
15220 * math/libm-test.inc (scalbn_test_data): Add more tests of
15221 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15222 minus_uflow.
15223 (scalbn_test): Use ALL_RM_TEST.
15224 (scalbln_test_data): Add more tests of negative arguments. Use
15225 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15226 (scalbln_test): Use ALL_RM_TEST.
15227
c8f8fa15
RM
152282014-03-18 Roland McGrath <roland@hack.frob.com>
15229
15230 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15231
fede7a5f
WN
152322014-03-18 Will Newton <will.newton@linaro.org>
15233
15234 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15235 inaccurate comment.
15236
80cf0a58
JM
152372014-03-18 Joseph Myers <joseph@codesourcery.com>
15238
15239 * Makerules [!subdir] (check-abi): Exit with error status if a
15240 test failed.
15241
b3620862
JM
152422014-03-17 Joseph Myers <joseph@codesourcery.com>
15243
15244 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15245 for rint. Include results for all rounding modes.
15246 (nearbyint_test): Use ALL_RM_TEST.
15247 (rint_test_data): Include all tests used for nearbyint.
15248
788bba36
WN
152492014-03-17 Will Newton <will.newton@linaro.org>
15250
04ec140a
WN
15251 * nptl/sysdeps/pthread/pthread.h: Revert previous
15252 change.
15253
7579d8d5
WN
15254 * sysdeps/generic/ldsodefs.h: Revert previous
15255 change.
15256
c15cf13a
WN
15257 * libio/genops.c: Revert previous change.
15258 * libio/libioP.h: Likewise.
15259 * stdio-common/vfprintf.c: Likewise.
15260
d0ac1324
WN
15261 * sysdeps/generic/math_private.h: Revert previous
15262 change.
15263
9290130a
WN
15264 * sysdeps/generic/math_private.h: Check whether
15265 HAVE_RM_CTX is defined with #ifdef rather
15266 than #if.
15267
afb466fc
WN
15268 * argp/argp-fmtstream.h: Check whether
15269 __STRICT_ANSI__ is defined with #ifdef rather
15270 than #if.
15271 * argp/argp.h: Likewise.
15272
f7efd7c3
WN
15273 * libio/genops.c: Check whether
15274 _IO_JUMPS_OFFSET is defined with #ifdef rather
15275 than #if.
15276 * libio/libioP.h: Likewise.
15277 * stdio-common/vfprintf.c: Likewise.
15278
53f1bed3
WN
15279 * sysdeps/generic/ldsodefs.h: Check whether
15280 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15281 than #if.
15282
788bba36
WN
15283 * nptl/sysdeps/pthread/pthread.h: Check
15284 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15285 its value.
15286
fcd89ebe
SP
152872014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15288
ae42bbc5
SP
15289 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15290 setting O_APPEND.
15291 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15292 test case.
15293
ea33158c
SP
15294 [BZ #16680]
15295 * libio/fileops.c (_IO_file_open): Seek to end of file but
15296 don't cache the offset.
15297 (get_file_offset): Remove function.
15298 (do_ftell): Use cached offset when available.
15299 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15300 don't cache the offset.
15301 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15302 case.
15303 (do_one_test): Call it.
15304 (do_ftell_test): Fix up expected old offset for a+ mode.
15305 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15306 available.
15307
b1dbb426
SP
15308 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15309 up test status with function return status.
15310 (do_write_test): Likewise.
15311 (do_append_test): Likewise.
15312
fcd89ebe
SP
15313 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15314 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15315 Remove.
15316
9962a2d3
JM
153172014-03-17 Joseph Myers <joseph@codesourcery.com>
15318
15319 * math/gen-libm-test.pl (parse_args): Handle results specified for
15320 each rounding mode separately.
15321 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15322 tests and results from lrint_tonearest_test_data,
15323 lrint_towardzero_test_data, lrint_downward_test_data and
15324 lrint_upward_test_data.
15325 (lrint_test): Use ALL_RM_TEST.
15326 (lrint_tonearest_test_data): Remove.
15327 (lrint_test_tonearest): Likewise.
15328 (lrint_towardzero_test_data): Likewise.
15329 (lrint_test_towardzero): Likewise.
15330 (lrint_downward_test_data): Likewise.
15331 (lrint_test_downward): Likewise.
15332 (lrint_upward_test_data): Likewise.
15333 (lrint_test_upward): Likewise.
15334 (llrint_test_data): Merge in per-rounding-mode tests and results
15335 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15336 llrint_downward_test_data and llrint_upward_test_data.
15337 (llrint_test): Use ALL_RM_TEST.
15338 (llrint_tonearest_test_data): Remove.
15339 (llrint_test_tonearest): Likewise.
15340 (llrint_towardzero_test_data): Likewise.
15341 (llrint_test_towardzero): Likewise.
15342 (llrint_downward_test_data): Likewise.
15343 (llrint_test_downward): Likewise.
15344 (llrint_upward_test_data): Likewise.
15345 (llrint_test_upward): Likewise.
15346 (rint_test_data): Merge in per-rounding-mode tests and results
15347 from rint_tonearest_test_data, rint_towardzero_test_data,
15348 rint_downward_test_data and rint_upward_test_data. Add
15349 per-rounding-mode results for tests not in those arrays.
15350 (rint_test): Use ALL_RM_TEST.
15351 (rint_tonearest_test_data): Remove.
15352 (rint_test_tonearest): Likewise.
15353 (rint_towardzero_test_data): Likewise.
15354 (rint_test_towardzero): Likewise.
15355 (rint_downward_test_data): Likewise.
15356 (rint_test_downward): Likewise.
15357 (rint_upward_test_data): Likewise.
15358 (rint_test_upward): Likewise.
15359 (main): Don't call removed functions.
15360
5006148e
RM
153612014-03-14 Roland McGrath <roland@hack.frob.com>
15362
15363 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15364 "Compiled on ..." crapola. It is anti-useful.
15365
d6fe5e58
JM
153662014-03-14 Joseph Myers <joseph@codesourcery.com>
15367
15368 * scripts/evaluate-test.sh: Handle fourth argument to determine
15369 whether test run should stop on failure.
15370 * Makeconfig (stop-on-test-failure): New variable.
15371 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15372 $(stop-on-test-failure).
15373 * Makefile (tests): Give a summary of results from testing and
15374 exit with failure status if they include an ERROR or FAIL.
15375 (xtests): Likewise.
15376 * manual/install.texi (Configuring and compiling): Mention
15377 stop-on-test-failure=y.
15378 * INSTALL: Regenerated.
15379
498a2233
RM
153802014-03-14 Roland McGrath <roland@hack.frob.com>
15381
22dbc19d
RM
15382 * scripts/versionlist.awk: New file.
15383 * Makerules [$(build-shared) = yes]
15384 (postclean-generated): Add Versions.def, not Versions.def.v and
15385 Versions.def.v.i.
15386 ($(common-objpfx)Versions.def.v.i): Target removed.
15387 ($(common-objpfx)Versions.def): New target.
15388 ($(common-objpfx)Versions.all): Depend on that rather that
15389 $(common-objpfx)Versions.def.v.
15390 * Versions.def: File removed.
15391
498a2233
RM
15392 * Makeconfig (+gccwarn): Add -Wundef.
15393 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15394 a dl-sysdep.h breaking its contract.
15395 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15396 * include/stackinfo.h: New file.
15397 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15398 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15399 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15400 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15401 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15402 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15403 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15404 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15405 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15406 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15407 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15408 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15409 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15410 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15411 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15412
c7de5025
AZ
154132014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15414
15415 [BZ #16707]
15416 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15417 implementation.
15418 * math/libm-test.inc (round_test_data): Add more tests.
15419
98fb27a3
AZ
15420 [BZ #16706]
15421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15422 implementation.
15423 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15424
374f7f61
AZ
15425 [BZ #16701]
15426 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15427 implementation.
15428 * math/libm-test.inc (ceil_test_data): Add more tests.
15429
4655c291
AZ
15430 * math/libm-test.inc (trunc_test_data): Add more tests related to
15431 BZ#16414.
15432
d7329d4b
RM
154332014-03-14 Roland McGrath <roland@hack.frob.com>
15434
15435 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15436 with #if rather than #ifdef.
15437 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15438
aa4de9ce
L
154392014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15440
15441 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15442 first. Disable AVX-512 GCC support if assembler doesn't support
15443 it.
15444 * sysdeps/x86_64/configure: Regenerated.
15445
2e03fae7
CD
154462014-03-13 Carlos O'Donell <carlos@redhat.com>
15447
15448 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15449 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15450 (__old_pthread_attr_setstack): Likewise.
15451 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15452 [!_STACK_GROWS_DOWN]: Likewise.
15453
43ca83ec
MF
154542014-03-13 Mike Frysinger <vapier@gentoo.org>
15455
15456 * config.make.in (have-bash2): Delete.
15457 * configure.ac (libc_cv_have_bash2): Delete.
15458 * configure: Regenerate.
15459 * elf/Makefile (common-ldd-rewrite): Rename to ...
15460 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15461 (sh-ldd-rewrite): Delete.
15462 (bash-ldd-rewrite): Delete.
15463 (have-bash2): Delete checks.
57f41c40
AS
15464 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15465 ldd-rewrite.
c66e48b4
MF
15466
15467 * config.make.in (have-ksh): Delete.
15468 (KSH): Delete.
15469 * configure.ac (libc_cv_have_ksh): Delete.
15470 * configure: Regenerate.
15471
b93834ef
MF
15472 * elf/Makefile: Delete $(have-ksh) check.
15473 ($(objpfx)sotruss): Change KSH to BASH.
15474 * elf/sotruss.ksh: Rename to ...
15475 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15476 function style to match POSIX. Drop ksh vim mode setting.
15477
f3a4632a
MF
15478 * manual/time.texi (Specifying the Time Zone with TZ): Change
15479 Tuesday to Thursday.
15480
5896c8bd
MF
15481 * debug/tst-longjmp_chk2.c: Update header comment.
15482 (stackoverflow_handler): Add comment. Call assert on pass value.
15483
2d63a517
IZ
154842014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15485
7e54fd04 15486 [BZ #16194]
2d63a517
IZ
15487 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15488 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15489 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15490 (La_x86_64_vector): Add zmm.
15491 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15492 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15493 ($(objpfx)tst-audit10): New target.
15494 ($(objpfx)tst-audit10.out): Likewise.
15495 (tst-audit10-ENV): New.
15496 (AVX512-CFLAGS): Likewise.
15497 (CFLAGS-tst-audit10.c): Likewise.
15498 (CFLAGS-tst-auditmod10a.c): Likewise.
15499 (CFLAGS-tst-auditmod10b.c): Likewise.
15500 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15501 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15502 * sysdeps/x86_64/configure: Regenerated.
15503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15504 AVX-512 zmm register support.
15505 (_dl_x86_64_save_sse): Likewise.
15506 (_dl_x86_64_restore_sse): Likewise.
15507 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15508 size vector registers.
15509 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15510 (ZMM_SIZE): Likewise.
15511 * sysdeps/x86_64/tst-audit10.c: New file.
15512 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15513 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15514
44c4e5d5
RM
155152014-03-13 Roland McGrath <roland@hack.frob.com>
15516
15517 * configure.ac (HAVE_EHDR_START): New check.
15518 * configure: Regenerated.
15519 * config.h.in (HAVE_EHDR_START): New #undef.
15520 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15521 assuming the lowest-addressed segment maps the start of the file.
15522
acd6e389
JM
155232014-03-13 Joseph Myers <joseph@codesourcery.com>
15524
15525 * INSTALL: Regenerated.
15526
6f918f36
WN
155272014-03-13 Will Newton <will.newton@linaro.org>
15528
15529 * manual/setjmp.texi (System V contexts): Improve
15530 clarity and grammar of documentation.
15531
798212a0
PP
155322014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15533
15534 [BZ #16381]
798212a0 15535 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15536 (tests-pie): Add tst-pie2.
798212a0
PP
15537 * elf/tst-pie2.c: New file.
15538 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15539 for ET_EXEC.
15540 * elf/rtld.c (map_doit): Load executable as lt_executable.
15541 (dl_main): Likewise.
15542
abe6d90c
JM
155432014-03-12 Joseph Myers <joseph@codesourcery.com>
15544
15545 [BZ #16642]
15546 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15547 (__ASSUME_PSELECT): Undefine.
15548
dd3946c6
AZ
155492014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15550
15551 [BZ #16689]
15552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15553 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15554 static build.
15555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15556 selector for static builds.
15557
c44496df
SP
155582014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15559
15560 [BZ #16695]
15561 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15562 key in the buffer.
15563
27c7220a
AZ
155642014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15565
57f41c40
AS
15566 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15567 IFUNC selector for static builds.
27c7220a 15568
600fa361
JM
155692014-03-11 Joseph Myers <joseph@codesourcery.com>
15570
76c96cf7
JM
15571 * sysdeps/mips/math_private.h [__mips_hard_float]
15572 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15573 libc_feresetround_mips_ctx.
15574 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15575 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15576 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15577
600fa361
JM
15578 [BZ #16677]
15579 * math/s_nextafter.c (__nextafter): Do not return value from
15580 overflowing computation.
15581 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15582 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15583 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15584 Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15586 Likewise.
15587 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15588 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15589
d7706c32
RM
155902014-03-11 Roland McGrath <roland@hack.frob.com>
15591
15592 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15593 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15594 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15595 the new mov targetting sp.
15596
4facea47
AZ
155972014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15598
15599 [BZ #16683]
15600 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15601 Define it for static builds as well.
15602 (NO_BZERO_IMPL): Likewise.
15603
e65caf1f
VR
156042014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15605
15606 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15607 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15608 multiarch strspn for PPC64.
15609 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15610 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15612 (__libc_ifunc_impl_list): Likewise.
15613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15614 multiarch optimizations
15615 * string/strspn.c (strspn): Using macro to redefine symbol name.
15616
ba9cc071
AZ
156172014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15618 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15619
15620 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15621 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15622 multiarch strncat for PPC64.
15623 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15624 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15626 (__libc_ifunc_impl_list): Likewise.
15627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15628 multiarch optimizations
15629
8b4ff974
SP
156302014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15631
15632 [BZ #16639]
15633 * nscd/nscd.service: Make service type forking.
15634
54b46a4b
AZ
156352014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15636
15637 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15638 sign in non default rounding modes.
15639 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15640
e9996ef7
JM
156412014-03-08 Joseph Myers <joseph@codesourcery.com>
15642
15643 * math/libm-test.inc (ALL_RM_TEST): New macro.
15644 (ceil_test): Use ALL_RM_TEST.
15645 (cimag_test): Likewise.
15646 (conj_test): Likewise.
15647 (copysign_test): Likewise.
15648 (cproj_test): Likewise.
15649 (creal_test): Likewise.
15650 (fabs_test): Likewise.
15651 (floor_test): Likewise.
15652 (fmax_test): Likewise.
15653 (fmin_test): Likewise.
15654 (fmod_test): Likewise.
15655 (fpclassify_test): Likewise.
15656 (frexp_test): Likewise.
15657 (ilogb_test): Likewise.
15658 (isfinite_test): Likewise.
15659 (finite_test): Likewise.
15660 (isgreater_test): Likewise.
15661 (isgreaterequal_test): Likewise.
15662 (isinf_test): Likewise.
15663 (isless_test): Likewise.
15664 (islessequal_test): Likewise.
15665 (islessgreater_test): Likewise.
15666 (isnan_test): Likewise.
15667 (isnormal_test): Likewise.
15668 (issignaling_test): Likewise.
15669 (isunordered_test): Likewise.
15670 (logb_test): Likewise.
15671 (logb_downward_test_data): Remove.
15672 (logb_test_downward): Likewise.
15673 (lround_test): Use ALL_RM_TEST.
15674 (llround_test): Likewise.
15675 (modf_test): Likewise.
15676 (nexttoward_test): Likewise.
15677 (remainder_test): Likewise.
15678 (drem_test): Likewise.
15679 (remainder_tonearest_test_data): Likewise.
15680 (remainder_test_tonearest): Likewise.
15681 (drem_test_tonearest): Likewise.
15682 (remainder_towardzero_test_data): Likewise.
15683 (remainder_test_towardzero): Likewise.
15684 (drem_test_towardzero): Likewise.
15685 (remainder_downward_test_data): Likewise.
15686 (remainder_test_downward): Likewise.
15687 (drem_test_downward): Likewise.
15688 (remainder_upward_test_data): Likewise.
15689 (remainder_test_upward): Likewise.
15690 (drem_test_upward): Likewise.
15691 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15692 (round_test): Use ALL_RM_TEST.
15693 (signbit_test): Likewise.
15694 (trunc_test): Likewise.
15695 (significand_test): Likewise.
15696 (main): Don't call removed functions.
15697
bc61d27c
JM
156982014-03-07 Joseph Myers <joseph@codesourcery.com>
15699
5c780849
JM
15700 [BZ #16674]
15701 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15702 || __USE_XOPEN2K8].
15703 (ILL_ILLOPN): Likewise.
15704 (ILL_ILLADR): Likewise.
15705 (ILL_ILLTRP): Likewise.
15706 (ILL_PRVOPC): Likewise.
15707 (ILL_PRVREG): Likewise.
15708 (ILL_COPROC): Likewise.
15709 (ILL_BADSTK): Likewise.
15710 (FPE_INTDIV): Likewise.
15711 (FPE_INTOVF): Likewise.
15712 (FPE_FLTDIV): Likewise.
15713 (FPE_FLTOVF): Likewise.
15714 (FPE_FLTUND): Likewise.
15715 (FPE_FLTRES): Likewise.
15716 (FPE_FLTINV): Likewise.
15717 (FPE_FLTSUB): Likewise.
15718 (SEGV_MAPERR): Likewise.
15719 (SEGV_ACCERR): Likewise.
15720 (BUS_ADRALN): Likewise.
15721 (BUS_ADRERR): Likewise.
15722 (BUS_OBJERR): Likewise.
15723 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15724 (TRAP_TRACE): Likewise.
15725 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15726 __USE_XOPEN2K8].
15727 (CLD_KILLED): Likewise.
15728 (CLD_DUMPED): Likewise.
15729 (CLD_TRAPPED): Likewise.
15730 (CLD_STOPPED): Likewise.
15731 (CLD_CONTINUED): Likewise.
15732 (POLL_IN): Likewise.
15733 (POLL_OUT): Likewise.
15734 (POLL_MSG): Likewise.
15735 (POLL_ERR): Likewise.
15736 (POLL_PRI): Likewise.
15737 (POLL_HUP): Likewise.
15738 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15739 Likewise.
15740 (ILL_ILLOPN): Likewise.
15741 (ILL_ILLADR): Likewise.
15742 (ILL_ILLTRP): Likewise.
15743 (ILL_PRVOPC): Likewise.
15744 (ILL_PRVREG): Likewise.
15745 (ILL_COPROC): Likewise.
15746 (ILL_BADSTK): Likewise.
15747 (FPE_INTDIV): Likewise.
15748 (FPE_INTOVF): Likewise.
15749 (FPE_FLTDIV): Likewise.
15750 (FPE_FLTOVF): Likewise.
15751 (FPE_FLTUND): Likewise.
15752 (FPE_FLTRES): Likewise.
15753 (FPE_FLTINV): Likewise.
15754 (FPE_FLTSUB): Likewise.
15755 (SEGV_MAPERR): Likewise.
15756 (SEGV_ACCERR): Likewise.
15757 (BUS_ADRALN): Likewise.
15758 (BUS_ADRERR): Likewise.
15759 (BUS_OBJERR): Likewise.
15760 (BUS_MCEERR_AR): Likewise.
15761 (BUS_MCEERR_AO): Likewise.
15762 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15763 (TRAP_TRACE): Likewise.
15764 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15765 __USE_XOPEN2K8].
15766 (CLD_KILLED): Likewise.
15767 (CLD_DUMPED): Likewise.
15768 (CLD_TRAPPED): Likewise.
15769 (CLD_STOPPED): Likewise.
15770 (CLD_CONTINUED): Likewise.
15771 (POLL_IN): Likewise.
15772 (POLL_OUT): Likewise.
15773 (POLL_MSG): Likewise.
15774 (POLL_ERR): Likewise.
15775 (POLL_PRI): Likewise.
15776 (POLL_HUP): Likewise.
15777 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15778 (ILL_ILLOPN): Likewise.
15779 (ILL_ILLADR): Likewise.
15780 (ILL_ILLTRP): Likewise.
15781 (ILL_PRVOPC): Likewise.
15782 (ILL_PRVREG): Likewise.
15783 (ILL_COPROC): Likewise.
15784 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
15794 (SEGV_ACCERR): Likewise.
15795 (BUS_ADRALN): Likewise.
15796 (BUS_ADRERR): Likewise.
15797 (BUS_OBJERR): Likewise.
15798 (BUS_MCEERR_AR): Likewise.
15799 (BUS_MCEERR_AO): Likewise.
15800 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15801 (TRAP_TRACE): Likewise.
15802 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15803 __USE_XOPEN2K8].
15804 (CLD_KILLED): Likewise.
15805 (CLD_DUMPED): Likewise.
15806 (CLD_TRAPPED): Likewise.
15807 (CLD_STOPPED): Likewise.
15808 (CLD_CONTINUED): Likewise.
15809 (POLL_IN): Likewise.
15810 (POLL_OUT): Likewise.
15811 (POLL_MSG): Likewise.
15812 (POLL_ERR): Likewise.
15813 (POLL_PRI): Likewise.
15814 (POLL_HUP): Likewise.
15815 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15816 Likewise.
15817 (ILL_ILLOPN): Likewise.
15818 (ILL_ILLADR): Likewise.
15819 (ILL_ILLTRP): Likewise.
15820 (ILL_PRVOPC): Likewise.
15821 (ILL_PRVREG): Likewise.
15822 (ILL_COPROC): Likewise.
15823 (ILL_BADSTK): Likewise.
15824 (ILL_BADIADDR): Likewise.
15825 (ILL_BREAK): Likewise.
15826 (FPE_INTDIV): Likewise.
15827 (FPE_INTOVF): Likewise.
15828 (FPE_FLTDIV): Likewise.
15829 (FPE_FLTOVF): Likewise.
15830 (FPE_FLTUND): Likewise.
15831 (FPE_FLTRES): Likewise.
15832 (FPE_FLTINV): Likewise.
15833 (FPE_FLTSUB): Likewise.
15834 (FPE_DECOVF): Likewise.
15835 (FPE_DECDIV): Likewise.
15836 (FPE_DECERR): Likewise.
15837 (FPE_INVASC): Likewise.
15838 (FPE_INVDEC): Likewise.
15839 (SEGV_MAPERR): Likewise.
15840 (SEGV_ACCERR): Likewise.
15841 (SEGV_PSTKOVF): Likewise.
15842 (BUS_ADRALN): Likewise.
15843 (BUS_ADRERR): Likewise.
15844 (BUS_OBJERR): Likewise.
15845 (BUS_MCEERR_AR): Likewise.
15846 (BUS_MCEERR_AO): Likewise.
15847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15848 (TRAP_TRACE): Likewise.
15849 (TRAP_BRANCH): Likewise.
15850 (TRAP_HWBKPT): Likewise.
15851 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15852 __USE_XOPEN2K8].
15853 (CLD_KILLED): Likewise.
15854 (CLD_DUMPED): Likewise.
15855 (CLD_TRAPPED): Likewise.
15856 (CLD_STOPPED): Likewise.
15857 (CLD_CONTINUED): Likewise.
15858 (POLL_IN): Likewise.
15859 (POLL_OUT): Likewise.
15860 (POLL_MSG): Likewise.
15861 (POLL_ERR): Likewise.
15862 (POLL_PRI): Likewise.
15863 (POLL_HUP): Likewise.
15864 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15865 (ILL_ILLOPN): Likewise.
15866 (ILL_ILLADR): Likewise.
15867 (ILL_ILLTRP): Likewise.
15868 (ILL_PRVOPC): Likewise.
15869 (ILL_PRVREG): Likewise.
15870 (ILL_COPROC): Likewise.
15871 (ILL_BADSTK): Likewise.
15872 (FPE_INTDIV): Likewise.
15873 (FPE_INTOVF): Likewise.
15874 (FPE_FLTDIV): Likewise.
15875 (FPE_FLTOVF): Likewise.
15876 (FPE_FLTUND): Likewise.
15877 (FPE_FLTRES): Likewise.
15878 (FPE_FLTINV): Likewise.
15879 (FPE_FLTSUB): Likewise.
15880 (SEGV_MAPERR): Likewise.
15881 (SEGV_ACCERR): Likewise.
15882 (BUS_ADRALN): Likewise.
15883 (BUS_ADRERR): Likewise.
15884 (BUS_OBJERR): Likewise.
15885 (BUS_MCEERR_AR): Likewise.
15886 (BUS_MCEERR_AO): Likewise.
15887 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15888 (TRAP_TRACE): Likewise.
15889 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15890 __USE_XOPEN2K8].
15891 (CLD_KILLED): Likewise.
15892 (CLD_DUMPED): Likewise.
15893 (CLD_TRAPPED): Likewise.
15894 (CLD_STOPPED): Likewise.
15895 (CLD_CONTINUED): Likewise.
15896 (POLL_IN): Likewise.
15897 (POLL_OUT): Likewise.
15898 (POLL_MSG): Likewise.
15899 (POLL_ERR): Likewise.
15900 (POLL_PRI): Likewise.
15901 (POLL_HUP): Likewise.
15902 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15903 (ILL_ILLOPN): Likewise.
15904 (ILL_ILLADR): Likewise.
15905 (ILL_ILLTRP): Likewise.
15906 (ILL_PRVOPC): Likewise.
15907 (ILL_PRVREG): Likewise.
15908 (ILL_COPROC): Likewise.
15909 (ILL_BADSTK): Likewise.
15910 (FPE_INTDIV): Likewise.
15911 (FPE_INTOVF): Likewise.
15912 (FPE_FLTDIV): Likewise.
15913 (FPE_FLTOVF): Likewise.
15914 (FPE_FLTUND): Likewise.
15915 (FPE_FLTRES): Likewise.
15916 (FPE_FLTINV): Likewise.
15917 (FPE_FLTSUB): Likewise.
15918 (SEGV_MAPERR): Likewise.
15919 (SEGV_ACCERR): Likewise.
15920 (BUS_ADRALN): Likewise.
15921 (BUS_ADRERR): Likewise.
15922 (BUS_OBJERR): Likewise.
15923 (BUS_MCEERR_AR): Likewise.
15924 (BUS_MCEERR_AO): Likewise.
15925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15926 (TRAP_TRACE): Likewise.
15927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15928 __USE_XOPEN2K8].
15929 (CLD_KILLED): Likewise.
15930 (CLD_DUMPED): Likewise.
15931 (CLD_TRAPPED): Likewise.
15932 (CLD_STOPPED): Likewise.
15933 (CLD_CONTINUED): Likewise.
15934 (POLL_IN): Likewise.
15935 (POLL_OUT): Likewise.
15936 (POLL_MSG): Likewise.
15937 (POLL_ERR): Likewise.
15938 (POLL_PRI): Likewise.
15939 (POLL_HUP): Likewise.
15940 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15941 (ILL_ILLOPN): Likewise.
15942 (ILL_ILLADR): Likewise.
15943 (ILL_ILLTRP): Likewise.
15944 (ILL_PRVOPC): Likewise.
15945 (ILL_PRVREG): Likewise.
15946 (ILL_COPROC): Likewise.
15947 (ILL_BADSTK): Likewise.
15948 (FPE_INTDIV): Likewise.
15949 (FPE_INTOVF): Likewise.
15950 (FPE_FLTDIV): Likewise.
15951 (FPE_FLTOVF): Likewise.
15952 (FPE_FLTUND): Likewise.
15953 (FPE_FLTRES): Likewise.
15954 (FPE_FLTINV): Likewise.
15955 (FPE_FLTSUB): Likewise.
15956 (SEGV_MAPERR): Likewise.
15957 (SEGV_ACCERR): Likewise.
15958 (BUS_ADRALN): Likewise.
15959 (BUS_ADRERR): Likewise.
15960 (BUS_OBJERR): Likewise.
15961 (BUS_MCEERR_AR): Likewise.
15962 (BUS_MCEERR_AO): Likewise.
15963 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15964 (TRAP_TRACE): Likewise.
15965 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15966 __USE_XOPEN2K8].
15967 (CLD_KILLED): Likewise.
15968 (CLD_DUMPED): Likewise.
15969 (CLD_TRAPPED): Likewise.
15970 (CLD_STOPPED): Likewise.
15971 (CLD_CONTINUED): Likewise.
15972 (POLL_IN): Likewise.
15973 (POLL_OUT): Likewise.
15974 (POLL_MSG): Likewise.
15975 (POLL_ERR): Likewise.
15976 (POLL_PRI): Likewise.
15977 (POLL_HUP): Likewise.
15978 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15979 (ILL_ILLOPN): Likewise.
15980 (ILL_ILLADR): Likewise.
15981 (ILL_ILLTRP): Likewise.
15982 (ILL_PRVOPC): Likewise.
15983 (ILL_PRVREG): Likewise.
15984 (ILL_COPROC): Likewise.
15985 (ILL_BADSTK): Likewise.
15986 (ILL_DBLFLT): Likewise.
15987 (ILL_HARDWALL): Likewise.
15988 (FPE_INTDIV): Likewise.
15989 (FPE_INTOVF): Likewise.
15990 (FPE_FLTDIV): Likewise.
15991 (FPE_FLTOVF): Likewise.
15992 (FPE_FLTUND): Likewise.
15993 (FPE_FLTRES): Likewise.
15994 (FPE_FLTINV): Likewise.
15995 (FPE_FLTSUB): Likewise.
15996 (SEGV_MAPERR): Likewise.
15997 (SEGV_ACCERR): Likewise.
15998 (BUS_ADRALN): Likewise.
15999 (BUS_ADRERR): Likewise.
16000 (BUS_OBJERR): Likewise.
16001 (BUS_MCEERR_AR): Likewise.
16002 (BUS_MCEERR_AO): Likewise.
16003 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16004 (TRAP_TRACE): Likewise.
16005 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16006 __USE_XOPEN2K8].
16007 (CLD_KILLED): Likewise.
16008 (CLD_DUMPED): Likewise.
16009 (CLD_TRAPPED): Likewise.
16010 (CLD_STOPPED): Likewise.
16011 (CLD_CONTINUED): Likewise.
16012 (POLL_IN): Likewise.
16013 (POLL_OUT): Likewise.
16014 (POLL_MSG): Likewise.
16015 (POLL_ERR): Likewise.
16016 (POLL_PRI): Likewise.
16017 (POLL_HUP): Likewise.
16018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16019 (ILL_ILLOPN): Likewise.
16020 (ILL_ILLADR): Likewise.
16021 (ILL_ILLTRP): Likewise.
16022 (ILL_PRVOPC): Likewise.
16023 (ILL_PRVREG): Likewise.
16024 (ILL_COPROC): Likewise.
16025 (ILL_BADSTK): Likewise.
16026 (FPE_INTDIV): Likewise.
16027 (FPE_INTOVF): Likewise.
16028 (FPE_FLTDIV): Likewise.
16029 (FPE_FLTOVF): Likewise.
16030 (FPE_FLTUND): Likewise.
16031 (FPE_FLTRES): Likewise.
16032 (FPE_FLTINV): Likewise.
16033 (FPE_FLTSUB): Likewise.
16034 (SEGV_MAPERR): Likewise.
16035 (SEGV_ACCERR): Likewise.
16036 (BUS_ADRALN): Likewise.
16037 (BUS_ADRERR): Likewise.
16038 (BUS_OBJERR): Likewise.
16039 (BUS_MCEERR_AR): Likewise.
16040 (BUS_MCEERR_AO): Likewise.
16041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16042 (TRAP_TRACE): Likewise.
16043 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16044 __USE_XOPEN2K8].
16045 (CLD_KILLED): Likewise.
16046 (CLD_DUMPED): Likewise.
16047 (CLD_TRAPPED): Likewise.
16048 (CLD_STOPPED): Likewise.
16049 (CLD_CONTINUED): Likewise.
16050 (POLL_IN): Likewise.
16051 (POLL_OUT): Likewise.
16052 (POLL_MSG): Likewise.
16053 (POLL_ERR): Likewise.
16054 (POLL_PRI): Likewise.
16055 (POLL_HUP): Likewise.
16056 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16057 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16058
bc61d27c
JM
16059 [BZ #16670]
16060 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16061 before #include of <time.h>.
16062 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16063 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16064 (test-xfail-UNIX98/sched.h/conform): Likewise.
16065
302949e2
MS
160662014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16067
16068 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16069 error absence of trapping exception support.
16070 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16071
a00f522a
JM
160722014-03-07 Joseph Myers <joseph@codesourcery.com>
16073
6f99f280
JM
16074 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16075 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16076 * timezone/Makefile (testdata): Move definition above include of
16077 Rules.
16078 (test-zones): New variable.
16079 (tests-special): Add zone files.
16080 (build-testdata): Use $(evaluate-test).
16081
0b20a9e8
JM
16082 * elf/Makefile (tests-special): Rename tests to end with .out.
16083 ($(objpfx)noload-mem): Likewise.
16084 ($(objpfx)tst-leaks1-mem): Likewise.
16085 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16086 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16087 $(objpfx)test-iconvconfig.out.
16088 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16089 set -e inside subshell and redirect output to file.
16090 * iconvdata/Makefile (generated): Rename tests to end with .out.
16091 Correct type.
16092 (tests-special): Rename tests to end with .out.
16093 ($(objpfx)mtrace-tst-loading): Likewise.
16094 * intl/Makefile (generated): Likewise.
16095 (tests-special): Likewise.
16096 ($(objpfx)mtrace-tst-gettext): Likewise.
16097 * misc/Makefile (generated): Likewise.
16098 (tests-special): Likewise.
16099 ($(objpfx)tst-error1-mem): Likewise.
16100 * nptl/Makefile (tests-special): Likewise.
16101 ($(objpfx)tst-stack3-mem): Likewise.
16102 (generated): Likewise.
16103 * posix/Makefile (generated): Likewise.
16104 (tests-special): Likewise.
16105 (xtests-special): Likewise.
16106 ($(objpfx)tst-fnmatch-mem): Likewise.
16107 ($(objpfx)bug-regex2-mem): Likewise.
16108 ($(objpfx)bug-regex14-mem): Likewise.
16109 ($(objpfx)bug-regex21-mem): Likewise.
16110 ($(objpfx)bug-regex31-mem): Likewise.
16111 ($(objpfx)tst-vfork3-mem): Likewise.
16112 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16113 ($(objpfx)tst-pcre-mem): Likewise.
16114 ($(objpfx)tst-boost-mem): Likewise.
16115 ($(objpfx)bug-ga2-mem): Likewise.
16116 ($(objpfx)bug-glob2-mem): Likewise.
16117 * resolv/Makefile (generate): Likewise.
16118 (tests-special): Likewise.
16119 (xtests-special): Likewise.
16120 (generated): Likewise.
16121 ($(objpfx)mtrace-tst-leaks): Likewise.
16122 ($(objpfx)mtrace-tst-leaks2): Likewise.
16123
265d52ab
JM
16124 * scripts/merge-test-results.sh: New file.
16125 * Makefile (tests-special-notdir): New variable.
16126 (tests): Run merge-test-results.sh.
16127 (xtests): Likewise.
16128 * Rules (tests-special-notdir): New variable.
16129 (xtests-special-notdir): Likewise.
16130 (tests): Run merge-test-results.sh
16131 (xtests): Likewise.
16132
54ee292d
JM
16133 * Makeconfig (test-xfail-name): New variable.
16134 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16135 compute variable name for expected failures.
16136 * conform/Makefile (conformtest-headers-data): New variable.
16137 (conformtest-standards): Likewise.
16138 (conformtest-headers-ISO): Likewise.
16139 (conformtest-headers-ISO99): Likewise.
16140 (conformtest-headers-ISO11): Likewise.
16141 (conformtest-headers-POSIX): Likewise.
16142 (conformtest-headers-XPG3): Likewise.
16143 (conformtest-headers-XPG4): Likewise.
16144 (conformtest-headers-UNIX98): Likewise.
16145 (conformtest-headers-XOPEN2K): Likewise.
16146 (conformtest-headers-POSIX2008): Likewise.
16147 (conformtest-headers-XOPEN2K8): Likewise.
16148 (conformtest-header-list-base): Likewise.
16149 (conformtest-header-list-tests): Likewise.
16150 (conformtest-header-base): Likewise.
16151 (conformtest-header-tests): Likewise.
16152 (tests-special): Add $(conformtest-header-list-tests). If
16153 [$(fast-check) && !$(cross-compiling)], add
16154 $(conformtest-header-tests) instead of
16155 $(objpfx)run-conformtest.out.
16156 (generated): Add $(conformtest-header-list-base). If
16157 [$(fast-check) && !$(cross-compiling)], add
16158 $(conformtest-header-base). Remove previous setting.
16159 ($(conformtest-header-list-tests)): New target.
16160 (test-xfail-run-conformtest): Remove variable.
16161 ($(objpfx)run-conformtest.out): Remove target.
16162 (test-xfail-ISO11/complex.h/conform): New variable.
16163 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16164 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16165 (test-xfail-XPG3/varargs.h/conform): Likewise.
16166 (test-xfail-XPG4/varargs.h/conform): Likewise.
16167 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16168 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16169 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16170 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16171 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16172 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16173 (test-xfail-XPG3/ftw.h/conform): Likewise.
16174 (test-xfail-XPG3/grp.h/conform): Likewise.
16175 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16176 (test-xfail-XPG3/limits.h/conform): Likewise.
16177 (test-xfail-XPG3/pwd.h/conform): Likewise.
16178 (test-xfail-XPG3/search.h/conform): Likewise.
16179 (test-xfail-XPG3/signal.h/conform): Likewise.
16180 (test-xfail-XPG3/stdio.h/conform): Likewise.
16181 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16182 (test-xfail-XPG3/string.h/conform): Likewise.
16183 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16184 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16185 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16186 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16187 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16188 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16189 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16190 (test-xfail-XPG3/termios.h/conform): Likewise.
16191 (test-xfail-XPG3/time.h/conform): Likewise.
16192 (test-xfail-XPG3/unistd.h/conform): Likewise.
16193 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16194 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16195 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16196 (test-xfail-XPG4/netdb.h/conform): Likewise.
16197 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16198 (test-xfail-XPG4/signal.h/conform): Likewise.
16199 (test-xfail-XPG4/stdio.h/conform): Likewise.
16200 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16201 (test-xfail-XPG4/stropts.h/conform): Likewise.
16202 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16203 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16204 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16205 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16206 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16207 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16208 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16209 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16210 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16211 (test-xfail-XPG4/termios.h/conform): Likewise.
16212 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16213 (test-xfail-XPG4/unistd.h/conform): Likewise.
16214 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16215 (test-xfail-POSIX/sched.h/conform): Likewise.
16216 (test-xfail-POSIX/signal.h/conform): Likewise.
16217 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16218 (test-xfail-POSIX/tar.h/conform): Likewise.
16219 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16220 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16221 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16222 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16223 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16224 (test-xfail-UNIX98/sched.h/conform): Likewise.
16225 (test-xfail-UNIX98/signal.h/conform): Likewise.
16226 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16227 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16228 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16229 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16230 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16231 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16232 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16233 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16234 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16235 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16236 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16237 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16238 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16239 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16240 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16241 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16242 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16243 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16244 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16245 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16246 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16247 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16248 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16249 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16250 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16251 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16252 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16253 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16254 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16255 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16256 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16257 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16258 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16259 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16260 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16261 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16262 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16263 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16264 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16265 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16266 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16267 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16268 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16269 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16270 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16271 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16272 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16273 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16274 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16275 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16276 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16277 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16278 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16279 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16280 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16281 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16282 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16283 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16284 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16285 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16286 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16287 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16288 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16289 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16290 (conformtest-cc-flags): Likewise.
16291 ($(conformtest-header-tests): New target.
16292 * conform/check-header-lists.sh: New file.
16293 * conform/run-conformtest.sh: Remove.
16294
a00f522a
JM
16295 * conform/conformtest.pl: Allow ' and \ in values given for
16296 constants.
16297 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16298 inclusion.
16299 [POSIX] (sys/types.h): Likewise.
16300 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16301 inclusion.
16302 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16303 inclusion.
16304 * conform/data/signal.h-data (SIGIO): Remove expectation.
16305 [XPG3] (SIGBUS): Do not expect.
16306 [POSIX || XPG3] (SIGPOLL): Likewise.
16307 [POSIX || XPG3] (SIGPROF): Likewise.
16308 [POSIX || XPG3] (SIGSYS): Likewise.
16309 [XPG3] (SIGTRAP): Likewise.
16310 [POSIX || XPG3] (SIGURG): Likewise.
16311 [POSIX || XPG3] (SIGVTALRM): Likewise.
16312 [POSIX || XPG3] (SIGXCPU): Likewise.
16313 [POSIX || XPG3] (SIGXFSZ): Likewise.
16314 [POSIX] (SA_SIGINFO): Expect.
16315 [XPG3] (siginfo_t): Do not expect type or contents.
16316 [POSIX] (si_pid): Do not expect element.
16317 [POSIX] (si_uid): Likewise.
16318 [POSIX] (si_addr): Likewise.
16319 [POSIX] (si_status): Likewise.
16320 [POSIX] (si_band): Likewise.
16321 [XPG4] (si_value): Likewise.
16322 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16323 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16324 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16325 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16326 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16327 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16328 [POSIX || XPG3] (ILL_COPROC): Likewise.
16329 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16330 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16331 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16332 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16333 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16334 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16335 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16336 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16337 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16338 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16339 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16340 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16341 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16342 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16343 [POSIX || XPG3] (CLD_EXITED): Likewise.
16344 [POSIX || XPG3] (CLD_KILLED): Likewise.
16345 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16346 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16347 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16348 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16349 [POSIX || XPG3] (POLL_IN): Likewise.
16350 [POSIX || XPG3] (POLL_OUT): Likewise.
16351 [POSIX || XPG3] (POLL_MSG): Likewise.
16352 [POSIX || XPG3] (POLL_ERR): Likewise.
16353 [POSIX || XPG3] (POLL_PRI): Likewise.
16354 [POSIX || XPG3] (POLL_HUP): Likewise.
16355 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16356 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16357 (SIG*): Do not allow.
16358 [XPG3] (si_*): Likewise.
16359 [XPG3] (SI_*): Likewise.
16360 [XPG3 || XPG4] (sigev_*): Likewise.
16361 [XPG3 || XPG4] (SIGEV_*): Likewise.
16362 [XPG3 || XPG4] (sival_*): Likewise.
16363 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16364 [POSIX || XPG3] (BUS_*): Likewise.
16365 [POSIX || XPG3] (CLD_*): Likewise.
16366 [POSIX || XPG3] (FPE_*): Likewise.
16367 [POSIX || XPG3] (ILL_*): Likewise.
16368 [POSIX || XPG3] (POLL_*): Likewise.
16369 [POSIX || XPG3] (SEGV_*): Likewise.
16370 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16371 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16372 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16373 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16374 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16375 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16376 Specify type and value.
16377 (TVERSLEN): Likewise.
16378 (REGTYPE): Likewise.
16379 (AREGTYPE): Likewise.
16380 (LNKTYPE): Likewise.
16381 (SYMTYPE): Likewise.
16382 (CHRTYPE): Likewise.
16383 (BLKTYPE): Likewise.
16384 (DIRTYPE): Likewise.
16385 (FIFOTYPE): Likewise.
16386 (CONTTYPE): Likewise.
16387 (TSUID): Likewise.
16388 (TSGID): Likewise.
16389 (TSVTX): Likewise.
16390 (TUREAD): Likewise.
16391 (TUWRITE): Likewise.
16392 (TUEXEC): Likewise.
16393 (TGREAD): Likewise.
16394 (TGWRITE): Likewise.
16395 (TGEXEC): Likewise.
16396 (TOREAD): Likewise.
16397 (TOWRITE): Likewise.
16398 (TOEXEC): Likewise.
16399 [POSIX] (TSVTX): Expect constant.
16400
aa97dee1
JM
164012014-03-06 Joseph Myers <joseph@codesourcery.com>
16402
f214606a
JM
16403 * Makefile (tests): Change dependencies to ....
16404 (tests-special): ... additions to this variable.
16405 (tests): Depend on $(tests-special).
16406 * Makerules (check-abi-list): New variable.
16407 (check-abi): Depend on $(check-abi-list).
16408 [$(subdir) = elf] (tests-special): Add
16409 $(objpfx)check-abi-libc.out.
16410 [$(build-shared) = yes && subdir] (tests-special): Add
16411 $(check-abi-list).
16412 [$(build-shared) = yes && subdir] (tests): Do not depend on
16413 check-abi.
16414 * Rules (tests): Depend on $(tests-special).
16415 (xtests): Depend on $(xtests-special).
16416 * catgets/Makefile (tests): Change dependencies to ....
16417 (tests-special): ... additions to this variable.
16418 * conform/Makefile (tests): Change dependencies to ....
16419 (tests-special): ... additions to this variable.
16420 * elf/Makefile (tests): Change dependencies to ....
16421 (tests-special): ... additions to this variable.
16422 * grp/Makefile (tests): Change dependencies to ....
16423 (tests-special): ... additions to this variable.
16424 * iconv/Makefile (xtests): Change dependencies to ....
16425 (xtests-special): ... additions to this variable.
16426 * iconvdata/Makefile (tests): Change dependencies to ....
16427 (tests-special): ... additions to this variable.
16428 * intl/Makefile (tests): Change dependencies to ....
16429 (tests-special): ... additions to this variable. Also add
16430 $(objpfx)tst-gettext.out.
16431 * io/Makefile (tests): Change dependencies to ....
16432 (tests-special): ... additions to this variable.
16433 * libio/Makefile (tests): Change dependencies to ....
16434 (tests-special): ... additions to this variable.
16435 * malloc/Makefile (tests): Change dependencies to ....
16436 (tests-special): ... additions to this variable.
16437 * misc/Makefile (tests): Change dependencies to ....
16438 (tests-special): ... additions to this variable.
16439 * nptl/Makefile (tests): Change dependencies to ....
16440 (tests-special): ... additions to this variable.
16441 * nptl_db/Makefile (tests): Change dependencies to ....
16442 (tests-special): ... additions to this variable.
16443 * posix/Makefile (tests): Change dependencies to ....
16444 (tests-special): ... additions to this variable.
16445 (xtests): Change dependencies to ....
16446 (xtests-special): ... additions to this variable.
16447 * resolv/Makefile (tests): Change dependencies to ....
16448 (tests-special): ... additions to this variable.
16449 (xtests): Change dependencies to ....
16450 (xtests-special): ... additions to this variable.
16451 * stdio-common/Makefile (tests): Change dependencies to ....
16452 (tests-special): ... additions to this variable.
16453 (do-tst-unbputc): Remove target.
16454 (do-tst-printf): Likewise.
16455 * stdlib/Makefile (tests): Change dependencies to ....
16456 (tests-special): ... additions to this variable.
16457 * string/Makefile (tests): Change dependencies to ....
16458 (tests-special): ... additions to this variable.
16459 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16460 (tests-special): ... additions to this variable.
16461
81700b53
JM
16462 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16463 whole file.
16464 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16465 whole file.
16466 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16467 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16468
2ea18461
JM
16469 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16470 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16471 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16472 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16473 * conform/data/libgen.h-data [XPG3]: Likewise.
16474 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16475 * conform/data/ndbm.h-data [XPG3]: Likewise.
16476 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16477 * conform/data/netdb.h-data [XPG3]: Likewise.
16478 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16479 * conform/data/poll.h-data [XPG3]: Likewise.
16480 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16481 * conform/data/strings.h-data [XPG3]: Likewise.
16482 * conform/data/stropts.h-data [XPG3]: Likewise.
16483 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16484 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16485 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16486 Likewise.
16487 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16488 * conform/data/sys/time.h-data [XPG3]: Likewise.
16489 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16490 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16491 * conform/data/sys/un.h-data [XPG3]: Likewise.
16492 * conform/data/syslog.h-data [XPG3]: Likewise.
16493 * conform/data/ucontext.h-data [XPG3]: Likewise.
16494 * conform/data/utmpx.h-data [XPG3]: Likewise.
16495 * conform/data/varargs.h-data [UNIX98]: Enable file.
16496
355bc986
JM
16497 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16498
215db402
JM
16499 * math/libm-test.inc (struct test_f_f_data): Move expected results
16500 into structure for each rounding mode.
16501 (struct test_ff_f_data): Likewise.
16502 (struct test_ff_f_data_nexttoward): Likewise.
16503 (struct test_fi_f_data): Likewise.
16504 (struct test_fl_f_data): Likewise.
16505 (struct test_if_f_data): Likewise.
16506 (struct test_fff_f_data): Likewise.
16507 (struct test_c_f_data): Likewise.
16508 (struct test_f_f1_data): Likewise.
16509 (struct test_fF_f1_data): Likewise.
16510 (struct test_ffI_f1_data): Likewise.
16511 (struct test_c_c_data): Likewise.
16512 (struct test_cc_c_data): Likewise.
16513 (struct test_f_i_data): Likewise.
16514 (struct test_ff_i_data): Likewise.
16515 (struct test_f_l_data): Likewise.
16516 (struct test_f_L_data): Likewise.
16517 (struct test_fFF_11_data): Likewise.
16518 (RM_): New macro.
16519 (RM_FE_DOWNWARD): Likewise.
16520 (RM_FE_TONEAREST): Likewise.
16521 (RM_FE_TOWARDZERO): Likewise.
16522 (RM_FE_UPWARD): Likewise.
16523 (RUN_TEST_LOOP_f_f): Update references to expected results.
16524 (RUN_TEST_LOOP_2_f): Likewise.
16525 (RUN_TEST_LOOP_fff_f): Likewise.
16526 (RUN_TEST_LOOP_c_f): Likewise.
16527 (RUN_TEST_LOOP_f_f1): Likewise.
16528 (RUN_TEST_LOOP_fF_f1): Likewise.
16529 (RUN_TEST_LOOP_fI_f1): Likewise.
16530 (RUN_TEST_LOOP_ffI_f1): Likewise.
16531 (RUN_TEST_LOOP_c_c): Likewise.
16532 (RUN_TEST_LOOP_cc_c): Likewise.
16533 (RUN_TEST_LOOP_f_i): Likewise.
16534 (RUN_TEST_LOOP_f_i_tg): Likewise.
16535 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16536 (RUN_TEST_LOOP_f_b): Likewise.
16537 (RUN_TEST_LOOP_f_b_tg): Likewise.
16538 (RUN_TEST_LOOP_f_l): Likewise.
16539 (RUN_TEST_LOOP_f_L): Likewise.
16540 (RUN_TEST_LOOP_fFF_11): Likewise.
16541 * math/gen-libm-test.pl (parse_args): Output four copies of
16542 expected results for each test.
16543
67737b8f
JM
16544 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16545 (__ASSUME_UTIMES): Remove.
16546 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16547 (__ASSUME_UTIMES): Likewise.
16548
aa97dee1
JM
16549 * math/gen-auto-libm-tests.c: Update comment on output format.
16550 (output_for_one_input_case): Generate before-rounding and
16551 after-rounding information as conditions on output flags not
16552 floating-point format.
16553 * math/auto-libm-test-out: Regenerated.
16554 * math/gen-libm-test.pl (cond_value): New function.
16555 (or_cond_value): Use cond_value.
16556 (generate_testfile): Handle conditional exceptions.
16557
e6b6a857
JM
165582014-03-05 Joseph Myers <joseph@codesourcery.com>
16559
2f0a0f44
JM
16560 * math/libm-test.inc (max_valid_error): New variable.
16561 (init_max_error): Take new argument specifying whether function
16562 results are exactly determined. Set max_valid_error and bound
16563 other variables for errors based on this argument.
16564 (set_max_error): Do not record results above max_valid_error.
16565 (check_float_internal): Only accept errors of up to 0.5ulps if
16566 also at most max_valid_error.
16567 (START): Take new argument EXACT and pass it to init_max_error.
16568 (acos_test): Update call to START.
16569 (acos_test_tonearest): Likewise.
16570 (acos_test_towardzero): Likewise.
16571 (acos_test_downward): Likewise.
16572 (acos_test_upward): Likewise.
16573 (acosh_test): Likewise.
16574 (asin_test): Likewise.
16575 (asin_test_tonearest): Likewise.
16576 (asin_test_towardzero): Likewise.
16577 (asin_test_downward): Likewise.
16578 (asin_test_upward): Likewise.
16579 (asinh_test): Likewise.
16580 (atan_test): Likewise.
16581 (atanh_test): Likewise.
16582 (atan2_test): Likewise.
16583 (cabs_test): Likewise.
16584 (cacos_test): Likewise.
16585 (cacosh_test): Likewise.
16586 (carg_test): Likewise.
16587 (casin_test): Likewise.
16588 (casinh_test): Likewise.
16589 (catan_test): Likewise.
16590 (catanh_test): Likewise.
16591 (cbrt_test): Likewise.
16592 (ccos_test): Likewise.
16593 (ccosh_test): Likewise.
16594 (ceil_test): Likewise.
16595 (cexp_test): Likewise.
16596 (cimag_test): Likewise.
16597 (clog_test): Likewise.
16598 (clog10_test): Likewise.
16599 (conj_test): Likewise.
16600 (copysign_test): Likewise.
16601 (cos_test): Likewise.
16602 (cos_test_tonearest): Likewise.
16603 (cos_test_towardzero): Likewise.
16604 (cos_test_downward): Likewise.
16605 (cos_test_upward): Likewise.
16606 (cosh_test): Likewise.
16607 (cosh_test_tonearest): Likewise.
16608 (cosh_test_towardzero): Likewise.
16609 (cosh_test_downward): Likewise.
16610 (cosh_test_upward): Likewise.
16611 (cpow_test): Likewise.
16612 (cproj_test): Likewise.
16613 (creal_test): Likewise.
16614 (csin_test): Likewise.
16615 (csinh_test): Likewise.
16616 (csqrt_test): Likewise.
16617 (ctan_test): Likewise.
16618 (ctan_test_tonearest): Likewise.
16619 (ctan_test_towardzero): Likewise.
16620 (ctan_test_downward): Likewise.
16621 (ctan_test_upward): Likewise.
16622 (ctanh_test): Likewise.
16623 (ctanh_test_tonearest): Likewise.
16624 (ctanh_test_towardzero): Likewise.
16625 (ctanh_test_downward): Likewise.
16626 (ctanh_test_upward): Likewise.
16627 (erf_test): Likewise.
16628 (erfc_test): Likewise.
16629 (exp_test): Likewise.
16630 (exp_test_tonearest): Likewise.
16631 (exp_test_towardzero): Likewise.
16632 (exp_test_downward): Likewise.
16633 (exp_test_upward): Likewise.
16634 (exp10_test): Likewise.
16635 (exp10_test_tonearest): Likewise.
16636 (exp10_test_towardzero): Likewise.
16637 (exp10_test_downward): Likewise.
16638 (exp10_test_upward): Likewise.
16639 (pow10_test): Likewise.
16640 (exp2_test): Likewise.
16641 (expm1_test): Likewise.
16642 (expm1_test_tonearest): Likewise.
16643 (expm1_test_towardzero): Likewise.
16644 (expm1_test_downward): Likewise.
16645 (expm1_test_upward): Likewise.
16646 (fabs_test): Likewise.
16647 (fdim_test): Likewise.
16648 (floor_test): Likewise.
16649 (fma_test): Likewise.
16650 (fma_test_towardzero): Likewise.
16651 (fma_test_downward): Likewise.
16652 (fma_test_upward): Likewise.
16653 (fmax_test): Likewise.
16654 (fmin_test): Likewise.
16655 (fmod_test): Likewise.
16656 (fpclassify_test): Likewise.
16657 (frexp_test): Likewise.
16658 (hypot_test): Likewise.
16659 (ilogb_test): Likewise.
16660 (isfinite_test): Likewise.
16661 (finite_test): Likewise.
16662 (isgreater_test): Likewise.
16663 (isgreaterequal_test): Likewise.
16664 (isinf_test): Likewise.
16665 (isless_test): Likewise.
16666 (islessequal_test): Likewise.
16667 (islessgreater_test): Likewise.
16668 (isnan_test): Likewise.
16669 (isnormal_test): Likewise.
16670 (issignaling_test): Likewise.
16671 (isunordered_test): Likewise.
16672 (j0_test): Likewise.
16673 (j1_test): Likewise.
16674 (jn_test): Likewise.
16675 (ldexp_test): Likewise.
16676 (lgamma_test): Likewise.
16677 (gamma_test): Likewise.
16678 (lrint_test): Likewise.
16679 (lrint_test_tonearest): Likewise.
16680 (lrint_test_towardzero): Likewise.
16681 (lrint_test_downward): Likewise.
16682 (lrint_test_upward): Likewise.
16683 (llrint_test): Likewise.
16684 (llrint_test_tonearest): Likewise.
16685 (llrint_test_towardzero): Likewise.
16686 (llrint_test_downward): Likewise.
16687 (llrint_test_upward): Likewise.
16688 (log_test): Likewise.
16689 (log10_test): Likewise.
16690 (log1p_test): Likewise.
16691 (log2_test): Likewise.
16692 (logb_test): Likewise.
16693 (logb_test_downward): Likewise.
16694 (lround_test): Likewise.
16695 (llround_test): Likewise.
16696 (modf_test): Likewise.
16697 (nearbyint_test): Likewise.
16698 (nextafter_test): Likewise.
16699 (nexttoward_test): Likewise.
16700 (pow_test): Likewise.
16701 (pow_test_tonearest): Likewise.
16702 (pow_test_towardzero): Likewise.
16703 (pow_test_downward): Likewise.
16704 (pow_test_upward): Likewise.
16705 (remainder_test): Likewise.
16706 (drem_test): Likewise.
16707 (remainder_test_tonearest): Likewise.
16708 (drem_test_tonearest): Likewise.
16709 (remainder_test_towardzero): Likewise.
16710 (drem_test_towardzero): Likewise.
16711 (remainder_test_downward): Likewise.
16712 (drem_test_downward): Likewise.
16713 (remainder_test_upward): Likewise.
16714 (drem_test_upward): Likewise.
16715 (remquo_test): Likewise.
16716 (rint_test): Likewise.
16717 (rint_test_tonearest): Likewise.
16718 (rint_test_towardzero): Likewise.
16719 (rint_test_downward): Likewise.
16720 (rint_test_upward): Likewise.
16721 (round_test): Likewise.
16722 (scalb_test): Likewise.
16723 (scalbn_test): Likewise.
16724 (scalbln_test): Likewise.
16725 (signbit_test): Likewise.
16726 (sin_test): Likewise.
16727 (sin_test_tonearest): Likewise.
16728 (sin_test_towardzero): Likewise.
16729 (sin_test_downward): Likewise.
16730 (sin_test_upward): Likewise.
16731 (sincos_test): Likewise.
16732 (sinh_test): Likewise.
16733 (sinh_test_tonearest): Likewise.
16734 (sinh_test_towardzero): Likewise.
16735 (sinh_test_downward): Likewise.
16736 (sinh_test_upward): Likewise.
16737 (sqrt_test): Likewise.
16738 (sqrt_test_tonearest): Likewise.
16739 (sqrt_test_towardzero): Likewise.
16740 (sqrt_test_downward): Likewise.
16741 (sqrt_test_upward): Likewise.
16742 (tan_test): Likewise.
16743 (tan_test_tonearest): Likewise.
16744 (tan_test_towardzero): Likewise.
16745 (tan_test_downward): Likewise.
16746 (tan_test_upward): Likewise.
16747 (tanh_test): Likewise.
16748 (tgamma_test): Likewise.
16749 (trunc_test): Likewise.
16750 (y0_test): Likewise.
16751 (y1_test): Likewise.
16752 (yn_test): Likewise.
16753 (significand_test): Likewise.
16754
e6b6a857
JM
16755 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16756 individual tests in comment.
16757 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16758 (prev_max_error): New variable.
16759 (prev_real_max_error): Likewise.
16760 (prev_imag_max_error): Likewise.
16761 (compare_ulp_data): Don't refer to test names in comment.
16762 (find_test_ulps): Remove function.
16763 (find_function_ulps): Likewise.
16764 (find_complex_function_ulps): Likewise.
16765 (init_max_error): Take function name as argument. Look up ulps
16766 for that function.
16767 (print_ulps): Remove function.
16768 (print_max_error): Use prev_max_error instead of calling
16769 find_function_ulps.
16770 (print_complex_max_error): Use prev_real_max_error and
16771 prev_imag_max_error instead of calling find_complex_function_ulps.
16772 (check_float_internal): Take max_ulp parameter instead of calling
16773 find_test_ulps. Don't call print_ulps.
16774 (check_float): Update call to check_float_internal.
16775 (check_complex): Update calls to check_float_internal.
16776 (START): Pass argument to init_max_error.
16777 * math/gen-libm-test.pl (%results): Don't include "kind"
16778 information.
16779 (parse_ulps): Don't handle ulps of individual tests.
16780 (print_ulps_file): Likewise.
16781 (output_ulps): Likewise.
16782 * math/README.libm-test: Update.
16783 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16784 individual tests.
16785 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16786 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16787 * sysdeps/arm/libm-test-ulps: Likewise.
16788 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16789 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16790 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16791 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16792 * sysdeps/microblaze/libm-test-ulps: Likewise.
16793 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16794 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16795 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16796 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16797 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16798 * sysdeps/sh/libm-test-ulps: Likewise.
16799 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16800 * sysdeps/tile/libm-test-ulps: Likewise.
16801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16802
45adef3c
JM
168032014-03-04 Joseph Myers <joseph@codesourcery.com>
16804
16805 * math/libm-test.inc (print_complex_max_error): Check separately
16806 whether real and imaginary errors are within allowed range and
16807 pass 0 to print_complex_function_ulps instead of value within
16808 allowed range.
16809
000232b9
SP
168102014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16811
d4b17258
SP
16812 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16813 formatting.
16814 (get_handles_fopen): Likewise.
16815 (do_write_test): Likewise.
16816
091eff71
SP
16817 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16818
fa3cd248
SP
16819 * libio/fileops.c (do_ftell): Use cached offset when
16820 available.
16821 * libio/iofwide.c (do_ftell_wide): Likewise.
16822 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16823 _IO_file_attach.
16824 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16825
000232b9
SP
16826 [BZ #16532]
16827 * libio/libioP.h (get_file_offset): New function.
16828 * libio/fileops.c (get_file_offset): Likewise.
16829 (do_ftell): Likewise.
16830 (_IO_new_file_seekoff): Split out ftell logic.
16831 * libio/wfileops.c (do_ftell_wide): Likewise.
16832 (_IO_wfile_seekoff): Split out ftell logic.
16833 * libio/tst-ftell-active-handler.c: New test case.
16834 * libio/Makefile (tests): Add it.
16835
116f4d1a
RM
168362014-03-03 Roland McGrath <roland@hack.frob.com>
16837
16838 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16839 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16840
532a6035
SP
168412014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16842
16843 [BZ #16639]
16844 * nscd/connections.c (nscd_init): Call do_exit.
16845 (start_threads): Call do_exit and notify_parent.
16846 (begin_drop_privileges): Call do_exit.
16847 (finish_drop_privileges): Likewise.
16848 * nscd/selinux.c (preserve_capabilities): Likewise.
16849 (install_real_capabilities): Likewise.
16850 (nscd_selinux_enabled): Likewise.
16851 (avc_create_thread): Likewise.
16852 (avc_alloc_lock): Likewise.
16853 (nscd_avc_init): Likewise.
16854 * nscd/nscd.c (parent_fd): New static variable.
16855 (main): Create a pipe between parent and child processes.
16856 Skip closing parent_fd.
16857 (monitor_child): New function.
16858 (do_exit): Likewise.
16859 (notify_parent): Likewise.
16860 * nscd/nscd.h (notify_parent): Likewise.
16861 (do_exit): Likewise.
16862
d6285c9f
CD
168632014-03-03 Carlos O'Donell <carlos@redhat.com>
16864
16865 * malloc/malloc.c (__libc_calloc): Revert last change.
16866
2b85d2a0
AZ
168672014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16868
16869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16870
c7debbdf
RS
168712014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16872
16873 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16875 implementation.
16876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16877 (__libc_ifunc_impl_list): Likewise.
16878 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16879 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16880 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16881 * string/strrchr.c: Define STRRCHR.
16882
235eed86
OB
168832014-02-28 Ondřej Bílka <neleai@seznam.cz>
16884
16885 * benchtest/bench-strtok.c (simple_strtok): Delete.
16886 (strtok_string): Use as benchmark.
16887 * string/strtok (STRTOK): New macro.
16888
8e25d1e7
CD
168892014-02-28 Carlos O'Donell <carlos@redhat.com>
16890
ef563f92
CD
16891 * manual/threads.texi: Add header and standard comments to all
16892 functions.
16893
8e25d1e7
CD
16894 * elf/dl-lookup.c (check_match): New function.
16895 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16896 (do_lookup_x): Remove nested function check_match. Use non-nested
16897 function check_match.
16898
ff71cc37
RM
168992014-02-28 Roland McGrath <roland@hack.frob.com>
16900
f08e9a26
RM
16901 * csu/Makefile (generated, before-compile): Use += rather than =.
16902 * catgets/Makefile (generated, generated-dirs): Likewise.
16903 * debug/Makefile (generated): Likewise.
16904 * dlfcn/Makefile (generated): Likewise.
16905 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16906 * iconvdata/Makefile (before-compile, generated): Likewise.
16907 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16908 * libio/Makefile (generated): Likewise.
16909 * malloc/Makefile (generated): Likewise.
16910 * manual/Makefile (generated, generated-dirs): Likewise.
16911 * misc/Makefile (generated): Likewise.
16912 * posix/Makefile (generated): Likewise.
16913 * resolv/Makefile (generated): Likewise.
16914 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16915 * timezone/Makefile (generated, generated-dirs): Likewise.
16916
ff71cc37
RM
16917 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16918
fe13a20c
AZ
169192014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16920
57f41c40
AS
16921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16922 power8 implementation.
16923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16924 file: POWER8 llround ifunc implementation.
16925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16926 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16927 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16928 POWER8 llround implementation.
16929
57f41c40
AS
16930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16931 power8 implementation.
16932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16933 file: POWER8 llrint ifunc implementation.
16934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16935 Add POWER8 implementation.
1ad8950a
AZ
16936 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16937 POWER8 llrint implementation.
16938
57f41c40
AS
16939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16940 power8 implementation.
16941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16942 file: POWER8 finite ifunc implementation.
16943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16944 Add POWER8 implementation.
cac626d6
AZ
16945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16946 Likewise.
16947 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16948 POWER8 finite implementation.
16949 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16950
57f41c40
AS
16951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16952 power8 implementation.
16953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16954 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16956 POWER8 implementation.
16957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16958 Likewise.
57f41c40
AS
16959 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16960 isinf implementation.
4393fc11
AZ
16961 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16962
57f41c40
AS
16963 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16964 (INIT_ARCH): Add hwcap2 initialization.
16965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16966 power8 implementation.
16967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16968 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16970 POWER8 implementation.
16971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16972 Likewise.
57f41c40
AS
16973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16974 isnan implementation.
487972ae
AZ
16975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16976
7d92b787
JY
169772014-02-27 Joey Ye <joey.ye@arm.com>
16978
16979 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16980 (_FP_NANFRAC_Q): Set to zero.
16981
1cadc858
SP
169822014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16983
16984 [BZ #16623]
16985 * math/auto-libm-test-in: New test inputs.
16986 * math/auto-libm-test-out: Regenerate.
16987 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16988 and DA.
16989 (__cos): Likewise.
16990 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16991
f8c17e79
JM
169922014-02-27 Joseph Myers <joseph@codesourcery.com>
16993
16994 * scripts/evaluate-test.sh: Take new argument indicating whether
16995 failure is expected.
16996 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16997 indicating whether failure is expected.
16998 * conform/Makefile (test-xfail-run-conformtest): New variable.
16999 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17000 level.
17001 * posix/Makefile (test-xfail-annexc): New variable.
17002 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17003
a5f891ac
JM
170042014-02-26 Joseph Myers <joseph@codesourcery.com>
17005
17006 * argp/Makefile: Include Makeconfig immediately after defining
17007 subdir.
17008 * assert/Makefile: Likewise.
17009 * benchtests/Makefile: Likewise.
17010 * catgets/Makefile: Likewise.
17011 * conform/Makefile: Likewise.
17012 * crypt/Makefile: Likewise.
17013 * csu/Makefile: Likewise.
17014 (all): Remove target.
17015 * ctype/Makefile: Include Makeconfig immediately after defining
17016 subdir.
17017 * debug/Makefile: Likewise.
17018 * dirent/Makefile: Likewise.
17019 * dlfcn/Makefile: Likewise.
17020 * gmon/Makefile: Likewise.
17021 * gnulib/Makefile: Likewise.
17022 * grp/Makefile: Likewise.
17023 * gshadow/Makefile: Likewise.
17024 * hesiod/Makefile: Likewise.
17025 * hurd/Makefile: Likewise.
17026 (all): Remove target.
17027 * iconvdata/Makefile: Include Makeconfig immediately after
17028 defining subdir.
17029 * inet/Makefile: Likewise.
17030 * intl/Makefile: Likewise.
17031 * io/Makefile: Likewise.
17032 * libio/Makefile: Likewise.
17033 (all): Remove target.
17034 * locale/Makefile: Include Makeconfig immediately after defining
17035 subdir.
17036 * login/Makefile: Likewise.
17037 * mach/Makefile: Likewise.
17038 (all): Remove target.
17039 * malloc/Makefile: Include Makeconfig immediately after defining
17040 subdir.
17041 (all): Remove target.
17042 * manual/Makefile: Include Makeconfig immediately after defining
17043 subdir.
17044 * math/Makefile: Likewise.
17045 * misc/Makefile: Likewise.
17046 * nis/Makefile: Likewise.
17047 * nss/Makefile: Likewise.
17048 * po/Makefile: Likewise.
17049 (all): Remove target.
17050 * posix/Makefile: Include Makeconfig immediately after defining
17051 subdir.
17052 * pwd/Makefile: Likewise.
17053 * resolv/Makefile: Likewise.
17054 * resource/Makefile: Likewise.
17055 * rt/Makefile: Likewise.
17056 * setjmp/Makefile: Likewise.
17057 * shadow/Makefile: Likewise.
17058 * signal/Makefile: Likewise.
17059 * socket/Makefile: Likewise.
17060 * soft-fp/Makefile: Likewise.
17061 * stdio-common/Makefile: Likewise.
17062 * stdlib/Makefile: Likewise.
17063 * streams/Makefile: Likewise.
17064 * string/Makefile: Likewise.
17065 * sunrpc/Makefile: Likewise.
17066 (all): Remove target.
17067 * sysvipc/Makefile: Include Makeconfig immediately after defining
17068 subdir.
17069 * termios/Makefile: Likewise.
17070 * time/Makefile: Likewise.
17071 * timezone/Makefile: Likewise.
17072 (all): Remove target.
17073 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17074 subdir.
17075 * wctype/Makefile: Likewise.
17076
5b456e9d
SE
170772014-02-26 Steve Ellcey <sellcey@mips.com>
17078
17079 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17080 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17081 (libc_feholdexcept_setround_mips): Ditto.
17082 (libc_feholdsetround): New.
17083 (libc_feholdsetroundf): New.
17084 (libc_feholdsetroundl): New.
17085 (libc_feupdateenv_test_mips): New.
17086 (libc_feupdateenv_test): New.
17087 (libc_feupdateenv_testf): New.
17088 (libc_feupdateenv_testl): New.
17089 (libc_feresetround): New.
17090 (libc_feresetroundf): New.
17091 (libc_feresetroundl): New.
17092 (libc_fetestexcept_mips): New.
17093 (libc_fetestexcept): New.
17094 (libc_fetestexceptf): New.
17095 (libc_fetestexceptl): New.
17096 (HAVE_RM_CTX): New.
17097 (libc_feholdexcept_setround_mips_ctx): New.
17098 (libc_feholdexcept_setround_ctx): New.
17099 (libc_feholdexcept_setroundf_ctx): New.
17100 (libc_feholdexcept_setroundl_ctx): New.
17101 (libc_fesetenv_mips_ctx): New.
17102 (libc_fesetenv_ctx): New.
17103 (libc_fesetenv_ctxf): New.
17104 (libc_fesetenv_ctxl): New.
17105 (libc_feupdateenv_mips_ctx): New.
17106 (libc_feupdateenv_ctx): New.
17107 (libc_feupdateenvf_ctx): New.
17108 (libc_feupdateenvl_ctx): New.
17109 (libc_feholdsetround_mips_ctx): New.
17110 (libc_feholdsetround_ctx): New.
17111 (libc_feholdsetroundf_ctx): New.
17112 (libc_feholdsetroundl_ctx): New.
17113 (libc_feresetround_mips_ctx): New.
17114 (libc_feresetround_ctx): New.
17115 (libc_feresetroundf_ctx): New.
17116 (libc_feresetroundl_ctx): New.
17117
085d0e35
CD
171182014-02-26 Carlos O'Donell <carlos@redhat.com>
17119
f067bf1f
CD
17120 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17121
085d0e35
CD
17122 * manual/ipc.texi: New file.
17123 * manual/Makefile (chapters): Add ipc.
17124 * manual/job.texi: Add "Inter-Process Communication" to next.
17125 * manual/process.texi: Add "Inter-Process Communication" to prev.
17126
86e58c08
AZ
171272014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17128
17129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17130
4248f0da
OB
171312014-02-26 Ondřej Bílka <neleai@seznam.cz>
17132
17133 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17134
cf822e3c
OB
17135 * manual/arith.texi: Fix spaces after sentences.
17136 * manual/charset.texi: Likewise.
17137 * manual/errno.texi: Likewise.
17138 * manual/install.texi: Likewise.
17139 * manual/llio.texi: Likewise.
17140 * manual/locale.texi: Likewise.
17141 * manual/maint.texi: Likewise.
17142 * manual/math.texi: Likewise.
17143 * manual/memory.texi: Likewise.
17144 * manual/message.texi: Likewise.
17145 * manual/probes.texi: Likewise.
17146 * manual/resource.texi: Likewise.
17147 * manual/signal.texi: Likewise.
17148 * manual/socket.texi: Likewise.
17149 * manual/stdio.texi: Likewise.
17150 * manual/string.texi: Likewise.
17151 * manual/time.texi: Likewise.
17152 * manual/users.texi: Likewise.
17153
ade40b10
CD
171542014-02-25 Carlos O'Donell <carlos@redhat.com>
17155
17156 [BZ #16632]
17157 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17158 _DEFAULT_SOURCE is defined.
17159
d0503676
CD
171602014-02-25 Ulrich Drepper <drepper@gmail.com>
17161 Carlos O'Donell <carlos@redhat.com>
17162
17163 [BZ #16613]
17164 * elf/dl-tls.c (_dl_count_modids): New function.
17165 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17166 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17167 audit library and increment generation counter.
17168 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17169 * elf/tst-audit9.c: New file.
17170 * elf/tst-auditmod9a.c: New file.
17171 * elf/tst-auditmod9b.c: New file.
17172 * elf/Makefile: Add rules to build and run tst-audit9.
17173
4cbf380c
FW
171742014-02-25 Florian Weimer <fweimer@redhat.com>
17175
17176 [BZ #15347]
17177 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17178
80a56cc3
WN
171792014-02-25 Will Newton <will.newton@linaro.org>
17180
17181 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17182 (__longjmp): Restore sp and lr before restoring callee
17183 saved registers. Add longjmp and longjmp_target
17184 SystemTap probe point.
17185 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17186 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17187 Define to zero to match jmpbuf layout.
17188 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17189 (__sigsetjmp): Save sp and lr before saving callee
17190 saved registers. Add setjmp SystemTap probe point.
17191
3ea0f74e
SL
171922014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17193
17194 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17195
b04acb26
AS
171962014-02-24 Andreas Schwab <schwab@suse.de>
17197
17198 [BZ #15804]
17199 * elf/pldd.c (wait_for_ptrace_stop): New function.
17200 (main): Call it after attaching.
17201
098ad55c
RM
172022014-02-22 Roland McGrath <roland@hack.frob.com>
17203
d4ec6ae1
RM
17204 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17205 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17206 Versions files is now verboten.
17207 * hurd/Versions (libc: GLIBC_2.0):
17208 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17209 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17210 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17211 * mach/Versions: Likewise.
17212
098ad55c
RM
17213 * csu/Versions: Remove unused %include.
17214 * resolv/Versions: Likewise.
17215
acd7f096
JM
172162014-02-21 Joseph Myers <joseph@codesourcery.com>
17217
f0881698
JM
17218 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17219 ($(objpfx)check-local-headers.out): Likewise.
17220 ($(objpfx)begin-end-check.out): Likewise.
17221 * Makerules (check-abi-%.out): Likewise.
17222 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17223 ($(objpfx)test2.cat): Likewise.
17224 ($(objpfx)de/libc.cat): Likewise.
17225 ($(objpfx)test-gencat.out): Likewise.
17226 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17227 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17228 ($(objpfx)noload-mem): Likewise.
17229 ($(objpfx)tst-pathopt.out): Likewise.
17230 ($(objpfx)tst-rtld-load-self.out): Likewise.
17231 ($(objpfx)tst-array1-cmp.out): Likewise.
17232 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17233 ($(objpfx)tst-array2-cmp.out): Likewise.
17234 ($(objpfx)tst-array3-cmp.out): Likewise.
17235 ($(objpfx)tst-array4-cmp.out): Likewise.
17236 ($(objpfx)tst-array5-cmp.out): Likewise.
17237 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17238 ($(objpfx)check-textrel.out): Likewise.
17239 ($(objpfx)check-execstack.out): Likewise.
17240 ($(objpfx)check-localplt.out): Likewise.
17241 ($(objpfx)order2-cmp.out): Likewise.
17242 ($(objpfx)tst-leaks1-mem): Likewise.
17243 ($(objpfx)tst-leaks1-static-mem): Likewise.
17244 ($(objpfx)tst-initorder-cmp.out): Likewise.
17245 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17246 ($(objpfx)tst-unused-dep.out): Likewise.
17247 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17248 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17249 * iconv/Makefile (test-iconvconfig): Likewise.
17250 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17251 ($(objpfx)iconv-test.out): Likewise.
17252 ($(objpfx)tst-tables.out): Likewise.
17253 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17254 ($(objpfx)tst-gettext.out): Likewise.
17255 ($(objpfx)tst-translit.out): Likewise.
17256 ($(objpfx)tst-gettext2.out): Likewise.
17257 ($(objpfx)tst-gettext4.out): Likewise.
17258 ($(objpfx)tst-gettext6.out): Likewise.
17259 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17260 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17261 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17262 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17263 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17264 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17265 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17266 ($(objpfx)wordexp-tst.out): Likewise.
17267 ($(objpfx)annexc.out): Likewise.
17268 ($(objpfx)tst-fnmatch-mem): Likewise.
17269 ($(objpfx)bug-regex2-mem): Likewise.
17270 ($(objpfx)bug-regex14-mem): Likewise.
17271 ($(objpfx)bug-regex21-mem): Likewise.
17272 ($(objpfx)bug-regex31-mem): Likewise.
17273 ($(objpfx)tst-vfork3-mem): Likewise.
17274 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17275 ($(objpfx)tst-pcre-mem): Likewise.
17276 ($(objpfx)tst-boost-mem): Likewise.
17277 ($(objpfx)tst-getconf.out): Likewise.
17278 ($(objpfx)bug-ga2-mem): Likewise.
17279 ($(objpfx)bug-glob2-mem): Likewise.
17280 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17281 ($(objpfx)mtrace-tst-leaks2): Likewise.
17282 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17283 ($(objpfx)tst-printf.out): Likewise.
17284 ($(objpfx)tst-setvbuf1.out): Likewise.
17285 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17286 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17287 ($(objpfx)tst-fmtmsg.out): Likewise.
17288 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17289 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17290
acd7f096
JM
17291 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17292 * bits/sigaction.h [__USE_MISC]: Likewise.
17293 * bits/waitstatus.h: Update #endif comments.
17294 * ctype/ctype.h: Likewise.
17295 * dirent/dirent.h: Likewise.
17296 [__USE_MISC]: Remove redundant conditionals.
17297 * grp/grp.h: Update #endif comments.
17298 [__USE_GNU]: Remove redundant conditionals.
17299 [__USE_MISC]: Likewise.
17300 * inet/netinet/in.h [__USE_GNU]: Likewise.
17301 * io/sys/stat.h [__USE_MISC]: Likewise.
17302 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17303 * libio/bits/stdio.h: Update #endif comments.
17304 [__USE_MISC]: Remove redundant conditionals.
17305 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17306 * libio/stdio.h: Update #endif comments.
17307 [__USE_MISC]: Remove redundant conditionals.
17308 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17309 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17310 * math/math.h: Update #else and #endif comments.
17311 [__USE_MISC]: Remove redundant conditionals.
17312 * misc/sys/uio.h: Update #endif comments.
17313 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17314 * posix/glob.h [__USE_MISC]: Likewise.
17315 * posix/sys/types.h: Update #endif comments.
17316 [__USE_MISC]: Remove redundant conditionals.
17317 * posix/sys/wait.h: Update #endif comments.
17318 [__USE_MISC]: Remove redundant conditionals.
17319 * posix/unistd.h: Update #endif comments.
17320 [__USE_MISC]: Remove redundant conditionals.
17321 * pwd/pwd.h [__USE_GNU]: Likewise.
17322 [__USE_MISC]: Likewise.
17323 * resolv/netdb.h [__USE_GNU]: Likewise.
17324 * signal/signal.h: Update #endif comments.
17325 [__USE_MISC]: Remove redundant conditionals.
17326 * stdlib/stdlib.h: Update #else and #endif comments.
17327 [__USE_MISC]: Remove redundant conditionals.
17328 [__USE_GNU]: Likewise.
17329 * string/bits/string2.h [__USE_MISC]: Likewise.
17330 * string/string.h: Update #endif comments.
17331 [__USE_MISC]: Remove redundant conditionals.
17332 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17333 Likewise.
17334 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17335 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17336 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17337 Likewise.
17338 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17339 Likewise.
17340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17341 comments.
17342 [__USE_MISC]: Remove redundant conditionals.
17343 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17344 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17345 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17346 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17347 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17348 Likewise.
17349 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17350 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17351 Likewise.
17352 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17353 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17354 Likewise.
17355 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17356 Likewise.
17357 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17358 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17359 Likewise.
17360 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17361 Likewise.
17362 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17363 * sysdeps/x86/bits/string.h: Update #endif comments.
17364 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17365 conditionals.
17366 * time/sys/time.h: Update #endif comments.
17367 * time/time.h: Likewise.
17368 [__USE_MISC]: Remove redundant conditionals.
17369
a5d82e4e
YG
173702014-02-21 Yury Gribov <y.gribov@samsung.com>
17371
17372 [BZ #16600]
17373 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17374
9a80491d
AS
173752014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17376
17377 * Versions.def (librt): Add GLIBC_2.17.
17378
105fa381
AC
173792014-02-21 Adam Conrad <adconrad@0c3.net>
17380
17381 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17382 synonym for _SYS_AUXV_H to allow direct inclusion.
17383 * sysdeps/sparc/bits/hwcap.h: Likewise.
17384 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17385 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17386 * sysdeps/sparc/sysdep.h: Likewise.
17387
b8cd1c4e
SP
173882014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17389
17390 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17391
bd939d23
RS
173922014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17393
17394 * benchtests/bench-strrchr.c: Print length instead of position.
17395
5d7b57ca
JM
173962014-02-20 Joseph Myers <joseph@codesourcery.com>
17397
bc688c10
JM
17398 [BZ #16611]
17399 * sysdeps/unix/sysv/linux/kernel-features.h
17400 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17401 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17402 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17403 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17404 Likewise.
17405 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17406 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17407 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17408 (__ASSUME_SENDMMSG): Define instead of using previous
17409 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17410 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17411 (__ASSUME_SENDMMSG_SYSCALL): Define.
17412 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17413 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17414 Likewise.
17415 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17416 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17417 Likewise.
17418 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17419 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17420 Likewise.
17421 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17422 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17423 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17424 [__ASSUME_SENDMMSG]: Change conditionals to
17425 [__ASSUME_SENDMMSG_SOCKETCALL].
17426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17427 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17428 Define.
17429 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17430 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17431 Likewise.
17432 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17433 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17434 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17435 [!__ASSUME_SENDMMSG]: Change conditional to
17436 [!__ASSUME_SENDMMSG_SOCKETCALL].
17437 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17438 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17439 Define.
17440
0e31b18c
JM
17441 [BZ #16610]
17442 * sysdeps/unix/sysv/linux/kernel-features.h
17443 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17444 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17445 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17446 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17447 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17448 [__i386__ || __sparc__]
17449 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17450 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17451 (__ASSUME_RECVMMSG): Define instead of using previous
17452 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17453 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17454 (__ASSUME_RECVMMSG_SYSCALL): Define.
17455 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17456 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17457 Likewise.
17458 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17460 Likewise.
17461 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17462 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17463 Likewise.
17464 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17465 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17466 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17467 [__ASSUME_RECVMMSG]: Change condition to
17468 [__ASSUME_RECVMMSG_SOCKETCALL].
17469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17471 Define.
17472 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17473 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17474 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17475 Likewise.
17476 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17477 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17478 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17479 [!__ASSUME_RECVMMSG]: Change condition to
17480 [!__ASSUME_RECVMMSG_SOCKETCALL].
17481 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17482 (__ASSUME_RECVMMSG_SYSCALL): Define.
17483
dd481ccf
JM
17484 [BZ #16609]
17485 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17486 __powerpc__ || __s390__ || __sh__ || __sparc__]
17487 (__ASSUME_SOCKETCALL): Define.
17488 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17489 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17490 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17491 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17492 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17493 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17494 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17495 (__ASSUME_ACCEPT4): Define instead of using previous
17496 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17497 __powerpc__ || __sparc__ || __s390__)] condition.
17498 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17499 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17500 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17501 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17502 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17503 [!__ASSUME_ACCEPT4]: Change condition to
17504 [!__ASSUME_ACCEPT4_SOCKETCALL].
17505 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17506 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17507 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17508 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17509 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17510 __ASSUME_ACCEPT4_SYSCALL.
17511 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17512 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17513 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17514 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17515 __ASSUME_ACCEPT4_SYSCALL.
17516 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17517 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17518 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17519 [__ASSUME_ACCEPT4]: Change condition to
17520 [__ASSUME_ACCEPT4_SOCKETCALL].
17521 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17522 (__ASSUME_SOCKETCALL): Define.
17523 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17524 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17525 (__ASSUME_SOCKETCALL): Define.
17526 (__ASSUME_ACCEPT4): Remove.
17527 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17528 Define.
17529 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17530 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17531 Likewise.
17532 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17533 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17534
5d7b57ca
JM
17535 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17536 macro.
17537 (HWCAP_ARM_LPAE): Likewise.
17538 (HWCAP_ARM_EVTSTRM): Likewise.
17539 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17540 Add vpfd32, lpae and evtstrm.
17541 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17542 Increase to 22.
17543
63689d61
JM
175442014-02-19 Joseph Myers <joseph@codesourcery.com>
17545
17546 * math/auto-libm-test-in: Add tests of clog10.
17547 * math/auto-libm-test-out: Regenerated.
17548 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17549 * sysdeps/i386/fpu/libm-test-ulps: Update.
17550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17551
ab09bf61
AS
175522014-02-18 Andreas Schwab <schwab@suse.de>
17553
17554 [BZ #16574]
17555 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17556 Store non-zero if the second buffer was newly allocated.
17557 (send_dg): Likewise.
17558 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17559 to send_vc and send_dg.
17560 (res_nsend): Pass NULL for ansp2_malloced.
17561 * resolv/res_query.c (__libc_res_nquery): Add parameter
17562 answerp2_malloced and pass it down to __libc_res_nsend.
17563 (res_nquery): Pass additional NULL to __libc_res_nquery.
17564 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17565 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17566 second answer buffer if answerp2_malloced was set.
17567 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17568 (__libc_res_nquerydomain): Add parameter
17569 answerp2_malloced and pass it down to __libc_res_nquery.
17570 (res_nquerydomain): Pass additional NULL to
17571 __libc_res_nquerydomain.
17572 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17573 additional NULL to __libc_res_nsend and __libc_res_nquery.
17574 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17575 additional NULL to __libc_res_nsearch.
17576 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17577 parameter of __libc_res_nsearch to check for separately allocated
17578 second buffer.
17579 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17580 __libc_res_nquery.
17581 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17582 additional NULL to __libc_res_nquery.
17583 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17584 __libc_res_nsearch.
17585 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17586 * include/resolv.h: Update prototypes of __libc_res_nquery,
17587 __libc_res_nsearch, __libc_res_nsend.
17588
a4fb7861
JM
175892014-02-18 Joseph Myers <joseph@codesourcery.com>
17590
c6af2d89
JM
17591 * math/auto-libm-test-in: Add tests of fma.
17592 * math/auto-libm-test-out: Regenerated.
17593 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17594 (fma_towardzero_test_data): Likewise.
17595 (fma_downward_test_data): Likewise.
17596 (fma_upward_test_data): Likewise.
17597 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17598 mpc_mode.
17599 (rounding_modes): Add values for new field.
17600 (func_calc_method): Add value mpfr_fff_f.
17601 (func_calc_desc): Add mpfr_fff_f union field.
17602 (test_function): Add field exact_args.
17603 (FUNC): Add macro argument EXACT_ARGS.
17604 (FUNC_mpfr_f_f): Update call to FUNC.
17605 (FUNC_mpfr_f_f): Likewise.
17606 (FUNC_mpfr_ff_f): Likewise.
17607 (FUNC_mpfr_if_f): Likewise.
17608 (FUNC_mpc_c_f): Likewise.
17609 (FUNC_mpc_c_c): Likewise.
17610 (test_functions): Add fma. Update calls to FUNC.
17611 (handle_input_arg): Add argument exact_args.
17612 (add_test): Update call to handle_input_arg.
17613 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17614 (output_for_one_input_case): Update call to calc_generic_results.
17615 Recalculate exact zero results in each rounding mode.
17616
a4fb7861
JM
17617 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17618 non-negative before setting low bit.
17619 * math/auto-libm-test-in: Mark one asin test possibly having
17620 spurious underflow.
17621 * math/auto-libm-test-out: Regenerated.
17622 * sysdeps/i386/fpu/libm-test-ulps: Update.
17623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624
ef114eaf
DH
176252014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17626
2b7f4f2c
SP
17627 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17628 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17629 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17630 * README: Add missing listing for microblaze*-*-linux-gnu.
17631
8125aedc
AM
176322014-02-16 Ondřej Bílka <neleai@seznam.cz>
17633
17634 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17635 duplicate code
17636
c70a4b1d
MF
176372014-02-16 Mike Frysinger <vapier@gentoo.org>
17638
17639 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17640 * sysdeps/unix/sysv/linux/ia64: Move directory from
17641 ports/sysdeps/unix/sysv/linux/ia64.
17642 * README: Update listing for ia64-*-linux-gnu.
17643
591aeaf7
TD
176442014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17645 Joseph Myers <joseph@codesourcery.com>
17646
17647 * Makeconfig (test-name): New variable.
17648 (evaluate-test): Likewise.
17649 * Makerules (do-test-clean): Remove .test-result files.
17650 (common-mostlyclean): Likewise.
17651 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17652 * scripts/evaluate-test.sh: New file.
17653
6e89caf1
JM
176542014-02-14 Joseph Myers <joseph@codesourcery.com>
17655
7f98f180
JM
17656 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17657 separate $(objpfx)tst-fopenloc-cmp.out and
17658 $(objpfx)tst-fopenloc-mem.out targets.
17659 (tests): Update dependencies.
17660 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17661 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17662 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17663 (tst-rxspencer-no-utf8-ARGS): New variable.
17664 (tst-rxspencer-no-utf8-ENV): Likewise.
17665 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17666 instead of $(objpfx)tst-rxspencer-mem.
17667 ($(objpfx)tst-rxspencer-mem): Change target to
17668 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17669 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17670 * posix/tst-rxspencer-no-utf8.c: New file.
17671
6e89caf1
JM
17672 * elf/Makefile ($(objpfx)order.out): Remove rule.
17673 [$(run-built-tests) = yes] (tests): Depend on
17674 $(objpfx)order-cmp.out.
17675 ($(objpfx)order-cmp.out): New rule.
17676 [$(run-built-tests) = yes] (tests): Depend on
17677 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17678 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17679 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17680 $(objpfx)tst-array5-static-cmp.out.
17681 ($(objpfx)tst-array1.out): Remove rule.
17682 ($(objpfx)tst-array1-cmp.out): New rule.
17683 ($(objpfx)tst-array1-static.out): Remove rule.
17684 ($(objpfx)tst-array1-static-cmp.out): New rule.
17685 ($(objpfx)tst-array2.out): Remove rule.
17686 ($(objpfx)tst-array2-cmp.out): New rule.
17687 ($(objpfx)tst-array3.out): Remove rule.
17688 ($(objpfx)tst-array3-cmp.out): New rule.
17689 ($(objpfx)tst-array4.out): Remove rule.
17690 ($(objpfx)tst-array4-cmp.out): New rule.
17691 ($(objpfx)tst-array5.out): Remove rule.
17692 ($(objpfx)tst-array5-cmp.out): New rule.
17693 ($(objpfx)tst-array5-static.out): Remove rule.
17694 ($(objpfx)tst-array5-static-cmp.out): New rule.
17695 [$(run-built-tests) = yes] (tests): Depend on
17696 $(objpfx)order2-cmp.out.
17697 ($(objpfx)order2.out): Remove rule.
17698 ($(objpfx)order2-cmp.out): New rule.
17699 ($(objpfx)tst-initorder.out): Remove rule.
17700 [$(run-built-tests) = yes] (tests): Depend on
17701 $(objpfx)tst-initorder-cmp.out.
17702 ($(objpfx)tst-initorder-cmp.out): New rule.
17703 ($(objpfx)tst-initorder2.out): Remove rule.
17704 [$(run-built-tests) = yes] (tests): Depend on
17705 $(objpfx)tst-initorder2-cmp.out.
17706 ($(objpfx)tst-initorder2-cmp.out): New rule.
17707 [$(run-built-tests) = yes] (tests): Depend on
17708 $(objpfx)tst-unused-dep-cmp.out.
17709 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17710 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17711 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17712 on $(objpfx)tst-setvbuf1-cmp.out.
17713 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17714 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17715 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17716 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17717 ($(objpfx)tst-svc.out): Remove rule.
17718 ($(objpfx)tst-svc-cmp.out): New rule.
17719
ed9a38e2
JM
177202014-02-13 Joseph Myers <joseph@codesourcery.com>
17721
17722 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17723 * ctype/ctype.h [__USE_MISC]: Likewise.
17724 * dirent/dirent.h [__USE_MISC]: Likewise.
17725 * grp/grp.h [__USE_MISC]: Likewise.
17726 * io/fcntl.h [__USE_MISC]: Likewise.
17727 * io/sys/stat.h [__USE_MISC]: Likewise.
17728 * libio/stdio.h [__USE_MISC]: Likewise.
17729 * posix/unistd.h [__USE_MISC]: Likewise.
17730 * pwd/pwd.h [__USE_MISC]: Likewise.
17731 * stdlib.h [__USE_MISC]: Likewise.
17732 * string/bits/string2.h [__USE_MISC]: Likewise.
17733 * string/string.h [__USE_MISC]: Likewise.
17734 * time/time.h [__USE_MISC]: Likewise.
17735
d6680619
AS
177362014-02-13 Andreas Schwab <schwab@suse.de>
17737
17738 [BZ #16574]
17739 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17740 second answer buffer if it was separately allocated.
17741
ace614b8
JM
177422014-02-12 Joseph Myers <joseph@codesourcery.com>
17743
743151ae
JM
17744 * sysdeps/mips/math-tests.h: Include <features.h>.
17745 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17746 (ROUNDING_TESTS_long_double): Do not define.
17747 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17748 (EXCEPTION_TESTS_long_double): Likewise.
17749 * sysdeps/mips/mips64/libm-test-ulps: Update.
17750
498afc54
JM
17751 * include/features.h (__USE_BSD): Remove macro definitions.
17752 (__USE_SVID): Likewise.
17753 (_BSD_SOURCE): Likewise.
17754 (_SVID_SOURCE): Likewise.
17755 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17756 from definition of _DEFAULT_SOURCE.
17757 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17758 [_DEFAULT_SOURCE].
17759 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17760 * bits/mman.h [__USE_BSD]: Likewise.
17761 * bits/termios.h [__USE_BSD]: Likewise.
17762 * bits/waitstatus.h [__USE_BSD]: Likewise.
17763 * ctype/ctype.h [__USE_SVID]: Likewise.
17764 * dirent/dirent.h [__USE_BSD]: Likewise.
17765 * grp/grp.h [__USE_SVID]: Likewise.
17766 [__USE_BSD]: Likewise.
17767 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17768 * io/fcntl.h [__USE_BSD]: Likewise.
17769 * io/ftw.h [__USE_BSD]: Likewise.
17770 * io/sys/stat.h [__USE_BSD]: Likewise.
17771 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17772 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17773 * libio/stdio.h [__USE_SVID]: Likewise.
17774 [__USE_BSD]: Likewise.
17775 * math/math.h [__USE_SVID]: Likewise.
17776 [__USE_BSD]: Likewise.
17777 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17778 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17779 * misc/search.h [__USE_SVID]: Likewise.
17780 * misc/sys/mman.h [__USE_BSD]: Likewise.
17781 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17782 * misc/sys/uio.h [__USE_BSD]: Likewise.
17783 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17784 * posix/glob.h [__USE_BSD]: Likewise.
17785 * posix/regex.h [__USE_BSD]: Likewise.
17786 * posix/sys/types.h [__USE_BSD]: Likewise.
17787 [__USE_SVID]: Likewise.
17788 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17789 * posix/sys/wait.h [__USE_BSD]: Likewise.
17790 [__USE_SVID]: Likewise.
17791 * posix/unistd.h [__USE_BSD]: Likewise.
17792 [__USE_SVID]: Likewise.
17793 * pwd/pwd.h [__USE_SVID]: Likewise.
17794 * resolv/netdb.h [__USE_BSD]: Likewise.
17795 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17796 * signal/signal.h [__USE_BSD]: Likewise.
17797 [__USE_SVID]: Likewise.
17798 * socket/sys/socket.h [__USE_BSD]: Likewise.
17799 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17800 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17801 [__USE_SVID]: Likewise.
17802 * string/bits/string2.h [__USE_BSD]: Likewise.
17803 [__USE_SVID]: Likewise.
17804 * string/bits/string3.h [__USE_BSD]: Likewise.
17805 * string/endian.h [__USE_BSD]: Likewise.
17806 * string/string.h [__USE_SVID]: Likewise.
17807 [__USE_BSD]: Likewise.
17808 * string/strings.h [__USE_BSD]: Likewise.
17809 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17810 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17811 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17812 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17813 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17814 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17815 Likewise.
17816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17817 Likewise.
17818 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17820 Likewise.
17821 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17822 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17823 Likewise.
17824 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17825 Likewise.
17826 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17827 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17828 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17829 Likewise.
17830 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17831 Likewise.
17832 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17833 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17834 * termios/termios.h [__USE_BSD]: Likewise.
17835 * time/sys/time.h [__USE_BSD]: Likewise.
17836 * time/time.h [__USE_BSD]: Likewise.
17837 [__USE_SVID]: Likewise.
17838
dd7b064c
JM
17839 * Makefile (subdir_targets): Remove subdir_lint.out.
17840
a2c4c199
JM
17841 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17842 (do-tst-printf): Likewise.
17843 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17844 $(objpfx)tst-printf.out.
17845
8756f740
JM
17846 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17847
1b6dd3f1
JM
17848 * Makerules (check-abi-%): Change target to
17849 $(objpfx)check-abi-%.out.
17850 (check-abi target): Update dependencies.
17851 (check-abi-pattern variable): Redirect output of diff to $@.
17852 (check-abi variable): Likewise.
17853 * elf/Makefile (check-abi): Update dependencies.
17854
ace614b8
JM
17855 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17856 unused.
17857 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17858 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17859 subnormal range.
17860 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17861 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17862 value has largest subnormal exponent.
17863 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17864 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17865 * sysdeps/aarch64/soft-fp/sfp-machine.h
17866 (_FP_TININESS_AFTER_ROUNDING): New macro.
17867 * sysdeps/alpha/soft-fp/sfp-machine.h
17868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17869 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17870 Likewise.
17871 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17873 * sysdeps/mips/soft-fp/sfp-machine.h
17874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17875 * sysdeps/powerpc/soft-fp/sfp-machine.h
17876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17877 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17878 Likewise.
17879 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17880 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17881 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17882 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17883 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17884 Likewise.
17885
fbfdf9cb
DAS
178862014-02-12 Dylan Alex Simon <dylan@dylex.net>
17887
17888 [BZ #16545]
17889 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17890 model 1.
17891
68b7efaa
RH
178922014-02-12 Richard Henderson <rth@redhat.com>
17893
c70a4b1d 17894 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17895 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17896 * sysdeps/unix/sysv/linux/alpha: Move directory from
17897 ports/sysdeps/unix/sysv/linux/alpha.
17898 * README: Update listing for alpha-*-linux-gnu.
17899
cb4a2928
JM
179002014-02-11 Joseph Myers <joseph@codesourcery.com>
17901
c941736c
JM
17902 * include/features.h: Update comment documenting feature test
17903 macros.
17904 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17905 _DEFAULT_SOURCE.
17906 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17907 (_SVID_SOURCE): Likewise.
17908 (_DEFAULT_SOURCE): Update description of default features.
17909 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17910 with _GNU_SOURCE.
17911 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17912 (S_ISVTX): Likewise.
17913 * manual/math.texi (Mathematical Constants): Likewise.
17914 * manual/signal.texi (Interrupted Primitives): Likewise.
17915 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17916 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17917 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17918 Don't refer to _SVID_SOURCE in warning text.
17919
e8d8d7ec
JM
17920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17921
cb4a2928
JM
17922 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17923 already defined.
17924 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17925 * sysdeps/mips/dl-lookup.c: Remove.
17926 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17927
7e6424e3
AK
179282014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17929
17930 [BZ #16447]
17931 * math/auto-libm-test-in: Add testcase for expl.
17932 * math/auto-libm-test-out: Regenerate.
17933 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17934 calculation of unsafe.
17935 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17936
75eff3fe
MS
179372014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17938
17939 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17940 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17941 ports/sysdeps/unix/sysv/linux/aarch64.
17942 * README: Update listing for aarch64*-*-linux-gnu.
17943
d35f1e80
WN
179442014-02-11 Will Newton <will.newton@linaro.org>
17945
17946 * manual/probes.texi (Mathematical Function Probes): Use
17947 "triggered" instead of "hit".
17948
7b3436d4
WN
17949 * manual/probes.texi (Internal Probes): Add documentation
17950 of setjmp, longjmp and longjmp_target probes.
17951
b4f12ca3
WN
17952 * include/stap-probe.h: Add comment about probe argument
17953 format.
17954
c13a72b7
WN
17955 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17956 definition. (tr_where, tr_freehook, tr_mallochook,
17957 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17958
195b8165
DM
179592014-02-11 David S. Miller <davem@davemloft.net>
17960
17961 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17962 processing int_tests.
17963
2ad7600b
JM
179642014-02-10 Joseph Myers <joseph@codesourcery.com>
17965
17966 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17967 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17968 * sysdeps/unix/sysv/linux/mips: Move directory from
17969 ports/sysdeps/unix/sysv/linux/mips.
17970 * README: Update listing for mips-*-linux-gnu and
17971 mips64-*-linux-gnu.
17972
73588a72
AS
179732014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17974
17975 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17976 * sysdeps/unix/sysv/linux/m68k: Move directory from
17977 ports/sysdeps/unix/sysv/linux/m68k.
17978 * README: Update listing for m68k-*-linux-gnu.
17979
4372980f
CM
179802014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17981
17982 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17983 * sysdeps/unix/sysv/linux/generic: Move directory from
17984 ports/sysdeps/unix/sysv/linux/generic.
17985 * sysdeps/unix/sysv/linux/tile: Move directory from
17986 ports/sysdeps/unix/sysv/linux/tile.
17987 * README: Update listing for tile*-*-linux-gnu.
17988
a1ffb40e
OB
179892014-02-10 Ondřej Bílka <neleai@seznam.cz>
17990
57f41c40
AS
17991 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17992 __builtin_expect.
a1ffb40e
OB
17993 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17994 * catgets/open_catalog.c (__open_catalog): Likewise.
17995 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17996 * debug/confstr_chk.c: Likewise.
17997 * debug/fread_chk.c (__fread_chk): Likewise.
17998 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17999 * debug/getgroups_chk.c: Likewise.
18000 * debug/mbsnrtowcs_chk.c: Likewise.
18001 * debug/mbsrtowcs_chk.c: Likewise.
18002 * debug/mbstowcs_chk.c: Likewise.
18003 * debug/memcpy_chk.c: Likewise.
18004 * debug/memmove_chk.c: Likewise.
18005 * debug/mempcpy_chk.c: Likewise.
18006 * debug/memset_chk.c: Likewise.
18007 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18008 * debug/strcat_chk.c (__strcat_chk): Likewise.
18009 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18010 * debug/strncat_chk.c (__strncat_chk): Likewise.
18011 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18012 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18013 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18014 * debug/wcpncpy_chk.c: Likewise.
18015 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18016 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18017 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18018 * debug/wcsncpy_chk.c: Likewise.
18019 * debug/wcsnrtombs_chk.c: Likewise.
18020 * debug/wcsrtombs_chk.c: Likewise.
18021 * debug/wcstombs_chk.c: Likewise.
18022 * debug/wmemcpy_chk.c: Likewise.
18023 * debug/wmemmove_chk.c: Likewise.
18024 * debug/wmempcpy_chk.c: Likewise.
18025 * debug/wmemset_chk.c: Likewise.
18026 * dirent/scandirat.c (SCANDIRAT): Likewise.
18027 * dlfcn/dladdr1.c (dladdr1): Likewise.
18028 * dlfcn/dladdr.c (dladdr): Likewise.
18029 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18030 * dlfcn/dlerror.c (__dlerror): Likewise.
18031 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18032 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18033 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18034 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18035 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18036 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18037 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18038 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18039 Likewise.
18040 * elf/dl-conflict.c: Likewise.
18041 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18042 * elf/dl-dst.h: Likewise.
18043 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18044 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18045 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18046 * elf/dl-init.c (call_init, _dl_init): Likewise.
18047 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18048 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18049 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18050 Likewise.
a1ffb40e
OB
18051 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18052 Likewise.
18053 * elf/dl-minimal.c (__libc_memalign): Likewise.
18054 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18055 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18056 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18057 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18058 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18059 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18060 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18061 * elf/dl-writev.h (_dl_writev): Likewise.
18062 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18063 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18064 (dl_main): Likewise.
a1ffb40e
OB
18065 * elf/setup-vdso.h (setup_vdso): Likewise.
18066 * grp/compat-initgroups.c (compat_call): Likewise.
18067 * grp/fgetgrent.c (fgetgrent): Likewise.
18068 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18069 * grp/putgrent.c (putgrent): Likewise.
18070 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18071 Likewise.
18072 * hurd/hurdinit.c: Likewise.
18073 * iconvdata/8bit-gap.c (struct): Likewise.
18074 * iconvdata/ansi_x3.110.c : Likewise.
18075 * iconvdata/big5.c : Likewise.
18076 * iconvdata/big5hkscs.c : Likewise.
18077 * iconvdata/cp1255.c: Likewise.
18078 * iconvdata/cp1258.c : Likewise.
18079 * iconvdata/cp932.c : Likewise.
18080 * iconvdata/euc-cn.c: Likewise.
18081 * iconvdata/euc-jisx0213.c : Likewise.
18082 * iconvdata/euc-jp.c: Likewise.
18083 * iconvdata/euc-jp-ms.c : Likewise.
18084 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18085 * iconvdata/gb18030.c : Likewise.
18086 * iconvdata/gbbig5.c (const): Likewise.
18087 * iconvdata/gbgbk.c: Likewise.
18088 * iconvdata/gbk.c : Likewise.
18089 * iconvdata/ibm1364.c : Likewise.
18090 * iconvdata/ibm930.c : Likewise.
18091 * iconvdata/ibm932.c: Likewise.
18092 * iconvdata/ibm933.c : Likewise.
18093 * iconvdata/ibm935.c : Likewise.
18094 * iconvdata/ibm937.c : Likewise.
18095 * iconvdata/ibm939.c : Likewise.
18096 * iconvdata/ibm943.c: Likewise.
18097 * iconvdata/iso_11548-1.c: Likewise.
18098 * iconvdata/iso-2022-cn.c : Likewise.
18099 * iconvdata/iso-2022-cn-ext.c : Likewise.
18100 * iconvdata/iso-2022-jp-3.c: Likewise.
18101 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18102 * iconvdata/iso-2022-kr.c : Likewise.
18103 * iconvdata/iso646.c (gconv_end): Likewise.
18104 * iconvdata/iso_6937-2.c : Likewise.
18105 * iconvdata/iso_6937.c : Likewise.
18106 * iconvdata/iso8859-1.c: Likewise.
18107 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18108 * iconvdata/shift_jisx0213.c : Likewise.
18109 * iconvdata/sjis.c : Likewise.
18110 * iconvdata/t.61.c : Likewise.
18111 * iconvdata/tcvn5712-1.c : Likewise.
18112 * iconvdata/tscii.c: Likewise.
18113 * iconvdata/uhc.c : Likewise.
18114 * iconvdata/unicode.c (gconv_end): Likewise.
18115 * iconvdata/utf-16.c (gconv_end): Likewise.
18116 * iconvdata/utf-32.c (gconv_end): Likewise.
18117 * iconvdata/utf-7.c (base64): Likewise.
18118 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18119 * iconv/gconv_close.c (__gconv_close): Likewise.
18120 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18121 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18122 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18123 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18124 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18125 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18126 * iconv/iconv.c (iconv): Likewise.
18127 * iconv/iconv_close.c: Likewise.
18128 * iconv/loop.c (SINGLE): Likewise.
18129 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18130 * include/atomic.h: Likewise.
18131 * inet/inet6_option.c (option_alloc): Likewise.
18132 * intl/bindtextdom.c (set_binding_values): Likewise.
18133 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18134 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18135 * intl/localealias.c (read_alias_file): Likewise.
18136 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18137 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18138 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18139 * libio/fmemopen.c (fmemopen): Likewise.
18140 * libio/iofgets.c (_IO_fgets): Likewise.
18141 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18142 * libio/iofgetws.c (fgetws): Likewise.
18143 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18144 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18145 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18146 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18147 * locale/findlocale.c (_nl_find_locale): Likewise.
18148 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18149 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18150 Likewise.
18151 * locale/setlocale.c (setlocale): Likewise.
18152 * login/programs/pt_chown.c (main): Likewise.
18153 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18154 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18155 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18156 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18157 * math/e_exp2l.c: Likewise.
18158 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18159 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18160 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18161 * math/s_catan.c (__catan): Likewise.
18162 * math/s_catanf.c (__catanf): Likewise.
18163 * math/s_catanh.c (__catanh): Likewise.
18164 * math/s_catanhf.c (__catanhf): Likewise.
18165 * math/s_catanhl.c (__catanhl): Likewise.
18166 * math/s_catanl.c (__catanl): Likewise.
18167 * math/s_ccosh.c (__ccosh): Likewise.
18168 * math/s_ccoshf.c (__ccoshf): Likewise.
18169 * math/s_ccoshl.c (__ccoshl): Likewise.
18170 * math/s_cexp.c (__cexp): Likewise.
18171 * math/s_cexpf.c (__cexpf): Likewise.
18172 * math/s_cexpl.c (__cexpl): Likewise.
18173 * math/s_clog10.c (__clog10): Likewise.
18174 * math/s_clog10f.c (__clog10f): Likewise.
18175 * math/s_clog10l.c (__clog10l): Likewise.
18176 * math/s_clog.c (__clog): Likewise.
18177 * math/s_clogf.c (__clogf): Likewise.
18178 * math/s_clogl.c (__clogl): Likewise.
18179 * math/s_csin.c (__csin): Likewise.
18180 * math/s_csinf.c (__csinf): Likewise.
18181 * math/s_csinh.c (__csinh): Likewise.
18182 * math/s_csinhf.c (__csinhf): Likewise.
18183 * math/s_csinhl.c (__csinhl): Likewise.
18184 * math/s_csinl.c (__csinl): Likewise.
18185 * math/s_csqrt.c (__csqrt): Likewise.
18186 * math/s_csqrtf.c (__csqrtf): Likewise.
18187 * math/s_csqrtl.c (__csqrtl): Likewise.
18188 * math/s_ctan.c (__ctan): Likewise.
18189 * math/s_ctanf.c (__ctanf): Likewise.
18190 * math/s_ctanh.c (__ctanh): Likewise.
18191 * math/s_ctanhf.c (__ctanhf): Likewise.
18192 * math/s_ctanhl.c (__ctanhl): Likewise.
18193 * math/s_ctanl.c (__ctanl): Likewise.
18194 * math/w_pow.c: Likewise.
18195 * math/w_powf.c: Likewise.
18196 * math/w_powl.c: Likewise.
18197 * math/w_scalb.c (sysv_scalb): Likewise.
18198 * math/w_scalbf.c (sysv_scalbf): Likewise.
18199 * math/w_scalbl.c (sysv_scalbl): Likewise.
18200 * misc/error.c (error_tail): Likewise.
18201 * misc/pselect.c (__pselect): Likewise.
18202 * nis/nis_callback.c (__nis_create_callback): Likewise.
18203 * nis/nis_call.c (__nisfind_server): Likewise.
18204 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18205 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18206 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18207 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18208 * nis/nis_lookup.c (nis_lookup): Likewise.
18209 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18210 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18211 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18212 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18213 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18214 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18215 * nis/nss_compat/compat-initgroups.c (add_group)
18216 (internal_getgrent_r): Likewise.
18217 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18218 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18219 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18220 (internal_getspnam_r): Likewise.
18221 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18222 (_nss_nis_getaliasbyname_r): Likewise.
18223 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18224 (_nss_nis_getntohost_r): Likewise.
18225 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18226 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18227 (_nss_nis_getgrgid_r): Likewise.
18228 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18229 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18230 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18231 (_nss_nis_gethostbyname4_r): Likewise.
18232 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18233 (initgroups_netid): Likewise.
a1ffb40e 18234 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18235 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18236 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18237 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18238 (_nss_nis_getprotobynumber_r): Likewise.
18239 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18240 (_nss_nis_getsecretkey): Likewise.
18241 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18242 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18243 (_nss_nis_getpwuid_r): Likewise.
18244 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18245 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18246 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18247 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18248 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18249 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18250 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18251 Likewise.
57f41c40
AS
18252 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18253 (_nss_nisplus_getntohost_r): Likewise.
18254 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18255 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18256 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18257 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18258 Likewise.
57f41c40
AS
18259 * nis/nss_nisplus/nisplus-initgroups.c
18260 (_nss_nisplus_initgroups_dyn): Likewise.
18261 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18262 (_nss_nisplus_getnetbyaddr_r): Likewise.
18263 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18264 (_nss_nisplus_getprotobynumber_r): Likewise.
18265 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18266 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18267 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18268 Likewise.
57f41c40
AS
18269 * nis/nss_nisplus/nisplus-service.c
18270 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18271 (_nss_nisplus_getservbyport_r): Likewise.
18272 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18273 (_nss_nisplus_getspnam_r): Likewise.
18274 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18275 Likewise.
a1ffb40e
OB
18276 * nscd/aicache.c (addhstaiX): Likewise.
18277 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18278 * nscd/connections.c (register_traced_file, send_ro_fd)
18279 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18280 (main_loop_epoll): Likewise.
a1ffb40e
OB
18281 * nscd/grpcache.c (addgrbyX): Likewise.
18282 * nscd/hstcache.c (addhstbyX): Likewise.
18283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18284 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18285 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18286 (addinnetgrX): Likewise.
18287 * nscd/nscd-client.h (__nscd_acquire_maplock)
18288 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18289 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18290 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18291 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18292 Likewise.
18293 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18295 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18296 (__nscd_get_map_ref): Likewise.
a1ffb40e 18297 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18298 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18299 Likewise.
a1ffb40e
OB
18300 * nscd/pwdcache.c (addpwbyX): Likewise.
18301 * nscd/selinux.c (preserve_capabilities): Likewise.
18302 * nscd/servicescache.c (addservbyX): Likewise.
18303 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18304 * posix/fnmatch.c (fnmatch): Likewise.
18305 * posix/getopt.c (_getopt_internal_r): Likewise.
18306 * posix/glob.c (glob, glob_in_dir): Likewise.
18307 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18308 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18309 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18310 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18311 * resolv/res_init.c: Likewise.
18312 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18313 * resolv/res_query.c (__libc_res_nquery): Likewise.
18314 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18315 Likewise.
18316 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18317 * stdio-common/perror.c (perror): Likewise.
18318 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18319 * stdio-common/tmpnam.c (tmpnam): Likewise.
18320 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18321 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18322 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18323 Likewise.
a1ffb40e
OB
18324 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18325 * stdlib/putenv.c (putenv): Likewise.
18326 * stdlib/setenv.c (__add_to_environ): Likewise.
18327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18328 * stdlib/strtol_l.c (INTERNAL): Likewise.
18329 * string/memmem.c (memmem): Likewise.
18330 * string/strerror.c (strerror): Likewise.
18331 * string/strnlen.c (__strnlen): Likewise.
18332 * string/test-memmem.c (simple_memmem): Likewise.
18333 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18334 * sunrpc/pm_getport.c (__get_socket): Likewise.
18335 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18336 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18337 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18338 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18339 Likewise.
18340 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18341 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18342 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18343 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18344 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18345 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18346 Likewise.
18347 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18348 Likewise.
a1ffb40e
OB
18349 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18350 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18351 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18352 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18353 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18355 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18356 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18357 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18358 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18359 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18360 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18361 Likewise.
18362 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18363 Likewise.
18364 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18365 Likewise.
18366 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18369 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18370 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18371 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18372 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18380 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18381 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18382 Likewise.
a1ffb40e
OB
18383 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18384 Likewise.
18385 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18386 Likewise.
18387 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18388 Likewise.
18389 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18391 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18392 Likewise.
18393 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18394 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18395 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18396 * sysdeps/posix/sleep.c: Likewise.
18397 * sysdeps/posix/tempname.c: Likewise.
18398 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18399 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18400 Likewise.
57f41c40
AS
18401 * sysdeps/powerpc/powerpc32/dl-machine.h
18402 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18403 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18405 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18406 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18407 Likewise.
18408 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18409 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18410 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18411 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18412 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18413 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18414 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18415 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18416 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18417 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18419 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18420 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18422 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18423 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18424 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18425 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18426 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18427 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18428 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18429 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18431 Likewise.
18432 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18433 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18434 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18435 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18436 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18437 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18438 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18439 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18441 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18442 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18443 Likewise.
18444 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18445 (__posix_fallocate64_l64): Likewise.
18446 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18447 (posix_fallocate): Likewise.
57f41c40
AS
18448 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18449 Likewise.
a1ffb40e 18450 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18451 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18452 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18453 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18454 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18455 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18456 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18457 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18458 (__posix_fallocate64_l64): Likewise.
18459 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18460 Likewise.
18461 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18462 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18463 (__get_clockfreq): Likewise.
a1ffb40e
OB
18464 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18465 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18466 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18468 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18469 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18470 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18471 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18472 Likewise.
18473 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18474 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18475 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18477 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18478 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18479 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18480 Likewise.
18481 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18482 (posix_fallocate): Likewise.
18483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18484 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18485 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18486 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18487 (elf_machine_rela, elf_machine_rela_relative)
18488 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18489 * time/asctime.c (asctime_internal): Likewise.
18490 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18491 * time/tzset.c (__tzset_parse_tz): Likewise.
18492 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18493 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18494 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18495 * wcsmbs/wcsmbsload.h: Likewise.
18496
f3d338c9
OB
18497 [BZ #15894]
18498 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18499
57f41c40
AS
18500 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18501 (arena_get2): Remove THREAD_STATS conditionals.
18502 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18503 (__malloc_stats, int): Likewise.
bdfe308a 18504
d674667c
MF
185052014-02-08 Mike Frysinger <vapier@gentoo.org>
18506
18507 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18508 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18509
6349768c
MF
18510 * manual/setjmp.texi: Fix typos/grammar errors.
18511
0b7c7473
MF
18512 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18513 Only return early when n is <= 0. Delete unused return statement.
18514
ac8cc9e3
MF
18515 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18516 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18517 * debug/tst-longjmp_chk3.c: New file.
18518
c5bb8e23
MF
18519 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18520 (test_main): Replace code with set_fortify_handler call.
18521 * debug/test-strcpy_chk.c: Likewise.
18522 * debug/tst-chk1.c: Likewise.
18523 * debug/tst-longjmp_chk.c: Likewise.
18524 * test-skeleton.c: Include fcntl.h & paths.h
18525 (set_fortify_handler): Define.
18526
10444e42
MF
18527 * debug/tst-longjmp_chk.c: Add header comment and include
18528 ../test-skeleton.c.
18529 (do_test): Mark static.
18530 (TEST_FUNCTION): Define.
18531
1e805e8d
MF
18532 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18533 (IP_PMTUDISC_INTERFACE): Likewise.
18534 (IP_MULTICAST_IF): Likewise.
18535 (IP_MULTICAST_TTL): Likewise.
18536 (IP_MULTICAST_LOOP): Likewise.
18537 (IP_ADD_MEMBERSHIP): Likewise.
18538 (IP_DROP_MEMBERSHIP): Likewise.
18539 (IP_UNBLOCK_SOURCE): Likewise.
18540 (IP_BLOCK_SOURCE): Likewise.
18541 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18542 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18543 (IP_MSFILTER): Likewise.
18544 (MCAST_JOIN_GROUP): Likewise.
18545 (MCAST_BLOCK_SOURCE): Likewise.
18546 (MCAST_UNBLOCK_SOURCE): Likewise.
18547 (MCAST_LEAVE_GROUP): Likewise.
18548 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18549 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18550 (MCAST_MSFILTER): Likewise.
18551 (IP_MULTICAST_ALL): Likewise.
18552 (IP_UNICAST_IF): Likewise.
18553
73f79bb7
MF
18554 * timezone/Makefile: Delete $(have-ksh) check.
18555 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18556 * timezone/tzselect.ksh: Add +x mode bits.
18557
8da79b60
MF
18558 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18559 (ANON_INODE_FS_MAGIC): Likewise.
18560 (BDEVFS_MAGIC): Likewise.
18561 (BINFMTFS_MAGIC): Likewise.
18562 (BTRFS_TEST_MAGIC): Likewise.
18563 (CRAMFS_MAGIC_WEND): Likewise.
18564 (DEBUGFS_MAGIC): Likewise.
18565 (ECRYPTFS_SUPER_MAGIC): Likewise.
18566 (EXT3_SUPER_MAGIC): Likewise.
18567 (EXT4_SUPER_MAGIC): Likewise.
18568 (FUTEXFS_SUPER_MAGIC): Likewise.
18569 (HOSTFS_SUPER_MAGIC): Likewise.
18570 (HUGETLBFS_MAGIC): Likewise.
18571 (MINIX3_SUPER_MAGIC): Likewise.
18572 (MTD_INODE_FS_MAGIC): Likewise.
18573 (NILFS_SUPER_MAGIC): Likewise.
18574 (OPENPROM_SUPER_MAGIC): Likewise.
18575 (PIPEFS_MAGIC): Likewise.
18576 (PSTOREFS_MAGIC): Likewise.
18577 (QNX6_SUPER_MAGIC): Likewise.
18578 (RAMFS_MAGIC): Likewise.
18579 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18580 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18581 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18582 (SECURITYFS_MAGIC): Likewise.
18583 (SELINUX_MAGIC): Likewise.
18584 (SMACK_MAGIC): Likewise.
18585 (SOCKFS_MAGIC): Likewise.
18586 (SQUASHFS_MAGIC): Likewise.
18587 (STACK_END_MAGIC): Likewise.
18588 (TMPFS_MAGIC): Likewise.
18589 (USBDEVICE_SUPER_MAGIC): Likewise.
18590 (V9FS_MAGIC): Likewise.
18591 (XENFS_SUPER_MAGIC): Likewise.
18592 (CRAMFS_MAGIC): Fix typo in comment.
18593 (EXT2_SUPER_MAGIC): Update comment.
18594 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18595
464263cc
JM
185962014-02-08 Joseph Myers <joseph@codesourcery.com>
18597
c6bfe5c4
JM
18598 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18599 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18600 * sysdeps/unix/sysv/linux/arm: Move directory from
18601 ports/sysdeps/unix/sysv/linux/arm.
18602 * README: Update listing for arm-*-linux-gnueabi.
18603
464263cc
JM
18604 * README: Remove mention of am33.
18605
32749f6c
RM
186062014-02-07 Roland McGrath <roland@hack.frob.com>
18607
18608 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18609 than the comma operator, to avoid "rhs of comma has no effect"
18610 compiler warnings.
18611 (__sigfillset, __sigandset, __sigorset): Likewise.
18612 * include/signal.h (__sigemptyset): Likewise.
18613 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18614
d5b396c1
AM
186152014-02-07 Allan McRae <allan@archlinux.org>
18616
18617 * version.h (RELEASE): Set to "development".
18618 (VERSION): Set to "2.19.90"
18619 * NEWS: Add 2.20 section.
18620
3bfff2ed
CD
186212014-02-06 Carlos O'Donell <carlos@redhat.com>
18622
18623 [BZ #16529]
18624 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18625
ee7cc385
SP
186262014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18627
18628 * manual/contrib.texi: Update entry for Carlos O'Donell,
18629 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18630
f877c4f2
CD
186312014-02-05 Carlos O'Donell <carlos@rehdat.com>
18632
27e839f6
CD
18633 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18634
f877c4f2
CD
18635 * sysdeps/unix/sysv/linux/kernel-features.h
18636 [__LINUX_KERNEL_VERSION >= 0x020621]
18637 (__ASSUME_PROC_PID_TASK_COMM): Define.
18638
68159946
SP
186392014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18640
ba17cdbd
SP
18641 [BZ #16398]
18642 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18643 conversion when destination buffer does not have enough space.
18644 * libio/tst-ftell-partial-wide.c: New test case.
18645 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18646
68159946
SP
18647 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18648 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18649 Leonard and Allan McRae.
18650
2b528732
DM
186512014-02-04 David S. Miller <davem@davemloft.net>
18652
18653 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18654 32-bit.
18655
0ff82463
AZ
186562014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18657
57f41c40
AS
18658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18659 New file
c01603f7
AZ
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18661 New file
57f41c40
AS
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18663 New file.
18664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18665 New file.
c01603f7
AZ
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18667 New file.
57f41c40
AS
18668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18669 New file.
18670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18671 New file.
c01603f7
AZ
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18673 New file.
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18675 New file.
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18677 New file.
18678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18679 New file.
18680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18681 New file.
18682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18683 New file.
18684
186852014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18686
0ff82463
AZ
18687 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18688 * shlib-versions: Likewise.
18689
1695c773
AZ
186902014-02-04 Roland McGrath <roland@hack.frob.com>
18691 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18692
18693 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18694 (abilist-pattern): New variable, set to %-le.abilist.
18695
18696 * Makerules (abilist-pattern): New variable.
18697 (vpath): Use $(abilist-pattern) in place of %.abilist.
18698 (check-abi-% pattern rule): Likewise.
18699 (check-abi, update-abi): Likewise.
18700
6c0ce4b4
EW
187012014-02-04 Eric Wong <normalperson@yhbt.net>
18702
18703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18704
481e3524
CD
187052014-02-03 Carlos O'Donell <carlos@redhat.com>
18706
18707 * manual/startup.texi: Add next, previous, and top entries for
18708 the `Program Arguments' and `Environment Variables' nodes.
18709
375592d3
AO
187102014-02-03 Alexandre Oliva <aoliva@redhat.com>
18711
18712 * manual/macros.texi: Add comments before MTASC-safety macros.
18713
f54838ba
AO
18714 * manual/users.texi: Document MTASC-safety properties.
18715
57f41c40
AS
18716 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18717 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18718 @deftypefun, and add @safety note.
18719 * manual/signal.texi: Move comments that analyze the above
18720 functions to their home place.
18721
fd3daba4
AM
187222014-02-03 Allan McRae <allan@archlinux.org>
18723
18724 * po/sl.po: Update Slovenian translation from translation project.
18725
597636d7
AO
187262014-02-02 Alexandre Oliva <aoliva@redhat.com>
18727
18728 * manual/time.texi (timegm): Add missing blank after @c.
18729 Reported by Joseph Myers <joseph@codesourcery.com>.
18730
ee196e3c
AO
187312014-02-01 Alexandre Oliva <aoliva@redhat.com>
18732
18733 * manual/check-safety.sh: New.
18734 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18735
f8d529d5
AO
18736 * manual/terminal.texi: Document MTASC-safety properties.
18737
de55fdf4
AO
18738 * manual/filesys.texi: Document MTASC-safety properties.
18739
c3299c08
AO
18740 * manual/errno.texi: Document MTASC-safety properties.
18741
06e90b14
AO
18742 * manual/intro.texi: Document safety identifiers and
18743 conditionals.
18744
1acd4371
AO
18745 * manual/string.texi (wcstok): Fix prototype.
18746 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18747
23e5b8cb
AO
18748 * manual/time.texi: Document MTASC-safety properties.
18749
11087373
AO
18750 * manual/string.texi: Document MTASC-safety properties.
18751
5da2c93d
AO
18752 * manual/threads.texi: Document MTASC-safety properties.
18753
171e9210
AO
18754 * manual/stdio.texi: Document MTASC-safety properties.
18755
d9e02532
AO
18756 * manual/syslog.texi: Document MTASC-safety properties.
18757
6af8bab7
AO
18758 * manual/sysinfo.texi: Document MTASC-safety properties.
18759
663b02d7
AO
18760 * manual/startup.texi: Document MTASC-safety properties.
18761
973f180b
AO
18762 * manual/socket.texi: Document MTASC-safety properties.
18763
8f3c25c8
AO
18764 * manual/signal.texi: Document MTASC-safety properties.
18765
542210fb
AO
187662014-01-31 Alexandre Oliva <aoliva@redhat.com>
18767
18768 * manual/setjmp.texi: Document MTASC-safety properties.
18769
433c45a2
AO
18770 * manual/search.texi: Document MTASC-safety properties.
18771
c8ce789c
AO
18772 * manual/resource.texi: Document MTASC-safety properties.
18773
19f5d29c
AO
18774 * manual/process.texi: Document MTASC-safety properties.
18775
e2dfb7f4
AO
18776 * manual/platform.texi: Document MTASC-safety properties.
18777
8c1413f5
AO
18778 * manual/pipe.texi: Document MTASC-safety properties.
18779
03483ada
AO
18780 * manual/pattern.texi: Document MTASC-safety properties.
18781
29e7e2df
AO
18782 * manual/message.texi: Document MTASC-safety properties.
18783
9f529d7c
AO
18784 [BZ #12751]
18785 * manual/memory.texi: Document MTASC-safety properties.
18786
27aaa791
AO
18787 * manual/math.texi: Document MTASC-safety properties.
18788
f2d58726
AO
18789 * manual/locale.texi: Document MTASC-safety properties.
18790
2cc3615c
AO
18791 * manual/llio.texi: Document MTASC-safety properties.
18792
d9f0ec97
AO
18793 * manual/libdl.texi: New.
18794
e7c4409a
AO
18795 * manual/lang.texi: Document MTASC-safety properties.
18796
27bdc63c
AO
18797 * manual/job.texi: Document MTASC-safety properties.
18798
a7b90ea9
AO
18799 * manual/getopt.texi: Document MTASC-safety properties.
18800
c49130e3
AO
18801 * manual/ctype.texi: Document MTASC-safety properties.
18802
0d23a5c1
MR
188032014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18804
18805 [BZ #16046]
18806 * csu/libc-tls.c (static_map): Remove variable.
18807 (__libc_setup_tls): Use main executable's link map for TLS data.
18808 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18809 casing for LM_ID_BASE and GL(dl_nns).
18810 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18811 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18812 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18813 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18814 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18815 member.
18816 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18817 l_phnum members.
18818
0037bb60
AO
188192014-01-30 Alexandre Oliva <aoliva@redhat.com>
18820
18821 * manual/debug.texi: Document MTASC-safety properties.
18822
409e00bd
L
188232014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18824
18825 [BZ #16510]
18826 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18827 of __x86_64__ when disabling x87 inline functions.
18828
86e60666
AO
188292014-01-29 Alexandre Oliva <aoliva@redhat.com>
18830
18831 * manual/charset.texi: Document MTASC-safety properties.
18832
76167637
AO
18833 * manual/crypt.texi: Document MTASC-safety properties.
18834
e567f2a0
AO
18835 * manual/conf.texi: Document MTASC-safety properties.
18836
b719dafd
AO
18837 * manual/arith.texi: Document MTASC-safety properties.
18838
4a16c662
AO
18839 * manual/argp.texi: Document MTASC-safety properties.
18840
0a57b83e
AO
18841 * manual/macros.texi: Introduce macros to document multi
18842 thread, asynchronous signal and asynchronous cancellation
18843 safety properties.
18844 * manual/intro.texi: Introduce the properties themselves.
18845
feab2397
KK
188462014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18847
18848 * sysdeps/sh/sh4/Makefile: New file.
18849
1c0d11bc
AS
188502014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18851
18852 * math/gen-libm-test.pl ($srcdir): New variable.
18853 ($auto_input): Use it.
18854
af37a8a3
SP
188552014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18856
d7b00f98
SP
18857 [BZ #16506]
18858 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18859 access beyond array bounds when parsing netgroups file.
18860
af37a8a3
SP
18861 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18862 the old buffer before realloc.
18863
0c00f062
AM
188642014-01-27 Allan McRae <allan@archlinux.org>
18865
18866 * po/fr.po: Update French translation from translation project.
18867
7d69a1b0
KK
188682014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18869
18870 * sysdeps/sh/libm-test-ulps: Regenerate.
18871
6e697ff7
DM
188722014-01-24 David S. Miller <davem@davemloft.net>
18873
18874 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18875
9cadb35c
KK
188762014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18877
18878 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18879 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18880
5d41dadf
SP
188812013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18882
18883 [BZ #16474]
18884 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18885 string pointers after reallocation.
18886
0bad441c
KK
188872014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18888
18889 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18890 __SH4A__ instead of __SH_FPU_ANY__.
18891
7007c661
KK
188922014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18893
18894 * sysdeps/sh/fpu_control.h: New file.
18895 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18896 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18897 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18898 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18899 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18900 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18901 * sysdeps/sh/sys/ucontext.h: Remove.
18902 * sysdeps/sh/sys: Remove directory.
18903
0f0c35e4
AK
189042014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18905
18906 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18907 s390/sys/ucontext.h.
18908 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18909 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18910
4959e284
L
189112014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18912
18913 [BZ #15605]
18914 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18915
d98720e0
AZ
189162014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18917
18918 [BZ#16431]
18919 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18920 Adjust the vDSO correctly for internal calls.
18921 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18922
91cbd0bc
AM
189232014-01-20 Allan McRae <allan@archlinux.org>
18924
18925 * po/ca.po: Update Catalan translation from translation project.
18926
7a02cfad
MF
189272014-01-16 Mike Frysinger <vapier@gentoo.org>
18928
18929 * sysdeps/s390/sotruss-lib.c: New file.
18930
736c304a
AZ
189312014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18932
18933 [BZ#16430]
6e077ee5 18934 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18935 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18936 local calls issues by not having a PLT stub required for IFUNC calls.
18937 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18938
94d0cea0
JM
189392014-01-16 Joseph Myers <joseph@codesourcery.com>
18940
18941 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18942 * math/test-fpucw-static.c: Likewise.
18943
980cb518
SP
189442013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18945
18946 [BZ #16453]
18947 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18948
2393fc01
AZ
189492014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18950
18951 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18952 implementation for powerpc.
18953
d359bcc2
OB
189542014-01-15 Ondřej Bílka <neleai@seznam.cz>
18955
18956 [BZ #14782]
18957 * sysdeps/posix/system.c (__libc_system): Do not enable
18958 asynchronous cancellation.
18959
7beb48cb
AK
189602014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18961
18962 [BZ #16427]
18963 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18964 handling only for numbers special also in the IEEE case.
18965
c20d5bf5
AK
189662014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18967
18968 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18969
e83bd4ee
AM
189702014-01-11 Allan McRae <allan@archlinux.org>
18971
76d0ea69
AM
18972 * po/bg.po: Update Bulgarian translation from translation project.
18973
e83bd4ee
AM
18974 * po/de.po: Update German translation from translation project.
18975
bc2ba20a
RM
189762014-01-10 Roland McGrath <roland@hack.frob.com>
18977
18978 * sysdeps/generic/gcc-compat.h: New file.
18979
649ecea2
SP
189802014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18981
18982 * benchtests/asin-inputs: Correct slow inputs.
18983 * benchtests/acos-inputs: Likewise.
18984
1b19c006
AM
189852014-01-10 Allan McRae <allan@archlinux.org>
18986
a46dab08
AM
18987 * po:sv.po: Update Swedish translation from translation project.
18988
421df74a
AM
18989 * po/vi.po: Update Vietnamese translation from translation project.
18990
d61c51a7
AM
18991 * po/eo.po: Update Esperanto translation from translation project.
18992
0339a319
AM
18993 * po/cs.po: Update Czech translation from translation project.
18994
94ad3e99
AM
18995 * po/nl.po: Update Dutch translation from translation project.
18996
e349ca71
AM
18997 * po/pl.po: Update Polish translation from translation project.
18998
ddf930c1
AM
18999 * po/ru.po: Update Russian translation from translation project.
19000
1b19c006
AM
19001 * po/uk.po: Update Ukrainian translation from translation project.
19002
9f236c49
BM
190032014-01-08 Brooks Moses <bmoses@google.com>
19004
19005 * elf/dl-load.c: Fix comment typo.
19006
cd6701cf
CD
190072014-01-08 Carlos O'Donell <carlos@redhat.com>
19008
19009 * po/header.pot: Rename to...
19010 * po/pot.header: ... this.
19011 * po/Makefile: Use pot.header.
19012
66671c84
YK
190132014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19014 Maxim Kuvyrkov <maxim@kugelworks.com>
19015
19016 [BZ #16394]
cd6701cf
CD
19017 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19018 SRC and DEST against LEN.
66671c84 19019
38f34581
AZ
190202014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19021
19022 [BZ #16414]
19023 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19024 implementation.
19025 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19026
190272014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19028
19029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19030
4c327f2a
JM
190312014-01-08 Joseph Myers <joseph@codesourcery.com>
19032
19033 [BZ #16408]
19034 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19035 for large positive arguments.
19036
b821f414
JM
190372014-01-07 Joseph Myers <joseph@codesourcery.com>
19038
1f0f2067
JM
19039 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19040
a5a326f6
JM
19041 * math/auto-libm-test-in: Mark various tests with
19042 xfail-rounding:ldbl-128ibm.
19043 * math/auto-libm-test-out: Regenerated.
19044
b821f414
JM
19045 [BZ #16407]
19046 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19047 Increase overflow threshold.
19048
94c8a4bc
OB
190492014-01-07 Ondřej Bílka <neleai@seznam.cz>
19050
19051 [BZ #14286]
19052 * stdio-common/vfprintf.c: Check for integer overflow.
19053
87ded0c3
AK
190542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19055
19056 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19057 the first argument and return value of __tls_get_addr_internal.
19058
c5eebdd0
AK
190592014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19060
19061 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19062 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19063
05d138ef
AK
190642014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19065
19066 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19067 * sysdeps/s390/rtld-global-offsets.sym: New file.
19068 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19069 GLIBC_2.19 symbol.
19070 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19072 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19073 ... this.
19074 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19075 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19076 ... this.
19077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19078 Regenerate.
19079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19080 Regenerate.
19081 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19082 halfs of GPRs for high_gprs contexts.
19083 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19084 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19085 field.
19086 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19087 uc_flags field.
19088 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19089 64 bit versions:
19090 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19091 for high GPRs (uc_high_gprs) and for future extensions
19092 (__reserved).
19093 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19094 for future extensions (__reserved).
19095 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19096 64 bit versions:
19097 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19098 SC_HIGHGPRS offset definition.
19099 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19100 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19101
93a45ff1
AK
19102 * Versions.def: Add GLIBC_2.19 for libpthread.
19103 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19104 siglongjmp for libpthread with GLIBC_2.19 symver.
19105 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19106 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19107 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19108 * sysdeps/s390/__longjmp.c: New file.
19109 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19110 * sysdeps/s390/longjmp.c: New file.
19111 * sysdeps/s390/setjmp.S: New file.
19112 * sysdeps/s390/sigjmp.S: New file.
19113 * sysdeps/s390/v1-longjmp.c: New file.
19114 * sysdeps/s390/v1-setjmp.h: New file.
19115 * sysdeps/s390/v1-sigjmp.c: New file.
19116 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19117 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19118 GLIBC_2.19 version.
19119 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19120 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19121 versioned symbols for ____longjmp_chk.
19122 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19123 Likewise.
19124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19125 Regenerate.
19126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19127 Regenerate.
19128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19129 Regenerate.
19130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19131 Regenerate.
19132 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19133 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19134 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19135 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19136 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19137 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19138 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19139 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19140 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19141 * sysdeps/s390/rtld-__longjmp.c: New file.
19142 * sysdeps/s390/rtld-setjmp.S: New file.
19143
eb3fc44b
JM
191442014-01-06 Joseph Myers <joseph@codesourcery.com>
19145
19146 [BZ #16400]
19147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19148 Return -__logl (x) for small positive arguments without evaluating
19149 a polynomial.
19150
9341dde4
MF
191512014-01-06 Mike Frysinger <vapier@gentoo.org>
19152
19153 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19154 Rename to ...
19155 (__ptrace_peeksiginfo_args): ... this.
19156 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19157 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19158 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19159
4cff0293
AM
191602014-01-06 Allan McRae <allan@archlinux.org>
19161
19162 * inet/netinet/in.h: Fix typo in comment.
19163
75595dcf
AJ
191642014-01-05 Andreas Jaeger <aj@suse.de>
19165
19166 * sysdeps/i386/fpu/libm-test-ulps: Update.
19167
79c1e109
AM
191682014-01-05 Allan McRae <allan@archlinux.org>
19169
dd804818
AM
19170 * po/libc.pot: Regenerated.
19171
79c1e109
AM
19172 * malloc/memusagestat.c: Fix gettext call formatting.
19173
0c813d1f
SK
191742014-01-04 Sami Kerola <kerolasa@iki.fi>
19175
19176 * nscd/nscd.c: Improve usage() output.
19177
20f4a8d9
MF
191782014-01-04 Mike Frysinger <vapier@gentoo.org>
19179
19180 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19181 * sysdeps/unix/sysv/linux/configure: Regenerated.
19182 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19183 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19184
22562bb2
JM
191852014-01-03 Joseph Myers <joseph@codesourcery.com>
19186
19187 [BZ #16390]
19188 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19189 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19190
d7ad2d9b
AZ
191912014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19192
19193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19194 extra tokens at end of #undef directive.
19195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19196 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19197 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19198
7dd009d8
JM
191992014-01-03 Joseph Myers <joseph@codesourcery.com>
19200
24db925a
JM
19201 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19202
7dd009d8
JM
19203 * math/auto-libm-test-in: Mark various tests with
19204 xfail-rounding:ldbl-128ibm.
19205 * math/auto-libm-test-out: Regenerated.
19206
396e3ecf
JM
192072014-01-02 Joseph Myers <joseph@codesourcery.com>
19208
819e5d50
JM
19209 [BZ #16386]
19210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19211 numbers with subnormal high part when calculating exponent.
19212
90b6a1e5
JM
19213 [BZ #16385]
19214 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19215 fabs.
19216
396e3ecf
JM
19217 [BZ #16384]
19218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19219 M_LN2l.
19220 (__ieee754_acoshl): Use __log1pl not __log1p.
19221
6c8dbf00
OB
192222013-01-02 Ondřej Bílka <neleai@seznam.cz>
19223
57f41c40
AS
19224 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19225 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19226 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19227 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19228 (reused_arena, arena_get2): Convert to GNU style.
19229 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19230 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19231 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19232 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19233 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19234 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19235 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19236 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19237 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19238 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19239 * malloc/malloc.h: Likewise.
57f41c40
AS
19240 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19241 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19242 * malloc/mcheck.h: Likewise.
57f41c40
AS
19243 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19244 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19245 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19246 * malloc/morecore.c (__default_morecore): Likewise.
19247 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19248 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19249 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19250 (print_and_abort): Likewise.
6c8dbf00
OB
19251 * malloc/obstack.h: Likewise.
19252 * malloc/set-freeres.c (__libc_freeres): Likewise.
19253 * malloc/tst-mallocstate.c (main): Likewise.
19254 * malloc/tst-mtrace.c (main): Likewise.
19255 * malloc/tst-realloc.c (do_test): Likewise.
19256
d4124212
SP
192572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19258
9a3c6a6f
SP
19259 [BZ #16366]
19260 * nscd/netgroupcache.c (do_notfound): New function.
19261 (addgetnetgrentX): Use it.
19262
d4124212
SP
19263 [BZ # 16365]
19264 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19265 NSS_STATUS_NOTFOUND.
19266
97b9a009
JM
192672014-01-01 Joseph Myers <joseph@codesourcery.com>
19268
19269 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19271
d4697bc9
AM
192722014-01-01 Allan McRae <allan@archlinux.org>
19273
ddb3687f
AM
19274 * scripts/update-copyrights: Update configure input file suffix.
19275
88726d48
AM
19276 * NEWS: Update copyright year.
19277 * catgets/gencat.c: Likewise.
19278 * csu/version.c: Likewise.
19279 * debug/catchsegv.sh: Likewise.
19280 * debug/pcprofiledump.c: Likewise.
19281 * debug/xtrace.sh: Likewise.
19282 * elf/ldconfig.c: Likewise.
19283 * elf/ldd.bash.in: Likewise.
19284 * elf/pldd.c: Likewise.
19285 * elf/sotruss.ksh: Likewise.
19286 * elf/sprof.c: Likewise.
19287 * iconv/iconv_prog.c: Likewise.
19288 * iconv/iconvconfig.c: Likewise.
19289 * locale/programs/locale.c: Likewise.
19290 * locale/programs/localedef.c: Likewise.
19291 * login/programs/pt_chown.c: Likewise.
19292 * malloc/memusage.sh: Likewise.
19293 * malloc/memusagestat.c: Likewise.
19294 * malloc/mtrace.pl: Likewise.
19295 * manual/libc.texinfo: Likewise.
19296 * nscd/nscd.c: Likewise.
19297 * nss/getent.c: Likewise.
19298 * nss/makedb.c: Likewise.
19299 * posix/getconf.c: Likewise.
19300 * scripts/test-installation.pl: Likewise.
19301
d4697bc9
AM
19302 * All files with FSF copyright notices: Update copyright dates
19303 using scripts/update-copyrights.
19304 * intl/plural.c: Regenerated.
19305 * locale/programs/charmap-kw.h: Likewise.
19306 * locale/programs/locfile-kw.h: Likewise.
19307
c8590f9d
MF
193082013-12-31 Mike Frysinger <vapier@gentoo.org>
19309
19310 * sysdeps/unix/sysv/linux/configure: Regenerated.
19311 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19312 the linux/fanotify.h header.
19313 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19314 HAVE_LINUX_FANOTIFY_H is defined.
19315
b19221b9
SP
193162013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19317
dd1d85e5
SP
19318 * benchtests/cos-inputs: New inputs.
19319 * benchtests/sin-inputs: Likewise.
19320
1acbb90f
SP
19321 * benchtests/atan-inputs: New inputs. Fix name of multiple
19322 precision fallback inputs.
19323
4c012ed3
SP
19324 * benchtests/atanh-inputs: New inputs.
19325 * benchtests/tanh-inputs: Likewise.
19326
eff98324
SP
19327 * benchtests/acosh-inputs: New inputs.
19328 * benchtests/asinh-inputs: Likewise.
19329
ce641152
SP
19330 * benchtests/cosh-inputs: New inputs.
19331 * benchtests/sinh-inputs: Likewise.
19332
b19221b9
SP
19333 * benchtests/acos-inputs: Add more inputs.
19334 * benchtests/asin-inputs: Likewise.
19335
030a4976 193362013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19337
030a4976 19338 [BZ #16375]
9dcc8f11
VS
19339 * manual/arith.texi: Fix spelling.
19340 * manual/charset.texi: Likewise.
19341 * manual/errno.texi: Likewise.
19342 * manual/filesys.texi: Likewise.
19343 * manual/lang.texi: Likewise.
19344 * manual/llio.texi: Likewise.
19345 * manual/locale.texi: Likewise.
19346 * manual/message.texi: Likewise.
19347 * manual/resource.texi: Likewise.
19348 * manual/search.texi: Likewise.
19349 * manual/setjmp.texi: Likewise.
19350 * manual/stdio.texi: Likewise.
19351 * manual/string.texi: Likewise.
19352 * manual/sysinfo.texi: Likewise.
19353 * manual/time.texi: Likewise.
19354
11520a57
CD
193552013-12-27 Carlos O'Donell <carlos@redhat.com>
19356
19357 * po/sl.po: New file.
19358
471103ae
MF
193592013-12-27 Mike Frysinger <vapier@gentoo.org>
19360
19361 * .gitignore: Add core/.gdbinit/.gdb_history.
19362
6c9642ed
AM
193632013-12-27 Allan McRae <allan@archlinux.org>
19364
19365 [BZ #16369]
19366 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19367 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19368
3f637079
BM
193692013-12-24 Brooks Moses <bmoses@google.com>
19370
19371 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19372 all compilers that claim C++98 compliance, not just GCC.
19373 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19374 Likewise.
19375
abc26e99
MK
193762013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19377
19378 * NEWS: Restore accidentally deleted bug-fix entries.
19379
362b47fe
MK
193802013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19381 Ondřej Bílka <neleai@seznam.cz>
19382
19383 [BZ #15073]
19384 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19385 have_lock.
362b47fe 19386
b9bcbbcb
OB
193872013-12-23 Ondřej Bílka <neleai@seznam.cz>
19388
19389 [BZ #12986]
19390 * manual/stdio.texi (String Input Conversions): Clarify that character
19391 classes are not supported.
19392
fb55fcd2
AZ
193932013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19394
19395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19396
ef7344f0
JM
193972013-12-22 Joseph Myers <joseph@codesourcery.com>
19398
4f40e4b3
JM
19399 [BZ #16337]
19400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19401 Calculate results for small negative arguments directly rather
19402 than using reflection formula with special underflow handling.
19403
ef7344f0
JM
19404 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19405 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19406 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19407 (fchflags): Likewise.
19408 (revoke): Likewise.
19409 (setlogin): Likewise.
19410 (sigaltstack): Likewise.
19411 (wait4): Likewise.
19412 (sigblock): Remove.
19413 (sigsetmask): Likewise.
19414 (wait3): Likewise.
19415 (waitpid): Likewise.
19416 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19417 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19418 file.
19419 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19420 * sysdeps/unix/bsd/Makefile: ... here.
19421 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19422 * sysdeps/unix/bsd/Versions: ... here.
19423 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19424 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19425 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19426 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19427 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19428 * sysdeps/unix/bsd/sigblock.c: ... here.
19429 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19430 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19431 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19432 * sysdeps/unix/bsd/sigvec.c: ... here.
19433 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19434 * sysdeps/unix/bsd/tcdrain.c: ... here.
19435 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19436 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19437 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19438 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19439 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19440 * sysdeps/unix/bsd/wait.c: ... here.
19441 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19442 * sysdeps/unix/bsd/wait3.c: ... here.
19443 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19444 * sysdeps/unix/bsd/waitpid.c: ... here.
19445
5b0626b9
JM
194462013-12-21 Joseph Myers <joseph@codesourcery.com>
19447
19448 [BZ #16356]
19449 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19450 round-to-nearest for [!USE_AS_EXPM1L].
19451 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19452 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19453 more tests of exp and exp10. Expect some exp10 tests to miss
19454 exceptions or fail in directed rounding modes.
19455 * math/auto-libm-test-out: Regenerated.
19456 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19457 (exp10_test_tonearest): New function.
19458 (exp10_towardzero_test_data): New array.
19459 (exp10_test_towardzero): New function.
19460 (exp10_downward_test_data): New array.
19461 (exp10_test_downward): New function.
19462 (exp10_upward_test_data): New array.
19463 (exp10_test_upward): New function.
19464 (main): Call the new functions.
19465 * sysdeps/i386/fpu/libm-test-ulps: Update.
19466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19467
7fda5682
JM
194682013-12-20 Joseph Myers <joseph@codesourcery.com>
19469
31e3a405
JM
19470 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19471 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19472 * math/auto-libm-test-out: Regenerated.
19473 * math/libm-test.inc (acosh_test_data): Add more tests.
19474 (atanh_test_data): Likewise.
19475 (ceil_test_data): Likewise.
19476 (copysign_test_data): Likewise.
19477 * sysdeps/i386/fpu/libm-test-ulps: Update.
19478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19479
85bff96a
JM
19480 * timezone/checktab.awk: Update from tzcode 2013i.
19481 * timezone/private.h: Likewise.
19482 * timezone/scheck.c: Likewise.
19483 * timezone/tzfile.h: Likewise.
19484 * timezone/tzselect.ksh: Likewise.
19485 * timezone/zdump.c: Likewise.
19486 * timezone/zic.c: Likewise.
19487
b7867a3b
JM
19488 * math/auto-libm-test-in: Add tests of cpow.
19489 * math/auto-libm-test-out: Regenerated.
19490 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19491 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19492 mpc_cc_c.
19493 (func_calc_desc): Add mpc_cc_c union field.
19494 (test_functions): Add cpow.
19495 (special_fill_2pi): New function.
19496 (special_real_inputs): Add 2pi.
19497 (calc_generic_results): Handle mpc_cc_c.
19498 * sysdeps/i386/fpu/libm-test-ulps: Update.
19499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19500
7fda5682
JM
19501 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19502 csqrt, ctan and ctanh.
19503 * math/auto-libm-test-out: Regenerated.
19504 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19505 (TEST_COND_x86): Likewise.
19506 (ccos_test_data): Use AUTO_TESTS_c_c.
19507 (ccosh_test_data): Likewise.
19508 (cexp_test_data): Likewise.
19509 (clog_test_data): Likewise.
19510 (csqrt_test_data): Likewise.
19511 (ctan_test_data): Likewise.
19512 (ctan_tonearest_test_data): Likewise.
19513 (ctan_towardzero_test_data): Likewise.
19514 (ctan_downward_test_data): Likewise.
19515 (ctan_upward_test_data): Likewise.
19516 (ctanh_test_data): Likewise.
19517 (ctanh_tonearest_test_data): Likewise.
19518 (ctanh_towardzero_test_data): Likewise.
19519 (ctanh_downward_test_data): Likewise.
19520 (ctanh_upward_test_data): Likewise.
19521 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19522 mpc_c_c.
19523 (func_calc_desc): Add mpc_c_c union field.
19524 (FUNC_mpc_c_c): New macro.
19525 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19526 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19527 ctanh.
19528 (special_fill_min_subnorm_p120): New function.
19529 (special_real_inputs): Add min_subnorm_p120.
19530 (calc_generic_results): Handle mpc_c_c.
19531 * sysdeps/i386/fpu/libm-test-ulps: Update.
19532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19533
5ff8d60e
SP
195342013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19535
57f41c40
AS
19536 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19537 (do_sin_slow): New functions.
19538 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19539 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19540
84ba214c
SP
19541 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19542 Use M to change sign of result instead of X. Assume X is
19543 positive.
19544 (csloww1): Likewise.
19545 (__sin): Adjust.
19546 (__cos): Adjust.
19547
975195e4
SP
19548 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19549 arguments A and DA.
19550 (__sin): Adjust.
19551 (__cos): Likewise.
19552
5ff8d60e
SP
19553 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19554 (__cos): Likewise.
19555 (sloww1): Don't adjust sign of DX.
19556 (csloww1): Likewise.
19557 (sloww2): Use X directly and don't adjust sign of DX.
19558 (csloww2): Likewise.
19559
eb983568
JM
195602013-12-19 Joseph Myers <joseph@codesourcery.com>
19561
64a17f1a
JM
19562 * math/auto-libm-test-in: Add tests of cabs and carg.
19563 * math/auto-libm-test-out: Regenerated.
19564 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19565 (carg_test_data): Likewise.
19566 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19567 mpc_c_f.
19568 (func_calc_desc): Add mpc_c_f union field.
19569 (test_functions): Add cabs and carg.
19570 (calc_generic_results): Handle mpc_c_f.
19571
eb983568
JM
19572 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19573 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19574 as a macro and a compat symbol.
19575 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19576 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19577 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19578 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19579 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19581 not use .hidden.
19582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19583 Likewise.
19584 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19585 Likewise.
19586 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19587 Likewise.
19588 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19589 Likewise.
19590 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19591 Likewise.
19592 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19593 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19594 from GLIBC_2.3.2.
19595
6eeb678a
AZ
195962013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19597
19598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19599
6f6fc482
JM
196002013-12-19 Joseph Myers <joseph@codesourcery.com>
19601
21fea2e2
JM
19602 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19603 trailing whitespace removed.
19604 * scripts/config.guess: Update to version 2013-11-29.
19605 * scripts/config.sub: Update to version 2013-10-01.
19606
6f6fc482
JM
19607 * math/auto-libm-test-in: Add tests of sincos.
19608 * math/auto-libm-test-out: Regenerated.
19609 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19610 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19611 mpfr_f_11.
19612 (func_calc_desc): Add mpfr_f_11 union field.
19613 (test_functions): Add sincos.
19614 (calc_generic_results): Handle mpfr_f_11.
19615 * sysdeps/i386/fpu/libm-test-ulps: Update.
19616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19617
83f5c32d
AS
196182013-12-19 Andreas Schwab <schwab@suse.de>
19619
19620 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19621 CALL_MCOUNT.
19622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19623 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19624 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19625
c688b419
JM
196262013-12-19 Joseph Myers <joseph@codesourcery.com>
19627
335ee092
JM
19628 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19629 * sysdeps/i386/fpu/libm-test-ulps: Update.
19630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19631
f88acd39
JM
19632 [BZ #16293]
19633 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19634 round-to-nearest mode when using frndint.
19635 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19636 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19637 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19638 Likewise.
19639 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19640 sinh test to fail.
19641 * math/auto-libm-test-out: Regenerated.
19642 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19643 (TEST_COND_x86): Likewise.
19644 (expm1_tonearest_test_data): New array.
19645 (expm1_test_tonearest): New function.
19646 (expm1_towardzero_test_data): New array.
19647 (expm1_test_towardzero): New function.
19648 (expm1_downward_test_data): New array.
19649 (expm1_test_downward): New function.
19650 (expm1_upward_test_data): New array.
19651 (expm1_test_upward): New function.
19652 (main): Run the new test functions.
19653 * sysdeps/i386/fpu/libm-test-ulps: Update.
19654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19655
c688b419
JM
19656 * include/features.h: Update comment documenting feature test
19657 macros. Mention _DEFAULT_SOURCE in comment.
19658 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19659 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19660 _BSD_SOURCE and _SVID_SOURCE.
19661 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19662 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19663 !_SVID_SOURCE]: Likewise.
19664 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19665 (__USE_POSIX_IMPLICITLY): Define.
19666 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19667 (_POSIX_SOURCE): Undefine and redefine.
19668 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19669 (_POSIX_C_SOURCE): Likewise.
19670 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19671 (Feature Test Macros): Update documentation of default features.
19672
9f6e964c
RS
196732013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19674
19675 * benchtests/Makefile: Add bench-strtok.
19676 * benchtests/bench-strtok.c: New file: strtok benchtest.
19677
ee0a148a
AM
196782013-12-19 Allan McRae <allan@archlinux.org>
19679
19680 * manual/install.texi: Suppress menu for plain text output.
19681 * INSTALL: Regenerated.
19682
b9ab448f
BM
196832013-12-18 Brooks Moses <bmoses@google.com>
19684
19685 [BZ #15846]
19686 * misc/getauxval.c: Include errno.h.
19687 (__getauxval): Set errno to ENOENT if the requested type is not
19688 found.
19689 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19690 don't declare with __attribute_const__.
19691 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19692 * manual/startup.texi: Document that getauxval sets errno.
19693
23776487
JM
196942013-12-18 Joseph Myers <joseph@codesourcery.com>
19695
f889953b
JM
19696 * math/auto-libm-test-in: Add tests of jn and yn.
19697 * math/auto-libm-test-out: Regenerated.
19698 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19699 (yn_test_data): Likewise.
19700 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19701 mpfr_if_f.
19702 (func_calc_desc): Add mpfr_if_f union field.
19703 (FUNC_mpfr_if_f): New macro.
19704 (test_functions): Add jn and yn.
19705 (calc_generic_results): Assert type of second input for
19706 mpfr_ff_f. Handle mpfr_if_f.
19707 (output_for_one_input_case): Disable all checking for arguments
19708 fitting floating-point types in case of an integer argument.
19709 * sysdeps/i386/fpu/libm-test-ulps: Update.
19710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19711
23776487
JM
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19713 Don't expect fegetround reference in libm.so.
19714
cb756c6d
MS
197152013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19716
19717 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19718 $(config-cflags-nofma).
19719
2dec468f
JM
197202013-12-18 Joseph Myers <joseph@codesourcery.com>
19721
5953eb3a
JM
19722 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19723 * math/auto-libm-test-out: Regenerated.
19724
2dec468f
JM
19725 [BZ #16338]
19726 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19727 to determine exponent and adjust argument to have exponent of -1.
19728 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19729 log2.
19730 * math/auto-libm-test-out: Regenerated.
19731 * sysdeps/i386/fpu/libm-test-ulps: Update.
19732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19733
4d84e6ad
OB
197342013-12-18 Ondřej Bílka <neleai@seznam.cz>
19735
19736 * manual/probes.texi: Remove cases when per-thread arenas are
19737 disabled.
19738
1818483b
AS
197392013-12-18 Andreas Schwab <schwab@suse.de>
19740
19741 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19742 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19743 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19744 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19745 * sysdeps/i386/i686/multiarch/Makefile: Update.
19746 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19747
25de95bf
JM
197482013-12-17 Joseph Myers <joseph@codesourcery.com>
19749
19750 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19751 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19752
674762d9
PE
197532013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19754
ed27ed83 19755 [BZ #15968]
0748546f
PE
19756 Support TZ transition times < 00:00:00.
19757 This is needed for version-3 tz-format files; it supports time
19758 stamps past 2037 for America/Godthab (the only entry in the tz
19759 database for which this change is relevant).
19760 * manual/time.texi (TZ Variable): Document transition times
19761 from -167:59:59 through -00:00:01.
19762 * time/tzset.c (tz_rule): Time of day is now signed.
19763 (__tzset_parse_tz): Parse negative time of day.
19764
4480e934
PE
19765 Document TZ transition times >= 25:00:00.
19766 * manual/time.texi (TZ Variable): Document transition times from
19767 25:00:00 through 167:59:59. These are already supported, and this
19768 support will help with version-3 tz-format files.
19769
69947401
PE
19770 * manual/time.texi (TZ Variable): Modernize North America example
19771 to reflect current (i.e., 2007-and-later) daylight saving rules.
19772
674762d9
PE
19773 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19774
7011c262
JM
197752013-12-17 Joseph Myers <joseph@codesourcery.com>
19776
2fc6557e
JM
19777 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19778 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19779 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19780 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19781 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19782 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19783 * sysdeps/unix/bsd/clock.c: Likewise.
19784 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19785 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19786 * sysdeps/unix/bsd/init-posix.c: Likewise.
19787 * sysdeps/unix/bsd/poll.c: Likewise.
19788 * sysdeps/unix/bsd/ptsname.c: Likewise.
19789 * sysdeps/unix/bsd/seekdir.c: Likewise.
19790 * sysdeps/unix/bsd/setegid.c: Likewise.
19791 * sysdeps/unix/bsd/seteuid.c: Likewise.
19792 * sysdeps/unix/bsd/setgid.c: Likewise.
19793 * sysdeps/unix/bsd/setrgid.c: Likewise.
19794 * sysdeps/unix/bsd/setruid.c: Likewise.
19795 * sysdeps/unix/bsd/setsid.c: Likewise.
19796 * sysdeps/unix/bsd/setuid.c: Likewise.
19797 * sysdeps/unix/bsd/sigaction.c: Likewise.
19798 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19799 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19800 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19801 * sysdeps/unix/bsd/telldir.c: Likewise.
19802 * sysdeps/unix/bsd/times.c: Likewise.
19803 * sysdeps/unix/bsd/usleep.c: Likewise.
19804
029c7b25
JM
19805 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19806 ($(objpfx)libbsd-compat.a): Remove rule.
19807
7011c262
JM
19808 * include/features.h (__FAVOR_BSD): Do not define.
19809 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19810 features conflicting with POSIX.
19811 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19812 (_BSD_SOURCE): Remove description of not being a subset of other
19813 feature test macros.
19814 * manual/job.texi (getpgrp): Do not document BSD version.
19815 (getpgid): Do not document by reference to BSD getpgrp.
19816 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19817 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19818 * signal/signal.h [__FAVOR_BSD]: Likewise.
19819 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19820 instead of making contents conditional on [__FAVOR_BSD].
19821 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19822
affb6f78
AZ
198232013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19824
19825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19826
c88769dd
JM
198272013-12-17 Joseph Myers <joseph@codesourcery.com>
19828
6432a540
JM
19829 [BZ #16314]
19830 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19831 values below 2**-450, not 2**-500.
19832 * math/auto-libm-test-in: Don't allow spurious underflow from
19833 hypot.
19834 * math/auto-libm-test-out: Regenerated.
19835
c88769dd
JM
19836 [BZ #16316]
19837 [BZ #16330]
19838 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19839 values of ha and hb and sort them after adjusting subnormal
19840 arguments.
19841 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19842 Likewise.
19843 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19844 values of ea and eb and sort them after adjusting subnormal
19845 arguments.
19846 * math/auto-libm-test-in: Do not expect some hypot tests of
19847 subnormals to fail. Add more hypot tests.
19848 * math/auto-libm-test-out: Regenerated.
19849
29618f6b
KK
198502013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19851
19852 [BZ #13304]
19853 * sysdeps/sh/s_fma.c: New file.
19854 * sysdeps/sh/s_fmaf.c: New file.
19855 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19856 version.
19857 * sysdeps/sh/Implies: Add sh/soft-fp.
19858
eacfdfbf
RM
198592013-12-16 Roland McGrath <roland@hack.frob.com>
19860
19861 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19862 level of indirection to members `objname', `errstring', `malloced'.
19863 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19864 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19865 it as the __longjmp argument (just pass 1 instead).
19866 (_dl_catch_error): Initialize C with argument pointers and address of
19867 volatile local ERRCODE rather than copying values out of C at return.
19868
ff362e5b
JM
198692013-12-16 Joseph Myers <joseph@codesourcery.com>
19870
19871 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19872 * math/auto-libm-test-out: Regenerated.
19873 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19874 (hypot_test_data): Likewise.
19875 (pow_test_data): Likewise.
19876 (pow_tonearest_test_data): Likewise.
19877 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19878 mpfr_ff_f.
19879 (func_calc_desc): Add mpfr_ff_f union field.
19880 (FUNC_mpfr_ff_f): New macro.
19881 (test_functions): Add atan2, hypot and pow.
19882 (special_fill_min): New function.
19883 (special_fill_minus_min): Likewise.
19884 (special_fill_min_subnorm): Likewise.
19885 (special_fill_minus_min_subnorm): Likewise.
19886 (special_real_inputs): Add min, -min, min_subnorm and
19887 -min_subnorm.
19888 (calc_generic_results): Handle mpfr_ff_f.
19889 * sysdeps/i386/fpu/libm-test-ulps: Update.
19890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19891
5764c27f
WN
198922013-12-16 Will Newton <will.newton@linaro.org>
19893
19894 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19895 (Aligned Memory Blocks): Add documentation for aligned_alloc
19896 and suggest it as an alternative to posix_memalign.
19897 (Hooks for Malloc): Document __memalign_hook is also called
19898 for aligned_alloc. (Summary of Malloc): Add summary for
19899 aligned alloc. Document __memalign_hook is also called
19900 for aligned_alloc.
19901
0a096e44
WN
199022013-12-16 Will Newton <will.newton@linaro.org>
19903
19904 * manual/memory.texi (Malloc Examples): Clarify default
19905 alignment documentation. Suggest posix_memalign rather
19906 than memalign or valloc.
19907 (Aligned Memory Blocks): Remove suggestion to use memalign
19908 or valloc. Remove obsolete comment about BSD.
19909 Document memalign errno values and mark the function obsolete.
19910 Document posix_memalign returned error codes. Mark valloc
19911 as obsolete. (Hooks for Malloc): __memalign_hook is also
19912 called for posix_memalign and valloc.
19913 (Summary of Malloc): Add posix_memalign to function summary.
19914 __memalign_hook is also called for posix_memalign and valloc.
19915
8d561986
SP
199162013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19917
19918 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19919 TAYLOR_SIN.
19920 (__sin): Adjust.
19921 (__cos): Likewise.
19922 (sloww): Use mynumber union. Expand ternary operator into
19923 if-else statements.
19924 (cslow): use mynumber union.
19925
73616a74
AM
199262013-12-16 Allan McRae <allan@archlinux.org>
19927
9e8ac24b
AM
19928 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19929 * configure: Regenerated.
19930
6f8e37eb
AM
19931 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19932
8894bad3
AM
19933 [BZ #14120]
19934 * configure.ac: Added --enable-maintainer-mode. Check for
19935 autoconf when enabled.
19936 * configure: Regenerated.
19937
73616a74
AM
19938 * nscd/nscd.service: New file.
19939 * nscd/nscd.tmpfiles: New file.
19940
584b18eb
OB
199412013-12-14 Ondřej Bílka <neleai@seznam.cz>
19942
19943 [BZ #12100]
19944 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19945 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19946 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19947 (strstr): Add __strstr_sse2_unaligned ifunc.
19948 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19949 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19950 (strcasestr): Remove __strcasestr_sse42 ifunc.
19951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19954
8a5c7897
KK
199552013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19956
19957 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19958 * sysdeps/sh/bits/fenv.h: ... here.
19959 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19960
fd712ef3
AZ
199612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19962
19963 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19964
42fcb46c
AZ
19965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19966 hypotf multiarch implementations.
19967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19970 multiarch hypot for PPC64.
19971 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19972 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19973 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19974 multiarch hypotf for PPC64.
19975
83efded4
AZ
19976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19977 modff multiarch implementations.
19978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19981 multiarch modf for PPC64.
19982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19985 multiarch modff for PPC64.
19986
43e246d2
AZ
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19988 and logl multiarch implementations.
19989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19992 multiarch logb for PPC64.
19993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19996 multiarch logb for PPC64.
19997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20000 multiarch logb for PPC64.
20001
8fdad123
AZ
20002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20003 isinff multiarch implementation.
20004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20005 file.
20006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20008 multiarch isinf for PPC64.
20009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20010 file.
20011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20012 multiarch isinff for PPC64.
20013
1481d706
AZ
20014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20015 finitef multiarch implementation.
20016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20017 file.
20018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20020 multiarch finite for PPC64.
20021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20022 file.
20023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20024 multiarch finitef for PPC64.
20025
5ccd5fc8
AZ
20026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20027 lrint multiarch implementation.
20028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20029 file.
20030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20032 multiarch llrint for PPC64.
20033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20034 multiarch lrint for PPC64.
20035
2568f3fa
AZ
20036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20037 copysignf multiarch implementation.
20038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20039 file.
20040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20041 file.
20042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20043 multiarch copysign for PPC64.
20044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20045 multiarch copysignf for PPC64.
20046
1cb341fd
AZ
20047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20048 multiarch implementation.
20049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20050 file.
20051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20052 file.
20053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20054 file.
20055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20056 file.
20057 multiarch llround for PPC64.
20058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20059 multiarch trunc for PPC64.
20060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20061 multiarch truncf for PPC64.
20062
59a3e194
AZ
20063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20064 multiarch implementation.
20065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20066 file.
20067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20068 file.
20069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20070 file.
20071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20072 file.
20073 multiarch llround for PPC64.
20074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20075 multiarch round for PPC64.
20076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20077 multiarch roundf for PPC64.
20078
357fd3b4
AZ
20079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20080 multiarch implementation.
20081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20082 file.
20083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20084 file.
20085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20086 file.
20087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20088 file.
20089 multiarch llround for PPC64.
20090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20091 multiarch floor for PPC64.
20092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20093 multiarch floorf for PPC64.
20094
96770f12
AZ
20095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20096 multiarch implementation.
20097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20098 file.
20099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20100 file.
20101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20102 file.
20103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20104 file.
20105 multiarch llround for PPC64.
20106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20107 multiarch ceil for PPC64.
20108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20109 multiarch ceilf for PPC64.
20110
c3627f6e
AZ
20111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20112 multiarch implementation.
20113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20114 file.
20115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20116 file.
20117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20118 file.
20119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20120 multiarch llround for PPC64.
20121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20122 multiarch lround for PPC64.
20123
b2284ad7
AZ
20124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20125 multiarch implementation.
20126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20129 file.
20130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20133 multiarch isnan for PPC64.
20134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20135 multiarch isnanf for PPC64.
20136
69bbc63d
AZ
20137 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20138 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20139 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20140 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20141 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20143
c24517c9
AZ
20144 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20145 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20148
a52374e8
AZ
20149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20150 multiarch implementations.
20151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20152 (__libc_ifunc_impl_list): Likewise.
20153 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20154 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20155 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20156 multiarch stpcpy for PPC64.
20157
7f5ec113
AZ
20158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20159 multiarch implementations.
20160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20161 (__libc_ifunc_impl_list): Likewise.
20162 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20163 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20164 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20165 multiarch strcpy for PPC64.
20166
e28bcd42
AZ
20167 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20168 redefine function name.
20169 (_wordcopy_fwd_dest_aligned): Likewise.
20170 (_wordcopy_bwd_aligned): Likewise.
20171 (_wordcopy_bwd_dest_aligned): Likewise.
20172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20173 multiarch implementations.
20174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20175 (__libc_ifunc_impl_list): Likewise.
20176 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20178 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20179 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20180 multiarch wcscpy for PPC64.
20181
92cacfce
AZ
20182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20183 multiarch implementations.
20184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20185 (__libc_ifunc_impl_list): Likewise.
20186 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20187 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20188 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20190 multiarch wcscpy for PPC64.
20191
7b714620
AZ
20192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20193 multiarch implementations.
20194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20195 (__libc_ifunc_impl_list): Likewise.
20196 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20197 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20198 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20199 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20200 multiarch wcsrchr for PPC64.
20201
16fd2ae3
AZ
20202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20203 multiarch implementations.
20204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20205 (__libc_ifunc_impl_list): Likewise.
20206 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20207 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20208 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20209 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20210 multiarch wcschr for PPC64.
20211
9ee2969b
AZ
20212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20213 multiarch implementations.
20214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20215 (__libc_ifunc_impl_list): Likewise.
20216 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20217 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20218 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20219 multiarch strchrnul for PPC64.
20220
372dc060
AZ
20221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20222 implementations.
20223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20224 (__libc_ifunc_impl_list): Likewise.
20225 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20226 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20227 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20228 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20229 strchr for PPC64.
20230
24c2c3b9
AZ
20231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20232 implementations.
20233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20234 (__libc_ifunc_impl_list): Likewise.
20235 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20236 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20237 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20238 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20239 strncmp for PPC64.
20240
1c92d9a0
AZ
20241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20242 multiarch implementations.
20243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20244 (__libc_ifunc_impl_list): Likewise.
20245 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20246 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20247 strncasecmp for PPC64.
20248 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20249 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20250 multiarch strncasecmp_l for PPC64.
20251
17de3ee3
AZ
20252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20253 multiarch implementations.
20254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20255 (__libc_ifunc_impl_list): Likewise.
20256 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20258 multiarch strcasecmp for PPC64.
20259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20260 file.
20261 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20262 multiarch strcasecmp_l for PPC64.
20263
62982bf9
AZ
20264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20265 implementations.
20266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20267 (__libc_ifunc_impl_list): Likewise.
20268 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20269 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20270 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20271 strnlen for PPC64.
20272
a65f4904
AZ
20273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20274 implementations.
20275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20276 (__libc_ifunc_impl_list): Likewise.
20277 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20278 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20279 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20280 strlen for PPC64.
20281
1fd005ad
AZ
20282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20283 implementations.
20284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20285 (__libc_ifunc_impl_list): Likewise.
20286 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20287 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20288 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20289 rawmemrchr for PPC64.
20290
cd05ba91
AZ
20291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20292 implementation.
20293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20294 (__libc_ifunc_impl_list): Likewise.
20295 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20296 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20297 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20298 memrchr for PPC64.
20299
870f8676
AZ
20300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20301 implementation.
20302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20303 (__libc_ifunc_impl_list): Likewise.
20304 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20305 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20306 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20307 memchr for PPC64.
20308
f00be62b
AZ
20309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20310 implementation.
20311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20312 (__libc_ifunc_impl_list): Likewise.
20313 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20314 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20315 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20316 mempcpy for PPC64.
20317
8a29a3d0
AZ
20318 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20319 avoid cretion of __bzero symbol.
20320 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20321 Likewise.
20322 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20323 Likewise.
20324 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20325 Likewise.
20326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20327 multiarch implementations.
20328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20329 (__libc_ifunc_impl_list): Likewise.
20330 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20331 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20332 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20333 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20334 bzero for PPC32.
20335 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20336 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20337 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20338 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20339 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20340 memset for PPC64.
20341 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20342
07253fcf
AZ
20343 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20345 implementations.
20346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20347 (__libc_ifunc_impl_list): Likewise.
20348 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20349 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20350 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20351 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20352 memcmp for PPC64.
20353
b5beafbc
AZ
20354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20355 multiarch for POWER/PPC64.
20356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20357 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20364 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20365 memcpy for PPC64.
20366
5e6a4d4b
AZ
20367 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20368 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20369 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20370 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20371 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20372 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20373 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20374 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20375 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20376 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20377 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20378 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20379 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20380 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20381 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20389
ddfab6dc
KK
203902013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20391
20392 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20393
19b5525e
SP
203942013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20395
20396 * benchtests/Makefile (bench): Add exp2 and log2.
20397 (LDLIBS-bench-exp2): Add -lm.
20398 (LDLIBS-bench-log2): Likewise.
20399 * benchtests/exp2-inputs: New inputs file.
20400 * benchtests/log2-inputs: New inputs file.
20401 * benchtests/log-inputs: Add new inputs.
20402 * benchtests/tan-inputs: Likewise.
20403
196f7f5d
SP
204042013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20405
7a74607f
SP
20406 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20407 definition...
57f41c40
AS
20408 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20409 (csloww2): ... from here.
7a74607f 20410
196f7f5d
SP
20411 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20412 instead of structures.
20413 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20414 (POLYNOMIAL): Likewise.
20415 (TAYLOR_SLOW): Likewise.
20416 (__sin): Likewise.
20417 (__cos): Likewise.
20418 (slow1): Likewise.
20419 (slow2): Likewise.
20420 (sloww): Likewise.
20421 (sloww1); Likewise.
20422 (sloww2): Likewise.
20423 (bsloww1): Likewise.
20424 (bsloww2): Likewise.
20425 (cslow2): Likewise.
20426 (csloww): Likewise.
20427 (csloww1): Likewise.
20428 (csloww2): Likewise.
20429
0dfa665c
OB
204302013-12-10 Ondřej Bílka <neleai@seznam.cz>
20431
20432 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20433 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20434 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20435 * malloc/hooks.c (realloc_check): Likewise.
20436
5782a80f
OB
20437 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20438 * malloc/arena.c: Remove PER_THREAD conditional.
20439 [!PER_THREAD]: Remove code.
20440 (ptmalloc_unlock_all2): Likewise.
20441 (ptmalloc_init): Likewise.
20442 (_int_new_arena): Likewise.
20443 (arena_get2): Likewise.
20444 * malloc/hooks.c (__malloc_get_state): Likewise.
20445 (__malloc_set_state): Likewise.
20446 * malloc/malloc.c: Likewise.
20447 (struct malloc_state): Likewise.
20448 (struct malloc_par): Likewise.
20449 (__libc_realloc): Likewise.
20450 (__libc_mallopt): Likewise.
20451
aeb95445
AZ
204522013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20453
20454 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20455
e8349efd
OB
204562013-12-09 Ondřej Bílka <neleai@seznam.cz>
20457
20458 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20459 macro to a function. Check for zero perturb_byte.
20460 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20461
f3eeb3fc 20462 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20463 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20464 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20465 force_reg by atomic_forced_read.
20466 * malloc/arena.c (ptmalloc_init): Likewise.
20467 * malloc/hooks.c (top_check): Likewise.
20468
be2f9009
AZ
204692013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20470
20471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20472
e7b914bd
MT
204732013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20474
20475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20476
9f0be4f8
JM
204772013-12-08 Joseph Myers <joseph@codesourcery.com>
20478
20479 * math/auto-libm-test-in: Add tests of lgamma.
20480 * math/auto-libm-test-out: Regenerated.
20481 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20482 (M_LOG_2_SQRT_PIl): Likewise.
20483 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20484 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20485 mpfr_f_f1.
20486 (func_calc_desc): Add mpfr_f_f1 union field.
20487 (ARGS1): New macro.
20488 (ARGS2): Likewise.
20489 (ARGS3): Likewise.
20490 (ARGS4): Likewise.
20491 (RET1): Likewise.
20492 (RET2): Likewise.
20493 (CALC): Likewise.
20494 (FUNC): Likewise.
20495 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20496 (test_functions): Add lgamma.
20497 (calc_generic_results): Handle mpfr_f_f1.
20498 * sysdeps/i386/fpu/libm-test-ulps: Update.
20499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20500
24eeafdb
AZ
205012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20502
20503 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20504 __mpn_add_n for PowerPC64/POWER7.
20505 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20506 __mpn_sub_n for PowerPC64/POWER7.
20507
4a2c0fd4
AZ
20508 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20509 __mpn_addmul_1 for PowerPC64.
20510 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20511 __mpn_submul_1 for PowerPC64.
20512 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20513 for PowerPC64.
20514 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20515 for PowerPC64.
20516
4b5b548c
FS
205172013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20518
20519 [BZ #15089]
20520 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20521
0a3ac0aa
AZ
205222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20523
20524 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20525
ccdc8438
AZ
20526 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20527 add multiarch folders.
20528 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20529 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20530 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20531 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20532 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20533 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20534 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20535 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20536 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20537 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20538 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20545
2e973d99
AZ
20546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20547 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20549 New file.
20550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20551 New file.
20552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20553 multiarch __ieee754_hypot for PowerPC32.
20554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20555 New file.
20556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20557 New file.
20558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20559 multiarch __ieee754_hypotf for PowerPC32.
20560
2d9470b2
AZ
20561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20562 long_double_symbol only if __logbl is defined.
20563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20564 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20566 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20568 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20569 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20570 path for implementation.
20571 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20572 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20574 logb, and logbl multiarch implementations for PowerPC32.
20575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20576 file.
20577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20578 file.
20579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20580 multiarch logb for PowerPC32.
20581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20582 file.
20583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20584 file.
20585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20586 multiarch logbf for PowerPC32.
20587 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20589 file.
20590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20591 multiarch logbl implementation for PowerPC32.
20592
5212ffce
AZ
20593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20594 and modff multiarch implementations.
20595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20596 New file.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20598 New file.
20599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20600 multiarch modf for PowerPC32.
20601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20602 New file.
20603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20604 New file.
20605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20606 multiarch modff for PowerPC32.
20607
79dccf31
AZ
20608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20609 and lrintf multiarch implementations.
20610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20611 New file.
20612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20613 New file.
20614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20615 multiarch lrint for PowerPC32.
20616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20617 file: multiarch lrintf for PowerPC32.
20618
deb66480
AZ
20619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20620 and lroundf multiarch implementations.
20621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20622 New file.
20623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20624 New file.
20625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20626 New file.
20627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20628 multiarch lround for PowerPC32.
20629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20630 file: multiarch lroundf for PowerPC32.
20631
264b036b
AZ
20632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20633 copysign and copysignf multiarch implementations.
20634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20635 New file.
20636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20637 New file.
20638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20639 file: multiarch copysign for PowerPC32.
20640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20641 file: multiarch copysignf for PowerPC32.
20642
d47db6c9
AZ
20643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20644 and truncf multiarch implementations.
20645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20646 New file.
20647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20648 file.
20649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20650 multiarch trunc for PowerPC32.
20651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20652 New file.
20653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20654 New file.
20655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20656 multiarch truncf for PowerPC32.
20657
ddb60b5a
AZ
20658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20659 and roundf multiarch implementations.
20660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20661 New file.
20662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20663 file.
20664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20665 multiarch round for PowerPC32.
20666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20667 New file.
20668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20669 New file.
20670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20671 multiarch roundf for PowerPC32.
20672
bedcf49b
AZ
20673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20674 and floorf multiarch implementations.
20675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20676 New file.
20677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20678 file.
20679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20680 multiarch floor for PowerPC32.
20681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20682 New file.
20683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20684 New file.
20685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20686 multiarch floorf for PowerPC32.
20687
35ae5b40
AZ
20688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20689 and ceilf multiarch implementations.
20690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20691 New file.
20692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20693 file.
20694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20695 multiarch ceil for PowerPC32.
20696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20697 New file.
20698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20699 file.
20700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20701 multiarch ceilf for PowerPC32.
20702
ae1a4cd9
AZ
20703 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20704 is defined.
20705 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20706 FINITEF is defined.
20707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20708 and finitef multiarch implementations.
20709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20710 New file.
20711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20712 file.
20713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20714 multiarch finite for PowerPC32.
20715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20716 New file.
20717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20718 file: multiarch finitef for PowerPC32.
20719
64fffd65
AZ
20720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20721 and isinff multiarch implementations.
20722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20723 file.
20724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20725 file.
20726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20727 multiarch isinf for PowerPC32.
20728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20729 New file.
20730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20731 multiarch isinff for PowerPC32.
20732
8e4e7ba2
AZ
20733 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20734 alias when __isnan is defined.
20735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20736 and isnanf multiarch implementations.
20737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20738 file.
20739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20740 file.
20741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20742 file.
20743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20744 file.
20745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20746 multiarch isnan for PowerPC32.
20747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20748 New file.
20749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20750 New file.
20751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20752 multiarch isnanf for PowerPC32.
20753
ddba588e
AZ
20754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20755 and sqrtf multiarch implementations.
20756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20757 file.
20758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20759 file.
20760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20761 multiarch sqrt for PowerPC32.
20762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20763 file.
20764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20765 file.
20766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20767 multiarch sqrtf for PowerPC32.
20768
0f96a2f0
AZ
20769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20770 and llroundf multiarch implementations.
20771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20772 New file.
20773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20774 New file.
20775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20776 New file.
20777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20778 file: multiarch llround for PowerPC32.
20779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20780 file: multiarch llroundf for PowerPC32.
20781
c9b5d79e
AZ
20782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20783 multiarch PowerPC32 fpu implementations.
20784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20785 New file.
20786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20787 New file.
20788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20789 multiarch llrint for PowerPC32.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20791 New file.
20792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20793 New file.
20794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20795 file.
20796
9cbb3aab
AZ
20797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20798
ea5a72f8
AZ
20799 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20800 file.
20801 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20802 file.
20803 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20804 file.
20805 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20806 multiarch wordcopy for PPC32.
20807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20808 wordcopy objects.
20809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20810 (__libc_ifunc_impl_list): Likewise.
20811 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20812 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20813 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20814 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20815 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20816 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20817
93be09e7
AZ
20818 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20820 file.
20821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20822 file.
20823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20824 file.
20825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20826 multiarch wcscpy for PPC32.
20827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20828 multiarch objects.
20829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20830 (__libc_ifunc_impl_list): Likewise.
20831 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20832 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20833 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20834 sysdeps/powerpc/power6/wcscpy.c.
20835
bb04e529
AZ
20836 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20838 file.
20839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20840 file.
20841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20842 file.
20843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20844 multiarch wcsrchr for PPC32.
20845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20846 multiarch objects.
20847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20848 (__libc_ifunc_impl_list): Likewise.
20849 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20850 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20851 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20852 sysdeps/powerpc/power6/wcsrchr.c.
20853
05b5cd1c
AZ
20854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20855 file.
20856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20857 file.
20858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20860 multiarch wcschr for PPc32.
20861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20862 multiarch objects.
20863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20864 (__libc_ifunc_impl_list): Likewise.
20865 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20866 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20867 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20868 sysdeps/powerpc/power6/wcschr.c.
20869
ba964147
AZ
20870 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20871 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20872 file.
20873 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20874 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20875 file: multiarch strchr for PPC32.
20876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20877 multiarch objects.
20878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20879 (__libc_ifunc_impl_list): Likewise.
20880
31c81aaa
AZ
20881 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20882 name.
20883 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20884 file.
20885 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20886 file.
20887 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20888 multiarch strchrnul for PPC32.
20889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20890 multiarch objects.
20891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20892 (__libc_ifunc_impl_list): Likewise.
20893
0d0607d9
AZ
20894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20895 file.
20896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20897 multiarch strncasecmp for PPC32.
20898 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20899 file.
20900 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20901 multiarch strncasecmp_l for PPC32.
20902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20903 strncasecmp multiarch objects.
20904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20905 (__libc_ifunc_impl_list): Likewise.
20906
4dfd5c86
AZ
20907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20908 file.
20909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20910 multiarch strncasecmp for PPC32.
20911 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20912 New file.
20913 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20914 multiarch strcasecmp_l for PPC32.
20915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20916 multiarch objects.
20917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20918 (__libc_ifunc_impl_list): Likewise.
20919
a19e01a3
AZ
20920 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20921 file.
20922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20923 file.
20924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20925 multiarch strncmp for PPC32.
20926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20927 multiarch objects.
20928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20929 (__libc_ifunc_impl_list): Likewise.
20930
ae9cf7a2
AZ
20931 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20932 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20933 file.
20934 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20935 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20937 multiarch objects.
20938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20939 (__libc_ifunc_impl_list): Likewise.
20940
3148bb7d
AZ
20941 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20942 file.
20943 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20944 file.
20945 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20947 multiarch objects.
20948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20949 (__libc_ifunc_impl_list): Likewise.
20950
7af8b946
AZ
20951 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20952 file.
20953 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20954 file.
20955 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20956 multiarch rawmemchr for PPC32.
20957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20958 multiarch objects.
20959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20960 (__libc_ifunc_impl_list): Likewise.
20961
03a6aa6a
AZ
20962 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20963 file.
20964 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20965 file.
20966 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20967 file: memrchr multiarch for PPC32.
20968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20969 multiarch objects.
20970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20971 (__libc_ifunc_impl_list): Likewise.
20972
1c62e6d9
AZ
20973 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20974 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20975 file.
20976 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20977 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20978 multiarch memchr for PPC32.
20979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20980 multiarch objects.
20981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20982 (__libc_ifunc_impl_list): Likewise.
20983
87da8bdb
AZ
20984 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20985 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20986 file.
20987 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20988 file.
20989 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20990 file: multiarch mempcpy for PPC32.
20991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20992 multiarch objects.
20993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20994 (__libc_ifunc_impl_list): Likewise.
20995
20ed4714
AZ
20996 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20998 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20999 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21000 multiarch bzero for PPC32.
21001 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21002 file.
21003 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21004 file.
21005 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21006 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21007 file: multiarch memset for PPC32.
21008 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21010 memset multiarch objects.
21011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21012 (__libc_ifunc_impl_list): Likewise.
21013
ab3e3a46
AZ
21014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21015 file.
21016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21018 memcmp for PPC32.
21019 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21021 multiarch objects.
21022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21023 (__libc_ifunc_impl_list): Likewise.
21024
930de6f0
AZ
21025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21028 file.
21029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21030 file.
21031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21032 file.
21033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21034 multiarch memcpy for PPC32.
21035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21036 multiarch objects.
21037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21038 (__libc_ifunc_impl_list): Likewise.
21039
4c628e00
AZ
21040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21041 support multiarch for POWER/PPC32.
21042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21043 Likewise.
21044 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21046 Implies file to make multiarch folder appers before the fpu and
21047 default folder for power4 configuration.
21048
f4479220
SP
210492013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21050
21051 * scripts/bench.pl: Append volatile keyword to type.
21052
8517800f
KK
210532013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21054
21055 * sysdeps/sh/sotruss-lib.c: New file.
21056 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21057
180138f1
AZ
210582013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21059
21060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21061
bbf37bdc
JM
210622013-12-05 Joseph Myers <joseph@codesourcery.com>
21063
e47cc4e0
JM
21064 [BZ #6810]
21065 * math/w_tgamma.c: Include <errno.h>.
21066 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21067 * math/w_tgammaf.c: Include <errno.h>.
21068 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21069 * math/w_tgammal.c: Include <errno.h>.
21070 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21071 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21072 underflow. Add more tgamma tests.
21073 * math/auto-libm-test-out: Regenerated.
21074 * sysdeps/i386/fpu/libm-test-ulps: Update.
21075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21076
bbf37bdc
JM
21077 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21078 sin, sinh, tan, tanh, tgamma, y0 and y1.
21079 * math/auto-libm-test-out: Regenerated.
21080 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21081 (TEST_COND_x86): Likewise.
21082 (M_E2l): Remove macro.
21083 (M_E3l): Likewise.
21084 (M_2_SQRT_PIl): Likewise.
21085 (M_SQRT_PIl): Likewise.
21086 (M_1_DIV_El): Likewise.
21087 (log_test_data): Use AUTO_TESTS_f_f.
21088 (log10_test_data): Likewise.
21089 (log1p_test_data): Likewise.
21090 (log2_test_data): Likewise.
21091 (sin_test_data): Likewise.
21092 (sin_tonearest_test_data): Likewise.
21093 (sin_towardzero_test_data): Likewise.
21094 (sin_downward_test_data): Likewise.
21095 (sin_upward_test_data): Likewise.
21096 (sinh_test_data): Likewise.
21097 (sinh_tonearest_test_data): Likewise.
21098 (sinh_towardzero_test_data): Likewise.
21099 (sinh_downward_test_data): Likewise.
21100 (sinh_upward_test_data): Likewise.
21101 (tan_test_data): Likewise.
21102 (tan_tonearest_test_data): Likewise.
21103 (tan_towardzero_test_data): Likewise.
21104 (tan_downward_test_data): Likewise.
21105 (tan_upward_test_data): Likewise.
21106 (tanh_test_data): Likewise.
21107 (tgamma_test_data): Likewise.
21108 (y0_test_data): Likewise.
21109 (y1_test_data): Likewise.
21110 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21111 (special_real_inputs): Add pi/4.
21112 * sysdeps/i386/fpu/libm-test-ulps: Update.
21113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21114
eb5ad6b9
AZ
211152013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21116
21117 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21118 "longjmp_target" static probes.
21119 (__longjmp): Rename to __longjmp_symbol.
21120 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21121 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21122 on which longjmp to generate.
21123 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21124 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21125 probe.
21126 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21127 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21128 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21129 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21130 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21131 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21133 __longjmp_symbol based on which __longjmp to generate.
21134 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21135 probe.
21136 (setjmp): Rename to setjmp_symbol.
21137 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21138 (_setjmp): Rename to _setjmp_symbol.
21139 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21140 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21141 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21142 which setjmp to generate.
21143 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21144 "longjmp_target" static probes.
21145
d136c6dc
SP
211462013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21147
9298ecba
SP
21148 * benchtests/README: Add note about output arguments.
21149 * benchtests/bench-sincos.c: Remove file.
21150 * benchtests/sincos-inputs: New file.
21151 * scripts/bench.pl: Identify output arguments and define
21152 static variables for them.
21153
232983e9
SP
21154 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21155
d136c6dc
SP
21156 [BZ #15941]
21157 * Makefile (INSTALL): Add install-plain.texi as the primary
21158 dependency.
21159 * manual/install-plain.texi: New file.
21160 * manual/install.texi: Include node directive only for
21161 non-plaintext output.
21162
699ff837
JM
211632013-12-04 Joseph Myers <joseph@codesourcery.com>
21164
ab07cea8
JM
21165 * stdlib/longlong.h: Update from GCC.
21166
699ff837
JM
21167 [BZ #6807]
21168 [BZ #15901]
21169 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21170 * math/w_j0f.c (y0f): Likewise.
21171 * math/w_j0l.c (__y0l): Likewise.
21172 * math/w_j1.c (y1): Likewise.
21173 * math/w_j1f.c (y1f): Likewise.
21174 * math/w_j1l.c (__y1l): Likewise
21175 * math/w_jn.c (yn): Likewise.
21176 * math/w_jnf.c (ynf): Likewise.
21177 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21178 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21179 value for Bessel function domain errors outside _SVID_ mode.
21180 Adjust sign of return value for yn (negative integer, 0).
21181 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21182 by zero in return for negative x and set sign appropriately for
21183 negative n.
21184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21185 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21186 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21187 expectations in error cases.
21188 (y1_test_data): Likewise.
21189 (yn_test_data): Likewise.
21190 * sysdeps/i386/fpu/libm-test-ulps: Update.
21191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21192
5b118558
UW
211932013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21194
21195 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21196 "64" to "64-v1". Add "64-v2".
21197 (abi-64-options): Rename to ...
21198 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21199 (abi-64-condition): Rename to ...
21200 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21201 (abi-64-ld-soname): Rename to ...
21202 (abi-64-v1-ld-soname): ... this.
21203 (abi-64-v2-options): Define.
21204 (abi-64-v2-condition): Likewise.
21205 (abi-64-v2-ld-soname): Likewise.
21206 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21207 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21211
61cd8fe4
UW
212122013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21213 Alan Modra <amodra@gmail.com>
21214
21215 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21216 New versions for use with the ELFv2 ABI.
21217 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21218 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21219 declaration.
21220 (struct La_ppc64v2_retval): Likewise.
21221 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21222 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21223 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21224 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21225 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21226 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21227 Do not save or restore CR.
21228 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21229 (_dl_profile_resolve): Do no save or restore CR. Support extended
21230 return values for ELFv2 ABI. Fix location of FPR return registers.
21231 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21232 updated values for _CALL_ELF == 2.
21233 (La_regs, La_retval, int_retval): Likewise.
21234
8b8a692c
UW
212352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21236
21237 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21238 (FRAME_MIN_SIZE_PARM): Likewise.
21239 (FRAME_BACKCHAIN): Likewise.
21240 (FRAME_CR_SAVE): Likewise.
21241 (FRAME_LR_SAVE): Likewise.
21242 (FRAME_TOC_SAVE): Likewise.
21243 (FRAME_PARM_SAVE): Likewise.
21244 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21245 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21246 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21247 (call_mcount_parm_offset): New macro.
21248 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21249 (PROF): Use symbolic stack frame offsets.
21250 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21251 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21252 Redefine in terms of FRAME_MIN_SIZE.
21253 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21254 (_dl_profile_resolve): Likewise. Update comment.
21255 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21256 symbols stack frame offsets.
21257 (__sigsetjmp): Likewise.
21258 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21259 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21260 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21261 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21262
21263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21264 (FRAME_BACKCHAIN): Remove.
21265 (FRAME_CR_SAVE): Likewise.
21266 (FRAME_LR_SAVE): Likewise.
21267 (FRAME_COMPILER_DW): Likewise.
21268 (FRAME_LINKER_DW): Likewise.
21269 (FRAME_TOC_SAVE): Likewise.
21270 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21271 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21272 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21273 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21275 (CHECK_SP): Use symbolic stack frame offsets.
21276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21277 zone" instead of caller's parameter save area for temp storage.
21278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21279 Likewise. Also, use symbolic stack frame offsets.
21280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21281 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21282 our own stack frame instead of the caller's.
21283 (__socket): Use symbolic stack frame offsets.
21284
122b66de
UW
212852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21286 Alan Modra <amodra@gmail.com>
21287
21288 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21289 Define.
57f41c40
AS
21290 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21291 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21292 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21293 New function.
21294 (elf_machine_fixup_plt): Call it.
21295 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21296 reloc arguments.
21297 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21298 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21299 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21300 r2 before calling target.
21301
696caf1d
UW
213022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21303 Alan Modra <amodra@gmail.com>
21304
21305 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21306 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21307 versions of macros to support ELFv2 ABI.
21308 (LOCALENTRY): New macro.
21309 (ENTRY, EALIGN): Use it.
21310 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21311 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21312 fall through into ENTRY entry point.
21313 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21314 Only define if _CALL_ELF != 2.
21315
21316 (elf_machine_matches_host): Verify ABI version matches.
21317 (RTLD_START): Use LOCALENTRY.
21318 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21319 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21320 (PLT_ENTRY_WORDS): New macro.
21321 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21322 (elf_machine_runtime_setup): Support ELFv2 ABI.
21323 (elf_machine_fixup_plt): Likewise.
21324 (elf_machine_plt_conflict): Likewise.
21325 (resolve_ifunc): Likewise.
21326 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21328 Likewise.
21329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21330 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21332 (makecontext): Support ELFv2 ABI.
21333 * elf/elf.h (EF_PPC64_ABI): Define.
21334
d31beafa
UW
213352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21336
57f41c40
AS
21337 * sysdeps/powerpc/powerpc64/sysdep.h
21338 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21339 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21340 (ENTRY) [ASSEMBLER]: ... but instead here ...
21341 (EALIGN) [ASSEMBLER]: ... and here.
21342 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21343 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21344 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21345 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21346 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21347 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21348 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21349 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21351 Use PPC64_LOAD_FUNCPTR.
21352
b525166b
UW
21353 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21354
7ec07d9a
AM
213552013-12-04 Alan Modra <amodra@gmail.com>
21356
21357 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21358 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21359 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21360 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21361
21362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21363 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21364 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21365 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21366 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21367 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21368
5162e7dd
UW
213692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21370
21371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21372 (__makecontext): Fix incorrect CFI when backtracing out of
21373 context created via makecontext.
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21375 (__setcontext): Fix incorrect CFI during switch to new context.
21376 (__novec_setcontext): Likewise.
21377
19e3372b
OB
213782013-12-04 Ondřej Bílka <neleai@seznam.cz>
21379
21380 [BZ #4772]
21381 * time/strptime_l.c (__strptime_internal): Allow modifiers
21382 in strptime.
21383 * time/tst-strptime.c (day_tests): Add testcase.
21384
ecaf142d
SP
213852013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21386
21387 * scripts/bench.pl: Skip over blank lines.
21388
fbf964ae
PE
213892013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21390
21391 [BZ #926]
21392 * manual/time.texi (Calendar Time): Clarify what timezone functions
21393 use.
21394
fa60a674
AZ
213952013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21396
21397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21398
d674f0ef
OB
213992013-12-04 Ondřej Bílka <neleai@seznam.cz>
21400
21401 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21402 implementation.
21403 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21404 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21405 * debug/memset_chk.c (__memset_chk): Likewise.
21406 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21407 * debug/strncpy_chk.c: Likewise.
21408
17dea188
JM
214092013-12-03 Joseph Myers <joseph@codesourcery.com>
21410
749008ff
JM
21411 [BZ #15268]
21412 [BZ #15425]
21413 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21414 (__ieee754_exp): For possibly underflowing results, check size of
21415 result and force underflow exception if required.
21416 * math/auto-libm-test-in: Add more tests of exp.
21417 * math/auto-libm-test-out: Regenerated.
21418 * sysdeps/i386/fpu/libm-test-ulps: Update.
21419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21420
17dea188
JM
21421 [BZ #16283]
21422 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21423 * math/w_exp2f.c (__exp2f): Likewise.
21424 * math/w_exp2l.c (__exp2l): Likewise.
21425 * math/auto-libm-test-in: Do not allow missing errno on exp2
21426 underflow.
21427 * math/auto-libm-test-out: Regenerated.
21428
b20de2c3
OB
214292013-12-03 Ondřej Bílka <neleai@seznam.cz>
21430
21431 [BZ #16274]
21432 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21433 handle filename validation.
21434 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21435 (do_open): Delete.
21436
d8e2dbe3
JM
214372013-12-03 Joseph Myers <joseph@codesourcery.com>
21438
34e16df5
JM
21439 [BZ #6786]
21440 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21441 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21442 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21443 <float.h>.
21444 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21445 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21446 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21448 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21449 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21450 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21451 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21452 Add more erfc tests.
21453 * math/auto-libm-test-out: Regenerated.
21454 * sysdeps/i386/fpu/libm-test-ulps: Update.
21455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21456
d8e2dbe3
JM
21457 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21458 exp2, expm1, j0 and j1.
21459 * math/auto-libm-test-out: Regenerated.
21460 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21461 (erfc_test_data): Likewise.
21462 (exp_test_data): Likewise.
21463 (exp_tonearest_test_data): Likewise.
21464 (exp_towardzero_test_data): Likewise.
21465 (exp_downward_test_data): Likewise.
21466 (exp_upward_test_data): Likewise.
21467 (exp10_test_data): Likewise.
21468 (exp2_test_data): Likewise.
21469 (expm1_test_data): Likewise.
21470 (j0_test_data): Likewise.
21471 (j1_test_data): Likewise.
21472 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21473 (input_flag_type): Add flag_xfail_rounding.
21474 (input_flags): Add xfail-rounding.
21475 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21476 (output_for_one_input_case): Handle flag_xfail_rounding.
21477 * sysdeps/i386/fpu/libm-test-ulps: Update.
21478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21479
18d14251
AJ
214802013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21481
3d2e6075 21482 [BZ #16289]
18d14251
AJ
21483 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21484 division by 0.
21485
520d437b
SP
214862013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21487
21488 [BZ #16195]
21489 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21490 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21491 (STAP_PROBE0): New macro.
21492 (STAP_PROBE1): Likewise.
21493 (STAP_PROBE2): Likewise.
21494 (STAP_PROBE3): Likewise.
21495 (STAP_PROBE4): Likewise.
21496
416e0145
OB
214972013-12-02 Ondřej Bílka <neleai@seznam.cz>
21498
21499 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21500
9d17796a
SE
215012013-12-02 Steve Ellcey <sellcey@mips.com>
21502
21503 * benchtests/Makefile (bench): Add sqrt.
21504 (LDLIBS-bench-sqrt): New.
21505 * benchtests/sqrt-input: New.
21506
f524d6a8
PS
215072013-12-02 Pavel Simerda <psimerda@redhat.com>
21508
639a0ef8
PS
21509 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21510 (GAIH_EAI): Likewise.
21511 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21512 (gaih_inet): Likewise.
21513 (getaddrinfo): Don't use GAIH_EAI.
21514
f524d6a8
PS
21515 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21516 (struct gaih): Remove definition.
21517
df3aedaf
SP
215182013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21519
21520 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21521 Use HERRNOP directly.
21522
1ab19dec
AZ
215232013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21524
b42ad38d 21525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21526
176b0c79
JM
215272013-11-30 Joseph Myers <joseph@codesourcery.com>
21528
21529 * math/gen-auto-libm-tests.c (test_functions): Add more
21530 single-argument functions.
21531 (special_fill_pi_2): New function.
21532 (special_fill_minus_pi_2): Likewise.
21533 (special_fill_pi_6): Likewise.
21534 (special_fill_minus_pi_6): Likewise.
21535 (special_fill_pi_3): Likewise.
21536 (special_fill_2pi_3): Likewise.
21537 (special_fill_e): Likewise.
21538 (special_fill_1_e): Likewise.
21539 (special_fill_e_minus_1): Likewise.
21540 (special_real_inputs): Add more special inputs.
21541 (output_for_one_input_case): Do not require ERANGE on underflow to
21542 zero if round-to-nearest result does not underflow to zero, unless
21543 exact results required.
21544 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21545 atan, atanh, cbrt, cos and cosh.
21546 * math/auto-libm-test-out: Regenerated.
21547 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21548 (acos_tonearest_test_data): Likewise.
21549 (acos_towardzero_test_data): Likewise.
21550 (acos_downward_test_data): Likewise.
21551 (acos_upward_test_data): Likewise.
21552 (acosh_test_data): Likewise.
21553 (asin_test_data): Likewise.
21554 (asin_tonearest_test_data): Likewise.
21555 (asin_towardzero_test_data): Likewise.
21556 (asin_upward_test_data): Likewise.
21557 (asinh_test_data): Likewise.
21558 (atan_test_data): Likewise.
21559 (atanh_test_data): Likewise.
21560 (cbrt_test_data): Likewise.
21561 (cos_test_data): Likewise.
21562 (cos_tonearest_test_data): Likewise.
21563 (cos_towardzero_test_data): Likewise.
21564 (cos_downward_test_data): Likewise.
21565 (cos_upward_test_data): Likewise.
21566 (cosh_test_data): Likewise.
21567 (cosh_tonearest_test_data): Likewise.
21568 (cosh_towardzero_test_data): Likewise.
21569 (cosh_downward_test_data): Likewise.
21570 (cosh_upward_test_data): Likewise.
21571 * sysdeps/i386/fpu/libm-test-ulps: Update.
21572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21573
ffb536d0
JM
215742013-11-29 Joseph Myers <joseph@codesourcery.com>
21575
2a77a467
JM
21576 [BZ #6787]
21577 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21578 * math/w_exp10f.c (__exp10f): Likewise.
21579 * math/w_exp10l.c (__exp10l): Likewise.
21580 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21581 errno settings in existing tests.
21582
ea3bc4e8
JM
21583 [BZ #14032]
21584 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21585 precision control set to double precision.
21586 * sysdeps/i386/fpu/w_sqrt.c: New file.
21587 * math/auto-libm-test-in: Add more tests.
21588 * math/auto-libm-test-out: Update.
21589
0712c9d8
JM
21590 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21591 (sqrt_test_tonearest): New function.
21592 (sqrt_towardzero_test_data): New variable.
21593 (sqrt_test_towardzero): New function.
21594 (sqrt_downward_test_data): New variable.
21595 (sqrt_test_downward): New function.
21596 (sqrt_upward_test_data): New variable.
21597 (sqrt_test_upward): New function.
21598 (main): Call the new functions.
21599
ffb536d0
JM
21600 * math/gen-auto-libm-tests.c: New file.
21601 * math/auto-libm-test-in: Likewise.
21602 * math/auto-libm-test-out: New generated file.
21603 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21604 variables.
21605 (%beautify): Add generated representations of zero.
21606 (top level): Set $auto_input and call parse_auto_input.
21607 (beautify): Remove trailing "f" from hex float constants.
21608 (parse_args): Handle XFAIL_TEST.
21609 (convert_condition): New function.
21610 (or_value): Likewise.
21611 (or_cond_value): Likewise.
21612 (generate_testfile): Handle AUTO_TESTS_* lines.
21613 (parse_auto_input): New function.
21614 * math/libm-test.inc (XFAIL_TEST): New macro.
21615 (ERRNO_UNCHANGED): Update value.
21616 (ERRNO_EDOM): Likewise.
21617 (ERRNO_ERANGE): Likewise.
21618 (IGNORE_RESULT): Likewise.
21619 (TEST_COND_flt_32): New macro.
21620 (TEST_COND_dbl_64): Likewise.
21621 (TEST_COND_ldbl_96_intel): Likewise.
21622 (TEST_COND_ldbl_96_m68k): Likewise.
21623 (TEST_COND_ldbl_128): Likewise.
21624 (TEST_COND_ldbl_128ibm): Likewise.
21625 (TEST_COND_long32): Likewise.
21626 (TEST_COND_long64): Likewise.
21627 (TEST_COND_before_rounding): Likewise.
21628 (TEST_COND_after_rounding): Likewise.
21629 (enable_test): Handle XFAIL_TEST flag.
21630 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21631 with finite results.
21632 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21633 auto-libm-test-out.
21634
acd98a8e
AK
216352013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21636 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21637
21638 [BZ #16214]
21639 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21640 __tls_get_addr_internal instead of __tls_get_offset in order to
21641 avoid GOT pointer dependency. Make rtld export
21642 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21643 __tls_get_addr since we are a __tls_get_offset platform.
21644 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21645 GOT pointer being set up before.
21646 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21647
3c1c46a6
JM
216482013-11-28 Joseph Myers <joseph@codesourcery.com>
21649
7475aef5
JM
21650 * manual/math.texi (Errors in Math Functions): Document accuracy
21651 goals.
21652
8bca7cd8
JM
21653 [BZ #15004]
21654 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21655 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21658 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21660 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21664 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21670
91a1f3fe
JM
21671 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21672 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21673 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21674 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21675 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21676 Likewise.
21677 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21678 Likewise.
21679 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21680 Likewise.
21681 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21682 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21683 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21684 atomic-feupdateenv and flt-rounds.
21685 * sysdeps/powerpc/nofpu/Versions (libc): Add
21686 __atomic_feholdexcept, __atomic_feclearexcept,
21687 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21688 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21689 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21690 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21691 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21692 here.
21693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21694 Update.
21695
c5df7609
JM
21696 * manual/arith.texi (FP Exceptions): Document that exceptions may
21697 not be raised when matherr is used.
21698 (Math Error Reporting): Document overflow in directed rounding
21699 modes. Document that errno may not be set when finite values are
21700 returned on overflow. Document intent to set errno on underflow
21701 only for underflow to zero.
21702
3c1c46a6
JM
21703 [BZ #16271]
21704 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21705 round-to-nearest then adjust result for other rounding modes.
21706 * include/fenv.h (fegetround): Use libm_hidden_proto.
21707 * math/fegetround.c (fegetround): Use libm_hidden_def.
21708 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21709 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21710 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21711 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21712 Likewise.
21713 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21715 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21716 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21717
5a4c6d53
SP
217182013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21719
21720 [BZ #16077]
21721 * nss/Versions (libnss_files): Add
21722 _nss_files_gethostbyname3_r.
21723 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21724 New function.
21725 (HOST_DB_LOOKUP): Remove macro.
21726 (_nss_files_gethostbyname_r): Implement function without the
21727 HOST_DB_LOOKUP macro.
21728 (_nss_files_gethostbyname2_r): Likewise.
21729
897b98ba
OB
217302013-11-28 Ondřej Bílka <neleai@seznam.cz>
21731
21732 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21733
6f476861
UB
217342013-11-26 Uros Bizjak <ubizjak@gmail.com>
21735
21736 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21737 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21738 warning.
21739
bd12ab55
AZ
217402013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21741
21742 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21743 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21744 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21745 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21746 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21747 __fe_nomask_env_priv and attribute_hidden.
21748 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21749 (libc_feupdateenv_test_ppc): Likewise.
21750 (libc_feresetround_ppc): Likewise.
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21752 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21753 compat_symbol macro.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21755 (__fe_nomask_env): Likewise.
21756 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21757
52bb6543
OB
217582013-11-26 Ondřej Bílka <neleai@seznam.cz>
21759
21760 * string/Makefile: Remove ifunc tests.
21761 * string/test-string.h: Define TEST_IFUNC.
21762 * string/test-bcopy-ifunc.c: Remove.
21763 * string/test-bzero-ifunc.c: Likewise.
21764 * string/test-memccpy-ifunc.c: Likewise.
21765 * string/test-memchr-ifunc.c: Likewise.
21766 * string/test-memcmp-ifunc.c: Likewise.
21767 * string/test-memcpy-ifunc.c: Likewise.
21768 * string/test-memmem-ifunc.c: Likewise.
21769 * string/test-memmove-ifunc.c: Likewise.
21770 * string/test-mempcpy-ifunc.c: Likewise.
21771 * string/test-memrchr-ifunc.c: Likewise.
21772 * string/test-memset-ifunc.c: Likewise.
21773 * string/test-rawmemchr-ifunc.c: Likewise.
21774 * string/test-stpcpy-ifunc.c: Likewise.
21775 * string/test-stpncpy-ifunc.c: Likewise.
21776 * string/test-strcasecmp-ifunc.c: Likewise.
21777 * string/test-strcasestr-ifunc.c: Likewise.
21778 * string/test-strcat-ifunc.c: Likewise.
21779 * string/test-strchr-ifunc.c: Likewise.
21780 * string/test-strchrnul-ifunc.c: Likewise.
21781 * string/test-strcmp-ifunc.c: Likewise.
21782 * string/test-strcpy-ifunc.c: Likewise.
21783 * string/test-strcspn-ifunc.c: Likewise.
21784 * string/test-strlen-ifunc.c: Likewise.
21785 * string/test-strncasecmp-ifunc.c: Likewise.
21786 * string/test-strncat-ifunc.c: Likewise.
21787 * string/test-strncmp-ifunc.c: Likewise.
21788 * string/test-strncpy-ifunc.c: Likewise.
21789 * string/test-strnlen-ifunc.c: Likewise.
21790 * string/test-strpbrk-ifunc.c: Likewise.
21791 * string/test-strrchr-ifunc.c: Likewise.
21792 * string/test-strspn-ifunc.c: Likewise.
21793 * string/test-strstr-ifunc.c: Likewise.
21794
ab260039 217952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21796
21797 * benchtests/Makefile: Remove ifunc tests.
21798 * benchtests/bench-string.h: Define TEST_IFUNC.
21799 * benchtests/bench-bcopy-ifunc.c: Remove.
21800 * benchtests/bench-bzero-ifunc.c: Likewise.
21801 * benchtests/bench-memccpy-ifunc.c: Likewise.
21802 * benchtests/bench-memchr-ifunc.c: Likewise.
21803 * benchtests/bench-memcmp-ifunc.c: Likewise.
21804 * benchtests/bench-memcpy-ifunc.c: Likewise.
21805 * benchtests/bench-memmem-ifunc.c: Likewise.
21806 * benchtests/bench-memmove-ifunc.c: Likewise.
21807 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21808 * benchtests/bench-memrchr-ifunc.c: Likewise.
21809 * benchtests/bench-memset-ifunc.c: Likewise.
21810 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21811 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21812 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21813 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21814 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21815 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21816 * benchtests/bench-strcat-ifunc.c: Likewise.
21817 * benchtests/bench-strchr-ifunc.c: Likewise.
21818 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21819 * benchtests/bench-strcmp-ifunc.c: Likewise.
21820 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21821 * benchtests/bench-strcpy-ifunc.c: Likewise.
21822 * benchtests/bench-strcspn-ifunc.c: Likewise.
21823 * benchtests/bench-strlen-ifunc.c: Likewise.
21824 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21825 * benchtests/bench-strncat-ifunc.c: Likewise.
21826 * benchtests/bench-strncmp-ifunc.c: Likewise.
21827 * benchtests/bench-strncpy-ifunc.c: Likewise.
21828 * benchtests/bench-strnlen-ifunc.c: Likewise.
21829 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21830 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21831 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21832 * benchtests/bench-strspn-ifunc.c: Likewise.
21833 * benchtests/bench-strstr-ifunc.c: Likewise.
21834
218352013-11-26 Ondřej Bílka <neleai@seznam.cz>
21836
ab260039
OB
21837 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21838
d1d9eaf4 218392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21840
d1d9eaf4
OB
21841 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21842 * rt/aio.h: Likewise.
21843 * sysdeps/gnu/bits/utmp.h: Likewise.
21844 * sysdeps/gnu/bits/utmpx.h: Likewise.
21845 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21846 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21847 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21848 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21849 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21850 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21851 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21852 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21853 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21854 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21855 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21856 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21857 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21860 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21861 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21862 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21863 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21864 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21865 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21866 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21867 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21868 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21869 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21871 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21872 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21873 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21874 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21875 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21876 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21877 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21878 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21879 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21880 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21881 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21882 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21883 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21884 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21885 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21886 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21887
a7624ed9
CD
218882013-11-25 Carlos O'Donell <carlos@redhat.com>
21889
21890 [BZ #16245]
21891 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21892 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21893
63cfe52b
JM
218942013-11-25 Joseph Myers <joseph@codesourcery.com>
21895
21896 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21897 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21898 Likewise.
21899
41e8926a
AZ
219002013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21901
21902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21903 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21904 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21905 (__fesetround): Remove define.
21906 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21907 rounding and exceptions handling.
21908 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21909 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21910 (__fe_nomask_env): Likewise.
21911 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21912 __fegetround instead of fegetround.
21913 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21914 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21915
6851bd4d
RM
219162013-11-21 Roland McGrath <roland@hack.frob.com>
21917
070906ff
RM
21918 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21919 it's there.
21920
6851bd4d
RM
21921 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21922
84ae135d
MI
219232013-11-21 Meador Inge <meadori@codesourcery.com>
21924
21925 [BZ #11157]
21926 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21927 (encrypt_r): Likewise.
21928 * malloc/obstack.h (obstack_free): Likewise.
21929 * posix/unistd.h (encrypt): Likewise.
21930
daf75146
GM
219312013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21932
21933 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21934 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21935 DL_CALL_DT_FINI() that call the functions directly.
21936 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21937 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21938 * elf/dl-fini.c: Likewise.
21939
10ad46bc
OB
219402013-11-20 Ondřej Bílka <neleai@seznam.cz>
21941
21942 * malloc/hooks.c (memalign_check): Add alignment rounding.
21943 * malloc/malloc.c (_mid_memalign): New function.
21944 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21945 Implement by calling _mid_memalign.
21946 * manual/probes.texi (Memory Allocation Probes): Remove
21947 memory_valloc_retry and memory_pvalloc_retry.
21948
f3fd2628
SP
219492013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21950
4712799f
SP
21951 * locale/programs/locarchive.c (open_archive): Add const
21952 qualifier to ARCHIVEFNAME and copy default fname to
21953 DEFAULT_FNAME.
21954
0417b20f
SP
21955 [BZ #15601]
21956 * libio/tst-widetext.input: Rename Oriya to Odia.
21957 * locale/iso-639.def: Likewise.
21958
f3fd2628
SP
21959 * manual/probes.texi (Mathematical Function Probes): Add
21960 documentation for sin, cos, asin and acos probes.
21961 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21962 (__sin32): Add slowasin probe.
21963 (__cos32): Add slowacos probe.
21964 (__mpsin): Add slowsin probe.
21965 (__mpcos): Add slowcos probe.
21966
73c1ce4f
JM
219672013-11-19 Joseph Myers <joseph@codesourcery.com>
21968
21969 [BZ #15483]
21970 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21971 thread-local __sim_exceptions_thread and global
21972 __sim_exceptions_global.
21973 (__sim_disabled_exceptions): Change to thread-local
21974 __sim_disabled_exceptions_thread and global
21975 __sim_disabled_exceptions_global.
21976 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21977 and global __sim_round_mode_global.
21978 (__simulate_exceptions): Use thread-local floating-point state and
21979 set global state from it as needed.
21980 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21981 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21982 __sim_round_mode_thread.
21983 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21984 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21985 and global __sim_exceptions_global.
21986 (__sim_disabled_exceptions): Change to thread-local
21987 __sim_disabled_exceptions_thread and global
21988 __sim_disabled_exceptions_global.
21989 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21990 and global __sim_round_mode_global.
21991 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21992 (SIM_SET_GLOBAL): Likewise.
21993 * sysdeps/powerpc/soft-fp/sfp-machine.h
21994 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21995 __sim_round_mode_thread.
21996 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21997 __sim_disabled_exceptions_thread.
21998 (__sim_exceptions): Change to __sim_exceptions_thread.
21999 (__sim_disabled_exceptions): Change to
22000 __sim_disabled_exceptions_thread.
22001 (__sim_round_mode): Change to __sim_round_mode_thread.
22002 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22003 thread-local floating-point state and set global state from it as
22004 needed.
22005 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22006 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22007 (__sim_disabled_exceptions): Remove extern declaration.
22008 (feenableexcept): Use thread-local floating-point state and set
22009 global state from it as needed.
22010 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22011 extern declaration.
22012 (__sim_disabled_exceptions): Likewise.
22013 (__sim_round_mode): Likewise.
22014 (__fegetenv): Use thread-local floating-point state.
22015 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22016 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22017 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22018 floating-point state and set global state from it as needed.
22019 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22020 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22021 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22022 Likewise.
22023 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22024 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22025 Likewise.
22026 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22027 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22028 Use __sim_round_mode_thread.
22029 * math/test-fenv-tls.c: New file.
22030 * math/Makefile (tests): Add test-fenv-tls.
22031 ($(objpfx)test-fenv-tls): Depend on
22032 $(common-objpfx)nptl/libpthread.so.
22033
b5449b12
AS
220342013-11-19 Andreas Schwab <schwab@suse.de>
22035
22036 * locale/programs/locale.c (show_info): Decode wordarray elements.
22037 * locale/categories.def (LC_MONETARY): Add element for
22038 _NL_MONETARY_CRNCYSTR.
22039 * locale/C-monetary.c (conversion_rate): New variable.
22040 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22041 element.
22042
e186536b
CM
220432013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22044
22045 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22046 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22047
5c349950
PP
220482013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22049
22050 * elf/Makefile (tst-auxv): New test.
22051 * elf/tst-auxv.c: New
22052 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22053
699df45b
JM
220542013-11-18 Joseph Myers <joseph@codesourcery.com>
22055
22056 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22057 (hidden_proto): Caller changed.
22058 (hidden_tls_proto): New macro.
22059 (libc_hidden_tls_proto): Likewise.
22060 (rtld_hidden_tls_proto): Likewise.
22061 (libm_hidden_tls_proto): Likewise.
22062 (libresolv_hidden_tls_proto): Likewise.
22063 (librt_hidden_tls_proto): Likewise.
22064 (libdl_hidden_tls_proto): Likewise.
22065 (libnss_files_hidden_tls_proto): Likewise.
22066 (libnsl_hidden_tls_proto): Likewise.
22067 (libnss_nisplus_hidden_tls_proto): Likewise.
22068 (libutil_hidden_tls_proto): Likewise.
22069
b7589107
OB
220702013-11-18 Ondřej Bílka <neleai@seznam.cz>
22071
22072 [BZ #10253]
22073 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22074 (decompose_rpath): Defer expansion to fillin_rpath.
22075 (_dl_init_paths): Pass linkmap to fillin_rpath.
22076
250c23bd
RS
220772013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22078
22079 * benchtests/Makefile: Add strsep.
22080 * benchtests/bench-strsep.c: New file: strsep benchtest.
22081 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22082
a7931fcf
AS
220832013-11-18 Andreas Schwab <schwab@suse.de>
22084
22085 * locale/programs/locale.c (show_info) [case byte]: Check for
22086 '\377' instead of '\177'.
22087 * locale/C-monetary.c (not_available): Always use "\377".
22088 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22089 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22090 detect unavailable sign_posn locale elements.
22091 * locale/localeconv.c (__localeconv): For grouping and
22092 mon_grouping handle "\177" and "\377" like no grouping.
22093 (INT_ELEM): New macro. Use it to set all numeric members.
22094 * locale/programs/ld-monetary.c (monetary_read)
22095 <tok_mon_grouping>: Normalize single -1 to the empty string.
22096 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22097 Likewise.
22098
728dab0e
OB
220992013-11-07 Ondřej Bílka <neleai@seznam.cz>
22100
22101 [BZ #16055]
22102 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22103 when we match (nil).
22104 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22105
66294491
JM
221062013-11-16 Joseph Myers <joseph@codesourcery.com>
22107
ce665817
JM
22108 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22109 (NO_TEST_INLINE): Update value.
22110 (ERRNO_UNCHANGED): Likewise.
22111 (ERRNO_EDOM): Likewise.
22112 (ERRNO_ERANGE): Likewise.
22113 (IGNORE_RESULT): Likewise.
22114 (check_float_internal): Check signs of NaN results if
22115 TEST_NAN_SIGN used.
22116 (check_complex): Pass TEST_NAN_SIGN flag through to second
22117 check_float_internal call.
22118 (copysign_test_data): Add tests with quiet NaNs as second
22119 argument. Use TEST_NAN_SIGN.
22120 (fabs_test_data): Add test of negative quiet NaN argument. Use
22121 TEST_NAN_SIGN.
22122 (signbit_test_data): Add tests of quiet NaN argument.
22123 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22124
ee1466a9
JM
22125 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22126 $ignore_result.
22127 (parse_args): Handle function results specified as IGNORE.
22128 * math/libm-test.inc (IGNORE_RESULT): New macro.
22129 (check_float_internal): Do not check numerical result if flag
22130 IGNORE_RESULT set.
22131 (check_complex): Pass through IGNORE_RESULT to second
22132 check_float_internal call.
22133 (check_int): Do not check numerical result if flag IGNORE_RESULT
22134 set.
22135 (check_long): Likewise.
22136 (check_bool): Likewise.
22137 (check_longlong): Likewise.
22138 (lrint_test_data): Add tests of infinite and NaN arguments.
22139 (lrint_tonearest_test_data): Likewise.
22140 (lrint_towardzero_test_data): Likewise.
22141 (lrint_downward_test_data): Likewise.
22142 (lrint_upward_test_data): Likewise.
22143 (llrint_test_data): Likewise.
22144 (llrint_tonearest_test_data): Likewise.
22145 (llrint_towardzero_test_data): Likewise.
22146 (llrint_downward_test_data): Likewise.
22147 (llrint_upward_test_data): Likewise.
22148 (lround_test_data): Likewise.
22149 (llround_test_data): Likewise.
22150
14407b7e
JM
22151 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22152 (ERRNO_UNCHANGED): Update value.
22153 (ERRNO_EDOM): Likewise.
22154 (ERRNO_ERANGE): Likewise.
22155 (NO_TEST_INLINE_FLOAT): New macro.
22156 (NO_TEST_INLINE_DOUBLE): Likewise.
22157 (enable_test): New function.
22158 (RUN_TEST_f_f): Check enable_test before running test.
22159 (RUN_TEST_2_f): Likewise.
22160 (RUN_TEST_fff_f): Likewise.
22161 (RUN_TEST_c_f): Likewise.
22162 (RUN_TEST_f_f1): Likewise.
22163 (RUN_TEST_fF_f1): Likewise.
22164 (RUN_TEST_fI_f1): Likewise.
22165 (RUN_TEST_ffI_f1): Likewise.
22166 (RUN_TEST_c_c): Likewise.
22167 (RUN_TEST_cc_c): Likewise.
22168 (RUN_TEST_f_i): Likewise.
22169 (RUN_TEST_f_i_tg): Likewise.
22170 (RUN_TEST_ff_i_tg): Likewise.
22171 (RUN_TEST_f_b): Likewise.
22172 (RUN_TEST_f_b_tg): Likewise.
22173 (RUN_TEST_f_l): Likewise.
22174 (RUN_TEST_f_L): Likewise.
22175 (RUN_TEST_fFF_11): Likewise.
22176 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22177 conditionals.
22178 (cosh_test_data): Likewise.
22179 (exp_test_data): Likewise.
22180 (expm1_test_data): Likewise.
22181 (hypot_test_data): Likewise.
22182 (pow_test_data): Likewise.
22183 (sinh_test_data): Likewise.
22184 (tanh_test_data): Likewise.
22185 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22186 flags argument.
22187
ca07f197
JM
22188 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22189 tests with quiet NaN input and output.
22190 (acosh_test_data): Likewise.
22191 (asin_test_data): Likewise.
22192 (asinh_test_data): Likewise.
22193 (atan_test_data): Likewise.
22194 (atanh_test_data): Likewise.
22195 (atan2_test_data): Likewise.
22196 (cbrt_test_data): Likewise.
22197 (cos_test_data): Likewise.
22198 (cosh_test_data): Likewise.
22199 (erf_test_data): Likewise.
22200 (erfc_test_data): Likewise.
22201 (exp_test_data): Likewise.
22202 (exp10_test_data): Likewise.
22203 (exp2_test_data): Likewise.
22204 (expm1_test_data): Likewise.
22205 (hypot_test_data): Likewise.
22206 (j0_test_data): Likewise.
22207 (j1_test_data): Likewise.
22208 (jn_test_data): Likewise.
22209 (lgamma_test_data): Likewise.
22210 (log_test_data): Likewise.
22211 (log10_test_data): Likewise.
22212 (log1p_test_data): Likewise.
22213 (log2_test_data): Likewise.
22214 (pow_test_data): Likewise.
22215 (scalb_test_data): Likewise.
22216 (sin_test_data): Likewise.
22217 (sincos_test_data): Likewise.
22218 (sinh_test_data): Likewise.
22219 (tan_test_data): Likewise.
22220 (tanh_test_data): Likewise.
22221 (tgamma_test_data): Likewise.
22222 (y0_test_data): Likewise.
22223 (y1_test_data): Likewise.
22224 (yn_test_data): Likewise.
22225
66294491
JM
22226 [BZ #16167]
22227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22228 argument being NaN and avoid computations with second argument in
22229 that case.
22230 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22231 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22232 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22233
1820b143
CL
222342013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22235
22236 * locale/iso-639.def: Add Chitwani Tharu (the).
22237
714bd261
AS
222382013-11-14 Andreas Schwab <schwab@suse.de>
22239
22240 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22241 word instead of empty string.
22242
7ab44563
AZ
222432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22244
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22246 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22248 (__fe_nomask_env): Likewise.
22249
e8470ea2
SE
222502013-11-13 Steve Ellcey <sellcey@mips.com>
22251
22252 * benchtests/bench-timing.h: Include time.h.
22253
17c1d9f0
L
222542013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22255
22256 [BZ #15997]
22257 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22258 to 3.4.0 for x32.
22259 * sysdeps/unix/sysv/linux/configure: Regenerated.
22260
9310c284
JM
222612013-11-13 Joseph Myers <joseph@codesourcery.com>
22262
22263 [BZ #16151]
22264 * stdlib/strtod_l.c (round_and_return): Do not consider
22265 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22266 exponent one less than half the least subnormal exponent.
22267 * stdlib/test-strtod-round-data: Add more tests.
22268 * stdlib/tst-strtod-round.c (tests): Regenerated.
22269
7a2ad8cf
AZ
222702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22271
22272 [BZ #14143]
22273 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22274 (__fe_mask_env): Likewise.
22275 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22276 libm_hidden_proto and add function prototype.
22277 (__fe_mask_env): Add function prototype.
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22279 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22281 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22283 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22284
50727aa7
MS
222852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22286
b2f386c1 22287 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22288 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22289
a615be46
MS
222902013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22291
22292 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22293 of htab_find_slot().
22294
7ddace62
DM
222952013-11-11 David S. Miller <davem@davemloft.net>
22296
22297 [BZ #16150]
22298 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22299 symbol in the non-vis3 case in static builds.
22300 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22301 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22302 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22303 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22304
9182aa67
JK
223052013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22306
22307 [BZ #387]
22308 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22309 it is empty.
22310
450a2e2d
AZ
223112013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22312
b2f386c1
SP
22313 * benchtests/Makefile: Add bench-strtod.
22314 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22315
8ec3f656
AS
223162013-11-11 Andreas Schwab <schwab@suse.de>
22317
22318 [BZ #16153]
22319 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22320 terminating NUL in key length.
22321
76a9b998
AZ
223222013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22323
22324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22325 Add artificial ODP entry for vDSO symbol for PPC64.
22326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22327 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22328
e4368156
OB
223292013-11-07 Ondřej Bílka <neleai@seznam.cz>
22330
22331 [BZ #15374]
22332 * nss/getent.c (services_keys): Recognize services starting with digit.
22333
8d6bb57c
DM
223342013-11-06 David S. Miller <davem@davemloft.net>
22335
22336 [BZ #15985]
22337 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22338 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22339
e256c421
WN
223402013-11-06 Will Newton <will.newton@linaro.org>
22341
22342 * manual/memory.texi (Malloc Examples): Remove register
22343 keyword from examples.
22344
f6e12daa 223452013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22346
f6e12daa 22347 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22348
9d880655
AS
223492013-11-04 Joseph Myers <joseph@codesourcery.com>
22350
fd2f9486 22351 [BZ #6981]
9d880655
AS
22352 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22353 depending on [__GCC_IEC_559 > 0].
22354 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22355 depending on [__GCC_IEC_559_COMPLEX > 0].
22356
ae129d3c
CL
223572013-11-03 Chris Leonard <cjl@sugarlabs.org>
22358
22359 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22360 to iso-639.def.
22361
4a15c2a4 223622013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22363
22364 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22365
8b35e35d
OB
223662013-11-01 Ondřej Bílka <neleai@seznam.cz>
22367
22368 [BZ #16112]
22369 * malloc/malloc (malloc_info): Do not handle first bin as
22370 special case.
22371
1d70fd6c
CL
223722013-11-01 Chris Leonard <cjl@sugarlabs.org>
22373
22374 * locale/iso-639.def: Add Central Nahuatl (nhn).
22375
8c5c2600
BH
223762013-11-01 Bruno Haible <bruno@clisp.org>
22377
22378 [BZ #7003]
22379 * manual/math.texi (BSD Random): Specify range upper bound as
22380 in POSIX.
22381
da5579c2
CL
223822013-10-31 Chris Leonard <cjl@sugarlabs.org>
22383
22384 * locale/iso-639.def: Add Meadow Mari (mhr).
22385
5d30d853
OB
223862013-10-31 Ondřej Bílka <neleai@seznam.cz>
22387
22388 [BZ #14752], [BZ #15763]
22389 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22390 Validate name.
22391 * rt/tst_shm.c: Add test for escaping directory.
22392
a4966c61
AS
223932013-10-31 Andreas Schwab <schwab@suse.de>
22394
8a43e768 22395 [BZ #15917]
a4966c61
AS
22396 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22397 followed by 'x' as part of digit sequence.
22398 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22399
28d708c4
MAP
224002013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22401
22402 [BZ #16037]
22403 * configure.ac: allow GNU Make 4.0 and greater.
22404 * configure: Regenerated.
22405
a56ee40b
WN
224062013-10-30 Will Newton <will.newton@linaro.org>
22407
22408 [BZ #16038]
22409 * malloc/hooks.c (memalign_check): Limit alignment to the
22410 maximum representable power of two.
22411 * malloc/malloc.c (__libc_memalign): Likewise.
22412 * malloc/tst-memalign.c (do_test): Add test for very
22413 large alignment values.
22414 * malloc/tst-posix_memalign.c (do_test): Likewise.
22415
c6e4925d
OB
224162013-10-30 Ondřej Bílka <neleai@seznam.cz>
22417
22418 [BZ #11087]
22419 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22420 (munmap_chunk): Likewise.
22421 (mremap_chunk): Likewise.
22422
224232013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22424
8a43e768 22425 [BZ #15799]
bbea82f7
OB
22426 * stdlib/div.c (div): Remove obsolete code.
22427 * stdlib/ldiv.c (ldiv): Likewise.
22428 * stdlib/lldiv.c (lldiv): Likewise.
22429
977f4b31
SP
224302013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22431
22432 [BZ #16071]
22433 * nss/nss_files/files-XXX.c (get_contents_ret): New
22434 enumerator.
22435 (get_contents): New function.
22436 (internal_getent): Use it. Expand size of LINEBUFLEN.
22437
cb8a6dbd
MF
224382013-10-30 Mike Frysinger <vapier@gentoo.org>
22439
22440 * configure.in: Moved to ...
22441 * configure.ac: ... here. Change reference to configure.in
22442 to configure.ac.
22443 * sysdeps/arm/preconfigure.ac: ... here.
22444 configure.in to configure.ac.
22445 * sysdeps/gnu/configure.in: Moved to ...
22446 * sysdeps/gnu/configure.ac: ... here.
22447 * sysdeps/i386/configure.in: Moved to ...
22448 * sysdeps/i386/configure.ac: ... here.
22449 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22450 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22451 * sysdeps/mach/configure.in: Moved to ...
22452 * sysdeps/mach/configure.ac: ... here.
22453 * sysdeps/mach/hurd/configure.in: Moved to ...
22454 * sysdeps/mach/hurd/configure.ac: ... here.
22455 * sysdeps/powerpc/configure.in: Moved to ...
22456 * sysdeps/powerpc/configure.ac: ... here.
22457 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22458 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22459 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22460 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22461 * sysdeps/s390/s390-32/configure.in: Moved to ...
22462 * sysdeps/s390/s390-32/configure.ac: ... here.
22463 * sysdeps/s390/s390-64/configure.in: Moved to ...
22464 * sysdeps/s390/s390-64/configure.ac: ... here.
22465 * sysdeps/sh/configure.in: Moved to ...
22466 * sysdeps/sh/configure.ac: ... here.
22467 * sysdeps/sparc/configure.in: Moved to ...
22468 * sysdeps/sparc/configure.ac: ... here.
22469 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22470 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22471 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22472 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22473 * sysdeps/x86_64/configure.in: Moved to ...
22474 * sysdeps/x86_64/configure.ac: ... here.
22475 * sysdeps/x86_64/preconfigure.in: Moved to ...
22476 * sysdeps/x86_64/preconfigure.ac: ... here.
22477 * aclocal.m4: Change reference to configure.in to configure.ac.
22478 * config.h.in: Likewise.
22479 * manual/install.texi: Likewise.
22480 * manual/maint.texi: Likewise.
22481 * Makefile: Likewise.
22482 * malloc/Makefile: Likewise.
22483 * nscd/Makefile: Likewise.
22484 * Makeconfig: Change reference to configure.in and
22485 preconfigure.in to configure.ac and preconfigure.ac
22486 respectively.
22487 * INSTALL: Regenerated.
22488 * configure: Likewise.
22489 * sysdeps/gnu/configure: Likewise.
22490 * sysdeps/i386/configure: Likewise.
22491 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22492 * sysdeps/mach/configure: Likewise.
22493 * sysdeps/mach/hurd/configure: Likewise.
22494 * sysdeps/powerpc/configure: Likewise.
22495 * sysdeps/powerpc/powerpc32/configure: Likewise.
22496 * sysdeps/powerpc/powerpc64/configure: Likewise.
22497 * sysdeps/s390/s390-32/configure: Likewise.
22498 * sysdeps/s390/s390-64/configure: Likewise.
22499 * sysdeps/sh/configure: Likewise.
22500 * sysdeps/sparc/configure: Likewise.
22501 * sysdeps/unix/sysv/linux/configure: Likewise.
22502 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22503 * sysdeps/x86_64/configure: Likewise.
22504 * sysdeps/x86_64/preconfigure: Likewise.
22505
36a4953a
AS
225062013-10-29 Andreas Schwab <schwab@suse.de>
22507
22508 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22509
c79a1204
SP
225102013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22511
dfa1b402
SP
22512 * benchtests/pow-inputs: Add new inputs.
22513
54f73d9c
SP
22514 * benchtests/exp-inputs: Add new inputs.
22515
c79a1204
SP
22516 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22517 conditional check for return value.
22518 (__cos32): Likewise.
22519
67beb545 225202013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22521
22522 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22523 to provide a boost for large inputs with word alignment.
22524 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22525 implementation based on optimized PPC64 strcpy.
22526 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22527 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22528 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22529 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22530
151659f6
OB
225312013-10-25 Ondřej Bílka <neleai@seznam.cz>
22532
482a077e 22533 [BZ #2801]
151659f6
OB
22534 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22535
10b0f26b
OB
225362013-10-25 Ondřej Bílka <neleai@seznam.cz>
22537
22538 [BZ #14876]
22539 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22540 * time/tst-strptime.c (day_tests): Add testcase.
22541
ca42d35e
OB
225422013-10-25 Ondřej Bílka <neleai@seznam.cz>
22543
482a077e 22544 [BZ #14029]
ca42d35e
OB
22545 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22546
52e6d801
FB
225472013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22548
22549 [BZ #16074]
22550 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22551 MAP_FAILED on error.
22552
7cbcdb36
SP
225532013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22554
22555 [BZ #16072]
22556 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22557 heap for large requests.
22558
894f3f10
AM
225592013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22560
22561 [BZ #9954]
22562 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22563 result if the result has no associated interface.
22564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22565 interface for all 127.X.Y.Z addresses.
22566
b85545a6
CL
225672013-10-24 Chris Leonard <cjl@sugarlabs.org>
22568
22569 * locale/iso-639.def: Add Ligurian (lij)
22570
d1f23d46
OB
225712013-10-21 Ondřej Bílka <neleai@seznam.cz>
22572
22573 [BZ #15825]
22574 * sunrpc/rpc_main.c: Document rpcgen -5.
22575
4db5b08f
MS
225762013-10-19 Michael Stahl <mstahl@redhat.com>
22577
22578 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22579
a471e96a
OB
225802013-10-19 Ondřej Bílka <neleai@seznam.cz>
22581
d1f23d46 22582 [BZ #10278]
a471e96a
OB
22583 * posix/glob.c: Match only directories when trailing slash is present.
22584 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22585 (main): Add testcase.
22586
45c30c61
OB
225872013-10-19 Ondřej Bílka <neleai@seznam.cz>
22588
22589 [BZ #15670]
22590 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22591
484c12fb
CD
225922013-10-18 Carlos O'Donell <carlos@redhat.com>
22593
3d7dc513
CD
22594 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22595 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22596 AUTH_DES and cindex for FIPS 140-2.
22597 (DES Encryption): Add cindex FIPS 46-3.
22598
484c12fb
CD
22599 * locale/locarchive.h (struct locarhandle): Add fname.
22600 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22601 if an optional argument was specified to --list-archive,
22602 otherwise NULL.
22603 * locale/programs/locarchive.c (show_archive_content): Take new
22604 argument fname and pass it via ah.fname to open_archive.
22605 * locale/programs/localedef.h: Update decl.
22606 (open_archive): If AH->fname is non-null, open that file
22607 rather than the default file name, and don't ignore ENOENT.
22608 (create_archive): Set AH.fname to NULL.
22609 (delete_locales_from_archive): Likewise.
22610 (add_locales_to_archive): Likewise.
22611 * locale/programs/locfile.c (write_all_categories): Likewise.
22612
3c8325fb
JM
226132013-10-18 Joseph Myers <joseph@codesourcery.com>
22614 Aldy Hernandez <aldyh@redhat.com>
22615
22616 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22617 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22618 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22619 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22620 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22621 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22622 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22623 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22624 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22625 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22626 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22627 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22628 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22629 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22631 Likewise.
22632 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22633 Likewise.
22634 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22635 Likewise.
22636 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22637 Likewise.
22638 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22639 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22640 Likewise.
22641 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22642 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22643 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22644 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22645 Likewise.
22646 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22647 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22648 * sysdeps/powerpc/preconfigure: Likewise.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22650 Likewise.
22651 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22652 Replace contents of file by #include of <fenv_libc.h>.
22653 * sysdeps/powerpc/soft-fp/sfp-machine.h
22654 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22655 and <sys/prctl.h>.
22656 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22669 Allow copysignl PLT reference to be missing.
22670
5abe0682
RS
226712013-10-18 Richard Sandiford <richard@codesourcery.com>
22672 Joseph Myers <joseph@codesourcery.com
22673
22674 [BZ #15948]
22675 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22676 single character.
22677 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22678
c7738d08
SP
226792013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22680
22681 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22682 * elf/tst-tls1.c: Likewise.
22683 * elf/tst-tls10.h: Likewise.
22684 * elf/tst-tls14.c: Likewise.
22685 * elf/tst-tls2.c: Likewise.
22686 * elf/tst-tls3.c: Likewise.
22687 * elf/tst-tls4.c: Likewise.
22688 * elf/tst-tls5.c: Likewise.
22689 * elf/tst-tls6.c: Likewise.
22690 * elf/tst-tls7.c: Likewise.
22691 * elf/tst-tls8.c: Likewise.
22692 * elf/tst-tls9.c: Likewise.
22693 * elf/tst-tlsmod1.c: Likewise.
22694 * elf/tst-tlsmod13.c: Likewise.
22695 * elf/tst-tlsmod13a.c: Likewise.
22696 * elf/tst-tlsmod14a.c: Likewise.
22697 * elf/tst-tlsmod16a.c: Likewise.
22698 * elf/tst-tlsmod16b.c: Likewise.
22699 * elf/tst-tlsmod2.c: Likewise.
22700 * elf/tst-tlsmod3.c: Likewise.
22701 * elf/tst-tlsmod4.c: Likewise.
22702 * elf/tst-tlsmod5.c: Likewise.
22703 * elf/tst-tlsmod6.c: Likewise.
22704
0bfcf2c7
OB
227052013-10-18 Ondřej Bílka <neleai@seznam.cz>
22706
22707 [BZ #12486]
22708 * malloc/malloc.c: remove checks for statistics.
22709
264aad1e
OB
227102013-10-17 Ondřej Bílka <neleai@seznam.cz>
22711
22712 [BZ #15277]
22713 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22714 * inet/tst-network.c: Add testcase.
22715
b957ced8
AS
227162013-10-17 Andreas Schwab <schwab@suse.de>
22717
22718 [BZ #15218]
22719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22720 to determine canonical name.
22721
c5d5d574
OB
227222013-10-17 Ondřej Bílka <neleai@seznam.cz>
22723
22724 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22725 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22748 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22749 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22754 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22782
e5c2c2d0
JM
227832013-10-17 Joseph Myers <joseph@codesourcery.com>
22784
22785 [BZ #16041]
22786 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22787 make result into a quiet NaN.
22788
51ca9e29
JM
227892013-10-16 Joseph Myers <joseph@codesourcery.com>
22790
22791 * soft-fp/adddf3.c: Fix horizontal whitespace.
22792 * soft-fp/addsf3.c: Likewise.
22793 * soft-fp/addtf3.c: Likewise.
22794 * soft-fp/divdf3.c: Likewise.
22795 * soft-fp/divsf3.c: Likewise.
22796 * soft-fp/divtf3.c: Likewise.
22797 * soft-fp/double.h: Likewise.
22798 * soft-fp/eqdf2.c: Likewise.
22799 * soft-fp/eqsf2.c: Likewise.
22800 * soft-fp/eqtf2.c: Likewise.
22801 * soft-fp/extenddftf2.c: Likewise.
22802 * soft-fp/extended.h: Likewise.
22803 * soft-fp/extendsfdf2.c: Likewise.
22804 * soft-fp/extendsftf2.c: Likewise.
22805 * soft-fp/extendxftf2.c: Likewise.
22806 * soft-fp/fixdfdi.c: Likewise.
22807 * soft-fp/fixdfsi.c: Likewise.
22808 * soft-fp/fixdfti.c: Likewise.
22809 * soft-fp/fixsfdi.c: Likewise.
22810 * soft-fp/fixsfsi.c: Likewise.
22811 * soft-fp/fixsfti.c: Likewise.
22812 * soft-fp/fixtfdi.c: Likewise.
22813 * soft-fp/fixtfsi.c: Likewise.
22814 * soft-fp/fixtfti.c: Likewise.
22815 * soft-fp/fixunsdfdi.c: Likewise.
22816 * soft-fp/fixunsdfsi.c: Likewise.
22817 * soft-fp/fixunsdfti.c: Likewise.
22818 * soft-fp/fixunssfdi.c: Likewise.
22819 * soft-fp/fixunssfsi.c: Likewise.
22820 * soft-fp/fixunssfti.c: Likewise.
22821 * soft-fp/fixunstfdi.c: Likewise.
22822 * soft-fp/fixunstfsi.c: Likewise.
22823 * soft-fp/fixunstfti.c: Likewise.
22824 * soft-fp/floatdidf.c: Likewise.
22825 * soft-fp/floatdisf.c: Likewise.
22826 * soft-fp/floatditf.c: Likewise.
22827 * soft-fp/floatsidf.c: Likewise.
22828 * soft-fp/floatsisf.c: Likewise.
22829 * soft-fp/floatsitf.c: Likewise.
22830 * soft-fp/floattidf.c: Likewise.
22831 * soft-fp/floattisf.c: Likewise.
22832 * soft-fp/floattitf.c: Likewise.
22833 * soft-fp/floatundidf.c: Likewise.
22834 * soft-fp/floatundisf.c: Likewise.
22835 * soft-fp/floatunditf.c: Likewise.
22836 * soft-fp/floatunsidf.c: Likewise.
22837 * soft-fp/floatunsisf.c: Likewise.
22838 * soft-fp/floatunsitf.c: Likewise.
22839 * soft-fp/floatuntidf.c: Likewise.
22840 * soft-fp/floatuntisf.c: Likewise.
22841 * soft-fp/floatuntitf.c: Likewise.
22842 * soft-fp/fmadf4.c: Likewise.
22843 * soft-fp/fmasf4.c: Likewise.
22844 * soft-fp/fmatf4.c: Likewise.
22845 * soft-fp/gedf2.c: Likewise.
22846 * soft-fp/gesf2.c: Likewise.
22847 * soft-fp/getf2.c: Likewise.
22848 * soft-fp/ledf2.c: Likewise.
22849 * soft-fp/lesf2.c: Likewise.
22850 * soft-fp/letf2.c: Likewise.
22851 * soft-fp/muldf3.c: Likewise.
22852 * soft-fp/mulsf3.c: Likewise.
22853 * soft-fp/multf3.c: Likewise.
22854 * soft-fp/negdf2.c: Likewise.
22855 * soft-fp/negsf2.c: Likewise.
22856 * soft-fp/negtf2.c: Likewise.
22857 * soft-fp/op-1.h: Likewise.
22858 * soft-fp/op-2.h: Likewise.
22859 * soft-fp/op-4.h: Likewise.
22860 * soft-fp/op-8.h: Likewise.
22861 * soft-fp/op-common.h: Likewise.
22862 * soft-fp/quad.h: Likewise.
22863 * soft-fp/single.h: Likewise.
22864 * soft-fp/soft-fp.h: Likewise.
22865 * soft-fp/sqrtdf2.c: Likewise.
22866 * soft-fp/sqrtsf2.c: Likewise.
22867 * soft-fp/sqrttf2.c: Likewise.
22868 * soft-fp/subdf3.c: Likewise.
22869 * soft-fp/subsf3.c: Likewise.
22870 * soft-fp/subtf3.c: Likewise.
22871 * soft-fp/truncdfsf2.c: Likewise.
22872 * soft-fp/trunctfdf2.c: Likewise.
22873 * soft-fp/trunctfsf2.c: Likewise.
22874 * soft-fp/trunctfxf2.c: Likewise.
22875 * soft-fp/unorddf2.c: Likewise.
22876 * soft-fp/unordsf2.c: Likewise.
22877 * soft-fp/unordtf2.c: Likewise.
22878
9ebb0332
JM
228792013-10-15 Joseph Myers <joseph@codesourcery.com>
22880
22881 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22882 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22883
4b1a6d8b
OB
228842013-10-15 Ondřej Bílka <neleai@seznam.cz>
22885
22886 * elf/dl-libc.c: Clear initfini list after freeing.
22887
1e145589
JM
228882013-10-14 Joseph Myers <joseph@codesourcery.com>
22889
22890 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22891 * soft-fp/addsf3.c: Likewise.
22892 * soft-fp/addtf3.c: Likewise.
22893 * soft-fp/divdf3.c: Likewise.
22894 * soft-fp/divsf3.c: Likewise.
22895 * soft-fp/divtf3.c: Likewise.
22896 * soft-fp/double.h: Likewise.
22897 * soft-fp/eqdf2.c: Likewise.
22898 * soft-fp/eqsf2.c: Likewise.
22899 * soft-fp/eqtf2.c: Likewise.
22900 * soft-fp/extenddftf2.c: Likewise.
22901 * soft-fp/extended.h: Likewise.
22902 * soft-fp/extendsfdf2.c: Likewise.
22903 * soft-fp/extendsftf2.c: Likewise.
22904 * soft-fp/extendxftf2.c: Likewise.
22905 * soft-fp/fixdfdi.c: Likewise.
22906 * soft-fp/fixdfsi.c: Likewise.
22907 * soft-fp/fixdfti.c: Likewise.
22908 * soft-fp/fixsfdi.c: Likewise.
22909 * soft-fp/fixsfsi.c: Likewise.
22910 * soft-fp/fixsfti.c: Likewise.
22911 * soft-fp/fixtfdi.c: Likewise.
22912 * soft-fp/fixtfsi.c: Likewise.
22913 * soft-fp/fixtfti.c: Likewise.
22914 * soft-fp/fixunsdfdi.c: Likewise.
22915 * soft-fp/fixunsdfsi.c: Likewise.
22916 * soft-fp/fixunsdfti.c: Likewise.
22917 * soft-fp/fixunssfdi.c: Likewise.
22918 * soft-fp/fixunssfsi.c: Likewise.
22919 * soft-fp/fixunssfti.c: Likewise.
22920 * soft-fp/fixunstfdi.c: Likewise.
22921 * soft-fp/fixunstfsi.c: Likewise.
22922 * soft-fp/fixunstfti.c: Likewise.
22923 * soft-fp/floatdidf.c: Likewise.
22924 * soft-fp/floatdisf.c: Likewise.
22925 * soft-fp/floatditf.c: Likewise.
22926 * soft-fp/floatsidf.c: Likewise.
22927 * soft-fp/floatsisf.c: Likewise.
22928 * soft-fp/floatsitf.c: Likewise.
22929 * soft-fp/floattidf.c: Likewise.
22930 * soft-fp/floattisf.c: Likewise.
22931 * soft-fp/floattitf.c: Likewise.
22932 * soft-fp/floatundidf.c: Likewise.
22933 * soft-fp/floatundisf.c: Likewise.
22934 * soft-fp/floatunsidf.c: Likewise.
22935 * soft-fp/floatunsisf.c: Likewise.
22936 * soft-fp/floatuntidf.c: Likewise.
22937 * soft-fp/floatuntisf.c: Likewise.
22938 * soft-fp/floatuntitf.c: Likewise.
22939 * soft-fp/fmadf4.c: Likewise.
22940 * soft-fp/fmasf4.c: Likewise.
22941 * soft-fp/fmatf4.c: Likewise.
22942 * soft-fp/gedf2.c: Likewise.
22943 * soft-fp/gesf2.c: Likewise.
22944 * soft-fp/getf2.c: Likewise.
22945 * soft-fp/ledf2.c: Likewise.
22946 * soft-fp/lesf2.c: Likewise.
22947 * soft-fp/letf2.c: Likewise.
22948 * soft-fp/muldf3.c: Likewise.
22949 * soft-fp/mulsf3.c: Likewise.
22950 * soft-fp/multf3.c: Likewise.
22951 * soft-fp/negdf2.c: Likewise.
22952 * soft-fp/negsf2.c: Likewise.
22953 * soft-fp/negtf2.c: Likewise.
22954 * soft-fp/op-1.h: Likewise.
22955 * soft-fp/op-2.h: Likewise.
22956 * soft-fp/op-4.h: Likewise.
22957 * soft-fp/op-8.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 * soft-fp/sqrtdf2.c: Likewise.
22963 * soft-fp/sqrtsf2.c: Likewise.
22964 * soft-fp/sqrttf2.c: Likewise.
22965 * soft-fp/subdf3.c: Likewise.
22966 * soft-fp/subsf3.c: Likewise.
22967 * soft-fp/subtf3.c: Likewise.
22968 * soft-fp/truncdfsf2.c: Likewise.
22969 * soft-fp/trunctfdf2.c: Likewise.
22970 * soft-fp/trunctfsf2.c: Likewise.
22971 * soft-fp/trunctfxf2.c: Likewise.
22972 * soft-fp/unorddf2.c: Likewise.
22973 * soft-fp/unordsf2.c: Likewise.
22974 * soft-fp/unordtf2.c: Likewise.
22975
17c48a60
OB
229762013-10-14 Ondřej Bílka <neleai@seznam.cz>
22977
22978 [BZ #15672]
22979 * misc/error.c (error_tail): Fix possible buffer overflow.
22980
cabba934
OB
229812013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22982
22983 [BZ #13028]
22984 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22985 address.
22986
94bf958a
PM
229872013-10-14 P. J. McDermott <pj@pehjota.net>
22988
22989 [BZ #832]
22990 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22991 testing pipefail option.
22992
71b4dea7
JM
229932013-10-12 Joseph Myers <joseph@codesourcery.com>
22994
22995 * soft-fp/double.h: Indent preprocessor directives inside #if.
22996 * soft-fp/extended.h: Likewise.
22997 * soft-fp/op-2.h: Likewise.
22998 * soft-fp/op-4.h: Likewise.
22999 * soft-fp/op-common.h: Likewise.
23000 * soft-fp/quad.h: Likewise.
23001 * soft-fp/single.h: Likewise.
23002 * soft-fp/soft-fp.h: Likewise.
23003
55602758
YC
230042013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23005
23006 * iconv/iconv_prog.c: Fix typos.
23007 * stdio-common/psiginfo-data.h: Likewise.
23008
9cd83302
RT
230092013-10-12 Reuben Thomas <rrt@sc3d.org>
23010
23011 [BZ #15764]
23012 * locale/setlocale.c: Fix typo.
23013
99fd9f47
JM
230142013-10-12 Joseph Myers <joseph@codesourcery.com>
23015
b7ea74f0
JM
23016 [BZ #16036]
23017 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23018 signaling NaN arguments.
23019 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23020 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23021
8a509447
JM
23022 [BZ #14910]
23023 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23024 unordered operands.
23025 * soft-fp/gesf2.c (__gesf2): Likewise.
23026 * soft-fp/getf2.c (__getf2): Likewise.
23027 * soft-fp/ledf2.c (__ledf2): Likewise.
23028 * soft-fp/lesf2.c (__lesf2): Likewise.
23029 * soft-fp/letf2.c (__letf2): Likewise.
23030
98998e9f
JM
23031 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23032 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23033 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23034 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23035 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23036 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23037 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23038 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23039 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23040 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23041 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23042 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23043 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23044 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23045 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23046 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23047 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23048 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23049 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23050 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23051 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23052 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23053 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23054 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23055 * soft-fp/floattidf.c (__floattidf): Likewise.
23056 * soft-fp/floattisf.c (__floattisf): Likewise.
23057 * soft-fp/floattitf.c (__floattitf): Likewise.
23058 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23059 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23060 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23061 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23062 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23063 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23064 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23065 * soft-fp/gesf2.c (__gesf2): Likewise.
23066 * soft-fp/getf2.c (__getf2): Likewise.
23067 * soft-fp/ledf2.c (__ledf2): Likewise.
23068 * soft-fp/lesf2.c (__lesf2): Likewise.
23069 * soft-fp/letf2.c (__letf2): Likewise.
23070
8edc4a11
JM
23071 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23072 Undefine and redefine.
23073 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23074 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23075 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23076 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23077 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23078 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23079 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23080 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23081 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23082 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23083 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23084 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23085 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23086 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23087 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23088
8399acaf
JM
23089 [BZ #16032]
23090 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23091 without decrementing exponent if mantissa >= that for the
23092 denominator, not >.
23093 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23094 denominator, not >. Decrement exponent in < case instead of
23095 incrementing in >= case.
23096 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23097 without decrementing exponent if mantissa >= that for the
23098 denominator, not >.
23099
99fd9f47
JM
23100 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23101 computing saturated result for unsigned overflow.
23102
10e1cf6b
SP
231032013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23104 Jeff Law <law@redhat.com>
23105
23106 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23107 (atan2Mp): Add systemtap probe marker.
23108 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23109 (__ieee754_log): Add systemtap probe marker.
23110 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23111 (atanMp): Add systemtap probe marker.
23112 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23113 (tanMp): Add systemtap probe marker.
23114 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23115 (__slowexp): Add systemtap probe marker.
23116 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23117 (__slowpow): Add systemtap probe marker.
23118 * manual/probes.texi: Document probes.
23119
3d110c7c
EB
231202013-10-11 Eric Biggers <ebiggers3@gmail.com>
23121
23122 [BZ #15362]
23123 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23124 written.
23125 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23126 written.
23127 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23128 written to buffer but not flushed.
23129 * libio/iofwrite_u.c: Likewise.
23130 * libio/iopadn.c: Return bytes returned even if EOF was
23131 encountered.
23132 * libio/iowpadn.c: Likewise.
23133 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23134 if _IO_padn does not write the whole buffer.
23135 [!COMPILE_WPRINTF] (PAD): Likewise.
23136
75b4202a
DM
231372013-10-10 David S. Miller <davem@davemloft.net>
23138
23139 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23140 directory block.
23141
6c6352e6
JM
231422013-10-10 Joseph Myers <joseph@codesourcery.com>
23143
33b853c3
JM
23144 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23145 instead of FSF address.
23146 * soft-fp/fixdfti.c: Likewise.
23147 * soft-fp/fixsfti.c: Likewise.
23148 * soft-fp/fixtfti.c: Likewise.
23149 * soft-fp/fixunsdfti.c: Likewise.
23150 * soft-fp/fixunssfti.c: Likewise.
23151 * soft-fp/fixunstfti.c: Likewise.
23152 * soft-fp/floattidf.c: Likewise.
23153 * soft-fp/floattisf.c: Likewise.
23154 * soft-fp/floattitf.c: Likewise.
23155 * soft-fp/floatuntidf.c: Likewise.
23156 * soft-fp/floatuntisf.c: Likewise.
23157 * soft-fp/floatuntitf.c: Likewise.
23158 * soft-fp/trunctfxf2.c: Likewise.
23159
6c6352e6
JM
23160 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23161 * soft-fp/fixdfti.c: Likewise.
23162 * soft-fp/fixsfti.c: Likewise.
23163 * soft-fp/fixtfti.c: Likewise.
23164 * soft-fp/fixunsdfti.c: Likewise.
23165 * soft-fp/fixunssfti.c: Likewise.
23166 * soft-fp/fixunstfti.c: Likewise.
23167 * soft-fp/floattidf.c: Likewise.
23168 * soft-fp/floattisf.c: Likewise.
23169 * soft-fp/floattitf.c: Likewise.
23170 * soft-fp/floatuntidf.c: Likewise.
23171 * soft-fp/floatuntisf.c: Likewise.
23172 * soft-fp/floatuntitf.c: Likewise.
23173 * soft-fp/trunctfxf2.c: Likewise.
23174
3bf78b71
DM
231752013-10-10 David S. Miller <davem@davemloft.net>
23176
23177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23178
6f10289e
JM
231792013-10-10 Joseph Myers <joseph@codsourcery.com>
23180
bd878fc0
JM
23181 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23182 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23183 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23184 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23185 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23186 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23187 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23188
6f10289e
JM
23189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23190 for NaNs before doing comparisons on argument.
23191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23192 Likewise.
23193
321e2684
WN
231942013-10-10 Will Newton <will.newton@linaro.org>
23195
23196 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23197 passed to _int_memalign does not overflow.
23198
40fefba1
TR
231992013-10-10 Torvald Riegel <triegel@redhat.com>
23200
23201 * scripts/bench.pl: Add include-sources directive.
23202 * benchtests/README: Update documentation.
23203
2ae21ed2
JM
232042013-10-10 Joseph Myers <joseph@codesourcery.com>
23205
dcc2dd3f
JM
23206 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23207 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23208 instead of FP_INIT_ROUNDMODE.
23209 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23210 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23211
2ae21ed2
JM
23212 [BZ #16034]
23213 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23214 copy class of input value.
23215 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23216 not handle exceptions.
23217 * soft-fp/negsf2.c (__negsf2): Likewise.
23218 * soft-fp/negtf2.c (__negtf2): Likewise.
23219 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23220
cb8f9562
JM
232212013-10-09 Joseph Myers <joseph@codesourcery.com>
23222
23223 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23224 semicolon. From Linux kernel.
23225
5b60c59d
AB
232262013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23227
23228 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23229
b86835ca
YC
232302013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23231
23232 [BZ #156]
23233 * manual/socket.texi: Added statement about buffer
23234 for gethostbyname2_r.
23235
e7044ea7
OB
232362013-10-08 Ondřej Bílka <neleai@seznam.cz>
23237
23238 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23239 Use .p2align directive instead, throughout.
23240 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23241 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23242 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23243 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23245 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23246 * sysdeps/x86_64/strchr.S: Likewise.
23247 * sysdeps/x86_64/strrchr.S: Likewise.
23248
09544cbc
SP
232492013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23250
88576635
SP
23251 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23252
e7b2d1dd
SP
23253 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23254
09544cbc
SP
23255 * sysdeps/generic/math_private.h (__mpsin1): Remove
23256 declaration.
23257 (__mpcos1): Likewise.
23258 (__mpsin): New argument __range_reduce.
23259 (__mpcos): Likewise.
23260 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23261 (slow): Use __mpsin and __mpcos.
23262 (slow1): Likewise.
23263 (slow2): Likewise.
23264 (sloww): Likewise.
23265 (sloww1): Likewise.
23266 (sloww2): Likewise.
23267 (bsloww): Likewise.
23268 (bsloww1): Likewise.
23269 (bsloww2): Likewise.
23270 (cslow2): Likewise.
23271 (csloww): Likewise.
23272 (csloww1): Likewise.
23273 (csloww2): Likewise.
23274 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23275 range_reduce. Merge in __mpsin1.
23276 (__mpcos): Likewise.
23277 (__mpsin1): Remove.
23278 (__mpcos1): Likewise.
23279
7602d070
JM
232802013-10-07 Joseph Myers <joseph@codesourcery.com>
23281
23282 * locale/loadlocale.c (_nl_intern_locale_data): Use
23283 LOCFILE_ALIGNED_P.
23284 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23285 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23286 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23287 obstack data is appropriately aligned.
23288 (obstack_int32_grow_fast): Likewise.
23289 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23290 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23291 (add_locale_uint32_array): Likewise.
23292
a357259b
SP
232932013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23294
23295 * benchtests/Makefile: Remove ARGLIST and RET variables.
23296 ($(objpfx)bench-%.c): Pass only function name to the script.
23297 * benchtests/README: Update documentation.
23298 * benchtests/acos-inputs: Add new directives.
23299 * benchtests/acosh-inputs: Likewise.
23300 * benchtests/asin-inputs: Likewise.
23301 * benchtests/asinh-inputs: Likewise.
23302 * benchtests/atan-inputs: Likewise.
23303 * benchtests/atanh-inputs: Likewise.
23304 * benchtests/cos-inputs: Likewise.
23305 * benchtests/cosh-inputs: Likewise.
23306 * benchtests/exp-inputs: Likewise.
23307 * benchtests/log-inputs: Likewise.
23308 * benchtests/pow-inputs: Likewise.
23309 * benchtests/rint-inputs: Likewise.
23310 * benchtests/sin-inputs: Likewise.
23311 * benchtests/sinh-inputs: Likewise.
23312 * benchtests/tan-inputs: Likewise.
23313 * benchtests/tanh-inputs: Likewise.
23314 * scripts/bench.pl: Add support for new directives.
23315
9ec1b13d
AM
233162013-10-07 Alan Modra <amodra@gmail.com>
23317
23318 * README: Fix careless merge.
23319
8b7d57cd
AM
233202013-10-05 Alan Modra <amodra@gmail.com>
23321
23322 * NEWS: Mention powerpc64le support and bugs fixed.
23323 * README: Both big-endian and little-endian powerpc64 supported.
23324
7b7bab13
ST
233252013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23326
57f41c40
AS
23327 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23328 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23329 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23330 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23331
d39baad1
RA
233322013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23333
23334 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23335 match prototype.
23336
cd78f7e7
JM
233372013-10-04 Joseph Myers <joseph@codesourcery.com>
23338
29d73d86
JM
23339 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23340 Move -mhard-float appending from
23341 ports/sysdeps/powerpc/powerpc32/Makefile.
23342 [$(with-fp) = yes] (ASFLAGS): Likewise.
23343 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23344 * sysdeps/powerpc/nofpu: Move directory from
23345 ports/sysdeps/powerpc/nofpu.
23346 * sysdeps/powerpc/soft-fp: Move directory from
23347 ports/sysdeps/powerpc/soft-fp.
23348 * sysdeps/powerpc/powerpc32/405: Move directory from
23349 ports/sysdeps/powerpc/powerpc32/405.
23350 * sysdeps/powerpc/powerpc32/440: Move directory from
23351 ports/sysdeps/powerpc/powerpc32/440.
23352 * sysdeps/powerpc/powerpc32/464: Move directory from
23353 ports/sysdeps/powerpc/powerpc32/464.
23354 * sysdeps/powerpc/powerpc32/476: Move directory from
23355 ports/sysdeps/powerpc/powerpc32/476.
23356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23361 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23363 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23365 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23366 * README: Update for powerpc-*-linux-gnu software floating point
23367 support in libc.
23368
e246b347
JM
23369 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23370 case to powerpc/powerpc32*.
23371 * sysdeps/unix/sysv/linux/configure: Regenerated.
23372
89c2003e
JM
23373 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23374 (_FPU_MASK_OM): Define as 0x04.
23375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23377 0x00c10080.
23378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23379 0x0000003c.
23380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23381
cd78f7e7
JM
23382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23383 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23384 getcontext_e500.
23385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23386 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23387 setcontext_e500.
23388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23389 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23390 and setcontext_e500.
23391
c755294d
CL
233922013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23393
23394 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23395
e16d221c
SP
233962013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23397
23398 * manual/threads.texi (Default Thread Attributes): Fix typo.
23399
215c7d43
WN
234002013-10-04 Will Newton <will.newton@linaro.org>
23401
23402 * malloc/Makefile: Add tst-memalign.
23403 * malloc/tst-memalign.c: New file.
23404
27d0461b
WN
23405 * malloc/tst-posix_memalign.c: Add comments.
23406 (do_test): Add comments and call free on all potentially
23407 allocated pointers. Add space after cast.
23408
1bc92709
WN
23409 * malloc/tst-pvalloc.c: Add comments.
23410 (do_test): Add comments and call free on all potentially
23411 allocated pointers. Remove duplicate check for NULL pointer.
23412 Add space after cast.
23413
66a9be9d
WN
23414 * malloc/tst-valloc.c: Add comments.
23415 (do_test): Add comments and call free on all potentially
23416 allocated pointers. Remove duplicate check for NULL pointer.
23417 Add space after cast.
23418
4cb81307
AM
234192013-10-04 Alan Modra <amodra@gmail.com>
23420
23421 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23422 Use stdint types in rather than __attribute__((mode())).
23423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23424
f8e3e9f3
AM
234252013-10-04 Alan Modra <amodra@gmail.com>
23426
23427 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23428 Correct handling of unaligned relocs for little-endian.
23429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23430
8f9ebb08
AM
234312013-10-04 Alan Modra <amodra@gmail.com>
23432
23433 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23434 * configure: Regenerate.
23435 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23436 * shlib-versions: Likewise.
23437
0edf96c2
AM
234382013-10-04 Alan Modra <amodra@gmail.com>
23439
23440 * string/tester.c (test_memrchr): Increment reported test cycle.
23441
e0f7a380
AM
234422013-10-04 Alan Modra <amodra@gmail.com>
23443
23444 * string/test-memcpy.c (do_one_test): When reporting errors, print
23445 string address and don't overrun end of string.
23446
466b0393
AM
234472013-10-04 Alan Modra <amodra@gmail.com>
23448
23449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23450 insrdi. Make better use of reg selection to speed exit slightly.
23451 Schedule entry path a little better. Remove useless "are we done"
23452 checks on entry to main loop. Handle wrapping around zero address.
23453 Correct main loop count. Handle single left-over word from main
23454 loop inline rather than by using loop_small. Remove extra word
23455 case in loop_small caused by wrong loop count. Add little-endian
23456 support.
23457 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23459 cache hint.
23460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23461 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23462 support. Avoid rlwimi.
23463 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23464
3be87c77
AM
234652013-10-04 Alan Modra <amodra@gmail.com>
23466
23467 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23468 insrdi. Formatting.
3be87c77
AM
23469 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23470 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23471 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23472 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23473 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23474 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23475
759cfef3
AM
234762013-10-04 Alan Modra <amodra@gmail.com>
23477
23478 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23480 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23481 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23483 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23484 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23485 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23487 use of regs. Use power7 mtocrf. Tidy function tails.
23488
fe6e95d7
AM
234892013-10-04 Alan Modra <amodra@gmail.com>
23490
23491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23492 Formatting. Consistently use rXXX register defines or rN defines.
23493 Use early exit labels that avoid restoring unused non-volatile regs.
23494 Make cr field use more consistent with rWORDn compares. Rename
23495 regs used as shift registers for unaligned loop, using rN defines
23496 for short lifetime/multiple use regs.
23497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23499 addi 1,1,64 to pop stack frame. Simplify return value code.
23500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23501
664318c3
AM
235022013-10-04 Alan Modra <amodra@gmail.com>
23503
23504 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23505 support. Correct typos, formatting. Optimize tail. Use insrdi
23506 rather than rlwimi.
23507 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23508 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23509 little-endian support. Correct typos.
23510 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23511 rather than rlwimi.
23512 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23513 in loop and entry code to keep "and." results.
23514 (strchr): Add little-endian support. Comment. Move cntlzd
23515 earlier in tail.
23516 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23517
43b84013
AM
235182013-10-04 Alan Modra <amodra@gmail.com>
23519
23520 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23521 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23522 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23523 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23524
8a7413f9
AM
235252013-10-04 Alan Modra <amodra@gmail.com>
23526
23527 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23528 (rTMP): Define as r11.
23529 (strcmp): Add little-endian support. Optimise tail.
23530 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23531 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23532 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23533 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23535 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23537
33ee81de
AM
235382013-10-04 Alan Modra <amodra@gmail.com>
23539
23540 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23541 little-endian support. Remove unnecessary "are we done" tests.
23542 Handle "s" wrapping around zero and extremely large "size".
23543 Correct main loop count. Handle single left-over word from main
23544 loop inline rather than by using small_loop. Correct comments.
23545 Delete "zero" tail, use "end_max" instead.
23546 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23547
db9b4570
AM
235482013-10-04 Alan Modra <amodra@gmail.com>
23549
23550 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23551 support. Don't branch over align.
23552 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23553 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23554 support. Rearrange tmp reg use to suit. Comment.
23555 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23556
f7c399cf
AM
235572013-10-04 Alan Modra <amodra@gmail.com>
23558
23559 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23560
0b2c2ace
AM
235612013-10-04 Alan Modra <amodra@gmail.com>
23562
23563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23564 conditional form of branch and link when obtaining pc.
23565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23566
02f04a6c
AM
235672013-10-04 Alan Modra <amodra@gmail.com>
23568
23569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23570 HIWORD/LOWORD.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23573
9b874b2f
AM
235742013-10-04 Alan Modra <amodra@gmail.com>
23575
23576 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23577 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23578 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23579 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23580 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23581 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23582 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23583 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23584 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23585 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23586
be1e5d31
AB
235872013-10-04 Anton Blanchard <anton@au1.ibm.com>
23588 Alistair Popple <alistair@ozlabs.au.ibm.com>
23589 Alan Modra <amodra@gmail.com>
23590
23591 [BZ #15723]
23592 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23593 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23594 _dl_hwcap access for little-endian.
23595 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23596 destroy vmx regs when saving unaligned.
23597 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23598 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23599 destroy vmx regs when saving unaligned.
23600
fef13a78
AM
236012013-10-04 Alan Modra <amodra@gmail.com>
23602
23603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23604 Don't use a union to pack hi/low value.
23605
76a66d51
AB
236062013-10-04 Anton Blanchard <anton@au1.ibm.com>
23607
23608 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23609 for little-endian.
23610 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23612 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23613 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23614 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23615
6a31fe7f
AM
236162013-10-04 Alan Modra <amodra@gmail.com>
23617
23618 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23619 constants to usual value for .cst8 section, and remove redundant
23620 high address load.
23621 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23622 constant for 0x1p52. Load little-endian words of double from
23623 correct stack offsets.
23624
7b88401f
AM
236252013-10-04 Alan Modra <amodra@gmail.com>
23626
23627 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23628 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23629 words of double from correct stack offsets.
23630 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23631 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23632 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23635 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23636 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23637 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23638 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23639 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23640 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23642 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23643 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23644 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23645 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23646 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23647
9c008155
AM
236482013-10-04 Alan Modra <amodra@gmail.com>
23649
23650 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23651 64-bit int/double union.
23652 (_FPU_SETCW): Likewise.
23653 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23654 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23655
da13146d
AM
236562013-10-04 Alan Modra <amodra@gmail.com>
23657
23658 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23659 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23660
603e8410
AM
236612013-10-04 Alan Modra <amodra@gmail.com>
23662
23663 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23664 use vector int constants.
23665 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23666
4a28b3ca
AB
236672013-10-04 Anton Blanchard <anton@au1.ibm.com>
23668
23669 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23670 array with long long.
23671 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23672 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23673 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23674 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23675 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23676 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23677 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23678 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23679 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23680 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23681 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23682 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23683 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23684
2ca85d2b
AB
236852013-10-04 Anton Blanchard <anton@au1.ibm.com>
23686
23687 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23688 (__signbit): Likewise. Correct for little-endian.
23689 (__signbitl): Call __signbit.
23690 (lrint): Correct for little-endian.
23691 (lrintf): Call lrint.
23692
62a728ae
AM
236932013-10-04 Alan Modra <amodra@gmail.com>
23694
23695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23696 union 32-bit int array member with 64-bit int array.
23697 (t515, tm256): Double rather than long double.
23698 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23699
32c301df
AM
237002013-10-04 Alan Modra <amodra@gmail.com>
23701
23702 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23703 Delete.
23704 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23706 version of math_ldbl.h.
23707
650ef4bd
AM
237082013-10-04 Alan Modra <amodra@gmail.com>
23709
23710 [BZ #15734], [BZ #15735]
23711 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23712 all uses of ieee875 long double macros and unions. Simplify test
23713 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23714 ldbl_extract_mantissa value for ix,iy exponents. Properly
23715 normalize after ldbl_extract_mantissa, and don't add hidden bit
23716 already handled. Don't treat low word of ieee854 mantissa like
23717 low word of IBM long double and mask off bit when testing for
23718 zero.
23719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23720 all uses of ieee875 long double macros and unions. Simplify tests
23721 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23722 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23723 two1022, instead use their values. Recognise that tests for large
23724 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23725 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23726 Rewrite all uses of ieee875 long double macros and unions. Simplify
23727 test for 0.0L and nan. Correct negation.
23728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23729 ieee875 long double macros and unions. Correct output for large
23730 magnitude x. Correct absolute value calculation.
23731 (__erfcl): Likewise.
23732 * math/libm-test.inc: Add tests for errors discovered in IBM long
23733 double versions of fmodl, remainderl, erfl and erfcl.
23734
765714ca
AM
237352013-10-04 Alan Modra <amodra@gmail.com>
23736
23737 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23738 all uses of ieee854 long double macros and unions. Simplify tests
23739 for long doubles that are fully specified by the high double.
23740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23741 Likewise.
23742 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23743 Remove dead code too.
23744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23745 (__ieee754_ynl): Likewise.
23746 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23747 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23749 Remove dead code too.
23750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23751 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23752 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23753 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23754 Simplify.
23755 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23756 Simplify.
23757 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23758 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23760 Comment on variable precision.
23761 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23762 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23763 Likewise.
23764 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23765 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23767 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23768 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23769
4ebd120c
AM
237702013-10-04 Alan Modra <amodra@gmail.com>
23771
23772 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23774 all uses of ieee854 long double macros and unions.
23775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23781 Likewise.
23782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23787 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23788 Simplify sign and nan test too.
23789 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23790 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23791 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23792 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23793 Likewise.
23794 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23795 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23796 Likewise.
23797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23801 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23803
1b6adf88
AM
238042013-10-04 Alan Modra <amodra@gmail.com>
23805
23806 * stdio-common/printf_size.c (__printf_size): Don't use
23807 union ieee854_long_double in fpnum union.
23808 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23809 signbit macro to retrieve sign from long double.
23810 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23811 retrieve sign from long double.
23812 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23813 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23814 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23815 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23816 * math/test-misc.c (main): Don't use union ieee854_long_double.
23817
4cf69995
AM
238182013-10-04 Alan Modra <amodra@gmail.com>
23819
23820 [BZ #15680]
23821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23823 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23824 calculation. Remove unnecessary test for denormal exponent.
23825 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23826 Correct handling of denormals. Avoid undefined shift behaviour.
23827 Correct normalisation of low mantissa when low double is denormal.
23828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23829 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23830 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23831 Correct normalisation of low mantissa. Test for overflow of high
23832 mantissa and normalise.
23833 (ldbl_nearbyint): Use more readable constant for two52.
23834 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23835 (__mpn_construct_long_double): Fix test for overflow of high
23836 mantissa and correct normalisation. Avoid undefined shift.
23837
9605ca6c
AM
238382013-10-04 Alan Modra <amodra@gmail.com>
23839
23840 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23841 (union ibm_extended_long_double): Define as an array of ieee754_double.
23842 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23843 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23844 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23845 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23849 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23853
975569d0
JM
238542013-10-03 Joseph Myers <joseph@codesourcery.com>
23855
d3d23756
JM
23856 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23857 page size instead of calling getpagesize.
23858
975569d0
JM
23859 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23860 (LOCFILE_ALIGN_MASK): Likewise.
23861 (LOCFILE_ALIGN_UP): Likewise.
23862 (LOCFILE_ALIGNED_P): Likewise.
23863 * locale/programs/ld-collate.c (collate_output): Use the new
23864 macros instead of __alignof__ (int32_t).
23865 * locale/weight.h (findidx): Likewise.
23866
b1fe1f2b
OB
238672013-10-03 Ondřej Bílka <neleai@seznam.cz>
23868
23869 [BZ #431]
23870 * manual/string.texi: Fix strncat and wcsncat.
23871
5f855e35
BM
238722013-10-03 Brooks Moses <bmoses@google.com>
23873
23874 [BZ #15915]
23875 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23876 * Makerules: ...here, and adjust associated comments.
23877
3cef6009
WN
238782013-10-02 Will Newton <will.newton@linaro.org>
23879
23880 * malloc/Makefile: Add tst-pvalloc.
23881 * malloc/tst-pvalloc.c: New file.
23882
7815420b
WN
238832013-10-02 Will Newton <will.newton@linaro.org>
23884
23885 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23886 improve test coverage.
23887
4868b204
WN
238882013-10-02 Will Newton <will.newton@linaro.org>
23889
23890 * malloc/Makefile: Add tst-posix_memalign.
23891 * malloc/tst-posix_memalign.c: New file.
23892
29c793b3
EB
238932013-10-01 Eric Blake <eblake@redhat.com>
23894
23895 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23896 Use __THROWNL rather than __THROW on static functions.
23897
fd967522
PM
238982013-09-30 Petr Machata <pmachata@redhat.com>
23899
23900 * elf/elf.h (R_AARCH64_ABS16): New macro.
23901 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23902 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23903 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23904 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23905 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23906 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23907 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23908 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23909 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23910 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23911 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23912 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23913 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23914 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23915 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23916 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23917 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23918 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23919 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23920 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23921 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23922 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23923 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23924 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23925 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23926 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23927 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23928 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23929 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23930 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23931 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23932 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23933 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23934 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23935 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23936 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23937 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23938 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23939 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23940 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23941 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23942 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23943 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23944 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23945 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23946 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23947 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23948 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23949 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23950 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23951 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23952 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23953 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23954 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23955 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23956 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23957 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23958 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23959 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23960 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23961 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23962 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23963 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23964 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23965 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23966 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23967 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23968 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23969 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23970 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23971 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23972 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23973 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23974 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23975 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23976 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23977 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23978 (R_AARCH64_TLSDESC_LDR): Likewise.
23979 (R_AARCH64_TLSDESC_ADD): Likewise.
23980 (R_AARCH64_TLSDESC_CALL): Likewise.
23981
b2179107
AS
239822013-09-30 Andreas Schwab <schwab@suse.de>
23983
23984 [BZ #15048]
23985 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23986 the nss database lookup.
23987 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23989
47f28d0a
MF
239902013-09-28 Mike Frysinger <vapier@gentoo.org>
23991
23992 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23993
239942013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23995
23996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23997 ${Bash-specific parameter/pattern/string} parameter expansion.
23998 * sysdeps/unix/make-syscalls.sh: Likewise.
23999
f4518a17
KK
240002013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24001
24002 * sysdeps/sh/stackguard-macros.h: New file.
24003
dc1a95c7
OB
240042013-09-26 Ondřej Bílka <neleai@seznam.cz>
24005
24006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24008 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24010 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24011 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24012
5ebbff8f
AZ
240132013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24014
24015 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24016 Fix thread ID register.
24017
4fd2cf9f
JM
240182013-09-25 Joseph Myers <joseph@codesourcery.com>
24019
24020 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24021 [POSIX || UNIX98]: Require rather than permitting all symbols from
24022 <time.h>.
24023 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24024 element of struct sched_param.
24025 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24026 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24027 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24028 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24029 constant.
24030
12c22bc4
OL
240312013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24032
24033 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24034 argument calculation.
24035
a03d8ea7
JM
240362013-09-24 Joseph Myers <joseph@codesourcery.com>
24037
24038 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24039 Expect macro.
24040 [POSIX] (pthread_attr_t): Do not require type.
24041 [POSIX] (pthread_cond_t): Likewise.
24042 [POSIX] (pthread_condattr_t): Likewise.
24043 [POSIX] (pthread_key_t): Likewise.
24044 [POSIX] (pthread_mutex_t): Likewise.
24045 [POSIX] (pthread_mutexattr_t): Likewise.
24046 [POSIX] (pthread_once_t): Likewise.
24047 [POSIX] (pthread_t): Likewise.
24048 [POSIX-based standards] (pthread_atfork): Expect function.
24049
6055173a
JM
240502013-09-24 Joseph Myers <joseph@codesourcery.com>
24051 Richard Sandiford <richard@codesourcery.com>
24052
24053 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24054 (swap_endianness_p): New extern variable.
24055 (set_big_endian): New inline function.
24056 (maybe_swap_uint32): Likewise.
24057 (maybe_swap_uint32_array): Likewise.
24058 (maybe_swap_uint32_obstack): Likewise.
24059 * locale/programs/locfile.c: Include <stdbool.h>.
24060 (swap_endianness_p): New variable.
24061 (add_locale_uint32): Call maybe_swap_uint32.
24062 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24063 (write_locale_data): Call maybe_swap_uint32_array.
24064 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24065 maybe_swap_uint32.
24066 (obstack_int32_grow_fast): Likewise.
24067 (output_weightwc): Call maybe_swap_uint32_obstack.
24068 (collate_output): Likewise.
24069 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24070 (OPT_LITTLE_ENDIAN): Likewise.
24071 (options): Add --little-endian and --big-endian options.
24072 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24073 * locale/programs/locarchive.c: Include "locfile.h".
24074 (GET): New macro.
24075 (SET): Likewise.
24076 (INC): Likewise.
24077 (create_archive): Use the new macros to access fields of
24078 structures directly mapped from or written to locale archives.
24079 (oldlocrecentcmp): Likewise.
24080 (enlarge_archive): Likewise.
24081 (insert_name): Likewise.
24082 (add_alias): Likewise.
24083 (add_locale): Likewise.
24084 (delete_locales_from_archive): Likewise.
24085 (show_archive_content): Likewise.
24086 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24087 locale data.
24088
39bf0bb4
RM
240892013-09-24 Roland McGrath <roland@hack.frob.com>
24090
24091 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24092 http://www.gnu.org/doc/freemanuals.texi.
24093 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24094
f02eed10
WN
240952013-09-24 Will Newton <will.newton@linaro.org>
24096
24097 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24098 macro.
24099
a3a6c312
JM
241002013-09-23 Joseph Myers <joseph@codesourcery.com>
24101
24102 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24103 unsigned char.
24104
107375ac
MR
241052013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24106
24107 * manual/threads.texi (POSIX Threads): Fix a typo.
24108
141f3a77
SP
241092013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24110
303e567a
SP
24111 [BZ #14547]
24112 * string/tst-strcoll-overflow.c: New test case.
24113 * string/Makefile (xtests): Add tst-strcoll-overflow.
24114 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24115 cache if string sizes may cause integer overflow.
24116
141f3a77
SP
24117 [BZ #14547]
24118 * string/strcoll_l.c (coll_seq): New members rule, idx,
24119 save_idx and back_us.
24120 (get_next_seq_nocache): New function.
24121 (do_compare_nocache): New function.
24122 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24123 when malloc fails.
24124
c61b4d41
CD
241252013-09-23 Carlos O'Donell <carlos@redhat.com>
24126
0b1f8e35
CD
24127 [BZ #15754]
24128 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24129 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24130 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24131
c61b4d41
CD
24132 [BZ #15754]
24133 * elf/Makefile (tests): Add tst-ptrguard1.
24134 (tests-static): Add tst-ptrguard1-static.
24135 (tst-ptrguard1-ARGS): Define.
24136 (tst-ptrguard1-static-ARGS): Define.
24137 * elf/tst-ptrguard1.c: New file.
24138 * elf/tst-ptrguard1-static.c: New file.
24139 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24140 * sysdeps/i386/stackguard-macros.h: Likewise.
24141 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24142 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24143 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24144 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24145 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24146 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24147
241482013-09-23 Hector Marco <hecmargi@upv.es>
24149 Ismael Ripoll <iripoll@disca.upv.es>
24150 Carlos O'Donell <carlos@redhat.com>
24151
24152 [BZ #15754]
24153 * sysdeps/generic/stackguard-macros.h: Define
24154 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24155 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24156 Define __pointer_chk_guard_local.
24157 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24158 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24159
f5f4e7b4
VV
241602013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24161
24162 [BZ #15859]
24163 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24164
5bb43a43
AS
241652013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24166
24167 * include/string.h (__ffs): Declare as hidden.
24168 * string/ffs.c (__ffs): Define as hidden.
24169 * sysdeps/i386/ffs.c (__ffs): Likewise.
24170 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24171 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24172 * sysdeps/s390/ffs.c (__ffs): Likewise.
24173 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24174
3ea5be54
AO
241752013-09-20 Alexandre Oliva <aoliva@redhat.com>
24176
ffb89e53
AO
24177 * NEWS: Mention malloc probes.
24178
322dea08
AO
24179 * malloc/arena.c (new_heap): New memory_heap_new probe.
24180 (grow_heap): New memory_heap_more probe.
24181 (shrink_heap): New memory_heap_less probe.
24182 (heap_trim): New memory_heap_free probe.
24183 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24184 (systrim): New memory_sbrk_less probe.
24185 * manual/probes.texi: Document them.
24186
655673f3
AO
24187 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24188 * manual/probes.texi: Document it.
24189
35fed6f1
AO
24190 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24191 (__libc_realloc): Add memory_realloc_retry probe.
24192 (__libc_memalign): Add memory_memalign_retry probe.
24193 (__libc_valloc): Add memory_valloc_retry probe.
24194 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24195 (__libc_calloc): Add memory_calloc_retry probe.
24196 * manual/probes.texi: Document them.
24197
6999d38c
AO
24198 * malloc/arena.c (get_free_list): Add probe
24199 memory_arena_reuse_free_list.
24200 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24201 and memory_arena_reuse.
24202 (arena_get2) [!PER_THREAD]: Likewise.
24203 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24204 memory_arena_reuse_realloc.
24205 * manual/probes.texi: Document them.
24206
0653427f
AO
24207 * malloc/malloc.c (__libc_free): Add
24208 memory_mallopt_free_dyn_thresholds probe.
24209 (__libc_mallopt): Add multiple memory_mallopt probes.
24210 * manual/probes.texi: Document them.
24211
3ea5be54
AO
24212 * malloc/malloc.c: Include stap-probe.h.
24213 (__libc_mallopt): Add memory_mallopt probe.
24214 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24215 * manual/probes.texi: New.
24216 * manual/Makefile (chapters): Add probes.
24217 * manual/threads.texi: Set next node.
24218
e35696c3 242192013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24220
e35696c3
CL
24221 [BZ #15963, #13985]
24222 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24223 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24224 Add `Chinese' to `nan' entry name.
24225
4aafb73c
SP
242262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24227
24228 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24229 (POLYNOMIAL): Likewise.
24230 (TAYLOR_SINCOS): Likewise.
24231 (TAYLOR_SLOW): Likewise.
24232 (__sin): Use TAYLOR_SINCOS.
24233 (__cos): Likewise.
24234 (slow): Use TAYLOR_SLOW.
24235 (sloww): Likewise.
24236 (bsloww): Likewise.
24237 (csloww): Likewise.
24238
d84f25c7
LD
242392013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24240
24241 * stdlib/strtod_l.c: Fix buffer overrun.
24242
5eea0404
SP
242432013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24244
7849ff93
SP
24245 * benchtests/Makefile (bench): Add sincos.
24246 * benchtests/bench-sincos.c: New file.
24247
cfa3c886
SP
24248 * math/libm-test.inc (cos_test_data): New test inputs.
24249 (sin_test_data): Likewise.
24250
b348e1e3
SP
24251 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24252 macro.
24253 (__sin): Use it.
24254 (__cos): Likewise.
24255 (slow1): Likewise.
24256 (slow2): Likewise.
24257 (sloww1): Likewise.
24258 (sloww2): Likewise.
24259 (bsloww1): Likewise.
24260 (bsloww2): Likewise.
24261 (cslow2): Likewise.
24262 (csloww1): Likewise.
24263 (csloww2): Likewise.
24264
6cce25f8
SP
24265 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24266 function.
24267 (__sin): Use it.
24268 (__cos): Likewise.
24269
5eea0404
SP
24270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24271 gotos.
24272 (__cos): Likewise.
24273
9c21573c
MR
242742013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24275
24276 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24277 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24278 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24279 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24280 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24281 * elf/cache.c (print_entry): Handle the new cache flags.
24282
24d22e65
JM
242832013-09-18 Joseph Myers <joseph@codesourcery.com>
24284 Aldy Hernandez <aldyh@redhat.com>
24285
24286 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24287 Change condition to [_SOFT_FLOAT].
24288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24300 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24303 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24304 declaration.
24305
d13ef066
JM
243062013-09-18 Joseph Myers <joseph@codesourcery.com>
24307
2e071de0
JM
24308 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24309 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24310 (__longjmp): Use LOAD_GP to load saved GPRs.
24311 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24312 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24313 (__sigsetjmp): Use SAVE_GP to save GPRs.
24314
d13ef066
JM
24315 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24316 Do not append -msoft-float.
24317 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24318
97a0650b
SP
243192013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24320
24321 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24322
11ca09e9
JM
243232013-09-17 Joseph Myers <joseph@codesourcery.com>
24324
24325 [BZ #15966]
24326 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24327 (_FPU_GETCW): Use initial "__" on variable and field names but not
24328 on macro parameter name.
24329 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24330 parentheses around reference to macro parameter.
24331
08ffcf34
RS
243322013-09-13 Richard Sandiford <richard@codesourcery.com>
24333
24334 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24335 prototype.
24336 (ctype_startup): Use uint32_t in cast and sizeof for
24337 ctype->charnames.
24338
ae7080d3
JL
243392013-09-11 Jia Liu <proljc@gmail.com>
24340
24341 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24342 __daddr_t_defined.
24343 [__FreeBSD__]: Likewise.
24344
5905e7b3
OB
243452013-09-11 Ondřej Bílka <neleai@seznam.cz>
24346
24347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24348 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24349 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24350 (strchr): Remove __strchr_sse42 ifunc selection.
24351 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24352 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24353
b987c776
WN
243542013-09-11 Will Newton <will.newton@linaro.org>
24355
24356 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24357 parameter to RES. Remove hardcoded 1000 value.
24358 * benchtests/bench-skeleton.c (main): Pass RES parameter
24359 to TIMING_INIT and multiply result by 1000.
24360
ddf985af
AZ
243612013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24362
24363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24364
ffdd3181
AS
243652013-09-11 Andreas Schwab <schwab@suse.de>
24366
24367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24368 if not defined.
24369 (O_TMPFILE) [__USE_GNU]: Define.
24370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24371 Define.
24372
b73ed247
WN
243732013-09-11 Will Newton <will.newton@linaro.org>
24374
24375 [BZ #15857]
24376 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24377 does not overflow.
24378
55e17aad
WN
243792013-09-11 Will Newton <will.newton@linaro.org>
24380
24381 [BZ #15856]
24382 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24383 does not overflow.
24384
1159a193
WN
243852013-09-11 Will Newton <will.newton@linaro.org>
24386
24387 [BZ #15855]
24388 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24389 does not overflow.
24390
5905e7b3 243912013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24392
24393 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24395 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24396 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24397 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24398
cdfc721b
AM
243992013-09-10 Allan McRae <allan@archlinux.org>
24400
aa04af00
AM
24401 [BZ #15748]
24402 * manual/arith.texi (Parsing of Floats): Clarify
24403 cross-reference.
24404
cdfc721b
AM
24405 [BZ #15849]
24406 * manual/install.texi (Running make install): Mention
24407 --enable-pt-chown.
24408 * INSTALL: Regenerated.
24409
95e7cf29
MR
244102013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24411
24412 * csu/init-first.c (_init): Remove the !SHARED condition around
24413 FPU control word initialization.
24414 * elf/dl-support.c (_dl_fpu_control): New variable.
24415 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24416 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24417 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24418 * math/test-fpucw-static.c: New file.
24419 * math/test-fpucw-ieee.c: New file.
24420 * math/test-fpucw-ieee-static.c: New file.
24421 * math/Makefile (tests): Add `test-fpucw-ieee' and
24422 `$(tests-static)'.
24423 (tests-static): New variable.
24424 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24425 dependency to...
24426 [($(build-shared),yes)]
24427 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24428 ... this.
24429 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24430 New dependency.
24431
83e43bf0
AM
244322013-09-09 Allan McRae <allan@archlinux.org>
24433
a9f5ce09
AM
24434 [BZ #15939]
24435 * manual/string.texi (Collation Functions): Fix typo in
24436 strcoll example.
24437 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24438
34829bc2
AM
24439 [BZ #15893]
24440 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24441
3932737d
AM
24442 [BZ #15892]
24443 * libio/memstream.c (open_memstream): Fix memory leak.
24444 * libio/wmemstream.c (open_wmemstream): Likewise.
24445
83e43bf0
AM
24446 [BZ #15895]
24447 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24448
0c66b8e9
WN
244492013-09-09 Will Newton <will.newton@linaro.org>
24450
24451 * malloc/Makefile: Add tst-realloc to tests.
24452 * malloc/tst-realloc.c: New file.
24453
f6b00fd1
AM
244542013-09-09 Allan McRae <allan@archlinux.org>
24455
24456 [BZ #15844]
24457 * COPYING: Update from GNU website to fix FSF address.
24458 * COPYING.LIB: Likewise.
24459
eec55e16
DM
244602013-09-06 David S. Miller <davem@davemloft.net>
24461
24462 * po/zh_TW.po: Update Chinese (traditional) translation from
24463 translation project.
24464
1ecbb381
RS
244652013-09-06 Richard Sandiford <richard@codesourcery.com>
24466 Joseph Myers <joseph@codesourcery.com>
24467
24468 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24469 "localeinfo.h".
24470 (obstack_chunk_alloc): New macro.
24471 (obstack_chunk_free): Likewise.
24472 (record_offset): New function.
24473 (init_locale_data): Likewise.
24474 (align_locale_data): Likewise.
24475 (add_locale_empty): Likewise.
24476 (add_locale_raw_data): Likewise.
24477 (add_locale_raw_obstack): Likewise.
24478 (add_locale_string): Likewise.
24479 (add_locale_wstring): Likewise.
24480 (add_locale_uint32): Likewise.
24481 (add_locale_uint32_array): Likewise.
24482 (add_locale_char): Likewise.
24483 (start_locale_structure): Likewise.
24484 (end_locale_structure): Likewise.
24485 (start_locale_prelude): Likewise.
24486 (end_locale_prelude): Likewise.
24487 (write_locale_data): Take locale_file structure rather than an
24488 iovec.
24489 * locale/programs/locfile.h: Include "obstack.h".
24490 (struct locale_file): Change to store locale file contents instead
24491 of header.
24492 (init_locale_data): New prototype.
24493 (align_locale_data): Likewise.
24494 (add_locale_empty): Likewise.
24495 (add_locale_raw_data): Likewise.
24496 (add_locale_raw_obstack): Likewise.
24497 (add_locale_string): Likewise.
24498 (add_locale_wstring): Likewise.
24499 (add_locale_uint32): Likewise.
24500 (add_locale_uint32_array): Likewise.
24501 (add_locale_char): Likewise.
24502 (start_locale_structure): Likewise.
24503 (end_locale_structure): Likewise.
24504 (start_locale_prelude): Likewise.
24505 (end_locale_prelude): Likewise.
24506 (write_locale_data): Update prototype.
24507 * locale/programs/3level.h (struct TABLE): Remove result field.
24508 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24509 Use new locale_file interface.
24510 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24511 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24512 * locale/programs/ld-address.c (address_output): Use new
24513 locale_file interface.
24514 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24515 NO_ADD_LOCALE.
24516 (collate_finish): Don't call collseq_table_finalize.
24517 (collate_output): Use new locale_file interface.
24518 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24519 in file.
24520 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24521 (TABLE): Move defines earlier in file.
24522 (ELEMENT): Likewise.
24523 (DEFAULT): Likewise.
24524 (wctrans_table_add): Move macro and inline function earlier in
24525 file.
24526 (struct wctype_table): Move type earlier in file.
24527 (add_locale_wctype_table): New static prototype.
24528 (struct locale_ctype_t): Use logical types instead of struct iovec
24529 pointers for members.
24530 (ctype_output): Use new locale_file interface.
24531 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24532 new locale_file interface.
24533 (allocate_arrays): Update for use of new locale_file interface.
24534 * locale/programs/ld-identification.c (identification_output): Use
24535 new locale_file interface.
24536 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24537 * locale/programs/ld-messages.c (messages_output): Likewise.
24538 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24539 * locale/programs/ld-name.c (name_output): Likewise.
24540 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24541 * locale/programs/ld-paper.c (paper_output): Likewise.
24542 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24543 * locale/programs/ld-time.c (time_output): Likewise.
24544
e029e2e5
AZ
245452013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24546
24547 * benchtests/Makefile: Add memrchr benchmark.
24548 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24549 benchmark as memrchr.
24550 * benchtests/bench-memrchr-ifunc.c: New file.
24551 * benchtests/bench-memrchr.c: New file.
24552
bbf6e8e4
WN
245532013-09-06 Will Newton <will.newton@linaro.org>
24554
24555 * benchtests/Makefile (string-bench): Add memcpy.
24556
6c82a2f8
CD
245572013-09-05 Carlos O'Donell <carlos@redhat.com>
24558 Cong Wang <amwang@redhat.com>
24559
e732c5f0 24560 [BZ #15850]
6c82a2f8
CD
24561 * sysdeps/unix/sysv/linux/bits/in.h
24562 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24563 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24564 before __USE_KERNEL_IPV6_DEFS uses.
24565 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24566 IPPROTO_BEETPH.
24567 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24568 sockaddr_in6, or ipv6_mreq.
24569
5430fc65
AZ
245702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24571
24572 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24573 memory access for final bytes in some large inputs.
24574 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24575
4660856c
AZ
245762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24577
24578 * string/test-memrchr.c: New file.
24579 * string/test-memrchr-ifunc.c: New file.
24580 * string/Makefile: Add new memrchr testcase.
24581
bb8ea713
MF
245822013-09-05 Mike Frysinger <vapier@gentoo.org>
24583
24584 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24585 fanotify_init returns EPERM.
24586
b92a20b5
JM
245872013-09-04 Joseph Myers <joseph@codesourcery.com>
24588
24589 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24590 errors.
24591 (top level): Treat second token from macro or constant entries for
24592 allowed headers as allowed.
24593 * include/complex.h: Condition internal declarations on
24594 [!_ISOMAC].
24595 * include/fenv.h: Condition include of <stdbool.h> and internal
24596 declarations on [!_ISOMAC].
7447ccd9
CL
24597
245982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24599
3e181dda 24600 [BZ #15923]
7447ccd9
CL
24601 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24602
3f2e46a4
JM
246032013-09-04 Joseph Myers <joseph@codesourcery.com>
24604
24605 * configure.in (--enable-versioning): Remove configure option.
24606 (libc_cv_asm_symver_directive): Remove configure test.
24607 (libc_cv_ld_version_script_option): Likewise.
24608 (VERSIONING): Remove variable and AC_SUBST.
24609 (DO_VERSIONING): Remove AC_DEFINE.
24610 * configure: Regenerated.
24611 * config.h.in (DO_VERSIONING): Remove macro.
24612 * Makerules [$(versioning) = yes]: Change conditionals to
24613 [$(build-shared) = yes].
24614 * config.make.in (versioning): Remove variable.
24615 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24616 [$(build-shared) = yes].
24617 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24618 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24619 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24620 [$(build-shared) = yes].
24621 * extra-lib.mk [$(versioning) = yes]: Likewise.
24622 * hurd/Makefile [$(versioning) = yes]: Likewise.
24623 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24624 [SHARED].
24625 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24626 [SHARED].
24627 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24628 [SHARED && !NO_HIDDEN].
24629 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24630 [SHARED].
24631 [SHARED && DO_VERSIONING]: Likewise..
24632 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24633 [$(build-shared) = yes].
24634 * manual/install.texi (--disable-versioning): Remove
24635 documentation.
24636 * INSTALL: Regenerated.
24637 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24638 to [SHARED].
24639 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24640 [$(build-shared) = yes].
24641 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24642 * sysdeps/i386/i686/multiarch/strstr-c.c
24643 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24644 [SHARED && !NO_HIDDEN].
24645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24646 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24647 * sysdeps/powerpc/powerpc32/dl-machine.c
24648 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24649 * sysdeps/powerpc/powerpc32/sysdep.h
24650 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24651 to [SHARED && PIC && !NO_HIDDEN].
24652 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24653 conditional to [SHARED].
24654
44558701
WN
246552013-09-04 Will Newton <will.newton@linaro.org>
24656
24657 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24658 * benchtests/bench-string.h: Include bench-timing.h instead
24659 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24660 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24661 call to HP_TIMING_DIFF_INIT.
24662 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24663 instead of hp-timing.h macros.
24664 * benchtests/bench-memchr.c: Likewise.
24665 * benchtests/bench-memcmp.c: Likewise.
24666 * benchtests/bench-memcpy.c: Likewise.
24667 * benchtests/bench-memmem.c: Likewise.
24668 * benchtests/bench-memmove.c: Likewise.
24669 * benchtests/bench-memset.c: Likewise.
24670 * benchtests/bench-rawmemchr.c: Likewise.
24671 * benchtests/bench-strcasecmp.c: Likewise.
24672 * benchtests/bench-strcasestr.c: Likewise.
24673 * benchtests/bench-strcat.c: Likewise.
24674 * benchtests/bench-strchr.c: Likewise.
24675 * benchtests/bench-strcmp.c: Likewise.
24676 * benchtests/bench-strcpy.c: Likewise.
24677 * benchtests/bench-strcpy_chk.c: Likewise.
24678 * benchtests/bench-strlen.c: Likewise.
24679 * benchtests/bench-strncasecmp.c: Likewise.
24680 * benchtests/bench-strncat.c: Likewise.
24681 * benchtests/bench-strncmp.c: Likewise.
24682 * benchtests/bench-strncpy.c: Likewise.
24683 * benchtests/bench-strnlen.c: Likewise.
24684 * benchtests/bench-strpbrk.c: Likewise.
24685 * benchtests/bench-strrchr.c: Likewise.
24686 * benchtests/bench-strspn.c: Likewise.
24687 * benchtests/bench-strstr.c: Likewise.
24688
cae16d66
WN
246892013-09-04 Will Newton <will.newton@linaro.org>
24690
24691 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24692
ffa3cd7f
JM
246932013-09-03 Joseph Myers <joseph@codesourcery.com>
24694
24695 [BZ #15427]
24696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24697 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24698 * math/libm-test.inc (lgamma_test_data): Add more tests.
24699 * sysdeps/i386/fpu/libm-test-ulps: Update.
24700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24701
8f02859f
OB
247022013-09-03 Ondřej Bílka <neleai@seznam.cz>
24703
24704 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24706 Add ifunc.
24707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24708 Add strcmp-sse2-unaligned
24709 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24710
18d43716
MF
247112013-09-02 Mike Frysinger <vapier@gentoo.org>
24712
24713 * Versions.def (libc): Add GLIBC_2.19.
24714
ac444012
MF
247152013-09-02 Mike Frysinger <vapier@gentoo.org>
24716
24717 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24718 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24719
b7835e32
JM
247202013-09-02 Joseph Myers <joseph@codesourcery.com>
24721
24722 [BZ #14155]
24723 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24724 intermediate calculations in recurrence.
24725 (__ieee754_ynf): Likewise.
24726 * math/libm-test.inc (jn_test_data): Do not allow spurious
24727 underflow exception. Add more tests.
24728 (yn_test_data): Add more tests.
24729 * sysdeps/i386/fpu/libm-test-ulps: Update.
24730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24731
8220f4f0
OB
247322013-09-02 Ondřej Bílka <neleai@seznam.cz>
24733
24734 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24735
f24a6d08
OB
247362013-08-30 Ondřej Bílka <neleai@seznam.cz>
24737
24738 * csu/init-first.c: Fix then/than typos.
24739 * locale/programs/ld-collate.c: Likewise.
24740 * locale/programs/linereader.h: Likewise.
24741 * manual/charset.texi: Likewise.
24742 * manual/filesys.texi: Likewise.
24743 * manual/stdio.texi: Likewise.
24744 * manual/string.texi: Likewise.
24745 * stdlib/fmtmsg.c: Likewise.
24746 * sysdeps/i386/stpncpy.S: Likewise.
24747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24748 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24749 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24750 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24751
382466e0
OB
247522013-08-30 Ondřej Bílka <neleai@seznam.cz>
24753
24754 * elf/dl-open.c: Fix typos.
24755 * iconvdata/gbbig5.c: Likewise.
24756 * iconvdata/iso-2022-jp.c: Likewise.
24757 * iconv/gconv_int.h: Likewise.
24758 * iconv/loop.c: Likewise.
24759 * nis/rpcsvc/nis.h: Likewise.
24760 * resolv/ns_name.c: Likewise.
24761 * stdio-common/vfscanf.c: Likewise.
24762 * streams/stropts.h: Likewise.
24763 * sunrpc/rpc_thread.c: Likewise.
24764 * sysdeps/i386/strpbrk.S: Likewise.
24765 * sysdeps/ieee754/k_standard.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24768 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24769 * sysdeps/mach/hurd/profil.c: Likewise.
24770 * sysdeps/s390/dl-procinfo.h: Likewise.
24771 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24772 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24773 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24774 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24776
0186c6e9
OB
247772013-08-30 Ondřej Bílka <neleai@seznam.cz>
24778
24779 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24781
d4e16af1
OB
247822013-08-29 Ondřej Bílka <neleai@seznam.cz>
24783
24784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24785 aix specific files.
24786 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24787 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24788 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24789 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24790 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24791 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24792 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24793 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24794
88335980
TS
247952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24796 Roland McGrath <roland@hack.frob.com>
24797
24798 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24799 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24800
ed479b02
ST
248012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24802
24803 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24804 __executable_start symbol instead of _start.
24805
f1cc4c86
TS
248062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24807
d821f07c
TS
24808 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24809 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24810 Move macros to...
24811 * sysdeps/gnu/ldsodefs.h: ... this new file.
24812
c54290cf
TS
24813 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24814 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24815 instead of ELFOSABI_LINUX.
24816
0007fc9b 24817 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24818 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24819 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24820 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24821 Likewise.
24822 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24823 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24824 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24825 Likewise.
24826 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24827 (ibm_extended_long_double): Add ieee_nan member.
24828 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24829 (do_test): New function.
24830
f1cc4c86
TS
24831 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24832 TEST_TRUNC.
24833 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24834 functions, renamed from truncdfsf_test, trunctfsf_test,
24835 trunctfdf_test.
24836 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24837 functions.
24838 (do_test): Run all these.
24839
6f65e668
OB
248402013-08-29 Ondřej Bílka <neleai@seznam.cz>
24841
24842 * argp/argp-help.c: Fix typos.
24843 * argp/argp-parse.c: Likewise.
24844 * debug/backtracesyms.c: Likewise.
24845 * elf/elf.h: Likewise.
24846 * malloc/malloc.c: Likewise.
24847 * nis/nis_print.c: Likewise.
24848 * resolv/res_comp.c: Likewise.
24849 * stdlib/stdlib.h: Likewise.
24850 * sunrpc/clnt_tcp.c: Likewise.
24851 * sunrpc/clnt_udp.c: Likewise.
24852 * sunrpc/clnt_unix.c: Likewise.
24853 * sysdeps/unix/bsd/ptsname.c: Likewise.
24854 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24855 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24857 Likewise.
24858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24859 Likewise.
24860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24861 Likewise.
6f65e668
OB
24862 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24863
3a309239
SP
248642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24865
24866 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24868
3b813b29
MF
248692013-08-27 Mike Frysinger <vapier@gentoo.org>
24870
24871 [BZ #15897]
24872 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24873 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24874 ($(objpfx)bug-dl-leaf): New rule.
24875 ($(objpfx)bug-dl-leaf.so): Likewise.
24876 ($(objpfx)bug-dl-leaf.out): Likewise.
24877 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24878 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24879 * dlfcn/bug-dl-leaf.c: New test.
24880 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24881 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24882 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24883 (dlclose): Likewise.
24884 (dlmopen): Likewise.
24885
8cc3269f
RM
248862013-08-27 Roland McGrath <roland@hack.frob.com>
24887
7f9d0034
RM
24888 * include/netdb.h [!_ISOMAC]:
24889 Don't include <tls.h>.
24890 (h_errno, __libc_h_errno): Move declaration and macros out of
24891 [_LIBC_REENTRANT].
24892
fb431262
RM
24893 * include/resolv.h [_RESOLV_H_]:
24894 Don't include <tls.h>.
24895 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24896 * resolv/res_libc.c: Don't include <tls.h>.
24897 (_res): Use __attribute__ ((nocommon)) in place of
24898 __attribute__ ((section (".bss"))).
24899
bd81123a
RM
24900 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24901 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24902
c4e42566
RM
24903 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24904
f890a59b
RM
24905 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24906 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24907
24908 * resolv/res_mkquery.c: Include <sys/time.h>.
24909
5d1f0a09
RM
24910 * inet/ifreq.c: Moved to ...
24911 * sysdeps/unix/ifreq.c: ... here.
24912 * inet/ifreq.c: New file, true stub version.
24913
6fcf28b3
RM
24914 * socket/sa_len.c: New file.
24915 * socket/Makefile (aux): Add it.
24916 * sysdeps/unix/sysv/linux/Makefile
24917 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24918 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24919 and #include <socket/sa_len.c>.
24920 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24921 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24922
e041fb8b
RM
24923 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24924 * bits/socket.h: ... here.
24925
8cc3269f
RM
24926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24927 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24928 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24929
5d228a43
AS
249302013-08-27 Andreas Schwab <schwab@suse.de>
24931
45b8accc
AS
24932 [BZ #15736]
24933 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24934 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24935 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24936 * string/test-strcasecmp.c (test_main): Run tests in several
24937 locales.
24938 * string/test-strncasecmp.c (test_main): Likewise.
24939
5d228a43
AS
24940 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24941 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24942 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24944 (__strncasecmp_ssse3) [PIC]: Likewise.
24945
59d112a4
RM
249462013-08-26 Roland McGrath <roland@hack.frob.com>
24947
53234cc3
RM
24948 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24949
59d112a4
RM
24950 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24951 instead of explicitly declaring xdecrypt.
24952 * nis/nss_nis/nis-publickey.c: Likewise.
24953
595aba70
SP
249542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24955
24956 [BZ #15890]
24957 * nscd/aicache.c: Include res_hconf.h.
24958 (addhstaiX): Initialize res_hconf.
24959
ffabd393
AS
249602013-08-26 Andreas Schwab <schwab@suse.de>
24961
24962 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24963 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24964
e0a69f5c
SP
249652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24966
24967 * nscd/aicache.c (addhstaiX): Fix indentation.
24968
8c12f01d
MF
249692013-08-25 Mike Frysinger <vapier@gentoo.org>
24970
24971 * configure.ac: Quote $build_pt_chown test.
24972 * configure: Regenerated.
24973
8fe89494
JM
249742013-08-23 Joseph Myers <joseph@codesourcery.com>
24975
24976 [BZ #15532]
24977 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24978 * math/s_cexpf.c (__cexpf): Likewise.
24979 * math/s_cexpl.c (__cexpl): Likewise.
24980 * math/libm-test.inc (cexp_test_data): Correct expected return
24981 value for NaN + i0. Add another test.
24982
75b181d6
DM
249832013-08-22 David S. Miller <davem@davemloft.net>
24984
24985 * po/ca.po: Update Catalan translation from translation project.
936241e4 24986 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24987
acd06bb1
JM
249882013-08-21 Joseph Myers <joseph@codesourcery.com>
24989
24990 [BZ #15797]
24991 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24992 is infinite, not alongside NaN test.
24993 * math/s_fdimf.c (__fdimf): Likewise.
24994 * math/s_fdiml.c (__fdiml): Likewise.
24995 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24996 errno is unchanged.
24997
c0c3f78a
OB
249982013-08-21 Ondřej Bílka <neleai@seznam.cz>
24999
25000 * argp/argp-help.c: Fix typos.
25001 * crypt/speeds.c: Likewise.
25002 * csu/check_fds.c: Likewise.
25003 * elf/dl-load.c: Likewise.
25004 * elf/dl-open.c: Likewise.
25005 * elf/reldep3.c: Likewise.
25006 * elf/reldep.c: Likewise.
25007 * elf/sprof.c: Likewise.
25008 * iconv/iconv_charmap.c: Likewise.
25009 * iconv/skeleton.c: Likewise.
25010 * iconv/strtab.c: Likewise.
25011 * io/lockf64.c: Likewise.
25012 * libio/libioP.h: Likewise.
25013 * resolv/gai_notify.c: Likewise.
25014 * resolv/ns_name.c: Likewise.
25015 * resolv/ns_samedomain.c: Likewise.
25016 * resolv/res_send.c: Likewise.
25017 * stdlib/random.c: Likewise.
25018 * sunrpc/rpc/xdr.h: Likewise.
25019 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25020 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25021 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25022 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25027 * sysdeps/mach/hurd/check_fds.c: Likewise.
25028 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25029 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25032 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25033 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25034 * sysdeps/pthread/aio_notify.c: Likewise.
25035 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25036 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25037 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25039 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25040
46ed1038
LD
250412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25042
25043 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25044 version if bit_Slow_SSE4_2 is set.
25045 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25047
d400dcac
AZ
250482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25049
25050 [BZ #15867]
25051 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25052 trampoline stack frame information.
25053 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25054 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25055 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25056 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25057 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25059 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25060 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25061 sa_flags value.
25062 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25063 interrupting a syscall and set with option SA_SIGINFO.
25064
42c8fdd8
JM
250652013-08-20 Joseph Myers <joseph@codesourcery.com>
25066
c980f2f4
JM
25067 [BZ #15531]
25068 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25069 argument is infinite.
25070 * math/s_cprojf.c (__cprojf): Likewise.
25071 * math/s_cprojl.c (__cprojl): Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25073 * math/libm-test.inc (cproj_test_data): Add more tests.
25074
0716c4fc
JM
25075 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25076
42c8fdd8
JM
25077 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25078 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25079 size. Use __ffs to determine corresponding shift.
25080
b31469d0
JM
250812013-08-20 Joseph Myers <joseph@codesourcery.com>
25082 Roland McGrath <roland@hack.frob.com>
25083
25084 * Makefile (INSTALL): Remove trailing blank lines from output of
25085 makeinfo.
25086
4e39af6e
AK
250872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25088
25089 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25090 Align 32 bit compat elf_greg to 8 bytes.
25091
f315524e
AA
250922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25093
25094 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25095
1326ba1a
SP
250962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25097
25098 * string/strcoll_l.c (coll_seq): New structure.
25099 (get_next_seq_cached): New function.
25100 (get_next_seq): New function.
25101 (do_compare): New function.
25102 (STRCOLL): Use GNU style definition. Simplify implementation
25103 by using get_next_seq, get_next_seq_cached and do_compare.
25104
91ce4085
FW
251052013-08-16 Florian Weimer <fweimer@redhat.com>
25106
25107 [BZ #14699]
25108 CVE-2013-4237
25109 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25110 member.
25111 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25112 member.
25113 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25114 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25115 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25116 conditional.
25117 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25118 GETDENTS_64BIT_ALIGNED.
25119 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25120 * manual/filesys.texi (Reading/Closing Directory): Document
25121 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25122 strongly.
25123 * manual/conf.texi (Limits for Files): Add portability note to
25124 NAME_MAX, PATH_MAX.
25125 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25126
ca0a6bc4
AS
251272013-08-13 Andreas Schwab <schwab@suse.de>
25128
25129 [BZ #15749]
25130 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25131 of fabs.
25132 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25133 LDBL_MAX_EXP >= 16384]: Add tests for it.
25134
6c1fd795
DM
251352013-08-12 David S. Miller <davem@davemloft.net>
25136
25137 * version.h (RELEASE): Set to "development".
25138 (VERSION): Set to "2.18.90".
25139 * NEWS: Add 2.19 section.
25140
31ad488d
DM
251412013-08-03 David S. Miller <davem@davemloft.net>
25142
25143 * po/ko.po: Update Korean translation from translation project.
25144
db24e684
DM
251452013-08-01 David S. Miller <davem@davemloft.net>
25146
25147 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25148 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25149 Bilka.
25150
f723285b
DM
251512013-07-30 David S. Miller <davem@davemloft.net>
25152
25153 * po/fr.po: Update French translation from translation project.
25154
3cbc52db
DM
251552013-07-28 David S. Miller <davem@davemloft.net>
25156
30bbc0cc
DM
25157 * po/cs.po: Update Czech translation from translation project.
25158
3cbc52db
DM
25159 * po/sv.po: Update Swedish translation from translation project.
25160
d492e6d0
DM
251612013-07-27 David S. Miller <davem@davemloft.net>
25162
f1a7f492
DM
25163 * po/eo.po: Update Esperanto translation from translation project.
25164
90e62a4a
DM
25165 * po/vi.po: Update Vietnamese translation from translation project.
25166
d492e6d0
DM
25167 * po/de.po: Update German translation from translation project.
25168
d4baa62d
DM
251692013-07-26 David S. Miller <davem@davemloft.net>
25170
641aa7b4
DM
25171 * po/bg.po: Update Bulgarian translation from translation project.
25172
d4baa62d
DM
25173 * po/nl.po: Update Dutch translation from translation project.
25174 * po/pl.po: Update Polish translation from translation project.
25175 * po/ru.po: Update Russian translation from translation project.
25176
61a9dcb9
DM
251772013-07-24 David S. Miller <davem@davemloft.net>
25178
25179 * po/libc.pot: Update.
25180
7b1f8b58
AZ
251812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25182
25183 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25184 variable page size.
25185 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25186 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25187 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25188
a8fc7a03
AK
251892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25190
25191 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25192
e4608715
CD
251932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25194 Andreas Schwab <schwab@suse.de>
25195 Roland McGrath <roland@hack.frob.com>
25196 Joseph Myers <joseph@codesourcery.com>
25197 Carlos O'Donell <carlos@redhat.com>
25198
25199 [BZ #15755]
25200 * config.h.in: Define HAVE_PT_CHOWN.
25201 * config.make.in (build-pt-chown): New variable.
25202 * configure.in (--enable-pt_chown): New configure option.
25203 * configure: Regenerate.
25204 * login/Makefile: Include Makeconfig. Build pt_chown only if
25205 build-pt-chown is enabled.
25206 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25207 pt_chown to fix pty ownership.
25208 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25209 CLOSE_ALL_FDS.
25210 * manual/install.texi (Configuring and compiling): Mention
25211 --enable-pt_chown. Add @findex for grantpt.
25212 * INSTALL: Regenerate.
25213
da2d62df
DM
252142013-07-20 David S. Miller <davem@davemloft.net>
25215
25216 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25217 difference between 32-bit and 64-bit.
25218
d7e06450
CD
252192013-07-15 Carlos O'Donell <carlos@redhat.com>
25220
25221 [BZ #15711]
25222 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25223 Avoid system header dependency with -ffreestanding.
25224 ($(objpfx)bits/syscall%d): Likewise.
25225
f959cfd7
DM
252262013-07-13 David S. Miller <davem@davemloft.net>
25227
25228 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25229 underflows from atanl/atan2l due to bug 15319.
25230 (casinh_test_data): Likewise.
25231
c61f8513
DM
252322013-07-07 David S. Miller <davem@davemloft.net>
25233
25234 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25235
72c90ed0
JA
252362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25237
25238 * sysdeps/i386/fpu/libm-test-ulps: Update.
25239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25240
52dfbe13
SP
252412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25242
25243 * configure.in (--enable-lock-elision): Fix message text.
25244 * INSTALL: Regenerate.
25245 * configure: Regenerate.
25246
3f169543
AZ
252472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25248
25249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25250
521c6785
AJ
252512013-07-03 Andreas Jaeger <aj@suse.de>
25252
25253 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25254 define.
25255 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25256 (ptrace_peeksiginfo_args): Add.
25257 (__ptrace_peeksiginfo_flags): Add.
25258 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25261
d2cc15cb
AM
252622013-07-03 Allan McRae <allan@archlinux.org>
25263
25264 * sysdeps/i386/fpu/libm-test-ulps: Update.
25265
3aaeeca7
DM
252662013-07-02 David S. Miller <davem@davemloft.net>
25267
25268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25269
5314ed1a
MT
252702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25271
25272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25273
67338156
JM
252742013-07-02 Joseph Myers <joseph@codesourcery.com>
25275
25276 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25278
1717da59
AK
252792013-07-02 Andi Kleen <ak@linux.intel.com>
25280
25281 * config.h.in (ENABLE_LOCK_ELISION): Add.
25282 * configure.in (--enable-lock-elision): Add option.
25283 * manual/install.texi: Document --enable lock elision.
25284 * configure: Regenerate
25285 * INSTALL: Regenerate.
25286
1c81621c
L
252872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25288
25289 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25290 SSE4.2 strcasecmp for libc.a.
25291 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25292
77f01ab5
JM
252932013-07-02 Joseph Myers <joseph@codesourcery.com>
25294
25295 [BZ #13304]
25296 * soft-fp/op-common.h (_FP_FMA): New macro.
25297 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25298 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25299 (_FP_MUL_MEAT_1_imm): ... here.
25300 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25301 (_FP_MUL_MEAT_1_wide): ... here.
25302 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25303 (_FP_MUL_MEAT_1_hard): ... here.
25304 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25305 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25306 (_FP_MUL_MEAT_2_wide): ... here.
25307 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25308 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25309 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25310 (_FP_MUL_MEAT_2_gmp): ... here.
25311 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25312 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25313 (_FP_MUL_MEAT_4_wide): ... here.
25314 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25315 (_FP_MUL_MEAT_4_gmp): ... here.
25316 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25317 (_FP_WFRACBITS_DW_S): Likewise.
25318 (_FP_WFRACXBITS_DW_S): Likewise.
25319 (_FP_HIGHBIT_DW_S): Likewise.
25320 (FP_FMA_S): Likewise.
25321 (_FP_FRAC_HIGH_DW_S): Likewise.
25322 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25323 (_FP_WFRACBITS_DW_D): Likewise.
25324 (_FP_WFRACXBITS_DW_D): Likewise.
25325 (_FP_HIGHBIT_DW_D): Likewise.
25326 (FP_FMA_D): Likewise.
25327 (_FP_FRAC_HIGH_DW_D): Likewise.
25328 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25329 (_FP_WFRACBITS_DW_E): Likewise.
25330 (_FP_WFRACXBITS_DW_E): Likewise.
25331 (_FP_HIGHBIT_DW_E): Likewise.
25332 (FP_FMA_E): Likewise.
25333 (_FP_FRAC_HIGH_DW_E): Likewise.
25334 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25335 (_FP_WFRACBITS_DW_Q): Likewise.
25336 (_FP_WFRACXBITS_DW_Q): Likewise.
25337 (_FP_HIGHBIT_DW_Q): Likewise.
25338 (FP_FMA_Q): Likewise.
25339 (_FP_FRAC_HIGH_DW_Q): Likewise.
25340 * soft-fp/fmasf4.c: New file.
25341 * soft-fp/fmadf4.c: Likewise.
25342 * soft-fp/fmatf4.c: Likewise.
25343
6308fd9a
LD
253442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25345
25346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25347 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25348 Silvermont.
25349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25350 macro.
25351 (index_Slow_SSE4_2): Likewise.
25352 (index_Prefer_PMINUB_for_stringop): Likewise.
25353 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25354 bit_Slow_SSE4_2 is set.
25355 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25356 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25357
89cd9569
RA
253582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25359
25360 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25361 rtld_global._dl_hwcap2.
25362 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25363 POWER8.
25364 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25365 POWER8 feature descriptions defined in _dl_hwcap2.
25366 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25367 string handling for POWER8 feature bits.
25368 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25369 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25370 _dl_powerpc_cap_flags.
25371 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25372 * sysdeps/powerpc/rtld-global-offsets.sym
25373 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25374 _dl_hwcap2 in the rtld_global_ro structure.
25375
1ae8bfe0
RA
253762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25377
25378 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25379 hardware capabilities in support of AT_HWCAP2.
25380 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25381 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25382 GLRO(dl_hwcap2).
25383 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25384 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25385 explicitly the unknown a_type display mechanism is used.
25386 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25387 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25388 struct member.
25389 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25390 to macro prototype for AT_HWCAP2 support.
25391 * sysdeps/i386/dl-procinfo.h: Likewise.
25392 * sysdeps/s390/dl-procinfo.h: Likewise.
25393 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25394 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25395 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25396 return -1 for unknown a_type display fallback.
25397 * sysdeps/sparc/dl-procinfo.h: Likewise.
25398 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25399 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25400
8fbec010
JM
254012013-06-28 Joseph Myers <joseph@codesourcery.com>
25402
25403 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25404 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25405
0432680e
PY
254062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25407
25408 [BZ #12492]
25409 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25410 mprotect making __stack_prot writable.
25411
ce61a2ad
NF
254122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25413 Joseph Myers <joseph@codesourcery.com>
25414
25415 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25416 as being properly aligned.
25417
f91f1c0f
MR
254182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25419
3d0f5d0c
MR
25420 * dlfcn/modstatic5.c: New file.
25421 * dlfcn/tststatic5.c: New file.
25422 * dlfcn/Makefile (tests): Add tststatic5.
25423 (tests-static): Likewise.
25424 (modules-names): Add modstatic5.
25425 (tststatic5-ENV): New variable.
25426 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25427
f91f1c0f
MR
25428 [BZ #15022]
25429 * elf/dl-support.c (_dl_main_map): New variable.
25430 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25431 (_dl_nns, _dl_load_adds): Set to 1.
25432 (_dl_initial_searchlist): Refer to _dl_main_map.
25433 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25434 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25435 call to _dl_get_origin.
25436 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25437 around call_map.
25438 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25439 * dlfcn/modstatic3.c: New file.
25440 * dlfcn/tststatic3.c: New file.
25441 * dlfcn/tststatic4.c: New file.
25442 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25443 (tests-static): Likewise.
25444 (modules-names): Add modstatic3.
25445 (tststatic3-ENV, tststatic4-ENV): New variables.
25446 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25447 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25448
cbe7d24b
JM
254492013-06-26 Joseph Myers <joseph@codesourcery.com>
25450
25451 * configure.in (CC): Require GCC version 4.4 or later.
25452 * configure: Regenerated.
25453 * manual/install.texi (Tools for Compilation): Update GCC version
25454 requirement.
25455 * INSTALL: Regenerated.
25456
11b8a0e1
LD
254572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25458
25459 [BZ #15674]
bb5bb87c
L
25460 * string/test-memcmp.c (check2): New.
25461 (main): Call check2.
25462
11b8a0e1
LD
25463 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25464
b0037103
MR
254652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25466
25467 [BZ #15022]
25468 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25469 over to...
25470 (dl_open_worker) [!SHARED]: ... here.
25471
c18c701d
RA
254722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25473
25474 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25475
1d17fa5f
RH
254762013-06-25 Richard Henderson <rth@redhat.com>
25477
25478 * locale/programs/locarchive.c: Include <libc-internal.h>
25479
8fcb833a
JM
254802013-06-25 Joseph Myers <joseph@codesourcery.com>
25481
25482 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25483 trailing whitespace removed.
25484
17db6e8d
MF
254852013-06-24 Mike Frysinger <vapier@gentoo.org>
25486
25487 [BZ #10283]
17db6e8d
MF
25488 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25489 * locale/programs/locarchive.c: Include libc-mmap.h.
25490 (prepare_address_space): Take two new outputs (the mmap base and len).
25491 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25492 values.
25493 (create_archive): Declare new mmap base and len values for
25494 prepare_address_space, and store the result in ah.
25495 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25496 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25497 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25498 Declare new mmap base and len values for
25499 prepare_address_space, and store the result in new_ah.
25500 (open_archive): Declare new mmap base and len values for
25501 prepare_address_space, and store the result in ah.
25502 (close_archive): If ah->mmap_base is not NULL, use that and
25503 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25504 * sysdeps/generic/libc-mmap.h: New file.
25505
d605071e
MF
255062013-06-24 Mike Frysinger <vapier@gentoo.org>
25507
25508 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25509 (ALIGN_UP): Likewise.
25510 (PTR_ALIGN_DOWN): Likewise.
25511 (PTR_ALIGN_UP): Likewise.
25512
2f063a6e
RA
255132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25514
25515 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25516 entry mapped to PPC_PLATFORM_POWER8.
25517 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25518 POWER8.
25519 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25520 (_dl_string_platform): Add case for exporting platform position for
25521 POWER8.
25522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25523 search path to sysdeps/powerpc/powerpc32/power8 directory.
25524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25525 search path to sysdeps/powerpc/powerpc64/power8 directory.
25526 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25527 power7 directories.
25528 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25529 power7 directories.
25530
a31ee4b3
SP
255312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25532
a74ca98f
SP
25533 * INSTALL: Regenerate.
25534
a31ee4b3
SP
25535 * nscd/connections.c (nscd_init): Fix comment.
25536
695c378f
JM
255372013-06-22 Joseph Myers <joseph@codesourcery.com>
25538
d8412221
JM
25539 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25540
695c378f
JM
25541 [BZ #15667]
25542 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25543 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25544
d1d54715
MR
255452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25546
25547 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25548 DL_DST_REQ_STATIC.
25549 (DL_DST_REQ_STATIC): Remove macro.
25550
8fdda7af
JM
255512013-06-21 Joseph Myers <joseph@codesourcery.com>
25552
25553 [BZ #7006]
25554 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25555 with a shift of 0 bits.
25556
f3bc5e5a
MR
255572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25558
25559 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25560 $(tststatic-ENV).
25561
be09e8c9
KK
255622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25563
25564 [BZ #15655]
25565 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25566
85c2e611
AZ
255672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25568
25569 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25570 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25571 accepts -fno-tree-loop-distribute-patterns.
25572 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25573 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25574 recursive call.
25575 * string/memset.c (memset): Likewise.
25576 * string/test-memmove.c (simple_memmove): Disable loop transformation
25577 to library calls.
25578 * string/test-memset.c (simple_memset): Likewise.
25579 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25580 * benchtests/bench-memset.c (simple_memset): Likewise.
25581 * configure: Regenerated.
25582
c91e0825
JM
255832013-06-20 Joseph Myers <joseph@codesourcery.com>
25584
b8c792af
JM
25585 * math/test-misc.c (main): Ignore fesetround failure when failures
25586 of subsequent rounding tests would be ignored.
25587
c91e0825
JM
25588 [BZ #15654]
25589 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25590 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25591 * math/fegetenv.c (__fegetenv): Return 0.
25592 * math/fegetexcept.c (fegetexcept): Return 0.
25593 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25594 FE_TONEAREST.
25595 * math/feholdexcpt.c (feholdexcept): Return 0.
25596 * math/fesetenv.c (__fesetenv): Return 0.
25597 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25598 argument FE_TONEAREST.
25599 * math/feupdateenv.c (__feupdateenv): Return 0.
25600 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25601
bfcacbde
RM
256022013-06-18 Roland McGrath <roland@hack.frob.com>
25603
25604 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25605 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25606 ($(objpfx)rtld-%.os rules): Use them.
25607
e55a9b25
AZ
256082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25609
25610 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25611 fields.
25612
346d65b3
RM
256132013-06-17 Roland McGrath <roland@hack.frob.com>
25614
12086fb4
RM
25615 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25616 length of target pattern, then descending length of dependency pattern.
25617 * configure.in (AWK): Require gawk 3.1.2 or newer.
25618 * manual/install.texi (Tools for Compilation): Say that we do.
25619 * configure: Regenerated.
25620
346d65b3
RM
25621 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25622 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25623 * scripts/sysd-rules.awk: ... this new script.
25624 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25625 than a glob-style pattern.
25626
1a846317
JM
256272013-06-17 Joseph Myers <joseph@codesourcery.com>
25628
25629 * math/test-misc.c (main): Do not treat incorrectly rounded
25630 conversions as failure unless ROUNDING_TESTS passes.
25631
8fc75e6f
JM
256322013-06-15 Joseph Myers <joseph@codesourcery.com>
25633
3711a167
JM
25634 [BZ #15631]
25635 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25636 restore exception state around main square root computation, then
25637 check for inexactness explicitly.
25638
8fc75e6f
JM
25639 * math/libm-test.inc (fma_test_data): Add another test.
25640
61dd6208
SP
256412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25642
adf23d2c
SP
25643 * manual/threads.texi (Non-POSIX Extensions): New document
25644 node. Document pthread_getattr_default_np and
25645 pthread_setattr_default_np.
25646
61dd6208
SP
25647 * Versions.def (libpthread): Add GLIBC_2.18.
25648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25650 Likewise.
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25652 Likewise.
25653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25654 Likewise.
25655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25656 Likewise.
25657 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25658 Likewise.
25659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25660 Likewise.
25661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25662 Likewise.
25663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25664 Likewise.
25665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25666 Likewise.
25667
d086fc7b
LD
256682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25669
25670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25671 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25672
747ef469
SP
256732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25674 H.J. Lu <hjl.tools@gmail.com>
25675
25676 [BZ #15627]
25677 * sysdeps/x86_64/rtld-memset.c: Remove file.
25678 * sysdeps/x86_64/rtld-memset.S: New file.
25679
1b2feed2
JM
256802013-06-14 Joseph Myers <joseph@codesourcery.com>
25681
25682 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25683 (test_in_one_mode): Take arguments for whether the rounding mode
25684 is supported for each floating-point type.
25685 (do_test): Pass new arguments to test_in_one_mode using
25686 ROUNDING_TESTS.
25687
a58ad3f8
RM
256882013-06-13 Roland McGrath <roland@hack.frob.com>
25689
25690 * posix/tst-waitid.c (do_test): Distinguish different instances of
25691 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25692 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25693 before entering the kernel for waitpid.
25694
c204ab28
SP
256952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25696
25697 * NEWS: Fix note on clock function precision. Text by Roland
25698 McGrath.
25699
f4a29fba
RM
257002013-06-13 Roland McGrath <roland@hack.frob.com>
25701
25702 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25703 it into place only when and if the sanity check passes.
25704
1f24b9ad
JM
257052013-06-13 Joseph Myers <joseph@codesourcery.com>
25706
25707 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25708 output for whether conversion result is exact. Take argument
25709 indicating whether type is IBM long double.
25710 (round_for_all): Change need_exact field to ibm_ld.
25711 * stdlib/tst-strtod-round.c (struct exactness): New type.
25712 (struct test): Change bool ld_ok field to struct exactness exact.
25713 (TEST): Update all definitions for change to field.
25714 (tests): Regenerate array contents.
25715 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25716 field value. Check for IBM long double here.
25717 (do_test): Update calls to test_in_one_mode.
25718
58206c68
SP
257192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25720
25721 [BZ #12515]
25722 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25723 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25724
2d6f4c5b 257252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25726
25727 [BZ #15605]
25728 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25729 generated by the compiler on loop optimizations.
25730 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25731 general definitions.
25732
94f2c076
JM
257332013-06-12 Joseph Myers <joseph@codesourcery.com>
25734
25735 * math/bug-nextafter.c: Include <math-tests.h>.
25736 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25737 the relevant type.
25738 * math/bug-nexttoward.c: Include <math-tests.h>.
25739 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25740 the relevant type.
25741 * math/test-misc.c: Include <math-tests.h>.
25742 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25743 the relevant type.
25744
e0e50a0a
AJ
257452013-06-12 Andreas Jaeger <aj@suse.de>
25746
25747 * po/ia.po: Update Interlingua translation from translation
25748 project.
25749
25061094
SP
257502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25751
25752 * include/fenv.h: Include stdbool.h.
25753 (struct rm_ctx): New structure.
25754 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25755 Define macro.
25756 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25757 (SET_RESTORE_ROUNDF): Likewise.
25758 (SET_RESTORE_ROUNDL): Likewise.
25759 (SET_RESTORE_ROUND_NOEX): Likewise.
25760 (SET_RESTORE_ROUND_NOEXF): Likewise.
25761 (SET_RESTORE_ROUND_NOEXL): Likewise.
25762 (SET_RESTORE_ROUND_53BIT): Likewise.
25763 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25764 (libc_feresetround_noexf_ctx): Likewise.
25765 (libc_feresetround_noexl_ctx): Likewise.
25766 (libc_feholdsetround_53bit_ctx): Likewise.
25767 (libc_feresetround_53bit_ctx): Likewise.
25768 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25769 (libc_feholdexcept_setround_sse_ctx): New function.
25770 (libc_fesetenv_sse_ctx): Likewise.
25771 (libc_feupdateenv_sse_ctx): Likewise.
25772 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25773 (libc_feholdexcept_setround_387_ctx): Likewise.
25774 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25775 (libc_feholdsetround_387_prec_ctx): Likewise.
25776 (libc_feholdsetround_387_ctx): Likewise.
25777 (libc_feholdsetround_387_53bit_ctx): Likewise.
25778 (libc_feholdsetround_sse_ctx): Likewise.
25779 (libc_feresetround_sse_ctx): Likewise.
25780 (libc_feresetround_387_ctx): Likewise.
25781 (libc_feupdateenv_387_ctx): Likewise.
25782 (libc_feholdexcept_setroundf_ctx): Define macro.
25783 (libc_fesetenvf_ctx): Likewise.
25784 (libc_feupdateenvf_ctx): Likewise.
25785 (libc_feholdsetroundf_ctx): Likewise.
25786 (libc_feresetroundf_ctx): Likewise.
25787 (libc_feholdexcept_setround_ctx): Likewise.
25788 (libc_fesetenv_ctx): Likewise.
25789 (libc_feupdateenv_ctx): Likewise.
25790 (libc_feholdsetround_ctx): Likewise.
25791 (libc_feresetround_ctx): Likewise.
25792 (libc_feholdexcept_setroundl_ctx): Likewise.
25793 (libc_feupdateenvl_ctx): Likewise.
25794 (libc_feholdsetroundl_ctx): Likewise.
25795 (libc_feresetroundl_ctx): Likewise.
25796 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25797 (libc_feresetround_53bit_ctx): Likewise.
25798
59b30555
SP
257992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25800
25801 * locale/iso-639.def: Convert to UTF-8.
25802
f1d73d30
JM
258032013-06-11 Joseph Myers <joseph@codesourcery.com>
25804
25805 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25806 (EXCEPTION_TESTS_double): Likewise.
25807 (EXCEPTION_TESTS_long_double): Likewise.
25808 (EXCEPTION_TESTS): Likewise.
25809 * math/libm-test.inc (test_exceptions): Only test exceptions if
25810 EXCEPTION_TESTS (FLOAT).
25811
94aca5e7
SP
258122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25813
25814 * benchtests/Makefile (string-bench): Add strcpy_chk and
25815 stpcpy_chk.
25816 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25817 * benchtests/bench-stpcpy_chk.c: New file.
25818 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25819 * benchtests/bench-strcpy_chk.c: New file.
25820 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25821 code.
25822 (do_test): Likewise.
25823
fac0c5f2
RA
258242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25825
25826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25827 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25828 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25829 with tabs where appropriate.
25830 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25831 dl-procinfo.h.
25832 [PPC_PLATFORM_PPC440]: Likewise.
25833 [PPC_PLATFORM_PPC464]: Likewise.
25834 [PPC_PLATFORM_PPC476]: Likewise.
25835 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25836 ppc464, and ppc476 platform strings merging from ports/
25837 dl-procinfo.h.
25838
f22bc486
AS
258392013-06-11 Andreas Schwab <schwab@suse.de>
25840
25841 [BZ #14991]
25842 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25843 (from_ucs4_idx): Regenerate.
25844 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25845 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25846 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25847 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25848 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25849 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25850 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25851 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25852 from FROM_LOOP and TO_LOOP specific macros.
25853 (BODY): Handle combining characters.
25854 * iconvdata/BIG5HKSCS.irreversible: Update.
25855 * iconvdata/BIG5HKSCS.precomposed: New file.
25856 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25857 characters.
25858 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25859
c1f75dc3
SP
258602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25861
4eacded2
SP
25862 * include/sys/time.h: Fix indentation and add copyright header.
25863
fec799f8
SP
25864 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25865 (do_test): Likewise.
25866 * string/test-memchr.c (do_one_test): Likewise.
25867 (do_test): Likewise.
25868 * string/test-memcmp.c (do_one_test): Likewise.
25869 (do_test): Likewise.
25870 * string/test-memcpy.c (do_one_test): Likewise.
25871 (do_test): Likewise.
25872 * string/test-memmem.c (do_one_test): Likewise.
25873 (do_test): Likewise.
25874 (do_random_tests): Likewise.
25875 * string/test-memmove.c (do_one_test): Likewise.
25876 (do_test): Likewise.
25877 * string/test-memset.c (do_one_test): Likewise.
25878 (do_test): Likewise.
25879 * string/test-rawmemchr.c (do_one_test): Likewise.
25880 (do_test): Likewise.
25881 * string/test-strcasecmp.c (do_one_test): Likewise.
25882 (do_test): Likewise.
25883 * string/test-strcasestr.c (do_one_test): Likewise.
25884 (do_test): Likewise.
25885 * string/test-strcat.c (do_one_test): Likewise.
25886 (do_test): Likewise.
25887 * string/test-strchr.c (do_one_test): Likewise.
25888 (do_test): Likewise.
25889 * string/test-strcmp.c (do_one_test): Likewise.
25890 (do_test): Likewise.
25891 * string/test-strcpy.c (do_one_test): Likewise.
25892 (do_test): Likewise.
25893 * string/test-string.h: Likewise.
25894 (test_init): Likewise.
25895 * string/test-strlen.c (do_one_test): Likewise.
25896 (do_test): Likewise.
25897 * string/test-strncasecmp.c (do_one_test): Likewise.
25898 (do_test): Likewise.
25899 * string/test-strncat.c (do_one_test): Likewise.
25900 (do_test): Likewise.
25901 * string/test-strncmp.c (do_one_test): Likewise.
25902 (do_test_limit): Likewise.
25903 (do_test): Likewise.
25904 * string/test-strncpy.c (do_one_test): Likewise.
25905 (do_test): Likewise.
25906 * string/test-strnlen.c (do_one_test): Likewise.
25907 (do_test): Likewise.
25908 * string/test-strpbrk.c (do_one_test): Likewise.
25909 (do_test): Likewise.
25910 * string/test-strrchr.c (do_one_test): Likewise.
25911 (do_test): Likewise.
25912 * string/test-strspn.c (do_one_test): Likewise.
25913 (do_test): Likewise.
25914 * string/test-strstr.c (do_one_test): Likewise.
25915 (do_test): Likewise.
25916
97020474
SP
25917 * benchtests/Makefile (string-bench): Add string benchmarks.
25918 * benchtests/bench-bcopy-ifunc.c: New file.
25919 * benchtests/bench-bcopy.c: New file.
25920 * benchtests/bench-bzero-ifunc.c: New file.
25921 * benchtests/bench-bzero.c: New file.
25922 * benchtests/bench-memccpy-ifunc.c: New file.
25923 * benchtests/bench-memccpy.c: New file.
25924 * benchtests/bench-memchr-ifunc.c: New file.
25925 * benchtests/bench-memchr.c: New file.
25926 * benchtests/bench-memcmp-ifunc.c: New file.
25927 * benchtests/bench-memcmp.c: New file.
25928 * benchtests/bench-memmem-ifunc.c: New file.
25929 * benchtests/bench-memmem.c: New file.
25930 * benchtests/bench-memmove-ifunc.c: New file.
25931 * benchtests/bench-memmove.c: New file.
25932 * benchtests/bench-mempcpy-ifunc.c: New file.
25933 * benchtests/bench-mempcpy.c: New file.
25934 * benchtests/bench-memset-ifunc.c: New file.
25935 * benchtests/bench-memset.c: New file.
25936 * benchtests/bench-rawmemchr-ifunc.c: New file.
25937 * benchtests/bench-rawmemchr.c: New file.
25938 * benchtests/bench-stpcpy-ifunc.c: New file.
25939 * benchtests/bench-stpcpy.c: New file.
25940 * benchtests/bench-stpncpy-ifunc.c: New file.
25941 * benchtests/bench-stpncpy.c: New file.
25942 * benchtests/bench-strcasecmp-ifunc.c: New file.
25943 * benchtests/bench-strcasecmp.c: New file.
25944 * benchtests/bench-strcasestr-ifunc.c: New file.
25945 * benchtests/bench-strcasestr.c: New file.
25946 * benchtests/bench-strcat-ifunc.c: New file.
25947 * benchtests/bench-strcat.c: New file.
25948 * benchtests/bench-strchr-ifunc.c: New file.
25949 * benchtests/bench-strchr.c: New file.
25950 * benchtests/bench-strchrnul-ifunc.c: New file.
25951 * benchtests/bench-strchrnul.c: New file.
25952 * benchtests/bench-strcmp-ifunc.c: New file.
25953 * benchtests/bench-strcmp.c: New file.
25954 * benchtests/bench-strcpy-ifunc.c: New file.
25955 * benchtests/bench-strcpy.c: New file.
25956 * benchtests/bench-strcspn-ifunc.c: New file.
25957 * benchtests/bench-strcspn.c: New file.
25958 * benchtests/bench-strlen-ifunc.c: New file.
25959 * benchtests/bench-strlen.c: New file.
25960 * benchtests/bench-strncasecmp-ifunc.c: New file.
25961 * benchtests/bench-strncasecmp.c: New file.
25962 * benchtests/bench-strncat-ifunc.c: New file.
25963 * benchtests/bench-strncat.c: New file.
25964 * benchtests/bench-strncmp-ifunc.c: New file.
25965 * benchtests/bench-strncmp.c: New file.
25966 * benchtests/bench-strncpy-ifunc.c: New file.
25967 * benchtests/bench-strncpy.c: New file.
25968 * benchtests/bench-strnlen-ifunc.c: New file.
25969 * benchtests/bench-strnlen.c: New file.
25970 * benchtests/bench-strpbrk-ifunc.c: New file.
25971 * benchtests/bench-strpbrk.c: New file.
25972 * benchtests/bench-strrchr-ifunc.c: New file.
25973 * benchtests/bench-strrchr.c: New file.
25974 * benchtests/bench-strspn-ifunc.c: New file.
25975 * benchtests/bench-strspn.c: New file.
25976 * benchtests/bench-strstr-ifunc.c: New file.
25977 * benchtests/bench-strstr.c: New file.
25978
c1f75dc3
SP
25979 * benchtests/Makefile: Disable parallel execution of targets.
25980 (string-bench): Add memcpy.
25981 (benchset): New variable to store a list of benchmark sets.
25982 (bench-func): Renamed from bench.
25983 (bench-set): New target.
25984 (bench): Depend on bench-func and bench-set.
25985 * benchtests/README: Add section on benchmark sets.
25986 * benchtests/bench-memcpy-ifunc.c: New file.
25987 * benchtests/bench-memcpy.c: New file.
25988 * benchtests/bench-string.h: New file.
25989
50fd745b
AS
259902013-06-11 Andreas Schwab <schwab@suse.de>
25991
25992 [BZ #15577]
25993 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25994 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25995 values in the triple.
25996 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25997 terminator in the group key.
25998
3ee7e9fe
AJ
259992013-06-11 Andreas Jaeger <aj@suse.de>
26000
26001 * po/zh_TW.po: Update Chinese (traditional) translation from
26002 translation project.
26003
89fb6835
SP
260042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26005
26006 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26007 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26008 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26010 (clock_getcpuclockid): Likewise.
26011 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26012 Add weak_alias and libc_hidden_def.
26013 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26014 * rt/clock_gettime.c (clock_gettime): Rename to
26015 __clock_gettime. Add weak_alias and libc_hidden_def.
26016 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26017 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26018 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26019 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26020 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26021 Likewise.
26022 * rt/clock_settime.c (clock_settime): Rename to
26023 __clock_settime. Add weak_alias and libc_hidden_def.
26024 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26025
0efa6f8b
JM
260262013-06-10 Joseph Myers <joseph@codesourcery.com>
26027
b8c61b4b
JM
26028 * mach/err_boot.sub: Remove trailing whitespace.
26029 * mach/err_ipc.sub: Likewise.
26030 * mach/err_mach.sub: Likewise.
26031
0efa6f8b
JM
26032 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26033 (ROUNDING_TESTS_double): Likewise.
26034 (ROUNDING_TESTS_long_double): Likewise.
26035 (ROUNDING_TESTS): Likewise.
26036 * math/libm-test.inc: Include <math-tests.h>.
26037 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26038 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26039 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26040 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26041
50b818bf
SP
260422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26043
26044 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26045 of assigning.
26046
60d2f8f3
JM
260472013-06-08 Joseph Myers <joseph@codesourcery.com>
26048
4902d2c3
JM
26049 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26050 otherwise empty TRANS lines.
26051 * sysdeps/gnu/errlist.c: Regenerated.
26052
60d2f8f3
JM
26053 * catgets/gencat.c (error_print): Use (void) in function
26054 definition.
26055 * crypt/crypt_util.c (__init_des): Likewise.
26056 * crypt/speeds.c (Stop): Likewise.
26057 (main): Likewise.
26058 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26059 * inet/ruserpass.c (token): Likewise.
26060 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26061 * intl/localealias.c (extend_alias_table): Likewise.
26062 * intl/plural-exp.c (init_germanic_plural): Likewise.
26063 * libio/fcloseall.c (__fcloseall): Likewise.
26064 * libio/genops.c (_IO_flush_all): Likewise.
26065 (_IO_flush_all_linebuffered): Likewise.
26066 (_IO_cleanup): Likewise.
26067 (_IO_iter_begin): Likewise.
26068 (_IO_iter_end): Likewise.
26069 (_IO_list_lock): Likewise.
26070 (_IO_list_unlock): Likewise.
26071 (_IO_list_resetlock): Likewise.
26072 * libio/getchar.c (getchar): Likewise.
26073 * libio/getchar_u.c (getchar_unlocked): Likewise.
26074 * libio/getwchar.c (getwchar): Likewise.
26075 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26076 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26077 * login/getpt.c (__getpt): Likewise.
26078 * login/tst-utmp.c (main): Likewise.
26079 * malloc/hooks.c (__malloc_check_init): Likewise.
26080 * malloc/malloc.c (__malloc_stats): Likewise.
26081 * malloc/mtrace.c (tr_break): Likewise.
26082 (mtrace): Likewise.
26083 (muntrace): Likewise.
26084 * misc/fstab.c (endfsent): Likewise.
26085 * misc/getclktck.c (__getclktck): Likewise.
26086 * misc/getdtsz.c (__getdtablesize): Likewise.
26087 * misc/gethostid.c (gethostid): Likewise.
26088 * misc/getpagesize.c (__getpagesize): Likewise.
26089 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26090 (__get_nprocs): Likewise.
26091 (__get_phys_pages): Likewise.
26092 (__get_avphys_pages): Likewise.
26093 * misc/getttyent.c (getttyent): Likewise.
26094 (setttyent): Likewise.
26095 (endttyent): Likewise.
26096 * misc/getusershell.c (getusershell): Likewise.
26097 (endusershell): Likewise.
26098 (setusershell): Likewise.
26099 (initshells): Likewise.
26100 * misc/hsearch.c (__hdestroy): Likewise.
26101 * misc/sync.c (sync): Likewise.
26102 * misc/syslog.c (closelog_internal): Likewise.
26103 (closelog): Likewise.
26104 * misc/ttyslot.c (ttyslot): Likewise.
26105 * misc/vhangup.c (vhangup): Likewise.
26106 * posix/fork.c (__fork): Likewise.
26107 * posix/getegid.c (__getegid): Likewise.
26108 * posix/geteuid.c (__geteuid): Likewise.
26109 * posix/getgid.c (__getgid): Likewise.
26110 * posix/getpid.c (__getpid): Likewise.
26111 * posix/getppid.c (__getppid): Likewise.
26112 * posix/getuid.c (__getuid): Likewise.
26113 * posix/pause.c (pause): Likewise.
26114 * posix/setpgrp.c (setpgrp): Likewise.
26115 * posix/setsid.c (__setsid): Likewise.
26116 * posix/test-vfork.c (noop): Likewise.
26117 * resolv/gethnamaddr.c (_endhtent): Likewise.
26118 (_gethtent): Likewise.
26119 (ht_endhostent): Likewise.
26120 (gethostent): Likewise.
26121 (dns_service): Likewise.
26122 * stdlib/drand48.c (drand48): Likewise.
26123 * stdlib/lrand48.c (lrand48): Likewise.
26124 * stdlib/mrand48.c (mrand48): Likewise.
26125 * stdlib/rand.c (rand): Likewise.
26126 * stdlib/random.c (__random): Likewise.
26127 * stdlib/setenv.c (clearenv): Likewise.
26128 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26129 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26130 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26131 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26132 (__get_nprocs): Likewise.
26133 (__get_phys_pages): Likewise.
26134 (__get_avphys_pages): Likewise.
26135 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26136 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26137 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26138 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26139 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26140 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26141 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26142 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26143 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26144 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26145 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26146 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26147 * sysdeps/posix/clock.c (clock): Likewise.
26148 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26149 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26150 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26151 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26152 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26154 (__get_nprocs_conf): Likewise.
26155 (__get_phys_pages): Likewise.
26156 (__get_avphys_pages): Likewise.
26157 * time/clock.c (clock): Likewise.
26158 * time/tzset.c (__tzname_max): Likewise.
26159
2e09a79a
JM
261602013-06-07 Joseph Myers <joseph@codesourcery.com>
26161
26162 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26163 (__bswap_32): Do not use "register".
26164 * crypt/crypt.c (_ufc_doit_r): Likewise.
26165 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26166 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26167 * gmon/gmon.c (__monstartup): Likewise.
26168 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26169 * hurd/hurdmalloc.c (more_memory): Likewise.
26170 (malloc): Likewise.
26171 (free): Likewise.
26172 (realloc): Likewise.
26173 (malloc_fork_prepare): Likewise.
26174 (malloc_fork_parent): Likewise.
26175 (malloc_fork_child): Likewise.
26176 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26177 (_svcauth_des): Likewise.
26178 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26179 * inet/inet_net.c (inet_network): Likewise.
26180 * inet/inet_netof.c (inet_netof): Likewise.
26181 * inet/rcmd.c (__validuser2_sa): Likewise.
26182 * io/fts.c (fts_open): Likewise.
26183 (fts_load): Likewise.
26184 (fts_close): Likewise.
26185 (fts_read): Likewise.
26186 (fts_children): Likewise.
26187 (fts_build): Likewise.
26188 (fts_stat): Likewise.
26189 (fts_sort): Likewise.
26190 (fts_alloc): Likewise.
26191 (fts_lfree): Likewise.
26192 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26193 (_IO_file_xsgetn): Likewise.
26194 (_IO_file_xsgetn_mmap): Likewise.
26195 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26196 (_IO_cookie_write): Likewise.
26197 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26198 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26199 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26200 * malloc/obstack.c (_obstack_begin): Likewise.
26201 (_obstack_begin_1): Likewise.
26202 (_obstack_newchunk): Likewise.
26203 (_obstack_allocated_p): Likewise.
26204 (obstack_free): Likewise.
26205 (_obstack_memory_used): Likewise.
26206 * misc/getttyent.c (getttynam): Likewise.
26207 (getttyent): Likewise.
26208 (skip): Likewise.
26209 (value): Likewise.
26210 * misc/getusershell.c (initshells): Likewise.
26211 * misc/syslog.c (__vsyslog_chk): Likewise.
26212 * misc/ttyslot.c (ttyslot): Likewise.
26213 * nis/nis_hash.c (__nis_hash): Likewise.
26214 * posix/fnmatch_loop.c (FCT): Likewise.
26215 * posix/getconf.c (print_all): Likewise.
26216 (main): Likewise.
26217 * posix/getopt.c (exchange): Likewise.
26218 * posix/glob.c (globfree): Likewise.
26219 (prefix_array): Likewise.
26220 (__glob_pattern_type): Likewise.
26221 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26222 (NS_GET32): Likewise.
26223 (NS_PUT16): Likewise.
26224 (NS_PUT32): Likewise.
26225 * resolv/gethnamaddr.c (getanswer): Likewise.
26226 (gethostbyname2): Likewise.
26227 (gethostbyaddr): Likewise.
26228 (_gethtent): Likewise.
26229 (_gethtbyname2): Likewise.
26230 (_gethtbyaddr): Likewise.
26231 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26232 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26233 * resolv/res_init.c (__res_vinit): Likewise.
26234 (net_mask): Likewise.
26235 * resolv/res_mkquery.c (outchar): Likewise.
26236 (PRINT): Likewise.
26237 * stdio-common/printf_fp.c (outchar): Likewise.
26238 (PRINT): Likewise.
26239 * stdio-common/printf_fphex.c (outchar): Likewise.
26240 (PRINT): Likewise.
26241 * stdio-common/printf_size.c (outchar): Likewise.
26242 (PRINT): Likewise.
26243 * stdio-common/test_rdwr.c (main): Likewise.
26244 * stdio-common/tfformat.c (matches): Likewise.
26245 * stdio-common/vfprintf.c (outchar): Likewise.
26246 (printf_unknown): Likewise.
26247 (buffered_vfprintf): Likewise.
26248 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26249 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26250 (ReadFile): Likewise.
26251 * stdlib/qsort.c (SWAP): Likewise.
26252 (_quicksort): Likewise.
26253 * stdlib/setenv.c (__add_to_environ): Likewise.
26254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26255 * stdlib/strtol_l.c (__strtol_l): Likewise.
26256 * stdlib/tst-strtod.c (main): Likewise.
26257 * stdlib/tst-strtol.c (main): Likewise.
26258 * stdlib/tst-strtoll.c (main): Likewise.
26259 * string/bits/string2.h (__strcmp_cc): Likewise.
26260 (__strcmp_cg): Likewise.
26261 (__strcspn_c1): Likewise.
26262 (__strcspn_c2): Likewise.
26263 (__strcspn_c3): Likewise.
26264 (__strspn_c1): Likewise.
26265 (__strspn_c2): Likewise.
26266 (__strspn_c3): Likewise.
26267 (__strsep_1c): Likewise.
26268 (__strsep_2c): Likewise.
26269 (__strsep_3c): Likewise.
26270 * string/memccpy.c (__memccpy): Likewise.
26271 * string/stpcpy.c (__stpcpy): Likewise.
26272 * string/strcmp.c (strcmp): Likewise.
26273 * string/strrchr.c (strrchr): Likewise.
26274 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26275 Likewise.
26276 * sysdeps/mach/hurd/getcwd.c
26277 (_hurd_canonicalize_directory_name_internal): Likewise.
26278 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26279 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26280 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26281 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26282 Likewise, in both definitions.
26283 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26284 definitions.
26285 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26286 64] (__bswap_64): Likewise.
26287 * time/test_time.c (main): Likewise.
26288 * time/tzfile.c (__tzfile_read): Likewise.
26289 (__tzfile_compute): Likewise.
26290 * time/tzset.c (__tzset_parse_tz): Likewise.
26291 (tzset_internal): Likewise.
26292 (compute_change): Likewise.
26293 * wcsmbs/wcscat.c (__wcscat): Likewise.
26294 * wcsmbs/wcschr.c (wcschr): Likewise.
26295 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26296 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26297 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26298 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26299 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26300 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26301 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26302 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26303 * wcsmbs/wmemset.c (wmemset): Likewise.
26304
9e54314b
JM
263052013-06-06 Joseph Myers <joseph@codesourcery.com>
26306
26307 * scripts/config.guess: Update to version 2013-05-16.
26308 * scripts/config.sub: Update to version 2013-04-24.
26309 * scripts/install-sh: Update to version 2011-11-20.07.
26310 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26311 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26312
350635a5
OB
263132013-06-06 Ondřej Bílka <neleai@seznam.cz>
26314
26315 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26316 * elf/sln.c: Likewise.
26317 * hurd/hurd/ioctl.h: Likewise.
26318 * hurd/hurdmalloc.c: Likewise.
26319 * hurd/xattr.c: Likewise.
26320 * include/shlib-compat.h: Likewise.
26321 * inet/ruserpass.c: Likewise.
26322 * libio/iofgets_u.c: Likewise.
26323 * libio/iofgetws_u.c: Likewise.
26324 * locale/programs/ld-identification.c: Likewise.
26325 * locale/programs/ld-time.c: Likewise.
26326 * mach/msg-destroy.c: Likewise.
26327 * nss/nss_files/files-netgrp.c: Likewise.
26328 * resolv/res_data.c: Likewise.
26329 * soft-fp/op-1.h: Likewise.
26330 * soft-fp/op-2.h: Likewise.
26331 * soft-fp/op-4.h: Likewise.
26332 * soft-fp/op-common.h: Likewise.
26333 * stdio-common/printf_fphex.c: Likewise.
26334 * stdlib/strtod_l.c: Likewise.
26335 * sunrpc/rpc/clnt.h: Likewise.
26336 * sysdeps/generic/framestate.c: Likewise.
26337 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26338 * sysdeps/i386/bsd-setjmp.S: Likewise.
26339 * sysdeps/i386/__longjmp.S: Likewise.
26340 * sysdeps/i386/setjmp.S: Likewise.
26341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26342 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26358 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26359 * sysdeps/ieee754/support.c: Likewise.
26360 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26361 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26362 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26363 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26364 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26365 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26366 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26367 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26368 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26369 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26370 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26371 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26372 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26373 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26375 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26376 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26378
44a988af
OB
263792013-06-05 Ondřej Bílka <neleai@seznam.cz>
26380
25506f09 26381 * posix/transbug.c: Remove executable mode.
44a988af 26382
9c84384c
JM
263832013-06-05 Joseph Myers <joseph@codesourcery.com>
26384
26385 * crypt/speeds.c: Remove trailing whitespace.
26386 * dlfcn/default.c: Likewise.
26387 * elf/ifuncdep2.c: Likewise.
26388 * elf/ifuncmain1.c: Likewise.
26389 * elf/ifuncmain1vis.c: Likewise.
26390 * elf/testobj.h: Likewise.
26391 * elf/tst-stackguard1.c: Likewise.
26392 * gmon/sys/gmon.h: Likewise.
26393 * hurd/hurdmsg.c: Likewise.
26394 * hurd/new-fd.c: Likewise.
26395 * hurd/ports-get.c: Likewise.
26396 * iconvdata/ibm1008_420.c: Likewise.
26397 * inet/tst-getni1.c: Likewise.
26398 * inet/tst-getni2.c: Likewise.
26399 * libio/ioungetc.c: Likewise.
26400 * libio/wfiledoalloc.c: Likewise.
26401 * manual/libm-err-tab.pl: Likewise.
26402 * math/w_dremf.c: Likewise.
26403 * misc/ftruncate.c: Likewise.
26404 * posix/bug-glob2.c: Likewise.
26405 * posix/tst-pcre.c: Likewise.
26406 * posix/wait4.c: Likewise.
26407 * resolv/README: Likewise.
26408 * resolv/res_debug.h: Likewise.
26409 * resolv/tst-inet_ntop.c: Likewise.
26410 * setjmp/bug269-setjmp.c: Likewise.
26411 * soft-fp/extended.h: Likewise.
26412 * soft-fp/op-1.h: Likewise.
26413 * soft-fp/op-2.h: Likewise.
26414 * soft-fp/op-4.h: Likewise.
26415 * soft-fp/op-8.h: Likewise.
26416 * soft-fp/testit.c: Likewise.
26417 * stdio-common/bug16.c: Likewise.
26418 * stdlib/random.c: Likewise.
26419 * sunrpc/rpcsvc/rquota.x: Likewise.
26420 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26427 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26428 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26430 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26431 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26432 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26433 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26436 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26438 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26442 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26443 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26449 * sysdeps/ieee754/s_lib_version.c: Likewise.
26450 * sysdeps/mach/hurd/check_fds.c: Likewise.
26451 * sysdeps/mach/hurd/getsockname.c: Likewise.
26452 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26453 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26454 * sysdeps/powerpc/bits/link.h: Likewise.
26455 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26456 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26457 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26458 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26459 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26460 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26461 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26462 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26463 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26464 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26465 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26466 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26467 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26468 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26469 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26470 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26476 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26478 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26479 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26485 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26488 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26489 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26491 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26492 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26495 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26496 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26497 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26498 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26499 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26500 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26501 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26502 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26503 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26504 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26507 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26508 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26509 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26510 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26511 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26517 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26518 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26519 * sysdeps/powerpc/sysdep.h: Likewise.
26520 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26521 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26522 * sysdeps/sh/dl-trampoline.S: Likewise.
26523 * sysdeps/sh/memset.S: Likewise.
26524 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26525 * sysdeps/sh/strlen.S: Likewise.
26526 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26527 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26528 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26529 * sysdeps/sparc/sparc32/rem.S: Likewise.
26530 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26531 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26532 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26533 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26534 * sysdeps/sparc/sparc32/urem.S: Likewise.
26535 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26537 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26538 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26539 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26540 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26541 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26542 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26543 * sysdeps/unix/bsd/times.c: Likewise.
26544 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26545 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26549 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26550 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26551 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26552 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26553 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26554 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26555 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26556 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26557 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26558 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26559 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26560 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26561 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26562 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26563 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26564 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26565 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26566 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26567 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26568 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26569 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26570 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26571 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26572 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26573 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26574 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26575 * sysdeps/x86_64/strcspn.S: Likewise.
26576
869378a5
RA
265772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26578
26579 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26580 generated file. Regenerate properly from gen-translit.pl.
26581 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26582 locale/C-translit.h.
26583
840e2943
AS
265842013-06-05 Andreas Schwab <schwab@suse.de>
26585
26586 [BZ #15100]
26587 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26588 week as 6 instead of -1.
26589 * time/tst-strptime.c (day_tests): Add test case.
26590
4c60cb0c
SP
265912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26592
26593 * sysdeps/generic/math_private.h
26594 (libc_feholdexcept_setround_53bit): Replace with
26595 libc_feholdsetround_53bit.
26596 (libc_feupdateenv_53bit): Replace with
26597 libc_feresetround_53bit.
26598 (SET_RESTORE_ROUND_53BIT): Adjust.
26599
d180203e
SP
266002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26601
96df079a
SP
26602 * string/test-strchrnul.c: Add copyright header.
26603
d180203e
SP
26604 * posix/tst-getaddrinfo4.c: Increase test timeout.
26605
8b0ccb2d
CD
266062013-06-03 Carlos O'Donell <carlos@redhat.com>
26607
26608 [BZ #15536]
26609 * math/libm-test.inc (MAX_EXP): Remove
26610 (MIN_EXP): Define.
26611 (ulp): Use MIN_EXP - MANT_DIG.
26612 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26613
3b3c4d40
CD
266142013-05-31 Carlos O'Donell <carlos@redhat.com>
26615
26616 * po/be.po: Revert last change.
26617 * po/zh_CN.po: Likewise.
26618 * po/header.pot: Likewise.
26619
fab7ce3f
JM
266202013-05-31 Joseph Myers <joseph@codesourcery.com>
26621
26622 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26623 link-libc-deps to empty as target-specific variable.
26624 * Makerules (link-libc-args): New variable.
26625 (libc-for-link): Likewise.
26626 (link-libc-deps): Likewise.
26627 (lib%.so): Depend on $(link-libc-deps). Link with
26628 $(link-libc-args).
26629 (build-module): Link with $(link-libc-args).
26630 (build-module-asneeded): Likewise.
26631 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26632 list of objects.
26633 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26634 target-specific variable.
26635 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26636 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26637 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26638 libc.
26639 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26640 libc and ld.so.
26641 ($(objpfx)libpcprofile.so): Likewise.
26642 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26643 libc_nonshared.a.
26644 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26645 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26646 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26647 $(link-libc-deps).
26648 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26649 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26650 * login/Makefile ($(objpfx)libutil.so): Likewise.
26651 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26652 * math/Makefile ($(objpfx)libm.so): Likewise.
26653 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26654 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26655 variable instead of depending directly on libc.
26656 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26657 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26658 $(link-libc-deps).
26659 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26660 libc.
26661 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26662 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26663 ($(objpfx)libanl.so): Likewise.
26664 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26665 ld.so.
26666 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26667 $(link-libc-deps).
26668 * sysdeps/i386/fpu/Makefile: Remove file.
26669 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26670 ($(objpfx)libm.so): Remove dependency on ld.so.
26671
eca5920c
PF
266722013-05-30 Patsy Franklin <pfrankli@redhat.com>
26673
26674 [BZ # 15553]
26675 * nis/yp_xdr.c (XDRMAXNAME): Define.
26676 (XDRMAXRECORD): Define.
26677 (xdr_domainname): Use XDRMAXNAME.
26678 (xdr_mapname): Likewise.
26679 (xdr_peername): Likewise.
26680 (xdr_keydat): Use XDRMAXRECORD.
26681 (xdr_valdat): Likewise.
26682
266832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26684
26685 [BZ #14256]
26686 * manual/errno.texi (ESTALE): Update to account for more than
26687 just NFS file systems.
26688 * sysdeps/gnu/errlist.c: Regenerated.
26689
b9375348
SP
266902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26691
26692 [BZ #15465]
26693 * elf/Makefile (tests): Add tst-null-argv.
26694 (modules-names): Add tst-null-argv-lib.
26695 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26696 (tst-null-argv-ENV): Set environment for tst-null-argv.
26697 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26698 (RTLD_PROGNAME): New macro.
26699 * elf/tst-null-argv.c: New test case.
26700 * elf/tst-null-argv-lib.c: Library for test case.
26701 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26702 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26703 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26704 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26705 * elf/dl-init.c (call_init): Likewise.
26706 (_dl_init): Likewise.
26707 * elf/dl-load.c (print_search_path): Likewise.
26708 (_dl_map_object): Likewise.
26709 * elf/dl-lookup.c (do_lookup_x): Likewise.
26710 (add_dependency): Likewise.
26711 (_dl_lookup_symbol_x): Likewise.
26712 (_dl_debug_bindings): Likewise.
26713 * elf/dl-open.c (_dl_show_scope): Likewise.
26714 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26715 * elf/dl-version.c (match_symbol): Likewise.
26716 (_dl_check_map_versions): Likewise.
26717 * elf/rtld.c (dl_main): Likewise.
26718 (print_unresolved): Use RTLD_PROGNAME.
26719 (print_missing_version): Likewise.
26720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26721 (elf_machine_rela): Likewise.
26722 * sysdeps/powerpc/powerpc32/dl-machine.c
26723 (__process_machine_rela): Likewise.
26724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26725 Likewise.
26726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26727 Likewise.
26728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26729 Likewise.
26730 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26732 Likewise.
26733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26734 Likewise.
26735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26736
8a9f20c8
CD
267372013-05-28 Carlos O'Donell <carlos@redhat.com>
26738
26739 * po/be.po: Add descriptive title.
26740 * po/zh_CN.po: Likewise.
26741 * po/header.pot: Likewise.
26742
0e60d68e
MF
267432013-05-28 Mike Frysinger <vapier@gentoo.org>
26744
26745 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26746 error message.
26747 (enlarge_archive): Likewise.
26748
56b672e9
BN
267492013-05-28 Ben North <ben@redfrontdoor.org>
26750
26751 * manual/arith.texi (frexp): It is the magnitude of the return
26752 value which lies in [0.5, 1), not the return value itself.
26753
5e056687
AZ
267542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26755
26756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26757
2b66ef5d
TS
267582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26759
528c2405
TS
26760 * stdio-common/bug26.c (main): Correct fscanf template.
26761
07b4c13d
TS
26762 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26763 declare _dl_skip_args.
26764
ec9dd97c
TS
26765 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26766 Don't declare.
26767
2b66ef5d
TS
26768 * manual/platform.texi: Add missing @end deftypefun.
26769
4f8dfe27
JM
267702013-05-24 Joseph Myers <joseph@codesourcery.com>
26771
0323d086
JM
26772 [BZ #15529]
26773 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26774 bit of mantissa of 2^16382.
26775 * math/libm-test.inc (hypot_test_data): Add more tests.
26776
dd4259b9
JM
26777 * math/libm-test.inc: Add drem and pow10 to list of tested
26778 functions.
26779 (pow10_test): New function.
26780 (drem_test): Likewise.
26781 (drem_test_tonearest): Likewise.
26782 (drem_test_towardzero): Likewise.
26783 (drem_test_downward): Likewise.
26784 (drem_test_upward): Likewise.
26785 (main): Call the new functions.
26786
4f8dfe27
JM
26787 * math/libm-test.inc (finite_test_data): Remove.
26788 (finite_test): Run tests from isfinite_test_data.
26789 (gamma_test_data): Remove.
26790 (gamma_test): Run tests from lgamma_test_data.
26791 * sysdeps/i386/fpu/libm-test-ulps: Update.
26792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26793
d116b7c4
AZ
267942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26795
26796 * manual/platform.texi: Add PowerPC PPR function set documentation.
26797 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26798 implementation.
26799
e96e3767
CD
268002013-05-24 Carlos O'Donell <carlos@redhat.com>
26801
26802 * math/libm-test.inc (MAX_EXP): Define.
26803 (ULPDIFF): Define.
26804 (ulp): New function.
26805 (check_float_internal): Use ULPDIFF.
26806 (cpow_test): Disable failing test.
26807 (check_ulp): Test ulp() implemetnation.
26808 (main): Call check_ulp before starting tests.
26809
b679a606
JM
268102013-05-24 Joseph Myers <joseph@codesourcery.com>
26811
e8bdba36
JM
26812 * math/gen-libm-test.pl (generate_testfile): Do not handle
26813 START_DATA and END_DATA.
26814 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26815 END_DATA.
26816 (acos_tonearest_test_data): Likewise.
26817 (acos_towardzero_test_data): Likewise.
26818 (acos_downward_test_data): Likewise.
26819 (acos_upward_test_data): Likewise.
26820 (acosh_test_data): Likewise.
26821 (asin_test_data): Likewise.
26822 (asin_tonearest_test_data): Likewise.
26823 (asin_towardzero_test_data): Likewise.
26824 (asin_downward_test_data): Likewise.
26825 (asin_upward_test_data): Likewise.
26826 (asinh_test_data): Likewise.
26827 (atan_test_data): Likewise.
26828 (atanh_test_data): Likewise.
26829 (atan2_test_data): Likewise.
26830 (cabs_test_data): Likewise.
26831 (cacos_test_data): Likewise.
26832 (cacosh_test_data): Likewise.
26833 (carg_test_data): Likewise.
26834 (casin_test_data): Likewise.
26835 (casinh_test_data): Likewise.
26836 (catan_test_data): Likewise.
26837 (catanh_test_data): Likewise.
26838 (cbrt_test_data): Likewise.
26839 (ccos_test_data): Likewise.
26840 (ccosh_test_data): Likewise.
26841 (ceil_test_data): Likewise.
26842 (cexp_test_data): Likewise.
26843 (cimag_test_data): Likewise.
26844 (clog_test_data): Likewise.
26845 (clog10_test_data): Likewise.
26846 (conj_test_data): Likewise.
26847 (copysign_test_data): Likewise.
26848 (cos_test_data): Likewise.
26849 (cos_tonearest_test_data): Likewise.
26850 (cos_towardzero_test_data): Likewise.
26851 (cos_downward_test_data): Likewise.
26852 (cos_upward_test_data): Likewise.
26853 (cosh_test_data): Likewise.
26854 (cosh_tonearest_test_data): Likewise.
26855 (cosh_towardzero_test_data): Likewise.
26856 (cosh_downward_test_data): Likewise.
26857 (cosh_upward_test_data): Likewise.
26858 (cpow_test_data): Likewise.
26859 (cproj_test_data): Likewise.
26860 (creal_test_data): Likewise.
26861 (csin_test_data): Likewise.
26862 (csinh_test_data): Likewise.
26863 (csqrt_test_data): Likewise.
26864 (ctan_test_data): Likewise.
26865 (ctan_tonearest_test_data): Likewise.
26866 (ctan_towardzero_test_data): Likewise.
26867 (ctan_downward_test_data): Likewise.
26868 (ctan_upward_test_data): Likewise.
26869 (ctanh_test_data): Likewise.
26870 (ctanh_tonearest_test_data): Likewise.
26871 (ctanh_towardzero_test_data): Likewise.
26872 (ctanh_downward_test_data): Likewise.
26873 (ctanh_upward_test_data): Likewise.
26874 (erf_test_data): Likewise.
26875 (erfc_test_data): Likewise.
26876 (exp_test_data): Likewise.
26877 (exp_tonearest_test_data): Likewise.
26878 (exp_towardzero_test_data): Likewise.
26879 (exp_downward_test_data): Likewise.
26880 (exp_upward_test_data): Likewise.
26881 (exp10_test_data): Likewise.
26882 (exp2_test_data): Likewise.
26883 (expm1_test_data): Likewise.
26884 (fabs_test_data): Likewise.
26885 (fdim_test_data): Likewise.
26886 (finite_test_data): Likewise.
26887 (floor_test_data): Likewise.
26888 (fma_test_data): Likewise.
26889 (fma_towardzero_test_data): Likewise.
26890 (fma_downward_test_data): Likewise.
26891 (fma_upward_test_data): Likewise.
26892 (fmax_test_data): Likewise.
26893 (fmin_test_data): Likewise.
26894 (fmod_test_data): Likewise.
26895 (fpclassify_test_data): Likewise.
26896 (frexp_test_data): Likewise.
26897 (gamma_test_data): Likewise.
26898 (hypot_test_data): Likewise.
26899 (ilogb_test_data): Likewise.
26900 (isfinite_test_data): Likewise.
26901 (isgreater_test_data): Likewise.
26902 (isgreaterequal_test_data): Likewise.
26903 (isinf_test_data): Likewise.
26904 (isless_test_data): Likewise.
26905 (islessequal_test_data): Likewise.
26906 (islessgreater_test_data): Likewise.
26907 (isnan_test_data): Likewise.
26908 (isnormal_test_data): Likewise.
26909 (issignaling_test_data): Likewise.
26910 (isunordered_test_data): Likewise.
26911 (j0_test_data): Likewise.
26912 (j1_test_data): Likewise.
26913 (jn_test_data): Likewise.
26914 (ldexp_test_data): Likewise.
26915 (lgamma_test_data): Likewise.
26916 (lrint_test_data): Likewise.
26917 (lrint_tonearest_test_data): Likewise.
26918 (lrint_towardzero_test_data): Likewise.
26919 (lrint_downward_test_data): Likewise.
26920 (lrint_upward_test_data): Likewise.
26921 (llrint_test_data): Likewise.
26922 (llrint_tonearest_test_data): Likewise.
26923 (llrint_towardzero_test_data): Likewise.
26924 (llrint_downward_test_data): Likewise.
26925 (llrint_upward_test_data): Likewise.
26926 (log_test_data): Likewise.
26927 (log10_test_data): Likewise.
26928 (log1p_test_data): Likewise.
26929 (log2_test_data): Likewise.
26930 (logb_test_data): Likewise.
26931 (logb_downward_test_data): Likewise.
26932 (lround_test_data): Likewise.
26933 (llround_test_data): Likewise.
26934 (modf_test_data): Likewise.
26935 (nearbyint_test_data): Likewise.
26936 (nextafter_test_data): Likewise.
26937 (nexttoward_test_data): Likewise.
26938 (pow_test_data): Likewise.
26939 (pow_tonearest_test_data): Likewise.
26940 (pow_towardzero_test_data): Likewise.
26941 (pow_downward_test_data): Likewise.
26942 (pow_upward_test_data): Likewise.
26943 (remainder_test_data): Likewise.
26944 (remainder_tonearest_test_data): Likewise.
26945 (remainder_towardzero_test_data): Likewise.
26946 (remainder_downward_test_data): Likewise.
26947 (remainder_upward_test_data): Likewise.
26948 (remquo_test_data): Likewise.
26949 (rint_test_data): Likewise.
26950 (rint_tonearest_test_data): Likewise.
26951 (rint_towardzero_test_data): Likewise.
26952 (rint_downward_test_data): Likewise.
26953 (rint_upward_test_data): Likewise.
26954 (round_test_data): Likewise.
26955 (scalb_test_data): Likewise.
26956 (scalbn_test_data): Likewise.
26957 (scalbln_test_data): Likewise.
26958 (signbit_test_data): Likewise.
26959 (sin_test_data): Likewise.
26960 (sin_tonearest_test_data): Likewise.
26961 (sin_towardzero_test_data): Likewise.
26962 (sin_downward_test_data): Likewise.
26963 (sin_upward_test_data): Likewise.
26964 (sincos_test_data): Likewise.
26965 (sinh_test_data): Likewise.
26966 (sinh_tonearest_test_data): Likewise.
26967 (sinh_towardzero_test_data): Likewise.
26968 (sinh_downward_test_data): Likewise.
26969 (sinh_upward_test_data): Likewise.
26970 (sqrt_test_data): Likewise.
26971 (tan_test_data): Likewise.
26972 (tan_tonearest_test_data): Likewise.
26973 (tan_towardzero_test_data): Likewise.
26974 (tan_downward_test_data): Likewise.
26975 (tan_upward_test_data): Likewise.
26976 (tanh_test_data): Likewise.
26977 (tgamma_test_data): Likewise.
26978 (trunc_test_data): Likewise.
26979 (y0_test_data): Likewise.
26980 (y1_test_data): Likewise.
26981 (yn_test_data): Likewise.
26982 (significand_test_data): Likewise.
26983
b679a606
JM
26984 * math/gen-libm-test.pl (@functions): Remove variable.
26985 (generate_testfile): Don't handle START and END lines.
26986 * math/libm-test.inc (START): New macro.
26987 (END): Likewise.
26988 (END_COMPLEX): Likewise.
26989 (acos_test): Use END macro without arguments.
26990 (acos_test_tonearest): Likewise.
26991 (acos_test_towardzero): Likewise.
26992 (acos_test_downward): Likewise.
26993 (acos_test_upward): Likewise.
26994 (acosh_test): Likewise.
26995 (asin_test): Likewise.
26996 (asin_test_tonearest): Likewise.
26997 (asin_test_towardzero): Likewise.
26998 (asin_test_downward): Likewise.
26999 (asin_test_upward): Likewise.
27000 (asinh_test): Likewise.
27001 (atan_test): Likewise.
27002 (atanh_test): Likewise.
27003 (atan2_test): Likewise.
27004 (cabs_test): Likewise.
27005 (cacos_test): Use END_COMPLEX macro without arguments.
27006 (cacosh_test): Likewise.
27007 (carg_test): Use END macro without arguments.
27008 (casin_test): Use END_COMPLEX macro without arguments.
27009 (casinh_test): Likewise.
27010 (catan_test): Likewise.
27011 (catanh_test): Likewise.
27012 (cbrt_test): Use END macro without arguments.
27013 (ccos_test): Use END_COMPLEX macro without arguments.
27014 (ccosh_test): Likewise.
27015 (ceil_test): Use END macro without arguments.
27016 (cexp_test): Use END_COMPLEX macro without arguments.
27017 (cimag_test): Use END macro without arguments.
27018 (clog_test): Use END_COMPLEX macro without arguments.
27019 (clog10_test): Likewise.
27020 (conj_test): Likewise.
27021 (copysign_test): Use END macro without arguments.
27022 (cos_test): Likewise.
27023 (cos_test_tonearest): Likewise.
27024 (cos_test_towardzero): Likewise.
27025 (cos_test_downward): Likewise.
27026 (cos_test_upward): Likewise.
27027 (cosh_test): Likewise.
27028 (cosh_test_tonearest): Likewise.
27029 (cosh_test_towardzero): Likewise.
27030 (cosh_test_downward): Likewise.
27031 (cosh_test_upward): Likewise.
27032 (cpow_test): Use END_COMPLEX macro without arguments.
27033 (cproj_test): Likewise.
27034 (creal_test): Use END macro without arguments.
27035 (csin_test): Use END_COMPLEX macro without arguments.
27036 (csinh_test): Likewise.
27037 (csqrt_test): Likewise.
27038 (ctan_test): Likewise.
27039 (ctan_test_tonearest): Likewise.
27040 (ctan_test_towardzero): Likewise.
27041 (ctan_test_downward): Likewise.
27042 (ctan_test_upward): Likewise.
27043 (ctanh_test): Likewise.
27044 (ctanh_test_tonearest): Likewise.
27045 (ctanh_test_towardzero): Likewise.
27046 (ctanh_test_downward): Likewise.
27047 (ctanh_test_upward): Likewise.
27048 (erf_test): Use END macro without arguments.
27049 (erfc_test): Likewise.
27050 (exp_test): Likewise.
27051 (exp_test_tonearest): Likewise.
27052 (exp_test_towardzero): Likewise.
27053 (exp_test_downward): Likewise.
27054 (exp_test_upward): Likewise.
27055 (exp10_test): Likewise.
27056 (exp2_test): Likewise.
27057 (expm1_test): Likewise.
27058 (fabs_test): Likewise.
27059 (fdim_test): Likewise.
27060 (finite_test): Likewise.
27061 (floor_test): Likewise.
27062 (fma_test): Likewise.
27063 (fma_test_towardzero): Likewise.
27064 (fma_test_downward): Likewise.
27065 (fma_test_upward): Likewise.
27066 (fmax_test): Likewise.
27067 (fmin_test): Likewise.
27068 (fmod_test): Likewise.
27069 (fpclassify_test): Likewise.
27070 (frexp_test): Likewise.
27071 (gamma_test): Likewise.
27072 (hypot_test): Likewise.
27073 (ilogb_test): Likewise.
27074 (isfinite_test): Likewise.
27075 (isgreater_test): Likewise.
27076 (isgreaterequal_test): Likewise.
27077 (isinf_test): Likewise.
27078 (isless_test): Likewise.
27079 (islessequal_test): Likewise.
27080 (islessgreater_test): Likewise.
27081 (isnan_test): Likewise.
27082 (isnormal_test): Likewise.
27083 (issignaling_test): Likewise.
27084 (isunordered_test): Likewise.
27085 (j0_test): Likewise.
27086 (j1_test): Likewise.
27087 (jn_test): Likewise.
27088 (ldexp_test): Likewise.
27089 (lgamma_test): Likewise.
27090 (lrint_test): Likewise.
27091 (lrint_test_tonearest): Likewise.
27092 (lrint_test_towardzero): Likewise.
27093 (lrint_test_downward): Likewise.
27094 (lrint_test_upward): Likewise.
27095 (llrint_test): Likewise.
27096 (llrint_test_tonearest): Likewise.
27097 (llrint_test_towardzero): Likewise.
27098 (llrint_test_downward): Likewise.
27099 (llrint_test_upward): Likewise.
27100 (log_test): Likewise.
27101 (log10_test): Likewise.
27102 (log1p_test): Likewise.
27103 (log2_test): Likewise.
27104 (logb_test): Likewise.
27105 (logb_test_downward): Likewise.
27106 (lround_test): Likewise.
27107 (llround_test): Likewise.
27108 (modf_test): Likewise.
27109 (nearbyint_test): Likewise.
27110 (nextafter_test): Likewise.
27111 (nexttoward_test): Likewise.
27112 (pow_test): Likewise.
27113 (pow_test_tonearest): Likewise.
27114 (pow_test_towardzero): Likewise.
27115 (pow_test_downward): Likewise.
27116 (pow_test_upward): Likewise.
27117 (remainder_test): Likewise.
27118 (remainder_test_tonearest): Likewise.
27119 (remainder_test_towardzero): Likewise.
27120 (remainder_test_downward): Likewise.
27121 (remainder_test_upward): Likewise.
27122 (remquo_test): Likewise.
27123 (rint_test): Likewise.
27124 (rint_test_tonearest): Likewise.
27125 (rint_test_towardzero): Likewise.
27126 (rint_test_downward): Likewise.
27127 (rint_test_upward): Likewise.
27128 (round_test): Likewise.
27129 (scalb_test): Likewise.
27130 (scalbn_test): Likewise.
27131 (scalbln_test): Likewise.
27132 (signbit_test): Likewise.
27133 (sin_test): Likewise.
27134 (sin_test_tonearest): Likewise.
27135 (sin_test_towardzero): Likewise.
27136 (sin_test_downward): Likewise.
27137 (sin_test_upward): Likewise.
27138 (sincos_test): Likewise.
27139 (sinh_test): Likewise.
27140 (sinh_test_tonearest): Likewise.
27141 (sinh_test_towardzero): Likewise.
27142 (sinh_test_downward): Likewise.
27143 (sinh_test_upward): Likewise.
27144 (sqrt_test): Likewise.
27145 (tan_test): Likewise.
27146 (tan_test_tonearest): Likewise.
27147 (tan_test_towardzero): Likewise.
27148 (tan_test_downward): Likewise.
27149 (tan_test_upward): Likewise.
27150 (tanh_test): Likewise.
27151 (tgamma_test): Likewise.
27152 (trunc_test): Likewise.
27153 (y0_test): Likewise.
27154 (y1_test): Likewise.
27155 (yn_test): Likewise.
27156 (significand_test): Likewise.
27157
bae143d2
OB
271582013-05-24 Ondřej Bílka <neleai@seznam.cz>
27159
27160 [BZ #15381]
27161 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27162
9323d39b
EM
271632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27164
d4ea44a0 27165 [BZ #14894]
9323d39b
EM
27166 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27167 __ppc_mdoio and __ppc_mdoom.
27168 * manual/platform.texi: Document new functions __ppc_yield,
27169 __ppc_mdoio and __ppc_mdoom.
27170
13e23af7
CD
271712013-05-22 Carlos O'Donell <carlos@redhat.com>
27172
27173 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27174 (main): Mention "tls" pseudo-hwcap is legacy.
27175 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27176
351fe550
JM
271772013-05-22 Joseph Myers <joseph@codesourcery.com>
27178
27179 * math/gen-libm-test.pl (parse_args): Output only string of
27180 arguments as text for test name, not full call or descriptions of
27181 tests for extra outputs.
27182 (generate_testfile): Do not pass function name to parse_args.
27183 Generate this_func variable from START.
27184 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27185 field to arg_str.
27186 (struct test_ff_f_data): Likewise.
27187 (test_ff_f_data_nexttoward): Likewise.
27188 (struct test_fi_f_data): Likewise.
27189 (struct test_fl_f_data): Likewise.
27190 (struct test_if_f_data): Likewise.
27191 (struct test_fff_f_data): Likewise.
27192 (struct test_c_f_data): Likewise.
27193 (struct test_f_f1_data): Likewise. Remove field extra_name.
27194 (struct test_fF_f1_data): Likewise.
27195 (struct test_ffI_f1_data): Likewise.
27196 (struct test_c_c_data): Rename test_name field to arg_str.
27197 (struct test_cc_c_data): Likewise.
27198 (struct test_f_i_data): Likewise.
27199 (struct test_ff_i_data): Likewise.
27200 (struct test_f_l_data): Likewise.
27201 (struct test_f_L_data): Likewise.
27202 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27203 and extra2_name.
27204 (COMMON_TEST_SETUP): New macro.
27205 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27206 (COMMON_TEST_CLEANUP): Likewise.
27207 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27208 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27209 macros.
27210 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27211 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27212 macros.
27213 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27214 (RUN_TEST_fff_f): Take argument string. Call new setup and
27215 cleanup macros.
27216 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27217 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27218 macros.
27219 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27220 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27221 macros.
27222 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27223 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27224 cleanup macros.
27225 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27226 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27227 cleanup macros.
27228 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27229 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27230 cleanup macros.
27231 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27232 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27233 macros.
27234 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27235 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27236 macros.
27237 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27238 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27239 macros.
27240 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27241 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27242 cleanup macros.
27243 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27244 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27245 cleanup macros.
27246 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27247 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27248 macros.
27249 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27250 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27251 cleanup macros.
27252 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27253 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27254 macros.
27255 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27256 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27257 macros.
27258 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27259 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27260 cleanup macros.
27261 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27262
85118d4d
EBM
272632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27264
27265 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27266 to _sifields.sigfault.
27267 (si_addr_lsb): Define new macro.
27268 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27271
7a44c18f
CD
272722013-05-03 Carlos O'Donell <carlos at redhat.com>
27273
27274 [BZ #15441]
27275 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27276 returns -1.
27277 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27278 null return -1.
27279 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27280 loading the domain.
27281
b50a7181
JM
272822013-05-22 Joseph Myers <joseph@codesourcery.com>
27283
27284 * math/gen-libm-test.pl (parse_args): Do not include expected
27285 result in test name.
27286 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27289 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27292
051063c8
SP
272932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27294
3ce9e010
SP
27295 * benchtests/Makefile: Sort function entries.
27296
051063c8
SP
27297 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27298 tanh, asinh, acosh, atanh.
27299 * benchtests/acos-inputs: New file.
27300 * benchtests/acosh-inputs: New file.
27301 * benchtests/asin-inputs: New file.
27302 * benchtests/asinh-inputs: New file.
27303 * benchtests/atanh-inputs: New file.
27304 * benchtests/cosh-inputs: New file.
27305 * benchtests/log-inputs: New file.
27306 * benchtests/sinh-inputs: New file.
27307 * benchtests/tanh-inputs: New file.
27308
47c22455
DL
273092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27310
27311 [BZ #15339]
27312 * posix/tst-getaddrinfo4.c: New test.
27313 * posix/Makefile (tests): Add it.
27314
3d04f5db
SP
273152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27316
27317 [BZ #15339]
27318 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27319 when no services were used.
27320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27321 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27322
d5dd6189
AS
273232013-05-21 Andreas Schwab <schwab@suse.de>
27324
27325 [BZ #15014]
27326 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27327 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27328 successful.
27329 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27330 redundant variable declarations and reallocation of buffer when
27331 parsing as IPv6 address. Always set NSS status when called from
27332 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27333 buffer too small. Correct computation of needed size.
27334 * nss/Makefile (tests): Add test-digits-dots.
27335 * nss/test-digits-dots.c: New test.
27336
fef94eab
SP
273372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27338
27339 * benchtests/Makefile: Remove instructions for adding
27340 benchmark tests.
27341 * benchtests/README: New file to explain how to execute and
27342 enhance the benchmark tests.
27343
e39adf43
AS
273442013-05-21 Andreas Schwab <schwab@suse.de>
27345
27346 [BZ #15493]
27347 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27348 * setjmp/tst-sigsetjmp.c: New test.
27349
b2b671b6
OB
273502013-05-20 Ondřej Bílka <neleai@seznam.cz>
27351
27352 * sysdeps/x86_64/memset.S (memset): New implementation.
27353 (__bzero): Likewise.
27354 (__memset_tail): New function.
27355
2d48b41c
OB
273562013-05-20 Ondřej Bílka <neleai@seznam.cz>
27357
27358 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27359 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27360 __memcpy_sse2_unaligned ifunc selection.
27361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27362 Add memcpy-sse2-unaligned.S.
27363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27364 Add: __memcpy_sse2_unaligned.
27365
f16cc3eb
JM
273662013-05-19 Joseph Myers <joseph@codesourcery.com>
27367
3e694268
JM
27368 [BZ #15490]
27369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27370 math_force_eval before restoring floating-point envrionment.
27371 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27373 Likewise.
27374 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27375 <math_private.h>.
27376 (__nearbyintl): Use math_force_eval before restoring
27377 floating-point environment.
27378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27379
db62a907
JM
27380 * math/gen-libm-test.pl (special_functions): Remove.
27381 (parse_args): Don't handle TEST_extra. Handle functions with no
27382 return value.
27383 * math/libm-test.inc (struct test_sincos_data): Replace with
27384 struct test_fFF_11_data.
27385 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27386 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27387 (sincos_test_data): Change element type to struct
27388 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27389 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27390 RUN_TEST_LOOP_sincos.
27391 * math/README.libm-test: Don't mention special handling of
27392 individual functions.
27393 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27395 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27396 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27397 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27399
f16cc3eb
JM
27400 * math/gen-libm-test.pl (get_variable): Remove function.
27401 (parse_args): Don't show pointer parameters to call in test
27402 names. Use "extra output N" in test names for extra outputs
27403 rather than naming variables.
27404
3779b5b6
JM
274052013-05-18 Joseph Myers <joseph@codesourcery.com>
27406
2ee094ff
JM
27407 [BZ #15488]
27408 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27409 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27410 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27411 double tests.
27412 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27413 disable.
27414 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27415 check_long_double.
27416
3779b5b6
JM
27417 * math/gen-libm-test.pl (@tests): Remove variable.
27418 ($count): Likewise.
27419 (new_test): Remove function.
27420 (show_exceptions): New function.
27421 (special_functions): Use show_exceptions instead of new_test.
27422 (parse_args): Likewise.
27423 (generate_testfile): Pass only function name in generated call to
27424 print_max_error or print_complex_max_error.
27425 (get_ulps): Do not handle complex tests specially.
27426 (output_test): Rename to ...
27427 (get_all_ulps_for_test): ... this. Return a string rather than
27428 printing to a file. Require ulps to be present.
27429 (output_ulps): Generate arrays rather than #defines.
27430 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27431 (struct ulp_data): New type.
27432 (BUILD_COMPLEX_ULP): Remove macro.
27433 (compare_ulp_data): New function.
27434 (find_ulps): Likewise.
27435 (find_test_ulps): Likewise.
27436 (find_function_ulps): Likewise.
27437 (find_complex_function_ulps): Likewise.
27438 (print_max_error): Determine allowed ulps using
27439 find_function_ulps.
27440 (print_complex_max_error): Determine allowed ulps using
27441 find_complex_function_ulps.
27442 (check_float_internal): Determine max ulps using find_test_ulps.
27443 (check_float): Do not take max_ulp parameter. Update call to
27444 check_float_internal.
27445 (check_complex): Likewise.
27446 (check_int): Do not take max_ulp parameter.
27447 (check_long): Likewise.
27448 (check_bool): Likewise.
27449 (check_longlong): Likewise.
27450 (struct test_f_f_data): Remove max_ulp field.
27451 (struct test_ff_f_data): Likewise.
27452 (struct test_ff_f_data_nexttoward): Likewise.
27453 (struct test_fi_f_data): Likewise.
27454 (struct test_fl_f_data): Likewise.
27455 (struct test_if_f_data): Likewise.
27456 (struct test_fff_f_data): Likewise.
27457 (struct test_c_f_data): Likewise.
27458 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27459 (struct test_fF_f1_data): Likewise.
27460 (struct test_ffI_f1_data): Likewise.
27461 (struct test_c_c_data): Remove max_ulp field.
27462 (struct test_cc_c_data): Likewise.
27463 (struct test_f_i_data): Likewise.
27464 (struct test_ff_i_data): Likewise.
27465 (struct test_f_l_data): Likewise.
27466 (struct test_f_L_data): Likewise.
27467 (struct test_sincos_data): Likewise.
27468 (RUN_TEST_f_f): Do not handle ulps.
27469 (RUN_TEST_LOOP_f_f): Likewise.
27470 (RUN_TEST_2_f): Likewise.
27471 (RUN_TEST_LOOP_2_f): Likewise.
27472 (RUN_TEST_fff_f): Likewise.
27473 (RUN_TEST_LOOP_fff_f): Likewise.
27474 (RUN_TEST_c_f): Likewise.
27475 (RUN_TEST_LOOP_c_f): Likewise.
27476 (RUN_TEST_f_f1): Likewise.
27477 (RUN_TEST_LOOP_f_f1): Likewise.
27478 (RUN_TEST_fF_f1): Likewise.
27479 (RUN_TEST_LOOP_fF_f1): Likewise.
27480 (RUN_TEST_fI_f1): Likewise.
27481 (RUN_TEST_LOOP_fI_f1): Likewise.
27482 (RUN_TEST_ffI_f1): Likewise.
27483 (RUN_TEST_LOOP_ffI_f1): Likewise.
27484 (RUN_TEST_c_c): Likewise.
27485 (RUN_TEST_LOOP_c_c): Likewise.
27486 (RUN_TEST_cc_c): Likewise.
27487 (RUN_TEST_LOOP_cc_c): Likewise.
27488 (RUN_TEST_f_i): Likewise.
27489 (RUN_TEST_LOOP_f_i): Likewise.
27490 (RUN_TEST_f_i_tg): Likewise.
27491 (RUN_TEST_LOOP_f_i_tg): Likewise.
27492 (RUN_TEST_ff_i_tg): Likewise.
27493 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27494 (RUN_TEST_f_b): Likewise.
27495 (RUN_TEST_LOOP_f_b): Likewise.
27496 (RUN_TEST_f_b_tg): Likewise.
27497 (RUN_TEST_LOOP_f_b_tg): Likewise.
27498 (RUN_TEST_f_l): Likewise.
27499 (RUN_TEST_LOOP_f_l): Likewise.
27500 (RUN_TEST_f_L): Likewise.
27501 (RUN_TEST_LOOP_f_L): Likewise.
27502 (RUN_TEST_sincos): Likewise.
27503 (RUN_TEST_LOOP_sincos): Likewise.
27504
8269107f
JM
275052013-05-17 Joseph Myers <joseph@codesourcery.com>
27506
bb38759d
JM
27507 [BZ #15480]
27508 [BZ #15485]
27509 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27510 main case of finite arguments, set rounding mode to FE_TONEAREST
27511 and discard exceptions.
27512 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27513 exceptions.
27514 (remainder_tonearest_test_data): New variable.
27515 (remainder_test_tonearest): New function.
27516 (remainder_towardzero_test_data): New variable.
27517 (remainder_test_towardzero): New function.
27518 (remainder_downward_test_data): New variable.
27519 (remainder_test_downward): New function.
27520 (remainder_upward_test_data): New variable.
27521 (remainder_test_upward): New function.
27522 (main): Call the new test functions.
27523
a00bdcf0
JM
27524 * math/libm-test.inc (struct test_f_f1_data): Remove field
27525 extra_init.
27526 (struct test_fF_f1_data): Likewise.
27527 (struct test_ffI_f1_data): Likewise.
27528 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27529 based on value of EXTRA_EXPECTED.
27530 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27531 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27532 EXTRA_VAR based on value of EXTRA_EXPECTED.
27533 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27534 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27535 EXTRA_VAR based on value of EXTRA_EXPECTED.
27536 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27537 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27538 EXTRA_VAR based on value of EXTRA_EXPECTED.
27539 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27540 * math/gen-libm-test.pl (parse_args): Don't output initializers
27541 for extra output values.
27542
de407f79
JM
27543 * math/libm-test.inc (check_int): Expect result to be exactly
27544 equal to expected value and do not handle ulps.
27545 (check_long): Likewise.
27546 (check_longlong): Likewise.
27547
8269107f
JM
27548 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27549 exceptions.
27550 (cimag_test_data): Likewise.
27551 (conj_test_data): Likewise.
27552 (copysign_test_data): Likewise.
27553 (cproj_test_data): Likewise.
27554 (creal_test_data): Likewise.
27555 (fabs_test_data): Likewise.
27556 (fdim_test_data): Likewise.
27557 (finite_test_data): Likewise.
27558 (floor_test_data): Likewise.
27559 (fmax_test_data): Likewise.
27560 (fmin_test_data): Likewise.
27561 (fmod_test_data): Likewise.
27562 (fpclassify_test_data): Likewise.
27563 (frexp_test_data): Likewise.
27564 (ilogb_test_data): Likewise.
27565 (isfinite_test_data): Likewise.
27566 (isgreater_test_data): Likewise.
27567 (isgreaterequal_test_data): Likewise.
27568 (isinf_test_data): Likewise.
27569 (isless_test_data): Likewise.
27570 (islessequal_test_data): Likewise.
27571 (islessgreater_test_data): Likewise.
27572 (isnan_test_data): Likewise.
27573 (isnormal_test_data): Likewise.
27574 (issignaling_test_data): Likewise.
27575 (isunordered_test_data): Likewise.
27576 (ldexp_test_data): Likewise.
27577 (lrint_test_data): Likewise.
27578 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27579 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27580 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27581 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27582 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27583 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27584 test input.
27585 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27586 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27587 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27588 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27589 that test input.
27590 (lrint_downward_test_data): Test for "inexact" exceptions.
27591 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27592 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27593 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27594 test input.
27595 (lrint_upward_test_data): Test for "inexact" exceptions.
27596 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27597 test input.
27598 (llrint_test_data): Test for "inexact" exceptions.
27599 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27600 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27601 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27602 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27603 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27604 (llrint_downward_test_data): Test for "inexact" exceptions.
27605 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27606 (llrint_upward_test_data): Test for "inexact" exceptions.
27607 (logb_test_data): Likewise.
27608 (logb_downward_test_data): Likewise.
27609 (nextafter_test_data): Likewise.
27610 (nexttoward_test_data): Likewise.
27611 (remainder_test_data): Likewise.
27612 (remquo_test_data): Likewise.
27613 (scalbn_test_data): Likewise.
27614 (scalbln_test_data): Likewise.
27615 (signbit_test_data): Likewise.
27616 (sqrt_test_data): Likewise.
27617 (significand_test_data): Likewise.
27618
48a18de1
SP
276192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27620
27621 [BZ #15424]
27622 * benchtests/bench-modf.c (struct args): Mark arg0 as
27623 volatile.
27624 * scripts/bench.pl: Mark members of struct args as volatile.
27625
13d3b41a
AZ
276262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27627
68191c1d 27628 [BZ # 15497]
13d3b41a
AZ
27629 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27630 negative infinity on POWER6 or lower.
27631 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27632
2848b105
MR
276332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27634
27635 [BZ #15442]
27636 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27637 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27638 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27639 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27640 (_FP_SETQNAN): New macro.
27641 (_FP_SETQNAN_SEMIRAW): Likewise.
27642 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27643 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27644 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27645 (FP_EXTEND): Use _FP_FRAC_SNANP.
27646 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27647 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27648 into account.
27649 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27650 New macro.
27651 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27652 Likewise.
27653
323e5cb7
JM
276542013-05-16 Joseph Myers <joseph@codesourcery.com>
27655
c58b274f
JM
27656 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27657 with DIVIDE_BY_ZERO_EXCEPTION.
27658 (gamma_test_data): Likewise.
27659 (lgamma_test_data): Likewise.
27660 (log_test_data): Likewise.
27661 (log10_test_data): Likewise.
27662 (log2_test_data): Likewise.
27663 (tgamma_test_data): Likewise.
27664
0ab34904
JM
27665 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27666 (acos_test_tonearest): Likewise.
27667 (acos_test_towardzero): Likewise.
27668 (acos_test_downward): Likewise.
27669 (acos_test_upward): Likewise.
27670 (acosh_test): Likewise.
27671 (asin_test): Likewise.
27672 (asin_test_tonearest): Likewise.
27673 (asin_test_towardzero): Likewise.
27674 (asin_test_downward): Likewise.
27675 (asin_test_upward): Likewise.
27676 (asinh_test): Likewise.
27677 (atan_test): Likewise.
27678 (atanh_test): Likewise.
27679 (atan2_test): Likewise.
27680 (cabs_test): Likewise.
27681 (cacos_test): Likewise.
27682 (cacosh_test): Likewise.
27683 (casin_test): Likewise.
27684 (casinh_test): Likewise.
27685 (catan_test): Likewise.
27686 (catanh_test): Likewise.
27687 (cbrt_test): Likewise.
27688 (ccos_test): Likewise.
27689 (ccosh_test): Likewise.
27690 (cexp_test): Likewise.
27691 (clog_test): Likewise.
27692 (clog10_test): Likewise.
27693 (cos_test): Likewise.
27694 (cos_test_tonearest): Likewise.
27695 (cos_test_towardzero): Likewise.
27696 (cos_test_downward): Likewise.
27697 (cos_test_upward): Likewise.
27698 (cosh_test): Likewise.
27699 (cosh_test_tonearest): Likewise.
27700 (cosh_test_towardzero): Likewise.
27701 (cosh_test_downward): Likewise.
27702 (cosh_test_upward): Likewise.
27703 (cpow_test): Likewise.
27704 (csin_test): Likewise.
27705 (csinh_test): Likewise.
27706 (csqrt_test): Likewise.
27707 (ctan_test): Likewise.
27708 (ctan_test_tonearest): Likewise.
27709 (ctan_test_towardzero): Likewise.
27710 (ctan_test_downward): Likewise.
27711 (ctan_test_upward): Likewise.
27712 (ctanh_test): Likewise.
27713 (ctanh_test_tonearest): Likewise.
27714 (ctanh_test_towardzero): Likewise.
27715 (ctanh_test_downward): Likewise.
27716 (ctanh_test_upward): Likewise.
27717 (erf_test): Likewise.
27718 (erfc_test): Likewise.
27719 (exp_test): Likewise.
27720 (exp_test_tonearest): Likewise.
27721 (exp_test_towardzero): Likewise.
27722 (exp_test_downward): Likewise.
27723 (exp_test_upward): Likewise.
27724 (exp10_test): Likewise.
27725 (exp2_test): Likewise.
27726 (expm1_test): Likewise.
27727 (fmod_test): Likewise.
27728 (gamma_test): Likewise.
27729 (hypot_test): Likewise.
27730 (j0_test): Likewise.
27731 (j1_test): Likewise.
27732 (jn_test): Likewise.
27733 (lgamma_test): Likewise.
27734 (log_test): Likewise.
27735 (log10_test): Likewise.
27736 (log1p_test): Likewise.
27737 (log2_test): Likewise.
27738 (logb_test_downward): Likewise.
27739 (pow_test): Likewise.
27740 (pow_test_tonearest): Likewise.
27741 (pow_test_towardzero): Likewise.
27742 (pow_test_downward): Likewise.
27743 (pow_test_upward): Likewise.
27744 (remainder_test): Likewise.
27745 (remquo_test): Likewise.
27746 (sin_test): Likewise.
27747 (sin_test_tonearest): Likewise.
27748 (sin_test_towardzero): Likewise.
27749 (sin_test_downward): Likewise.
27750 (sin_test_upward): Likewise.
27751 (sincos_test): Likewise.
27752 (sinh_test): Likewise.
27753 (sinh_test_tonearest): Likewise.
27754 (sinh_test_towardzero): Likewise.
27755 (sinh_test_downward): Likewise.
27756 (sinh_test_upward): Likewise.
27757 (sqrt_test): Likewise.
27758 (tan_test): Likewise.
27759 (tan_test_tonearest): Likewise.
27760 (tan_test_towardzero): Likewise.
27761 (tan_test_downward): Likewise.
27762 (tan_test_upward): Likewise.
27763 (tanh_test): Likewise.
27764 (tgamma_test): Likewise.
27765 (y0_test): Likewise.
27766 (y1_test): Likewise.
27767 (yn_test): Likewise.
27768
323e5cb7
JM
27769 * math/gen-libm-test.pl (adjust_arg): Remove function.
27770 (special_function): Remove argument $in_func. Only handle
27771 generating output for tables of tests, not inside functions.
27772 (parse_args): Likewise.
27773 (generate_testfile): Remove variable $in_func. Update call to
27774 parse_args.
27775 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27776 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27777 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27778 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27779 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27780 (MAX_VALUE_INIT): Rename macro to max_value.
27781 (MIN_VALUE_INIT): Rename macro to min_value.
27782 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27783 (plus_zero): Remove variable.
27784 (minus_zero): Likewise.
27785 (plus_infty): Likewise.
27786 (minus_infty): Likewise.
27787 (qnan_value): Likewise.
27788 (max_value): Likewise.
27789 (min_value): Likewise.
27790 (min_subnorm_value): Likewise.
27791
e054f494
RA
277922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27793
27794 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27795 uint64_t or uint32_t usage.
27796 * crypt/sha256-block.c: Likewise.
27797 * crypt/sha256-crypt.c: Likewise.
27798 * crypt/sha256.c: Likewise.
27799 * crypt/sha512-block.c: Likewise.
27800 * crypt/sha512-crypt.c: Likewise.
27801 * crypt/sha512.c: Likewise.
27802 * debug/backtrace-tst.c: Likewise.
27803 * debug/pcprofiledump.c: Likewise.
27804 * elf/cache.c: Likewise.
27805 * elf/dl-cache.c: Likewise.
27806 * elf/dl-misc.c: Likewise.
27807 * elf/dl-profile.c: Likewise.
27808 * elf/dl-support.c: Likewise.
27809 * elf/ldconfig.c: Likewise.
27810 * elf/sprof.c: Likewise.
27811 * iconv/dummy-repertoire.c: Likewise.
27812 * iconv/iconv_charmap.c: Likewise.
27813 * iconv/skeleton.c: Likewise.
27814 * iconvdata/8bit-generic.c: Likewise.
27815 * iconvdata/cp737.h: Likewise.
27816 * iconvdata/cp775.h: Likewise.
27817 * iconvdata/ibm1008.h: Likewise.
27818 * iconvdata/ibm1025.h: Likewise.
27819 * iconvdata/ibm1046.h: Likewise.
27820 * iconvdata/ibm1097.h: Likewise.
27821 * iconvdata/ibm1112.h: Likewise.
27822 * iconvdata/ibm1122.h: Likewise.
27823 * iconvdata/ibm1123.h: Likewise.
27824 * iconvdata/ibm1124.h: Likewise.
27825 * iconvdata/ibm1129.h: Likewise.
27826 * iconvdata/ibm1130.h: Likewise.
27827 * iconvdata/ibm1132.h: Likewise.
27828 * iconvdata/ibm1133.h: Likewise.
27829 * iconvdata/ibm1137.h: Likewise.
27830 * iconvdata/ibm1140.h: Likewise.
27831 * iconvdata/ibm1141.h: Likewise.
27832 * iconvdata/ibm1142.h: Likewise.
27833 * iconvdata/ibm1143.h: Likewise.
27834 * iconvdata/ibm1144.h: Likewise.
27835 * iconvdata/ibm1145.h: Likewise.
27836 * iconvdata/ibm1146.h: Likewise.
27837 * iconvdata/ibm1147.h: Likewise.
27838 * iconvdata/ibm1148.h: Likewise.
27839 * iconvdata/ibm1149.h: Likewise.
27840 * iconvdata/ibm1153.h: Likewise.
27841 * iconvdata/ibm1154.h: Likewise.
27842 * iconvdata/ibm1155.h: Likewise.
27843 * iconvdata/ibm1156.h: Likewise.
27844 * iconvdata/ibm1157.h: Likewise.
27845 * iconvdata/ibm1158.h: Likewise.
27846 * iconvdata/ibm1160.h: Likewise.
27847 * iconvdata/ibm1161.h: Likewise.
27848 * iconvdata/ibm1162.h: Likewise.
27849 * iconvdata/ibm1163.h: Likewise.
27850 * iconvdata/ibm1164.h: Likewise.
27851 * iconvdata/ibm1166.h: Likewise.
27852 * iconvdata/ibm1167.h: Likewise.
27853 * iconvdata/ibm12712.h: Likewise.
27854 * iconvdata/ibm1390.h: Likewise.
27855 * iconvdata/ibm1399.h: Likewise.
27856 * iconvdata/ibm16804.h: Likewise.
27857 * iconvdata/ibm4517.h: Likewise.
27858 * iconvdata/ibm4899.h: Likewise.
27859 * iconvdata/ibm4909.h: Likewise.
27860 * iconvdata/ibm4971.h: Likewise.
27861 * iconvdata/ibm5347.h: Likewise.
27862 * iconvdata/ibm803.h: Likewise.
27863 * iconvdata/ibm856.h: Likewise.
27864 * iconvdata/ibm901.h: Likewise.
27865 * iconvdata/ibm902.h: Likewise.
27866 * iconvdata/ibm9030.h: Likewise.
27867 * iconvdata/ibm9066.h: Likewise.
27868 * iconvdata/ibm921.h: Likewise.
27869 * iconvdata/ibm922.h: Likewise.
27870 * iconvdata/ibm9448.h: Likewise.
27871 * iconvdata/isiri-3342.h: Likewise.
27872 * iconvdata/jis0201.h: Likewise.
27873 * include/link.h: Likewise.
27874 * include/netdb.h: Likewise.
27875 * inet/check_native.c: Likewise.
27876 * inet/check_pf.c: Likewise.
27877 * inet/getipv4sourcefilter.c: Likewise.
27878 * inet/getnameinfo.c: Likewise.
27879 * inet/getsourcefilter.c: Likewise.
27880 * inet/htonl.c: Likewise.
27881 * inet/setipv4sourcefilter.c: Likewise.
27882 * inet/setsourcefilter.c: Likewise.
27883 * inet/test-inet6_opt.c: Likewise.
27884 * inet/tst-network.c: Likewise.
27885 * locale/C-collate.c: Likewise.
27886 * locale/C-ctype.c: Likewise.
27887 * locale/C-time.c: Likewise.
27888 * locale/C-translit.h: Likewise.
27889 * locale/loadarchive.c: Likewise.
27890 * locale/programs/3level.h: Likewise.
27891 * locale/programs/charmap.c: Likewise.
27892 * locale/programs/charmap.h: Likewise.
27893 * locale/programs/ld-address.c: Likewise.
27894 * locale/programs/ld-collate.c: Likewise.
27895 * locale/programs/ld-ctype.c: Likewise.
27896 * locale/programs/ld-identification.c: Likewise.
27897 * locale/programs/ld-measurement.c: Likewise.
27898 * locale/programs/ld-messages.c: Likewise.
27899 * locale/programs/ld-monetary.c: Likewise.
27900 * locale/programs/ld-name.c: Likewise.
27901 * locale/programs/ld-numeric.c: Likewise.
27902 * locale/programs/ld-paper.c: Likewise.
27903 * locale/programs/ld-telephone.c: Likewise.
27904 * locale/programs/ld-time.c: Likewise.
27905 * locale/programs/linereader.c: Likewise.
27906 * locale/programs/locale.c: Likewise.
27907 * locale/programs/locarchive.c: Likewise.
27908 * locale/programs/locfile.h: Likewise.
27909 * locale/programs/repertoire.c: Likewise.
27910 * locale/programs/simple-hash.c: Likewise.
27911 * locale/programs/simple-hash.h: Likewise.
27912 * malloc/memusage.c: Likewise.
27913 * malloc/memusagestat.c: Likewise.
27914 * nis/nis_defaults.c: Likewise.
27915 * nis/nis_hash.c: Likewise.
27916 * nis/nis_print.c: Likewise.
27917 * nis/nis_xdr.c: Likewise.
27918 * nscd/connections.c: Likewise.
27919 * nscd/hstcache.c: Likewise.
27920 * nscd/nscd_gethst_r.c: Likewise.
27921 * nscd/nscd_getserv_r.c: Likewise.
27922 * nscd/nscd_helper.c: Likewise.
27923 * nscd/servicescache.c: Likewise.
27924 * nss/makedb.c: Likewise.
27925 * nss/nss_db/db-XXX.c: Likewise.
27926 * nss/nss_db/db-initgroups.c: Likewise.
27927 * nss/nss_db/db-netgrp.c: Likewise.
27928 * nss/nss_files/files-network.c: Likewise.
27929 * nss/nss_files/files-parse.c: Likewise.
27930 * posix/bug-regex5.c: Likewise.
27931 * posix/fnmatch_loop.c: Likewise.
27932 * posix/regcomp.c: Likewise.
27933 * posix/regexec.c: Likewise.
27934 * posix/tst-rfc3484-2.c: Likewise.
27935 * posix/tst-rfc3484-3.c: Likewise.
27936 * posix/tst-rfc3484.c: Likewise.
27937 * resolv/nss_dns/dns-canon.c: Likewise.
27938 * resolv/nss_dns/dns-network.c: Likewise.
27939 * resolv/res_init.c: Likewise.
27940 * resolv/res_mkquery.c: Likewise.
27941 * resolv/tst-aton.c: Likewise.
27942 * stdlib/cxa_atexit.c: Likewise.
27943 * stdlib/cxa_finalize.c: Likewise.
27944 * stdlib/gen-fpioconst.c: Likewise.
27945 * stdlib/strtol_l.c: Likewise.
27946 * string/tst-endian.c: Likewise.
27947 * sunrpc/auth_des.c: Likewise.
27948 * sunrpc/clnt_udp.c: Likewise.
27949 * sunrpc/rtime.c: Likewise.
27950 * sunrpc/svcauth_des.c: Likewise.
27951 * sunrpc/xdr.c: Likewise.
27952 * sunrpc/xdr_intXX_t.c: Likewise.
27953 * sunrpc/xdr_rec.c: Likewise.
27954 * sysdeps/generic/ldconfig.h: Likewise.
27955 * sysdeps/generic/ldsodefs.h: Likewise.
27956 * sysdeps/generic/memusage.h: Likewise.
27957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27965 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27967 * sysdeps/posix/getaddrinfo.c: Likewise.
27968 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27969 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27970 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27971 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27972 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27973 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27974 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27975 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27976 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27977 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27978 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27979 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27980 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27981 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27982 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27983 * sysdeps/x86_64/dl-tls.h: Likewise.
27984 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27985 * time/alt_digit.c: Likewise.
27986 * time/era.c: Likewise.
27987 * wcsmbs/tst-c16c32-1.c: Likewise.
27988
8c75f674
JM
279892013-05-16 Joseph Myers <joseph@codesourcery.com>
27990
27991 * math/libm-test.inc (struct test_sincos_data): New type.
27992 (RUN_TEST_LOOP_sincos): New macro.
27993 (sincos_test_data): New variable.
27994 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27995
e6e49e59
RH
279962013-05-16 Richard Henderson <rth@redhat.com>
27997
27998 * math/atest-exp2.c (LIMB64): New macro.
27999 (CONSTSZ): New macro.
28000 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28001 (hexdig): Move ...
28002 (print_mpn_fp): ... to function scope.
28003 (read_mpn_hex): Remove.
28004 (get_log2): Remove.
28005 (exp2_mpn): Use mp_log2.
28006 (main): Use mp_exp1.
28007
15c7c18d
JM
280082013-05-16 Joseph Myers <joseph@codesourcery.com>
28009
105a07df
JM
28010 * math/libm-test.inc: Remove comment about not testing "inexact"
28011 exceptions.
28012 (INEXACT_EXCEPTION): New macro.
28013 (NO_INEXACT_EXCEPTION): Likewise.
28014 (INVALID_EXCEPTION_OK): Update value.
28015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28016 (OVERFLOW_EXCEPTION_OK): Likewise.
28017 (UNDERFLOW_EXCEPTION_OK): Likewise.
28018 (IGNORE_ZERO_INF_SIGN): Likewise.
28019 (ERRNO_UNCHANGED): Likewise.
28020 (ERRNO_EDOM): Likewise.
28021 (ERRNO_ERANGE): Likewise.
28022 (test_exceptions): Handle testing "inexact" exceptions.
28023 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28024 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28025 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28026 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28027 INEXACT_EXCEPTION.
28028 (rint_towardzero_test_data): Likewise.
28029 (rint_downward_test_data): Likewise.
28030 (rint_upward_test_data): Likewise.
28031
e9eee333
JM
28032 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28033 with OVERFLOW_EXCEPTION.
28034 (exp10_test_data): Likewise.
28035 (exp2_test_data): Likewise.
28036 (expm1_test_data): Likewise.
28037 (lgamma_test_data): Likewise.
28038 (pow_test_data): Likewise.
28039 (tgamma_test_data): Likewise.
28040 (yn_test_data): Remove duplicate test of overflow.
28041
1c38ff73
JM
28042 * math/libm-test.inc (struct test_cc_c_data): New type.
28043 (RUN_TEST_LOOP_cc_c): New macro.
28044 (cpow_test_data): New variable.
28045 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28046
15c7c18d
JM
28047 * math/libm-test.inc (struct test_f_L_data): New type.
28048 (RUN_TEST_LOOP_f_L): New macro.
28049 (llrint_test_data): New variable.
28050 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28051 (llrint_tonearest_test_data): New variable.
28052 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28053 (llrint_towardzero_test_data): New variable.
28054 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28055 (llrint_downward_test_data): New variable.
28056 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28057 (llrint_upward_test_data): New variable.
28058 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28059 (llround_test_data): New variable.
28060 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28061
f137ff13
PC
280622013-05-13 Peter Collingbourne <pcc@google.com>
28063
28064 * math/atest-exp2.c (get_log2): Remove const attribute.
28065
3608cb24
JM
280662013-05-15 Joseph Myers <joseph@codesourcery.com>
28067
28068 * math/libm-test.inc (struct test_f_l_data): New type.
28069 (RUN_TEST_LOOP_f_l): New macro.
28070 (lrint_test_data): New variable.
28071 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28072 (lrint_tonearest_test_data): New variable.
28073 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28074 (lrint_towardzero_test_data): New variable.
28075 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28076 (lrint_downward_test_data): New variable.
28077 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28078 (lrint_upward_test_data): New variable.
28079 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28080 (lround_test_data): New variable.
28081 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28082
39b1f617
PC
280832013-05-15 Peter Collingbourne <pcc@google.com>
28084
1deff3dc
PC
28085 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28086 (EXTRACT_WORDS64) Use where appropriate.
28087 (INSERT_WORDS64) Likewise.
28088
791f3ba0
PC
28089 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28090 constraints with x constraints.
28091 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28092
39b1f617
PC
28093 * malloc/obstack.c (_obstack_compat): Add initializer.
28094
12fba011
EM
280952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28096
28097 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28098 si_trapno and add si_addr_lsb to _sifields.sigfault.
28099 (si_trapno): Remove macro.
28100 (si_addr_lsb): Define new macro.
28101 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28102
d369f531
JM
281032013-05-15 Joseph Myers <joseph@codesourcery.com>
28104
b861c6c4
JM
28105 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28106 instead of TEST_f_l.
28107 (llrint_test_tonearest): Likewise.
28108 (llrint_test_towardzero): Likewise.
28109 (llrint_test_downward): Likewise.
28110 (llrint_test_upward): Likewise.
28111 (llround_test): Likewise.
28112
7abeee12
JM
28113 * math/libm-test.inc (struct test_f_i_data): Add comment.
28114 (RUN_TEST_LOOP_f_b): New macro.
28115 (RUN_TEST_LOOP_f_b_tg): Likewise.
28116 (finite_test_data): New variable.
28117 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28118 (isfinite_test_data): New variable.
28119 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28120 (isinf_test_data): New variable.
28121 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28122 (isnan_test_data): New variable.
28123 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28124 (isnormal_test_data): New variable.
28125 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28126 (issignaling_test_data): New variable.
28127 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28128 (signbit_test_data): New variable.
28129 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28130
cbe8c4d3
JM
28131 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28132 with INVALID_EXCEPTION.
28133 (acosh_test_data): Likewise.
28134 (asin_test_data): Likewise.
28135 (atanh_test_data): Likewise.
28136 (fmod_test_data): Likewise.
28137 (log_test_data): Likewise.
28138 (log10_test_data): Likewise.
28139 (log2_test_data): Likewise.
28140 (pow_test_data): Likewise.
28141 (sqrt_test_data): Likewise.
28142 (y0_test_data): Likewise.
28143 (y1_test_data): Likewise.
28144 (yn_test_data): Likewise.
28145
5575c0e5
JM
28146 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28147 function contents.
28148
d369f531
JM
28149 * math/libm-test.inc (struct test_ff_i_data): New type.
28150 (RUN_TEST_LOOP_ff_i_tg): New macro.
28151 (isgreater_test_data): New variable.
28152 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28153 (isgreaterequal_test_data): New variable.
28154 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28155 (isless_test_data): New variable.
28156 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28157 (islessequal_test_data): New variable.
28158 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28159 (islessgreater_test_data): New variable.
28160 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28161 (isunordered_test_data): New variable.
28162 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28163
781fd748
DM
281642013-05-14 David S. Miller <davem@davemloft.net>
28165
28166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28167
87aa21df
JM
281682013-05-14 Joseph Myers <joseph@codesourcery.com>
28169
5e908270
JM
28170 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28171
f71172e5
JM
28172 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28173 extra_test to int.
28174 (struct test_f_i_data): Change type of max_ulp to int.
28175
8cfa635a
JM
28176 * math/libm-test.inc (test_ffI_f1_data): New type.
28177 (RUN_TEST_LOOP_ffI_f1): New macro.
28178 (remquo_test_data): New variable.
28179 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28180
2bcb36b2
JM
28181 * setjmp/tst-setjmp-fp.c: New file.
28182 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28183 (link-libm): New variable.
28184 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28185
acbd839a
JM
28186 * math/libm-test.inc (struct test_f_i_data): New type.
28187 (RUN_TEST_LOOP_f_i): New macro.
28188 (RUN_TEST_LOOP_f_i_tg): Likewise.
28189 (fpclassify_test_data): New variable.
28190 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28191 (ilogb_test_data): New variable.
28192 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28193
e414d745
JM
28194 * math/libm-test.inc (scalbln_test): Correct function name in END
28195 call.
28196
d9c2a0fd
JM
28197 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28198 (RUN_TEST_LOOP_fI_f1): New macro.
28199 (frexp_test_data): New variable.
28200 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28201
9dc9095d
JM
28202 * math/libm-test.inc (struct test_fF_f1_data): New type.
28203 (RUN_TEST_LOOP_fF_f1): New macro.
28204 (modf_test_data): New variable.
28205 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28206
87aa21df
JM
28207 * math/libm-test.inc (struct test_f_f1_data): New type.
28208 (RUN_TEST_LOOP_f_f1): New macro.
28209 (gamma_test_data): New variable.
28210 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28211 (lgamma_test_data): New variable.
28212 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28213
141af660
CD
282142013-05-13 Carlos O'Donell <carlos@redhat.com>
28215
28216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28217 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28218 (main): Comment "tls" pseudo-hwcap.
28219
6d33265c
JM
282202013-05-13 Joseph Myers <joseph@codesourcery.com>
28221
68fc074c
JM
28222 * math/libm-test.inc (struct test_fl_f_data): New type.
28223 (RUN_TEST_LOOP_fl_f): New variable.
28224 (scalbln_test_data): New variable.
28225 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28226
243216e1
JM
28227 * math/libm-test.inc (struct test_fi_f_data): New type.
28228 (RUN_TEST_LOOP_fi_f): New macro.
28229 (ldexp_test_data): New variable.
28230 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28231 (scalbn_test_data): New variable.
28232 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28233
6a1992e2
JM
28234 * math/libm-test.inc (struct test_c_f_data): New type.
28235 (RUN_TEST_LOOP_c_f): New macro.
28236 (cabs_test_data): New variable.
28237 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28238 (carg_test_data): New variable.
28239 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28240 (cimag_test_data): New variable.
28241 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28242 (creal_test_data): New variable.
28243 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28244
0e400df5
JM
28245 * math/libm-test.inc (struct test_if_f_data): New type.
28246 (RUN_TEST_LOOP_if_f): New macro.
28247 (jn_test_data): New variable.
28248 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28249 (yn_test_data): New variable.
28250 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28251
6d33265c
JM
28252 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28253
f98ece5f
AZ
282542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28255
28256 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28257 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28258
0f7d347b
SP
282592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28260
43fe811b
SP
28261 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28262 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28263 (bench-deps): Add bench-timing.h.
28264 * benchtests-bench-skeleton.c: Include bench-timing.h.
28265 (main): Use TIMING_* macros instead of clock_gettime.
28266 * benchtests/bench-timing.h: New file.
28267
0f7d347b
SP
28268 [BZ #14582]
28269 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28270 Renamed from _LIB_VERSION.
28271 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28272
601a3a5f
JM
282732013-05-12 Joseph Myers <joseph@codesourcery.com>
28274
4f184d30
JM
28275 * math/libm-test.inc (struct test_fff_f_data): New type.
28276 (RUN_TEST_LOOP_fff_f): New macro.
28277 (fma_test_data): New variable.
28278 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28279 (fma_towardzero_test_data): New variable.
28280 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28281 (fma_downward_test_data): New variable.
28282 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28283 (fma_upward_test_data): New variable.
28284 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28285
08198877
JM
28286 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28287 (struct test_c_c_data): New type.
28288 (RUN_TEST_LOOP_c_c): New macro.
28289 (cacos_test_data): New variable.
28290 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28291 (cacosh_test_data): New variable.
28292 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28293 (casin_test_data): New variable.
28294 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28295 (casinh_test_data): New variable.
28296 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28297 (catan_test_data): New variable.
28298 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28299 (catanh_test_data): New variable.
28300 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28301 (ccos_test_data): New variable.
28302 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28303 (ccosh_test_data): New variable.
28304 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28305 (cexp_test_data): New variable.
28306 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28307 (clog_test_data): New variable.
28308 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28309 (clog10_test_data): New variable.
28310 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28311 (conj_test_data): New variable.
28312 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28313 (cproj_test_data): New variable.
28314 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28315 (csin_test_data): New variable.
28316 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28317 (csinh_test_data): New variable.
28318 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28319 (csqrt_test_data): New variable.
28320 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28321 (ctan_test_data): New variable.
28322 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28323 (ctan_tonearest_test_data): New variable.
28324 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28325 (ctan_towardzero_test_data): New variable.
28326 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28327 (ctan_downward_test_data): New variable.
28328 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28329 (ctan_upward_test_data): New variable.
28330 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28331 (ctanh_test_data): New variable.
28332 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28333 (ctanh_tonearest_test_data): New variable.
28334 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28335 (ctanh_towardzero_test_data): New variable.
28336 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28337 (ctanh_downward_test_data): New variable.
28338 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28339 (ctanh_upward_test_data): New variable.
28340 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28341 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28342 of BUILD_COMPLEX.
28343
601a3a5f
JM
28344 * math/libm-test.inc (struct test_ff_f_data): New type.
28345 (struct test_ff_f_data_nexttoward): Likewise.
28346 (RUN_TEST_LOOP_2_f): New macro.
28347 (RUN_TEST_LOOP_ff_f): Likewise.
28348 (atan2_test_data): New variable.
28349 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28350 (copysign_test_data): New variable.
28351 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28352 (fdim_test_data): New variable.
28353 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28354 (fmax_test_data): New variable.
28355 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28356 (fmin_test_data): New variable.
28357 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28358 (fmod_test_data): New variable.
28359 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28360 (hypot_test_data): New variable.
28361 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28362 (nextafter_test_data): New variable.
28363 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28364 (nexttoward_test_data): New variable.
28365 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28366 (pow_test_data): New variable.
28367 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28368 (pow_tonearest_test_data): New variable.
28369 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28370 (pow_towardzero_test_data): New variable.
28371 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28372 (pow_downward_test_data): New variable.
28373 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28374 (pow_upward_test_data): New variable.
28375 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28376 (remainder_test_data): New variable.
28377 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28378 (scalb_test_data): New variable.
28379 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28380 * sysdeps/i386/fpu/libm-test-ulps: Update.
28381
74c57478
JM
283822013-05-11 Joseph Myers <joseph@codesourcery.com>
28383
8329e4da
JM
28384 * math/libm-test.inc (fma_test): Use max_value instead of local
28385 variable fltmax.
28386 (nextafter_test): Likewise.
28387
74c57478
JM
28388 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28389 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28390 (acos_downward_test_data): New variable.
28391 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28392 (acos_upward_test_data): New variable.
28393 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28394 (acosh_test_data): New variable.
28395 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28396 (asin_test_data): New variable.
28397 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28398 (asin_tonearest_test_data): New variable.
28399 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28400 (asin_towardzero_test_data): New variable.
28401 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28402 (asin_downward_test_data): New variable.
28403 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28404 (asin_upward_test_data): New variable.
28405 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28406 (asinh_test_data): New variable.
28407 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28408 (atan_test_data): New variable.
28409 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28410 (atanh_test_data): New variable.
28411 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28412 (cbrt_test_data): New variable.
28413 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28414 (ceil_test_data): New variable.
28415 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28416 (cos_test_data): New variable.
28417 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28418 (cos_tonearest_test_data): New variable.
28419 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28420 (cos_towardzero_test_data): New variable.
28421 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28422 (cos_downward_test_data): New variable.
28423 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28424 (cos_upward_test_data): New variable.
28425 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28426 (cosh_test_data): New variable.
28427 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28428 (cosh_tonearest_test_data): New variable.
28429 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28430 (cosh_towardzero_test_data): New variable.
28431 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28432 (cosh_downward_test_data): New variable.
28433 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28434 (cosh_upward_test_data): New variable.
28435 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28436 (erf_test_data): New variable.
28437 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28438 (erfc_test_data): New variable.
28439 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28440 (exp_test_data): New variable.
28441 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28442 (exp_tonearest_test_data): New variable.
28443 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28444 (exp_towardzero_test_data): New variable.
28445 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28446 (exp_downward_test_data): New variable.
28447 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28448 (exp_upward_test_data): New variable.
28449 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28450 (exp10_test_data): New variable.
28451 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28452 (exp2_test_data): New variable.
28453 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28454 (expm1_test_data): New variable.
28455 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28456 (fabs_test_data): New variable.
28457 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28458 (floor_test_data): New variable.
28459 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28460 (j0_test_data): New variable.
28461 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28462 (j1_test_data): New variable.
28463 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28464 (log_test_data): New variable.
28465 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28466 (log10_test_data): New variable.
28467 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28468 (log1p_test_data): New variable.
28469 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28470 (log2_test_data): New variable.
28471 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28472 (logb_test_data): New variable.
28473 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28474 (logb_downward_test_data): New variable.
28475 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28476 (nearbyint_test_data): New variable.
28477 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28478 (rint_test_data): New variable.
28479 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28480 (rint_tonearest_test_data): New variable.
28481 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28482 (rint_towardzero_test_data): New variable.
28483 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28484 (rint_downward_test_data): New variable.
28485 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28486 (rint_upward_test_data): New variable.
28487 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28488 (round_test_data): New variable.
28489 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28490 (sin_test_data): New variable.
28491 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28492 (sin_tonearest_test_data): New variable.
28493 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28494 (sin_towardzero_test_data): New variable.
28495 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28496 (sin_downward_test_data): New variable.
28497 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28498 (sin_upward_test_data): New variable.
28499 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28500 (sinh_test_data): New variable.
28501 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28502 (sinh_tonearest_test_data): New variable.
28503 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28504 (sinh_towardzero_test_data): New variable.
28505 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28506 (sinh_downward_test_data): New variable.
28507 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28508 (sinh_upward_test_data): New variable.
28509 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28510 (sqrt_test_data): New variable.
28511 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28512 (tan_test_data): New variable.
28513 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28514 (tan_tonearest_test_data): New variable.
28515 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28516 (tan_towardzero_test_data): New variable.
28517 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28518 (tan_downward_test_data): New variable.
28519 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28520 (tan_upward_test_data): New variable.
28521 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28522 (tanh_test_data): New variable.
28523 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28524 (tgamma_test_data): New variable.
28525 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28526 (trunc_test_data): New variable.
28527 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28528 (y0_test_data): New variable.
28529 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28530 (y1_test_data): New variable.
28531 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28532 (significand_test_data): New variable.
28533 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28534
7187d844
CG
285352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28536
28537 [BZ #12387]
28538 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28539
f63fae73
PT
285402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28541
28542 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28543
8a67a4b3
AJ
285442013-05-10 Andreas Jaeger <aj@suse.de>
28545
28546 [BZ #15448]
28547 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28548 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28549
51df539d
JM
285502013-05-10 Joseph Myers <joseph@codesourcery.com>
28551
28552 * math/gen-libm-test.pl (adjust_arg): New function.
28553 (special_functions): Handle generating output in both functions
28554 and arrays.
28555 (parse_args): Likewise.
28556 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28557 $in_func argument to parse_args.
28558 * math/libm-test.inc (struct test_f_f_data): New type.
28559 (IF_ROUND_INIT_): New macro.
28560 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28561 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28562 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28563 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28564 (ROUND_RESTORE_): Likewise.
28565 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28566 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28567 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28568 (ROUND_RESTORE_FE_UPWARD): Likewise.
28569 (RUN_TEST_LOOP_f_f): New macro.
28570 (acos_test_data): New variable.
28571 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28572 (acos_tonearest_test_data): New variable.
28573 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28574
5c637fe5
SP
285752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28576
28577 * benchtests/bench-skeleton.c (startup): Fix coding style.
28578
ab2b9461
JM
285792013-05-10 Joseph Myers <joseph@codesourcery.com>
28580
28581 [BZ #6809]
28582 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28583 negative infinity argument.
28584 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28585 negative infinity argument.
28586 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28587 negative infinity argument.
28588 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28589 domain errors.
28590
4c0fe6fe
FW
285912013-05-10 Florian Weimer <fweimer@redhat.com>
28592
28593 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28594 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28595 * iconv/iconv_prog.c (main): Likewise.
28596 * locale/programs/charmap-dir.c (charmap_readdir)
28597 (fopen_uncompressed): Likewise.
28598 * locale/programs/locfile.c (siblings_uncached)
28599 (write_locale_data): Use lstat64 instead of lstat.
28600 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28601 stat.
28602
a3375d29
AJ
286032013-05-10 Andreas Jaeger <aj@suse.de>
28604
28605 [BZ #15395]
28606 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28607 localization.
28608 Include <locale.h>.
28609
36129722
CD
286102013-05-09 Carlos O'Donell <carlos@redhat.com>
28611
28612 * elf/dl-close.c (_dl_close_worker): Add comments.
28613
faa7f811
JM
286142013-05-09 Joseph Myers <joseph@codesourcery.com>
28615
ed41ffef
JM
28616 [BZ #15359]
28617 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28618 high part of pi/2.
28619 (__ieee754_rem_pio2l): Update comments.
28620
d0213cd0
JM
28621 [BZ #15429]
28622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28623 high part of pi/2.
28624 (__ieee754_rem_pio2l): Update comments.
28625
0d3e777a
JM
28626 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28627 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28628
24f56066
JM
28629 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28630 M_PI_4l.
28631
faa7f811
JM
28632 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28633 (M_PI_34_LOG10El): Likewise.
28634 (M_PI2_LOG10El): Likewise.
28635 (M_PI4_LOG10El): Likewise.
28636 (M_PI_LOG10El): Likewise.
28637
e9a5e0fd
AZ
286382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28639
28640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28641
d8cd06db
JM
286422013-05-08 Joseph Myers <joseph@codesourcery.com>
28643
a0d9f9d7
JM
28644 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28645 (MINUS_ZERO_INIT): Likewise.
28646 (PLUS_INFTY_INIT): Likewise.
28647 (MINUS_INFTY_INIT): Likewise.
28648 (QNAN_VALUE_INIT): Likewise.
28649 (MAX_VALUE_INIT): Likewise.
28650 (MIN_VALUE_INIT): Likewise.
28651 (MIN_SUBNORM_VALUE_INIT): Likewise.
28652 (plus_zero): Initialize with PLUS_ZERO_INIT.
28653 (minus_zero): Initialize with MINUS_ZERO_INIT.
28654 (plus_infty): Initialize with PLUS_INFTY_INIT.
28655 (minus_infty): Initialize with MINUS_INFTY_INIT.
28656 (qnan_value): Initialize with QNAN_VALUE_INIT.
28657 (max_value): Initialize with MAX_VALUE_INIT.
28658 (min_value): Initialize with MIN_VALUE_INIT.
28659 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28660
ae08db3b
JM
28661 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28662 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28663 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28664 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28665
f44bf14a
JM
28666 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28667 (RUN_TEST_2_f): Likewise.
28668 (RUN_TEST_ff_f): Likewise.
28669 (RUN_TEST_fi_f): Likewise.
28670 (RUN_TEST_fl_f): Likewise.
28671 (RUN_TEST_fff_f): Likewise.
28672 (RUN_TEST_c_f): Likewise.
28673 (RUN_TEST_f_f1): Likewise.
28674 (RUN_TEST_fF_f1): Likewise.
28675 (RUN_TEST_fI_f1): Likewise.
28676 (RUN_TEST_ffI_f1): Likewise.
28677 (RUN_TEST_c_c): Likewise.
28678 (RUN_TEST_cc_c): Likewise.
28679 (RUN_TEST_f_i): Likewise.
28680 (RUN_TEST_f_i_tg): Likewise.
28681 (RUN_TEST_ff_i_tg): Likewise.
28682 (RUN_TEST_f_b): Likewise.
28683 (RUN_TEST_f_b_tg): Likewise.
28684 (RUN_TEST_f_l): Likewise.
28685 (RUN_TEST_f_L): Likewise.
28686 (RUN_TEST_sincos): Likewise.
28687 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28688 whether to show exceptions. Do not include ");\n" in return
28689 value.
28690 (special_functions): Output call to RUN_TEST_sincos instead of
28691 check_float calls. Update calls to new_test.
28692 (parse_args): Output call to single RUN_TEST_* macro instead of
28693 check_* calls and other assignments. Update calls to new_test.
28694
d8cd06db
JM
28695 [BZ #2546]
28696 [BZ #2560]
28697 [BZ #5159]
28698 [BZ #15426]
28699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28700 input to result for tgamma overflow.
28701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28702 (gamma_coeff): New variable.
28703 (NCOEFF): New macro.
28704 (gamma_positive): New function.
28705 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28706 underflow here. Use gamma_positive instead of exp (lgamma) for
28707 other arguments.
28708 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28709 (gamma_coeff): New variable.
28710 (NCOEFF): New macro.
28711 (gammaf_positive): New function.
28712 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28713 underflow here. Use gamma_positive instead of exp (lgamma) for
28714 other arguments.
28715 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28716 (gamma_coeff): New variable.
28717 (NCOEFF): New macro.
28718 (gammal_positive): New function.
28719 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28720 underflow here. Use gamma_positive instead of exp (lgamma) for
28721 other arguments.
28722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28723 (gamma_coeff): New variable.
28724 (NCOEFF): New macro.
28725 (gammal_positive): New function.
28726 (__ieee754_gammal_r): Handle positive infinity, overflow and
28727 underflow here. Handle NaN the same as positive infinity. Remove
28728 check x < 0xffffffff for negative integers. Use gamma_positive
28729 instead of exp (lgamma) for other arguments.
28730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28731 (gamma_coeff): New variable.
28732 (NCOEFF): New macro.
28733 (gammal_positive): New function.
28734 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28735 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28739 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28740 * sysdeps/generic/math_private.h (__gamma_productf): New
28741 prototype.
28742 (__gamma_product): Likewise.
28743 (__gamma_productl): Likewise.
28744 * math/Makefile (libm-calls): Add gamma_product.
28745 * math/libm-test.inc (tgamma_test): Add more tests.
28746 * sysdeps/i386/fpu/libm-test-ulps: Update.
28747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28748
bb7cf681
OB
287492013-05-08 Ondřej Bílka <neleai@seznam.cz>
28750
28751 * benchtests/bench-skeleton.c (main): Preheat CPU.
28752
ba853947
AJ
287532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28754
28755 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28756
8347c74c
RM
287572013-05-07 Roland McGrath <roland@hack.frob.com>
28758
28759 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28760 and _dl_skip_args_internal.
28761
e8dd4791
CD
287622013-05-07 Carlos O'Donell <carlos@redhat.com>
28763
28764 * manual/message.texi (Message Translation): Talk about users.
28765 Message to key mapping impacts design.
28766
c7405830
RM
287672013-05-06 Roland McGrath <roland@hack.frob.com>
28768
a9173057
RM
28769 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28770
976e2f03
RM
28771 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28772
9723ffc5
RM
28773 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28774 * sysdeps/wordsize-64/glob64.c: ... here.
28775
962e6658
RM
28776 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28777 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28778 New macros.
28779
ee586a6d
RM
28780 * debug/getlogin_r_chk.c: Moved to ...
28781 * login/getlogin_r_chk.c: ... here.
28782 * debug/Makefile (routines): Move getlogin_r_chk to ...
28783 * login/Makefile (routines): ... here.
28784 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28785 * login/Versions (libc: GLIBC_2.4): ... here.
28786
355f9165
RM
28787 * io/poll.c (__poll): Renamed from poll.
28788 Add libc_hidden_def.
28789 (poll): Define as weak alias.
28790
bd9ffde6
RM
28791 * debug/ptsname_r_chk.c: Moved to ...
28792 * login/ptsname_r_chk.c: ... here.
28793 * debug/Makefile (routines): Move ptsname_r_chk to ...
28794 * login/Makefile (routines): ... here.
28795 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28796 * login/Versions (libc: GLIBC_2.4): ... here.
28797
8fb16a04
RM
28798 * posix/getlogin.c: Moved to ...
28799 * login/getlogin.c: ... here.
28800 * posix/getlogin_r.c: Moved to ...
28801 * login/getlogin_r.c: ... here.
28802 * posix/getlogin_r.c: Moved to ...
28803 * login/getlogin_r.c: ... here.
28804 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28805 * login/Makefile (routines): ... here.
28806 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28807 * login/Versions (libc: GLIBC_2.0): ... here.
28808
b99b892f
RM
28809 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28810 (setrlimit): Define as weak alias.
28811
c7405830
RM
28812 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28813 Call __ names for open, ftruncate, and close.
28814 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28815 (truncate): Define as weak alias.
28816
5bf96de5
JM
288172013-05-06 Joseph Myers <joseph@codesourcery.com>
28818
9ea3513c
JM
28819 * math/gen-libm-test.pl (parse_args): Initialize x before each
28820 test of frexp, modf and remquo.
28821
5bf96de5
JM
28822 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28823 test signgam value.
28824
16e616a7
AZ
288252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28826
28827 [BZ #15418]
28828 [BZ #15419]
28829 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28830 internal tests.
28831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28832
d5e82754
RM
288332013-05-06 Roland McGrath <roland@hack.frob.com>
28834
28835 * elf/dl-writev.h: New file.
28836 * elf/dl-misc.c: Include it.
28837 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28838 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28839
a7548d41
JM
288402013-05-04 Joseph Myers <joseph@codesourcery.com>
28841
b7dab1e4
JM
28842 * math/libm-test.inc (noXFails): Remove variable.
28843 (noXPasses): Likewise.
28844 (BUILD_COMPLEX_INT): Remove macro.
28845 (print_screen): Remove xfail argument.
28846 (print_screen_max_error): Likewise.
28847 (update_stats): Likewise.
28848 (print_max_error): Likewise. Update calls to other affected
28849 functions.
28850 (print_complex_max_error): Likewise.
28851 (test_single_exception): Update calls to print_screen.
28852 (test_single_errno): Likewise.
28853 (check_float_internal): Remove xfail argument. Update calls to
28854 other affected functions.
28855 (check_float): Likewise.
28856 (check_complex): Likewise.
28857 (check_int): Likewise.
28858 (check_long): Likewise.
28859 (check_bool): Likewise.
28860 (check_longlong): Likewise.
28861 (main): Don't print noXFails and noXPasses.
28862 * math/gen-libm-test.pl (top level): Don't mention expected
28863 failure handling in comment.
28864 (new_test): Don't handle expected failures.
28865 (parse_args): Don't mention expected failure handling in comment.
28866 (generate_testfile): Don't handle expected failures.
28867 (parse_ulps): Likewise.
28868 (print_ulps_file): Likewise.
28869 (get_failure): Remove function.
28870 (output_test): Don't handle expected failures.
28871 * make/README.libm-test: Don't mention expected failure handling.
28872
a7548d41
JM
28873 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28874 (minus_zero): Likewise.
28875 (plus_infty): Likewise.
28876 (minus_infty): Likewise.
28877 (qnan_value): Likewise.
28878 (max_value): Likewise.
28879 (min_value): Likewise.
28880 (min_subnorm_value): Likewise.
28881 (initialize): Do not initialize those variables dynamically.
28882
60bfd54c
RM
288832013-05-03 Roland McGrath <roland@hack.frob.com>
28884
cc0e6ed8
RM
28885 * io/open.c (__open_2): Moved to ...
28886 * io/open_2.c: ... this new file.
28887 * io/open64.c (__open64_2): Moved to ...
28888 * io/open64_2.c: ... this new file.
28889 * io/openat.c (__openat_2): Moved to ...
28890 * io/openat_2.c: ... this new file.
28891 * io/openat64.c (__openat64_2): Moved to ...
28892 * io/openat64_2.c: ... this new file.
28893 * io/Makefile (routines): Add them.
28894 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28895 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28896 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28897 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28898 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28899 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28900 (__openat64): Add hidden_ver.
28901 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28902 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28903
60bfd54c
RM
28904 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28905 Separately conditionalize setting of GLRO(dl_sysinfo) so
28906 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28907 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28908
83e7640f
AZ
289092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28910
28911 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28913 definition.
28914 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28915 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28916 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28917 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28918 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28919
d5dc2af3
JM
289202013-05-03 Joseph Myers <joseph@codesourcery.com>
28921
c31a5b1e
JM
28922 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28923 test signgam value.
28924
d5dc2af3
JM
28925 * math/libm-test.inc (hypot_test): Do not use
28926 IGNORE_ZERO_INF_SIGN.
28927
164fd39d
AJ
289282013-05-03 Andreas Jaeger <aj@suse.de>
28929
28930 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28931 Linux 3.9.
28932 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28933 (PF_MAX): Adjust for VSOCK change.
28934
8237f48c
AZ
289352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28936
28937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28938
9df02941
CD
289392013-05-02 Carlos O'Donell <carlos@redhat.com>
28940
28941 [BZ #15264]
28942 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28943 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28944 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28945
d422395e
DM
289462013-05-02 David S. Miller <davem@davemloft.net>
28947
28948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28949
a07c5731
OB
289502013-05-01 Ondřej Bílka <neleai@seznam.cz>
28951
28952 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28953
1324e37f
RM
289542013-05-01 Roland McGrath <roland@hack.frob.com>
28955
28956 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28957
0695940b
RS
289582013-05-01 Richard Smith <richard@metafoo.co.uk>
28959
bb5f27ad 28960 [BZ #14952]
0695940b
RS
28961 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28962 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28963 Use __attribute__ ((__gnu_inline__)).
28964 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28965 Don't use __attribute__ ((__gnu_inline__)).
28966
10de07f5
JM
289672013-05-01 Joseph Myers <joseph@codesourcery.com>
28968
28969 [BZ #15423]
28970 * math/s_catan.c (__catan): Handle small real or imaginary part of
28971 input specially to avoid spurious underflow.
28972 * math/s_catanf.c (__catanf): Likewise.
28973 * math/s_catanh.c (__catanh): Likewise.
28974 * math/s_catanhf.c (__catanhf): Likewise.
28975 * math/s_catanhl.c (__catanhl): Likewise.
28976 * math/s_catanl.c (__catanl): Likewise.
28977 * math/libm-test.inc (catan_test): Add more tests.
28978 (catanh_test): Likewise.
28979 * sysdeps/i386/fpu/libm-test-ulps: Update.
28980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28981
cb4d5414
AZ
289822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28983
28984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28985
caf84319
JM
289862013-04-30 Joseph Myers <joseph@codesourcery.com>
28987
28988 [BZ #15416]
28989 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28990 accurately for denominator in atan2.
28991 * math/s_catanf.c (__catanf): Likewise.
28992 * math/s_catanh.c (__catanh): Likewise.
28993 * math/s_catanhf.c (__catanhf): Likewise.
28994 * math/s_catanhl.c (__catanhl): Likewise.
28995 * math/s_catanl.c (__catanl): Likewise.
28996 * math/libm-test.inc (catan_test): Add more tests.
28997 (catanh_test): Likewise.
28998 * sysdeps/i386/fpu/libm-test-ulps: Update.
28999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29000
d569c6ee
SP
290012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29002
6dbe713d
SP
29003 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29004
f0ee064b
SP
29005 * benchtests/Makefile (bench): Remove slow benchmarks.
29006 * benchtests/atan-inputs: Add slow benchmark inputs.
29007 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29008 (BENCH_FUNC): Accept variant offset.
29009 (VARIANT): Define.
29010 * benchtests/bench-skeleton.c (main): Run benchmark for each
29011 variant.
29012 * benchtests/cos-inputs: Add slow benchmark inputs.
29013 * benchtests/exp-inputs: Likewise.
29014 * benchtests/pow-inputs: Likewise.
29015 * benchtests/sin-inputs: Likewise.
29016 * benchtests/slowatan-inputs: Remove.
29017 * benchtests/slowatan.c: Remove.
29018 * benchtests/slowcos-inputs: Remove.
29019 * benchtests/slowcos.c: Remove.
29020 * benchtests/slowexp-inputs: Remove.
29021 * benchtests/slowexp.c: Remove.
29022 * benchtests/slowpow-inputs: Remove.
29023 * benchtests/slowpow.c: Remove.
29024 * benchtests/slowsin-inputs: Remove.
29025 * benchtests/slowsin.c: Remove.
29026 * benchtests/slowtan-inputs: Remove.
29027 * benchtests/slowtan.c: Remove.
29028 * benchtests/tan-inputs: Add slow benchmark inputs.
29029 * scripts/bench.pl: Parse comments and directives.
29030
d569c6ee
SP
29031 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29032 in CPPFLAGS.
29033 ($(objpfx)bench-%.c): Remove *-ITER.
29034 * benchtests/bench-modf.c: Remove definition of ITER.
29035 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29036 (main): Loop for DURATION seconds instead of fixed number of
29037 iterations.
29038 * scripts/bench.pl: Don't expect iterations in parameters.
29039
a6a242fe
RM
290402013-04-29 Roland McGrath <roland@hack.frob.com>
29041
29042 * io/fchdir.c (__fchdir): Renamed from fchdir.
29043 (fchdir): Define as weak alias.
29044
f2da7793
JM
290452013-04-29 Joseph Myers <joseph@codesourcery.com>
29046
29047 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29048 (ERRNO_EDOM): Likewise.
29049 (ERRNO_ERANGE): Likewise.
29050 (noErrnoTests): New variable.
29051 (init_max_error): Set errno to 0.
29052 (test_single_errno): New function.
29053 (test_errno): Likewise.
29054 (check_float_internal): Call test_errno. Set errno to 0.
29055 (check_complex): Refer to errno tests in comment.
29056 (check_int): Call test_errno. Set errno to 0.
29057 (check_long): Likewise.
29058 (check_bool): Likewise.
29059 (check_longlong): Likewise.
29060 (cos_test): Use ERRNO_* flags for errno tests instead of
29061 check_int.
29062 (expm1_test): Likewise.
29063 (fmod_test): Likewise.
29064 (ilogb_test): Likewise.
29065 (lgamma_test): Likewise.
29066 (pow_test): Likewise.
29067 (remainder_test): Likewise.
29068 (sin_test): Likewise.
29069 (tan_test): Likewise.
29070 (yn_test): Likewise.
29071 (initialize): Set errno to 0.
29072 (main): Print number of errno tests.
29073 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29074
b1a36ceb
AJ
290752013-04-29 Andreas Jaeger <aj@suse.de>
29076
c3ed8088
AJ
29077 [BZ #15084]
29078 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29079 and RES_USEVC.
29080
f1a24198
AJ
29081 [BZ #15085]
29082 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29083 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29084 unimplemented.
29085
9ce3b2cb
AJ
29086 [BZ #15380]
29087 * stdlib/random.c (__initstate): Return NULL if
29088 __initstate fails.
29089
f1a24198 29090 [BZ #15086]
b1a36ceb
AJ
29091 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29092 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29093 RES_SNGLKUPREOP.
29094
7e7b6f36
AZ
290952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29096
29097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29098
4d14f449
JM
290992013-04-29 Joseph Myers <joseph@codesourcery.com>
29100
29101 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29102 of individual tests.
29103 (casin_test): Likewise.
29104 (casinh_test): Likewise.
29105
5b4217d7
JM
291062013-04-27 Joseph Myers <joseph@codesourcery.com>
29107
29108 [BZ #15409]
29109 * math/s_catan.c (__catan): Handle arguments with large real or
29110 imaginary part separately without squaring.
29111 * math/s_catanf.c (__catanf): Likewise.
29112 * math/s_catanh.c (__catanh): Likewise.
29113 * math/s_catanhf.c (__catanhf): Likewise.
29114 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29115 and redefine.
29116 (__catanhl): Handle arguments with large real or imaginary part
29117 separately without squaring.
29118 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29119 and redefine.
29120 (__catanl): Handle arguments with large real or imaginary part
29121 separately without squaring.
29122 * math/libm-test.inc (catan_test): Add more tests.
29123 (catanh_test): Likewise.
29124 * sysdeps/i386/fpu/libm-test-ulps: Update.
29125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29126
4220c3ef
AJ
291272013-04-27 Andreas Jaeger <aj@suse.de>
29128
29129 [BZ #15007]
29130 * stdlib/stdlib.h: Update guards for qecvt.
29131 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29132 <stdlib.h>.
29133
4721b2d1
AM
291342013-04-27 Allan McRae <allan@archlinux.org>
29135
29136 * sysdeps/i386/fpu/libm-test-ulps: Update.
29137
f0302940
JM
291382013-04-26 Joseph Myers <joseph@codesourcery.com>
29139
9457fd95
JM
29140 [BZ #15406]
29141 * math/s_catan.c: Include <float.h>.
29142 (__catan): Ensure underflow exception occurs for underflowed
29143 result.
29144 * math/s_catanf.c: Include <float.h>.
29145 (__catanf): Ensure underflow exception occurs for underflowed
29146 result.
29147 * math/s_catanh.c: Include <float.h>.
29148 (__catanh): Ensure underflow exception occurs for underflowed
29149 result.
29150 * math/s_catanhf.c: Include <float.h>.
29151 (__catanhf): Ensure underflow exception occurs for underflowed
29152 result.
29153 * math/s_catanhl.c: Include <float.h>.
29154 (__catanhl): Ensure underflow exception occurs for underflowed
29155 result.
29156 * math/s_catanl.c: Include <float.h>.
29157 (__catanl): Ensure underflow exception occurs for underflowed
29158 result.
29159 * math/libm-test.inc (catan_test): Add more tests.
29160 (catanh_test): Likewise.
29161
f0302940
JM
29162 [BZ #15405]
29163 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29164 underflowed result.
29165 * math/s_ccoshf.c (__ccoshf): Likewise.
29166 * math/s_ccoshl.c (__ccoshl): Likewise.
29167 * math/s_csin.c (__csin): Likewise.
29168 * math/s_csinf.c (__csinf): Likewise.
29169 * math/s_csinh.c (__csinh): Likewise.
29170 * math/s_csinhf.c (__csinhf): Likewise.
29171 * math/s_csinhl.c (__csinhl): Likewise.
29172 * math/s_csinl.c (__csinl): Likewise.
29173 * math/libm-test.inc (ccos_test): Add more tests.
29174 (ccosh_test): Likewise.
29175 (csin_test): Likewise.
29176 (csinh_test): Likewise.
29177
aa630f59
AZ
291782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29179
29180 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29181 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29182 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29183 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29184 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29185 powerpc/power5+/fpu folders.
29186 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29187
29188
1b835983
MT
291892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29190
29191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29192
73709b26
JM
291932013-04-25 Joseph Myers <joseph@codesourcery.com>
29194
29195 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29196 additions to variable.
29197 [$(config-machine) = x86_64] (modules-names): Likewise.
29198 ($(objpfx)tst-audit3): Remove dependency.
29199 ($(objpfx)tst-audit3.out): Likewise.
29200 ($(objpfx)tst-audit4): Likewise.
29201 ($(objpfx)tst-audit4.out): Likewise.
29202 ($(objpfx)tst-audit5): Likewise.
29203 ($(objpfx)tst-audit5.out): Likewise.
29204 ($(objpfx)tst-audit6): Likewise.
29205 ($(objpfx)tst-audit6.out): Likewise.
29206 ($(objpfx)tst-audit7): Likewise.
29207 ($(objpfx)tst-audit7.out): Likewise.
29208 (tst-audit3-ENV): Remove variable.
29209 (tst-audit4-ENV): Likewise.
29210 (tst-audit5-ENV): Likewise.
29211 (tst-audit6-ENV): Likewise.
29212 (tst-audit7-ENV): Likewise.
29213 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29214 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29215 addition to variable.
29216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29221 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29222 tst-audit3, tst-audit4 and tst-audit5.
29223 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29224 tst-audit6 and tst-audit7.
29225 [$(subdir) = elf] (modules-names): Add audit modules for those
29226 tests.
29227 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29228 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29229 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29230 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29231 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29232 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29233 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29234 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29235 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29236 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29237 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29238 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29239 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29240 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29241 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29242 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29243 Likewise.
29244 [$(subdir) = elf && $(config-cflags-avx) = yes]
29245 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29246 [$(subdir) = elf && $(config-cflags-avx) = yes]
29247 (CFLAGS-tst-auditmod4a.c): Likewise.
29248 [$(subdir) = elf && $(config-cflags-avx) = yes]
29249 (CFLAGS-tst-auditmod4b.c): Likewise.
29250 [$(subdir) = elf && $(config-cflags-avx) = yes]
29251 (CFLAGS-tst-auditmod6b.c): Likewise.
29252 [$(subdir) = elf && $(config-cflags-avx) = yes]
29253 (CFLAGS-tst-auditmod6c.c): Likewise.
29254 [$(subdir) = elf && $(config-cflags-avx) = yes]
29255 (CFLAGS-tst-auditmod7b.c): Likewise.
29256 * elf/tst-audit3.c: Move to ...
29257 * sysdeps/x86_64/tst-audit3.c: ... here.
29258 * elf/tst-audit4.c: Move to ...
29259 * sysdeps/x86_64/tst-audit4.c: ... here.
29260 * elf/tst-audit5.c: Move to ...
29261 * sysdeps/x86_64/tst-audit5.c: ... here.
29262 * elf/tst-audit6.c: Move to ...
29263 * sysdeps/x86_64/tst-audit6.c: ... here.
29264 * elf/tst-audit7.c: Move to ...
29265 * sysdeps/x86_64/tst-audit7.c: ... here.
29266 * elf/tst-auditmod3a.c: Move to ...
29267 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29268 * elf/tst-auditmod3b.c: Move to ...
29269 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29270 * elf/tst-auditmod4a.c: Move to ...
29271 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29272 * elf/tst-auditmod4b.c: Move to ...
29273 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29274 * elf/tst-auditmod5a.c: Move to ...
29275 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29276 * elf/tst-auditmod5b.c: Move to ...
29277 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29278 * elf/tst-auditmod6a.c: Move to ...
29279 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29280 * elf/tst-auditmod6b.c: Move to ...
29281 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29282 * elf/tst-auditmod6c.c: Move to ...
29283 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29284 * elf/tst-auditmod7a.c: Move to ...
29285 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29286 * elf/tst-auditmod7b.c: Move to ...
29287 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29288
1ef74943
PP
292892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29290
29291 [BZ #15366]
29292 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29293 define unconditionally.
29294 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29295 define unconditionally.
29296 (INT8_C, INT16_C, etc.): Likewise.
29297
93fd48c5
MR
292982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29299
ae9552cf
MR
29300 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29301 __ehdr_start with hidden visibility.
29302
93fd48c5
MR
29303 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29304
418601aa
CD
293052013-04-24 Carlos O'Donell <carlos@redhat.com>
29306
29307 * math/libm-test.inc (cos_test): Use accurate hex constants.
29308 (sincost_test): Likewise.
29309
2f38fbfe
JM
293102013-04-24 Joseph Myers <joseph@codesourcery.com>
29311
5e221800
JM
29312 * math/libm-test.inc (catan_test): Add more tests.
29313 (catanh_test): Likewise.
29314
77f143fd
JM
29315 * math/s_catanf.c (__catanf): Use suffixed floating-point
29316 constants.
29317 * math/s_catanhf.c (__catanhf): Likewise.
29318 * math/s_catanhl.c (__catanhl): Likewise.
29319 * math/s_catanl.c (__catanl): Likewise.
29320
2f38fbfe
JM
29321 [BZ #15394]
29322 * math/s_catan.c (__catan): Calculate imaginary part of result
29323 with log1p not log unless computing log of number close to 0.
29324 * math/s_catanf.c (__catanf): Likewise.
29325 * math/s_catanl.c (__catanl): Likewise.
29326 * math/s_catanh.c (__catanh): Calculate real part of result with
29327 log1p not log unless computing log of number close to 0.
29328 * math/s_catanhf.c (__catanhf): Likewise.
29329 * math/s_catanhl.c (__catanhl): Likewise.
29330 * math/libm-test.inc (catan_test): Add more tests.
29331 (catanh_test): Likewise.
29332 * sysdeps/i386/fpu/libm-test-ulps: Update.
29333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29334
45d69176
SP
293352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29336
29337 * benchtests/Makefile: Mention files in which fast and slow
29338 paths of math functions are implemented.
29339
87f51853
RM
293402013-04-23 Roland McGrath <roland@hack.frob.com>
29341
29342 * sysdeps/posix/timespec_get.c: New file.
29343
3c026539
AZ
293442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29345
29346 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29347 POWER.
29348 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29349 for POWER.
29350 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29351 powerpc/power5/fpu folders.
29352 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29353 * benchtests/Makefile: Add modf testcase.
29354 * benchtests/bench-modf.c: New file: Benchmark test for mo
29355
ff491d14
SP
293562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29357
29358 [BZ #14888]
29359 * time/Makefile (tests): Add tst-strptime-whitespace.
29360 * time/strptime_l.c (get_number): Use ISSPACE.
29361 (__strptime_internal): Likewise.
29362 * time/tst-strptime-whitespace.c: New test case.
29363
7ed3f4e8
AS
293642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29365
29366 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29367 member.
29368 (_nss_files_init): Set it here.
29369
5c95f7b6
HC
293702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29371
29372 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29373 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29374 unsigned.
29375
d34c9158
JBG
293762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29377
29378 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29379
2169712d
SP
293802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29381
29382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29383 size just once.
29384
29c5de99
DM
293852013-04-21 David S. Miller <davem@davemloft.net>
29386
29387 * po/ru.po: Update Russion translation from translation project.
29388
ccdad15d
AC
293892013-04-17 Adam Conrad <adconrad@0c3.net>
29390
29391 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29392 and setfsgid.
29393
0f122b8d
CD
293942013-04-17 Carlos O'Donell <carlos@redhat.com>
29395
5c5b07da 29396 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29397 * configure: Regenerate.
5c5b07da 29398 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29399 Add example to error message.
29400 * sysdeps/i386/configure: Regenerate.
29401
037714dd
SP
294022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29403
29404 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29405 slowtan.
29406 * benchtests/cos-inputs: New file.
29407 * benchtests/slowcos-inputs: New file.
29408 * benchtests/slowcos.c: New file.
29409 * benchtests/slowtan-inputs: New file.
29410 * benchtests/slowtan.c: New file.
29411 * benchtests/tan-inputs: New file.
29412
e913141d
RM
294132013-04-16 Roland McGrath <roland@hack.frob.com>
29414
29415 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29416 considered kosher.
29417
a2964074
SP
294182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29419
4856bcd2
SP
29420 * benchtests/Makefile: Include cppflags-iterator.mk to add
29421 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29422
a2964074
SP
29423 * Makefile.in (bench-clean): New target.
29424 * benchtests/Makefile (bench-clean): Likewise.
29425
9fbf9aca
DH
294262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29427
29428 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29429
207d1e2a
TS
294302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29431
29432 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29433
306dfba9
AS
294342013-04-15 Andreas Schwab <schwab@suse.de>
29435
29436 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29438 * nscd/pwdcache.c (cache_addpw): Likewise.
29439 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29440 more than recsize.
29441
206a6699
SP
294422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29443
29444 * benchtests/Makefile (bench): Write all output to
29445 bench-out.tmp together.
29446
0582f6b3
AS
294472013-04-15 Andreas Schwab <schwab@suse.de>
29448
29449 * nscd/nscd.c (main): Don't fork again after closing files.
29450
acb4325f
SP
294512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29452
5cb26d0a
SP
29453 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29454
acb4325f
SP
29455 * benchtests/Rules (bench-deps): Collect dependencies into a
29456 single variable. Add Makefile to dependencies.
29457 ($(objpfx)bench-%.c): Depend on bench-deps.
29458
47792506
RM
294592013-04-12 Roland McGrath <roland@hack.frob.com>
29460 Xavier Roche <roche+kml2@exalead.com>
29461
29462 [BZ #15361]
29463 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29464 just that it's a file descriptor.
29465 * manual/llio.texi (Synchronizing AIO Operations): Update description
29466 for EBADF error from aio_fsync.
29467
8fc1bee5
SP
294682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29469
29470 * Rules (bench): Move target definition...
29471 * benchtests/Makefile: ... here.
29472
aba5e333
CD
294732013-04-11 Carlos O'Donell <carlos@redhat.com>
29474
29475 * math/libm-test.inc (cos_test): Fix PI/2 test.
29476 (sincos_test): Likewise.
29477 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29478 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29479
273cdee8
AS
294802013-04-11 Andreas Schwab <schwab@suse.de>
29481
6ecec3b6
AS
29482 [BZ #13988]
29483 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29484 accept exponent character only when digits were seen.
29485 * stdio-common/Makefile (tests): Add bug26.
29486 * stdio-common/bug26.c: New file.
29487
273cdee8
AS
29488 [BZ #14293]
29489 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29490 non-freeable.
29491
8da491f5
SP
294922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29493
01dc6df9
SP
29494 * Makeconfig (rtld-prefix): Define built linker prefix.
29495 * Rules (run-bench): Use it.
29496 * math/Makefile (run-regen-ulps): Likewise.
29497
8da491f5
SP
29498 * Rules (bench): Remove eval.
29499
abe7f530
SP
295002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29501 Roland McGrath <roland@hack.frob.com>
29502 Ondrej Bilka <neleai@seznam.cz>
29503
29504 [BZ #15346]
29505 * time/getdate.c: Include ctype.h and alloca.h.
29506 (__getdate_r): Trim leading and trailing spaces of input.
29507 * time/tst-getdate.c (tests): Add tests with leading and
29508 trailing spaces.
29509
61c23e62
RM
295102013-04-08 Roland McGrath <roland@hack.frob.com>
29511
29512 [BZ #14280]
29513 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29514 when computing value.
29515
7208a313
CD
295162013-04-06 Carlos O'Donell <carlos@redhat.com>
29517
085b2d41
CD
29518 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29519 Use testrun.sh to run libm tests.
29520
7208a313
CD
29521 [BZ #15309]
29522 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29523
872c0acd
MM
295242013-04-06 Marko Myllynen <myllynen@redhat.com>
29525
29526 [BZ #15264]
29527 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29528
26510bdd
CD
295292013-04-06 Carlos O'Donell <carlos@redhat.com>
29530
29531 * Makefile.in (regen-ulps): New target.
29532 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29533 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29534 [ifneq (no,$(PERL)] (regen-ulps): New target.
29535 [ifeq (no,$(PERL)] (regen-ulps): New target.
29536 * math/libm-test.inc (ulps_file_name): Define.
29537 (output_dir): New variable.
29538 (options): Add "output-dir" option.
29539 (parse_opt): Handle 'o' case.
29540 (main): If output_dir is non-NULL use it as a prefix
29541 otherwise use "".
29542 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29543
a01f19c8
CD
295442013-04-06 Carlos O'Donell <carlos@redhat.com>
29545
29546 [BZ #10060, #10062]
29547 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29548 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29549 fail configure if __sync_val_compare_and_swap is not inlined.
29550 * sysdeps/i386/configure: Regenerate.
29551 * configure.in: Build for i686 when configured for i386.
29552 * configure: Regenerate.
29553 * README: Remove i386 reference.
29554
b7a329a5
CD
295552013-04-06 Carlos O'Donell <carlos@redhat.com>
29556
29557 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29558 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29559
bf0f50df
TS
295602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29561
ee091edf
TS
29562 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29563 (lmsnanval): New variables.
29564 (F): Add conversion tests.
29565 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29566 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29567
a8b792d6
TS
29568 * stdio-common/tstdiomisc.c (F): Properly collect individual
29569 tests' results.
29570
a1cbf437
TS
29571 [BZ #14686, #15336]
29572 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29573 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29574 Instead, use input NaN values or generate a qNaN by arithmetic
29575 operation. Also fix bugs to comply with the standard.
29576 * math/libm-test.inc (remainder_test): Add more tests.
29577
8b43a0c9
TS
29578 [BZ #15335, #15342]
29579 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29581 input NaN values or generate a qNaN by arithmetic operation.
29582
d91da4ce
TS
29583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29584 unreachable code.
29585
bf0f50df
TS
29586 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29587 definitions.
29588
05e166c8
JM
295892013-04-03 Joseph Myers <joseph@codesourcery.com>
29590
29591 [BZ #14478]
29592 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29593 underflowed result.
29594 * math/s_cexpf.c (__cexpf): Likewise.
29595 * math/s_cexpl.c (__cexpl): Likewise.
29596 * math/libm-test.inc (cexp_test): Add more tests.
29597
1cef1b19
AS
295982013-04-03 Andreas Schwab <schwab@suse.de>
29599
29600 [BZ #15330]
29601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29602 order arrays from heap if bigger than alloca cutoff.
29603
74d87055
TS
296042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29605
29606 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29607 (SNAN_TESTS_double): Refer to GCC PR56831.
29608 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29609 GCC PR56828.
29610
d755bba4
SP
296112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29612
90d5d5bb
SP
29613 * Rules (bench): Move bench.out after the run is complete.
29614
73e0cd5d
SP
29615 * Rules (bench): Echo currently running benchmark.
29616
64aabd4b
SP
29617 * benchtests/Makefile (bench): Add atan and slowatan.
29618 * benchtests/atan-inputs: New file.
29619 * benchtests/slowatan-inputs: New file.
29620 * benchtests/slowatan.c: New file.
29621
c871eccd
SP
29622 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29624 its value.
29625
d755bba4
SP
29626 [BZ #15305]
29627 * sysdeps/unix/sysv/linux/kernel-features.h
29628 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29629 __ASSUME_XFS_RESTRICTED_CHOWN.
29630 * sysdeps/unix/sysv/linux/pathconf.c
29631 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29632 Save and restore errno.
29633
52ce4860
JM
296342013-04-02 Joseph Myers <joseph@codesourcery.com>
29635
29636 [BZ #15327]
29637 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29638 arguments using __kernel_casinh.
29639 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29640 arguments using __kernel_casinhf.
29641 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29642 arguments using __kernel_casinhl.
29643 * math/libm-test.inc (cacosh_test): Add more tests.
29644 * sysdeps/i386/fpu/libm-test-ulps: Update.
29645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29646
81f311c2
SP
296472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29648
e7906a47
SP
29649 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29651
92e3664b
SP
29652 * bench/Makefile (bench): Add sin and slowsin.
29653 * benchtests/sin-inputs: New file.
29654 * benchtests/slowsin-inputs: New file.
29655 * benchtests/slowsin.c: New file.
29656
81f311c2
SP
29657 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29658 (bench): Add slowexp and slowpow.
29659 (exp-ITER): Increase iterations.
29660 (pow-ITER): Likewise.
29661 * benchtests/exp-inputs: Change input.
29662 * benchtests/pow-inputs: Likewise.
29663 * benchtests/slowexp-inputs: New file.
29664 * benchtests/slowexp.c: New file.
29665 * benchtests/slowpow-inputs: New file.
29666 * benchtests/slowpow.c: New file.
29667
ab0f1aa9
AZ
296682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29669
29670 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29671 instructions.
29672 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29673 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29674 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29675 * benchtests/Makefile: Add rint benchtest.
29676 * benchtests/rint-inputs: Input for rint benchtest.
29677
57267616
TS
296782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29679
29680 * Versions.def (libm): Add GLIBC_2.18.
29681 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29682 hidden libm prototypes.
29683 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29684 * math/Makefile (libm-calls): Add s_issignaling.
29685 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29686 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29687 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29688 declaration.
29689 * math/math.h [__USE_GNU] (issignaling): New macro.
29690 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29691 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29692 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29693 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29694 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29695 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29696 * manual/arith.texi (issignaling): New section.
29697 * manual/libm-err-tab.pl (@all_functions): Update comment.
29698 * math/gen-libm-test.pl (parse_args): Apply special handling for
29699 issignaling.
29700 * math/libm-test.inc (print_float, issignaling_test): New
29701 functions.
29702 (check_float_internal): Add issignaling checks.
29703 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29704 default definition.
29705 * sysdeps/powerpc/math-tests.h: New file.
29706 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29707 tests.
29708 * math/test-snan.c (TEST_FUNC): Likewise.
29709
6142896d
DM
297102013-03-30 David S. Miller <davem@davemloft.net>
29711
29712 * po/de.po: Update from translation team.
29713
ccc8cadf
JM
297142013-03-30 Joseph Myers <joseph@codesourcery.com>
29715
29716 [BZ #10357]
29717 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29718 imaginary part less than 1.0 and real part less than 0.5
29719 specially.
29720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29722 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29723 (cacos_test): Add more tests.
29724 (casin_test): Likewise.
29725 (casinh_test): Likewise.
29726 * sysdeps/i386/fpu/libm-test-ulps: Update.
29727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29728
0f6a8d4b
SP
297292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29730
0d1029de
SP
29731 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29732 ONE with its value.
29733
c2d94018
SP
29734 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29735 (__pow_mp): Replace ONE and MONE with their values.
29736 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29738 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29739 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29741 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29742
27ec37f1
SP
29743 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29744
a64d7e0e
SP
29745 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29746 (__pow_mp): Replace ZERO and MZERO with their values.
29747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29748 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29752 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29753 (__sqr): Likewise.
29754
d26dd3eb
SP
29755 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29756
0f6a8d4b
SP
29757 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29758
e57b0c61
RM
297592013-03-28 Roland McGrath <roland@hack.frob.com>
29760
29761 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29762 Declare with __attribute__ ((weak)).
29763 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29764 Call __call_tls_dtors only if it's not NULL.
29765
356b3480
RM
297662013-03-28 Roland McGrath <roland@hack.frob.com>
29767
288f7d79
RM
29768 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29769 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29770 magic __ehdr_start linker symbol if it's defined.
29771 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29772 them up here if it was already done.
29773
dc0a0263
RM
29774 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29775 (_dl_aux_init): Use const in cast when setting it.
29776 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29777 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29778 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29779
3d3436ae
RM
29780 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29781 Declare them here.
29782 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29783 * csu/libc-tls.c: Nor here.
29784 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29785
356b3480
RM
29786 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29787 (__libc_message): Never call vsyslog.
29788
b0f1246a
AM
297892013-03-28 Alan Modra <amodra@gmail.com>
29790
29791 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29792 Define as empty.
29793 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29794 Likewise.
29795
fbbe2b9a
AZ
297962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29797
29798 [BZ #15214]
29799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29800 underflow.
29801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29802
1728ab37
SP
298032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29804
7a86be6e
SP
29805 [BZ #15304]
29806 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29807 Don't add gid passed as argument.
29808
1728ab37
SP
29809 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29810
3a7182a1
JM
298112013-03-27 Joseph Myers <joseph@codesourcery.com>
29812
29813 [BZ #15307]
29814 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29815 imaginary part between 1.0 and 1.5 and real part less than 0.5
29816 specially.
29817 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29818 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29819 * math/libm-test.inc (cacos_test): Add more tests.
29820 (casin_test): Likewise.
29821 (casinh_test): Likewise.
29822 * sysdeps/i386/fpu/libm-test-ulps: Update.
29823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29824
6f2e90e7
SP
298252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29826
5739f705
SP
29827 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29828 constants.
29829 (norm): Likewise.
29830 (denorm): Likewise.
29831 (__dbl_mp): Likewise.
29832 (add_magnitudes): Likewise.
29833 (sub_magnitudes): Likewise.
29834 (__add): Likewise.
29835 (__sub): Likewise.
29836 (__mul): Likewise.
29837 (__sqr): Likewise.
29838 (__inv): Likewise.
29839 (__dvd): Likewise.
29840
e375e83d
SP
29841 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29842 commented code.
29843 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29844 (__dubcos): Likewise.
29845 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29846 (__ieee754_acos): Likewise.
29847 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29848 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29849 (__exp1): Likewise.
29850 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29852 (log1): Likewise.
29853 (my_log2): Likewise.
29854 (checkint): Likewise.
29855 * sysdeps/ieee754/dbl-64/e_remainder.c
29856 (__ieee754_remainder): Likewise.
29857 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29859 (bsloww): Likewise.
29860 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29861
6f2e90e7
SP
29862 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29864 MANTISSA_STORE_T to store computations on mantissa. Use
29865 macros for rounding and division.
29866 (denorm): Likewise.
29867 (__dbl_mp): Likewise.
29868 (add_magnitudes): Likewise.
29869 (sub_magnitudes): Likewise.
29870 (__mul): Likewise.
29871 (__sqr): Likewise.
29872 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29873 powers of two in terms of TWOPOW macro.
29874 (mp_no): Make type of mantissa as MANTISSA_T.
29875 [!RADIXI]: Define RADIXI.
29876 [!TWO52]: Define TWO52.
29877 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29878
fce14d4e
AZ
298792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29880
29881 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29882 llroundl symbol when building for PPC32.
29883
9ad027fb
MW
298842013-03-24 Mark H Weaver <mhw@netris.org>
29885
29886 * manual/arith.texi (Normalization Functions): Fix prototypes for
29887 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29888
e42a38dd
AZ
298892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29890
29891 [BZ #13889]
29892 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29893 high value to check if expl overflow.
29894 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29895 to check for underflow and overflow.
29896 * math/libm-test.inc: Add exp test.
29897
2e0fb521
DL
298982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29899
29900 [BZ #11120]
29901 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29902 with NOT_IN_libc.
29903
b5784d95
AZ
299042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29905
29906 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29907 symbol.
29908
5aa4a1a1
TS
299092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29910
bdef0be7
TS
29911 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29912 wrap blocks consisting of several statements.
29913
5aa4a1a1
TS
29914 * sysdeps/generic/math-tests.h: New file.
29915 * sysdeps/i386/fpu/math-tests.h: Likewise.
29916 * math/test-snan.c: Include it.
29917 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29918
98c48fe5
JM
299192013-03-21 Joseph Myers <joseph@codesourcery.com>
29920
29921 [BZ #15285]
29922 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29923 (__ieee754_j0l): Do not improve calculations using cos of twice
29924 input for inputs above LDBL_MAX / 2.0L.
29925 (__ieee754_y0l): Likewise.
29926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29927 (__ieee754_j1l): Do not improve calculations using cos of twice
29928 input for inputs above LDBL_MAX / 2.0L.
29929 (__ieee754_y1l): Likewise.
29930 * math/libm-test.inc (j0_test): Add another test.
29931 (j1_test): Likewise.
29932 (y0_test): Likewise.
29933 (y1_test): Likewise.
29934 * sysdeps/i386/fpu/libm-test-ulps: Update.
29935
3775a8bc
SP
299362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29937
29938 * Rules ($(objpfx)bench-%.c): Include code from a C source
29939 file.
29940
0a1b2ae6
JM
299412013-03-21 Joseph Myers <joseph@codesourcery.com>
29942
29943 [BZ #15287]
29944 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29945 imaginary part 1.0 and real part less than 0.5 specially.
29946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29948 * math/libm-test.inc (cacos_test): Add more tests.
29949 (casin_test): Likewise.
29950 (casinh_test): Likewise.
29951 * sysdeps/i386/fpu/libm-test-ulps: Update.
29952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29953
b33d4ce4
SP
299542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29955
29956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29957 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29958
bef0b507
JM
299592013-03-20 Joseph Myers <joseph@codesourcery.com>
29960
29961 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29962 * config.make.in (config-cflags-sse4): Remove variable.
29963 (config-cflags-avx): Likewise.
29964 (config-cflags-sse2avx): Likewise.
29965 (config-cflags-novzeroupper): Likewise.
29966 (config-asflags-i686): Likewise.
29967 (have-mfma4): Likewise.
29968 (have-as-vis3): Likewise.
29969 (MIG): Likewise.
29970 * configure.in (MIG): Do not AC_SUBST.
29971 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29972 (libc_cv_cc_sse4): Do not AC_SUBST.
29973 (libc_cv_cc_avx): Likewise.
29974 (libc_cv_cc_sse2avx): Likewise.
29975 (libc_cv_cc_novzeroupper): Likewise.
29976 (libc_cv_cc_fma4): Likewise.
29977 (libc_cv_as_i686): Likewise.
29978 (libc_cv_sparc_as_vis3): Likewise.
29979 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29980 LIBC_CONFIG_VAR.
29981 (config-asflags-i686): Likewise.
29982 (config-cflags-avx): Likewise.
29983 (config-cflags-sse2avx): Likewise.
29984 (have-mfma4): Likewise.
29985 (config-cflags-novzeroupper): Likewise.
29986 * sysdeps/mach/configure.in (MIG): Likewise.
29987 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29988 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29989 LIBC_CONFIG_VAR.
29990 (config-cflags-avx): Likewise.
29991 (config-cflags-sse2avx): Likewise.
29992 (have-mfma4): Likewise.
29993 (config-cflags-novzeroupper): Likewise.
29994 * configure: Regenerated.
29995 * sysdeps/i386/configure: Likewise.
29996 * sysdeps/mach/configure: Likewise.
29997 * sysdeps/sparc/configure: Likewise.
29998 * sysdeps/x86_64/configure: Likewise.
29999
912cc4b3
RM
300002013-03-20 Roland McGrath <roland@hack.frob.com>
30001
30002 [BZ #14812]
30003 * locale/programs/localedef.c (options): Put N_ translation marker
30004 on argument names, not just descriptions.
30005
04eed2b0
MS
300062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30007
30008 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30009
a065ceff
OB
300102013-03-20 Ondřej Bílka <neleai@seznam.cz>
30011
9bb2a810 30012 [BZ #14176]
a065ceff
OB
30013 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30014
a600e5ce
RM
300152013-03-19 Roland McGrath <roland@hack.frob.com>
30016
30017 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30018 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30019 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30020 [!BEFORE_ABORT] (before_abort): New function.
30021 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30022 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30023 (writev_for_fatal): New function.
30024 (WRITEV_FOR_FATAL): New macro; call that.
30025 (backtrace_and_maps): New function.
30026 (BEFORE_ABORT): New macro; call that.
30027 (struct str_list): Type removed.
30028 (__libc_message, __libc_fatal): Functions removed.
30029 Include <sysdeps/posix/libc_fatal.c> instead.
30030
6b18bea6
JM
300312013-03-19 Joseph Myers <joseph@codesourcery.com>
30032
30033 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30034 constants.
30035 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30036 double constants.
30037
aaa8cb4b
AS
300382013-03-19 Andreas Schwab <schwab@suse.de>
30039
44673770
AS
30040 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30041 * sysdeps/gnu/configure: Regenerate.
30042
aaa8cb4b
AS
30043 * configure.in: Substitute libc_cv_rtlddir.
30044 * configure: Regenerate.
30045 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30046 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30047 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30048 * elf/Makefile (install-others, CFLAGS-interp.c)
30049 (ldso_install, common-ldd-rewrite): Likewise.
30050 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30051 $(inst_slibdir)/$(rtld-installed-name).
30052 * scripts/rellns-sh: Add -p option.
30053 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30054 for source.
30055
d3cfc668
SP
300562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30057
30058 * manual/nptl.texi: Renamed to ...
30059 * manual/threads.texi: ... this.
30060 * manual/Makefile (chapters): Update.
30061
0e2b9cdd
RM
300622013-03-18 Roland McGrath <roland@hack.frob.com>
30063
30064 [BZ #14812]
30065 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30066 on argument names, not just descriptions.
0e2b9cdd
RM
30067 * malloc/memusagestat.c (options): Likewise.
30068 * nss/getent.c (options): Likewise.
63270c24
RM
30069
300702013-03-18 Benno Schulenberg <bensberg@justemail.net>
30071
30072 [BZ #14812]
30073 * iconv/iconv_prog.c (options): Put N_ translation marker
30074 on argument names, not just descriptions.
30075 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30076
b2e1393c
OB
300772013-03-18 Ondrej Bilka <neleai@seznam.cz>
30078
30079 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30080 implementation which is faster on all x86_64 architectures.
30081 Tested on AMD, Intel Nehalem, SNB, IVB.
30082 * sysdeps/x86_64/strnlen.S: Likewise.
30083
30084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30085 Remove all multiarch strlen and strnlen versions.
30086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30087 Remove strlen and strnlen related parts.
30088
30089 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30090 Inline strlen part.
30091 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30092
30093 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30095 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30096 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30097 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30098 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30099
ec4ff04d
CD
301002013-03-17 Carlos O'Donell <carlos@redhat.com>
30101
30102 * manual/memory.texi (Malloc Tunable Parameters):
30103 Sort parameters alphabetically. Add comments for missing entries.
30104
cd18e90a
DM
301052013-03-17 David S. Miller <davem@davemloft.net>
30106
30107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30108
2a185d32
JM
301092013-03-16 Joseph Myers <joseph@codesourcery.com>
30110
d2f9799e
JM
30111 [BZ #15283]
30112 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30113 for arguments at most half maximum finite value.
30114 * math/libm-test.inc (j0_test): Add more tests.
30115 (j1_test): Likewise.
30116 (y0_test): Likewise.
30117 (y1_test): Likewise.
30118 * sysdeps/i386/fpu/libm-test-ulps: Update.
30119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30120
2a185d32
JM
30121 [BZ #14155]
30122 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30123 1 / x and functions P and Q for arguments above 0x1p256L.
30124 (__ieee754_y0l): Likewise.
30125 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30126 (__ieee754_y1l): Likewise.
30127 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30128 (j1_test): Likewise.
30129 (y0_test): Likewise.
30130 (y1_test): Likewise.
30131
6cbec759
TS
301322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30133
30134 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30135 variable.
30136
bc16e260
RM
301372013-03-15 Roland McGrath <roland@hack.frob.com>
30138
aefc9b8c
RM
30139 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30140 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30141 zero since it's initialized to EXEC_PAGESIZE.
30142
bc16e260
RM
30143 * sysdeps/unix/sysv/linux/ldsodefs.h
30144 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30145 * sysdeps/generic/ldsodefs.h: ... here.
30146
a57da955
TS
301472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30148
af00a34d
TS
30149 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30150
495ded2c
TS
30151 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30152 math/test-snan.c.
30153 * math/test-snan.c: Renamed from
30154 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30155 * math/Makefile (tests): Add test-snan.
30156 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30157 test-powerpc-snan.
30158
777b0332
TS
30159 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30160 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30161 functions.
30162 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30163 __builtin_nan family of functions.
30164 * math/libm-test.inc (initialize): Initialize qnan_value with
30165 __builtin_nan family of functions.
30166 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30167 Remove variables.
30168 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30169 Remove functions.
30170 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30171 storage class. Initialize qNaN_var and sNaN_var with
30172 __builtin_nan and __builtin_nans families of functions,
30173 respectively.
30174
64d063b8
TS
30175 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30176 (sqrt_test): Remove duplicate test with qNaN input.
30177 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30178 (round_test, signbit_test, significand_test): Note missing +/-Inf
30179 as well as qNaN tests.
30180
67e971f1
TS
30181 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30182 qNaN_var. Fix a few strings, too.
30183 * math/libm-test.inc (nan_value): Rename to qnan_value.
30184 * math/gen-libm-test.pl (%beautify): Adjust to that.
30185 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30186 * math/test-misc.c (main): Likewise.
30187 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30188 to __qnan_bytes, and __qnan_union, respectively.
30189 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30190 Likewise.
30191 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30192 and lqnanval, respectively.
30193 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30194 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30195 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30196 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30197
64487e12
TS
30198 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30199 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30200 doubles.
30201
e015e27b
TS
30202 * math/test-misc.c (main): Fix copy'n'pastos.
30203 * misc/tst-efgcvt.c (special): Likewise.
30204
a57da955
TS
30205 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30206 Remove declarations.
30207
1e380345
SP
302082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30209
30210 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30211 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30212 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30213 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30214
ef26eece
AZ
302152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30216
30217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30218 macro to return vdso values correctly in IFUNC implementations.
30219 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30220 Optimization by using IFUNC.
30221
8cfdb7e0
SP
302222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30223 Richard Henderson <rth@redhat.com>
30224 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30225
30226 * Makefile.in (bench): New target.
30227 * NEWS: Mention the benchmark framework.
30228 * Rules (bench): Likewise.
30229 (binaries-bench): Generate binaries for functions to
30230 benchmark.
30231 * benchtests/Makefile: New makefile for benchmark tests.
30232 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30233 programs.
30234 * benchtests/exp-inputs: New input file for EXP function.
30235 * benchtests/pow-inputs: New input file for POW function.
30236 * scripts/bench.pl: New script to generate source files for
30237 benchmark programs.
30238
bcda9880
SP
302392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30240
d22ca8cd
SP
30241 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30243 computations on mantissa. Use macros for rounding and
30244 division.
30245 (denorm): Likewise.
30246 (__dbl_mp): Likewise.
30247 (add_magnitudes): Likewise.
30248 (sub_magnitudes): Likewise.
30249 (__mul): Likewise.
30250 (__sqr): Likewise.
30251 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30252 powers of two in terms of TWOPOW macro.
30253 (mp_no): Make type of mantissa as MANTISSA_T.
30254 [!RADIXI]: Define RADIXI.
30255 [!TWO52]: Define TWO52.
30256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30257
bcda9880
SP
30258 * manual/nptl.texi (cindex): Modify threads to pthreads.
30259
06d5adfb
JM
302602013-03-15 Joseph Myers <joseph@codesourcery.com>
30261
30262 * sysdeps/x86_64/preconfigure: Regenerated.
30263
41c7328e
JM
302642013-03-14 Joseph Myers <joseph@codesourcery.com>
30265
30266 [BZ #14155]
30267 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30268 0x1p28 and above.
30269 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30270 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30271 0x1p28 and above.
30272 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30273 * math/libm-test.inc (j0_test): Do not allow one spurious
30274 underflow exception.
30275 (y1_test): Likewise.
30276
e25cfa60
SP
302772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30278
0409959c
SP
30279 * manual/Makefile (chapters): Add nptl.
30280 * manual/debug.texi (Debugging Support): Add link to Threads
30281 chapter.
30282 * manual/nptl.texi: New file.
30283
e25cfa60
SP
30284 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30285
58a1335e
PB
302862013-03-14 Petr Baudis <pasky@ucw.cz>
30287
30288 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30289 for non-NULL pointer before the memory validity test. Pointed
30290 out by Holger Brunck <holger.brunck@keymile.com>.
30291
9dc7c64f
AS
302922013-03-13 Andreas Schwab <schwab@suse.de>
30293
30294 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30295 instead of .os.
30296
54206aa6
JM
302972013-03-13 Joseph Myers <joseph@codesourcery.com>
30298
30299 * timezone/zic.c: Update from tzcode 2013b.
30300
e98cdb38
CD
303012013-03-12 Carlos O'Donell <carlos@redhat.com>
30302
30303 * manual/install.texi (Configuring and compiling):
30304 Mention i686 and i586.
30305 * INSTALL: Regenerate.
30306
9967e003
RM
303072013-03-12 Roland McGrath <roland@hack.frob.com>
30308
30309 * sysdeps/init_array/elf-init.c: New file.
30310 * csu/elf-init.c
30311 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30312 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30313
30314 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30315 __gmon_start__ as global, but as static with a .preinit_array pointer.
30316 * sysdeps/init_array/gmon-start.c: New file. Use that.
30317 * sysdeps/init_array/crti.S: New file, empty except for comments.
30318 * sysdeps/init_array/crtn.S: Likewise.
30319
e6b5a293 303202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30321
30322 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30323 definining bcopy.
80f844c9
OB
30324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30325 Remove Prefer_SSE_for_memop.
30326 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30327 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30328 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30330 memset-x86-64.
80f844c9 30331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30332 Remove bzero, memset ifunc support.
80f844c9
OB
30333 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30334 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30337
fb6b0fcb
AS
303382013-03-11 Andreas Schwab <schwab@suse.de>
30339
30340 [BZ #15234]
30341 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30342 by SHLIB_COMPAT.
30343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30344 (GLIBC_2.16): Remove pthread_atfork.
30345
3e6bd4b1
PP
303462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30347
30348 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30349 (ptestcases.h): Likewise.
30350
222d7f00
RM
303512013-03-08 Roland McGrath <roland@hack.frob.com>
30352
30353 * Makeconfig ($(common-objpfx)config.status): Depend on
30354 sysdeps/*/preconfigure{,.in} too.
30355
1ba4f030
JM
303562013-03-08 Joseph Myers <joseph@codesourcery.com>
30357
a222d91a
JM
30358 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30359 (__free_hook): Use void * instead of __malloc_ptr_t.
30360 (__malloc_hook): Likewise.
30361 (__realloc_hook): Likewise.
30362 (__memalign_hook): Likewise.
30363 (__after_morecore_hook): Likewise.
30364 * malloc/arena.c (save_malloc_hook): Likewise.
30365 (save_free_hook): Likewise.
30366 * malloc/hooks.c (malloc_hook_ini): Likewise.
30367 (realloc_hook_ini): Likewise.
30368 (memalign_hook_ini): Likewise.
30369 * malloc/malloc.c (malloc_hook_ini): Likewise.
30370 (realloc_hook_ini): Likewise.
30371 (memalign_hook_ini): Likewise.
30372 (__free_hook): Likewise.
30373 (__malloc_hook): Likewise.
30374 (__realloc_hook): Likewise.
30375 (__memalign_hook): Likewise.
30376 (__libc_malloc): Likewise.
30377 (__libc_free): Likewise.
30378 (__libc_realloc): Likewise.
30379 (__libc_memalign): Likewise.
30380 (__libc_valloc): Likewise.
30381 (__libc_pvalloc): Likewise.
30382 (__libc_calloc): Likewise.
30383 (__posix_memalign): Likewise.
30384 * malloc/morecore.c (__sbrk): Likewise.
30385 (__default_morecore): Likewise.
30386
5cc45e10
JM
30387 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30388
dd54b864
JM
30389 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30390 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30391 __malloc_ptrdiff_t.
30392
1ba4f030
JM
30393 * malloc/malloc.h (__malloc_size_t): Remove macro.
30394 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30395 __malloc_size_t.
30396 (old_memalign_hook): Likewise.
30397 (old_realloc_hook): Likewise.
30398 (struct hdr): Likewise.
30399 (flood): Likewise.
30400 (mallochook): Likewise.
30401 (memalignhook): Likewise.
30402 (reallochook): Likewise.
30403 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30404 (tr_old_realloc_hook): Likewise.
30405 (tr_old_memalign_hook): Likewise.
30406 (tr_mallochook): Likewise.
30407 (tr_reallochook): Likewise.
30408 (tr_memalignhook): Likewise.
30409
edf66e57
AZ
304102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30411
30412 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30413 default_ldbl_pack and using as default implementation.
30414 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30415 implementation.
30416 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30417 redundant definition.
30418 (ldbl_insert_mantissa): Likewise.
30419 (ldbl_canonicalize): Likewise.
30420 (ldbl_nearbyint): Likewise.
30421 (ldbl_pack): Rename to ldbl_pack_ppc.
30422 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30423 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30424 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30425
6d9145d8
SP
304262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30427
30428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30429 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30431 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30433 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30434 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30435 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30436
4dd4e157
AJ
304372013-03-07 Andreas Jaeger <aj@suse.de>
30438
30439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30440 bits/mman-linux.h.
30441
adbb8027
SP
304422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30443
ce544b5b
SP
30444 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30445 Include mpa.h and declare __MPEXP.
30446 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30447 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30448 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30449 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30450 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30451 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30452 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30453
4cc149fd
SP
30454 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30455 (__slowpow): Use long double EXPL and LOGL functions to
30456 compute POW.
30457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30458 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30459 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30461 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30463
e6ebd4a7
SP
30464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30465 intermediate variable to calculate exponent.
30466 (__sqr): Likewise.
30467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30468 Likewise.
30469 (__sqr): Likewise.
30470
82a9811d
SP
30471 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30472 [!NO__SQR]: Define __sqr.
30473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30474 and NO__SQR. Remove all code except __mul and __sqr. Include
30475 sysdeps/ieee754/dbl-64/mpa.c.
30476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30477
adbb8027
SP
30478 [BZ #12723]
30479 * posix/Makefile (tests): Add tst-pathconf.
30480 * posix/tst-pathconf.c: New test case.
30481 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30482 _PC_PIPE_BUF.
30483 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30484
39120df9
PF
304852013-03-06 Patsy Franklin <pfrankli@redhat.com>
30486
30487 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30488
67525cb8
AJ
304892013-03-06 Andreas Jaeger <aj@suse.de>
30490
664a9ce4
AJ
30491 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30492 definition via __MAP_ANONYMOUS.
30493
8e39047d
AJ
30494 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30495 it's not part of Linux headers.
30496
67525cb8
AJ
30497 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30498 (MAP_HUGE_MASK): Define.
30499
30500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30501 Define.
30502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30504 Define.
30505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30507 Define.
30508 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30510 Define.
30511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30512
30513 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30514 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30515 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30516 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30517 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30518 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30519
30520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30521 Handle f2fs.
30522
30523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30524 Handle f2fs and efivarfs.
30525
30526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30527 f2fs.
30528
30529 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30530 (EFIVARFS_MAGIC): Add.
30531 (F2FS_LINK_MAX): Add.
30532
e1b42695
PP
305332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30534
30535 * stdio-common/vfprintf.c: Replace __builtin_expect with
30536 __glibc_unlikely.
30537
2d67d91a
JM
305382013-03-06 Joseph Myers <joseph@codesourcery.com>
30539
30540 [BZ #13550]
30541 * sysdeps/generic/bp-sym.h: Remove file.
30542 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30543 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30544 <bp-sym.h> and <bp-asm.h>.
30545 (__longjmp): Don't use BP_SYM.
30546 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30547 and <bp-asm.h>.
30548 (memcpy): Don't use BP_SYM.
30549 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30550 <bp-sym.h> and <bp-asm.h>.
30551 (memcpy): Don't use BP_SYM.
30552 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30553 <bp-asm.h>.
30554 (memcpy): Don't use BP_SYM.
30555 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30556 <bp-asm.h>.
30557 (memset): Don't use BP_SYM.
30558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30560 (__bzero): Don't use BP_SYM.
30561 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30562 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30563 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30564 <bp-sym.h> and <bp-asm.h>.
30565 (memcmp): Don't use BP_SYM. Remove comment about bounded
30566 pointers.
30567 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30568 <bp-sym.h> and <bp-asm.h>.
30569 (memcpy): Don't use BP_SYM.
30570 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30571 <bp-sym.h> and <bp-asm.h>.
30572 (memset): Don't use BP_SYM.
30573 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30574 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30575 (__bzero): Don't use BP_SYM.
30576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30578 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30579 <bp-sym.h> and <bp-asm.h>.
30580 (strncmp): Don't use BP_SYM. Remove comment about bounded
30581 pointers.
30582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30583 <bp-sym.h> and <bp-asm.h>.
30584 (memcpy): Don't use BP_SYM.
30585 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30586 <bp-sym.h> and <bp-asm.h>.
30587 (memset): Don't use BP_SYM.
30588 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30589 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30590 (__bzero): Don't use BP_SYM.
30591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30594 <bp-sym.h> and <bp-asm.h>.
30595 (__memchr): Don't use BP_SYM.
30596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30597 <bp-sym.h> and <bp-asm.h>.
30598 (memcmp): Don't use BP_SYM. Remove comment about bounded
30599 pointers.
30600 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30601 <bp-sym.h> and <bp-asm.h>.
30602 (memcpy): Don't use BP_SYM.
30603 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30604 <bp-sym.h> and <bp-asm.h>.
30605 (__mempcpy): Don't use BP_SYM.
30606 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30607 <bp-sym.h> and <bp-asm.h>.
30608 (__memrchr): Don't use BP_SYM.
30609 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30610 <bp-sym.h> and <bp-asm.h>.
30611 (memset): Don't use BP_SYM.
30612 (__bzero): Likewise.
30613 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30614 <bp-sym.h> and <bp-asm.h>.
30615 (__rawmemchr): Don't use BP_SYM.
30616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30617 <bp-sym.h> and <bp-asm.h>.
30618 (__STRCMP): Don't use BP_SYM.
30619 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30620 <bp-sym.h> and <bp-asm.h>.
30621 (strchr): Don't use BP_SYM.
30622 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30623 <bp-sym.h> and <bp-asm.h>.
30624 (__strchrnul): Don't use BP_SYM.
30625 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30626 <bp-sym.h> and <bp-asm.h>.
30627 (strlen): Don't use BP_SYM.
30628 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30629 <bp-sym.h> and <bp-asm.h>.
30630 (strncmp): Don't use BP_SYM. Remove comment about bounded
30631 pointers.
30632 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30633 <bp-sym.h> and <bp-asm.h>.
30634 (__strnlen): Don't use BP_SYM.
30635 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30636 <bp-sym.h> and <bp-asm.h>.
30637 (__GI__setjmp): Don't use BP_SYM.
30638 (_setjmp): Likewise.
30639 (__sigsetjmp): Likewise.
30640 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30641 (L(start_addresses)): Don't use BP_SYM.
30642 (_start): Likewise.
30643 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30644 <bp-asm.h>.
30645 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30646 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30647 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30648 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30649 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30650 <bp-asm.h>.
30651 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30652 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30653 about bounded pointers.
30654 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30655 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30656 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30657 <bp-asm.h>.
30658 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30659 about bounded pointers. Remove GKM FIXME comments.
30660 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30661 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30662 <bp-asm.h>.
30663 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30664 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30665 Remove GKM FIXME comments.
30666 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30667 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30668 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30669 <bp-asm.h>.
30670 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30671 about bounded pointers. Remove GKM FIXME comment.
30672 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30673 and <bp-asm.h>.
30674 (strncmp): Don't use BP_SYM. Remove comment about bounded
30675 pointers.
30676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30677 <bp-sym.h> and <bp-asm.h>.
30678 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30680 <bp-sym.h> and <bp-asm.h>.
30681 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30682 comment.
30683
cdcf361f
PP
306842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30685
30686 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30687 call free(NULL).
30688
3c4a2b15
DM
306892013-03-05 David S. Miller <davem@davemloft.net>
30690
30691 * po/es.po: Update from translation team.
30692
cdcf361f 306932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30694
30695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30696 <bits/mman-linux.h>.
30697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30698 is fine.
30699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30700 <bits/mman-linux.h> to end of file.
30701 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30702 is fine.
30703 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30704 <bits/mman-linux.h> to end of file.
30705 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30706 is fine.
30707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30708 <bits/mman-linux.h> to end of file.
30709
30710 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30711 (MCL_CURRENT, MCL_FUTURE): Define here.
30712
5f67c04f
AK
307132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30714
8a4473cc 30715 [BZ #15232]
5f67c04f
AK
30716 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30717 attribute_hidden.
30718 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30719
c3e94a95
AK
307202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30721
30722 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30723 fourth parameter needed for rt_sigprocmask syscall.
30724 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30725 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30726 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30727 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30728 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30729 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30730
cfb6382a
JM
307312013-03-04 Joseph Myers <joseph@codesourcery.com>
30732
30733 [BZ #13550]
30734 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30735 comment about bounded pointers.
30736 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30737 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30738
539d8e01
AJ
307392013-03-04 Andreas Jaeger <aj@suse.de>
30740
30741 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30742 common definitions.
30743
30744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30745 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30746 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30747 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30749 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30750
2e167a70 307512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30752
30753 [BZ #15055]
30754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30755 __ieee754_sqrl instead of __sqrl.
30756
68508633
JM
307572013-03-01 Joseph Myers <joseph@codesourcery.com>
30758
30759 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30760 * sysdeps/powerpc/fpu_control.h: ... here.
30761 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30762 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30763 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30764 * sysdeps/powerpc/bits/mathinline.h: ... here.
30765
7775448e
RM
307662013-03-01 Roland McGrath <roland@hack.frob.com>
30767
30768 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30769 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30770 to just [NEED_DL_SYSINFO_DSO].
30771 * elf/dl-support.c: Likewise.
30772 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30773 * elf/rtld.c (dl_main): Likewise.
30774 * elf/setup-vdso.h (setup_vdso): Likewise.
30775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30776 * sysdeps/unix/sysv/linux/dl-sysdep.c
30777 (_dl_discover_osversion): Likewise.
30778
4e9b5995
CD
307792013-03-01 Carlos O'Donell <carlos@redhat.com>
30780
30781 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30782 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30783
e23872c8
SP
307842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30785
e5c74c63
SP
30786 * NEWS: Mention libm performance improvements and non-x86 PI
30787 futex support.
30788
e23872c8
SP
30789 * csu/libc-start.c (__pthread_initialize_minimal): Change
30790 function arguments.
30791 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30792
b5510883
JM
307932013-02-28 Joseph Myers <joseph@codesourcery.com>
30794
30795 [BZ #13550]
30796 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30798 <bp-sym.h> and <bp-asm.h>.
30799 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30800 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30801 and <bp-asm.h>.
30802 (memcpy): Don't use BP_SYM.
30803 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30804 <bp-asm.h>.
30805 (__mpn_add_n): Don't use BP_SYM.
30806 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30807 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30808 and <bp-asm.h>.
30809 (__mpn_addmul_1): Don't use BP_SYM.
30810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30812 <bp-sym.h>.
30813 (_setjmp): Don't use BP_SYM.
30814 (__novmx_setjmp): Likewise.
30815 (__GI__setjmp): Likewise.
30816 (__vmx_setjmp): Likewise.
30817 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30818 <bp-sym.h>.
30819 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30820 (__bzero): Don't use BP_SYM.
30821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30823 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30824 <bp-sym.h> and <bp-asm.h>.
30825 (memcpy): Don't use BP_SYM.
30826 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30827 <bp-sym.h> and <bp-asm.h>.
30828 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30829 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30830 <bp-sym.h> and <bp-asm.h>.
30831 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30832 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30833 <bp-asm.h>.
30834 (__mpn_lshift): Don't use BP_SYM.
30835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30836 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30837 <bp-asm.h>.
30838 (memset): Don't use BP_SYM.
30839 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30840 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30841 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30842 <bp-asm.h>.
30843 (__mpn_mul_1): Don't use BP_SYM.
30844 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30846 <bp-sym.h> and <bp-asm.h>.
30847 (memcmp): Don't use BP_SYM.
30848 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30849 <bp-sym.h> and <bp-asm.h>.
30850 (memcpy): Don't use BP_SYM.
30851 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30852 <bp-sym.h> and <bp-asm.h>.
30853 (memset): Don't use BP_SYM.
30854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30855 <bp-sym.h> and <bp-asm.h>.
30856 (strncmp): Don't use BP_SYM.
30857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30858 <bp-sym.h> and <bp-asm.h>.
30859 (memcpy): Don't use BP_SYM.
30860 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30861 <bp-sym.h> and <bp-asm.h>.
30862 (memset): Don't use BP_SYM.
30863 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30864 <bp-sym.h> and <bp-asm.h>.
30865 (__memchr): Don't use BP_SYM.
30866 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30867 <bp-sym.h> and <bp-asm.h>.
30868 (memcmp): Don't use BP_SYM.
30869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30870 <bp-sym.h> and <bp-asm.h>.
30871 (memcpy): Don't use BP_SYM.
30872 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30873 <bp-sym.h> and <bp-asm.h>.
30874 (__mempcpy): Don't use BP_SYM.
30875 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30876 <bp-sym.h> and <bp-asm.h>.
30877 (__memrchr): Don't use BP_SYM.
30878 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30879 <bp-sym.h> and <bp-asm.h>.
30880 (memset): Don't use BP_SYM.
30881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30882 <bp-sym.h> and <bp-asm.h>.
30883 (__rawmemchr): Don't use BP_SYM.
30884 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30885 <bp-sym.h> and <bp-asm.h>.
30886 (__STRCMP): Don't use BP_SYM.
30887 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30888 <bp-sym.h> and <bp-asm.h>.
30889 (strchr): Don't use BP_SYM.
30890 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30891 <bp-sym.h> and <bp-asm.h>.
30892 (__strchrnul): Don't use BP_SYM.
30893 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30894 <bp-sym.h> and <bp-asm.h>.
30895 (strlen): Don't use BP_SYM.
30896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30897 <bp-sym.h> and <bp-asm.h>.
30898 (strncmp): Don't use BP_SYM.
30899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30900 <bp-sym.h> and <bp-asm.h>.
30901 (__strnlen): Don't use BP_SYM.
30902 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30903 <bp-asm.h>.
30904 (__mpn_rshift): Don't use BP_SYM.
30905 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30907 <bp-sym.h> and <bp-asm.h>.
30908 (__sigsetjmp): Don't use BP_SYM.
30909 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30910 (L(start_addresses)): Don't use BP_SYM.
30911 (_start): Likewise.
30912 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30913 <bp-asm.h>.
30914 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30915 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30916 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30917 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30918 <bp-asm.h>.
30919 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30920 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30921 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30922 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30923 <bp-asm.h>.
30924 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30925 comments.
30926 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30927 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30928 <bp-asm.h>.
30929 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30930 FIXME comments.
30931 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30932 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30933 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30934 <bp-asm.h>.
30935 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30936 comment.
30937 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30938 and <bp-asm.h>.
30939 (strncmp): Don't use BP_SYM,
30940 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30941 <bp-asm.h>.
30942 (__mpn_sub_n): Don't use BP_SYM.
30943 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30944 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30945 and <bp-asm.h>.
30946 (__mpn_submul_1): Don't use BP_SYM.
30947 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30949 <bp-sym.h> and <bp-asm.h>.
30950 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30952 <bp-sym.h> and <bp-asm.h>.
30953 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30954 comment.
30955
8d19fe64
SP
309562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30957
30958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30959 Use ZK to minimize writes to Z.
30960 (sub_magnitudes): Simplify code a bit.
30961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30962 Use ZK to minimize writes to Z.
30963 (sub_magnitudes): Simplify code a bit.
30964
85bd816a
RM
309652013-02-27 Roland McGrath <roland@hack.frob.com>
30966
30967 * csu/gmon-start.c: Add special exception to license text.
30968
b5977bf2
RH
309692013-02-27 Richard Henderson <rth@redhat.com>
30970
30971 * scripts/config.guess: Update from config.git.
30972 * scripts/config.sub: Likewise.
30973
11d6e2f2
SP
309742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30975
09c14ed2
SP
30976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30977
a688864e
SP
30978 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30979
6295157a
SP
30980 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30981
b8de2202
SP
30982 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30983
11d6e2f2
SP
30984 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30985
7e80ddb8
RM
309862013-02-26 Roland McGrath <roland@hack.frob.com>
30987
30988 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30989 [$(build-shared = yes].
7e80ddb8 30990
7da6d9ed
SP
309912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30992
45f05884
SP
30993 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30994 (__mul): Reduce iterations for calculating mantissa.
30995
2236d359
SP
30996 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30997 MPTWO.
30998 (__mpranred): Likewise.
30999
7da6d9ed
SP
31000 [BZ #15160]
31001 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31002 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31003
b7688c42
PE
310042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31005
31006 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31007 Define __attribute__.
31008
53a5c423
SP
310092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31010
31011 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31012 unused.
31013 * posix/regex_internal.h (__attribute): Remove.
31014 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31015 (re_string_context_at): Likewise.
31016 (bitset_not): Use __attribute__ and mark function as possibly
31017 unused.
31018 (bitset_merge): Likewise.
31019 (bitset_mask): Likewise.
31020 (re_string_char_size_at): Likewise.
31021 (re_string_wchar_at): Likewise.
31022 (re_string_elem_size_at): Likewise.
31023
60f5a8b5
SP
310242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31025
2a983a2e
SP
31026 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31027 code.
31028 (cc32): Likewise.
31029
e69804d1
SP
31030 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31031 (__acr): Likewise.
31032 (__cpy): Likewise.
31033 (norm): Likewise.
31034 (denorm): Likewise.
31035 (__dbl_mp): Likewise.
31036 (add_magnitudes): Likewise.
31037 (sub_magnitudes): Likewise.
31038 (__mul): Likewise.
31039 (__inv): Likewise.
31040
2f22a1e8
SP
31041 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31042 style.
31043
8930ddc7
SP
31044 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31045 style.
31046
dc60cb11
SP
31047 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31048 code.
31049
60f5a8b5
SP
31050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31051 up changes with default code.
31052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31053 Likewise.
31054
b4d1fd33
AM
310552013-02-24 Allan McRae <allan@archlinux.org>
31056
faf6f8bc
AM
31057 * manual/socket.texi (The Internet Namespace): Order menu items
31058 to match that in the file.
31059
b4d1fd33
AM
31060 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31061 node listing of the info page menu.
31062
2366713d
JM
310632013-02-21 Joseph Myers <joseph@codesourcery.com>
31064
31065 [BZ #13550]
31066 * sysdeps/i386/bp-asm.h: Remove file.
31067 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31068 (PARMS): Do not use macros from bp-asm.h.
31069 (S1): Likewise.
31070 (S2): Likewise.
31071 (SIZE): Likewise.
31072 (__mpn_add_n): Do not use BP_SYM
31073 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31074 "bp-asm.h".
31075 (PARMS): Do not use macros from bp-asm.h.
31076 (S1): Likewise.
31077 (SIZE): Likewise.
31078 (__mpn_addmul_1): Do not use BP_SYM
31079 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31080 "bp-asm.h".
31081 (PARMS): Do not use macros from bp-asm.h.
31082 (SIGMSK): Likewise.
31083 (_setjmp): Likewise. Do not use BP_SYM.
31084 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31085 "bp-asm.h".
31086 (PARMS): Do not use macros from bp-asm.h.
31087 (SIGMSK): Likewise.
31088 (setjmp): Likewise. Do not use BP_SYM.
31089 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31090 "bp-asm.h".
31091 (PARMS): Do not use macros from bp-asm.h.
31092 (__frexp): Do not use BP_SYM.
31093 (frexp): Likewise.
31094 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31095 "bp-asm.h".
31096 (PARMS): Do not use macros from bp-asm.h.
31097 (__frexpf): Do not use BP_SYM.
31098 (frexpf): Likewise.
31099 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31100 "bp-asm.h".
31101 (PARMS): Do not use macros from bp-asm.h.
31102 (__frexpl): Do not use BP_SYM.
31103 (frexpl): Likewise.
31104 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31105 "bp-asm.h".
31106 (PARMS): Do not use macros from bp-asm.h.
31107 (__remquo): Do not use BP_SYM.
31108 (remquo): Likewise.
31109 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31110 "bp-asm.h".
31111 (PARMS): Do not use macros from bp-asm.h.
31112 (__remquof): Do not use BP_SYM.
31113 (remquof): Likewise.
31114 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31115 "bp-asm.h".
31116 (PARMS): Do not use macros from bp-asm.h.
31117 (__remquol): Do not use BP_SYM.
31118 (remquol): Likewise.
31119 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31120 "bp-asm.h".
31121 (PARMS): Do not use macros from bp-asm.h.
31122 (DEST): Likewise.
31123 (SRC): Likewise.
31124 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31125 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31126 "bp-asm.h".
31127 (PARMS): Do not use macros from bp-asm.h.
31128 (strlen): Do not use BP_SYM.
31129 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31130 "bp-asm.h".
31131 (PARMS): Do not use macros from bp-asm.h.
31132 (S1): Likewise.
31133 (S2): Likewise.
31134 (SIZE): Likewise.
31135 (__mpn_add_n): Do not use BP_SYM.
31136 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31137 "bp-asm.h".
31138 (PARMS): Do not use macros from bp-asm.h.
31139 (S1): Likewise.
31140 (SIZE): Likewise.
31141 (__mpn_addmul_1): Do not use BP_SYM.
31142 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31143 weak_alias.
31144 (bzero): Likewise.
31145 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31146 "bp-asm.h".
31147 (PARMS): Do not use macros from bp-asm.h.
31148 (S): Likewise.
31149 (SIZE): Likewise.
31150 (__mpn_lshift): Do not use BP_SYM.
31151 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31152 "bp-asm.h".
31153 (PARMS): Do not use macros from bp-asm.h.
31154 (DEST): Likewise.
31155 (SRC): Likewise.
31156 (LEN): Likewise.
31157 (memcpy): Likewise. Do not use BP_SYM.
31158 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31159 libc_hidden_def and weak_alias.
31160 (mempcpy): Do not use BP_SYM in weak_alias.
31161 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31162 "bp-asm.h".
31163 (PARMS): Do not use macros from bp-asm.h.
31164 (DEST): Likewise.
31165 (LEN): Likewise.
31166 [!BZERO_P] (CHR): Likewise.
31167 (memset): Likewise. Do not use BP_SYM.
31168 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31169 "bp-asm.h".
31170 (PARMS): Do not use macros from bp-asm.h.
31171 (S1): Likewise.
31172 (SIZE): Likewise.
31173 (__mpn_mul_1): Do not use BP_SYM.
31174 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31175 "bp-asm.h".
31176 (PARMS): Do not use macros from bp-asm.h.
31177 (S): Likewise.
31178 (SIZE): Likewise.
31179 (__mpn_rshift): Do not use BP_SYM.
31180 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31181 "bp-asm.h".
31182 (PARMS): Do not use macros from bp-asm.h.
31183 (STR): Likewise.
31184 (CHR): Likewise.
31185 (strchr): Likewise. Do not use BP_SYM.
31186 (index): Do not use BP_SYM in weak_alias.
31187 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31188 "bp-asm.h".
31189 (PARMS): Do not use macros from bp-asm.h.
31190 (DEST): Likewise.
31191 (SRC): Likewise.
31192 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31193 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31194 "bp-asm.h".
31195 (PARMS): Do not use macros from bp-asm.h.
31196 (strlen): Do not use BP_SYM.
31197 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31198 "bp-asm.h".
31199 (PARMS): Do not use macros from bp-asm.h.
31200 (S1): Likewise.
31201 (S2): Likewise.
31202 (SIZE): Likewise.
31203 (__mpn_sub_n): Do not use BP_SYM.
31204 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31205 "bp-asm.h".
31206 (PARMS): Do not use macros from bp-asm.h.
31207 (S1): Likewise.
31208 (SIZE): Likewise.
31209 (__mpn_submul_1): Do not use BP_SYM.
31210 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31211 "bp-asm.h".
31212 (PARMS): Do not use macros from bp-asm.h.
31213 (S1): Likewise.
31214 (S2): Likewise.
31215 (SIZE): Likewise.
31216 (__mpn_add_n): Do not use BP_SYM.
31217 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31218 weak_alias.
31219 (bzero): Likewise.
31220 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31221 "bp-asm.h".
31222 (PARMS): Do not use macros from bp-asm.h.
31223 (BLK2): Likewise.
31224 (LEN): Likewise.
31225 (memcmp): Do not use BP_SYM.
31226 (bcmp): Do not use BP_SYM in weak_alias.
31227 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31228 "bp-asm.h".
31229 (PARMS): Do not use macros from bp-asm.h.
31230 (DEST): Likewise.
31231 (SRC): Likewise.
31232 (LEN): Likewise.
31233 (memcpy): Likewise. Do not use BP_SYM.
31234 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31235 "bp-asm.h".
31236 (PARMS): Do not use macros from bp-asm.h.
31237 (DEST): Likewise.
31238 (SRC): Likewise.
31239 (LEN): Likewise.
31240 (memmove): Likewise. Do not use BP_SYM.
31241 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31242 "bp-asm.h".
31243 (PARMS): Do not use macros from bp-asm.h.
31244 (DEST): Likewise.
31245 (SRC): Likewise.
31246 (LEN): Likewise.
31247 (__mempcpy): Likewise. Do not use BP_SYM.
31248 (mempcpy): Do not use BP_SYM in weak_alias.
31249 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31250 "bp-asm.h".
31251 (PARMS): Do not use macros from bp-asm.h.
31252 (DEST): Likewise.
31253 (LEN): Likewise.
31254 [!BZERO_P] (CHR): Likewise.
31255 (memset): Likewise. Do not use BP_SYM.
31256 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31257 "bp-asm.h".
31258 (PARMS): Do not use macros from bp-asm.h.
31259 (STR2): Likewise.
31260 (strcmp): Do not use BP_SYM.
31261 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31262 "bp-asm.h".
31263 (PARMS): Do not use macros from bp-asm.h.
31264 (STR): Likewise.
31265 (DELIM): Likewise.
31266 [USE_AS_STRTOK_R] (SAVE): Likewise.
31267 (FUNCTION): Likewise. Do not use BP_SYM.
31268 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31269 aliases.
31270 (strtok_r): Likewise.
31271 (__GI___strtok_r): Likewise.
31272 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31273 (PARMS): Do not use macros from bp-asm.h.
31274 (S): Likewise.
31275 (SIZE): Likewise.
31276 (__mpn_lshift): Do not use BP_SYM.
31277 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31278 (PARMS): Do not use macros from bp-asm.h.
31279 (STR): Likewise.
31280 (CHR): Likewise.
31281 (__memchr): Do not use BP_SYM.
31282 (memchr): Do not use BP_SYM in weak_alias.
31283 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31284 (PARMS): Do not use macros from bp-asm.h.
31285 (BLK2): Likewise.
31286 (LEN): Likewise.
31287 (memcmp): Do not use BP_SYM.
31288 (bcmp): Do not use BP_SYM in weak_alias.
31289 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31290 (PARMS): Do not use macros from bp-asm.h.
31291 (S1): Likewise.
31292 (SIZE): Likewise.
31293 (__mpn_mul_1): Do not use BP_SYM.
31294 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31295 "bp-asm.h".
31296 (PARMS): Do not use macros from bp-asm.h.
31297 (STR): Likewise.
31298 (CHR): Likewise.
31299 (__rawmemchr): Do not use BP_SYM.
31300 (rawmemchr): Do not use BP_SYM in weak_alias.
31301 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31302 (PARMS): Do not use macros from bp-asm.h.
31303 (S): Likewise.
31304 (SIZE): Likewise.
31305 (__mpn_rshift): Do not use BP_SYM.
31306 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31307 (PARMS): Do not use macros from bp-asm.h.
31308 (SIGMSK): Likewise.
31309 (__sigsetjmp): Likewise. Do not use BP_SYM.
31310 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31311 (_start): Do not use BP_SYM.
31312 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31313 (PARMS): Do not use macros from bp-asm.h.
31314 (DEST): Likewise.
31315 (SRC): Likewise.
31316 (__stpcpy): Likewise. Do not use BP_SYM.
31317 (stpcpy): Do not use BP_SYM in weak_alias.
31318 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31319 "bp-asm.h".
31320 (PARMS): Do not use macros from bp-asm.h.
31321 (DEST): Likewise.
31322 (SRC): Likewise.
31323 (LEN): Likewise.
31324 (__stpncpy): Likewise. Do not use BP_SYM.
31325 (stpncpy): Do not use BP_SYM in weak_alias.
31326 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31327 (PARMS): Do not use macros from bp-asm.h.
31328 (STR): Likewise.
31329 (CHR): Likewise.
31330 (strchr): Likewise. Do not use BP_SYM.
31331 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31332 "bp-asm.h".
31333 (PARMS): Do not use macros from bp-asm.h.
31334 (STR): Likewise.
31335 (CHR): Likewise.
31336 (__strchrnul): Likewise. Do not use BP_SYM.
31337 (strchrnul): Do not use BP_SYM in weak_alias.
31338 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31339 "bp-asm.h".
31340 (PARMS): Do not use macros from bp-asm.h.
31341 (STOP): Likewise.
31342 (strcspn): Do not use BP_SYM.
31343 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31344 "bp-asm.h".
31345 (PARMS): Do not use macros from bp-asm.h.
31346 (STR): Likewise.
31347 (STOP): Likewise.
31348 (strpbrk): Likewise. Do not use BP_SYM.
31349 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31350 "bp-asm.h".
31351 (PARMS): Do not use macros from bp-asm.h.
31352 (STR): Likewise.
31353 (CHR): Likewise.
31354 (strrchr): Likewise. Do not use BP_SYM.
31355 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31356 (PARMS): Do not use macros from bp-asm.h.
31357 (SKIP): Likewise.
31358 (strspn): Do not use BP_SYM.
31359 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31360 (PARMS): Do not use macros from bp-asm.h.
31361 (STR): Likewise.
31362 (DELIM): Likewise.
31363 (SAVE): Likewise.
31364 (FUNCTION): Likewise. Do not use BP_SYM.
31365 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31366 aliases.
31367 (strtok_r): Likewise.
31368 (__GI___strtok_r): Likewise.
31369 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31370 (PARMS): Do not use macros from bp-asm.h.
31371 (S1): Likewise.
31372 (S2): Likewise.
31373 (SIZE): Likewise.
31374 (__mpn_sub_n): Do not use BP_SYM.
31375 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31376 "bp-asm.h".
31377 (PARMS): Do not use macros from bp-asm.h.
31378 (S1): Likewise.
31379 (SIZE): Likewise.
31380 (__mpn_submul_1): Do not use BP_SYM.
31381 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31382 <bp-sym.h>.
31383 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31384 and <bp-asm.h>.
31385 (PARMS): Do not use macros from bp-asm.h.
31386 (FLAGS): Likewise.
31387 (PTID): Likewise.
31388 (TLS): Likewise.
31389 (CTID): Likewise.
31390 (__clone): Do not use BP_SYM.
31391 (clone): Do not use BP_SYM in weak_alias.
31392 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31393 and <bp-asm.h>.
31394 (PARMS): Do not use macros from bp-asm.h.
31395 (LEN): Likewise.
31396 (__mmap64): Do not use BP_SYM.
31397 (mmap64): Do not use BP_SYM in weak_alias.
31398 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31399 <bp-sym.h> and <bp-asm.h>.
31400 (PARMS): Do not use macros from bp-asm.h.
31401 (__posix_fadvise64_l64): Do not use BP_SYM.
31402 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31403 (PARMS): Do not use macros from bp-asm.h.
31404 (NSOPS): Likewise.
31405 (semtimedop): Do not use BP_SYM.
31406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31407 and <bp-asm.h>.
31408
582a3cff
AM
314092013-02-21 Allan McRae <allan@archlinux.org>
31410
31411 * manual/message.texi (Charset conversion in gettext):
31412 Move @end statement to beginning of line.
31413
bab8a695
SP
314142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31415
80945231
SP
31416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31417 static.
31418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31419 Likewise.
31420
bab8a695
SP
31421 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31422 (denorm): Likewise.
31423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31425
e21d7aa7
AK
314262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31427
31428 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31429 tail-call to the resolved function if pltexit isn't needed.
31430
4c7a4263
SP
314312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31432
31433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31434 or Y being zero as being unlikely.
31435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31436 Likewise.
31437
41f49342
CD
314382013-02-20 Carlos O'Donell <carlos@redhat.com>
31439
31440 * manual/nss.texi (System Databases and Name Service Switch):
31441 Remove frobnicate @pxref.
31442
50022a93
TS
314432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31444
31445 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31446 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31447
08cbd996
PM
314482013-02-20 Petr Machata <pmachata@redhat.com>
31449
31450 * elf/elf.h (R_ARM_TARGET1): New macro.
31451 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31452 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31453 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31454 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31455 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31456 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31457 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31458 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31459 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31460 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31461 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31462 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31463 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31464 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31465 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31466 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31467 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31468 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31469 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31470 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31471 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31472 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31473 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31474 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31475 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31476 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31477 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31478 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31479 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31480 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31481 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31482 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31483 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31484 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31485 (R_ARM_THM_GOT_BREL12): Likewise.
31486 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31487 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31488 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31489 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31490 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31491 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31492 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31493 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31494 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31495
c7b275d6
TS
314962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31497
31498 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31499 __attribute_used__ to __attribute__ ((unused)).
31500
20cd7fb3
SP
315012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31502
31503 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31504 powerpc mpa.c.
31505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31506 comment formatting.
31507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31508
92945b52
JM
315092013-02-19 Joseph Myers <joseph@codesourcery.com>
31510
31511 [BZ #13550]
31512 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31513 Remove macro.
31514 (ENTER): Remove both macro definitions.
31515 (LEAVE): Likewise.
31516 (CHECK_BOUNDS_LOW): Likewise.
31517 (CHECK_BOUNDS_HIGH): Likewise.
31518 (CHECK_BOUNDS_BOTH): Likewise.
31519 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31520 (RETURN_BOUNDED_POINTER): Likewise.
31521 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31522 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31523 (POP_ERRNO_LOCATION_RETURN): Likewise.
31524 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31525 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31526 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31527 macros.
31528 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31529 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31530 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31531 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31532 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31533 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31534 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31535 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31536 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31537 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31538 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31539 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31540 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31541 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31542 removed macros.
31543 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31544 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31545 macros.
31546 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31547 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31548 * sysdeps/i386/i586/memset.S (memset): Likewise.
31549 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31550 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31551 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31552 macros.
31553 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31554 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31555 Change uses of L(2) to L(out).
31556 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31557 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31558 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31560 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31561 removed macros.
31562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31563 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31564 macros.
31565 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31566 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31567 (RETURN): Do not use macro LEAVE.
31568 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31569 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31570 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31571 * sysdeps/i386/i686/memset.S (memset): Likewise.
31572 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31573 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31574 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31575 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31576 Likewise.
31577 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31578 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31579 L(1_2) and L(1_3) into L(1).
31580 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31581 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31582 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31583 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31584 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31585 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31586 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31587 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31588 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31589 macros.
31590 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31591 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31592 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31593 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31594 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31595 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31596 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31597 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31598 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31599 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31600 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31601 * sysdeps/i386/strspn.S (strspn): Likewise.
31602 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31603 conditional code.
31604 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31605 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31606 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31607 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31608 L(1_3) into L(1_1).
31609 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31610 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31611 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31612 macros.
31613 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31614
2389741a
JJ
316152013-02-19 Jakub Jelinek <jakub@redhat.com>
31616
31617 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31618 macro.
31619
2016b3cd
SP
316202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31621
e4f22324
SP
31622 * math/atest-exp.c (exp_mpn): Remove ROUND.
31623 * math/atest-exp2.c (exp_mpn): Likewise.
31624 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31625
2016b3cd
SP
31626 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31627 * stdlib/tst-tls-atexit-lib.c: Likewise.
31628 * stdlib/tst-tls-atexit.c: Likewise.
31629
4be9b544
MF
316302013-02-18 Mike Frysinger <vapier@gentoo.org>
31631
31632 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31633 and __attribute_alloc_size__.
31634
2f62b9ee
MF
316352013-02-18 Mike Frysinger <vapier@gentoo.org>
31636
31637 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31638 __attribute_alloc_size__.
31639 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31640 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31641
6ff444c4
MF
316422013-02-18 Mike Frysinger <vapier@gentoo.org>
31643
31644 * include/programs/xmalloc.h: New file.
31645 * catgets/gencat.c: Include it.
31646 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31647 * elf/pldd.c: Likewise.
31648 * iconv/iconv_charmap.c: Likewise.
31649 * iconv/iconvconfig.c: Likewise.
31650 * iconv/strtab.c: Likewise.
31651 * locale/programs/locale.c: Likewise.
31652 * locale/programs/localedef.h: Likewise.
31653 * locale/programs/simple-hash.c: Likewise.
31654 * nscd/nscd.h: Likewise.
31655 * nss/makedb.c: Likewise.
31656 * sysdeps/generic/ldconfig.h: Likewise.
31657
be179c8a
SP
316582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31659
ba384f6e
SP
31660 * Versions.def: Add GLIBC_2.18.
31661 * include/link.h (struct link_map): New member l_tls_dtor_count.
31662 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31663 (__call_tls_dtors): Likewise.
31664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31665 __cxa_thread_atexit_impl.
31666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31667 Likewise.
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31669 Likewise.
31670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31671 Likewise.
31672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31673 Likewise.
31674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31676 Likewise.
31677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31678 Likewise.
31679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31681 Likewise.
31682 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31683 (tests): Add test case tst-tls-atexit.
31684 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31685 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31686 (GLIBC_PRIVATE): Add __call_tls_dtors.
31687 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31688 for libstdc++.
31689 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31690 * stdlib/tst-tls-atexit.c: New test case.
31691 * stdlib/tst-tls-atexit-lib.c: New test case.
31692
ffaa74cf 31693 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31694
be179c8a
SP
31695 * elf/Versions (ld): Add _dl_find_dso_for_object.
31696 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31697 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31698 (dl_open_worker): Use _dl_find_dso_for_object.
31699 * elf/dl-sym.c (do_sym): Likewise.
31700 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31701
f78b5caa
AK
317022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31703
31704 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31705 Syntactic changes only.
31706 (_dl_runtime_profile): Do a tail-call to the resolved function.
31707
29691210
JM
317082013-02-17 Joseph Myers <joseph@codesourcery.com>
31709
31710 [BZ #13550]
31711 * sysdeps/x86_64/bp-asm.h: Remove file.
31712 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31713 <bp-sym.h> and <bp-asm.h>.
31714 (__clone): Do not use BP_SYM.
31715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31716 <bp-sym.h> and <bp-asm.h>.
31717 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31718 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31719 "bp-asm.h".
31720 (_setjmp): Do not use BP_SYM.
31721 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31722 "bp-asm.h".
31723 (setjmp): Do not use BP_SYM.
31724 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31725 libc_hidden_def.
31726 (mempcpy): Do not use BP_SYM in weak_alias.
31727 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31728 "bp-asm.h".
31729 (strchr): Do not use BP_SYM.
31730 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31731 "bp-asm.h".
31732 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31733 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31734 (_start): Do not use BP_SYM.
31735 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31736 "bp-asm.h".
31737 (strcat): Do not use BP_SYM.
31738 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31739 "bp-asm.h".
31740 (STRCMP): Do not use BP_SYM.
31741 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31742 "bp-asm.h".
31743 (STRCPY): Do not use BP_SYM.
31744 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31745 "bp-asm.h".
31746 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31747 "bp-asm.h".
31748 (FUNCTION): Do not use BP_SYM.
31749 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31750 weak_alias.
31751 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31752
f238fd19
AJ
317532013-02-17 Andreas Jaeger <aj@suse.de>
31754
31755 * time/Versions: Sort entries.
31756 * string/Versions: Likewise.
31757 * resolv/Versions: Likewise.
31758 * posix/Versions: Likewise.
31759 * iconv/Versions: Likewise.
31760 * elf/Versions: Likewise.
31761 * wcsmbs/Versions: Likewise.
31762
bd07f23c 317632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31764
22af19f9
SP
31765 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31766 loop termination condition.
31767
4709fe76
SP
31768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31769 variable to calculate EZ.
31770 (__sqr): Likewise.
2d0e0f29
SP
31771
31772 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31773 the lower precision input.
31774
daaa7713
JM
317752013-02-15 Joseph Myers <joseph@codesourcery.com>
31776
31777 [BZ #13550]
31778 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31779 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31780 (run-via-rtld-prefix): Do not handle %-bp tests.
31781 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31782 (all-object-suffixes): Remove .ob.
31783 (bppfx): Remove variable.
31784 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31785 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31786 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31787 [$(build-bounded) = yes] (libtype.ob): Likewise.
31788 * Makerules (elide-routines.ob): Remove variable.
31789 (do-tests-clean): Do not handle *-bp.out.
31790 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31791 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31792 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31793 (tests): Do not include $(tests-bp.out).
31794 (xtests): Do not include $(xtests-bp.out).
31795 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31796 [$(build-bounded) = yes] ($(addprefix
31797 $(objpfx),$(binaries-bounded))): Remove rule.
31798 ($(objpfx)%-bp.out): Remove rule.
31799 * config.make.in (build-bounded): Remove variable.
31800 * crypt/Makefile [$(build-bounded) = yes]
31801 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31802 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31803 append to variable.
31804 [$(build-bounded) = yes] (install-lib): Likewise.
31805 [$(build-bounded) = yes] (generated): Likewise.
31806 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31807 Remove rule.
31808 * intl/Makefile [$(build-bounded) = yes]
31809 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31810 * math/Makefile [$(build-bounded) = yes]
31811 ($(tests:%=$(objpfx)%-bp): Likewise.
31812 * misc/Makefile [$(build-bounded) = yes]
31813 ($(objpfx)tst-tsearch-bp): Likewise.
31814 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31815 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31816 Remove dependency.
31817 * string/Makefile (o-objects.ob): Remove variable.
31818 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31819 (CFLAGS-.ob): Remove variable.
31820 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31821 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31822 both definitions of variable.
31823 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31824 (ASFLAGS-.ob): Remove variable.
31825
e97ed6dd
JM
318262013-02-14 Joseph Myers <joseph@codesourcery.com>
31827
2bdd4ca6
JM
31828 [BZ #13550]
31829 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31830 Remove __BOUNDED_POINTERS__ from condition.
31831 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31832 * string/bits/string2.h [!__NO_STRING_INLINES &&
31833 !__BOUNDED_POINTERS__]: Likewise.
31834 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31835 Likewise.
31836 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31837 Remove conditional code.
31838 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31839 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31840 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31841 condition.
31842
e97ed6dd
JM
31843 [BZ #13550]
31844 * csu/libc-start.c: Do not include <bp-sym.h>.
31845 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31846 * elf/dl-open.c: Do not include <bp-sym.h>.
31847 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31848 * math/fegetenv.c: Do not include <bp-sym.h>.
31849 (fegetenv): Do not use BP_SYM in versioned symbols.
31850 * nptl/sysdeps/pthread/bits/libc-lockP.h
31851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31852 <bp-sym.h>.
31853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31854 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31856 (__pthread_mutex_destroy): Likewise.
31857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31858 (__pthread_mutex_lock): Likewise.
31859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31860 (__pthread_mutex_trylock): Likewise.
31861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31862 (__pthread_mutex_unlock): Likewise.
31863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31864 (__pthread_mutexattr_init): Likewise.
31865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31866 (__pthread_mutexattr_destroy): Likewise.
31867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31868 (__pthread_mutexattr_settype): Likewise.
31869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31870 (__pthread_rwlock_init): Likewise.
31871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31872 (__pthread_rwlock_destroy): Likewise.
31873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31874 (__pthread_rwlock_rdlock): Likewise.
31875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31876 (__pthread_rwlock_tryrdlock): Likewise.
31877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31878 (__pthread_rwlock_wrlock): Likewise.
31879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31880 (__pthread_rwlock_trywrlock): Likewise.
31881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31882 (__pthread_rwlock_unlock): Likewise.
31883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31884 (__pthread_key_create): Likewise.
31885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31886 (__pthread_setspecific): Likewise.
31887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31888 (__pthread_getspecific): Likewise.
31889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31890 Likewise.
31891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31892 (_pthread_cleanup_push_defer): Likewise.
31893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31894 (_pthread_cleanup_pop_restore): Likewise.
31895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31896 (pthread_setcancelstate): Likewise.
31897 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31898 <bp-sym.h>.
31899 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31900 (memchr): Do not use BP_SYM in weak_alias.
31901 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31902 (fegetenv): Do not use BP_SYM in versioned symbols.
31903 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31904 (fesetenv): Do not use BP_SYM in versioned symbols.
31905 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31906 (feupdateenv): Do not use BP_SYM in versioned symbols.
31907 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31908 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31909 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31910 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31911 (open64): Do not use BP_SYM in weak_alias.
31912 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31913 (fegetenv): Do not use BP_SYM in versioned symbols.
31914 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31915 (fesetenv): Do not use BP_SYM in versioned symbols.
31916 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31917 (feupdateenv): Do not use BP_SYM in versioned symbols.
31918 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31919 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31920 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31921 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31922 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31923 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31924 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31925 <bp-sym.h>.
31926 (__libc_start_main): Do not use BP_SYM.
31927
d6752ccd
SP
319282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31929
cb57ce60
SP
31930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31931 redundant return line.
31932 (norm): Likewise.
31933 (denorm): Likewise.
31934 (dbl_mp): Likewise.
31935 (sub_magnitudes): Likewise.
31936 (__add): Likewise.
31937 (__sub): Likewise.
31938 (__mul): Likewise.
31939 (__inv): Likewise.
31940 (__dvd): Likewise.
31941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31942 (norm): Likewise.
31943 (denorm): Likewise.
31944 (dbl_mp): Likewise.
31945 (sub_magnitudes): Likewise.
31946 (__add): Likewise.
31947 (__sub): Likewise.
31948 (__mul): Likewise.
31949 (__inv): Likewise.
31950 (__dvd): Likewise.
31951
f414520d
SP
31952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31953 instead of __mul.
31954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31955 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31956 (cc32): Likewise.
31957
d6752ccd
SP
31958 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31959 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31961 of __mul for squares.
31962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31963 function
31964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31965 Likewise.
31966 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31968
70d9946a
JM
319692013-02-13 Joseph Myers <joseph@codesourcery.com>
31970
31971 [BZ #13550]
31972 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31973 code.
31974 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31975 prototype or function definition. Rename ubp_* variables and
31976 parameters. Remove argv definitions conditional on
31977 [__BOUNDED_POINTERS__].
31978 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31979 * elf/dl-runtime.c (_dl_fixup): Likewise.
31980 * include/set-hooks.h (RUN_HOOK): Likewise.
31981 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31982 definition.
31983 * string/strcpy.c (strcpy): Do not use __unbounded.
31984 * sysdeps/generic/frame.h (struct layout): Likewise.
31985 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31986 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31987 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31988 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31989 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31990 (__backtrace): Likewise.
31991 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31992 use __ptrvalue.
31993 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31994 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31995 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31996 Likewise.
31997 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31998 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31999 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32000 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32001 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32002 Do not use __unbounded.
32003 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32004 Rename __unboundedrlimits parameter to rlimits in prototype.
32005 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32006 Do not use __unbounded.
32007 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32008 not use __ptrvalue.
32009 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32010 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32011 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32012 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32013 __ptrvalue or __unbounded.
32014 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32015 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32016 use __unbounded.
32017 (__new_msgctl): Do not use __ptrvalue.
32018 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32019 __unbounded.
32020 (__libc_msgrcv): Do not use __ptrvalue.
32021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32022 startup_info): Do not use __unbounded.
32023 (__libc_start_main): Likewise. Rename ubp_* variables and
32024 parameters. Remove argv definitions conditional on
32025 [__BOUNDED_POINTERS__].
32026 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32027 __ptrvalue.
32028 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32029 use __unbounded.
32030 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32031 or __ptrvalue.
32032 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32033 use __unbounded.
32034 (__new_shmctl): Do not use __ptrvalue.
32035 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32036 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32037 Likewise.
32038 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32039 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32040 (__libc_sigaction): Likewise.
32041 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32043 Likewise.
32044 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32045
cc7834d6
OB
320462013-02-13 Ondřej Bílka <neleai@seznam.cz>
32047
ffb1ec7b 32048 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32049
32050 * string/mempcpy.c: Implement by calling memcpy.
32051
bdf02814
SP
320522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32053
c2af38aa
SP
32054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32055
4e92d59e
SP
32056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32057 evaluation.
32058
909279a5
SP
32059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32060 values in the mantissa.
32061
bdf02814
SP
32062 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32063 minimize writes to Z.
32064 (sub_magnitudes): Simplify code a bit.
32065
cd525923
RM
320662013-02-12 Roland McGrath <roland@hack.frob.com>
32067
32068 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32069 from the message. The linker prefixes all warnings with that already.
32070
7e2f0d2d
AS
320712013-02-12 Andreas Schwab <schwab@suse.de>
32072
a445af0b
AS
32073 [BZ #15078]
32074 * posix/regexec.c (extend_buffers): Add parameter min_len.
32075 (check_matching): Pass minimum needed length.
32076 (clean_state_log_if_needed): Likewise.
32077 (get_subexp): Likewise.
32078 * posix/Makefile (tests): Add bug-regex34.
32079 (bug-regex34-ENV): Define.
32080 * posix/bug-regex34.c: New file.
32081
7e2f0d2d
AS
32082 [BZ #11561]
32083 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32084 elements compare against the byte sequence of it, not its name.
32085 * posix/Makefile (tests): Add bug-regex35.
32086 (bug-regex35-ENV): Define.
32087 * posix/bug-regex35.c: New file.
32088
a175b684
TV
320892013-02-11 Tom de Vries <tom@codesourcery.com>
32090
32091 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32092 comment.
32093 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32094 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32095 (CHECK_EOL): Add undef.
32096
310998fe 320972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32098
32099 * bits/stdlib-bsearch.h: New file.
32100 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32101 * stdlib/stdlib.h: Likewise.
41eda41d 32102
8ded91fb
RM
321032013-02-11 Roland McGrath <roland@hack.frob.com>
32104
32105 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32106 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32107 declaration.
32108 * manual/search.texi (Array Search Function): Add missing const in
32109 lfind prototype.
32110 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32111 declaration to use rlim_t.
32112 (Basic Scheduling Functions): Remove erroneous const from
32113 sched_getparam prototype. Remove erroneous * from
32114 sched_get_priority_max and sched_get_priority_min prototypes.
32115 (Resource Usage): Fix summary @comment on vtimes to refer to
32116 sys/vtimes.h rather than vtimes.h.
32117 Add missing *s in vtimes prototype.
32118 (Limits on Resources): Fix ulimit prototype to return long int.
32119 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32120 prototypes to use long int rather than double.
32121 (BSD Random): Fix initstate and setstate to use char *, not void *.
32122 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32123 prototype to make second argument 'struct aiocb64 *const[]'.
32124 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32125 (Status of AIO Operations): Remove erroneous const in aio_return and
32126 aio_return64 prototypes.
32127 (Synchronizing I/O): Fix sync prototype to return void.
32128 * manual/startup.texi (Suboptions): Remove an erroneous const in
32129 getsubopt prototype.
32130 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32131 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32132 use size_t rather than int.
32133 (Scanning All Users): Likewise for getpwent_r.
32134 (Setting Groups): Add missing const to setgroups prototype.
32135 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32136 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32137 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32138 'const void *' rather than 'const char *'.
32139 (Host Address Functions): Likewise for inet_ntop.
32140 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32141 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32142 ssize_t for return value.
32143 (Sending Data): Likewise for send, sendto, sendmsg.
32144 (Socket Option Functions): Add a missing const in setsockopt prototype.
32145 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32146 use wchar_t for the argument.
32147 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32148 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32149 take no arguments.
32150 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32151 double/float/long double for second argument.
32152 Fix return types of significand, significandf, significandl.
32153 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32154 argument in fchmod prototype.
32155 (File Owner): Use uid_t and gid_t in fchown prototype.
32156 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32157 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32158 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32159 use 'const struct dirent **' as argument types to CMP function pointer
32160 argument.
32161 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32162 (File Times): Fix summary magic @comment for struct utimbuf and utime
32163 to refer to utime.h, not time.h.
32164 * manual/string.texi (Argz Functions): Add missing const in
32165 argz_extract and argz_next prototypes.
32166 (Finding Tokens in a String): Likewise for basename.
32167 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32168 (Copying and Concatenation): Fix typo in wmemmove prototype.
32169 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32170 (Signal Stack): Remove erroneous const in sigstack prototype.
32171 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32172 prototype.
32173 (Simple Calendar Time): Likewise for stime.
32174 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32175 prototype.
32176 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32177 say sys/sysctl.h instead.
32178 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32179 and vsyslog prototypes.
32180
fe77fe6d
TV
321812013-02-11 Tom de Vries <tom@codesourcery.com>
32182
32183 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32184 Remove.
32185
3a09b620
RM
321862013-02-11 Roland McGrath <roland@hack.frob.com>
32187
32188 * misc/sys/mman.h: Fix typo in mremap comment.
32189
550a0b89
RM
321902013-02-08 Roland McGrath <roland@hack.frob.com>
32191
32192 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32193 the '\0' terminator.
32194
a2da1673
JM
321952013-02-08 Joseph Myers <joseph@codesourcery.com>
32196
32197 [BZ #13550]
32198 * debug/segfault.c: Don't include <bp-checks.h>.
32199 * sysdeps/generic/bp-checks.h: Remove file.
32200 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32201 (__GETDENTS): Don't use CHECK_N.
32202 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32203 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32204 (__getgroups): Don't use CHECK_N.
32205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32206 (setgroups): Don't use CHECK_N.
32207 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32208 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32209 (__libc_msgrcv): Don't use CHECK_N.
32210 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32211 (__libc_msgsnd): Don't use CHECK_N.
32212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32213 <bp-checks.h>.
32214 (__libc_pread): Don't use CHECK_N.
32215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32216 include <bp-checks.h>.
32217 (__libc_pread64): Don't use CHECK_N.
32218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32219 include <bp-checks.h>.
32220 (__libc_pwrite): Don't use CHECK_N.
32221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32222 include <bp-checks.h>.
32223 (__libc_pwrite64): Don't use CHECK_N.
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32225 <bp-checks.h>.
32226 (__libc_pread): Don't use CHECK_N.
32227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32228 include <bp-checks.h>.
32229 (__libc_pread64): Don't use CHECK_N.
32230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32231 include <bp-checks.h>.
32232 (__libc_pwrite): Don't use CHECK_N.
32233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32234 include <bp-checks.h>.
32235 (__libc_pwrite64): Don't use CHECK_N.
32236 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32237 (do_pread): Don't use CHECK_N.
32238 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32239 (do_pread64): Don't use CHECK_N.
32240 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32241 (do_pwrite): Don't use CHECK_N.
32242 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32243 (do_pwrite64): Don't use CHECK_N.
32244 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32245 (__libc_readv): Don't use CHECK_N.
32246 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32247 (semop): Don't use CHECK_N.
32248 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32249 <bp-checks.h>.
32250 (semtimedop): Don't use CHECK_N.
32251 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32252 (__libc_pread): Don't use CHECK_N.
32253 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32254 <bp-checks.h>.
32255 (__libc_pread64): Don't use CHECK_N.
32256 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32257 <bp-checks.h>.
32258 (__libc_pwrite): Don't use CHECK_N.
32259 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32260 <bp-checks.h>.
32261 (__libc_pwrite64): Don't use CHECK_N.
32262 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32263 <bp-checks.h>.
32264 (__libc_msgrcv): Don't use CHECK_N.
32265 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32266 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32267 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32268 (__libc_writev): Don't use CHECK_N.
32269
b84660a8
RM
322702013-02-08 Roland McGrath <roland@hack.frob.com>
32271
7f3e75f8
RM
32272 * string/strcpy.c: Removed unused variable.
32273
b84660a8
RM
32274 * Makeconfig (+sysdep-includes): Define with := rather than =.
32275 Use an existing include/ subdir of each sysdeps dir before it.
32276
471514d3
CD
322772013-02-08 Carlos O'Donell <carlos@redhat.com>
32278
32279 * nscd/connection.c (register_traced_file): Comment function.
32280 [HAVE_INOTIFY] (union __inev): Define.
32281 [HAVE_INOTIFY] (inotify_check_files): New function.
32282 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32283 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32284 clear_db_cache.
32285 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32286
b2d3c3be
CD
322872013-02-08 Carlos O'Donell <carlos@redhat.com>
32288
32289 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32290 loaded if not already and that a failure is permanent.
32291
b39949d2
CD
322922013-02-08 Carlos O'Donell <carlos@redhat.com>
32293
ddacd1db 32294 [BZ #15006]
b39949d2
CD
32295 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32296 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32297
b2c9eff4
JM
322982013-02-08 Joseph Myers <joseph@codesourcery.com>
32299
f3aae3f3
JM
32300 [BZ #13550]
32301 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32302 (CHECK_1_NULL_OK): Likewise.
32303 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32304 (__fxstat): Do not use CHECK_1.
32305 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32306 <bp-checks.h>.
32307 (___fxstat64): Do not use CHECK_1.
32308 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32309 <bp-checks.h>.
32310 (__fxstatat): Do not use CHECK_1.
32311 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32312 <bp-checks.h>.
32313 (__fxstatat64): Do not use CHECK_1.
32314 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32315 <bp-checks.h>.
32316 (__fxstat): Do not use CHECK_1.
32317 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32318 <bp-checks.h>.
32319 (__fxstatat): Do not use CHECK_1.
32320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32321 <bp-checks.h>.
32322 (__getresgid): Do not use CHECK_1.
32323 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32324 <bp-checks.h>.
32325 (__getresuid): Do not use CHECK_1.
32326 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32327 <bp-checks.h>.
32328 (__lxstat): Do not use CHECK_1.
32329 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32330 <bp-checks.h>.
32331 (__old_msgctl): Do not use CHECK_1.
32332 (__new_msgctl): Likewise.
32333 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32334 <bp-checks.h>.
32335 (__new_setrlimit): Do not use CHECK_1.
32336 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32337 <bp-checks.h>.
32338 (__old_shmctl): Do not use CHECK_1.
32339 (__new_shmctl): Likewise.
32340 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32341 <bp-checks.h>.
32342 (__xstat): Do not use CHECK_1.
32343 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32344 (__lxstat): Do not use CHECK_1.
32345 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32346 <bp-checks.h>.
32347 (___lxstat64): Do not use CHECK_1.
32348 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32349 (__old_msgctl): Do not use CHECK_1.
32350 (__new_msgctl): Likewise.
32351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32352 <bp-checks.h>.
32353 (__gettimeofday): Do not use CHECK_1.
32354 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32355 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32356 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32357 <bp-checks.h>.
32358 (__gettimeofday): Do not use CHECK_1.
32359 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32360 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32361 (__new_shmctl): Do not use CHECK_1.
32362 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32363 <bp-checks.h>.
32364 (do_sigtimedwait): Do not use CHECK_1.
32365 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32366 <bp-checks.h>.
32367 (do_sigwaitinfo): Do not use CHECK_1.
32368 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32369 <bp-checks.h>.
32370 (msgctl): Do not use CHECK_1.
32371 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32372 <bp-checks.h>.
32373 (shmctl): Do not use CHECK_1.
32374 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32375 (ustat): Do not use CHECK_1.
32376 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32377 <bp-checks.h>.
32378 (__fxstat): Do not use CHECK_1.
32379 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32380 <bp-checks.h>.
32381 (__fxstatat): Do not use CHECK_1.
32382 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32383 <bp-checks.h>.
32384 (__lxstat): Do not use CHECK_1.
32385 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32386 <bp-checks.h>.
32387 (__xstat): Do not use CHECK_1.
32388 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32389 (__xstat): Do not use CHECK_1.
32390 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32391 (___xstat64): Do not use CHECK_1.
32392
b2c9eff4
JM
32393 [BZ #13550]
32394 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32395 definitions.
32396 (CHECK_BOUNDS_HIGH): Likewise.
32397 * string/strcpy.c: Do not include <bp-checks.h>.
32398 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32399
f1d70dad
RM
324002013-02-07 Roland McGrath <roland@hack.frob.com>
32401
32402 * nscd/nscd-client.h (__nscd_drop_map_ref):
32403 Add __attribute__ ((unused)).
32404 * nis/nss-nisplus.h (niserr2nss): Likewise.
32405
32406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32407 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32408
32409 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32410 Remove inline keyword.
32411 * include/rounding-mode.h (round_away): Likewise.
32412 * libio/wfileops.c (adjust_wide_data): Likewise.
32413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32414 (__m128i_strloadu_tolower): Likewise.
32415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32416 (__m128i_strloadu_tolower): Likewise.
32417 * time/mktime.c (ydhms_diff): Likewise.
32418 * locale/elem-hash.h (elem_hash): Likewise.
32419 * locale/setlocale.c (setdata): Likewise.
32420 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32421 (re_string_wchar_at): Likewise.
32422 (bitset_not, bitset_merge, bitset_mask): Likewise.
32423 [!(__GNUC__ > 3)] (inline): Remove macro.
32424 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32425 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32426 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32427 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32428 * string/memcmp.c (memcmp_bytes): Likewise.
32429 * locale/programs/locarchive.c (compute_hashval): Likewise.
32430 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32431 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32432 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32433 * nss/getent.c (print_rpc, print_protocols): Likewise.
32434 (print_passwd, print_group, print_aliases): Likewise.
32435 * nis/nss-nisplus.h (niserr2nss): Likewise.
32436 * nscd/connections.c (restart_p): Likewise.
32437 Change return type to bool.
32438
eab55bfb
RM
324392013-02-05 Roland McGrath <roland@hack.frob.com>
32440
7bd642f5
RM
32441 * Makeconfig (all-Depend-files): Add existing
32442 $(sorted-subdirs:=/Depend) files.
32443 (all-subdirs): Remove nss.
32444 * sysdeps/unix/inet/Subdirs: Add it here instead.
32445 * hesiod/Depend: New file.
32446
573c29b2
RM
32447 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32448 instead of calling alloca.
32449
b2e25af0
RM
32450 * io/lseek.c (__lseek): Rename to __libc_lseek.
32451 Define __lseek as an alias.
32452
eab55bfb
RM
32453 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32454
9a0d1941
CD
324552013-02-04 Carlos O'Donell <carlos@redhat.com>
32456
32457 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32458 else clause and remove check for non-standard endianness.
32459
b83bbec4
DM
324602013-02-04 David S. Miller <davem@davemloft.net>
32461
32462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32463
6277fdab
JM
324642013-02-04 Joseph Myers <joseph@codesourcery.com>
32465
32466 [BZ #13550]
32467 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32468 (__ubp_memchr): Remove prototype.
32469 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32470 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32471 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32472 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32473 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32474 Remove alias.
32475 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32476 (__ubp_memchr): Likewise.
32477 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32478 (__ubp_memchr): Likewise.
32479 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32480 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32481 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32482 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32483 CHECK_STRING.
32484 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32485 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32486 (__getcwd): Do not use CHECK_STRING.
32487 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32488 <bp-checks.h>.
32489 (__real_chown): Do not use CHECK_STRING.
32490 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32491 <bp-checks.h>.
32492 (fchownat): Do not use CHECK_STRING.
32493 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32494 CHECK_STRING.
32495 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32496 <bp-checks.h>.
32497 (__lchown): Do not use CHECK_STRING.
32498 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32499 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32500 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32501 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32503 include <bp-checks.h>.
32504 (truncate64): Do not use CHECK_STRING.
32505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32506 <bp-checks.h>.
32507 (__real_chown): Do not use CHECK_STRING.
32508 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32509 <bp-checks.h>.
32510 (__lchown): Do not use CHECK_STRING.
32511 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32512 <bp-checks.h>.
32513 (__chown): Do not use CHECK_STRING.
32514 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32515 <bp-checks.h>.
32516 (truncate64): Do not use CHECK_STRING.
32517 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32518 Likewise.
32519 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32520 (__xmknod): Do not use CHECK_STRING.
32521 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32522 <bp-checks.h>.
32523 (__xmknodat): Do not use CHECK_STRING.
32524 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32525 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32526
903ae060
AS
325272013-02-04 Andreas Schwab <schwab@suse.de>
32528
32529 [BZ #14142]
32530 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32531 * include/netdb.h: Likewise for h_errno.
32532 * elf/tst-stackguard1.c: Include <tls.h>.
32533
542f9466
JK
325342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32535
32536 * elf/link.h (struct link_map): Extend the l_addr comment.
32537 * include/link.h (struct link_map): Likewise.
32538
e782a927
JM
325392013-02-01 Joseph Myers <joseph@codesourcery.com>
32540
32541 [BZ #13550]
32542 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32543 (BOUNDED_1): Remove macro.
32544 * debug/backtrace.c: Don't include <bp-checks.h>.
32545 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32546 (__backtrace): Likewise.
32547 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32548 <bp-checks.h>.
32549 (__backtrace): Don't use BOUNDED_1.
32550 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32551 <bp-checks.h>.
32552 (__backtrace): Don't use BOUNDED_1.
32553 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32554 (__backtrace): Don't use BOUNDED_1.
32555 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32556 (shmat): Don't use BOUNDED_N.
32557
8cf28c5e
JM
325582013-01-31 Joseph Myers <joseph@codesourcery.com>
32559
3a7ac8a0
JM
32560 [BZ #13550]
32561 * sysdeps/generic/bp-start.h: Remove file.
32562 * csu/libc-start.c: Don't include <bp-start.h>.
32563 (LIBC_START_MAIN): Set up __environ directly instead of using
32564 INIT_ARGV_and_ENVIRON.
32565 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32566 <bp-start.h>.
32567
f3499f95
JM
32568 [BZ #13550]
32569 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32570 definitions.
32571 (CHECK_FCNTL): Likewise.
32572 (CHECK_N_PAGES): Likewise.
32573
32a45bea
JM
32574 [BZ #13550]
32575 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32576 definitions.
32577 (CHECK_SIGSET_NULL_OK): Likewise.
32578 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32579 <bp-checks.h>.
32580 (sigpending): Don't use CHECK_SIGSET.
32581 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32582 <bp-checks.h>.
32583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32584 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32585 <bp-checks.h>.
32586 (do_sigsuspend): Don't use CHECK_SIGSET.
32587 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32588 use CHECK_SIGSET.
32589 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32590 (do_sigwait): Don't use CHECK_SIGSET.
32591 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32592 use CHECK_SIGSET.
32593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32594 include <bp-checks.h>.
32595 (sigpending): Don't use CHECK_SIGSET.
32596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32597 include <bp-checks.h>.
32598 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32599 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32600 <bp-checks.h>.
32601 (sigpending): Don't use CHECK_SIGSET.
32602 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32603 <bp-checks.h>.
32604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32605
2e8a5c8c
JM
32606 [BZ #13550]
32607 * sysdeps/generic/bp-semctl.h: Remove file.
32608 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32609 <bp-checks.h> and <bp-semctl.h>.
32610 (__old_semctl): Don't use CHECK_SEMCTL.
32611 (__new_semctl): Likewise.
32612 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32613 and <bp-semctl.h>.
32614 (__old_semctl): Don't use CHECK_SEMCTL.
32615 (__new_semctl): Likewise.
32616 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32617 <bp-checks.h> and <bp-semctl.h>.
32618 (__old_semctl): Don't use CHECK_SEMCTL.
32619 (__new_semctl): Likewise.
32620 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32621 <bp-checks.h> and <bp-semctl.h>.
32622 (semctl): Don't use CHECK_SEMCTL.
32623
c2d54929
JM
32624 [BZ #13550]
32625 * Makerules (elide-bp-thunks): Remove variable.
32626 (elide-routines.oS): Don't use $(elide-bp-thunks).
32627 (elide-routines.os): Likewise.
32628 (elide-routines.o): Likewise.
32629 (elide-routines.op): Likewise.
32630 (elide-routines.og): Likewise.
32631 (objects): Don't use $(bp-thunks).
32632 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32633 include.
32634 (common-generated): Do not add s-proto-bp.d.
32635 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32636 (int): Likewise.
32637 (typ): Likewise.
32638 Do not generate makefile rules for bounded-pointer thunks.
32639 * sysdeps/generic/bp-thunks.h: Remove file.
32640 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32641 * sysdeps/unix/s-proto-bp.S: Likewise.
32642
8cf28c5e
JM
32643 [BZ #15062]
32644 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32645 parts of result separately when argument is not close to line from
32646 -i to i and one part of argument is small.
32647 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32648 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32649 * math/libm-test.inc (cacos_test): Add more tests.
32650 (casin_test): Likewise.
32651 (casinh_test): Likewise.
32652 * sysdeps/i386/fpu/libm-test-ulps: Update.
32653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32654
c4e33b8d
DM
326552013-01-31 David S. Miller <davem@davemloft.net>
32656
32657 * po/de.po: Update from translation team.
32658
3b60b421
MK
326592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32660
32661 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32662
bb931195
TS
326632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32664
b5a5da23
TS
32665 * configure.in (_AC_PROG_CC_C89): New definition.
32666 * configure: Regenerate.
32667
bb931195
TS
32668 * configure.in (AC_PROG_CPP): New definition.
32669 * configure: Regenerate.
32670
8c53a12c
JM
326712013-01-23 Joseph Myers <joseph@codesourcery.com>
32672
32673 * debug/tst-backtrace.h: New file.
32674 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32675 (ret): Remove variable.
32676 (x): Likewise.
32677 (FAIL): Remove macro.
32678 (NO_INLINE): Likewise.
32679 (fn1): Use match function instead of strstr.
32680 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32681 (ret): Remove variable.
32682 (x): Likewise.
32683 (FAIL): Remove macro.
32684 (NO_INLINE): Likewise.
32685 (fn): Use match function instead of strstr.
32686 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32687 (ret): Remove variable.
32688 (x): Likewise.
32689 (FAIL): Remove macro.
32690 (NO_INLINE): Likewise.
32691 (handle_signal): Use match function instead of strstr.
32692 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32693 (ret): Remove variable.
32694 (x): Likewise.
32695 (FAIL): Remove macro.
32696 (NO_INLINE): Likewise.
32697 (handle_signal): Use match function instead of strstr.
32698
4858fa2a
RM
326992013-01-23 Roland McGrath <roland@hack.frob.com>
32700
32701 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32702
bae8e7f5
DM
327032013-01-23 David S. Miller <davem@davemloft.net>
32704
32705 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32706 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32707 argument of CAS if possible.
32708 * sysdeps/sparc/sparc64/bits/atomic.h
32709 (__arch_compare_and_exchange_val_32_acq): Likewise.
32710 (__arch_compare_and_exchange_val_64_acq): Likewise.
32711
9cbbc4ae
PT
327122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32713
32714 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32715 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32716 Include <limits.h>.
67b3f58c 32717 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32718
5655a0b5
AC
327192013-01-23 Adam Conrad <adconrad@0c3.net>
32720
32721 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32722 (LDFLAGS-tst-array5): Likewise.
32723
052aff95
JM
327242013-01-23 Joseph Myers <joseph@codesourcery.com>
32725
32726 [BZ #15036]
32727 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32728 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32729 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32730 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32731
7c1e01aa
DM
327322013-01-21 David S. Miller <davem@davemloft.net>
32733
32734 * sysdeps/sparc/backtrace.c: New file.
32735 * sysdeps/sparc/sparc32/backtrace.h: New file.
32736 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32737 * sysdeps/sparc/sparc64/backtrace.h: New file.
32738 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32739 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32740 -funwind-tables.
32741
ab087e0a
AS
327422013-01-21 Andreas Schwab <schwab@suse.de>
32743
32744 [BZ #15020]
32745 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32746 closed its stdout.
32747
ed689c2f
AS
327482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32749
32750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32751 "mpa2.h".
32752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32753
31d470ac
JM
327542013-01-18 Joseph Myers <joseph@codesourcery.com>
32755 Mark Mitchell <mark@codesourcery.com>
32756 Tom de Vries <tom@codesourcery.com>
32757 Paul Pluzhnikov <ppluzhnikov@google.com>
32758
32759 * debug/tst-backtrace2.c: New file.
32760 * debug/tst-backtrace3.c: Likewise.
32761 * debug/tst-backtrace4.c: Likewise.
32762 * debug/tst-backtrace5.c: Likewise.
32763 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32764 (CFLAGS-tst-backtrace3.c): Likewise.
32765 (CFLAGS-tst-backtrace4.c): Likewise.
32766 (CFLAGS-tst-backtrace5.c): Likewise.
32767 (LDFLAGS-tst-backtrace2): Likewise.
32768 (LDFLAGS-tst-backtrace3): Likewise.
32769 (LDFLAGS-tst-backtrace4): Likewise.
32770 (LDFLAGS-tst-backtrace5): Likewise.
32771 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32772 tst-backtrace4 and tst-backtrace5.
32773
90567f30 327742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32775 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32776
32777 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32778 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32780 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32782 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32783 "+r" and remove output regs list as redundant. Add explicit inline
32784 asm to specify register of return val to work around compiler codegen
32785 bug. Remove (int) cast on return value. Add return type parameter to
32786 use in macro so that this macro does not truncate return value for
32787 64-bit values.
32788 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32789 pass to INTERNAL_VSYSCALL_NCS.
32790 (INLINE_VSYSCALL): Add 'long int' as return type to
32791 INTERNAL_VSYSCALL_NCS macro invocation.
32792 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32793 INTERNAL_VSYSCALL_NCS macro invocation.
32794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32795
d3b9ea61
SP
327962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32797
0b57daeb
SP
32798 [BZ #14496]
32799 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32800 Fix application of SIMD FP exception mask.
32801
caa99d06
SP
32802 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32803 mp_no from a power of two.
32804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32805 __mpexp_twomm1. Use __pow_mp.
32806
d3b9ea61
SP
32807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32808 multiplication.
32809
1dbaee3c
DM
328102013-01-17 David S. Miller <davem@davemloft.net>
32811
32812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32813
728d7b43
JM
328142013-01-17 Joseph Myers <joseph@codesourcery.com>
32815
32816 [BZ #15023]
32817 * include/complex.h: Condition contents on [!_COMPLEX_H].
32818 (__kernel_casinhf): New prototype.
32819 (__kernel_casinh): Likewise.
32820 (__kernel_casinhl): Likewise.
32821 * math/Makefile (libm_calls): Add k_casinh.
32822 * math/k_casinh.c: New file.
32823 * math/k_casinhf.c: Likewise.
32824 * math/k_casinhl.c: Likewise.
32825 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32826 finite nonzero arguments.
32827 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32828 finite nonzero arguments.
32829 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32830 finite nonzero arguments.
32831 * math/s_casinh.c: Do not include <float.h>.
32832 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32833 * math/s_casinhf.c: Do not include <float.h>.
32834 (__casinhf): Move code for finite nonzero arguments to
32835 k_casinhf.c.
32836 * math/s_casinhl.c: Do not include <float.h>.
32837 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32838 redefine.
32839 (__casinhl): Move code for finite nonzero arguments to
32840 k_casinhl.c.
32841 * math/libm-test.inc (cacos_test): Add more tests.
32842 * sysdeps/i386/fpu/libm-test-ulps: Update.
32843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32844
2a26ef3a
PT
328452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32846
32847 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32848 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32849 [!HAVE_MREMAP]: Remove [defined linux] case.
32850 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32851
a897655d
SP
328522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32853
32854 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32855
881ebe89 328562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32857
32858 * elf/elf.h (R_386_SIZE32): New relocation.
32859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32860 R_386_SIZE32.
32861 (elf_machine_rela): Likewise.
32862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32863 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32864
59981e9b
JM
328652013-01-17 Joseph Myers <joseph@codesourcery.com>
32866
32867 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32868 (FP_FAST_FMA): Do not define.
32869 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32870 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32871 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32872 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32873 !_SOFT_FLOAT]: Likewise.
32874 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32876 value.
32877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32878 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32881 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32882 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32883 file.
32884
cfa8054f
AS
328852013-01-16 Andreas Schwab <schwab@suse.de>
32886
32887 [BZ #14327]
32888 * include/stdlib.h (__mktemp): Add declaration.
32889 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32890 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32891
dd930cc5
SP
328922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32893
881ebe89
SP
32894 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32895 definitions.
32896 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32897 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32898 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32899 definitions here.
32900 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32901 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32902 definitions.
32903 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32904 and ONE.
32905 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32906 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32907 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32908 definitions.
32909 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32910 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32911 definitions.
32912 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32913
dd930cc5
SP
32914 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32915
c19a9f89
DM
329162013-01-15 David S. Miller <davem@davemloft.net>
32917
1aa61767
DM
32918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32919 trunc{,f} to libm-sysdep_routes.
32920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32922 file.
32923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32925 file.
32926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32927 file.
32928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32930 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32931 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32932 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32934 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32935 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32936
c42d5e98
DM
32937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32938 nearbyint{,f} to libm-sysdep_routes.
32939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32941 New file.
32942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32943 file.
32944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32945 New file.
32946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32947 file.
32948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32951 file.
32952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32954 file.
32955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32956 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32957 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32958
c19a9f89
DM
32959 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32960 libc_feholdexcept and libc_fesetenv.
32961
357679d2
MF
329622013-01-15 Mike Frysinger <vapier@gentoo.org>
32963
32964 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32965
65a82e3d
DM
329662013-01-14 David S. Miller <davem@davemloft.net>
32967
8b954ab9
DM
32968 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32969 (SPARC_ASM_VIS2_IFUNC): Likewise.
32970 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32972 use of 'siam' instruction.
32973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32974 Likewise.
32975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32976 Likewise.
32977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32978 Likewise.
32979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32984 file.
32985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32986 file.
32987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32988 file.
32989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32990 file.
32991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32996 new VIS2 routines.
32997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33000 Likewise.
33001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33006 routines to libm-sysdep_routines.
33007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33008
65a82e3d
DM
33009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33010 fdim/fdimf to libm-sysdep_routines.
33011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33012 file.
33013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33015 file.
33016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33019 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33020 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33021 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33022 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33023
e34ab705
SP
330242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33025
2a91b573
SP
33026 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33027 to optimize copies.
33028
1066a534
SP
33029 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33032
e34ab705
SP
33033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33034 local variable MPTWO.
33035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33036 Likewise.
33037
aba5e596
MF
330382013-01-13 Mike Frysinger <vapier@gentoo.org>
33039
33040 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33041 GLOB_NOESCAPE.
33042
e557e9e5
MF
330432013-01-13 Mike Frysinger <vapier@gentoo.org>
33044
33045 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33046
0428cec9
MF
330472013-01-13 Mike Frysinger <vapier@gentoo.org>
33048
33049 * manual/pattern.texi (glob_t): Document gl_flags.
33050 (glob64_t): Likewise.
33051
8794a964
DM
330522013-01-11 David S. Miller <davem@davemloft.net>
33053
66438c3f
RM
33054 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33055 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33056 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33057 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33058 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33059 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33060 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33061 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33062 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33063 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33064 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33065 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33066 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33067
4ae4244d
DM
33068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33069 sparc V9 rather than using V8 code.
33070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33072
8794a964
DM
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33074 Move to...
33075 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33076 Here.
33077
6270516e
RM
330782013-01-11 Roland McGrath <roland@hack.frob.com>
33079
33080 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33081 not in the main loop.
33082 * configure: Regenerated.
33083
6a57d931
JM
330842013-01-11 Joseph Myers <joseph@codesourcery.com>
33085
33086 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33087 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33088 to just #else.
33089 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33090 [!__GLIBC_HAVE_LONG_LONG] case.
33091 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33092 condition to just #else.
33093 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33094 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33095 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33096 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33097 unconditional.
33098 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33099 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33100 #elif condition to just #else.
33101 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33102 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33103 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33104 #elif condition to just #else.
33105
0e8529e9
SE
331062013-01-11 Steve Ellcey <sellcey@mips.com>
33107
33108 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33109 (EF_MIPS_ARCH_64): Fix value.
33110 (EF_MIPS_ARCH_32R2): New.
33111 (EF_MIPS_ARCH_64R2): New.
33112
740b3dbe
L
331132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33114
33115 * Makeconfig (+link-pie-before-libc): New.
33116 (+link-pie-after-libc): Likewise.
33117 (+link-pie-tests): Likewise.
33118 (+link-pie): Rewritten.
33119 (link-before-libc): Remove $(config-LDFLAGS).
33120 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33121 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33122 (config-LDFLAGS): Renamed to ...
33123 (rtld-LDFLAGS): This.
33124 (rtld-tests-LDFLAGS): New macro.
33125 (link-libc-rpath-link): Likewise.
33126 (link-libc-tests-rpath-link): Likewise.
33127 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33128 (link-libc): Prepand $(link-libc-rpath-link).
33129 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33130 (test-program-prefix): New macro.
33131 (test-via-rtld-prefix): Likewise.
33132 (test-program-cmd): Likewise.
33133 (host-test-program-cmd): Likewise.
33134 * Makefile ($(common-objpfx)testrun.sh): Replace
33135 $(run-program-prefix) with $(test-program-prefix).
33136 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33137 $(rtld-LDFLAGS).
33138 ($(common-objpfx)shlib.lds): Likewise.
33139 (build-module-helper): Likewise.
33140 ($(common-objpfx)format.lds): Likewise.
33141 * Rules (binaries-pie-tests): New.
33142 (binaries-pie-notests): Likewise.
33143 (binaries-pie): Rewritten.
33144 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33145 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33146 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33147 (make-test-out): Replace $(host-built-program-cmd) with
33148 $(host-test-program-cmd).
33149 * config.make.in (build-hardcoded-path-in-tests): New variable.
33150 * configure.in (--enable-hardcoded-path-in-tests): New configure
33151 option.
33152 (hardcoded_path_in_tests): New AC_SUBST.
33153 * configure: Regenerated.
33154 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33155 $(built-program-cmd) with $(test-program-cmd).
33156 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33157 (test_program_cmd): This.
33158 * elf/Makefile ($(objpfx)order.out): Run test with
33159 $(test-program-prefix).
33160 ($(objpfx)order2.out): Likewise.
33161 ($(objpfx)tst-initorder.out): Likewise.
33162 ($(objpfx)tst-initorder2.out): Likewise.
33163 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33164 $(test-program-cmd).
33165 ($(objpfx)tst-array1-static.out): Likewise.
33166 ($(objpfx)tst-array2.out): Likewise.
33167 ($(objpfx)tst-array3.out): Likewise.
33168 ($(objpfx)tst-array4.out): Likewise.
33169 ($(objpfx)tst-array5.out): Likewise.
33170 ($(objpfx)tst-array5-static.out): Likewise.
33171 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33172 $(test-program-cmd).
33173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33174 $(run-program-prefix) with $(test-program-prefix).
33175 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33176 (test_program_prefix): This.
33177 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33178 $(run-program-prefix) with $(test-program-prefix).
33179 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33180 (test_program_prefix): This.
33181 * iconvdata/tst-tables.sh: Likewise.
33182 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33183 $(run-program-prefix) with $(test-program-prefix).
33184 ($(objpfx)tst-translit.out): Likewise.
33185 ($(objpfx)tst-gettext2.out): Likewise.
33186 ($(objpfx)tst-gettext4.out): Likewise.
33187 ($(objpfx)tst-gettext6.out): Likewise.
33188 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33189 (test_program_prefix): This.
33190 * intl/tst-gettext2.sh: Likewise.
33191 * intl/tst-gettext4.sh Likewise.
33192 * intl/tst-gettext6.sh: Likewise.
33193 * intl/tst-translit.sh: Likewise.
33194 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33195 with $(test-program-cmd).
33196 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33197 $(run-program-prefix) with $(test-program-prefix).
33198 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33199 (test_program_prefix): This.
33200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33201 $(run-program-prefix) with $(test-program-prefix).
33202 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33203 (test_program_prefix): This.
33204 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33205 * posix/Makefile ($(objpfx)globtest.out): Replace
33206 $(run-via-rtld-prefix) and $(test-wrapper) with
33207 $(test-program-prefix) and $(test-via-rtld-prefix).
33208 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33209 $(test-program-prefix).
33210 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33211 $(host-test-program-cmd).
33212 (tst-spawn-ARGS): Likewise.
33213 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33214 $(test-program-prefix).
33215 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33216 (test_via_rtld_prefix): This.
33217 (test_wrapper): Renamed to ...
33218 (test_program_prefix): This.
33219 (run_program_prefix): Replaced by test_program_prefix.
33220 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33221 (test_program_prefix): This.
33222 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33223 with $(host-test-program-cmd).
33224 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33225 $(run-program-prefix) with $(test-program-prefix).
33226 ($(objpfx)tst-printf.out): Likewise.
33227 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33228 $(test-program-cmd).
33229 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33230 (test_program_prefix): This.
33231 * stdio-common/tst-unbputc.sh: Likewise.
33232 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33233 $(run-program-prefix) with $(test-program-prefix).
33234 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33235 (test_program_prefix): This.
33236 * string/Makefile ($(objpfx)tst-svc.out): Replace
33237 $(built-program-cmd) with $(test-program-cmd).
33238
c6fe55cf
AJ
332392013-01-11 Andreas Jaeger <aj@suse.de>
33240
33241 [BZ #15003]
33242 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33243 value. Sync with Linux 3.7.
33244
9e6919c8
DM
332452013-01-10 David S. Miller <davem@davemloft.net>
33246
33247 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33248 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33249 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33250
1c9f1a02
RM
332512013-01-10 Roland McGrath <roland@hack.frob.com>
33252
33253 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33254 never set.
33255 * configure: Regenerated.
33256
b9de2dde
DM
332572013-01-10 David S. Miller <davem@davemloft.net>
33258
33259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33260 sparc V9 rather than using V8 code.
33261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33263
e7f68ef4
RM
332642013-01-10 Roland McGrath <roland@hack.frob.com>
33265
33266 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33267 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33268 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33269 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33270 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33271 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33272 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33273 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33274 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33275 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33276 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33277 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33278 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33279 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33280 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33281 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33282 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33283 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33284 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33285 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33286 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33287 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33288 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33289 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33290 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33291 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33292 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33293
5a47cc9c
DM
332942013-01-10 David S. Miller <davem@davemloft.net>
33295
33296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33297
4cf8f209
L
332982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33299
33300 * posix/Makefile (tests-static): New variable.
33301 (tests): Add $(tests-static).
33302 (tst-exec-static-ARGS): New variable.
33303 (tst-spawn-static-ARGS): Likewise.
33304 * posix/tst-exec-static.c: New file.
33305 * posix/tst-spawn-static.c: Likewise.
33306 * posix/tst-exec.c: Support run directly.
33307 * posix/tst-spawn.c: Likewise.
33308
fed0faa1
JM
333092013-01-10 Joseph Myers <joseph@codesourcery.com>
33310
828beb13
JM
33311 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33312 long.
33313 * math/bits/mathcalls.h (llrint): Likewise.
33314 (llround): Likewise.
33315 * stdlib/stdlib.h (struct drand48_data): Likewise.
33316 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33317 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33318 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33319 Likewise.
33320 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33321 Likewise.
33322 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33323 (elf_greg_t): Likewise.
33324 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33325 (__jmp_buf): Likewise.
33326 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33327 definitions.
33328 (llrint): Likewise, for all definitions.
33329 (llrintl): Likewise.
33330
fed0faa1
JM
33331 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33332 Remove [__GNUC__] condition.
33333 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33334 condition to just [__USE_ISOC99].
33335 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33336
1a20cb20
L
333372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33338
33339 [BZ #14200]
33340 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33341 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33342 defined.
33343 (_POSIX_V6_ILP32_OFF32): Likewise.
33344 (_XBS5_ILP32_OFF32): Likewise.
33345 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33346 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33347
751b85f7
SP
333482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33349
7490eb81
SP
33350 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33351
751b85f7
SP
33352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33353 doubles __mpexp_twomm1. Adjust usage.
33354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33355 Remove.
33356
988197f0
AS
333572013-01-10 Andreas Schwab <schwab@suse.de>
33358
33359 [BZ #14964]
33360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33361 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33362
e83d7298
DM
333632013-01-09 David S. Miller <davem@davemloft.net>
33364
034ed64b 33365 [BZ #15003]
57f41c40
AS
33366 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33367 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33368 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33369 (TCP_FASTOPEN): Define.
e83d7298
DM
33370 (tcp_repair_opt): New structure.
33371 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33372 enum values.
57f41c40
AS
33373 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33374 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33375 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33376 (tcp_cookie_transactions): New structure.
33377
d5e0b9bd
AB
333782013-01-09 Anton Blanchard <anton@samba.org>
33379
33380 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33381 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33383 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33384
0c07e3ea
JM
333852013-01-09 Joseph Myers <joseph@codesourcery.com>
33386
33387 * include/features.h (__USE_ANSI): Remove.
33388
232f7002
RM
333892013-01-09 Roland McGrath <roland@hack.frob.com>
33390
ad98e30c
RM
33391 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33392
232f7002
RM
33393 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33394
950c99ca
SP
333952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33396
b5792741
SP
33397 * sysdeps/s390/fpu/libm-test-ulps: Update.
33398
47cf2278
SP
33399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33400
950c99ca
SP
33401 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33402 (__acr): Likewise.
33403 (__cpy): Likewise.
33404 (norm): Likewise.
33405 (denorm): Likewise.
33406 (__mp_dbl): Likewise.
33407 (__dbl_mp): Likewise.
33408 (add_magnitudes): Likewise.
33409 (sub_magnitudes): Likewise.
33410 (__add): Likewise.
33411 (__sub): Likewise.
33412 (__mul): Likewise.
33413 (__inv): Likewise.
33414 (__dvd): Likewise.
33415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33416 (__acr): Likewise.
33417 (__cpy): Likewise.
33418 (norm): Likewise.
33419 (denorm): Likewise.
33420 (__mp_dbl): Likewise.
33421 (__dbl_mp): Likewise.
33422 (add_magnitudes): Likewise.
33423 (sub_magnitudes): Likewise.
33424 (__add): Likewise.
33425 (__sub): Likewise.
33426 (__mul): Likewise.
33427 (__inv): Likewise.
33428 (__dvd): Likewise.
33429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33430 (__acr): Likewise.
33431 (__cpy): Likewise.
33432 (norm): Likewise.
33433 (denorm): Likewise.
33434 (__mp_dbl): Likewise.
33435 (__dbl_mp): Likewise.
33436 (add_magnitudes): Likewise.
33437 (sub_magnitudes): Likewise.
33438 (__add): Likewise.
33439 (__sub): Likewise.
33440 (__mul): Likewise.
33441 (__inv): Likewise.
33442 (__dvd): Likewise.
33443
eede9df9
JM
334442013-01-08 Joseph Myers <joseph@codesourcery.com>
33445
33446 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33447 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33448 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33449 2 && __USE_EXTERN_INLINES]: Likewise.
33450
c40ea3d9
AJ
334512013-01-08 Andreas Jaeger <aj@suse.de>
33452
33453 [BZ# 14985]
33454 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33455 Remove.
33456 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33457 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33458
2ccdea26
AB
334592013-01-07 Anton Blanchard <anton@samba.org>
33460
33461 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33462 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33463 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33464 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33465 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33466 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33467 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33468 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33475 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33480 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33482 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33484 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33485 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33486 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33487 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33488 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33490 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33494 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33495 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33501 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33503 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33504
a9708fed
JM
335052013-01-07 Joseph Myers <joseph@codesourcery.com>
33506
375607b9
JM
33507 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33508 (__MALLOC_PMT): Likewise.
33509 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33510 [__GNUC__], only on [_LIBC].
33511 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33512 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33513 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33514 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33515 forward declaration.
33516 (realloc_hook_ini): Likewise.
33517 (memalign_hook_ini): Likewise.
33518 (__libc_memalign): Do not use __MALLOC_PMT in variable
33519 declaration.
33520 (__libc_valloc): Likewise.
33521 (__libc_pvalloc): Likewise.
33522 (__libc_calloc): Likewise.
33523 (__posix_memalign): Likewise.
33524
a9708fed
JM
33525 [BZ #14996]
33526 * math/s_casinh.c: Include <float.h>.
33527 (__casinh): Do not do computation with squaring and square root
33528 for large arguments.
33529 * math/s_casinhf.c: Include <float.h>.
33530 (__casinhf): Do not do computation with squaring and square root
33531 for large arguments.
33532 * math/s_casinhl.c: Include <float.h>.
33533 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33534 (__casinhl): Do not do computation with squaring and square root
33535 for large arguments.
33536 * math/libm-test.inc (casin_test): Add more tests.
33537 (casinh_test): Likewise.
33538 * sysdeps/i386/fpu/libm-test-ulps: Update.
33539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33540
afec409a
L
335412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33542
33543 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33544 (__x86_64_raw_data_cache_size): Likewise.
33545 (__x86_64_data_cache_size_half): Likewise.
33546 (__x86_64_raw_data_cache_size_half): Likewise.
33547 (__x86_64_shared_cache_size): Likewise.
33548 (__x86_64_raw_shared_cache_size): Likewise.
33549 (__x86_64_shared_cache_size_half): Likewise.
33550 (__x86_64_raw_shared_cache_size_half): Likewise.
33551 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33552 to ...
33553 (__x86_data_cache_size): This.
33554 (__x86_64_raw_data_cache_size): Renamed to ...
33555 (__x86_raw_data_cache_size): This.
33556 (__x86_64_data_cache_size_half): Renamed to ...
33557 (__x86_data_cache_size_half): This.
33558 (__x86_64_raw_data_cache_size_half): Renamed to ...
33559 (__x86_raw_data_cache_size_half): This.
33560 (__x86_64_shared_cache_size): Renamed to ...
33561 (__x86_shared_cache_size): This.
33562 (__x86_64_raw_shared_cache_size): Renamed to ...
33563 (__x86_raw_shared_cache_size): This.
33564 (__x86_64_shared_cache_size_half): Renamed to ...
33565 (__x86_shared_cache_size_half): This.
33566 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33567 (__x86_raw_shared_cache_size_half): This.
33568 * sysdeps/x86_64/memcpy.S: Updated.
33569 * sysdeps/x86_64/memset.S: Likewise.
33570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33573
0b3986d0
DM
335742013-01-04 David S. Miller <davem@davemloft.net>
33575
33576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33577
e47686e9
AS
335782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33579
d643bac1
AS
33580 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33581 1 to avoid redefinition warning.
33582 (__USE_GNU): Don't define.
33583 (init_signaling_nan): Protoize.
33584
e47686e9
AS
33585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33586
b18decba
SP
335872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33588
fffb407f
SP
33589 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33591 (__cpymn): Likewise.
33592 (norm): Remove commented code.
33593 (denorm): Likewise.
33594 (__mp_dbl): Likewise.
33595 (__inv): Likewise.
33596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33597 (__cpymn): Likewise.
33598 (norm): Remove commented code.
33599 (denorm): Likewise.
33600 (__mp_dbl): Likewise.
33601 (__inv): Likewise.
33602
b18decba
SP
33603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33604 mp_no value for 1.0 and 2.0.
33605 (norm): Use RADIXI instead of radixi.d.
33606 (denorm): Likewise.
33607 (__mul): Use 0.0 instead of zero.d.
33608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33609 mp_no value for 1.0 and 2.0.
33610 (norm): Use RADIXI instead of radixi.d.
33611 (denorm): Likewise.
33612 (__mul): Use 0.0 instead of zero.d.
33613
cdc1c96f
JM
336142013-01-04 Joseph Myers <joseph@codesourcery.com>
33615
33616 [BZ #14994]
33617 * math/s_casinh.c (__casinh): Reduce finite argument to first
33618 quadrant then set signs of results at the end.
33619 * math/s_casinhf.c (__casinhf): Likewise.
33620 * math/s_casinhl.c (__casinhl): Likewise.
33621 * math/libm-test.inc (casin_test): Add more tests.
33622 (casinh_test): Likewise.
33623 * sysdeps/i386/fpu/libm-test-ulps: Update.
33624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33625
302913e1
SP
336262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33627
6420d207
SP
33628 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33629
a9e48ab4
SP
33630 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33631
b7837264
SP
33632 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33633 declarations.
33634 (denorm): Likewise.
33635 (__mp_dbl): Likewise.
33636 (__inv): Likewise.
33637
f8af25d2
SP
33638 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33639 and adjust the header comment.
33640
302913e1
SP
33641 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33642 variable name from declaration.
33643
5d7dd1ca
L
336442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33645
33646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33647 Initialize COMMON_CPUID_INDEX_7 element.
33648 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33649 (CPUID_RTM): Likewise.
33650 (HAS_RTM): Likewise.
33651 (COMMON_CPUID_INDEX_7): New enum.
33652
2f5f40f4
AS
336532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33654
33655 [BZ #14981]
33656 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33657 size is zero, record memory as freed.
33658
4056f4a0
AJ
336592013-01-03 Andreas Jaeger <aj@suse.de>
33660
33661 * po/ia.po: Add new Interlingua translation.
33662
ab15736f 336632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33664
33665 * locale/programs/localedef.c: Fix description of '--posix' flag.
33666
568035b7
JM
336672013-01-02 Joseph Myers <joseph@codesourcery.com>
33668
e6898b8d
JM
33669 * NEWS: Update dates in second copyright notice.
33670 * README: Update copyright dates in example.
33671 * manual/libc.texinfo: Update copyright dates.
33672 * scripts/test-installation.pl: Update copyright date in --version
33673 output.
33674
0e2f9562
JM
33675 * hurd/ctty-input.c: Fix copyright notice formatting.
33676 * hurd/ctty-output.c: Likewise.
33677 * hurd/dtable.c: Likewise.
33678 * hurd/hurd-raise.c: Likewise.
33679 * hurd/hurdprio.c: Likewise.
33680 * hurd/msgportdemux.c: Likewise.
33681 * misc/sys/file.h: Likewise.
33682 * misc/sys/ioctl.h: Likewise.
33683 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33684 * sysdeps/mach/hurd/chdir.c: Likewise.
33685 * sysdeps/mach/hurd/fchdir.c: Likewise.
33686 * sysdeps/mach/hurd/rename.c: Likewise.
33687 * sysdeps/mach/hurd/rmdir.c: Likewise.
33688 * sysdeps/mach/hurd/seekdir.c: Likewise.
33689 * sysdeps/mach/hurd/setsid.c: Likewise.
33690 * sysdeps/posix/wait3.c: Likewise.
33691
568035b7
JM
33692 * All files with FSF copyright notices: Update copyright dates
33693 using scripts/update-copyrights.
33694 * intl/plural.c: Regenerated.
33695 * locale/programs/charmap-kw.h: Likewise.
33696 * locale/programs/locfile-kw.h: Likewise.
33697
da08f647
SP
336982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33699
0f5477af
SP
33700 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33701 four values.
33702
44e0d4c2
SP
33703 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33704 calculation loop and add branch prediction.
33705
4d55b4e5
SP
33706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33707 check access beyond bounds of m1np.
33708
da08f647
SP
33709 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33710 MPTWO.
33711 (__inv): Remove local variable MPTWO to use the global
33712 constant.
33713 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33715 variable MPTWO.
33716 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33717 MP3HALFS static const.
33718
8e051029
DM
337192013-01-01 David S. Miller <davem@davemloft.net>
33720
33721 * po/ca.po: Update from translation team.
33722
f4cf5f2d
JM
337232013-01-01 Joseph Myers <joseph@codesourcery.com>
33724
33725 * scripts/update-copyrights: New file.
33726 * Makeconfig: Reformat copyright notice.
33727 * ctype/ctype.h: Likewise.
33728 * debug/swprintf_chk.c: Likewise.
33729 * elf/dl-cache.c: Likewise.
33730 * elf/dl-debug.c: Likewise.
33731 * elf/dl-object.c: Likewise.
33732 * grp/initgroups.c: Likewise.
33733 * hurd/Makefile: Likewise.
33734 * hurd/hurd/signal.h: Likewise.
33735 * hurd/hurdfault.c: Likewise.
33736 * hurd/hurdioctl.c: Likewise.
33737 * hurd/hurdlookup.c: Likewise.
33738 * hurd/intr-msg.c: Likewise.
33739 * iconv/gconv_open.c: Likewise.
33740 * libio/swprintf.c: Likewise.
33741 * locale/lc-ctype.c: Likewise.
33742 * locale/nl_langinfo.c: Likewise.
33743 * mach/Machrules: Likewise.
33744 * mach/Makefile: Likewise.
33745 * malloc/obstack.h: Likewise.
33746 * manual/Makefile: Likewise.
33747 * manual/tsort.awk: Likewise.
33748 * misc/bits/stab.def: Likewise.
33749 * nis/nis_print_group_entry.c: Likewise.
33750 * nis/nis_table.c: Likewise.
33751 * nis/nss_compat/compat-pwd.c: Likewise.
33752 * nis/nss_compat/compat-spwd.c: Likewise.
33753 * po/Makefile: Likewise.
33754 * posix/fnmatch.c: Likewise.
33755 * posix/regex.h: Likewise.
33756 * resolv/Makefile: Likewise.
33757 * resolv/nss_dns/dns-network.c: Likewise.
33758 * resolv/res_hconf.c: Likewise.
33759 * scripts/gen-sorted.awk: Likewise.
33760 * soft-fp/soft-fp.h: Likewise.
33761 * stdio-common/printf.h: Likewise.
33762 * stdlib/monetary.h: Likewise.
33763 * stdlib/random.c: Likewise.
33764 * stdlib/random_r.c: Likewise.
33765 * sysdeps/generic/Makefile: Likewise.
33766 * sysdeps/gnu/Makefile: Likewise.
33767 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33774 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33777 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33780 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33781 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33787 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33788 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33795 * sysdeps/mach/hurd/errnos.awk: Likewise.
33796 * sysdeps/mach/hurd/fork.c: Likewise.
33797 * sysdeps/mach/hurd/getcwd.c: Likewise.
33798 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33799 * sysdeps/mach/hurd/mmap.c: Likewise.
33800 * sysdeps/mach/hurd/utimes.c: Likewise.
33801 * sysdeps/mach/hurd/xmknod.c: Likewise.
33802 * sysdeps/posix/profil.c: Likewise.
33803 * sysdeps/posix/readdir_r.c: Likewise.
33804 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33805 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33806 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33807 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33809 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33810 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33811 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33813 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33815 * sysdeps/pthread/lio_listio.c: Likewise.
33816 * sysdeps/sparc/dl-procinfo.h: Likewise.
33817 * sysdeps/unix/i386/sysdep.S: Likewise.
33818 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33819 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33820 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33821 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33823 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33824 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33825 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33826 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33827 * sysdeps/wordsize-32/divdi3.c: Likewise.
33828 * time/sys/time.h: Likewise.
33829 * wcsmbs/Makefile: Likewise.
33830
0549fbba
DM
338312013-01-01 David S. Miller <davem@davemloft.net>
33832
a141f1a7
DM
33833 * po/fr.po: Update from translation team.
33834
0549fbba
DM
33835 * catgets/gencat.c: Update copyright year.
33836 * csu/version.c: Likewise.
33837 * debug/catchsegv.sh: Likewise.
33838 * debug/pcprofiledump.c: Likewise.
33839 * debug/xtrace.sh: Likewise.
33840 * elf/ldconfig.c: Likewise.
33841 * elf/ldd.bash.in: Likewise.
33842 * elf/pldd.c: Likewise.
33843 * elf/sotruss.ksh: Likewise.
33844 * elf/sprof.c: Likewise.
33845 * iconv/iconv_prog.c: Likewise.
33846 * iconv/iconvconfig.c: Likewise.
33847 * locale/programs/locale.c: Likewise.
33848 * locale/programs/localedef.c: Likewise.
33849 * login/programs/pt_chown.c: Likewise.
33850 * malloc/memusage.sh: Likewise.
33851 * malloc/memusagestat.c: Likewise.
33852 * malloc/mtrace.pl: Likewise.
33853 * nscd/nscd.c: Likewise.
33854 * nss/getent.c: Likewise.
33855 * nss/makedb.c: Likewise.
33856 * posix/getconf.c: Likewise.
33857
18ea052c
SP
338582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33859
33860 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33861 numbers.
33862
9c89fca6
MF
338632012-12-30 Mike Frysinger <vapier@gentoo.org>
33864
33865 * math/bits/mathcalls.h (modf): Use __nonnull.
33866
085ec079
SP
338672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33868
33869 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33870 (split): Use macro CN instead of the bare value.
33871 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33872 could be used.
33873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33874 instead of the bare value.
33875 (power1): Likewise.
33876
6d9f97e1
SP
338772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33878
d63f73be
SP
33879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33880 __ATAN_TWOM.
33881 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33882
6d9f97e1
SP
33883 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33884 their values.
33885 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33887 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33888 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33889
4c4febf5
AJ
338902012-12-28 Andreas Jaeger <aj@suse.de>
33891
af5843ef
AJ
33892 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33893 values are from Linux 3.7.
33894
4c4febf5
AJ
33895 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33896 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33897
99136f82
SP
338982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33899
2f216c3c 33900 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33901 TRUE case.
33902
99136f82
SP
33903 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33904 (norm): Likewise.
33905 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33906 variables with preprocessor constants.
33907 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33908 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33910
7fffbdff
BH
339112012-12-27 Bruno Haible <bruno@clisp.org>
33912
33913 [BZ #14317]
33914 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33915 only if needed.
33916
b76eb5f0
SP
339172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33918
31a7fe5c
SP
33919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33920 and use variable directly.
33921 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33922
b76eb5f0
SP
33923 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33924 MPONE.
33925 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33927 variable MPONE.
33928 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33930 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33931 include directive. Remove local variable MPONE.
33932 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33933 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33934 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33935
2c8bfe7d
DM
339362012-12-25 David S. Miller <davem@davemloft.net>
33937
33938 * version.h (RELEASE): Set to "development".
33939 (VERSION): Set to "2.17.90".
33940 * NEWS: Add 2.18 section.
33941
147d03b0
DM
339422012-12-21 David S. Miller <davem@davemloft.net>
33943
33944 * po/hr.po: Update from translation team.
33945
a8ebb2b9
AK
339462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33947
33948 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33949
95b4f1b6
SE
339502012-12-19 Steve Ellcey <sellcey@mips.com>
33951
b2d94007 33952 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33953
cedb2a90
MS
339542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33955
33956 * manual/contrib.texi (Contributors): Spelling correction.
33957
bbf527d6
DM
339582012-12-15 David S. Miller <davem@davemloft.net>
33959
33960 * po/ru.po: Update from translation team.
33961
bc38c906
DM
339622012-12-13 David S. Miller <davem@davemloft.net>
33963
85429b1a
DM
33964 * NEWS: Mention IFUNC testsuite enhancements.
33965
d283e353
DM
33966 * po/pl.po: Update from translation team.
33967 * po/bg.po: Likewise.
33968
bc38c906
DM
33969 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33970 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33971
a181b0d7
DM
339722012-12-11 David S. Miller <davem@davemloft.net>
33973
4641d57e
DM
33974 * po/sv.po: Update from translation team.
33975
f7bc6495
DM
33976 * po/vi.po: Update from translation team.
33977
6fc9048f
DM
33978 * po/cs.po: Update from translation team.
33979
a181b0d7
DM
33980 * po/de.po: Update from translation team.
33981 * po/eo.po: Likewise.
33982 * po/nl.po: Likewise.
33983
f70bfe80
SP
339842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33985
3c8b4190
SP
33986 [BZ #14246]
33987 * manual/argp.texi (Argp Helper Functions): Move node to follow
33988 Argp Parsing State.
33989
f70bfe80
SP
33990 [BZ #14872]
33991 * manual/conf.texi (Limits on File System Capacity): Mention if
33992 terminating null is included in the max size.
33993
188f0adf
AJ
339942012-12-10 Andreas Jaeger <aj@suse.de>
33995
33996 * po/cs.po: Update from translation team.
33997
56e7d3ad
SP
339982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33999
34000 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34001 void pointer and cast to uintptr_t.
34002 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34003 path.
34004 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34005 * sysdeps/s390/s390-64/memset.S: Likewise.
34006
76f2d2ea 340072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34008
34009 [BZ #14833]
34010 * menual/message.texi (Message Translation): Fix typos.
34011 (Helper programs for gettext): Likewise.
34012
67cbf9a2
AS
340132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34014
34015 [BZ #14898]
34016 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34017 Change to -1.
34018
682d0e9a
DM
340192012-12-07 David S. Miller <davem@davemloft.net>
34020
34021 * po/libc.pot: Update.
34022
573cd484
RH
340232012-12-07 Richard Henderson <rth@redhat.com>
34024
7e9da188 34025 [BZ #10114]
573cd484
RH
34026 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34027 normal/normal case to before the switch.
34028 (_FP_DIV): Likewise.
34029
e933a943
MF
340302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34031 Mike Frysinger <vapier@gentoo.org>
34032
34033 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34034 check for __NR_fadvise64_64.
34035
82123268
CM
340362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34037
34038 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34039 0, not just to plain "0" as a statement.
34040 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34041 with cw.
34042
d9814526
JM
340432012-12-06 Joseph Myers <joseph@codesourcery.com>
34044
34045 * NEWS: Use sourceware.org in Bugzilla URL.
34046
7728c574
SP
340472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34048
f16946dd
SP
34049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34050 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34051
5704bbcb
SP
34052 * stdio-common/tst-put-error.c (do_test): Add newline to the
34053 padded test to ensure flush.
34054
17aa0516
JL
340552012-12-05 Jeff Law <law@redhat.com>
34056
34057 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34058
363313b5
JM
340592012-12-05 Joseph Myers <joseph@codesourcery.com>
34060
effbd42a
JM
34061 * README: Don't refer to ports add-on as distributed separately.
34062 Mention AArch64 in list of systems supported in the ports add-on.
34063
87600365
JM
34064 * LICENSES: Add more non-FSF copyright and license notices.
34065
a0d7066a
JM
34066 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34067 ((unused)).
34068
66ca5a5b
JM
34069 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34070
363313b5
JM
34071 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34072 10000 as width of padded output.
34073
b37984ad
JM
340742012-12-04 Joseph Myers <joseph@codesourcery.com>
34075
9003570a
JM
34076 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34077
b37984ad
JM
34078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34079 variable LX with __attribute__ ((unused)).
34080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34081 Likewise.
34082 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34085 with __attribute__ ((unused)).
34086
c8df52ec
DM
340872012-12-04 David S. Miller <davem@abraco.davemloft.net>
34088
34089 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34090
b3b099af
JM
340912012-12-04 Joseph Myers <joseph@codesourcery.com>
34092
c33aa6e3
JM
34093 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34094 (CFLAGS-nldbl-acos.c): New variable.
34095 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34096 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34097 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34098 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34099 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34100 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34101 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34102 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34103 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34104 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34105 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34106 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34107 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34108 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34109 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34110 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34111 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34112 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34113 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34114 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34115 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34116 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34117 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34118 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34119 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34120 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34121 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34122 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34123 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34124 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34125 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34126 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34127 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34128 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34129 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34130 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34131 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34132 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34133 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34134 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34135 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34136 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34137 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34138 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34139 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34140 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34141 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34142 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34143 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34144 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34145 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34146 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34147 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34148 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34149 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34150 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34151 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34152 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34153 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34154 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34155 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34156 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34157 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34158 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34159 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34160 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34161 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34162 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34163 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34164 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34165 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34166 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34167 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34168 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34169 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34170 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34171 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34172 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34173 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34174 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34175 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34176 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34177 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34178 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34179 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34180 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34181 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34182 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34183 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34184 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34185 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34186 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34187 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34188 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34189 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34190 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34191 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34192
20f0018d
JM
34193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34194 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34195
b3b099af
JM
34196 [BZ #14914]
34197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34198 whole low double instead of just low 47 bits when splitting values
34199 into two parts.
34200
029264d1
AM
342012012-12-03 Allan McRae <allan@archlinux.org>
34202
34203 * manual/stdio.texi (Predefined Printf Handlers): Remove
34204 @hsep and @vsep usage.
34205
c9d6789e
MF
342062012-12-03 Mike Frysinger <vapier@gentoo.org>
34207
34208 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34209 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34210
4b7634a5
JL
342112012-12-03 Jeff Law <law@redhat.com>
34212
34213 * time/sys/time.h (settimeofday): Do not mark TV argument
34214 as __nonnull.
34215
eb6cbd24
MF
342162012-12-01 Mike Frysinger <vapier@gentoo.org>
34217
34218 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34219 when currently writing and seek to current position when not.
34220 * libio/Makefile (tests): Remove bug-fclose1.
34221 * libio/bug-fclose1.c: Delete.
34222
f638872a
JM
342232012-12-01 Joseph Myers <joseph@codesourcery.com>
34224
34225 * manual/arith.texi (feenableexcept): Fix typo.
34226 (fedisableexcept): Likewise.
34227
48085d14
RM
342282012-11-30 Roland McGrath <roland@hack.frob.com>
34229
34230 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34231 second, differently-typed declaration, rather than a cast.
34232
1a538b9f
SP
342332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34234
34235 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34236 * include/rpc/svc.h: ... here.
34237
d07f2ff1 342382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34239
34240 [BZ #13013]
34241 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34242 depending n and resplen2 to catch cases where answer
34243 equals answerp2.
34244
c93ec1f0
CD
342452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34246
34247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34248 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34249
37db69de
MF
342502012-11-29 Mike Frysinger <vapier@gentoo.org>
34251
34252 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34253
e10c4e4f
RM
342542012-11-29 Roland McGrath <roland@hack.frob.com>
34255
34256 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34257
2af1b328
JL
342582012-11-28 Jeff Law <law@redhat.com>
34259
34260 [BZ #13761]
34261 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34262 dataset_temporary. Track alloca usage into alloca_used.
34263 If dataset is large allocate and release it via malloc/free.
34264
111db5b1
FW
342652012-06-04 Florian Weimer <fweimer@redhat.com>
34266
f06cc227 34267 [BZ #14197]
111db5b1
FW
34268 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34269
dd694abd
DM
342702012-11-28 David S. Miller <davem@davemloft.net>
34271
34272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34273
9984dd01
JM
342742012-11-28 Joseph Myers <joseph@codesourcery.com>
34275
34276 [BZ #14803]
34277 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34278 of pi/2 rounded to nearest to 64 bits.
34279 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34280 nearest to 64 bits.
34281 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34282 bits.
34283
14bc93a9
JL
342842012-11-28 Jeff Law <law@redhat.com>
34285 Martin Osvald <mosvald@redhat.com>
34286
34287 [BZ #14889]
34288 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34289 * sunrpc/svc.c: Include time.h.
34290 (__svc_accept_failed): New function.
34291 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34292 any reason other than EINTR, call __svc_accept_failed.
34293 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34294 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34295
e3c6aa3a
AS
342962012-11-28 Andreas Schwab <schwab@suse.de>
34297
34298 * scripts/abilist.awk: Also handle indirect functions in .opd
34299 section.
34300
1bead169
JM
343012012-11-28 Joseph Myers <joseph@codesourcery.com>
34302
34303 [BZ #13881]
34304 * sysdeps/x86/fpu/powl_helper.c: New file.
34305 * sysdeps/x86/fpu/Makefile: Likewise.
34306 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34307 (p3): New object.
34308 (__ieee754_powl): Use __powl_helper for finite arguments except
34309 integer exponents below 8.
34310 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34311 (p3): New object.
34312 (__ieee754_powl): Use __powl_helper for finite arguments except
34313 integer exponents below 8.
34314 * math/libm-test.inc (pow_test): Add more tests and enable some
34315 previously disabled tests.
34316 * sysdeps/i386/fpu/libm-test-ulps: Update.
34317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34318
0817d63d
SP
343192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34320 Carlos O'Donell <carlos_odonell@mentor.com>
34321
34322 * nss/makedb.c (is_prime): Assert that input is odd and greater
34323 than 4. Note that fact in a comment too.
34324 (next_prime): Add 4 to input.
34325
de2fd463
SP
343262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34327
34328 [BZ #11741]
34329 * libio/Makefile (tests): Add test case tst-fwrite-error.
34330 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34331 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34332 * libio/tst-fwrite-error.c: New test case.
34333
c515fb51
L
343342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34335
34336 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34337 before casting to void *.
34338 * include/libc-internal.h (__pointer_type): New macro.
34339 (__integer_if_pointer_type_sub): Likewise.
34340 (__integer_if_pointer_type): Likewise.
34341 (cast_to_integer): Likewise.
34342 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34343 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34344 before casting to atomic64_t.
34345 (atomic_exchange_acq): Likewise.
34346 (__arch_exchange_and_add_body): Likewise.
34347 (__arch_add_body): Likewise.
34348 (atomic_add_negative): Likewise.
34349 (atomic_add_zero): Likewise.
34350
4cf77aa9
JM
343512012-11-26 Joseph Myers <joseph@codesourcery.com>
34352
34353 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34354 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34355 (add_fdes): Likewise.
34356 (linear_search_fdes): Likewise.
34357 (binary_search_unencoded_fdes): Likewise.
34358
d260b3b4
AS
343592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34360
34361 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34362
67060746
AC
343632012-11-24 Adam Conrad <adconrad@0c3.net>
34364
34365 * configure.in: Autodetect C++ header directories.
34366 * configure: Regenerated.
34367
800938a1
MF
343682012-11-23 Mike Frysinger <vapier@gentoo.org>
34369
34370 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34371
4e6e34e6
AS
343722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34373
34374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34375
7c7feb47
JM
343762012-11-22 Joseph Myers <joseph@codesourcery.com>
34377
7184dcdf
JM
34378 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34379 LDBL_MANT_DIG == 106]: Disable some tests.
34380 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34381 Likewise.
34382 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34383 Likewise.
34384
0a42601f
JM
34385 [BZ #14871]
34386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34387 input for small inputs. Return +/- pi/2 for large inputs.
34388 * math/libm-test.inc (atan_test): Add more tests.
34389
79c9b9fe
JM
34390 * sysdeps/generic/unwind-dw2-fde-glibc.c
34391 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34392 __attribute__ ((unused)).
34393
c60d3bf2
JM
34394 [BZ #14645]
34395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34396 x * y if x and y are nonzero and z is zero.
34397
ef1e0867
JM
34398 [BZ #14811]
34399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34400 nonzero exponents with absolute value below 0x1p-117 to +/-
34401 0x1p-117.
34402
1468ded3
JM
34403 [BZ #14869]
34404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34405 up arguments below 2**-450, not just those below 2**-500.
34406 * math/libm-test.inc (hypot_test): Add another test.
34407
8e27e3cc
JM
34408 [BZ #14868]
34409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34410 Return a+b for ratio over 2**120, not 2**60.
34411 * math/libm-test.inc (hypot_test): Add another test.
34412
c9c0279b
JM
34413 * math/libm-test.inc (clog_test): Use
34414 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34415 (clog10_test): Likewise.
34416
7c7feb47
JM
34417 [BZ #6778]
34418 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34419
fff1530e
AS
344202012-11-22 Andreas Schwab <schwab@suse.de>
34421
34422 * sysdeps/i386/fpu/libm-test-ulps: Update.
34423
94558d30
PT
344242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34425
34426 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34427 printf output with newline.
34428
7e1be741
L
344292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34430
6bfea974
L
34431 [BZ #14865]
34432 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34433 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34434 -z nodlopen, -z initfirst and -z execstack support.
34435 * configure: Regenerated.
34436
7e1be741
L
34437 * elf/elf.h (DF_1_NODIRECT): New macro.
34438 (DF_1_IGNMULDEF): Likewise.
34439 (DF_1_NOKSYMS): Likewise.
34440 (DF_1_NOHDR): Likewise.
34441 (DF_1_EDITED): Likewise.
34442 (DF_1_NORELOC): Likewise.
34443 (DF_1_SYMINTPOSE): Likewise.
34444 (DF_1_GLOBAUDIT): Likewise.
34445 (DF_1_SINGLETON): Likewise.
34446 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34447 DT_1_SUPPORTED_MASK bits.
34448 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34449
105ce2ce
CD
344502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34451
34452 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34453
123be9de
TS
344542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34455
d072f3f7
TS
34456 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34457 macro.
34458
123be9de
TS
34459 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34460 (sendmmsg): Move declarations...
34461 * socket/sys/socket.h: ... here.
34462 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34463 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34464 include it from...
34465 * socket/recvmmsg.c: ... this new file.
34466 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34467 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34468 definition of __sendmmsg hidden.
34469 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34470 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34471 Move ENOSYS stub into and include it from...
34472 * socket/sendmmsg.c: ... this new file.
34473 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34474 (sysdep_routines): Move recvmmsg and sendmmsg...
34475 * socket/Makefile (routines): ... here.
34476 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34477 (GLIBC_PRIVATE): Add __sendmmsg.
34478 * include/sys/socket.h (__sendmmsg): Add declarations.
34479 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34480 sendmmsg.
34481
cf9a5d18
JM
344822012-11-20 Joseph Myers <joseph@codesourcery.com>
34483
34484 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34485 variable I1 with __attribute__ ((unused)).
34486 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34487
ecd4caf9
JM
344882012-11-19 Joseph Myers <joseph@codesourcery.com>
34489
be14d48f
JM
34490 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34491 DUMMY variables with __attribute__ ((unused)).
34492
ecd4caf9
JM
34493 * bits/byteswap.h: Include <bits/types.h>.
34494 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34495
986cab95
PT
344962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34497
34498 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34499 string_t. Do not manually set errno.
34500 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34501 length with __strnlen. Make sure to both set errno and return it on
34502 failure.
34503
6d33cc9d
DM
345042012-11-19 David S. Miller <davem@davemloft.net>
34505
34506 With help from Joseph Myers.
34507 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34508 very large arguments properly.
34509 * math/libm-test.inc (atan_test): New tests.
34510 (atan2_test): New tests.
34511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34513
ee663277
JM
345142012-11-19 Joseph Myers <joseph@codesourcery.com>
34515
877f2d8e
JM
34516 [BZ #14856]
34517 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34518 Define to 3.
34519
116fc08a
JM
34520 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34521 [POSIX] (EADDRNOTAVAIL): Likewise.
34522 [POSIX] (EAFNOSUPPORT): Likewise.
34523 [POSIX] (EALREADY): Likewise.
34524 [POSIX] (ECONNABORTED): Likewise.
34525 [POSIX] (ECONNREFUSED): Likewise.
34526 [POSIX] (ECONNRESET): Likewise.
34527 [POSIX] (EDESTADDRREQ): Likewise.
34528 [POSIX] (EDQUOT): Likewise.
34529 [POSIX] (EHOSTUNREACH): Likewise.
34530 [POSIX] (EIDRM): Likewise.
34531 [POSIX] (EISCONN): Likewise.
34532 [POSIX] (ELOOP): Likewise.
34533 [POSIX] (EMULTIHOP): Likewise.
34534 [POSIX] (ENETDOWN): Likewise.
34535 [POSIX] (ENETUNREACH): Likewise.
34536 [POSIX] (ENOBUFS): Likewise.
34537 [POSIX] (ENODATA): Likewise.
34538 [POSIX] (ENOLINK): Likewise.
34539 [POSIX] (ENOMSG): Likewise.
34540 [POSIX] (ENOPROTOOPT): Likewise.
34541 [POSIX] (ENOSR): Likewise.
34542 [POSIX] (ENOSTR): Likewise.
34543 [POSIX] (ENOTCONN): Likewise.
34544 [POSIX] (ENOTSOCK): Likewise.
34545 [POSIX] (EOPNOTSUPP): Likewise.
34546 [POSIX] (EOVERFLOW): Likewise.
34547 [POSIX] (EPROTO): Likewise.
34548 [POSIX] (EPROTONOSUPPORT): Likewise.
34549 [POSIX] (EPROTOTYPE): Likewise.
34550 [POSIX] (ESTALE): Likewise.
34551 [POSIX] (ETIME): Likewise.
34552 [POSIX] (ETXTBSY): Likewise.
34553 [POSIX] (EWOULDBLOCK): Likewise.
34554 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34555 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34556 [POSIX] (SEEK_CUR): Likewise.
34557 [POSIX] (SEEK_END): Likewise.
34558 [POSIX || UNIX98] (mode_t): Do not require.
34559 [POSIX] (off_t): Likewise.
34560 [POSIX] (pid_t): Likewise.
34561 [POSIX] (sys/stat.h): Do not allow header.
34562 [POSIX] (unistd.h): Likewise.
34563 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34564 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34565 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34566 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34567 require.
34568 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34569 sigevent): Specify elements.
34570 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34571 entry.
34572 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34573 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34574
a483863f
JM
34575 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34576 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34577 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34578 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34579 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34580 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34581 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34582 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34583 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34584 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34585 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34586 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34587 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34589 Likewise.
34590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34591 Likewise.
34592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34593 Likewise.
34594 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34595 Likewise.
34596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34597 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34598 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34600 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34601 Specify lower bound on value.
34602 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34603 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34604 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34605 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34606 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34607 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34608 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34609 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34610 value.
34611 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34612 as optional.
34613 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34614 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34615 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34616 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34617 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34618 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34619 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34620 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34621 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34622 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34623 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34624 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34625 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34626 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34627 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34628 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34629 entry.
34630 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34631 optional.
34632 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34633 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34634 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34635 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34636 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34637 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34638 Likewise.
34639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34641 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34642 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34643 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34644 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34646 as optional.
34647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34650 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34651 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34652 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34653 specify as optional.
34654 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34655 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34656 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34657 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34658 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34659 [XPG3] (NL_LANGMAX): Likewise.
34660 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34661 [POSIX || XPG3] (NL_NMAX): Likewise.
34662 [POSIX || XPG3] (NL_SETMAX): Likewise.
34663 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34664 [XPG3] (NZERO): Likewise.
34665 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34666 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34667 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34668 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34669 (REG_ERANGE): Expect.
34670 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34671 optional-constant.
34672 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34673 Use (void) in prototype.
34674 [POSIX] (*_t): Allow.
34675 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34676 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34677 (WRDE_BADVAL): Expect.
34678
5ba924e3
JM
34679 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34680 expect.
34681 [XPG3 || XPG4] (O_RSYNC): Likewise.
34682 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34683 Likewise.
34684 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34685 [XPG3 || XPG4] (sigqueue): Likewise.
34686 [XPG3 || XPG4] (sigtimedwait): Likewise.
34687 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34688 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34689 [XPG3 || XPG4] (vsnprintf): Likewise.
34690 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34691 Likewise.
34692 [XPG3 || XPG4] (blksize_t): Likewise.
34693 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34694 Likewise.
34695 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34696 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34697 [XPG3 || XPG4] (struct itimerspec): Likewise.
34698 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34699 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34700 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34701 [XPG3 || XPG4] (clockid_t): Likewise.
34702 [XPG3 || XPG4] (timer_t): Likewise.
34703 [XPG3 || XPG4] (clock_getres): Likewise.
34704 [XPG3 || XPG4] (clock_gettime): Likewise.
34705 [XPG3 || XPG4] (clock_settime): Likewise.
34706 [XPG3 || XPG4] (nanosleep): Likewise.
34707 [XPG3 || XPG4] (timer_create): Likewise.
34708 [XPG3 || XPG4] (timer_delete): Likewise.
34709 [XPG3 || XPG4] (timer_gettime): Likewise.
34710 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34711 [XPG3 || XPG4] (timer_settime): Likewise.
34712 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34713 [XPG3 || XPG4] (getlogin_r): Likewise.
34714 [XPG3 || XPG4] (pread): Likewise.
34715 [XPG3 || XPG4] (pthread_atfork): Likewise.
34716 [XPG3 || XPG4] (pwrite): Likewise.
34717
ee663277
JM
34718 [BZ #14835]
34719 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34720 <bits/siginfo.h>.
34721
942caa16
PT
347222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34723
e19af380
PT
34724 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34725 finalizing MALLSTREAM.
34726
942caa16
PT
34727 * sysdeps/mach/hurd/syncfs.c: New file.
34728
cfde9b46
SP
347292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34730
34731 [BZ #14719]
34732 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34733 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34734 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34735 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34736 (_nss_dns_gethostbyname4_r): Likewise.
34737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34738 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34739
f6da27e5
PH
347402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34741
34742 [BZ #13763]
34743 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34744
6665d4a2
SM
347452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34746
1f51ee92
SM
34747 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34748 * elf/cache.c (print_entry): Print ",AArch64" for
34749 FLAG_AARCH64_LIB64
34750
6665d4a2
SM
34751 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34752 * elf/cache.c (print_entry): Print ",hard-float" for
34753 FLAG_ARM_LIBHF.
34754
05b227bd
DM
347552012-11-18 David S. Miller <davem@davemloft.net>
34756
34757 With help from Joseph Myers.
34758 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34759 cutoff to 2**-13.
34760 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34761 cutoff to 2**-25.
34762 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34763 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34764 small.
34765 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34766 * math/libm-test.inc (y0_test): New tests.
34767 (y1_test): New tests.
34768 * sysdeps/i386/fpu/libm-test-ulps: Update.
34769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34771
786b0b67
AS
347722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34773
34774 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34775 64-bit targets.
34776 * configure: Regenerated.
34777
8e18b86d
DM
347782012-11-17 David S. Miller <davem@davemloft.net>
34779
34780 [BZ #14811]
34781 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34782 nonzero exponents with absolute value below 0x1p-128 to +/-
34783 0x1p-128.
34784
531f1ae0
JM
347852012-11-17 Joseph Myers <joseph@codesourcery.com>
34786
12df29e2
JM
34787 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34788
150dc1a0
JM
34789 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34790
531f1ae0
JM
34791 * posix/getconf-speclist.c: New file.
34792 * posix/posix-envs.def: Likewise.
34793 * posix/confstr.c (START_ENV_GROUP): New macro.
34794 (END_ENV_GROUP): Likewise.
34795 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34796 (KNOWN_PRESENT_ENV_STRING): Likewise.
34797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34798 (UNKNOWN_ENVIRONMENT): Likewise.
34799 (confstr): Include posix-envs.def instead of handling
34800 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34801 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34802 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34803 (END_ENV_GROUP): Likewise.
34804 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34805 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34806 (UNKNOWN_ENVIRONMENT): Likewise.
34807 (__sysconf): Include posix-envs.def instead of handling associated
34808 cases directly here.
34809 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34810 preprocessing getconf-speclist.c rather than running getconf or
34811 generating empty file.
34812
a93f9cbc
PT
348132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34814
34815 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34816
d64d9f87
AL
348172012-11-16 Andrej Lajovic <natrij@gmail.com>
34818
34819 [BZ #14672]
34820 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34821
447885eb
DM
348222012-11-16 David S. Miller <davem@davemloft.net>
34823
34824 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34825 smaller than LDBL_EPSILON/2.0L, just return xm1.
34826
bcbf9830
L
348272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34828
34829 * elf/tst-array1.c (init): Set constructor priority to 1000.
34830 (fini): Set destructor priority to 1000.
34831 * elf/tst-array2dep.c: Likewise.
34832
2b766585
SP
348332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34834
34835 [BZ #11741]
34836 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34837 (_IO_new_file_xsputn): Also return EOF if none of the input
34838 data was written when overflow failed.
34839 * libio/iopadn.c (_IO_padn): Likewise.
34840 * libio/iowpadn.c (_IO_wpadn): Likewise.
34841 * stdio-common/tst-put-error.c: Add copyright notice.
34842 (do_test): Add case for printing padded string.
34843 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34844 _IO_padn returned error.
34845 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34846 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34847 return EOF.
34848
b1848fde
SP
348492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34850
34851 * libio/libioP.h: Add comment note that the references to C++
34852 bits are now obsolete.
34853
2fd89785
MS
348542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34855
34856 * math/libm-test.inc (check_complex): Use asprintf.
34857
e3ea5409
JM
348582012-11-14 Joseph Myers <joseph@codesourcery.com>
34859
34860 * debug/pcprofiledump.c (print_version): Update copyright year.
34861 * malloc/memusagestat.c (print_version): Likewise.
34862
2e64d265
L
348632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34864
34865 [BZ #14831]
34866 * elf/Makefile (tests): Add tst-audit8.
34867 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34868 ($(objpfx)tst-audit8.out): New target.
34869 (tst-audit8-ENV): New variable.
34870 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34871 audit if l_reloc_result is NULL.
34872 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34873 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34874 * elf/tst-audit8.c: New file.
34875
c485e4d2
MS
348762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34877
34878 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34879 * misc/Makefile (CFLAGS-select.c): Define.
34880 * posix/Makefile (CFLAGS-pause.c): Define.
34881
3a0d900a
DM
348822012-11-13 David S. Miller <davem@davemloft.net>
34883
34884 * crypt/Makefile: Move test targets after toplevel Rules
34885 inclusion. Grab any necessary sysdep routines when linking.
34886 * crypt/md5.c (md5_process_block): Remove define, we will always
34887 name it __md5_process_block.
34888 (md5_finish_ctx): Update md5_process_block call.
34889 (md5_stream): Likewise.
34890 (md5_process_bytes): Likewise.
34891 (md5_process_block): Rename to __md5_process_block and move to ...
34892 * crypt/md5-block.c: ... here.
34893 * crypt/sha256.c (sha256_process_block): Move to ...
34894 * crypt/sha256-block.c: ... here.
34895 * crypt/sha512.c (sha512_process_block): Move to ...
34896 * crypt/sha512-block.c: ... here.
34897 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34898 path.
34899 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34900 * sysdeps/sparc/sparc64/multiarch/Makefile
34901 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34902 crypt subdir.
34903 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34904 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34905 multiarch changes.
34906 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34907 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34908 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34909 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34910 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34911 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34912 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34913 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34915 file.
34916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34918 file.
34919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34920
8ca89318
JM
349212012-11-13 Joseph Myers <joseph@codesourcery.com>
34922
e27d476a
JM
34923 * timezone/tzselect.ksh: Update from tzcode git revision
34924 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34925 * timezone/zdump.c: Likewise.
34926 * timezone/zic.c: Likewise.
34927 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34928 in TZVERSION setting, not $(PKGVERSION).
34929 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34930 REPORT_BUGS_TO settings.
34931
8ca89318
JM
34932 [BZ #14838]
34933 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34934 macro.
34935
47594329
MS
349362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34937
34938 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34939 detection to immediately after _FP_ROUND().
34940 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34941 bits are 0.
34942
640ac3f1
DM
349432012-11-11 David S. Miller <davem@davemloft.net>
34944
34945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34946 inttypes.h
34947 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34948 __close rather than their public counterparts.
34949
3d2577bb
JM
349502012-11-10 Joseph Myers <joseph@codesourcery.com>
34951
34952 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34953 file.
34954 [UNIX98] (sem_timedwait): Do not expect.
34955 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34956 [XPG4 || UNIX98] (sockatmark): Do not expect.
34957 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34958 (clock_getcpuclockid): Do not expect.
34959 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34960 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34961 Do not expect.
34962 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34963 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34964 [UNIX98] (vwscanf): Likewise.
34965 [UNIX98] (vswscanf): Likewise.
34966
fb1ae1ee
JM
349672012-11-09 Joseph Myers <joseph@codesourcery.com>
34968
9ec6f8bd
JM
34969 * timezone/version.h: Remove file.
34970 * timezone/README: Do not refer to version.h.
34971 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34972 $(objpfx)version.h.
34973 ($(objpfx)zdump.o): Likewise.
c3f81911 34974 ($(objpfx)version.h): New target.
9ec6f8bd 34975
0aa8f8a1
JM
34976 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34977 2012i.
34978 * timezone/README: Don't mention modification to tzselect.ksh.
34979 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34980 work on unmodified tzselect.ksh. Substitute version numbers in
34981 tzselect.ksh.
34982
4e87147f
JM
34983 * Makefile (format-me): Remove.
34984 (INSTALL): Adjust indentation. Use commands directly instead of
34985 using $(format-me).
34986
8b748aed
JM
34987 * aclocal.m4 (ACX_PKGVERSION): New macro.
34988 (ACX_BUGURL): Likewise.
34989 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34990 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34991 (REPORT_BUGS_TO): Likewise.
34992 * configure: Regenerated.
34993 * config.h.in (PKGVERSION): New macro.
34994 (REPORT_BUGS_TO): Likewise.
34995 * config.make.in (PKGVERSION): New variable.
34996 (PKGVERSION_TEXI): Likewise.
34997 (REPORT_BUGS_TO): Likewise.
34998 (REPORT_BUGS_TEXI): Likewise.
34999 * Makefile (format-me): Use -I$(common-objpfx)manual.
35000 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35001 ($(common-objpfx)manual/%): New target.
35002 (manual/%): Remove target.
35003 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35004 (print_version): Use PKGVERSION.
35005 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35006 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35007 and REPORT_BUGS_TO.
35008 ($(objpfx)xtrace): Likewise.
35009 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35010 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35011 (print_version): Use PKGVERSION.
35012 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35013 (do_version): Use PKGVERSION.
35014 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35015 REPORT_BUGS_TO.
35016 (common-ldd-rewrite): Likewise.
35017 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35018 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35019 (print_version): Use PKGVERSION.
35020 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35021 * elf/pldd.c (argp_program_bug_address): Remove variable.
35022 (more_help): New function.
35023 (argp): Use more_help.
35024 (print_version): Use PKGVERSION.
35025 * elf/sln.c (main): Use PKGVERSION.
35026 (usage): Use REPORT_BUGS_TO.
35027 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35028 (top level): Use PKGVERSION.
35029 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35030 (print_version): Use PKGVERSION.
35031 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35032 (print_version): Use PKGVERSION.
35033 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35034 (print_version): Use PKGVERSION.
35035 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35036 (print_version): Use PKGVERSION.
35037 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35038 (print_version): Use PKGVERSION.
35039 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35040 (print_version): Use PKGVERSION.
35041 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35042 and BUGURL.
35043 ($(objpfx)memusage): Likewise.
35044 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35045 (do_version): Use PKGVERSION.
35046 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35047 (print_version): Use PKGVERSION.
35048 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35049 ($PKGVERSION): New variable.
35050 ($REPORT_BUGS_TO): Likewise.
35051 (usage): Use $REPORT_BUGS_TO.
35052 (top level): Use $PKGVERSION.
35053 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35054 ($(objpfx)pkgvers.texi): New rule.
35055 ($(objpfx)stamp-pkgvers): Likewise.
35056 * manual/install.texi: Include pkgvers.texi.
35057 (--with-pkgversion): Document new configure option.
35058 (--with-bugurl): Likewise.
35059 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35060 than necessarily for this particular distribution. Use
35061 REPORT_BUGS_TO for where to report bugs.
35062 * INSTALL: Regenerated.
35063 * manual/libc.texinfo: Include pkgvers.texi.
35064 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35065 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35066 (print_version): Use PKGVERSION.
35067 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35068 (print_version): Use PKGVERSION.
35069 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35070 (print_version): Use PKGVERSION.
35071 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35072 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35073 macro.
35074 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35075 (print_version): Use PKGVERSION.
35076 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35077 (print_version): Use PKGVERSION.
35078 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35079 and PKGVERSION.
35080
92e4b6a9
JM
35081 * timezone/checktab.awk: Update from tzcode 2012i.
35082 * timezone/ialloc.c: Likewise.
35083 * timezone/private.h: Likewise.
35084 * timezone/scheck.c: Likewise.
35085 * timezone/tzfile.h: Likewise.
35086 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35087 (TZVERSION): Hardcode tzcode version number.
35088 * timezone/zdump.c: Update from tzcode 2012i.
35089 * timezone/zic.c: Likewise.
35090 * timezone/version.h: New file.
35091 * timezone/README: Describe version.h. Update upstream location.
35092
9bde902c
JM
35093 [BZ #14824]
35094 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35095 (mktemp): Enable declaration.
35096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35100 Likewise.
35101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35102 Likewise.
35103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35104 Likewise.
35105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35106 Likewise.
35107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35108 Likewise.
35109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35110 Likewise.
35111
fb1ae1ee
JM
35112 [BZ #14821]
35113 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35114 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35115 for copies of such integer values.
35116 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35117 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35118
2c1adbcb
AJ
351192012-11-09 Andreas Jaeger <aj@suse.de>
35120
35121 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35122 definitions and declarations that are provided by
35123 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35124
d0f8457e
AK
351252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35126
3a235abb 35127 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35128 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35129 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35130 definition.
35131
57241e26
MS
351322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35133
35134 * elf/elf.h: Update comment before AArch64 relocations.
35135
60e8270d
DM
351362012-11-07 David S. Miller <davem@davemloft.net>
35137
35138 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35139 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35140 (__start_context): Declare.
35141 (__makecontext_ret): Delete.
35142 (__makecontext): Hook up __start_context instead of
35143 __makecontext_ret.
35144 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35145 (sysdep_routines): Add __start_context when in stdlib.
35146
0fbb0fbc
JM
351472012-11-07 Joseph Myers <joseph@codesourcery.com>
35148
35149 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35150 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35151 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35152 hardcoded "nm".
35153 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35154 (READELF): New variable. Use it instead of hardcoded "readelf".
35155
eb48db7e
L
351562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35157
35158 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35159 * sysdeps/x86/Makefile: Here.
35160 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35161 * sysdeps/x86/tst-xmmymm.sh: This.
35162
05bcf62a
JM
351632012-11-07 Joseph Myers <joseph@codesourcery.com>
35164
c4b6cf53
JM
35165 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35166 expectations.
35167 [UNIX98] (pthread_barrier_t): Do not expect.
35168 [UNIX98] (pthread_barrierattr_t): Likewise.
35169 [UNIX98] (pthread_spinlock_t): Likewise.
35170 [UNIX98] (pthread_barrier_destroy): Likewise.
35171 [UNIX98] (pthread_barrier_init): Likewise.
35172 [UNIX98] (pthread_barrier_wait): Likewise.
35173 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35174 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35175 [UNIX98] (pthread_barrierattr_init): Likewise.
35176 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35177 [UNIX98] (pthread_getcpuclockid): Likewise.
35178 [UNIX98] (pthread_mutex_timedlock): Likewise.
35179 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35180 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35181 [UNIX98] (pthread_sigmask): Likewise.
35182 [UNIX98] (pthread_spin_destroy): Likewise.
35183 [UNIX98] (pthread_spin_init): Likewise.
35184 [UNIX98] (pthread_spin_lock): Likewise.
35185 [UNIX98] (pthread_spin_trylock): Likewise.
35186 [UNIX98] (pthread_spin_unlock): Likewise.
35187 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35188 Do not expect.
35189 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35190 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35191 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35192 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35193 [XPG3 || XPG4] (pthread_key_t): Likewise.
35194 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35195 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35196 [XPG3 || XPG4] (pthread_once_t): Likewise.
35197 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35198 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35199 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35200 [XPG3 || XPG4] (pthread_t): Likewise.
35201
cbe6e120
JM
35202 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35203 not expect.
35204 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35205
1b126443
JM
35206 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35207 Change function return type to int.
35208
b961a573
JM
35209 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35210 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35211 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35212 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35213 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35214 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35215 [!POSIX] (posix_madvise): Likewise.
35216 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35217 && !UNIX98].
35218 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35219 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35220 (mode_t): Likewise.
35221 (posix_mem_offset): Likewise.
35222 (posix_typed_mem_get_info): Likewise.
35223 (posix_typed_mem_open): Likewise.
35224
9e188909
JM
35225 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35226 Change condition to [XOPEN2K8].
35227
05bcf62a
JM
35228 * conform/conformtest.pl: Preprocess allow-header data with -x c
35229 instead of from stdin.
35230 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35231 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35232 [C99-based standards] (cerfc): Likewise.
35233 [C99-based standards] (cexp2): Likewise.
35234 [C99-based standards] (cexpm1): Likewise.
35235 [C99-based standards] (clog10): Likewise.
35236 [C99-based standards] (clog1p): Likewise.
35237 [C99-based standards] (clog2): Likewise.
35238 [C99-based standards] (clgamma): Likewise.
35239 [C99-based standards] (ctgamma): Likewise.
35240 [C99-based standards] (cerff): Likewise.
35241 [C99-based standards] (cerfcf): Likewise.
35242 [C99-based standards] (cexp2f): Likewise.
35243 [C99-based standards] (cexpm1f): Likewise.
35244 [C99-based standards] (clog10f): Likewise.
35245 [C99-based standards] (clog1pf): Likewise.
35246 [C99-based standards] (clog2f): Likewise.
35247 [C99-based standards] (clgammaf): Likewise.
35248 [C99-based standards] (ctgammaf): Likewise.
35249 [C99-based standards] (cerfl): Likewise.
35250 [C99-based standards] (cerfcl): Likewise.
35251 [C99-based standards] (cexp2l): Likewise.
35252 [C99-based standards] (cexpm1l): Likewise.
35253 [C99-based standards] (clog10l): Likewise.
35254 [C99-based standards] (clog1pl): Likewise.
35255 [C99-based standards] (clog2l): Likewise.
35256 [C99-based standards] (clgammal): Likewise.
35257 [C99-based standards] (ctgammal): Likewise.
35258 * conform/data/inttypes.h-data [C99-based standards]: Include
35259 stdint.h-data. Remove all expectations for stdint.h contents.
35260 [C99-based standards] (PRI*): Do not allow.
35261 [C99-based standards] (SCN*): Likewise.
35262 [C99-based standards] (*_t): Likewise.
35263 [C99-based-standards] (PRId8): Expect macro.
35264 [C99-based-standards] (PRIi8): Likewise.
35265 [C99-based-standards] (PRIo8): Likewise.
35266 [C99-based-standards] (PRIu8): Likewise.
35267 [C99-based-standards] (PRIx8): Likewise.
35268 [C99-based-standards] (PRIX8): Likewise.
35269 [C99-based-standards] (SCNd8): Likewise.
35270 [C99-based-standards] (SCNi8): Likewise.
35271 [C99-based-standards] (SCNo8): Likewise.
35272 [C99-based-standards] (SCNu8): Likewise.
35273 [C99-based-standards] (SCNx8): Likewise.
35274 [C99-based-standards] (PRIdLEAST8): Likewise.
35275 [C99-based-standards] (PRIiLEAST8): Likewise.
35276 [C99-based-standards] (PRIoLEAST8): Likewise.
35277 [C99-based-standards] (PRIuLEAST8): Likewise.
35278 [C99-based-standards] (PRIxLEAST8): Likewise.
35279 [C99-based-standards] (PRIXLEAST8): Likewise.
35280 [C99-based-standards] (SCNdLEAST8): Likewise.
35281 [C99-based-standards] (SCNiLEAST8): Likewise.
35282 [C99-based-standards] (SCNoLEAST8): Likewise.
35283 [C99-based-standards] (SCNuLEAST8): Likewise.
35284 [C99-based-standards] (SCNxLEAST8): Likewise.
35285 [C99-based-standards] (PRIdFAST8): Likewise.
35286 [C99-based-standards] (PRIiFAST8): Likewise.
35287 [C99-based-standards] (PRIoFAST8): Likewise.
35288 [C99-based-standards] (PRIuFAST8): Likewise.
35289 [C99-based-standards] (PRIxFAST8): Likewise.
35290 [C99-based-standards] (PRIXFAST8): Likewise.
35291 [C99-based-standards] (SCNdFAST8): Likewise.
35292 [C99-based-standards] (SCNiFAST8): Likewise.
35293 [C99-based-standards] (SCNoFAST8): Likewise.
35294 [C99-based-standards] (SCNuFAST8): Likewise.
35295 [C99-based-standards] (SCNxFAST8): Likewise.
35296 [C99-based-standards] (PRId16): Likewise.
35297 [C99-based-standards] (PRIi16): Likewise.
35298 [C99-based-standards] (PRIo16): Likewise.
35299 [C99-based-standards] (PRIu16): Likewise.
35300 [C99-based-standards] (PRIx16): Likewise.
35301 [C99-based-standards] (PRIX16): Likewise.
35302 [C99-based-standards] (SCNd16): Likewise.
35303 [C99-based-standards] (SCNi16): Likewise.
35304 [C99-based-standards] (SCNo16): Likewise.
35305 [C99-based-standards] (SCNu16): Likewise.
35306 [C99-based-standards] (SCNx16): Likewise.
35307 [C99-based-standards] (PRIdLEAST16): Likewise.
35308 [C99-based-standards] (PRIiLEAST16): Likewise.
35309 [C99-based-standards] (PRIoLEAST16): Likewise.
35310 [C99-based-standards] (PRIuLEAST16): Likewise.
35311 [C99-based-standards] (PRIxLEAST16): Likewise.
35312 [C99-based-standards] (PRIXLEAST16): Likewise.
35313 [C99-based-standards] (SCNdLEAST16): Likewise.
35314 [C99-based-standards] (SCNiLEAST16): Likewise.
35315 [C99-based-standards] (SCNoLEAST16): Likewise.
35316 [C99-based-standards] (SCNuLEAST16): Likewise.
35317 [C99-based-standards] (SCNxLEAST16): Likewise.
35318 [C99-based-standards] (PRIdFAST16): Likewise.
35319 [C99-based-standards] (PRIiFAST16): Likewise.
35320 [C99-based-standards] (PRIoFAST16): Likewise.
35321 [C99-based-standards] (PRIuFAST16): Likewise.
35322 [C99-based-standards] (PRIxFAST16): Likewise.
35323 [C99-based-standards] (PRIXFAST16): Likewise.
35324 [C99-based-standards] (SCNdFAST16): Likewise.
35325 [C99-based-standards] (SCNiFAST16): Likewise.
35326 [C99-based-standards] (SCNoFAST16): Likewise.
35327 [C99-based-standards] (SCNuFAST16): Likewise.
35328 [C99-based-standards] (SCNxFAST16): Likewise.
35329 [C99-based-standards] (PRId32): Likewise.
35330 [C99-based-standards] (PRIi32): Likewise.
35331 [C99-based-standards] (PRIo32): Likewise.
35332 [C99-based-standards] (PRIu32): Likewise.
35333 [C99-based-standards] (PRIx32): Likewise.
35334 [C99-based-standards] (PRIX32): Likewise.
35335 [C99-based-standards] (SCNd32): Likewise.
35336 [C99-based-standards] (SCNi32): Likewise.
35337 [C99-based-standards] (SCNo32): Likewise.
35338 [C99-based-standards] (SCNu32): Likewise.
35339 [C99-based-standards] (SCNx32): Likewise.
35340 [C99-based-standards] (PRIdLEAST32): Likewise.
35341 [C99-based-standards] (PRIiLEAST32): Likewise.
35342 [C99-based-standards] (PRIoLEAST32): Likewise.
35343 [C99-based-standards] (PRIuLEAST32): Likewise.
35344 [C99-based-standards] (PRIxLEAST32): Likewise.
35345 [C99-based-standards] (PRIXLEAST32): Likewise.
35346 [C99-based-standards] (SCNdLEAST32): Likewise.
35347 [C99-based-standards] (SCNiLEAST32): Likewise.
35348 [C99-based-standards] (SCNoLEAST32): Likewise.
35349 [C99-based-standards] (SCNuLEAST32): Likewise.
35350 [C99-based-standards] (SCNxLEAST32): Likewise.
35351 [C99-based-standards] (PRIdFAST32): Likewise.
35352 [C99-based-standards] (PRIiFAST32): Likewise.
35353 [C99-based-standards] (PRIoFAST32): Likewise.
35354 [C99-based-standards] (PRIuFAST32): Likewise.
35355 [C99-based-standards] (PRIxFAST32): Likewise.
35356 [C99-based-standards] (PRIXFAST32): Likewise.
35357 [C99-based-standards] (SCNdFAST32): Likewise.
35358 [C99-based-standards] (SCNiFAST32): Likewise.
35359 [C99-based-standards] (SCNoFAST32): Likewise.
35360 [C99-based-standards] (SCNuFAST32): Likewise.
35361 [C99-based-standards] (SCNxFAST32): Likewise.
35362 [C99-based-standards] (PRId64): Likewise.
35363 [C99-based-standards] (PRIi64): Likewise.
35364 [C99-based-standards] (PRIo64): Likewise.
35365 [C99-based-standards] (PRIu64): Likewise.
35366 [C99-based-standards] (PRIx64): Likewise.
35367 [C99-based-standards] (PRIX64): Likewise.
35368 [C99-based-standards] (SCNd64): Likewise.
35369 [C99-based-standards] (SCNi64): Likewise.
35370 [C99-based-standards] (SCNo64): Likewise.
35371 [C99-based-standards] (SCNu64): Likewise.
35372 [C99-based-standards] (SCNx64): Likewise.
35373 [C99-based-standards] (PRIdLEAST64): Likewise.
35374 [C99-based-standards] (PRIiLEAST64): Likewise.
35375 [C99-based-standards] (PRIoLEAST64): Likewise.
35376 [C99-based-standards] (PRIuLEAST64): Likewise.
35377 [C99-based-standards] (PRIxLEAST64): Likewise.
35378 [C99-based-standards] (PRIXLEAST64): Likewise.
35379 [C99-based-standards] (SCNdLEAST64): Likewise.
35380 [C99-based-standards] (SCNiLEAST64): Likewise.
35381 [C99-based-standards] (SCNoLEAST64): Likewise.
35382 [C99-based-standards] (SCNuLEAST64): Likewise.
35383 [C99-based-standards] (SCNxLEAST64): Likewise.
35384 [C99-based-standards] (PRIdFAST64): Likewise.
35385 [C99-based-standards] (PRIiFAST64): Likewise.
35386 [C99-based-standards] (PRIoFAST64): Likewise.
35387 [C99-based-standards] (PRIuFAST64): Likewise.
35388 [C99-based-standards] (PRIxFAST64): Likewise.
35389 [C99-based-standards] (PRIXFAST64): Likewise.
35390 [C99-based-standards] (SCNdFAST64): Likewise.
35391 [C99-based-standards] (SCNiFAST64): Likewise.
35392 [C99-based-standards] (SCNoFAST64): Likewise.
35393 [C99-based-standards] (SCNuFAST64): Likewise.
35394 [C99-based-standards] (SCNxFAST64): Likewise.
35395 [C99-based-standards] (PRIdMAX): Likewise.
35396 [C99-based-standards] (PRIiMAX): Likewise.
35397 [C99-based-standards] (PRIoMAX): Likewise.
35398 [C99-based-standards] (PRIuMAX): Likewise.
35399 [C99-based-standards] (PRIxMAX): Likewise.
35400 [C99-based-standards] (PRIXMAX): Likewise.
35401 [C99-based-standards] (SCNdMAX): Likewise.
35402 [C99-based-standards] (SCNiMAX): Likewise.
35403 [C99-based-standards] (SCNoMAX): Likewise.
35404 [C99-based-standards] (SCNuMAX): Likewise.
35405 [C99-based-standards] (SCNxMAX): Likewise.
35406 [C99-based-standards] (PRIdPTR): Likewise.
35407 [C99-based-standards] (PRIiPTR): Likewise.
35408 [C99-based-standards] (PRIoPTR): Likewise.
35409 [C99-based-standards] (PRIuPTR): Likewise.
35410 [C99-based-standards] (PRIxPTR): Likewise.
35411 [C99-based-standards] (PRIXPTR): Likewise.
35412 [C99-based-standards] (SCNdPTR): Likewise.
35413 [C99-based-standards] (SCNiPTR): Likewise.
35414 [C99-based-standards] (SCNoPTR): Likewise.
35415 [C99-based-standards] (SCNuPTR): Likewise.
35416 [C99-based-standards] (SCNxPTR): Likewise.
35417 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35418 allow.
35419 * conform/data/stdint.h-data: Update comments to clarify
35420 requirements.
35421 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35422 type.
35423 [C99-based standards] (INT8_MAX): Likewise.
35424 [C99-based standards] (INT16_MIN): Likewise.
35425 [C99-based standards] (INT16_MAX): Likewise.
35426 [C99-based standards] (INT32_MIN): Likewise.
35427 [C99-based standards] (INT32_MAX): Likewise.
35428 [C99-based standards] (INT64_MIN): Likewise.
35429 [C99-based standards] (INT64_MAX): Likewise.
35430 [C99-based standards] (UINT8_MAX): Likewise.
35431 [C99-based standards] (UINT16_MAX): Likewise.
35432 [C99-based standards] (UINT32_MAX): Likewise.
35433 [C99-based standards] (UINT64_MAX): Likewise.
35434 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35435 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35436 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35437 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35438 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35439 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35440 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35441 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35442 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35443 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35444 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35445 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35446 [C99-based standards] (INT_FAST8_MIN): Likewise.
35447 [C99-based standards] (INT_FAST8_MAX): Likewise.
35448 [C99-based standards] (INT_FAST16_MIN): Likewise.
35449 [C99-based standards] (INT_FAST16_MAX): Likewise.
35450 [C99-based standards] (INT_FAST32_MIN): Likewise.
35451 [C99-based standards] (INT_FAST32_MAX): Likewise.
35452 [C99-based standards] (INT_FAST64_MIN): Likewise.
35453 [C99-based standards] (INT_FAST64_MAX): Likewise.
35454 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35455 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35456 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35457 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35458 [C99-based standards] (INTPTR_MIN): Likewise.
35459 [C99-based standards] (INTPTR_MAX): Likewise.
35460 [C99-based standards] (UINTPTR_MAX): Likewise.
35461 [C99-based standards] (INTMAX_MIN): Likewise.
35462 [C99-based standards] (INTMAX_MAX): Likewise.
35463 [C99-based standards] (UINTMAX_MAX): Likewise.
35464 [C99-based standards] (PTRDIFF_MIN): Likewise.
35465 [C99-based standards] (PTRDIFF_MAX): Likewise.
35466 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35467 [C99-based standards] (SIZE_MAX): Likewise.
35468 [C99-based standards] (WCHAR_MAX): Likewise.
35469 [C99-based standards] (WINT_MAX): Likewise.
35470 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35471 constraint on value.
35472 [C99-based standards] (WCHAR_MIN): Likewise.
35473 [C99-based standards] (WINT_MIN): Likewise.
35474 [C99-based standards] (*_t): Allow.
35475 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35476 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35477 Include math.h-data and complex.h-data. Remove all expectations
35478 of math.h and complex.h contents.
35479 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35480 at end of line.
35481 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35482 (struct tm): Expect tag.
35483 [C99-based-standards] (wcstof): Expect function.
35484 [C99-based-standards] (wcstold): Likewise.
35485 [C99-based-standards] (wcstoll): Likewise.
35486 [C99-based-standards] (wcstoull): Likewise.
35487 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35488 macro-int-constant. Specify type.
35489 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35490 constraint on value.
35491 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35492 Specify type.
35493 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35494 Specify value.
35495 [ISO C standards]: Do not allow headers.
35496 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35497 wcs[abcdefghijklmnopqrstuvwxyz]*.
35498 [ISO C standards] (*_t): Do not allow.
35499 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35500 Expect function.
35501 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35502 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35503 Specify type.
35504 [ISO C standards]: Do not allow headers.
35505 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35506 is[abcdefghijklmnopqrstuvwxyz]*.
35507 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35508 to[abcdefghijklmnopqrstuvwxyz]*.
35509 [ISO C standards] (*_t): Do not allow.
35510 * conform/data/stdalign.h-data: New file.
35511 * conform/data/stdbool.h-data: Likewise.
35512 * conform/data/stdnoreturn.h-data: Likewise.
35513
7514feb8
RM
355142012-11-07 Roland McGrath <roland@hack.frob.com>
35515
35516 [BZ #14815]
35517 * manual/filesys.texi (Directory Entries): Typo fix.
35518 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35519
19b2ecfc
MS
355202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35521
35522 * elf/elf.h (EM_AARCH64): New macro.
35523 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35524 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35525 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35526 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35527 (R_AARCH64_TLSDESC): Likewise.
35528 (NT_ARM_TLS): Likewise.
35529 (NT_ARM_HW_BREAK): Likewise.
35530 (NT_ARM_HW_WATCH): Likewise.
35531
60e235ee
JM
355322012-11-07 Joseph Myers <joseph@codesourcery.com>
35533
35534 [BZ #14811]
35535 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35536 (__ieee754_powl): Saturate nonzero exponents with absolute value
35537 below 0x1p-79 to +/- 0x1p-79.
35538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35539 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35540 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35541 nonzero exponents with absolute value below 0x1p-32 to +/-
35542 0x1p-32.
35543 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35544 (__ieee754_powl): Saturate nonzero exponents with absolute value
35545 below 0x1p-79 to +/- 0x1p-79.
35546 * math/libm-test.inc (pow_test): Add more tests.
35547
0ab234b7
AK
355482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35549
35550 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35551 _dl_s390_cap_flags with kernel. Increase string length.
35552 (_dl_s390_platforms): Add z196 and zEC12.
35553
45832f74
JM
355542012-11-07 Joseph Myers <joseph@codesourcery.com>
35555
35556 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35557 Change XOPEN21K to XOPEN2K.
35558
19218757
MK
355592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35560
35561 * string/memmove.c: Use memcpy when possible.
35562
c5f45721
AJ
355632012-11-06 Andreas Jaeger <aj@suse.de>
35564
35565 * po/eo.po: Update from translation team.
35566
82477c28
JM
355672012-11-06 Joseph Myers <joseph@codesourcery.com>
35568
35569 [BZ #14793]
35570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35571 exponent and small x and y exponents, scale x or y up. Increase
35572 by 2 the exponent used in scaling up.
35573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35575 * math/libm-test.inc (fma_test): Add more tests.
35576 (fma_test_towardzero): Likewise.
35577 (fma_test_downward): Likewise.
35578 (fma_test_upward): Likewise.
35579
99252c8c
JM
355802012-11-05 Joseph Myers <joseph@codesourcery.com>
35581
acfa885f
JM
35582 [BZ #14805]
35583 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35584 fenv_t *.
35585
99252c8c
JM
35586 [BZ #14801]
35587 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35588 namespace for names of struct fields.
35589 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35590 fenv_t fields.
35591 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35592 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35593
d6d98dea
ST
355942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35595
35596 [BZ #3665]
35597 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35598
e10bb107
TS
355992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35600
35601 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35602 PTR_DEMANGLE.
35603
35604 [BZ #5246]
35605 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35606 PTR_DEMANGLE.
35607
a0c2940d
JM
356082012-11-04 Joseph Myers <joseph@codesourcery.com>
35609
35610 [BZ #14797]
35611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35612 definitely overflow as x * y not x * y + z.
35613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35615 * math/libm-test.inc (fma_test): Add more tests.
35616 (fma_test_towardzero): Likewise.
35617 (fma_test_downward): Likewise.
35618 (fma_test_upward): Likewise.
35619
b830319d
TS
356202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35621
35622 [BZ #157]
35623
35624 * include/stub-tag.h: Remove file.
35625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35626 '#include' of it.
35627 * manual/maint.texi (Porting): Don't reference it.
35628 * Makerules ($(objpfx)stubs): Likewise.
35629 * dirent/closedir.c: Don't include <stub-tag.h>.
35630 * dirent/dirfd.c: Likewise.
35631 * dirent/fdopendir.c: Likewise.
35632 * dirent/getdents.c: Likewise.
35633 * dirent/getdents64.c: Likewise.
35634 * dirent/opendir.c: Likewise.
35635 * dirent/readdir.c: Likewise.
35636 * dirent/readdir64.c: Likewise.
35637 * dirent/readdir64_r.c: Likewise.
35638 * dirent/readdir_r.c: Likewise.
35639 * dirent/rewinddir.c: Likewise.
35640 * dirent/seekdir.c: Likewise.
35641 * dirent/telldir.c: Likewise.
35642 * gmon/profil.c: Likewise.
35643 * grp/setgroups.c: Likewise.
35644 * inet/if_index.c: Likewise.
35645 * io/access.c: Likewise.
35646 * io/chdir.c: Likewise.
35647 * io/chmod.c: Likewise.
35648 * io/chown.c: Likewise.
35649 * io/close.c: Likewise.
35650 * io/dup.c: Likewise.
35651 * io/dup2.c: Likewise.
35652 * io/dup3.c: Likewise.
35653 * io/euidaccess.c: Likewise.
35654 * io/faccessat.c: Likewise.
35655 * io/fchdir.c: Likewise.
35656 * io/fchmod.c: Likewise.
35657 * io/fchmodat.c: Likewise.
35658 * io/fchown.c: Likewise.
35659 * io/fchownat.c: Likewise.
35660 * io/fcntl.c: Likewise.
35661 * io/flock.c: Likewise.
35662 * io/fstatfs.c: Likewise.
35663 * io/fstatfs64.c: Likewise.
35664 * io/fstatvfs.c: Likewise.
35665 * io/fstatvfs64.c: Likewise.
35666 * io/futimens.c: Likewise.
35667 * io/fxstat.c: Likewise.
35668 * io/fxstat64.c: Likewise.
35669 * io/fxstatat.c: Likewise.
35670 * io/fxstatat64.c: Likewise.
35671 * io/getcwd.c: Likewise.
35672 * io/isatty.c: Likewise.
35673 * io/lchmod.c: Likewise.
35674 * io/lchown.c: Likewise.
35675 * io/link.c: Likewise.
35676 * io/linkat.c: Likewise.
35677 * io/lseek.c: Likewise.
35678 * io/lseek64.c: Likewise.
35679 * io/lxstat64.c: Likewise.
35680 * io/mkdir.c: Likewise.
35681 * io/mkdirat.c: Likewise.
35682 * io/mkfifo.c: Likewise.
35683 * io/mkfifoat.c: Likewise.
35684 * io/open.c: Likewise.
35685 * io/open64.c: Likewise.
35686 * io/openat.c: Likewise.
35687 * io/openat64.c: Likewise.
35688 * io/pipe.c: Likewise.
35689 * io/pipe2.c: Likewise.
35690 * io/poll.c: Likewise.
35691 * io/posix_fadvise.c: Likewise.
35692 * io/posix_fadvise64.c: Likewise.
35693 * io/posix_fallocate.c: Likewise.
35694 * io/posix_fallocate64.c: Likewise.
35695 * io/read.c: Likewise.
35696 * io/readlink.c: Likewise.
35697 * io/readlinkat.c: Likewise.
35698 * io/rmdir.c: Likewise.
35699 * io/sendfile.c: Likewise.
35700 * io/sendfile64.c: Likewise.
35701 * io/statfs.c: Likewise.
35702 * io/statfs64.c: Likewise.
35703 * io/statvfs.c: Likewise.
35704 * io/statvfs64.c: Likewise.
35705 * io/symlink.c: Likewise.
35706 * io/symlinkat.c: Likewise.
35707 * io/ttyname.c: Likewise.
35708 * io/ttyname_r.c: Likewise.
35709 * io/umask.c: Likewise.
35710 * io/unlink.c: Likewise.
35711 * io/unlinkat.c: Likewise.
35712 * io/utime.c: Likewise.
35713 * io/utimensat.c: Likewise.
35714 * io/write.c: Likewise.
35715 * io/xmknod.c: Likewise.
35716 * io/xmknodat.c: Likewise.
35717 * io/xstat.c: Likewise.
35718 * io/xstat64.c: Likewise.
35719 * login/getpt.c: Likewise.
35720 * login/grantpt.c: Likewise.
35721 * login/unlockpt.c: Likewise.
35722 * math/e_acoshl.c: Likewise.
35723 * math/e_acosl.c: Likewise.
35724 * math/e_asinl.c: Likewise.
35725 * math/e_atan2l.c: Likewise.
35726 * math/e_atanhl.c: Likewise.
35727 * math/e_coshl.c: Likewise.
35728 * math/e_expl.c: Likewise.
35729 * math/e_fmodl.c: Likewise.
35730 * math/e_gammal_r.c: Likewise.
35731 * math/e_hypotl.c: Likewise.
35732 * math/e_j0l.c: Likewise.
35733 * math/e_j1l.c: Likewise.
35734 * math/e_jnl.c: Likewise.
35735 * math/e_lgammal_r.c: Likewise.
35736 * math/e_log10l.c: Likewise.
35737 * math/e_log2l.c: Likewise.
35738 * math/e_logl.c: Likewise.
35739 * math/e_powl.c: Likewise.
35740 * math/e_rem_pio2l.c: Likewise.
35741 * math/e_sinhl.c: Likewise.
35742 * math/e_sqrtl.c: Likewise.
35743 * math/fclrexcpt.c: Likewise.
35744 * math/fedisblxcpt.c: Likewise.
35745 * math/feenablxcpt.c: Likewise.
35746 * math/fegetenv.c: Likewise.
35747 * math/fegetexcept.c: Likewise.
35748 * math/fegetround.c: Likewise.
35749 * math/feholdexcpt.c: Likewise.
35750 * math/fesetenv.c: Likewise.
35751 * math/fesetround.c: Likewise.
35752 * math/feupdateenv.c: Likewise.
35753 * math/fgetexcptflg.c: Likewise.
35754 * math/fraiseexcpt.c: Likewise.
35755 * math/fsetexcptflg.c: Likewise.
35756 * math/ftestexcept.c: Likewise.
35757 * math/k_cosl.c: Likewise.
35758 * math/k_rem_pio2l.c: Likewise.
35759 * math/k_sinl.c: Likewise.
35760 * math/k_tanl.c: Likewise.
35761 * math/s_asinhl.c: Likewise.
35762 * math/s_atanl.c: Likewise.
35763 * math/s_cbrtl.c: Likewise.
35764 * math/s_erfl.c: Likewise.
35765 * math/s_expm1l.c: Likewise.
35766 * math/s_log1pl.c: Likewise.
35767 * math/s_tanhl.c: Likewise.
35768 * misc/acct.c: Likewise.
35769 * misc/brk.c: Likewise.
35770 * misc/chflags.c: Likewise.
35771 * misc/chroot.c: Likewise.
35772 * misc/fchflags.c: Likewise.
35773 * misc/fgetxattr.c: Likewise.
35774 * misc/flistxattr.c: Likewise.
35775 * misc/fremovexattr.c: Likewise.
35776 * misc/fsetxattr.c: Likewise.
35777 * misc/fsync.c: Likewise.
35778 * misc/ftruncate.c: Likewise.
35779 * misc/futimes.c: Likewise.
35780 * misc/futimesat.c: Likewise.
35781 * misc/getdomain.c: Likewise.
35782 * misc/getdtsz.c: Likewise.
35783 * misc/gethostid.c: Likewise.
35784 * misc/gethostname.c: Likewise.
35785 * misc/getloadavg.c: Likewise.
35786 * misc/getpagesize.c: Likewise.
35787 * misc/getsysstats.c: Likewise.
35788 * misc/getxattr.c: Likewise.
35789 * misc/gtty.c: Likewise.
35790 * misc/ioctl.c: Likewise.
35791 * misc/lgetxattr.c: Likewise.
35792 * misc/listxattr.c: Likewise.
35793 * misc/llistxattr.c: Likewise.
35794 * misc/lremovexattr.c: Likewise.
35795 * misc/lsetxattr.c: Likewise.
35796 * misc/lutimes.c: Likewise.
35797 * misc/madvise.c: Likewise.
35798 * misc/mincore.c: Likewise.
35799 * misc/mlock.c: Likewise.
35800 * misc/mlockall.c: Likewise.
35801 * misc/mmap.c: Likewise.
35802 * misc/mprotect.c: Likewise.
35803 * misc/msync.c: Likewise.
35804 * misc/munlock.c: Likewise.
35805 * misc/munlockall.c: Likewise.
35806 * misc/munmap.c: Likewise.
35807 * misc/preadv.c: Likewise.
35808 * misc/preadv64.c: Likewise.
35809 * misc/ptrace.c: Likewise.
35810 * misc/pwritev.c: Likewise.
35811 * misc/pwritev64.c: Likewise.
35812 * misc/readv.c: Likewise.
35813 * misc/reboot.c: Likewise.
35814 * misc/remap_file_pages.c: Likewise.
35815 * misc/removexattr.c: Likewise.
35816 * misc/revoke.c: Likewise.
35817 * misc/select.c: Likewise.
35818 * misc/setdomain.c: Likewise.
35819 * misc/setegid.c: Likewise.
35820 * misc/seteuid.c: Likewise.
35821 * misc/sethostid.c: Likewise.
35822 * misc/sethostname.c: Likewise.
35823 * misc/setregid.c: Likewise.
35824 * misc/setreuid.c: Likewise.
35825 * misc/setxattr.c: Likewise.
35826 * misc/sstk.c: Likewise.
35827 * misc/stty.c: Likewise.
35828 * misc/swapoff.c: Likewise.
35829 * misc/swapon.c: Likewise.
35830 * misc/sync.c: Likewise.
35831 * misc/syncfs.c: Likewise.
35832 * misc/syscall.c: Likewise.
35833 * misc/truncate.c: Likewise.
35834 * misc/ualarm.c: Likewise.
35835 * misc/usleep.c: Likewise.
35836 * misc/ustat.c: Likewise.
35837 * misc/utimes.c: Likewise.
35838 * misc/vhangup.c: Likewise.
35839 * misc/writev.c: Likewise.
35840 * posix/_exit.c: Likewise.
35841 * posix/alarm.c: Likewise.
35842 * posix/execve.c: Likewise.
35843 * posix/fexecve.c: Likewise.
35844 * posix/fork.c: Likewise.
35845 * posix/fpathconf.c: Likewise.
35846 * posix/getaddrinfo.c: Likewise.
35847 * posix/getegid.c: Likewise.
35848 * posix/geteuid.c: Likewise.
35849 * posix/getgid.c: Likewise.
35850 * posix/getgroups.c: Likewise.
35851 * posix/getlogin.c: Likewise.
35852 * posix/getlogin_r.c: Likewise.
35853 * posix/getpgid.c: Likewise.
35854 * posix/getpid.c: Likewise.
35855 * posix/getppid.c: Likewise.
35856 * posix/getresgid.c: Likewise.
35857 * posix/getresuid.c: Likewise.
35858 * posix/getsid.c: Likewise.
35859 * posix/getuid.c: Likewise.
35860 * posix/glob64.c: Likewise.
35861 * posix/nanosleep.c: Likewise.
35862 * posix/pathconf.c: Likewise.
35863 * posix/pause.c: Likewise.
35864 * posix/posix_madvise.c: Likewise.
35865 * posix/pread.c: Likewise.
35866 * posix/pread64.c: Likewise.
35867 * posix/pwrite.c: Likewise.
35868 * posix/pwrite64.c: Likewise.
35869 * posix/sched_getaffinity.c: Likewise.
35870 * posix/sched_getp.c: Likewise.
35871 * posix/sched_gets.c: Likewise.
35872 * posix/sched_primax.c: Likewise.
35873 * posix/sched_primin.c: Likewise.
35874 * posix/sched_rr_gi.c: Likewise.
35875 * posix/sched_setaffinity.c: Likewise.
35876 * posix/sched_setp.c: Likewise.
35877 * posix/sched_sets.c: Likewise.
35878 * posix/sched_yield.c: Likewise.
35879 * posix/setgid.c: Likewise.
35880 * posix/setlogin.c: Likewise.
35881 * posix/setpgid.c: Likewise.
35882 * posix/setresgid.c: Likewise.
35883 * posix/setresuid.c: Likewise.
35884 * posix/setsid.c: Likewise.
35885 * posix/setuid.c: Likewise.
35886 * posix/sleep.c: Likewise.
35887 * posix/spawni.c: Likewise.
35888 * posix/sysconf.c: Likewise.
35889 * posix/times.c: Likewise.
35890 * posix/wait.c: Likewise.
35891 * posix/wait3.c: Likewise.
35892 * posix/wait4.c: Likewise.
35893 * posix/waitpid.c: Likewise.
35894 * resolv/gai_sigqueue.c: Likewise.
35895 * resource/getpriority.c: Likewise.
35896 * resource/getrlimit.c: Likewise.
35897 * resource/getrusage.c: Likewise.
35898 * resource/nice.c: Likewise.
35899 * resource/setpriority.c: Likewise.
35900 * resource/setrlimit.c: Likewise.
35901 * resource/ulimit.c: Likewise.
35902 * rt/aio_cancel.c: Likewise.
35903 * rt/aio_fsync.c: Likewise.
35904 * rt/aio_read.c: Likewise.
35905 * rt/aio_sigqueue.c: Likewise.
35906 * rt/aio_suspend.c: Likewise.
35907 * rt/aio_write.c: Likewise.
35908 * rt/clock_getres.c: Likewise.
35909 * rt/clock_gettime.c: Likewise.
35910 * rt/clock_nanosleep.c: Likewise.
35911 * rt/clock_settime.c: Likewise.
35912 * rt/lio_listio.c: Likewise.
35913 * rt/mq_close.c: Likewise.
35914 * rt/mq_getattr.c: Likewise.
35915 * rt/mq_notify.c: Likewise.
35916 * rt/mq_open.c: Likewise.
35917 * rt/mq_receive.c: Likewise.
35918 * rt/mq_send.c: Likewise.
35919 * rt/mq_setattr.c: Likewise.
35920 * rt/mq_timedreceive.c: Likewise.
35921 * rt/mq_timedsend.c: Likewise.
35922 * rt/mq_unlink.c: Likewise.
35923 * rt/shm_open.c: Likewise.
35924 * rt/shm_unlink.c: Likewise.
35925 * rt/timer_create.c: Likewise.
35926 * rt/timer_delete.c: Likewise.
35927 * rt/timer_getoverr.c: Likewise.
35928 * rt/timer_gettime.c: Likewise.
35929 * rt/timer_settime.c: Likewise.
35930 * setjmp/__longjmp.c: Likewise.
35931 * setjmp/setjmp.c: Likewise.
35932 * signal/kill.c: Likewise.
35933 * signal/killpg.c: Likewise.
35934 * signal/raise.c: Likewise.
35935 * signal/sigaction.c: Likewise.
35936 * signal/sigaltstack.c: Likewise.
35937 * signal/sigblock.c: Likewise.
35938 * signal/sigignore.c: Likewise.
35939 * signal/sigintr.c: Likewise.
35940 * signal/signal.c: Likewise.
35941 * signal/sigpause.c: Likewise.
35942 * signal/sigpending.c: Likewise.
35943 * signal/sigqueue.c: Likewise.
35944 * signal/sigreturn.c: Likewise.
35945 * signal/sigset.c: Likewise.
35946 * signal/sigsetmask.c: Likewise.
35947 * signal/sigstack.c: Likewise.
35948 * signal/sigsuspend.c: Likewise.
35949 * signal/sigtimedwait.c: Likewise.
35950 * signal/sigvec.c: Likewise.
35951 * signal/sigwait.c: Likewise.
35952 * signal/sigwaitinfo.c: Likewise.
35953 * signal/sysv_signal.c: Likewise.
35954 * socket/accept.c: Likewise.
35955 * socket/accept4.c: Likewise.
35956 * socket/bind.c: Likewise.
35957 * socket/connect.c: Likewise.
35958 * socket/getpeername.c: Likewise.
35959 * socket/getsockname.c: Likewise.
35960 * socket/getsockopt.c: Likewise.
35961 * socket/isfdtype.c: Likewise.
35962 * socket/listen.c: Likewise.
35963 * socket/recv.c: Likewise.
35964 * socket/recvfrom.c: Likewise.
35965 * socket/recvmsg.c: Likewise.
35966 * socket/send.c: Likewise.
35967 * socket/sendmsg.c: Likewise.
35968 * socket/sendto.c: Likewise.
35969 * socket/setsockopt.c: Likewise.
35970 * socket/shutdown.c: Likewise.
35971 * socket/sockatmark.c: Likewise.
35972 * socket/socket.c: Likewise.
35973 * socket/socketpair.c: Likewise.
35974 * stdio-common/ctermid.c: Likewise.
35975 * stdio-common/cuserid.c: Likewise.
35976 * stdio-common/remove.c: Likewise.
35977 * stdio-common/rename.c: Likewise.
35978 * stdio-common/renameat.c: Likewise.
35979 * stdio-common/tempname.c: Likewise.
35980 * stdlib/getcontext.c: Likewise.
35981 * stdlib/makecontext.c: Likewise.
35982 * stdlib/setcontext.c: Likewise.
35983 * stdlib/swapcontext.c: Likewise.
35984 * stdlib/system.c: Likewise.
35985 * streams/fattach.c: Likewise.
35986 * streams/fdetach.c: Likewise.
35987 * streams/getmsg.c: Likewise.
35988 * streams/getpmsg.c: Likewise.
35989 * streams/putmsg.c: Likewise.
35990 * streams/putpmsg.c: Likewise.
35991 * sysdeps/unix/bsd/getpt.c: Likewise.
35992 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35993 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35994 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35996 Likewise.
35997 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35998 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35999 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36000 * sysvipc/msgctl.c: Likewise.
36001 * sysvipc/msgget.c: Likewise.
36002 * sysvipc/msgrcv.c: Likewise.
36003 * sysvipc/msgsnd.c: Likewise.
36004 * sysvipc/semctl.c: Likewise.
36005 * sysvipc/semget.c: Likewise.
36006 * sysvipc/semop.c: Likewise.
36007 * sysvipc/semtimedop.c: Likewise.
36008 * sysvipc/shmat.c: Likewise.
36009 * sysvipc/shmctl.c: Likewise.
36010 * sysvipc/shmdt.c: Likewise.
36011 * sysvipc/shmget.c: Likewise.
36012 * termios/tcdrain.c: Likewise.
36013 * termios/tcflow.c: Likewise.
36014 * termios/tcflush.c: Likewise.
36015 * termios/tcgetattr.c: Likewise.
36016 * termios/tcgetpgrp.c: Likewise.
36017 * termios/tcsendbrk.c: Likewise.
36018 * termios/tcsetattr.c: Likewise.
36019 * termios/tcsetpgrp.c: Likewise.
36020 * time/adjtime.c: Likewise.
36021 * time/clock.c: Likewise.
36022 * time/getitimer.c: Likewise.
36023 * time/gettimeofday.c: Likewise.
36024 * time/setitimer.c: Likewise.
36025 * time/settimeofday.c: Likewise.
36026 * time/stime.c: Likewise.
36027 * time/time.c: Likewise.
36028
360292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36030
a20492cf
PT
36031 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36032 /usr/old/bin.
36033
72e182e3
PT
36034 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36035 instead of spaces.
36036 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36037
fbeafede
JM
360382012-11-03 Joseph Myers <joseph@codesourcery.com>
36039
5b5b04d6
JM
36040 [BZ #14796]
36041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36042 FE_TONEAREST before applying Dekker multiplication and Knuth
36043 addition. Clear inexact exceptions and check for exact zero
36044 results afterwards.
36045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36048 * math/libm-test.inc (fma_test): Add more tests.
36049 (fma_test_towardzero): Likewise.
36050 (fma_test_downward): Likewise.
36051 (fma_test_upward): Likewise.
36052 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36053 function.
36054 (libc_fesetround): New macro.
36055 (libc_fesetroundf): Likewise.
36056 (libc_fesetroundl): Likewise.
36057 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36058 function.
36059 (libc_fesetround_387): Likewise.
36060 (libc_fesetroundf): New macro.
36061 (libc_fesetround): Likewise.
36062 (libc_fesetroundl): Likewise.
36063 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36064 function.
36065 (libc_fesetroundf): New macro.
36066 (libc_fesetround): Likewise.
36067 (libc_fesetroundl): Likewise.
36068 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36069 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36070 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36071 libm_hidden_ver.
36072 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36073 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36074 libm_hidden_def.
36075 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36076 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36077 libm_hidden_ver.
36078 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36079 libm_hidden_def.
36080
fbeafede
JM
36081 [BZ #3439]
36082 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36083 integer constant usable in #if and use that to give value to enum
36084 constant.
36085 (FE_DIVBYZERO): Likewise.
36086 (FE_UNDERFLOW): Likewise.
36087 (FE_OVERFLOW): Likewise.
36088 (FE_INVALID): Likewise.
36089 (FE_INVALID_SNAN): Likewise.
36090 (FE_INVALID_ISI): Likewise.
36091 (FE_INVALID_IDI): Likewise.
36092 (FE_INVALID_ZDZ): Likewise.
36093 (FE_INVALID_IMZ): Likewise.
36094 (FE_INVALID_COMPARE): Likewise.
36095 (FE_INVALID_SOFTWARE): Likewise.
36096 (FE_INVALID_SQRT): Likewise.
36097 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36098 (FE_TONEAREST): Likewise.
36099 (FE_TOWARDZERO): Likewise.
36100 (FE_UPWARD): Likewise.
36101 (FE_DOWNWARD): Likewise.
36102 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36103 (FE_DIVBYZERO): Likewise.
36104 (FE_OVERFLOW): Likewise.
36105 (FE_UNDERFLOW): Likewise.
36106 (FE_INEXACT): Likewise.
36107 (FE_TONEAREST): Likewise.
36108 (FE_DOWNWARD): Likewise.
36109 (FE_UPWARD): Likewise.
36110 (FE_TOWARDZERO): Likewise.
36111 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36112 (FE_UNDERFLOW): Likewise.
36113 (FE_OVERFLOW): Likewise.
36114 (FE_DIVBYZERO): Likewise.
36115 (FE_INVALID): Likewise.
36116 (FE_TONEAREST): Likewise.
36117 (FE_TOWARDZERO): Likewise.
36118 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36119 (FE_OVERFLOW): Likewise.
36120 (FE_UNDERFLOW): Likewise.
36121 (FE_DIVBYZERO): Likewise.
36122 (FE_INEXACT): Likewise.
36123 (FE_TONEAREST): Likewise.
36124 (FE_TOWARDZERO): Likewise.
36125 (FE_UPWARD): Likewise.
36126 (FE_DOWNWARD): Likewise.
36127 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36128 (FE_DIVBYZERO): Likewise.
36129 (FE_OVERFLOW): Likewise.
36130 (FE_UNDERFLOW): Likewise.
36131 (FE_INEXACT): Likewise.
36132 (FE_TONEAREST): Likewise.
36133 (FE_DOWNWARD): Likewise.
36134 (FE_UPWARD): Likewise.
36135 (FE_TOWARDZERO): Likewise.
36136
105ca950
CM
361372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36138
36139 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36140
a542b389
AS
361412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36142
36143 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36144 commands. Quote $PWD.
36145 (blacklist_exports): Don't use remove_newlines. Replace "declare
36146 -x" by "export".
36147 (remove_newlines): Remove.
36148
f62c8abc
L
361492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36150
36151 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36152 * stdlib/stdlib.h (atof): Moved to ...
36153 * include/bits/stdlib-float.h: Here. New file.
36154 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36155 * stdlib/bits/stdlib-float.h: New file.
36156 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36157 -mno-sse -mno-mmx.
36158 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36159 <xmmintrin.h>.
36160
0155d5b2
JM
361612012-11-02 Joseph Myers <joseph@codesourcery.com>
36162
a68d0680
JM
36163 * conform/conformtest.pl (@headers): Add fenv.h.
36164 * conform/data/fenv.h-data: New file.
36165 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36166 include of <math/fenv.h>.
36167
caf7f573
JM
36168 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36169 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36170 && !UNIX98]. Enables tests for XOPEN2K8.
36171 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36172 POSIX2008]: Likewise.
36173
6c073ad6
JM
36174 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36175 (struct rusage): Do not expect type or its members.
36176
0155d5b2
JM
36177 [BZ #3439]
36178 * math/math.h (FP_NAN): Define macro to integer constant usable in
36179 #if and use that to give value to enum constant.
36180 (FP_INFINITE): Likewise.
36181 (FP_ZERO): Likewise.
36182 (FP_SUBNORMAL): Likewise.
36183 (FP_NORMAL): Likewise.
36184
b5dcacb4
AS
361852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36186
36187 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36188 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36189 arguments.
36190
f7934be8
RM
361912012-11-02 Roland McGrath <roland@hack.frob.com>
36192
36193 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36194 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36195 autoconf-time if not.
36196 * configure.in: Remove AC_PREREQ.
36197
d7d08bde
TMQMF
361982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36199
36200 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36201 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36202 of the internal implementation.
36203
dcdae19a
JM
362042012-11-02 Joseph Myers <joseph@codesourcery.com>
36205
36206 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36207 except include of <misc/sys/syslog.h>.
36208
d6cffd3e
AS
362092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36210
36211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36212 function returns with a NULL context exit with zero.
36213
b3563932
TMQMF
362142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36215
36216 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36217
b288a93d
L
362182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36219
36220 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36221 (run_program_cmd): This.
36222 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36223 (tst_langinfo): New variable. Use it.
36224
a2421a68
SAS
362252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36226
36227 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36228 floating point opcodes.
36229
6f796e1b
TS
362302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36231
7402596b
TS
36232 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36233 variable.
36234
d0d4f868
TS
36235 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36236
6f796e1b
TS
36237 * sysdeps/mach/hurd/powerpc: Remove directory.
36238 * sysdeps/mach/powerpc: Likewise.
36239
4da224a2
AS
362402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36241
36242 * scripts/check-local-headers.sh: Ignore c++ headers.
36243
341dd673
TS
362442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36245
36246 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36247 __libc_cleanup_region_start argument.
36248
473611b2
JM
362492012-11-01 Joseph Myers <joseph@codesourcery.com>
36250
36251 [BZ #14784]
36252 [BZ #14785]
36253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36254 x * y using scaling, not as x * y + z.
36255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36257 * math/libm-test.inc (fma_test): Add more tests.
36258 (fma_test_towardzero): Likewise.
36259 (fma_test_downward): Likewise.
36260 (fma_test_upward): Likewise.
36261
4078da3d
TS
362622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36263
36264 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36265
903252aa
JM
362662012-10-31 Joseph Myers <joseph@codesourcery.com>
36267
36268 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36269 New variable.
36270
cbc818d0
TS
362712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36272
36273 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36274
5a03cb1e
AS
362752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36276
36277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36278 Fix sort order.
36279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36280 Likewise.
36281
90aff2ff
TMQMF
362822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36283
36284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36285 Fix the order of the list for glibc 2.17.
36286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36287 Likewise.
36288
1818fcb7
AS
362892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36290
36291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36292
ef82f4da
JM
362932012-10-31 Joseph Myers <joseph@codesourcery.com>
36294
16a0e2ec
JM
36295 [BZ #14610]
36296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36297 for low part of x being zero before using __atanl (y).
36298 * math/libm-test.inc (atan2_test): Add another test.
36299
0eb69512
JM
36300 * manual/install.texi (Configuring and compiling): Document
36301 general use of test-wrapper and test-wrapper-env.
36302 * INSTALL: Regenerated.
36303
ef82f4da
JM
36304 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36305 (__fma): Do not extract and scale down low bits on after-rounding
36306 systems when result rounded to normal precision would have normal
36307 exponent.
36308 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36309 (__fmal): Do not extract and scale down low bits on after-rounding
36310 systems when result rounded to normal precision would have normal
36311 exponent.
36312 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36313 (__fmal): Do not extract and scale down low bits on after-rounding
36314 systems when result rounded to normal precision would have normal
36315 exponent.
36316 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36317 macro.
36318 (fma_test): Add more tests.
36319 (fma_test_towardzero): Likewise.
36320 (fma_test_downward): Likewise.
36321 (fma_test_upward): Likewise.
36322
954ef0d9
L
363232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36324
36325 * sysdeps/i386/tininess.h: Renamed to ...
36326 * sysdeps/x86/tininess.h: This.
36327 * sysdeps/x86_64/tininess.h: Removed.
36328
df61ffb2
JM
363292012-10-30 Joseph Myers <joseph@codesourcery.com>
36330
36331 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36332 input. Use $(build-program-cmd).
36333 ($(objpfx)tst-array1-static.out): Likewise.
36334 ($(objpfx)tst-array2.out): Likewise.
36335 ($(objpfx)tst-array3.out): Likewise.
36336 ($(objpfx)tst-array4.out): Likewise.
36337 ($(objpfx)tst-array5.out): Likewise.
36338 ($(objpfx)tst-array5-static.out): Likewise.
36339
01767843
CM
363402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36341
47cc1490
CM
36342 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36343 if defined.
36344
01767843
CM
36345 * nss/nsswitch.h (nss_interface_function): Provide new
36346 macro for use with NSS functions.
36347 * grp/initgroups.c: Use new macro.
36348 * nss/getXXbyYY.c: Likewise.
36349 * nss/getXXbyYY_r.c: Likewise.
36350 * nss/getXXent.c: Likewise.
36351 * nss/getXXent_r.c: Likewise.
36352 * sysdeps/posix/getaddrinfo.c: Likewise.
36353
8321aa97
AJ
363542012-10-30 Andreas Jaeger <aj@suse.de>
36355
36356 * po/ru.po: Update Russion translation from translation project.
36357
2a27fd6d
JM
363582012-10-30 Joseph Myers <joseph@codesourcery.com>
36359
8627a232
JM
36360 [BZ #14152]
36361 [BZ #14783]
36362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36363 result and shift together with sticky bit instead of replicating
36364 round-to-nearest rounding.
36365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36367 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36368 missing underflow exceptions.
36369 (fma_test_towardzero): Add more tests.
36370 (fma_test_downward): Likewise.
36371 (fma_test_upward): Likewise.
36372
2a27fd6d
JM
36373 [BZ #14047]
36374 * sysdeps/generic/tininess.h: New file.
36375 * sysdeps/i386/tininess.h: Likewise.
36376 * sysdeps/sh/tininess.h: Likewise.
36377 * sysdeps/x86_64/tininess.h: Likewise.
36378 * stdlib/tst-strtod-underflow.c: Likewise.
36379 * stdlib/tst-tininess.c: Likewise.
36380 * stdlib/strtod_l.c: Include <tininess.h>.
36381 (round_and_return): Do not set errno for exact underflow cases.
36382 Force an underflow exception when setting errno for underflow.
36383 Determine underflow based on rounding to normal precision if
36384 TININESS_AFTER_ROUNDING.
36385 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36386 ERANGE for exact underflow cases.
36387 * stdlib/Makefile (tests): Add tst-tininess and
36388 tst-strtod-underflow.
36389 ($(objpfx)tst-tininess): Use $(link-libm).
36390 ($(objpfx)tst-strtod-underflow): Likewise.
36391
e7170363
AJ
363922012-10-30 Andreas Jaeger <aj@suse.de>
36393
e5088dc6
AJ
36394 [BZ#14767]
36395 * elf/Makefile (tests): Remove conditional for have-initfini-array
36396 since this is now always required and the variable does not exist
36397 anymore.
36398 (tests-static): Likewise.
36399 (modules-names): Likewise.
36400
e7170363 36401 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36402
36403 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36404 merged with constructor/destructor.
36405 (init_array): Likewise.
36406 * elf/tst-array2dep.c (fini_array): Likewise.
36407 (init_array): Likewise.
36408
60457d8a
MF
364092012-10-29 Mike Frysinger <vapier@gentoo.org>
36410
36411 * manual/message.texi: Delete @cartouche tags.
36412
8bece752
PT
364132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36414
94ce799f
PT
36415 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36416 EOPNOTSUPP.
36417 * sysdeps/mach/hurd/fsync.c: Likewise.
36418
8bece752
PT
36419 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36420 [_POSIX_REALTIME_SIGNALS]: Change condition to
36421 [_POSIX_REALTIME_SIGNALS > 0].
36422
86ebe6b1
AJ
364232012-10-27 Andreas Jaeger <aj@suse.de>
36424
36425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36426 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36428 [__WORDSIZE != 64]: Likewise.
36429
54399c08
L
364302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36431
36432 * iconvdata/tst-table.sh: Remove ${SHELL}.
36433 * iconvdata/tst-tables.sh: Likewise.
36434
e2211bed
DM
364352012-10-25 David S. Miller <davem@davemloft.net>
36436
36437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36438 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36439 of strtoull.
36440
f303f97c
DM
36441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36442 ifunc-impl-list.c
36443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36444 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36445 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36446 file.
36447
1e9d84cd
RM
364482012-10-25 Roland McGrath <roland@hack.frob.com>
36449
36450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36451 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36452 __getdirentries.
36453
df381762
JM
364542012-10-25 Joseph Myers <joseph@codesourcery.com>
36455 Jim Blandy <jimb@codesourcery.com>
36456
36457 * scripts/cross-test-ssh.sh: New file.
36458 * manual/install.texi (Configuring and compiling): Document use of
36459 cross-test-ssh.sh.
36460 * INSTALL: Regenerated.
36461
bff64913
PT
364622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36463
36464 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36465 EOPNOTSUPP.
36466
25fe8932
JM
364672012-10-25 Joseph Myers <joseph@codesourcery.com>
36468
36469 * Makeconfig (run-program-prefix): Fix comment.
36470
cc1290d0
JM
364712012-10-24 Joseph Myers <joseph@codesourcery.com>
36472 Jim Blandy <jimb@codesourcery.com>
36473
36474 * Makeconfig (test-wrapper): New variable,
36475 (test-wrapper-env): Likewise.
36476 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36477 (run-built-tests): Define to yes.
36478 (run-program-prefix): Use $(test-wrapper).
36479 (built-program-cmd): Likewise.
36480 * Rules (make-test-out): Use $(test-wrapper-env) and
36481 $(host-built-program-cmd).
36482 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36483 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36484 tst-pathopt.sh.
36485 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36486 $(test-wrapper-env) to tst-rtld-load-self.sh.
36487 ($(objpfx)order2.out): Use $(test-wrapper).
36488 ($(objpfx)tst-initorder.out): Likewise.
36489 ($(objpfx)tst-initorder2.out): Likewise.
36490 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36491 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36492 (test_wrapper_env): New variable. Use it to run ld.so.
36493 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36494 Use it to run ld.so.
36495 (test_wrapper_env): Likewise.
36496 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36497 $(test-wrapper) to run-iconv-test.sh.
36498 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36499 (ICONV): Use $test_wrapper.
36500 * posix/Makefile ($(objpfx)globtest.out): Pass
36501 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36502 globtest.sh, not $(run-program-prefix).
36503 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36504 (test_wrapper): Likewise.
36505 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36506 set together with run_via_rtld_prefix.
36507 (run_program_prefix): Define in terms of test_wrapper and
36508 run_via_rtld_prefix.
36509
6e6249d0
RM
365102012-10-24 Roland McGrath <roland@hack.frob.com>
36511
36512 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36513 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36514 Targets removed.
36515
36516 [BZ #14743]
36517 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36518 Declare __clock_getres, __clock_gettime, __clock_settime,
36519 __clock_nanosleep, and __clock_getcpuclockid.
36520 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36521 Remove librt_hidden_def (clock_gettime).
36522 * sysdeps/unix/clock_gettime.c: Likewise.
36523 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36524 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36525 * rt/clock_getres.c: Define __clock_getres as an alias.
36526 * sysdeps/posix/clock_getres.c: Likewise.
36527 * rt/clock_settime.c: Define __clock_settime as an alias.
36528 * sysdeps/unix/clock_settime.c: Likewise.
36529 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36530 * sysdeps/unix/clock_nanosleep.c: Likewise.
36531 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36532 * rt/clock-compat.c: New file.
36533 * rt/Makefile (librt-routines): Add clock-compat and move
36534 $(clock-routines) to ...
36535 (routines): ... here, new variable.
36536 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36537 Don't add get_clockfreq here.
36538 * rt/Versions (libc: GLIBC_2.17): New version set.
36539 Add clock_* symbols here.
36540 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36542 (GLIBC_2.17): Add clock_* symbols.
36543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36547 Likewise.
36548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36549 Likewise.
36550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36554 * NEWS: Mention the move.
36555
36556 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36557 Use __open, __read, __close rather than their public counterparts.
36558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36559 (__get_clockfreq_via_cpuinfo): Likewise.
36560 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36561 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36562
36563 * config.h.in (HAVE_IFUNC): New #undef.
36564 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36565 was successful.
36566 * configure: Regenerated.
36567
0cae3f4b
MF
365682012-10-24 Mike Frysinger <vapier@gentoo.org>
36569
36570 * configure.in: Move READELF check to start of file.
36571 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36572 libc_cv_asm_gnu_indirect_function in the process.
36573 * configure: Regenerated.
36574
8175a253
MF
365752012-10-24 Mike Frysinger <vapier@gentoo.org>
36576
36577 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36578 send the output to /dev/null.
36579 (libc_cv_cc_with_libunwind): Likewise.
36580 (libc_cv_as_noexecstack): Likewise.
36581 * configure: Regenerate.
36582
0708a7d1
JM
365832012-10-24 Joseph Myers <joseph@codesourcery.com>
36584
10b40d85
JM
36585 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36586
0708a7d1
JM
36587 * posix/globtest.sh (TMPDIR): Do not set.
36588 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36589 (testout): Likewise.
36590
9fddec1a
AJ
365912012-10-24 Andreas Jaeger <aj@suse.de>
36592
3a8db22f
AJ
36593 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36594 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36595 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36596 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36597 posix_fadvise64, posix_fallocate64.
36598
9fddec1a
AJ
36599 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36600 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36601 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36602 Likewise.
36603 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36604 Likewise.
36605 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36606
36607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36608 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36609 <bits/fcntl-linux.h>.
36610 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36611
36612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36613 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36614 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36615 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36616 [__WORDSIZE != 64]: Likewise.
36617
ebfd1bbd
JM
366182012-10-23 Joseph Myers <joseph@codesourcery.com>
36619
03ac099f
JM
36620 * Makeconfig (run-built-tests): New variable.
36621 * Rules [$(cross-compiling) = yes]: Change condition to
36622 [$(run-built-tests) = no].
36623 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36624 to [$(run-built-tests) = yes].
36625 * elf/Makefile [$(cross-compiling) = no]: Likewise
36626 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36627 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36628 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36629 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36630 * io/Makefile [$(cross-compiling) = no]: Likewise.
36631 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36632 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36633 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36634 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36635 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36636 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36637 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36638 * string/Makefile [$(cross-compiling) = no]: Likewise.
36639
ebfd1bbd
JM
36640 * posix/Makefile ($(objpfx)globtest.out): Pass
36641 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36642 $(rtld-installed-name).
36643 * posix/globtest.sh (elf_objpfx): Remove variable.
36644 (rtld_installed_name): Likewise.
36645 (library_path): Likewise.
36646 (run_program_prefix): New variable. Use for running globtest
36647 binary.
36648
166bca24
JB
366492012-10-23 Jim Blandy <jimb@codesourcery.com>
36650 Joseph Myers <joseph@codesourcery.com>
36651
36652 * Makeconfig (host-built-program-cmd): New variable.
36653 * elf/Makefile (tst-stackguard1-ARGS): Use
36654 $(host-built-program-cmd).
36655 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36656 (tst-spawn-ARGS): Likewise.
36657 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36658
88866099
JM
366592012-10-23 Joseph Myers <joseph@codesourcery.com>
36660 Jim Blandy <jimb@codesourcery.com>
36661
36662 * Makeconfig (run-via-rtld-prefix): New variable.
36663 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36664 (built-program-cmd): Likewise.
36665
b4b4c296
AJ
366662012-10-22 Andreas Jaeger <aj@suse.de>
36667
36668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36669 __O_RSYNC if it exists, otherwise to O_SYNC.
36670
6fb54a22
JB
366712012-10-22 Jim Blandy <jimb@codesourcery.com>
36672 Joseph Myers <joseph@codesourcery.com>
36673
36674 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36675 /dev/null.
36676 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36677 from /dev/null
36678 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36679 /dev/null.
36680
481b90b9
AJ
366812012-10-22 Andreas Jaeger <aj@suse.de>
36682
2a0e2669
AJ
36683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36684 Define always.
36685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36686
76e38f9a
AJ
36687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36688 bits/fcntl-linux.h.
36689
7cd37b43
AJ
36690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36691 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36692
481b90b9
AJ
36693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36694 to __O_LARGEFILE.
36695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36696 to __O_LARGEFILE.
36697
aba75984
JB
366982012-10-21 Jim Blandy <jimb@codesourcery.com>
36699 Joseph Myers <joseph@codesourcery.com>
36700
36701 * config.make.in (NM): New variable.
36702
88d4247f
AJ
367032012-10-21 Andreas Jaeger <aj@suse.de>
36704
36705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36706 definitions and declarations that are provided by
36707 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36708
f2eed205
L
367092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36710
36711 [BZ #14683]
36712 * elf/Makefile (tests-static): Add tst-leaks1-static.
36713 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36714 ($(objpfx)tst-leaks1-static): New rule.
36715 ($(objpfx)tst-leaks1-static-mem): Likewise.
36716 (tst-leaks1-static-ENV): New macro.
36717 * elf/dl-open.c (dl_open_worker): Check the main application
36718 only if SHARED is defined.
36719 * elf/tst-leaks1-static.c: New file.
36720
335e6931
AJ
367212012-10-20 Andreas Jaeger <aj@suse.de>
36722
36723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36724 generic values for Linux.
36725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36726 and declarations that are provided by <bits/fcntl-linux.h> and
36727 include <bits/fcntl-linux.h>.
36728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36730
ac5c94d3
RM
367312012-10-20 Roland McGrath <roland@hack.frob.com>
36732
36733 * io/fcntl.h: Move include of <bits/types.h> to the top and
36734 include it unconditionally.
36735
de54b33a
L
367362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36737
228cfb01
L
36738 * wcsmbs/Makefile (tests-ifunc): New variable.
36739 (tests): Add $(tests-ifunc).
36740 * wcsmbs/test-wcschr-ifunc.c: New file.
36741 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36742 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36743 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36744 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36745 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36746
69f07e5f
L
36747 * string/Makefile (tests-ifunc): New variable.
36748 (tests): Add $(tests-ifunc).
36749 * string/test-memccpy.c (TEST_NAME): New macro.
36750 * string/test-memchr.c (TEST_NAME): Likewise.
36751 * string/test-memcmp.c (TEST_NAME): Likewise.
36752 * string/test-memcpy.c (TEST_NAME): Likewise.
36753 * string/test-memmem.c (TEST_NAME): Likewise.
36754 * string/test-memmove.c (TEST_NAME): Likewise.
36755 * string/test-memset.c (TEST_NAME): Likewise.
36756 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36757 * string/test-stpcpy.c (TEST_NAME): Likewise.
36758 * string/test-stpncpy.c (TEST_NAME): Likewise.
36759 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36760 * string/test-strcasestr.c (TEST_NAME): Likewise.
36761 * string/test-strcat.c (TEST_NAME): Likewise.
36762 * string/test-strchr.c (TEST_NAME): Likewise.
36763 * string/test-strcmp.c(TEST_NAME): Likewise.
36764 * string/test-strcpy.c (TEST_NAME): Likewise.
36765 * string/test-strcspn.c (TEST_NAME): Likewise.
36766 * string/test-strlen.c (TEST_NAME): Likewise.
36767 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36768 * string/test-strncmp.c (TEST_NAME): Likewise.
36769 * string/test-strncpy.c (TEST_NAME): Likewise.
36770 * string/test-strnlen.c (TEST_NAME): Likewise.
36771 * string/test-strpbrk.c (TEST_NAME): Likewise.
36772 * string/test-strrchr.c (TEST_NAME): Likewise.
36773 * string/test-strspn.c (TEST_NAME): Likewise.
36774 * string/test-strstr.c (TEST_NAME): Likewise.
36775 * string/test-bcopy-ifunc.c: New file.
36776 * string/test-bzero-ifunc.c: Likewise.
36777 * string/test-memccpy-ifunc.c: Likewise.
36778 * string/test-memchr-ifunc.c: Likewise.
36779 * string/test-memcmp-ifunc.c: Likewise.
36780 * string/test-memcpy-ifunc.c: Likewise.
36781 * string/test-memmem-ifunc.c: Likewise.
36782 * string/test-memmove-ifunc.c: Likewise.
36783 * string/test-mempcpy-ifunc.c: Likewise.
36784 * string/test-memset-ifunc.c: Likewise.
36785 * string/test-rawmemchr-ifunc.c: Likewise.
36786 * string/test-stpcpy-ifunc.c: Likewise.
36787 * string/test-stpncpy-ifunc.c: Likewise.
36788 * string/test-strcasecmp-ifunc.c: Likewise.
36789 * string/test-strcasestr-ifunc.c: Likewise.
36790 * string/test-strcat-ifunc.c: Likewise.
36791 * string/test-strchr-ifunc.c: Likewise.
36792 * string/test-strchrnul-ifunc.c: Likewise.
36793 * string/test-strcmp-ifunc.c: Likewise.
36794 * string/test-strcpy-ifunc.c: Likewise.
36795 * string/test-strcspn-ifunc.c: Likewise.
36796 * string/test-strlen-ifunc.c: Likewise.
36797 * string/test-strncasecmp-ifunc.c: Likewise.
36798 * string/test-strncat-ifunc.c: Likewise.
36799 * string/test-strncmp-ifunc.c: Likewise.
36800 * string/test-strncpy-ifunc.c: Likewise.
36801 * string/test-strnlen-ifunc.c: Likewise.
36802 * string/test-strpbrk-ifunc.c: Likewise.
36803 * string/test-strrchr-ifunc.c: Likewise.
36804 * string/test-strspn-ifunc.c: Likewise.
36805 * string/test-strstr-ifunc.c: Likewise.
36806
de54b33a
L
36807 * debug/Makefile (tests-ifunc): New variable.
36808 (tests): Add $(tests-ifunc).
36809 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36810 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36811 * debug/test-stpcpy_chk-ifunc.c: New file.
36812 * debug/test-strcpy_chk-ifunc.c: Likewise.
36813
88481c16
SP
368142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36815
36816 [BZ #13601]
36817 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36818 header is not read in.
36819
135948bd
JM
368202012-10-19 Joseph Myers <joseph@codesourcery.com>
36821
89f1c388
JM
36822 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36823 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36824 directly. Pass built executable to script as
36825 $(built-program-cmd).
36826 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36827 $testprogram without using LD_LIBRARY_PATH and $ldso.
36828
e40a0d21
JM
36829 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36830 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36831 $(rtld-installed-name).
36832 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36833 (rtld_installed_name): Likewise.
36834 (library_path): Likewise.
36835 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36836 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36837 $(run-program-prefix) to tst-tables.sh.
36838 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36839 it to run tst-table-from and tst-table-to.
36840 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36841 Pass it to tst-table.sh.
36842 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36843 $(run-program-prefix) to tst-gettext.sh.
36844 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36845 tst-translit.sh.
36846 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36847 tst-gettext2.sh.
36848 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36849 to run tst-gettext.
36850 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36851 to run tst-gettext2.
36852 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36853 to run tst-translit.
36854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36855 $(run-program-prefix) to tst-mtrace.sh.
36856 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36857 to run tst-mtrace.
36858 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36859 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36860 $(rtld-installed-name).
36861 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36862 (rtld_installed_name): Likewise.
36863 (run_program_prefix): New variable. Use it to run wordexp-test.
36864
728e272a
JM
36865 * Makeconfig (ARCH): Remove all definitions.
36866 (machine): Likewise.
36867 [ARCH]: Remove conditional code.
36868 [!objdir]: Give error.
36869 [!objdir] (objpfx): Remove.
36870 [!objdir] (common-objpfx): Likewise.
36871 [!objdir] (common-objdir): Likewise.
36872 * configure.in (config_makefile): Remove. Hardcode Makefile in
36873 AC_CONFIG_FILES call.
36874 * configure: Regenerated.
36875
d528cdcf
JM
36876 [BZ #13888]
36877 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36878 or TMPDIR.
36879 (testout): Likewise.
36880
135948bd
JM
36881 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36882 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36883 $(rtld-installed-name).
36884 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36885 (rtld_installed_name): Likwise.
36886 (runit): Remove function.
36887 (run_getconf): New variable, Use it for running getconf binary.
36888
38c78296
L
368892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36890
36891 [BZ #14716]
36892 * string/test-memmem.c (check_result): New function.
36893 (do_one_test): Use it.
36894 (check1): New function.
36895 (test_main): Use it.
36896
d077f65f
MT
368972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36898
36899 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36900
ced52c71
JM
369012012-10-18 Joseph Myers <joseph@codesourcery.com>
36902
36903 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36904 (_G_LSEEK64): Likewise.
36905 (_G_MMAP64): Likewise.
36906 (_G_FSTAT64): Likewise.
36907 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36908 (_G_LSEEK64): Likewise.
36909 (_G_MMAP64): Likewise.
36910 (_G_FSTAT64): Likewise.
36911 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36912 unconditional. Call __mmap64 directly.
36913 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36914 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36915 __lseek64 directly.
36916 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36917 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36918 __mmap64 directly.
36919 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36920 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36921 __lseek64 directly.
36922 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36923 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36924 __lseek64 directly.
36925 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36926 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36927 __lseek64 directly.
36928 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36929 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36930 __fxstat64 directly.
36931 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36932 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36933 unconditional.
36934 (freopen64) [!_G_OPEN64]: Remove conditional code.
36935 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36936 unconditional.
36937 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36938 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36939 unconditional.
36940 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36941 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36942 unconditional.
36943 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36944 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36945 unconditional.
36946 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36947 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36948 unconditional.
36949 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36950 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36951 unconditional.
36952 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36953 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36954 unconditional.
36955 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36956
b741de23
SP
369572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36958
36959 [BZ #12140]
36960 * manual/memory.texi (Malloc Tunable Parameters): Add note
36961 about free list pointers overwriting some perturb bytes.
36962 Wording suggested by Roland McGrath.
36963
f9b9d9c9
JM
369642012-10-17 Joseph Myers <joseph@codesourcery.com>
36965
36966 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36967 (lgamma_test): Likewise.
36968 (tgamma_test): Likewise.
36969
172a631a
FW
369702012-10-16 Florian Weimer <fweimer@redhat.com>
36971
36972 [BZ #14700]
36973 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36974 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36975
e9f37252
MK
369762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36977
36978 * NEWS: Mention BZ #14716.
36979 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36980 when removing AVAILABLE1_USES_J macro.
36981
d394eb74
L
369822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36983
36984 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36985 (__bswap_64): __uint64_t for unsigned 64-bit int.
36986
ca38dc17
AS
369872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36988
36989 * include/string.h (memmem): Declare libc hidden alias.
36990 * string/memmem.c (memmem): Define libc hidden alias.
36991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36992 __read, __close instead of open, read, close.
36993
9a387d1f
L
369942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36995
ac49ecaf
L
36996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36997 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36998 global and hidden.
36999 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37000 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37001 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37002 Likewise.
37003 (__rawmemchr_sse2): Likewise.
37004 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37005 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37006 (__strchr_sse2): Likewise.
37007 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37008 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37009 (__strcasecmp_sse2): Likewise.
37010 (__strncasecmp_sse2): Likewise.
37011 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37012 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37013 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37014 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37015 (__strrchr_sse2): Likewise.
37016 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37017 ifunc-impl-list.c.
37018 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37019 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37020 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37021 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37022 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37023 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37024 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37025 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37026 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37027 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37028 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37029 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37030 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37031 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37032 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37033 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37034 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37035 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37036 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37037 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37038 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37039 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37040 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37041 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37042 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37043 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37044 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37045 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37046 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37047 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37048
b090e8ea
L
37049 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37050 global and hidden.
37051 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37052 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37053 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37054 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37055 Likewise.
37056 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37057 Likewise.
37058 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37059 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37060 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37061 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37062 ifunc-impl-list.c.
37063 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37064 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37065 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37066 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37067 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37068 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37069 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37070 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37071 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37072 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37073 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37074 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37075 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37076 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37077 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37078 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37079 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37080 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37081 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37082 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37083 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37084 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37085 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37086 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37087 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37088 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37089 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37090 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37091 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37092 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37093 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37094 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37095 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37096 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37097 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37098 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37099 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37100 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37101 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37102 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37103 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37104
11dd4af6
L
37105 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37106 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37107 * include/ifunc-impl-list.h: New file.
37108 * misc/ifunc-impl-list.c: Likewise.
37109 * misc/Makefile (routines): Add ifunc-impl-list.
37110 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37111 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37112 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37113 TEST_NAME]: New variables.
11dd4af6
L
37114 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37115 are defined.
37116 (test_init): Call __libc_ifunc_impl_list to initialize
37117 func_list if TEST_IFUNC and TEST_NAME are defined.
37118
9a387d1f
L
37119 * string/Makefile (strop-tests): Add bcopy and bzero.
37120 * string/test-bcopy.c: New file.
37121 * string/test-bzero.c: Likewise.
37122 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37123 defined.
37124 * string/test-memset.c: Support bzero test if TEST_BZERO is
37125 defined.
37126 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37127 __libc_memmove.
37128 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37129 __libc_memset.
37130 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37131 of memset.
37132
472371b9
JM
371332012-10-10 Joseph Myers <joseph@codesourcery.com>
37134
1e4a9536
JM
37135 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37136 * configure: Regenerated.
37137
d173d12e
JM
37138 * Makeconfig (+link-static-before-libc): Don't include
37139 $(link-static-libc).
37140
472371b9
JM
37141 * libio/libio.h (_IO_pos_t): Remove.
37142
89a3ad0b
AO
371432012-10-10 Alexandre Oliva <aoliva@redhat.com>
37144
37145 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37146 McGrath.
37147
e7451425
AO
371482012-10-10 Alexandre Oliva <aoliva@redhat.com>
37149
37150 * crypt/crypt-entry.c: Include fips-private.h.
37151 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37152 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37153 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37154 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37155
4ba74a35
AO
371562012-10-10 Alexandre Oliva <aoliva@redhat.com>
37157
37158 * crypt/crypt-private.h: Include stdbool.h.
37159 (_ufc_setup_salt_r): Return bool.
37160 * crypt/crypt-entry.c: Include errno.h.
37161 (__crypt_r): Return NULL with EINVAL for bad salt.
37162 * crypt/crypt_util.c (bad_for_salt): New.
37163 (_ufc_setup_salt_r): Check that salt is long enough and within
37164 the specified alphabet.
37165 * crypt/badsalttest.c: New file.
37166 * crypt/Makefile (tests): Add it.
37167 ($(objpfx)badsalttest): New.
37168
f96f1242
MK
371692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37170
37171 * NEWS: Add entry for BZ #14602.
37172
0e8e0c1c
JM
371732012-10-09 Joseph Myers <joseph@codesourcery.com>
37174
37175 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37176 type-generic.
37177 * math/libm-test.inc: Update comment listing what functions and
37178 macros are tested.
37179 (isgreater_test): New function.
37180 (isgreaterequal_test): Likewise.
37181 (isless_test): Likewise.
37182 (islessequal_test): Likewise.
37183 (islessgreater_test): Likewise.
37184 (isunordered_test): Likewise.
37185 (main): Call the new functions.
37186
273edc5e
RM
371872012-10-09 Roland McGrath <roland@hack.frob.com>
37188
b8493de0
RM
37189 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37190 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37191 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37192 * sysdeps/i386/configure: Regenerated.
37193 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37194 * sysdeps/mach/configure: Regenerated.
37195 * sysdeps/mach/hurd/configure: Regenerated.
37196 * sysdeps/powerpc/configure: Regenerated.
37197 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37198 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37199 * sysdeps/s390/s390-32/configure: Regenerated.
37200 * sysdeps/s390/s390-64/configure: Regenerated.
37201 * sysdeps/sh/configure: Regenerated.
37202 * sysdeps/sparc/configure: Regenerated.
37203 * sysdeps/unix/sysv/linux/configure: Regenerated.
37204 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37205 * sysdeps/x86_64/configure: Regenerated.
37206
273edc5e
RM
37207 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37208 defined. Don't check if MAP is NULL.
37209
c8450f70
JM
372102012-10-09 Joseph Myers <joseph@codesourcery.com>
37211
37212 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37213 (_G_stat64): Likewise.
37214 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37215 (_G_stat64): Likewise.
37216 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37217 instead of struct _G_stat64.
37218 * libio/fileops.c (mmap_remap_check): Likewise.
37219 (decide_maybe_mmap): Likewise.
37220 (_IO_new_file_seekoff): Likewise.
37221 (_IO_file_stat): Likewise.
37222 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37223 _G_off64_t.
37224 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37225 instead of struct _G_stat64.
37226 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37227
57e605ba
MK
372282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37229
37230 [BZ #14602]
37231 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37232 Replace with ...
37233 (CHECK_EOL): New macro.
37234 (two_way_short_needle): Check beginning of haystack for EOL. Use
37235 CHECK_EOL.
37236 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37237 Replace with CHECK_EOL.
37238 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37239 Replace with CHECK_EOL.
37240
ef1bb361
JM
372412012-10-08 Joseph Myers <joseph@codesourcery.com>
37242
37243 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37244 type-generic.
37245 * math/libm-test.inc: Update comment listing what functions and
37246 macros are tested.
37247 (finite_test): New function.
37248 (isinf_test): Likewise.
37249 (isnan_test): Likewise.
37250 (fpclassify_test): Test subnormal input.
37251 (isfinite_test): Likewise.
37252 (isnormal_test): Likewise.
37253 (main): Call the new functions.
37254
55f11534
JN
372552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37256
37257 [BZ #14660]
37258 * Makerules (%.dynsym): Force C locale when running
37259 $(OBJDUMP) --dynamic-syms.
37260
1ab29350
AS
372612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37262
37263 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37264 <stdint.h>.
37265
f1ecb7ef
DM
372662012-10-06 David S. Miller <davem@davemloft.net>
37267
37268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37269 upper 32-bits of the length value in %o2 since we use branch-on-register
37270 tests which consider the entire 64-bit register.
37271
5d41d91a
L
372722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37273
37274 * string/test-strstr.c (check2): Add a test for page boundary.
37275
3baddb72
DM
372762012-10-05 David S. Miller <davem@davemloft.net>
37277
37278 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37279 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37280 file.
37281 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37282 sysdep_routines.
37283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37284 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37285 and bzero when HWCAP_SPARC_CRYPTO is present.
37286
9cee5585
L
372872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37288
d7e0dab9
L
37289 [BZ #14602]
37290 * string/test-strstr.c (check2): New function.
37291 (test_main): Call check2.
37292
03759f47
L
37293 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37294 and bug-strchr1.
37295 * string/bug-strcasestr1.c (do_test): Moved to ...
37296 * string/test-strcasestr.c (check1): Here. New function.
37297 (do_one_test): Break out result checking code into ...
37298 (check_result): This. New function.
37299 (do_one_test): Call check_result.
37300 (test_main): Call check1.
37301 * string/bug-strchr1.c (do_test): Moved to ...
37302 * string/test-strchr.c (check1): Here. New function.
37303 (do_one_test): Break out result checking code into ...
37304 (check_result): This. New function.
37305 (do_one_test): Call check_result.
37306 (test_main): Call check1.
37307 * string/bug-strstr1.c (main): Moved to ...
046f153e 37308 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37309 (do_one_test): Break out result checking code into ...
37310 (check_result): This. New function.
37311 (do_one_test): Call check_result.
37312 (test_main): Call check1.
37313 * string/bug-strcasestr1.c: Removed.
37314 * string/bug-strchr1.c: Likewise.
37315 * string/bug-strstr1.c: Likewise.
37316
53cea63e
L
37317 * elf/Makefile (dl-routines): Add hwcaps.
37318 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37319 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37320 (_dl_important_hwcaps): Moved to ...
37321 * elf/dl-hwcaps.c: Here. New file.
37322 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37323
9cee5585 37324 [BZ #14557]
bb859b06
L
37325 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37326 if IS_IN_rtld isn't defined.
37327
9cee5585
L
37328 * elf/dl-support.c (_dl_sysinfo_map): New.
37329 Include "get-dynamic-info.h" and "setup-vdso.h".
37330 (_dl_non_dynamic_init): Call setup_vdso.
37331 * elf/dynamic-link.h: Don't include <assert.h>.
37332 (elf_get_dynamic_info): Moved to ...
37333 * elf/get-dynamic-info.h: Here. New file.
37334 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37335 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37336 * elf/setup-vdso.h: Here. New file.
37337 * elf/rtld.c: Include "setup-vdso.h".
37338 (dl_main): Call setup_vdso.
37339
23c31b76
JM
373402012-10-05 Joseph Myers <joseph@codesourcery.com>
37341
28234b07
JM
37342 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37343 creal in comment listing functions tested. List finite, isinf,
37344 isnan, isless, islessequal, isgreater, isgreaterequal,
37345 islessgreater, isunordered, lgamma_r and pow10 as functions and
37346 macros not tested. Mention which functions not tested are aliases
37347 for other functions. Fix typo. Note that signs of NaNs are not
37348 tested.
37349
23c31b76
JM
37350 * scripts/config.guess: Update from config.git.
37351 * scripts/config.sub: Likewise.
37352
9043e228
RM
373532012-10-04 Roland McGrath <roland@hack.frob.com>
37354
37355 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37356 * misc/madvise.c (madvise): Renamed to __madvise.
37357 Make madvise a weak alias.
37358 * include/sys/mman.h: Declare __madvise.
37359 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37360 * sysdeps/unix/syscalls.list
37361 (madvise): Make __madvise the strong name, and madvise a weak alias.
37362 * sysdeps/unix/sysv/linux/syscalls.list
37363 (madvise, mmap): Remove redundant entries.
37364 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37365 * malloc/malloc.c (mtrim): Likewise.
37366 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37367
f57f8055
RM
373682012-10-03 Roland McGrath <roland@hack.frob.com>
37369
37370 * sysdeps/mach/hurd/dl-cache.c: File removed.
37371 * config.h.in (USE_LDCONFIG): New #undef.
37372 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37373 * configure: Regenerated.
37374 * elf/Makefile (dl-routines): Add dl-cache only under
37375 [$(use-ldconfig) = yes].
37376 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37377 cache on [USE_LDCONFIG].
37378 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37379 [USE_LDCONFIG].
37380 * elf/rtld.c (dl_main): Likewise.
37381
5bb0c10a
PT
373822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37383
37384 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37385 _SC_LEVEL4_CACHE_LINESIZE.
37386
010188c6
RM
373872012-10-03 Roland McGrath <roland@hack.frob.com>
37388
37389 * sysdeps/unix/bsd/confstr.h: File removed.
37390
b6c5ec07
AO
373912012-10-02 Alexandre Oliva <aoliva@redhat.com>
37392
37393 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37394 sys/sdt-config.h.
37395
408223d4
RM
373962012-10-02 Roland McGrath <roland@hack.frob.com>
37397
37398 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37399 Make 'mapoff' field ElfW(Off) rather than off_t.
37400
bb9510dc
DL
374012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37402
fc997c6e
DL
37403 * nscd/Makefile: Remove nscd-cflags and all its users.
37404 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37405 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37406
bb9510dc
DL
37407 [BZ #10631]
37408 * malloc.c (malloc_printerr): Clarify error message.
37409
05699367
L
374102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37411
37412 [BZ #14648]
37413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37414 Set bit_FMA_Usable if FMA is supported.
37415 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37416 macro.
37417 (bit_FMA4_Usable): Updated.
37418 (index_FMA_Usable): New macro.
37419 (CPUID_FMA): Likewise
37420 (HAS_FMA): Defined with bit_FMA_Usable.
37421
51367701
RM
374222012-10-01 Roland McGrath <roland@hack.frob.com>
37423
37424 * bits/types.h (__swblk_t): Type removed.
37425 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37426 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37428 (__SWBLK_T_TYPE): Likewise.
37429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37430 (__SWBLK_T_TYPE): Likewise.
37431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37432 (__SWBLK_T_TYPE): Likewise.
37433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37434 (__SWBLK_T_TYPE): Likewise.
37435
4d57bf63 374362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37437 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37438
37439 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37440 (xdr_mapname): Use YPMAXMAP as maxsize.
37441 (xdr_peername): Use YPMAXPEER as maxsize.
37442 (xdr_keydat): Use YPAXRECORD as maxsize.
37443 (xdr_valdat): Use YPMAXRECORD as maxsize.
37444
93c65d43
RM
374452012-10-01 Roland McGrath <roland@hack.frob.com>
37446
497a03d6
RM
37447 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37448
93c65d43
RM
37449 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37450 * csu/init-first.c: ... here.
37451 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37452 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37453 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37454 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37455 * sysdeps/i386/init-first.c: File removed.
37456 * sysdeps/sh/init-first.c: File removed.
37457
bec749fd
JM
374582012-10-01 Joseph Myers <joseph@codesourcery.com>
37459
37460 [BZ #14645]
37461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37462 if x * y might underflow to zero and z is zero.
37463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37465 * math/libm-test.inc (min_subnorm_value): New variable.
37466 (fma_test): Add more tests.
37467 (fma_test_towardzero): Likewise.
37468 (fma_test_downward): Likewise
37469 (fma_test_upward): Likewise.
37470 (initialize): Set min_subnorm_value.
37471
8ec5b013
JM
374722012-09-29 Joseph Myers <joseph@codesourcery.com>
37473
37474 [BZ #14638]
37475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37476 0 + 0.
37477 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37478 mode for addition resulting in exact zero.
37479 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37481 exact 0 + 0.
37482 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37484 * math/libm-test.inc (fma_test): Add more tests.
37485 (fma_test_towardzero): New function.
37486 (fma_test_downward): Likewise.
37487 (fma_test_upward): Likewise.
37488 (main): Call the new functions.
37489
b1fa802e
DM
374902012-09-28 David S. Miller <davem@davemloft.net>
37491
37492 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37493
d3b9fd9e
RM
374942012-09-28 Roland McGrath <roland@hack.frob.com>
37495
ea4d37b3
RM
37496 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37497 instead of SIGALRM.
37498
ac51c949
RM
37499 * sysdeps/gnu/_G_config.h: Moved to ...
37500 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37501 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37502 * sysdeps/generic/_G_config.h: ... here.
37503
28c195f7
RM
37504 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37505
848917f9
RM
37506 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37507
6bacf05b
RM
37508 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37509 Conditionalize target on [libnss_test1.so-version].
37510
91363dbb
RM
37511 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37512
cc87f7d8
RM
37513 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37514 (elfobjdir): Move out of conditionals.
37515
b1c608fe
RM
37516 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37517 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37518 (__nss_lookup_function): Conditionalize label remove_from_tree on
37519 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37520
1d9a6d96
DM
375212012-09-28 David S. Miller <davem@davemloft.net>
37522
37523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37524 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37525 file.
37526 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37527 sysdep_routines.
37528 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37530 when HWCAP_SPARC_CRYPTO is present.
37531
72581615
PT
375322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37533
37534 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37535
715a900c
JL
375362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37537
37538 [BZ #6530]
37539 * stdio-common/vfprintf.c (process_string_arg): Revert
37540 2000-07-22 change.
37541
375422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37543
37544 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37545 for testcase.
37546 * stdio-common/tst-sprintf.c: Include <locale.h>
37547 (main): Test sprintf's handling of incomplete multibyte
37548 characters.
37549
9bac1d86
L
375502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37551
37552 * elf/dl-runtime.c (VERSYMIDX): Removed.
37553 * elf/dl-version.c (VERSYMIDX): Likewise.
37554 * elf/do-rel.h (VERSYMIDX): Likewise.
37555 (VALIDX): Likewise.
37556 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37557 * elf/rtld.c (VALIDX): Likewise.
37558 (ADDRIDX): Likewise.
9bac1d86
L
37559 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37560 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37561 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37562 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37563 (VALIDX): Likewise.
37564 (ADDRIDX): Likewise.
9bac1d86 37565
b31606c0
PT
375662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37567
37568 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37569
11541177
JL
375702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37571
37572 [BZ #11438]
37573 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37574 to global scope.
37575 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37576 addresses are in the same scope as 192.0.2/24.
37577 * posix/gai.conf: Document new scope table defaults.
37578
adb26fae
SP
375792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37580
37581 [BZ #5298]
37582 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37583 for ftell. Compute offsets from write pointers instead.
37584 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37585
4573c6b0
SP
375862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37587
37588 [BZ #14543]
37589 * libio/Makefile (tests): New test case tst-fseek.
37590 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37591 combination works in wide mode.
37592 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37593 state when the external buffer state changes.
37594
aa9bbfe6
DM
375952012-09-27 David S. Miller <davem@davemloft.net>
37596
37597 [BZ #14376]
37598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37599 pass reloc->r_addend in as the 'high' argument to
37600 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37601
784421e7
DM
37602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37603
c39bc8b8
PT
376042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37605
37606 * rt/tst-aio2.c: Include <pthread.h>.
37607 * rt/tst-aio3.c: Likewise.
37608
1ccc2399
SE
376092012-09-27 Steve Ellcey <sellcey@mips.com>
37610
37611 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37612
31ed4153
L
376132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37614
25f5f885
L
37615 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37616 contents on [SHARED].
31ed4153 37617
b7bfe116
MP
376182012-09-26 Marek Polacek <polacek@redhat.com>
37619
37620 [BZ #14530]
37621 [BZ #13741]
37622 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37623 for C++ and GCC <4.3 as well as for non GCC compilers.
37624
43c4edba
MT
376252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37626
37627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37628
6a1bf82f
RM
376292012-09-25 Roland McGrath <roland@hack.frob.com>
37630
37631 * Makefile.in (all, install): Declare with .PHONY.
37632 Reported by Michael Hope <michael.hope@linaro.org>.
37633
8ad11b9a
TMQMF
376342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37635
37636 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37637 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37638 system header.
37639 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37640 Likewise.
37641 (sydep_routines): Add the new and the internal functions.
37642 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37643 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37645 (GLIBC_2.17): Add the new function.
37646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37647 (GLIBC_2.17): Likewise.
37648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37649 (GLIBC_2.17): Likewise.
37650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37651 (GLIBC_2.17): Likewise.
37652 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37653
7e2fca8d
AM
376542012-09-25 Alan Modra <amodra@gmail.com>
37655
37656 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37657 Add release barrier before setting once_control to say
37658 initialisation is done. Add hints on lwarx. Use macro in
37659 place of isync.
37660 (clear_once_control): Add release barrier.
37661
b87c4b24
JM
376622012-09-25 Joseph Myers <joseph@codesourcery.com>
37663
d032e0d2
JM
37664 [BZ #13629]
37665 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37666 specially.
37667 * math/s_clog10.c (__clog10): Likewise.
37668 * math/s_clog10f.c (__clog10f): Likewise.
37669 * math/s_clog10l.c (__clog10l): Likewise.
37670 * math/s_clogf.c (__clogf): Likewise.
37671 * math/s_clogl.c (__clogl): Likewise.
37672 * math/Makefile (libm-calls): Add x2y2m1.
37673 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37674 (__x2y2m1): Likewise.
37675 (__x2y2m1l): Likewise.
37676 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37677 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37680 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37681 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37682 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37683 * sysdeps/i386/fpu/libm-test-ulps: Update.
37684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37685
b87c4b24
JM
37686 [BZ #14621]
37687 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37688 int as type of variable DEPTH.
37689 (glob): Use size_t instead of int as type of variables NEWCOUNT
37690 and OLD_PATHC.
37691
6d3bf199
LD
376922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37693
22bf5c17
LD
37694 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37695 Add s_sincosf-sse2.
37696 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37697 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37698 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37699 macros for using routine as __sincosf_ia32.
37700 Use macro for function declaration and weak_alias.
37701 * sysdeps/i386/fpu/libm-test-ulps: Update.
37702
37703 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37705
37706 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37707 subnormal argument.
37708 * math/s_cexpf.c (__cexpf): Likewise.
37709 * math/s_csinf.c (__csinf): Likewise.
37710 * math/s_csinhf.c (__csinhf): Likewise.
37711 * math/s_ctanf.c (__ctanf): Likewise.
37712 * math/s_ctanhf.c (__ctanhf): Likewise.
37713 * math/s_ccosh.c (__ccoshf): Likewise.
37714 * math/s_cexp.c (__cexpl): Likewise.
37715 * math/s_csin.c (__csin): Likewise.
37716 * math/s_csinh.c (__csinh): Likewise.
37717 * math/s_ctan.c (__ctan): Likewise.
37718 * math/s_ctanh.c (ctanh): Likewise.
37719 * math/s_ccoshl.c (__ccoshl): Likewise.
37720 * math/s_cexpl.c (__cexpl): Likewise.
37721 * math/s_csinl.c (__csinl): Likewise.
37722 * math/s_csinhl.c (__csinhl): Likewise.
37723 * math/s_ctanl.c (__ctanl): Likewise.
37724 * math/s_ctanhl.c (__ctanhl): Likewise.
37725
203e5603
JM
377262012-09-25 Joseph Myers <joseph@codesourcery.com>
37727
37728 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37729 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37730 (_IO_off_t): Define to __off_t, not _G_off_t.
37731 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37732 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37733 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37734 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37735 type of __dummy and __dummy2 fields.
37736 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37737 (_G_ssize_t): Likewise.
37738 (_G_off_t): Likewise.
37739 (_G_pid_t): Likewise.
37740 (_G_uid_t): Likewise.
37741 (_G_wchar_t): Likewise.
37742 (_G_wint_t): Likewise.
37743 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37744 (_G_ssize_t): Likewise.
37745 (_G_off_t): Likewise.
37746 (_G_pid_t): Likewise.
37747 (_G_uid_t): Likewise.
37748 (_G_wchar_t): Likewise.
37749 (_G_wint_t): Likewise.
37750 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37751 (_G_ssize_t): Likewise.
37752 (_G_off_t): Likewise.
37753 (_G_pid_t): Likewise.
37754 (_G_uid_t): Likewise.
37755 (_G_wchar_t): Likewise.
37756 (_G_wint_t): Likewise.
37757
9fab36eb
SP
377582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37759
37760 * malloc/arena.c: Include malloc-sysdep.h.
37761 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37762 is sufficient to shrink the heap or an unmap is needed.
37763 * sysdeps/generic/malloc-sysdep.h: New file. Define
37764 new function check_may_shrink_heap.
37765 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37766 new function check_may_shrink_heap.
37767
2b4f00d1
SP
377682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37769
37770 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37771 comments.
37772
9a9028b1
DL
377732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37774
57c69bef
DL
37775 * catgets/test-gencat.sh: Add "set -e".
37776 * elf/tst-pathopt.sh: Likewise.
37777 * grp/tst_fgetgrent.sh: Likewise.
37778 * iconvdata/run-iconv-test.sh: Likewise.
37779 * intl/tst-gettext.sh: Likewise.
37780 * intl/tst-gettext2.sh: Likewise.
37781 * intl/tst-gettext4.sh: Likewise.
37782 * intl/tst-gettext6.sh: Likewise.
37783 * intl/tst-translit.sh: Likewise.
37784 * io/ftwtest-sh: Likewise.
37785 * libio/test-freopen.sh: Likewise.
37786 * malloc/tst-mtrace.sh: Likewise.
37787 * posix/globtest.sh: Likewise.
37788 * posix/tst-getconf.sh: Likewise.
37789 * posix/wordexp-tst.sh: Likewise.
37790 * stdio-common/tst-printf.sh: Likewise.
37791 * stdio-common/tst-unbputc.sh: Likewise.
37792 * stdlib/tst-fmtmsg.sh: Likewise.
37793 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37794 * catgets/Makefile: Do not specify -e option when running
37795 testsuite shell scripts.
37796 * elf/Makefile: Likewise.
37797 * grp/Makefile: Likewise.
37798 * iconvdata/Makefile: Likewise.
37799 * intl/Makefile: Likewise.
37800 * io/Makefile: Likewise.
37801 * libio/Makefile: Likewise.
37802 * malloc/Makefile: Likewise.
37803 * posix/Makefile: Likewise.
37804 * stdio-common/Makefile: Likewise.
37805 * stdlib/Makefile: Likewise.
37806 * sysdeps/x86_64/Makefile: Likewise.
37807
9a9028b1
DL
37808 * io/ftwtest-sh: Add copyright header.
37809 * posix/globtest.sh: Likewise.
37810 * posix/tst-getconf.sh: Likewise.
37811 * posix/wordexp-tst.sh: Likewise.
37812 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37813
ced6f16e
L
378142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37815
94b32c39
L
37816 [BZ #13679]
37817 * Makeconfig (+link): Defined as $(+link-static) if
37818 $(build-shared) isn't yes.
37819 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37820 isn't yes.
37821 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37822
189e935b
L
37823 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37824
ced6f16e
L
37825 [BZ #14562]
37826 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37827 new chunk size with MALLOC_ALIGN_MASK.
37828
a9f8e53a
JM
378292012-09-24 Joseph Myers <joseph@codesourcery.com>
37830
37831 [BZ #5044]
37832 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37833 <rounding-mode.h>.
37834 (__printf_fphex): Determine rounding using get_rounding_mode and
37835 round_away.
37836 * stdio-common/tst-printf-round.c (struct hex_test): New
37837 structure.
37838 (hex_tests): New variable.
37839 (test_hex_in_one_mode): New function.
37840 (do_test): Also run tests for hex float output.
37841
43153109
JM
378422012-09-21 Joseph Myers <joseph@codesourcery.com>
37843
37844 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37845 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37846 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37847 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37849 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37850 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37851 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37852
8a26625d
JM
378532012-09-20 Joseph Myers <joseph@codesourcery.com>
37854
37855 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37856 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37857 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37858 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37859
f3fd569c
DL
378602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37861
37862 [BZ #14579]
37863 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37864 mode only.
37865 * elf/tst-rtld-load-self.sh: New test.
37866 * elf/Makefile: Run it.
37867
63bbedd4
JM
378682012-09-18 Joseph Myers <joseph@codesourcery.com>
37869
37870 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37871 (tst-writev-ENV): Remove.
37872 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37873
626f8b6a
CM
378742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37875
37876 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37877
b7aaa4d6
JM
378782012-09-17 Joseph Myers <joseph@codesourcery.com>
37879
37880 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37881 unconditional.
37882 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37883 Likewise.
37884 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37885 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37887 Likewise.
37888
65513990
L
378892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37890
37891 [BZ #14587]
37892 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37893 * config.make.in (have-cpp-asm-debuginfo): Removed.
37894 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37895 * configure: Regenerated.
37896
784761be
JM
378972012-09-14 Joseph Myers <joseph@codesourcery.com>
37898
37899 [BZ #5044]
37900 * stdio-common/printf_fp.c: Include <stdbool.h> and
37901 <rounding-mode.h>.
37902 (___printf_fp): Determine rounding using get_rounding_mode and
37903 round_away.
37904 * stdio-common/tst-printf-round.c: New file.
37905 * stdio-common/Makefile (tests): Add tst-printf-round.
37906 (link-libm): New variable.
37907 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37908
9503345f
L
379092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37910
37911 [BZ #14576]
37912 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37913 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37914 Likewise.
37915 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37916 Likewise.
37917
ad35fc00
JM
379182012-09-13 Joseph Myers <joseph@codesourcery.com>
37919
37920 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37921 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37922 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37923 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37924
6c9b0f68
JM
379252012-09-12 Joseph Myers <joseph@codesourcery.com>
37926
37927 [BZ #14518]
37928 * include/rounding-mode.h: New file.
37929 * sysdeps/generic/get-rounding-mode.h: Likewise.
37930 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37931 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37932 (MAX_VALUE): New macro.
37933 (MIN_VALUE): Likewise.
37934 (overflow_value): New function.
37935 (underflow_value): Likewise.
37936 (round_and_return): Use overflow_value and underflow_value to
37937 determine return values in overflow and underflow cases. Use
37938 round_away to determine rounding depending on rounding mode.
37939 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37940 determine return values in overflow and underflow cases.
37941 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37942 (struct test_results): New structure.
37943 (struct test): Use struct test_results to store expected results
37944 for all rounding modes.
37945 (TEST): Include expected results for all rounding modes.
37946 (test_in_one_mode): New function.
37947 (do_test): Use test_in_one_mode to compute and check results.
37948 Check results for all rounding modes.
37949 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37950 $(link-libm).
37951
19fcedd5
AM
379522012-12-09 Allan McRae <allan@archlinux.org>
37953
1e9d84cd 37954 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37955
8bbfd2f1
JM
379562012-09-11 Joseph Myers <joseph@codesourcery.com>
37957
37958 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37959 (_G_int32_t): Likewise.
37960 (_G_uint16_t): Likewise.
37961 (_G_uint32_t): Likewise.
37962 (_G_HAVE_BOOL): Likewise.
37963 (_G_HAVE_ATEXIT): Likewise.
37964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37965 (_G_HAVE_IO_FILE_OPEN): Likewise.
37966 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37967 (_G_int32_t): Likewise.
37968 (_G_uint16_t): Likewise.
37969 (_G_uint32_t): Likewise.
37970 (_G_HAVE_BOOL): Likewise.
37971 (_G_HAVE_ATEXIT): Likewise.
37972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37973 (_G_HAVE_IO_FILE_OPEN): Likewise.
37974 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37975 (_G_int32_t): Likewise.
37976 (_G_uint16_t): Likewise.
37977 (_G_uint32_t): Likewise.
37978 (_G_HAVE_BOOL): Likewise.
37979 (_G_HAVE_ATEXIT): Likewise.
37980 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37981 (_G_HAVE_IO_FILE_OPEN): Likewise.
37982
b1dc5912
L
379832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37984
37985 * csu/libc-tls.c: Update copyright years.
37986
0e886ef9
JM
379872012-09-10 Joseph Myers <joseph@codesourcery.com>
37988
28361c5e
JM
37989 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37990 [!_G_USING_THUNKS]: Remove conditional code.
37991 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37992 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37993
0e886ef9
JM
37994 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37995 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37996 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37997 (_G_VTABLE_LABEL_PREFIX): Likewise.
37998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37999 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38001 (_G_VTABLE_LABEL_PREFIX): Likewise.
38002 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38003 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38004 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38005 (_G_VTABLE_LABEL_PREFIX): Likewise.
38006 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38007
bcba7aa2
L
380082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38009
38010 * libio/Makefile: Include ../Makeconfig before tests.
38011 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38012 only if $(build-shared) is yes.
38013
06585ee8
L
38014 * iconv/gconv_db.c: Update copyright years.
38015
80ccd52c
LD
380162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38017
38018 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38019 unwind info if defined PIC. Fix special cases description.
38020 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38021
38022 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38023 DP_HI_MASK entry.
38024 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38025
691bc9c1
L
380262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38027
3d9b46b3
L
38028 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38029
de2139a9
L
38030 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38031 is NULL.
38032
5ca78dd0
L
38033 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38034 (LDLIBS-tst-chk4): This.
38035 (LDFLAGS-tst-chk5): Renamed to ...
38036 (LDLIBS-tst-chk5): This.
38037 (LDFLAGS-tst-chk6): Renamed to ...
38038 (LDLIBS-tst-chk6): This.
38039 (LDFLAGS-tst-lfschk4): Renamed to ...
38040 (LDLIBS-tst-lfschk4): This.
38041 (LDFLAGS-tst-lfschk5): Renamed to ...
38042 (LDLIBS-tst-lfschk5): This.
38043 (LDFLAGS-tst-lfschk6): Renamed to ...
38044 (LDLIBS-tst-lfschk6): This.
38045
691bc9c1
L
38046 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38047 on $(common-objpfx)soversions.mk.
38048
65cafb1c
JM
380492012-09-07 Joseph Myers <joseph@codesourcery.com>
38050
38051 [BZ #10014]
38052 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38053 example host name.
38054
c78ab094
SP
380552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38056
38057 * malloc/arena.c (arena_get_retry): New function that gets
38058 another arena for the caller to try its request on.
38059 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38060 current arena cannot fulfill the request.
38061 (__libc_memalign): Likewise.
38062 (__libc_memalign): Likewise.
38063 (__libc_pvalloc): Likewise.
38064 (__libc_calloc): Likewise.
38065
01f49f59
JT
380662012-09-05 John Tobey <john.tobey@gmail.com>
38067
38068 [BZ #13542]
38069 * manual/arith.texi (Operations on Complex): Fix description
38070 of carg branch cut.
38071
4c23fed5
JM
380722012-09-06 Joseph Myers <joseph@codesourcery.com>
38073
1d3c8572
JM
38074 [BZ #10014]
38075 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38076 host name.
38077
4c23fed5
JM
38078 [BZ #10038]
38079 * manual/memory.texi (Memory): Make order of menu items match
38080 order of sections.
38081
04570aaa
L
380822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38083
38084 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38085 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38086 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38087
b80af2f4
L
380882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38089
38090 * csu/libc-tls.c (static_dtv): Renamed to ...
38091 (_dl_static_dtv): This. Make it global.
38092 (_dl_initial_dtv): Removed.
38093 (__libc_setup_tls): Updated.
38094 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38095 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38096 DL_INITIAL_DTV.
38097
2abe9f15
PM
380982012-09-06 Petr Machata <pmachata@redhat.com>
38099
38100 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38101 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38102 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38103 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38104
0948c3af
L
381052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38106
38107 [BZ #14545]
38108 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38109 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38110 freeing dtv[-1].
38111
a5055ad1
L
381122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38113
38114 [BZ #14544]
38115 * Makeconfig (link-static-before-libc): Replace $(+prector)
38116 with $(+prectorT).
38117 (link-static-after-libc): Replace $(+postctor) with
38118 $(+postctorT).
38119 (link-bounded): Replace $(+prector)/$(+postctor) with
38120 $(+prectorT)/$(+postctorT).
38121 (+prectorT): New macro.
38122 (+postctorT): Likewise.
38123
ed8c2ecd
JM
381242012-09-06 Joseph Myers <joseph@codesourcery.com>
38125
38126 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38127 (round_str): Handle values above the maximum for IBM long double
38128 as inexact.
38129 * stdlib/tst-strtod-round.c (tests): Regenerated.
38130
14c996c8
AK
381312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38132
38133 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38134 assembler flag.
38135 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38136 zarch_nohighgprs around the zarch optimized routines.
38137 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38138 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38140 for zarch.
38141
430d6ce6
DM
381422012-09-05 David S. Miller <davem@davemloft.net>
38143
38144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38145
57f41c40
AS
38146 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38147 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38148 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38149 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38150 entries.
38151
24d4e01b
AO
381522012-09-05 Alexandre Oliva <aoliva@redhat.com>
38153
38154 * malloc/arena.c: Fold copyright years.
38155 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38156
61d58174
AO
381572012-09-05 Alexandre Oliva <aoliva@redhat.com>
38158
38159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38160
20196a5e
AO
381612012-09-05 Alexandre Oliva <aoliva@redhat.com>
38162
38163 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38164
5c447383
AO
381652012-09-05 Alexandre Oliva <aoliva@redhat.com>
38166
38167 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38168 change internal state upon failure.
38169
fad64255
AO
381702012-09-05 Alexandre Oliva <aoliva@redhat.com>
38171
38172 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38173 * malloc/memusage.c (mmap): Likewise.
38174 (mmap64, mremap): Likewise. Adjust name in comment.
38175
1ffb8c90
SP
381762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38177
38178 * libio/fileops.c: Fix typos in comments.
38179 * libio/oldfileops.c: Likewise.
38180 * libio/wfileops.c: Likewise.
38181
6ef9cc37
SP
381822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38183
38184 [BZ #1349]
38185 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38186 (tst-malloc-usable-ENV): Set environment for test case.
38187 * malloc/hooks.c (malloc_check_get_size): New function to get
38188 requested size.
38189 * malloc/malloc.c (musable): Use malloc_check_get_size.
38190 * malloc/tst-malloc-usable.c: New test case.
38191
4d038ae3
AS
381922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38193
38194 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38195
c4e85184
AM
381962012-09-05 Allan McRae <allan@archlinux.org>
38197
b9dafc56 38198 [BZ #13966]
c4e85184
AM
38199 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38200 determine header location.
38201 * configure: Regenerated.
38202
e1343020
AS
382032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38204
38205 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38206 float format.
38207 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38208 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38209 format.
e1343020
AS
38210 (test): Regenerate.
38211
0a9f1987
DM
382122012-09-04 David S. Miller <davem@davemloft.net>
38213
38214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38217
29237804
FW
382182012-09-04 Florian Weimer <fweimer@redhat.com>
38219
38220 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38221 failures.
38222
edb3cb88
FW
38223 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38224
60160d83
JM
382252012-09-04 Joseph Myers <joseph@codesourcery.com>
38226
38227 [BZ #9914]
38228 * libio/iogetdelim.c: Include <limits.h>.
38229 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38230 + len + 1 would overflow.
38231
bcd6c8dc
AJ
382322012-09-03 Andreas Jaeger <aj@suse.de>
38233
38234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38235 * sysdeps/i386/fpu/libm-test-ulps: Update.
38236
4ffffbd2
LD
382372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38238
38239 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38240 Add s_sinf-sse2, s_conf-sse2.
38241
38242 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38243 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38244 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38245 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38246
38247 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38248 for using routine as __sinf_ia32.
38249 Use macro for function declaration and weak_alias.
38250 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38251 for using routine as __cosf_ia32.
38252 Use macro for function declaration and weak_alias.
38253
38254 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38255 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38256
38257 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38258 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38260
38261 * math/libm-test.inc (cos_test): Add more test cases.
38262 (sin_test): Likewise.
38263 (sincos_test): Likewise.
38264
511fa286
AK
382652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38266
38267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38268 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38269 hidden.
38270 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38271
5f30cfec
L
382722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38273
38274 [BZ #14538]
38275 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38276 first element of the GOT.
38277 (elf_machine_load_address): Return the difference between
38278 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38279
0786794f
AM
382802012-09-01 Allan McRae <allan@archlinux.org>
38281
5f30cfec
L
38282 [BZ #13412]
38283 * configure.in (AWK): Require gawk version 3.0 or later.
38284 * configure: Regenerated.
0786794f 38285
26889eac
JM
382862012-09-01 Joseph Myers <joseph@codesourcery.com>
38287
38288 * sysdeps/unix/sysv/linux/kernel-features.h
38289 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38291 [__NR_clock_getres]: Make code unconditional.
38292 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38293 (clock_getcpuclockid): Remove code left unreachable by removal of
38294 conditionals.
38295 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38296 code unconditional.
38297 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38299 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38300 Make code unconditional.
38301 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38302 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38303 * sysdeps/unix/sysv/linux/clock_settime.c
38304 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38305 conditional code.
38306 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38307 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38308
d22e28b0
L
383092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38310
38311 [BZ #14476]
38312 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38313 scripts/test-installation.pl.
38314
38315 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38316 and $ld_so_version if it is set.
38317
050af9c4
SP
383182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38319
38320 [BZ #14516]
38321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38322 failure if reading from procfs failed.
38323 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38324
ad845c0b
JM
383252012-08-27 Joseph Myers <joseph@codesourcery.com>
38326
38327 * sysdeps/unix/sysv/linux/kernel-features.h
38328 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38329 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38330 Remove conditional code.
38331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38332 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38333 Remove conditional code.
38334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38335 * sysdeps/unix/sysv/linux/i386/fxstat.c
38336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38338 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38341 * sysdeps/unix/sysv/linux/i386/lxstat.c
38342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38344 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38345 Remove conditional code.
38346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38347 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38348 Remove conditional code.
38349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38350 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38351 <kernel-features.h>.
38352 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38353 Remove.
38354 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38355 Remove conditional code.
38356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38357 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38358 Remove conditional.
38359
5dbf56af
MF
383602012-08-27 Mike Frysinger <vapier@gentoo.org>
38361
38362 [BZ #5400]
38363 * NEWS: Add fixed bug number.
38364
d6e70f43
JM
383652012-08-27 Joseph Myers <joseph@codesourcery.com>
38366
7efb4737
JM
38367 [BZ #14519]
38368 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38369 underflowing exponent in case of negative sign.
38370 * stdlib/tst-strtod-round-data: Add more tests.
38371 * stdlib/tst-strtod-round.c (tests): Regenerated.
38372
af92131a
JM
38373 [BZ #3479]
38374 * stdlib/strtod_l.c (NDIG): Remove.
38375 (HEXNDIG): Likewise.
38376 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38377 smallest representable value.
38378 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38379 lie within an exact representation of 1/2 ulp of the result.
38380 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38381 unconditionally.
38382 (TENS_P9_IDX): Define unconditionally.
38383 (TENS_P9_SIZE): Likewise.
38384 (TENS_P10_IDX): Likewise.
38385 (TENS_P10_SIZE): Likewise.
38386 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38387 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38388 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38389 entries for 10^2^13 and 10^2^14.
38390 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38391 (TENS_P13_IDX): Define.
38392 (TENS_P13_SIZE): Likewise.
38393 (TENS_P14_IDX): Likewise.
38394 (TENS_P14_SIZE): Likewise.
38395 (_fpioconst_pow10): Change array size to
38396 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38397 unconditional.
38398 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38399 1024]: Add entries for 10^2^13 and 10^2^14.
38400 [LAST_POW10 > _LAST_POW10]: Remove #error.
38401 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38402 (_fpioconst_pow10): Change array size to
38403 FPIOCONST_POW10_ARRAY_SIZE.
38404 * stdlib/gen-fpioconst.c: New file.
38405 * stdlib/gen-tst-strtod-round.c: Likewise.
38406 * stdlib/tst-strtod-round-data: Likewise.
38407 * stdlib/tst-strtod-round.c: Likewise.
38408 * stdlib/Makefile (tests): Add tst-strtod-round.
38409
d6e70f43
JM
38410 [BZ #14459]
38411 * stdlib/strtod_l.c: Include <stdint.h>.
38412 (NDEBUG): Do not define.
38413 (round_and_return): Change EXPONENT parameter to type intmax_t.
38414 Rearrange calculations to avoid internal overflow possibilities.
38415 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38416 Rearrange calculations to avoid internal overflow possibilities.
38417 Assert that number fits inside MPNSIZE limbs.
38418 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38419 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38420 calculations and add assertions to avoid internal overflow
38421 possibilities. Add casts to avoid signed/unsigned operations.
38422 * stdlib/tst-strtod-overflow.c: New file.
38423 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38424
1f529f7d
MP
384252012-08-25 Marek Polacek <polacek@redhat.com>
38426
38427 * time/time.h: Fix some typos in comments.
38428
59a629f1
RM
384292012-08-23 Roland McGrath <roland@hack.frob.com>
38430
38431 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38432 * posix/tst-rfc3484-2.c: Likewise.
38433 * posix/tst-rfc3484-3.c: Likewise.
38434
d3bafbc9
SM
384352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38436
38437 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38438 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38439
4efcc022
JM
384402012-08-23 Joseph Myers <joseph@codesourcery.com>
38441
38442 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38443 #include of fxstatat64.c.
38444
3cc3ef96
RM
384452012-08-22 Roland McGrath <roland@hack.frob.com>
38446
f04e2132
RM
38447 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38448 * shadow/getspent_r.c: Likewise.
38449 * shadow/getspnam.c: Likewise.
38450 * shadow/getspnam_r.c: Likewise.
38451 * gshadow/getsgent.c: Likewise.
38452 * gshadow/getsgent_r.c: Likewise.
38453 * gshadow/getsgnam.c: Likewise.
38454 * gshadow/getsgnam_r.c: Likewise.
38455 * inet/getnetbyad.c: Likewise.
38456 * inet/getnetbyad_r.c: Likewise.
38457 * inet/getnetbynm.c: Likewise.
38458 * inet/getnetbynm_r.c: Likewise.
38459 * inet/getnetent.c: Likewise.
38460 * inet/getnetent_r.c: Likewise.
38461 * inet/getproto.c: Likewise.
38462 * inet/getproto_r.c: Likewise.
38463 * inet/getprtent.c: Likewise.
38464 * inet/getprtent_r.c: Likewise.
38465 * inet/getprtname.c: Likewise.
38466 * inet/getprtname_r.c: Likewise.
38467 * inet/getrpcbyname.c: Likewise.
38468 * inet/getrpcbyname_r.c: Likewise.
38469 * inet/getrpcbynumber.c: Likewise.
38470 * inet/getrpcbynumber_r.c: Likewise.
38471 * inet/getrpcent.c: Likewise.
38472 * inet/getrpcent_r.c: Likewise.
38473 * inet/getaliasent.c: Likewise.
38474 * inet/getaliasent_r.c: Likewise.
38475 * inet/getaliasname.c: Likewise.
38476 * inet/getaliasname_r.c: Likewise.
38477 * nscd/getgrgid_r.c: Likewise.
38478 * nscd/getgrnam_r.c: Likewise.
38479 * nscd/gethstbyad_r.c: Likewise.
38480 * nscd/gethstbynm3_r.c: Likewise.
38481 * nscd/getpwnam_r.c: Likewise.
38482 * nscd/getpwuid_r.c: Likewise.
38483 * nscd/getsrvbynm_r.c: Likewise.
38484 * nscd/getsrvbypt_r.c: Likewise.
38485 * nscd/gai.c: Likewise.
38486
c53d909c
RM
38487 * configure.in (build_nscd): New substituted variable, set
38488 by --disable-build-nscd and defaults to $use_nscd.
38489 * configure: Regenerated.
38490 * config.make.in (build-nscd): New substituted variable.
38491 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38492 Change conditional to require [$(build-nscd) = yes] as well.
38493 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38494
3cc3ef96
RM
38495 [BZ# 13696]
38496 * configure.in (use_nscd): New substituted variable, set by
38497 --disable-nscd. If enabled, define USE_NSCD.
38498 * configure: Regenerated.
38499 * config.h.in: Add USE_NSCD.
38500 * config.make.in (use-nscd): New substituted variable.
38501 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38502 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38503 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38504 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38505 (CFLAGS-getgrnam_r.c): Likewise.
38506 (CFLAGS-initgroups.c): Likewise.
38507 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38508 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38509 Variables removed.
38510 * inet/getnetgrent_r.c
38511 (nscd_setnetgrent): New function, broken out of ...
38512 (setnetgrent): ... here. Call it.
38513 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38514 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38515 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38516 * nscd/Makefile (routines, aux): Move definitions after include of
38517 Makeconfig. Conditionalize on [$(use-nscd) != no].
38518 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38519 Conditionalize on [USE_NSCD].
38520 (is_nscd, nscd_init_cb): Likewise.
38521 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38522 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38523 * nss/nss_db/db-init.c: Likewise.
38524 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38525 [USE_NSCD].
38526 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38527 (make_request): Use it.
38528 (cache_valid_p): New function.
38529 (__check_pf): Use it.
38530 * NEWS: Add item for --disable-nscd.
38531
07e51550
DL
385322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38533
38534 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38535 to support sed >= 4.2.1-20-ga9bf076.
38536 * configure: Regenerated.
38537
35a5b08b
RM
385382012-08-22 Roland McGrath <roland@hack.frob.com>
38539
38540 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38541 Conditionalize whole body on [IREL].
38542
8479f23a
JL
385432012-08-22 Jeff Law <law@redhat.com>
38544
38545 [BZ #14505]
38546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38547 if the family is PF_UNSPEC.
38548
48da0b21
MF
385492012-08-22 Mike Frysinger <vapier@gentoo.org>
38550
38551 * Makerules (lib-version): Rename from V.
38552 (install-lib-nosubdir): Change V to lib-version.
38553
15d0da8c
WS
385542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38555
38556 [BZ #14252]
38557 * powerpc32/power6/wcschr.c: New file.
38558 * powerpc32/power6/wcscpy.c: New file.
38559 * powerpc32/power6/wcsrchr.c: New file.
38560 * powerpc64/power6/wcschr.c: New file.
38561 * powerpc64/power6/wcscpy.c: New file.
38562 * powerpc64/power6/wcsrchr.c: New file.
38563
bcca0895
MK
385642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38565
38566 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38567 (two_way_short_needle): Use it.
5a4aaa33
RM
38568 * string/strstr.c (AVAILABLE1_USES_J): Define.
38569 * string/strcasestr.c: Likewise.
99677e57
MK
38570
38571 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38572 array references.
38573 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38574
400726de
MK
38575 [BZ #11607]
38576 * NEWS: Add an entry.
38577 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38578 define their defaults.
38579 (two_way_short_needle): Detect end-of-string on-the-fly.
38580 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38581 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38582 * string/bug-strcasestr1.c: New test.
38583 * string/Makefile: Run it.
38584
20a71f2c
MK
385852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38586
38587 [BZ #11607]
38588 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38589 the first character.
38590
21ad0558
RM
385912012-08-21 Roland McGrath <roland@hack.frob.com>
38592
38593 * csu/elf-init.c (__libc_csu_irel): Function removed.
38594 * csu/libc-start.c (apply_irel): New function.
38595 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38596
0e1d9911
JM
385972012-08-21 Joseph Myers <joseph@codesourcery.com>
38598
38599 * sysdeps/unix/sysv/linux/kernel-features.h
38600 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38601 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38602 <kernel-features.h>.
38603 [__NR_fadvise64_64]: Make code unconditional.
38604 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38605 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38606 !__NR_fadvise64_64)]: Likewise.
38607 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38608 !__NR_fadvise64_64))]: Likewise.
38609 [__NR_fadvise64]: Make code unconditional.
38610 [!__NR_fadvise64]: Remove conditional code.
38611 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38612 <kernel-features.h>.
38613 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38614 unconditional.
38615 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38616 conditional code.
38617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38618 not include <kernel-features.h>.
38619 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38620 unconditional.
38621 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38622 conditional code.
38623 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38624 include <kernel-features.h>.
38625 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38626 unconditional.
38627 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38628 conditional code.
38629
14a50c9d
WS
386302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38631
38632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38633 slight instruction rearrangements per scrollpipe analysis.
38634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38635
c0f4faf0
RM
386362012-08-20 Roland McGrath <roland@hack.frob.com>
38637
696da859
RM
38638 * manual/syslog.texi (syslog; vsyslog, closelog):
38639 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38640 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38641
c0f4faf0
RM
38642 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38643 DSOCAPS to match condition on defining it.
38644
348363b2
JM
386452012-08-20 Joseph Myers <joseph@codesourcery.com>
38646
a35cbf28
JM
38647 * sysdeps/unix/sysv/linux/kernel-features.h
38648 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38658
445f7ecd
JM
38659 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38660 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38661
348363b2
JM
38662 * sysdeps/unix/sysv/linux/kernel-features.h
38663 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38664 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38665 unconditional.
38666 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38667 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38668 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38669 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38670 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38671 Make code unconditional.
38672 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38673 (__mmap64) [!__NR_mmap2]: Likewise.
38674 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38675 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38676 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38678 [__NR_mmap2]: Make code unconditional.
38679 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38680 (__mmap64) [!__NR_mmap2]: Likewise.
38681
bc5bc0e5
AK
386822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38683
38684 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38685
88d506de
AJ
386862012-08-18 Andreas Jaeger <aj@suse.de>
38687
38688 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38689
493387d2
MF
386902012-08-18 Mike Frysinger <vapier@gentoo.org>
38691
38692 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38693 * include/unistd.h (__have_sock_cloexec): Likewise.
38694 (__have_pipe2): Likewise.
38695 (__have_dup3): Likewise.
38696
a277af22
MF
386972012-08-18 Mike Frysinger <vapier@gentoo.org>
38698
38699 [BZ #9685]
38700 * include/unistd.h (__have_pipe2): Change define into an extern int.
38701 (__have_dup3): Likewise.
38702 * socket/have_sock_cloexec.c: Include fcntl.h.
38703 (__have_pipe2): New variable.
38704 (__have_dup3): Likewise.
38705
fdab8fd3
MF
387062012-08-17 Mike Frysinger <vapier@gentoo.org>
38707
38708 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38709
31035e80
MP
387102012-08-17 Marek Polacek <polacek@redhat.com>
38711
38712 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38713 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38714
3bd9e993
RM
387152012-08-17 Roland McGrath <roland@hack.frob.com>
38716
c91c505f
RM
38717 * configure.in: Add AC_SUBST for sysheaders.
38718 * configure: Regenerated.
38719 * config.make.in (sysheaders): New substituted variable.
38720
7c6f9d53
RM
38721 * sysdeps/unix/mkfifo.c: Moved ...
38722 * sysdeps/posix/mkfifo.c: ... here.
38723 * sysdeps/unix/mkfifoat.c: Moved ...
38724 * sysdeps/posix/mkfifoat.c: ... here.
38725
38726 * sysdeps/unix/utime.c: Moved ...
38727 * sysdeps/posix/utime.c: ... here.
38728
38729 * sysdeps/unix/time.c: Moved ...
38730 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38731 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38732 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38733
38734 * sysdeps/unix/nice.c: Moved ...
38735 * sysdeps/posix/nice.c: ... here.
38736
38737 * sysdeps/unix/alarm.c: Moved ...
38738 * sysdeps/posix/alarm.c: ... here.
38739
3bd9e993
RM
38740 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38741
d1f09384
JL
387422012-08-17 Jeff Law <law@redhat.com>
38743
38744 * intl/Makefile (codeset_mo): New variable.
38745 ($(codeset_mo)): New target.
38746 (tst-codeset.out): Depend on that. Remove explicit rule.
38747 (tst-gettext3.out, tst-gettext5.out): Likewise.
38748 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38749 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38750 * intl/tst-codeset.sh: Remove.
38751 * intl/tst-gettext3.sh: Likewise.
38752 * intl/tst-gettext5.sh: Likewise.
38753
2ae1ae5c
RM
387542012-08-17 Roland McGrath <roland@hack.frob.com>
38755
c31fdb83
RM
38756 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38757 * sysdeps/unix/syscalls.list: ... here.
38758
a0844057
RM
38759 * sysdeps/posix/getaddrinfo.c
38760 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38761 (gaiconf_init, gaiconf_reload): Use them.
38762 [!_STATBUF_ST_NSEC]
38763 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38764 Define using time_t rather than struct timespec.
38765
750c1f2a
RM
38766 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38767 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38768 Macros removed.
38769 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38770 [!NO_THREADS].
38771 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38772 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38773 Likewise.
38774
2ae1ae5c
RM
38775 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38776 __libc_cleanup_push argument.
38777
e66a42f5
RM
38778 * bits/param.h: New file.
38779 * misc/sys/param.h: New file.
38780 * include/sys/param.h: New file.
38781 * misc/Makefile (headers): Add bits/param.h.
38782 * sysdeps/generic/sys/param.h: File removed.
38783 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38784 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38785 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38786 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38787
b7c08a66
RM
38788 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38789 last change.
38790
b2e1c562
RM
38791 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38792 [_IO_MTSAFE_IO].
38793 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38794 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38795 New macros.
38796
c75ccd4c
RM
38797 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38798 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38799 rather than -D_IO_MTSAFE_IO conditionally.
38800 * stdio-common/Makefile (CPPFLAGS): Likewise.
38801 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38802 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38803 Use $(libio-mtsafe).
38804 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38805 of -D_IO_MTSAFE_IO.
38806 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38807 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38808 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38809 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38810 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38811 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38812 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38813 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38814 (CFLAGS-fread_u_chk.c): Likewise.
38815 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38816 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38817 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38818 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38819 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38820 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38821 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38822 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38823 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38824
38825 * libio/Makefile: Test [$(libc-reentrant) = yes]
38826 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38827
38828 * Makeconfig
38829 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38830 * sysdeps/pthread/configure: File removed.
38831 * sysdeps/pthread/Makeconfig: New file.
38832 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38833 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38834
d9195db8
GB
388352012-08-16 Gary Benson <gbenson@redhat.com>
38836
38837 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38838 unmapping the first object in a namespace.
38839
86466cd9
RM
388402012-08-16 Roland McGrath <roland@hack.frob.com>
38841
38842 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38843 (__internal_setnetgrent): ... this. Add internal_function to
38844 definition. Add libc_hidden_def.
38845 (setnetgrent): Update caller.
38846 (internal_endnetgrent): Renamed to ...
38847 (__internal_endnetgrent): ... this. Add internal_function to
38848 definition. Add libc_hidden_def.
38849 (endnetgrent): Update caller.
38850 (internal_getnetgrent_r): Renamed to ...
38851 (__internal_getnetgrent_r): ... this. Add internal_function to
38852 definition. Add libc_hidden_def.
38853 (__getnetgrent_r): Update caller.
38854 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38855
c3c8283c
JM
388562012-08-16 Joseph Myers <joseph@codesourcery.com>
38857
38858 * stdlib/longlong.h: Update from GCC.
38859
db1ee0a8
RM
388602012-08-16 Roland McGrath <roland@hack.frob.com>
38861
38862 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38863 on _QL, which is set by umul_ppmm but never used.
38864 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38865 variables, which are set by GMP macros but never used.
38866 * stdio-common/_itowa.c (_itowa): Likewise.
38867 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38868 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38869
30f69637
CD
388702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38871
38872 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38873 struct La_sh_regs is not constant.
38874 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38875 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38876 and struct La_sparc64_regs are not constant.
38877
93a78ac4
JM
388782012-08-16 Joseph Myers <joseph@codesourcery.com>
38879
38880 * sysdeps/unix/sysv/linux/kernel-features.h
38881 (__ASSUME_POSIX_TIMERS): Remove.
38882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38884 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38885 Make code unconditional.
38886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38887 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38888 Make code unconditional.
38889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38890 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38891 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38893 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38894 Make code unconditional.
38895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38896 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38897 (__libc_missing_posix_timers): Remove.
38898
dd924cd7
RM
388992012-08-15 Roland McGrath <roland@hack.frob.com>
38900
4b4f2771
RM
38901 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38902 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38903
601c888b
RM
38904 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38905
176790a7
RM
38906 * elf/dl-sym.c: Include <stdlib.h>.
38907
329bc018
RM
38908 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38909 constants, which avoids warnings in 32-bit builds.
38910
e04e272d
RM
38911 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38912 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38913
952bf94a
RM
38914 * misc/lseek.c: File moved to ...
38915 * io/lseek.c: ... here.
38916
7c99b50a
RM
38917 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38918
dd924cd7
RM
38919 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38920 shifting LEN more than 31 bits at once.
38921
b3f479a8
LD
389222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38923
38924 [BZ #14195]
8c4ae0d4
RM
38925 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38926 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38927 * string/test-strncasecmp.c (check1): Renamed to...
38928 (bz12205): ...this.
38929 (bz14195): Add new testcase for two empty input strings and N > 0.
38930 (test_main): Call new testcase, adapt for renamed function.
38931
9c55864e
AJ
389322012-08-15 Andreas Jaeger <aj@suse.de>
38933
38934 [BZ #14090]
38935 * crypt/md5test2.c: New test, based on test supplied by Serge
38936 Belyshev <belyshev@depni.sinp.msu.ru>.
38937 * crypt/Makefile (xtests): Add md5test-giant..
38938 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38939
02dcb6c5
PE
389402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38941
38942 [BZ #14090]
38943 * crypt/md5.c (md5_process_block): Don't assume the buffer
38944 length is less than 2**32.
38945 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38946 length is less than 2**64.
38947
a3f95dcc
RM
389482012-08-15 Roland McGrath <roland@hack.frob.com>
38949
be75d758
RM
38950 * string/str-two-way.h: Include <sys/param.h>.
38951 (MAX): Macro removed.
38952
7312ca90
RM
38953 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38954 Move #define and #undef of memmove to just before and after
38955 including <string.h>.
38956
9a0a5486
RM
38957 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38958 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38959 and after including <string.h>. Move declarations of
38960 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38961 to before #include "string/memmove.c".
38962
67cc348d
RM
38963 * include/dirent.h: Declare __getdirentries.
38964
a3f95dcc
RM
38965 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38966 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38967
ca98e171
MF
389682012-08-14 Mike Frysinger <vapier@gentoo.org>
38969
38970 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38971 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38972 * sysdeps/i386/configure: Regenerated.
38973 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38974 STABS_CURRENT_FILE, and STABS_FUN.
38975 (END): Remove call to STABS_FUN_END.
38976 (STABS_CURRENT_FILE1): Delete.
38977 (STABS_CURRENT_FILE): Likewise.
38978 (STABS_FUN): Likewise.
38979 (STABS_FUN_END): Likewise.
38980 (STABS_FUN2): Likewise.
38981 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38982 * sysdeps/x86_64/configure: Regenerated.
38983
5908bf46
RM
389842012-08-14 Roland McGrath <roland@hack.frob.com>
38985
38986 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38987 * elf/dl-lookup.c: Likewise.
5908bf46 38988
f2c05b9e
JM
389892012-08-14 Joseph Myers <joseph@codesourcery.com>
38990
38991 * sysdeps/unix/sysv/linux/kernel-features.h
38992 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38993 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38994 unconditionally.
38995 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38996 unconditionally.
38997 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38998 condition on __ASSUME_CLONE_THREAD_FLAGS.
38999
e11f5155
AJ
390002012-08-14 Andreas Jaeger <aj@suse.de>
39001
39002 * sysdeps/i386/fpu/libm-test-ulps: Update.
39003
51a9ba86
MK
390042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39005
2fdd4f78
AJ
39006 * include/atomic.h (atomic_exchange_and_add): Split into ...
39007 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39008 New atomic macros.
51a9ba86 39009
ba6cba9e
MT
390102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39011
39012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39013
42443a47
JL
390142012-08-13 Jeff Law <law@redhat.com>
39015
39016 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39017 null byte in the output string.
39018
121dce05
JM
390192012-08-10 Joseph Myers <joseph@codesourcery.com>
39020
39021 * sysdeps/unix/sysv/linux/kernel-features.h
39022 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39023 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39024 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39025 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39026 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39027 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39028 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39029
bf51f568
JL
390302012-08-09 Jeff Law <law@redhat.com>
39031
39032 [BZ #13939]
39033 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39034 When avoid_arena is set, don't retry in the that arena. Pick the
39035 next one, whatever it might be.
39036 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39037 (arena_lock): Pass in new parameter to arena_get2.
39038 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39039 arena_get2.
39040 (__libc_malloc): Unify retrying after main arena failure with
39041 __libc_memalign version.
39042 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39043
f85fa270
L
390442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39045
39046 [BZ #14166]
39047 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39048 to __redirect_strstr.
39049 (__strstr_sse42): Use typeof __redirect_strstr.
39050 (__strstr_ia32): Likewise.
39051 (__libc_strstr): New prototype.
39052 (strstr): Renamed to ...
39053 (__libc_strstr): This.
39054 (strstr): New strong alias of __libc_strstr.
39055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39056 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39057 __redirect_time.
39058 Include <time.h>.
39059 (__libc_time): New prototype.
39060 (time_ifunc): Replace time with __libc_time.
39061 (time): New strong alias and hidden definition of __libc_time.
39062 (__GI_time): Remove strong alias.
39063 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39064 Include <stddef.h>.
39065 (memmove): Redefined to __redirect_memmove.
39066 (__memmove_sse2): Use typeof __redirect_memmove.
39067 (__memmove_ssse3): Likewise.
39068 (__memmove_ssse3_back): Likewise.
39069 (__libc_memmove): New prototype.
39070 (memmove): Renamed to ...
39071 (__libc_memmove): This.
39072 (memmove): New strong alias of __libc_memmove.
39073
33b4a91e
MS
390742012-08-08 Mark Salter <msalter@redhat.com>
39075
39076 * elf/elf.h
39077 (R_MN10300_TLS_GD): Define.
39078 (R_MN10300_TLS_LD): Likewise.
39079 (R_MN10300_TLS_LDO): Likewise.
39080 (R_MN10300_TLS_GOTIE): Likewise.
39081 (R_MN10300_TLS_IE): Likewise.
39082 (R_MN10300_TLS_LE): Likewise.
39083 (R_MN10300_TLS_DTPMOD): Likewise.
39084 (R_MN10300_TLS_DTPOFF): Likewise.
39085 (R_MN10300_TLS_TPOFF): Likewise.
39086 (R_MN10300_SYM_DIFF): Likewise.
39087 (R_MN10300_ALIGN): Likewise.
39088 (R_MN10300_NUM): Update.
39089
b36137f1
JM
390902012-08-08 Joseph Myers <joseph@codesourcery.com>
39091
39092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39093 Remove.
39094
cdd915fd
RM
390952012-08-08 Roland McGrath <roland@hack.frob.com>
39096
a2433aac
RM
39097 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39098
cdd915fd
RM
39099 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39100 sysdeps/unix -> sysdeps/posix move.
39101 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39102
bf9b740a
AM
391032012-08-07 Allan McRae <allan@archlinux.org>
39104
39105 [BZ #14303]
39106 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39107 (SUNOS_CPP): Likewise.
39108 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39109 not found.
39110 (open_input): Call CPP using execvp.
39111
93df14ee
JM
391122012-08-07 Joseph Myers <joseph@codesourcery.com>
39113
39114 * sysdeps/unix/sysv/linux/kernel-features.h
39115 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39116 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39117 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39118 (__ASSUME_WAITID_SYSCALL): Likewise.
39119 * sysdeps/unix/sysv/linux/dl-execstack.c
39120 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39121 code unconditional.
39122 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39123 conditional code.
39124 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39125 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39126 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39127 code.
39128 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39129 unconditional.
39130 [__ASSUME_WAITID_SYSCALL]: Likewise.
39131 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39132
d34689de
RM
391332012-08-07 Roland McGrath <roland@hack.frob.com>
39134
a281decc
RM
39135 * sysdeps/unix/closedir.c: Renamed to ...
39136 * sysdeps/posix/closedir.c: ... here.
39137 * sysdeps/unix/dirfd.c: Renamed to ...
39138 * sysdeps/posix/dirfd.c: ... here.
39139 * sysdeps/unix/dirstream.h: Renamed to ...
39140 * sysdeps/posix/dirstream.h: ... here.
39141 * sysdeps/unix/fdopendir.c: Renamed to ...
39142 * sysdeps/posix/fdopendir.c: ... here.
39143 * sysdeps/unix/opendir.c: Renamed to ...
39144 * sysdeps/posix/opendir.c: ... here.
39145 * sysdeps/unix/readdir.c: Renamed to ...
39146 * sysdeps/posix/readdir.c: ... here.
39147 * sysdeps/unix/readdir_r.c: Renamed to ...
39148 * sysdeps/posix/readdir_r.c: ... here.
39149 * sysdeps/unix/rewinddir.c: Renamed to ...
39150 * sysdeps/posix/rewinddir.c: ... here.
39151 * sysdeps/unix/seekdir.c: Renamed to ...
39152 * sysdeps/posix/seekdir.c: ... here.
39153 * sysdeps/unix/telldir.c: Renamed to ...
39154 * sysdeps/posix/telldir.c: ... here.
39155 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39156 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39157 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39158 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39159
22895b47
RM
39160 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39161 * bits/fcntl.h: ... here.
39162
707a53b6
RM
39163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39164 not 0.
39165 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39166 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39167 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39168 (struct flock): Move l_start, l_len to the beginning.
39169 Use __pid_t for l_pid.
39170 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39171 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39172 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39173 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39174 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39175 [__USE_LARGEFILE64] (struct flock64): New type.
39176 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39177
f0bd3e25
RM
39178 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39179 * bits/dirent.h: ... here.
39180
d34689de
RM
39181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39182 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39183
6dad2c06
JM
391842012-08-07 Joseph Myers <joseph@codesourcery.com>
39185
39186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39187 Change from 2.6.0 to 2.6.16.
39188 * sysdeps/unix/sysv/linux/configure: Regenerated.
39189 * sysdeps/unix/sysv/linux/kernel-features.h
39190 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39191 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39192 version.
39193 (__ASSUME_UTIMES): Likewise.
39194 (__ASSUME_CLONE_STOPPED): Remove.
39195 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39196 architectures, not kernel version.
39197 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39198 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39199 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39200 (__ASSUME_WAITID_SYSCALL): Likewise.
39201 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39202 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39203 * README: State 2.6.16 as minimum Linux kernel version. Do not
39204 refer to older versions.
39205
03af9520
RM
392062012-08-06 Roland McGrath <roland@hack.frob.com>
39207
8e49df1d
RM
39208 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39209 Define alphasort64 as an alias.
39210 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39211 Define versionsort64 as an alias.
39212 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39213 Define scandir64 as an alias.
39214 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39215 Define scandirat64 as an alias.
39216 * dirent/alphasort64.c (alphasort64):
39217 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39218 * dirent/versionsort64.c: Likewise.
39219 * dirent/scandir64.c: Likewise.
39220 * dirent/scandirat64.c: Likewise.
39221 * sysdeps/wordsize-64/alphasort.c: File removed.
39222 * sysdeps/wordsize-64/alphasort64.c: File removed.
39223 * sysdeps/wordsize-64/scandir.c: File removed.
39224 * sysdeps/wordsize-64/scandir64.c: File removed.
39225 * sysdeps/wordsize-64/scandirat.c: File removed.
39226 * sysdeps/wordsize-64/scandirat64.c: File removed.
39227 * sysdeps/wordsize-64/versionsort.c: File removed.
39228 * sysdeps/wordsize-64/versionsort64.c: File removed.
39229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39237
39238 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39240 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39242 [defined __arch64__ || defined __sparcv9]
39243 (__INO_T_MATCHES_INO64_T): New macro.
39244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39245 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39246 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39247 * sysdeps/unix/sysv/linux/bits/dirent.h
39248 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39249 (_DIRENT_MATCHES_DIRENT64): New macro.
39250
03af9520
RM
39251 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39252 Define lockf64 as an alias.
39253 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39254 Define fseeko64 as an alias.
39255 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39256 Define ftello64 as an alias.
39257 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39258 Define _IO_fgetpos64 and fgetpos64 as aliases.
39259 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39260 Define _IO_fsetpos64 and fsetpos64 as aliases.
39261 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39262 Conditionalize body on this.
39263 * libio/fseeko64.c: Likewise.
39264 * libio/ftello64.c: Likewise.
39265 * libio/iofgetpos64.c: Likewise.
39266 * libio/iofsetpos64.c: Likewise.
39267 * sysdeps/wordsize-64/lockf.c: File removed.
39268 * sysdeps/wordsize-64/lockf64.c: File removed.
39269 * sysdeps/wordsize-64/fseeko.c: File removed.
39270 * sysdeps/wordsize-64/fseeko64.c: File removed.
39271 * sysdeps/wordsize-64/ftello.c: File removed.
39272 * sysdeps/wordsize-64/ftello64.c: File removed.
39273 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39274 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39275 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39276 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39279 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39281 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39285 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39287
39288 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39290 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39292 [defined __arch64__ || defined __sparcv9]
39293 (__OFF_T_MATCHES_OFF64_T): New macro.
39294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39295 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39297 (__OFF_T_MATCHES_OFF64_T): New macro.
39298
c5757acd
L
392992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39300
39301 * stdlib/secure-getenv.c (__secure_getenv): Replace
39302 GLIBC_2_16 with GLIBC_2_17.
39303
3a31811e
L
393042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39305
39306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39308
faa2bccb
DM
393092012-08-03 David S. Miller <davem@davemloft.net>
39310
39311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39312
85fe1997
JM
393132012-08-03 Joseph Myers <joseph@codesourcery.com>
39314
39315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39316 Remove.
39317 (__ASSUME_CORRECT_SI_PID): Likewise.
39318 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39319 (__ASSUME_TMPFS_NAME): Likewise.
39320 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39321 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39322 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39323 (HAVE_AUX_SECURE): Make definition unconditional.
39324 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39325 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39326
4f75b7a0
RM
393272012-08-03 Roland McGrath <roland@hack.frob.com>
39328
39329 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39330 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39331 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39333 __eloop_threshold instead of SYMLOOP_MAX.
39334
39335 * sysdeps/generic/eloop-threshold.h: New file.
39336 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39337 of MAXSYMLINKS.
39338 * elf/chroot_canon.c (chroot_canon): Likewise.
39339
7aab07e4
JM
393402012-08-03 Joseph Myers <joseph@codesourcery.com>
39341
39342 [BZ #13717]
39343 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39344 Change to 2.6.0 everywhere.
39345 * sysdeps/unix/sysv/linux/configure: Regenerated.
39346 * sysdeps/unix/sysv/linux/kernel-features.h
39347 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39348 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39349 kernel versions.
39350 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39351 (__ASSUME_FUTEX_REQUEUE): Remove.
39352 (__ASSUME_STATFS64): Define unconditionally.
39353 (__ASSUME_AT_SECURE): Likewise.
39354 (__ASSUME_CORRECT_SI_PID): Likewise.
39355 (__ASSUME_TGKILL): Define without depending on kernel version for
39356 i386.
39357 (__ASSUME_UTIMES): Likewise.
39358 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39359 kernel version.
39360 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39361 (__ASSUME_TMPFS_NAME): Likewise.
39362 * README: Update reference to Linux kernel versions.
39363
b67e9372
MP
393642012-08-02 Marek Polacek <polacek@redhat.com>
39365
1f529f7d 39366 [BZ# 14150]
b67e9372
MP
39367 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39368 libc_cv_asm_type_prefix with %.
39369 * configure: Regenerated.
d2441631
RM
39370 * include/libc-symbols.h: Remove comment about
39371 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39372 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39373 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39374 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39375 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39376 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39377 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39378 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39379 * elf/tst-unique2mod1.c: Likewise.
39380 * elf/tst-unique1mod2.c: Likewise.
39381 * elf/tst-unique1mod1.c: Likewise.
39382 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39383 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39384 Replace ASM_TYPE_DIRECTIVE with .type.
39385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39386 * sysdeps/i386/sysdep.h: Likewise.
39387 * sysdeps/x86_64/sysdep.h: Likewise.
39388 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39390 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39391 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39392 * sysdeps/powerpc/powerpc32/sysdep.h:
39393 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39394 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39396 * sysdeps/i386/fpu/e_powf.S: Likewise.
39397 * sysdeps/i386/fpu/e_expl.S: Likewise.
39398 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39399 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39400 * sysdeps/i386/fpu/e_pow.S: Likewise.
39401 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39403 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39404 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39405 * sysdeps/i386/fpu/e_log2.S: Likewise.
39406 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39407 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39408 * sysdeps/i386/fpu/e_powl.S: Likewise.
39409 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39410 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39411 * sysdeps/i386/fpu/e_logl.S: Likewise.
39412 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39413 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39414 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39416 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39417 * sysdeps/i386/fpu/e_log.S: Likewise.
39418 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39419 * sysdeps/i386/fpu/e_logf.S: Likewise.
39420 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39422 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39423 * sysdeps/i386/fpu/e_log10.S: Likewise.
39424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39430 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39431 * sysdeps/i386/i686/strtok.S: Likewise.
39432 * sysdeps/i386/i386-mcount.S: Likewise.
39433 * sysdeps/i386/strtok.S: Likewise.
39434 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39435 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39436 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39437 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39438 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39439 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39440 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39441 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39442 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39443 * sysdeps/x86_64/_mcount.S: Likewise.
39444 * sysdeps/x86_64/strtok.S: Likewise.
39445 * sysdeps/sh/_mcount.S: Likewise.
39446
2747bf9a
RM
394472012-08-01 Roland McGrath <roland@hack.frob.com>
39448
39449 * libio/iofopen.c: Include <fcntl.h>.
39450 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39451 (_IO_fopen64, fopen64): Define as aliases.
39452 * libio/iofopen64.c: Include <fcntl.h>.
39453 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39454 Conditionalize body on this.
39455 * sysdeps/wordsize-64/iofopen.c: File removed.
39456 * sysdeps/wordsize-64/iofopen64.c: File removed.
39457
3fb791b8
MP
394582012-08-01 Marek Polacek <polacek@redhat.com>
39459
39460 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39461 Use dlfcn directly instead of a variable.
39462 (binfmt-subdir): Do not define.
39463 (dlfcn): Likewise.
39464
a9f1039f
JM
394652012-08-01 Joseph Myers <joseph@codesourcery.com>
39466
23bddc06
JM
39467 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39468 Remove all definitions.
39469 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39470 <kernel-features.h>.
39471 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39472 (miss_F_GETOWN_EX): Remove all definitions.
39473 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39474 macro definition.
39475 [!__ASSUME_FCNTL64]: Remove conditional code.
39476 [__ASSUME_FCNTL64]: Make code unconditional.
39477 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39478 <kernel-features.h>.
39479 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39480 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39481 (lockf64) [__NR_fcntl64]: Make code unconditional.
39482 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39483
a9f1039f
JM
39484 * sysdeps/unix/sysv/linux/kernel-features.h
39485 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39486 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39487 Make code unconditional.
39488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39491 [__NR_vfork]: Make code unconditional.
39492 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39493 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39495 [__NR_vfork]: Make code unconditional.
39496 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39497 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39498
09c0ee5f
RM
394992012-08-01 Roland McGrath <roland@hack.frob.com>
39500
48aec5b9
RM
39501 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39502 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39503
cd97c966
RM
39504 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39505 Define mkstemp64 as an alias.
3f55550c
RM
39506 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39507 Define mkstemps64 as an alias.
cd97c966
RM
39508 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39509 Define mkostemp64 as an alias.
b8625cfc
RM
39510 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39511 Define mkostemps64 as an alias.
cd97c966
RM
39512 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39513 Conditionalize body on this.
39514 * misc/mkostemp64.c: Likewise.
b8625cfc 39515 * misc/mkostemps64.c: Likewise.
3f55550c 39516 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39517 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39518 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39519 * sysdeps/wordsize-64/mkostemp.c: File removed.
39520 * sysdeps/wordsize-64/mkstemp.c: File removed.
39521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39525
09c0ee5f
RM
39526 [BZ #14138]
39527 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39528 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39529 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39530 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39531
39532 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39533 compat_symbol macros from <shlib-compat.h> rather than the underlying
39534 default_symbol_version and symbol_version macros, so that DEFAULT
39535 lines in shlib-versions are respected.
39536 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39537
7e66ee51
FW
395382012-08-01 Florian Weimer <fweimer@redhat.com>
39539
39540 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39541 Declare with warn_unused_result.
39542 (setgid, setregid, setegid, setresgid): Likewise.
39543 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39544 Likewise.
39545 * WUR-REPORT: Remove set*id functions.
39546
d2a54255
PT
395472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39548
39549 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39550
7ecdb005
RM
395512012-07-31 Roland McGrath <roland@hack.frob.com>
39552
b4180a5e 39553 [BZ #10191]
789bd351
RM
39554 * include/sys/socket.h (__libc_accept, __libc_accept4):
39555 Add attribute_hidden.
39556 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39557
40ce302d
RM
39558 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39559 use of PTR_MANGLE.
39560 * inet/getnetgrent_r.c (setup): Likewise.
39561
7ecdb005
RM
39562 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39563
e2eabb2c
DM
395642012-07-31 David S. Miller <davem@davemloft.net>
39565
39566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39567
d0419dbf
JM
395682012-07-31 Joseph Myers <joseph@codesourcery.com>
39569
39570 [BZ #13629]
39571 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39572 value between 1.0 and 2.0 and smaller part has absolute value less
39573 than 1.0.
39574 * math/s_clog10.c (__clog10): Likewise.
39575 * math/s_clog10f.c (__clog10f): Likewise.
39576 * math/s_clog10l.c (__clog10l): Likewise.
39577 * math/s_clogf.c (__clogf): Likewise.
39578 * math/s_clogl.c (__clogl): Likewise.
39579 * math/libm-test.inc (clog_test): Add more tests.
39580 (clog10_test): Likewise.
39581 * sysdeps/i386/fpu/libm-test-ulps: Update.
39582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39583
2bc13872
FW
395842012-07-31 Florian Weimer <fweimer@redhat.com>
39585
39586 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39587 Exit with zero in case no suitable GID is found, and write a
39588 message to standard error.
39589
bea9b193
RM
395902012-07-30 Roland McGrath <roland@hack.frob.com>
39591
39592 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39593 rather than to 1.
39594 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39595 (MAXPATHLEN): Removed.
39596 (NOGROUP, NODEV): New macros.
39597 (setbit, clrbit, isset, isclr): New macros.
39598 (howmany, roundup, powerof2): New macros.
39599 (DEV_BSIZE): New macro.
39600
39601 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39602 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39603
39604 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39605 definition on [!__NO_LONG_DOUBLE_MATH].
39606
39607 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39608 PTR_MANGLE and PTR_DEMANGLE.
39609
39610 * socket/accept4.c (accept4): Rename to __libc_accept4.
39611 Define accept4 as a weak alias.
39612
39613 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39614 on [_DIRENT_HAVE_D_TYPE].
39615 * io/ftw.c (ftw_dir): Likewise.
39616
39617 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39618
39619 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39620
39621 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39622 Use the BSD numbers rather than the arbitrary ones we had.
39623 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39624 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39625 (SIGXCPU, SIGXFSZ): New macros.
39626 (_NSIG): Now 32.
39627
39628 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39629 initializer on [_LIBC_REENTRANT].
39630
39631 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39632 definitions inside [_POSIX_MAPPED_FILES].
39633
39634 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39635
39636 * dirent/opendir.c: Include <fcntl.h>.
39637
39638 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39639 (__libc_getspecific): Likewise.
39640 (__libc_key_create): Likewise.
39641
39642 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39643 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39644 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39645 (tmpfile64): Define as alias.
39646 * sysdeps/wordsize-64/tmpfile.c: File removed.
39647 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39648 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39650
39651 * stdio-common/vfscanf.c: Include <stdbool.h>.
39652 * nss/makedb.c: Likewise.
39653 * stdio-common/_i18n_number.h: Likewise.
39654 * argp/argp-help.c: Likewise.
39655 * posix/wordexp.c: Likewise.
39656 * sysdeps/posix/spawni.c: Likewise.
39657 * nss/nss_files/files-initgroups.c: Likewise.
39658 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39659 * nss/nss_files/files-initgroups.c: Likewise.
39660 * nss/nss_db/db-netgrp.c: Likewise.
39661 * nss/nss_db/db-initgroups.c: Likewise.
39662 * io/fchmodat.c: Include <sys/stat.h>.
39663
39664 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39665 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39666
39667 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39668 [HAVE_MMAP].
39669
39670 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39671 Add multiple inclusion protection.
39672
e5abc686
DM
396732012-07-27 David S. Miller <davem@davemloft.net>
39674
39675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39676
815e6fa3
GB
396772012-07-27 Gary Benson <gbenson@redhat.com>
39678
39679 [BZ #14298]
39680 * elf/rtld.c: Include <stap-probe.h>.
39681 (dl_main): Added static probes "init_start" and "init_complete".
39682 * elf/dl-load.c: Include <stap-probe.h>.
39683 (lose): Take new parameter "nsid".
39684 Added static probe "map_failed".
39685 (_dl_map_object_from_fd): Pass namespace id to lose.
39686 Added static probe "map_start".
39687 (open_verify): Pass namespace id to lose.
39688 * elf/dl-open.c: Include <stap-probe.h>.
39689 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39690 and "reloc_complete".
39691 * elf/dl-close.c: Include <stap-probe.h>.
39692 (_dl_close_worker): Added static probes "unmap_start" and
39693 "unmap_complete".
39694 * elf/rtld-debugger-interface.txt: New file documenting the above.
39695
9f98c16c
RM
396962012-07-26 Roland McGrath <roland@hack.frob.com>
39697
39698 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39699 rather than a string variable.
39700 * sunrpc/rpc_main.c (h_output): Likewise.
39701 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39702
f3c22df3
PT
397032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39704
39705 * inet/check_native.c: New file.
39706
3129cfc6
JM
397072012-07-26 Joseph Myers <joseph@codesourcery.com>
39708
da865e95
JM
39709 [BZ #13629]
39710 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39711 if larger part has absolute value 1.0.
39712 * math/s_clog10.c (__clog10): Likewise.
39713 * math/s_clog10f.c (__clog10f): Likewise.
39714 * math/s_clog10l.c (__clog10l): Likewise.
39715 * math/s_clogf.c (__clogf): Likewise.
39716 * math/s_clogl.c (__clogl): Likewise.
39717 * math/libm-test.inc (clog_test): Add more tests.
39718 (clog10_test): Likewise.
39719 * sysdeps/i386/fpu/libm-test-ulps: Update.
39720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39721
3129cfc6
JM
39722 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39723 (pltexit): Likewise.
39724 (La_regs): Likewise.
39725 (La_retval): Likewise.
39726 (int_retval): Likewise.
39727 Update #error for removed macros to refer only to definitions in
39728 tst-audit.h.
39729 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39730 macro.
39731 (pltexit): Likewise.
39732 (La_regs): Likewise.
39733 (La_retval): Likewise.
39734 (int_retval): Likewise.
39735 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39736 macro.
39737 (pltexit): Likewise.
39738 (La_regs): Likewise.
39739 (La_retval): Likewise.
39740 (int_retval): Likewise.
39741 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39742 macro.
39743 (pltexit): Likewise.
39744 (La_regs): Likewise.
39745 (La_retval): Likewise.
39746 (int_retval): Likewise.
39747 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39748 macro.
39749 (pltexit): Likewise.
39750 (La_regs): Likewise.
39751 (La_retval): Likewise.
39752 (int_retval): Likewise.
39753 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39754 macro.
39755 (pltexit): Likewise.
39756 (La_regs): Likewise.
39757 (La_retval): Likewise.
39758 (int_retval): Likewise.
39759 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39760 macro.
39761 (pltexit): Likewise.
39762 (La_regs): Likewise.
39763 (La_retval): Likewise.
39764 (int_retval): Likewise.
39765 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39766 macro definitions in tst-audit.h.
39767 * sysdeps/i386/tst-audit.h: New file.
39768 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39769 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39770 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39771 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39772 * sysdeps/sh/tst-audit.h: Likewise.
39773 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39774 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39775 * sysdeps/x86_64/tst-audit.h: Likewise.
39776
bfc07087
AJ
397772012-07-26 Andreas Jaeger <aj@suse.de>
39778
b1b2aaf8
AJ
39779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39780 ptrace.
39781
39782 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39783 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39784 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39785 PTRACE_O_MASK.
39786 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39787 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39788 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39789
bfc07087
AJ
39790 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39791 value.
39792
39793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39794 _sigsys.
39795 (si_call_addr, si_syscall, si_arch): Define new macro.
39796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39797 _sigsys.
39798 (si_call_addr, si_syscall, si_arch): Define new marcro.
39799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39800 _sigsys.
39801 (si_call_addr, si_syscall, si_arch): Define new macro.
39802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39803 _sigsys.
39804 (si_call_addr, si_syscall, si_arch): Define new macro.
39805
89b4b02f
JM
398062012-07-25 Joseph Myers <joseph@codesourcery.com>
39807
39808 [BZ #13717]
39809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39810 Change to 2.4.21 where previously 2.4.1.
39811 * sysdeps/unix/sysv/linux/configure: Regenerated.
39812 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39813 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39814 Linux kernel version.
39815 (__ASSUME_STD_AUXV): Remove.
39816 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39817 kernel version.
39818 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39819 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39820 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39821 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39822 (__ASSUME_NETLINK_SUPPORT): Likewise.
39823 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39824 (__no_netlink_support): Remove conditional definition.
39825 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39826 Remove.
39827 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39828 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39829 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39830 (if_nameindex_ioctl): Remove.
39831 (if_nameindex_netlink): Do not handle __no_netlink_support.
39832 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39833 code.
39834 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39835 Remove conditional code.
39836 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39837 code.
39838 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39839 unconditional.
39840 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39841 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39842 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39843 Remove.
39844 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39845 [!__ASSUME_STD_AUXV]: Remove conditional code.
39846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39847 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39848 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39850 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39852 code.
39853 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39855 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39856 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39857 conditional code.
39858 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39860 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39861 code.
39862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39863 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39864 conditional code.
39865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39866 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39867 code unconditional.
39868 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39869 conditional code.
39870 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39871 unconditional.
39872 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39873 conditional code.
39874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39875 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39876 unconditional.
39877 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39878 conditional code.
39879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39880 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39881 code unconditional.
39882 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39883 conditional code.
39884 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39885 unconditional.
39886 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39887 conditional code.
39888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39889 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39890 code unconditional.
39891 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39892 conditional code.
39893 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39894 unconditional.
39895 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39896 conditional code.
39897
842a39cd
AS
398982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39899
39900 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39901 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39902 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39903 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39904 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39905 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39906 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39907 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39908 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39909 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39910 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39911 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39912 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39913 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39915 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39916 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39917 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39918 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39920 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39921 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39923
84b3fd84
FW
399242012-07-25 Florian Weimer <fweimer@redhat.com>
39925
39926 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39927 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39928 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39929 Introduce __libc_secure_getenv.
0c7936d5
FW
39930 * stdlib/Versions (2.17): Add secure_getenv
39931 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39932 * stdlib/secure-getenv.c: Rename __secure_getenv to
39933 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39934 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39935 * stdlib/tst-secure-getenv.c: New.
39936 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39937 * manual/startup.texi (Environment Access): Document
39938 secure_getenv.
84b3fd84
FW
39939 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39940 __libc_secure_getenv.
39941 * inet/ruserpass.c (ruserpass): Likewise.
39942 * malloc/mtrace.c (mtrace): Likewise.
39943 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39944 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39945 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39946 * sysdeps/posix/tempname.c: Likewise. Evaluate
39947 HAVE_SECURE_GETENV.
39948 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39949 __secure_getenv to __libc_secure_getenv.
84b3fd84 39950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39952 Likewise.
39953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39954 Likewise.
39955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39962
56e49b71
JM
399632012-07-25 Joseph Myers <joseph@codesourcery.com>
39964
39965 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39966 (struct La_i86_retval): Likewise.
39967 (struct La_x86_64_regs): Likewise.
39968 (struct La_x86_64_retval): Likewise.
39969 (struct La_x32_regs): Likewise.
39970 (struct La_x32_retval): Likewise.
39971 (struct La_ppc32_regs): Likewise.
39972 (struct La_ppc32_retval): Likewise.
39973 (struct La_ppc64_regs): Likewise.
39974 (struct La_ppc64_retval): Likewise.
39975 (struct La_sh_regs): Likewise.
39976 (struct La_sh_retval): Likewise.
39977 (struct La_s390_32_regs): Likewise.
39978 (struct La_s390_32_retval): Likewise.
39979 (struct La_s390_64_regs): Likewise.
39980 (struct La_s390_64_retval): Likewise.
39981 (struct La_sparc32_regs): Likewise.
39982 (struct La_sparc32_retval): Likewise.
39983 (struct La_sparc64_regs): Likewise.
39984 (struct La_sparc64_retval): Likewise.
39985 (struct audit_ifaces): Remove architecture-specific pltenter and
39986 pltexit members.
39987 * sysdeps/i386/ldsodefs.h: New file.
39988 * sysdeps/powerpc/ldsodefs.h: Likewise.
39989 * sysdeps/s390/ldsodefs.h: Likewise.
39990 * sysdeps/sh/ldsodefs.h: Likewise.
39991 * sysdeps/sparc/ldsodefs.h: Likewise.
39992 * sysdeps/x86_64/ldsodefs.h: Likewise.
39993
354691b7
MP
399942012-07-25 Marek Polacek <polacek@redhat.com>
39995
39996 [BZ #6808]
39997 * math/libm-test.inc (yn_test): Add another test.
39998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39999 to ERANGE when the result is +-Inf.
40000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40002 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40003 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40004
bf9e2071
JM
400052012-07-24 Joseph Myers <joseph@codesourcery.com>
40006
40007 * conform/data/time.h-data (NULL): Use macro-constant. Require
40008 equal to 0.
40009 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40010 clock_t.
40011 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40012
57633811
TS
400132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40014
40015 * configure.in <sysdeps resolving>: Correct printing
40016 Implies_before.
40017 * configure: Regenerate.
40018
c23c33b0
TS
400192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40020
40021 * math/w_ilogb.c: Include <limits.h>.
40022 * math/w_ilogbl.c: Likewise.
40023
b5982523
JM
400242012-07-20 Joseph Myers <joseph@codesourcery.com>
40025
40026 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40027 va_copy. Document allowing for unavailable va_copy only as
40028 pre-C99 compatibility.
40029 * manual/string.texi (Copying and Concatenation): Use va_copy
40030 instead of __va_copy in concat example.
40031
ac4ea442
PT
400322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40033
40034 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40035 (__sendto): Use create_address_port. Initialize APORT and deallocate
40036 it if not null.
40037
f98eafbd
PT
40038 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40039 with O_NOLINK passed to __file_name_lookup.
40040
898c7aab
PT
40041 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40042 with O_NOLINK passed to __file_name_lookup.
40043
0ced335a
PT
40044 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40045 negative N or less than NGIDS.
40046
b3404dbd
PT
40047 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40048 type to string_t. Set ERANGE as errno and return it if NAME is not big
40049 enough. Use memcpy instead of strncpy.
40050
0f48659e
JM
400512012-07-20 Joseph Myers <joseph@codesourcery.com>
40052
40053 * elf/Makefile (check-data): Remove.
40054 (localplt.data): New vpath directive.
40055 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40056 instead of $(check-data).
40057 * scripts/data/localplt-generic.data: Move to ...
40058 * sysdeps/generic/localplt.data: ... here.
40059 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40060 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40061 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40063 ... here.
40064 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40066 ... here.
40067 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40069 ... here.
40070 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40072 ... here.
40073 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40075 ... here.
40076 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40078 ... here.
40079
d37cbdaa
AZ
400802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40081
40082 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40083 PPC32 and PPC64 files.
40084 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40085 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40086
46f85fc2
AK
400872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40088
40089 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40090 __makecontext_ret to ...
40091 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40092 ... here and call exit if uc_link is NULL. New file.
40093 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40094 __makecontext_ret.S.
40095 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40096 __makecontext_ret to ...
40097 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40098 ... here and call exit if uc_link is NULL. New file.
40099 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40100 __makecontext_ret.S.
40101
08f43f9b
AK
401022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40103
40104 * elf/elf.h (R_390_IRELATIVE): New definition.
40105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40106 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40107 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40109 (elf_machine_lazy_rel): Likewise.
40110 * sysdeps/s390/dl-irel.h: New file.
40111 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40112 * sysdeps/s390/s390-64/memset.S: New asm code.
40113 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40114 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40115 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40116 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40117 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40118 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40120 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40121 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40122 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40123 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40124 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40125 * sysdeps/s390/s390-32/memset.S: New asm code.
40126 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40127
3b05db33
MP
401282012-07-17 Marek Polacek <polacek@redhat.com>
40129
40130 [BZ #14349]
40131 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40132 * sysdeps/s390/s390-64/configure.in: Likewise.
40133 * sysdeps/sparc/configure.in: Likewise.
40134 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40135 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40136 * sysdeps/i386/configure.in: Likewise.
40137 * sysdeps/x86_64/configure.in: Likewise.
40138 * sysdeps/sh/configure.in: Likewise.
40139 * sysdeps/s390/s390-32/configure: Regenerated.
40140 * sysdeps/s390/s390-64/configure: Likewise.
40141 * sysdeps/x86_64/configure: Likewise.
40142 * sysdeps/sh/configure: Likewise.
40143 * sysdeps/powerpc/powerpc64/configure: Likewise.
40144 * sysdeps/powerpc/powerpc32/configure: Likewise.
40145 * sysdeps/sparc/configure: Likwise.
40146 * sysdeps/i386/configure: Likewise.
40147
a66877c6
MP
40148 * elf/dl-open.c: Comment fixes.
40149
cfc82fd8
JM
401502012-07-17 Joseph Myers <joseph@codesourcery.com>
40151
bd29910a
JM
40152 * Makefile [CXX] (check-data): Remove.
40153 [CXX] (c++-types.data): New vpath directive.
40154 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40155 vpath. Do not allow for C++ type data being missing.
40156 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40157 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40158 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40159 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40160 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40161 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40162 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40164 ... here.
40165 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40167 ... here.
40168 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40170 ... here.
40171 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40173 ... here.
40174 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40176 ... here.
40177 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40179 ... here.
40180 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40182 ... here.
40183 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40185
cfc82fd8
JM
40186 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40187 definitions to architecture-specific files.
40188 (TLS_IE): Likewise.
40189 (TLS_LD): Likewise.
40190 (TLS_GD): Likewise.
40191 * sysdeps/i386/tls-macros.h: New file.
40192 * sysdeps/powerpc/tls-macros.h: Likewise.
40193 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40194 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40195 * sysdeps/sh/tls-macros.h: Likewise.
40196 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40197 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40198 * sysdeps/x86_64/tls-macros.h: Likewise.
40199
f7db3170
TS
402002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40201
07cbfc23
TS
40202 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40203 zero value for regular exit case.
40204
f7db3170
TS
40205 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40206 (__start_context): Preserve zero value for regular exit case.
40207
dc97c227
TS
402082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40209 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40210
40211 * manual/setjmp.texi (setcontext): Clarify normal process
40212 termination when uc_link is the null pointer.
40213 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40214 exit call.
40215
d0cd7d02
AS
402162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40217
40218 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40219 preprocessor. Test for each exception mask separately.
40220
dd318934
AJ
402212012-07-16 Andreas Jaeger <aj@suse.de>
40222
40223 * po/ru.po: Update from translation team.
40224
8048311a
JM
402252012-07-15 Joseph Myers <joseph@codesourcery.com>
40226
40227 * conform/data/string.h-data (NULL): Use macro-constant. Require
40228 equal to 0.
40229 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40230 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40231 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40232 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40234
b637d46e
AJ
402352012-07-13 Andreas Jaeger <aj@suse.de>
40236
40237 * po/fr.po: Update from translation team.
40238
541428fe
MP
402392012-07-12 Marek Polacek <polacek@redhat.com>
40240
40241 [BZ #14173]
40242 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40244 loop condition.
40245
ec332e94
JM
402462012-07-12 Joseph Myers <joseph@codesourcery.com>
40247
40248 [BZ #13717]
40249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40250 Change to 2.4.1 where previously 2.4.0.
40251 * sysdeps/unix/sysv/linux/configure: Regenerated.
40252 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40253 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40254 version.
40255 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40256 (__ASSUME_AT_CLKTCK): Remove.
40257 (__ASSUME_AT_PAGESIZE): Likewise.
40258 (__ASSUME_AT_XID): Likewise.
40259 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40260 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40261 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40262 unconditionally.
40263 (HAVE_AUX_PAGESIZE): Likewise.
40264 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40265 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40266 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40267
7b6e99be
JB
402682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40269
40270 [BZ #14307]
40271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40272 the temporary buffer used to invoke __gethostbyname2_r,
40273 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40274 host_data / struct gaih_addrtuple.
40275 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40276 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40277 header file nss/nsswitch.h.
40278 * nss/nsswitch.h (global scope): Add definition of implementation
40279 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40280 resolv/nss_dns/dns-host.c).
40281
608404eb
AJ
402822012-07-11 Andreas Jaeger <aj@suse.de>
40283
40284 * po/fr.po: Update from translation team.
40285
71220aca
AJ
40286 * po/sv.po: Update from translation team
40287 * po/fr.po: Another update from translation team.
40288
28cfe843
AZ
402892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40290
40291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40292 for subnormals or multiply small sinh result by itself.
40293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40295
6b90f981
DM
402962012-07-11 David S. Miller <davem@davemloft.net>
40297
40298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40299
c6825772
AS
403002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40301
40302 [BZ #14347]
40303 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40304 (INTERNAL_MARK): Shift it here.
40305
7b8e0d49
MP
403062012-07-10 Marek Polacek <polacek@redhat.com>
40307
40308 [BZ #14151]
40309 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40310 libc_cv_asm_global_directive with .globl.
40311 * configure: Regenerated.
40312 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40313 with .globl.
40314 * sysdeps/i386/configure: Regenerated.
40315 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40316 with .globl.
40317 * sysdeps/x86_64/configure: Regenerated.
40318 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40319 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40320 * elf/tst-unique2mod2.c: Likewise.
40321 * elf/tst-unique2mod1.c: Likewise.
40322 * elf/tst-unique1mod2.c: Likewise.
40323 * elf/tst-unique1mod1.c: Likewise.
40324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40325 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40326 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40327 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40328 * sysdeps/mach/sysdep.h: Likewise.
40329 * sysdeps/i386/sysdep.h: Likewise.
40330 * sysdeps/i386/i386-mcount.S: Likewise.
40331 * sysdeps/x86_64/_mcount.S: Likewise.
40332 * sysdeps/x86_64/sysdep.h: Likewise.
40333 * sysdeps/sh/_mcount.S: Likewise.
40334 * sysdeps/sh/sysdep.h: Likewise.
40335 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40336 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40337 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40338 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40339 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40340 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40341 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40342 * locale/localeinfo.h: Likewise.
40343 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40344 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40345
6c55cda3
RM
403462012-07-09 Roland McGrath <roland@hack.frob.com>
40347
40348 [BZ #14336]
40349 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40350 system".
40351 * manual/message.texi (The Uniforum approach): Likewise.
40352 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40353 (glibc iconv Implementation): Likewise.
40354
638a572e
JM
403552012-07-09 Joseph Myers <joseph@codesourcery.com>
40356
40357 [BZ #14337]
40358 * math/s_clog.c (__clog): Avoid scaling a value down where that
40359 could result in underflow.
40360 * math/s_clog10.c (__clog10): Likewise.
40361 * math/s_clog10f.c (__clog10f): Likewise.
40362 * math/s_clog10l.c (__clog10l): Likewise.
40363 * math/s_clogf.c (__clogf): Likewise.
40364 * math/s_clogl.c (__clogl): Likewise.
40365 * math/libm-test.inc (clog_test): Add more tests.
40366 (clog10_test): Likewise.
40367 * sysdeps/i386/fpu/libm-test-ulps: Update.
40368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40369
261f4859
AS
403702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40371
0abaf3e4
AS
40372 [BZ #14283]
40373 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40374 by 7 not 8 to examine high bit of fractional part.
40375
261f4859
AS
40376 [BZ #14042]
40377 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40378 for call to __mcount_internal.
40379 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40380 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40381 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40382
f17ac40d
JM
403832012-07-06 Joseph Myers <joseph@codesourcery.com>
40384
9ad63c23
JM
40385 [BZ #14154]
40386 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40387 approximation for values within 0x1p-13f of an odd multiple of
40388 pi/4.
40389 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40390 exception. Add more tests.
40391 * sysdeps/i386/fpu/libm-test-ulps: Update.
40392
f17ac40d
JM
40393 [BZ #6778]
40394 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40395 inputs and return -1 for them. Do not check for +Inf in case not
40396 reachable for +Inf.
40397 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40398 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40400 and return -1 for them. Do not check for +Inf in case not
40401 reachable for +Inf.
40402 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40403 define.
40404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40405 and return -1 for them. Do not check for +Inf in case not
40406 reachable for +Inf.
40407 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40408 spurious underflow.
40409 * sysdeps/i386/fpu/libm-test-ulps: Update.
40410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40411
fb21f89b
MF
404122012-07-06 Mike Frysinger <vapier@gentoo.org>
40413
40414 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40415
cdfe2c5e
JM
404162012-07-05 Joseph Myers <joseph@codesourcery.com>
40417
40418 [BZ #14157]
40419 [BZ #14331]
40420 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40421 could result in spurious underflow. Scale down values above
40422 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40423 * math/s_csqrtf.c (__csqrtf): Likewise.
40424 * math/s_csqrtl.c (__csqrtl): Likewise.
40425 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40426 spurious underflow.
40427 * sysdeps/i386/fpu/libm-test-ulps: Update.
40428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40429
70d35b67
AS
404302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40431
704bc459
AS
40432 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40433 xopen-msg.sed.
40434 * catgets/xopen-msg.awk: New file.
40435 * catgets/xopen-msg.sed: Removed.
40436
70d35b67
AS
40437 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40438 po2text.sed.
40439 * intl/po2test.awk: New file.
40440 * intl/po2test.sed: Removed.
40441
ca61cf32
JM
404422012-07-04 Joseph Myers <joseph@codesourcery.com>
40443
40444 [BZ #14328]
40445 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40446 or multiply small sinh result by itself.
40447 * math/s_ctanf.c (__ctanf): Likewise.
40448 * math/s_ctanh.c (__ctanh): Likewise.
40449 * math/s_ctanhf.c (__ctanhf): Likewise.
40450 * math/s_ctanhl.c (__ctanhl): Likewise.
40451 * math/s_ctanl.c (__ctanl): Likewise.
40452 * math/libm-test.inc (ctan_test_tonearest): New function.
40453 (ctan_test_towardzero): Likewise.
40454 (ctan_test_downward): Likewise.
40455 (ctan_test_upward): Likewise.
40456 (ctanh_test_tonearest): Likewise.
40457 (ctanh_test_towardzero): Likewise.
40458 (ctanh_test_downward): Likewise.
40459 (ctanh_test_upward): Likewise.
40460 (main): Call these new functions.
40461 * sysdeps/i386/fpu/libm-test-ulps: Update.
40462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40463
ca48a46a
MF
404642012-07-03 Mike Frysinger <vapier@gentoo.org>
40465
40466 * .gitignore: Delete /ports entry.
40467
9d63d37d
AJ
404682012-07-03 Andreas Jaeger <aj@suse.de>
40469
40470 * po/bg.po: Update from translation team.
40471 * po/cs.po: Likewise.
40472 * po/de.po: Likewise.
40473 * po/hr.po: Likewise.
40474 * po/nl.pl: Likewise.
40475 * po/pl.po: Likewise.
40476 * po/vi.po: Likewise.
40477
370ca3d2
JM
404782012-07-03 Joseph Myers <joseph@codesourcery.com>
40479
95f5a9a8
JM
40480 * Makeconfig [!+link] (+link-before-libc): New variable.
40481 [!+link] (+link-after-libc): Likewise.
40482 [!+link] (+link-tests): Likewise.
40483 [!+link] (+link): Define in terms of $(+link-before-libc) and
40484 $(+link-after-libc).
40485 [!+link-static] (+link-static-before-libc): New variable.
40486 [!+link-static] (+link-static-after-libc): Likewise.
40487 [!+link-static] (+link-static-tests): Likewise.
40488 [!+link-static] (+link-static): Define in terms of
40489 $(+link-static-before-libc) and $(+link-static-after-libc).
40490 [build-shared] (link-libc-before-gnulib): New variable.
40491 [build-shared] (link-libc-tests): Likewise.
40492 [build-shared] (link-libc): Define in terms of
40493 $(link-libc-before-gnulib).
40494 [!build-shared] (link-libc-tests): New variable.
40495 (link-libc-static-tests): New variable.
40496 [!gnulib] (gnulib-arch): New variable.
40497 [!gnulib] (gnulib-tests): Likewise.
40498 [!gnulib] (static-gnulib-arch): Likewise.
40499 [!gnulib] (static-gnulib-tests): Likewise.
40500 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40501 Define with "=" instead of ":=".
40502 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40503 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40504 * Rules (binaries-all-notests): New variable.
40505 (binaries-all-tests): Likewise.
40506 (binaries-static-notests): Likewise.
40507 (binaries-static-tests): Likewise.
40508 (binaries-all): Define using $(binaries-all-notests) and
40509 $(binaries-all-tests).
40510 (binaries-static): Define using $(binaries-static-notests) and
40511 $(binaries-static-tests).
40512 (binaries-shared-tests): New variable.
40513 (binaries-shared-notests): Likewise.
40514 (binaries-shared): Remove variable.
40515 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40516 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40517 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40518 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40519 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40520 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40521 * elf/Makefile (sln-modules): New variable.
40522 (extra-objs): Add $(sln-modules:=.o).
40523 (ldconfig-modules): Add static-stubs.
40524 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40525 * elf/static-stubs.c: New file.
40526
7a845b2c
JM
40527 [BZ #14283]
40528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40529 by 7 not 8 to examine high bit of fractional part. Use volatile
40530 variables when splitting into final array of floats if
40531 __FLT_EVAL_METHOD__ != 0.
40532 * math/libm-test.inc (cos_test): Add another test.
40533 (sin_test): Likewise.
40534 * sysdeps/i386/fpu/libm-test-ulps: Update.
40535
e2283f38
JM
40536 [BZ #14273]
40537 * math/libm-test.inc (cosh_test): Add more tests.
40538
370ca3d2
JM
40539 * version.h (RELEASE): Set to "development".
40540 (VERSION): Set to "2.16.90".
40541
ee9247c3
CD
405422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40543
40544 * NEWS: Update copyright. Remove last-updated date.
40545 Mention math library bug fixes and timezone data changes.
40546 * README: Mention GNU/Hurd, x32, and HPPA support status.
40547
4648c381
TS
405482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40549
40550 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40551
aac78a43
AJ
405522012-06-27 Andreas Jaeger <aj@suse.de>
40553
40554 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40555
ed3dbfad
AJ
405562012-06-25 Andreas Jaeger <aj@suse.de>
40557
40558 * sysdeps/s390/fpu/libm-test-ulps: Update.
40559
4d0ee855
AS
405602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40561 Thomas Schwinge <thomas@codesourcery.com>
40562
40563 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40564 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40566 fanotify_mark.
40567
af1bce34
TS
405682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40569
a9fa33ba
TS
40570 * sysdeps/mach/start.c: Remove file.
40571 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40572 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40573 * sysdeps/sh/init-first.c: Likewise.
40574
58f902b8
TS
40575 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40576 registers for frame unwinding purposes, add CFI directives.
40577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40579 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40580 Likewise.
40581
1518f58b
TS
40582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40583 __fortify_fail returning.
40584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40585
db9b5059
TS
40586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40587 sysdeps/sh/____longjmp_chk.S.
40588 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40589 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40590 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40591 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40592
967705fe
TS
40593 * sysdeps/sh/abort-instr.h: New file.
40594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40595 process in case exit returns.
40596
a9def8c4
TS
40597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40598 initialize the GOT register before use.
40599
2a649725
TS
40600 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40601 calculation of ARGC > 4.
40602
af1bce34
TS
40603 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40604 meaningful names to some local labels.
40605
d230f50a
KK
406062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40607 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40608
40609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40610 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40611 (__arch_compare_and_exchange_val_16_acq): Likewise.
40612 (__arch_compare_and_exchange_val_32_acq): Likewise.
40613 (atomic_exchange_and_add): Fix gUSA sequence.
40614 (atomic_add): Likewise.
40615 (atomic_add_negative): Likewise.
40616 (atomic_add_zero): Likewise.
40617 (atomic_bit_test_set): Likewise.
40618
0479b305
AS
406192012-06-22 Andreas Schwab <schwab@redhat.com>
40620
40621 [BZ #13579]
40622 * include/link.h (struct link_map): Add l_free_initfini.
40623 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40624 l_initfini.
40625 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40626 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40627 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40628 set.
40629
0e3933b9
CD
406302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40631
40632 * configure.in: Use AC_LANG_SOURCE.
40633 * configure: Regenerate.
40634
4248b1b1
RM
406352012-06-22 Roland McGrath <roland@hack.frob.com>
40636
40637 * configure.in (libc_cv_localstatedir): New substituted variable.
40638 * configure: Regenerated.
40639 * config.make.in (localstatedir): New variable, substituted from
40640 libc_cv_localstatedir.
40641 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40642 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40643 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40644 * sysdeps/gnu/configure: Regenerated.
40645
006dd861
JL
406462012-06-21 Jeff Law <law@redhat.com>
40647
40648 [BZ #14277]
40649 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40650 free. Simplify list management for _LIBC case.
40651
79662d42
JM
406522012-06-21 Joseph Myers <joseph@codesourcery.com>
40653
b7abb4bf
JM
40654 [BZ #14273]
40655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40656 Clear sign bit of 64-bit integer value before comparing against
40657 overflow value.
40658
79662d42
JM
40659 * sysdeps/mach/configure: Regenerated.
40660
1f150908
L
406612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40662
40663 [BZ #14278]
40664 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40665
28363bbf
JL
406662012-06-21 Jeff Law <law@redhat.com>
40667
40668 [BZ #13882]
40669 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40670 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40671 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40672 * elf/dl-open.c (dl_open_worker): Likewise.
40673
09615db4
CD
406742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40675
40676 * scripts/list-sources.sh: Scan PORTS for translations.
40677 * po/libc.pot: Regenerated.
40678
2174c6dd
AJ
406792012-06-21 Andreas Jaeger <aj@suse.de>
40680
40681 [BZ #12194]
40682 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40683 warning.
40684 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40685 * bits/byteswap-16.h (__bswap_16): Likewise.
40686 * bits/byteswap.h (__bswap_constant_16): Likewise.
40687
3ee947b1
L
406882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40689
40690 [BZ #14117]
a2f34833
L
40691 * sysdeps/i386/fpu_control.h: Removed.
40692 * sysdeps/x86_64/fpu_control.h: Moved to ...
40693 * sysdeps/x86/fpu_control.h: Here.
40694
3ee947b1
L
40695 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40696 (_FPU_SETCW): Likewise.
40697
ed1825f8
L
406982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40699
25f1282a
L
40700 [BZ #14117]
40701 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40702 * sysdeps/x86/fpu/bits/mathinline.h: This.
40703 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40704
ed1825f8
L
40705 [BZ #14050]
40706 [BZ #14117]
40707 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40708 functions if __x86_64__ is defined.
40709
36d54b74
CLT
407102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40711
40712 * string/endian.h: Add !__ASSEMBLER__ condition for including
40713 conversion interfaces.
40714
10285c21
JM
407152012-06-15 Joseph Myers <joseph@codesourcery.com>
40716
40717 [BZ #14241]
40718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40719 of ABS(x) in calculating zero to negative powers other than odd
40720 integers.
40721 * math/libm-test.inc (pow_test): Add more tests.
40722
06c5abbd
AJ
407232012-06-15 Andreas Jaeger <aj@suse.de>
40724
40725 * manual/contrib.texi (Contributors): Update entry of Liubov
40726 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40727 Machado Filho.
40728
a3aeac40
CH
407292012-06-15 Cyril Hrubis <metan@ucw.cz>
40730
40731 * string/string.h: Add __wur to GNU version of strerror_r.
40732
49bdf4c1
L
407332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40734
40735 [BZ #14229]
40736 * string/Makefile (tests): Add tst-strtok_r.
40737 * string/tst-strtok_r.c: New file.
40738 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40739 RAX_LP/RDX_LP on SAVE_PTR.
40740
834f9b8d
RM
407412012-06-14 Roland McGrath <roland@hack.frob.com>
40742
40743 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40744
75fa1921
JM
407452012-06-14 Joseph Myers <joseph@codesourcery.com>
40746
40747 * libm_test.inc (csqrt_test): Allow more spurious underflow
40748 exceptions.
40749 (j0_test): Likewise.
40750 (j1_test): Likewise.
40751 (y0_test): Likewise.
40752 (y1_test): Likewise.
40753
771766df
CD
407542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40755
40756 * po/Makefile (libc.pot): Use UTF-8 charset.
40757
ceb9e56b
PP
407582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40759
40760 [BZ #14210]
40761 Suppress sign-conversion warning from FD_SET.
40762 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40763 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40764 not unsigned long int.
40765 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40766
ddb28975
L
407672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40768
40769 [BZ #14050]
40770 [BZ #14117]
40771 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40772 __extern_always_inline instead of __extern_inline.
40773 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40774 (__signbit): Likewise.
40775 (__signbitl): Support C++ namespace.
40776 (lrintf): New inline function.
40777 (lrint): Likewise.
40778 (llrintf): Likewise.
40779 (llrint): Likewise.
40780 (fmaxf): Likewise.
40781 (fmax): Likewise.
40782 (fminf): Likewise.
40783 (fmin): Likewise.
40784 (rint): Likewise.
40785 (rintf): Likewise.
40786 (ceil): Likewise.
40787 (ceilf): Likewise.
40788 (floor): Likewise.
40789 (floorf): Likewise.
40790 (nearbyint): Likewise.
40791 (nearbyintf): Likewise.
40792
d7b4fb26
TS
407932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40794
40795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40796 non-default versions.
40797
eb55f5c2
RM
407982012-06-11 Roland McGrath <roland@hack.frob.com>
40799
40800 [BZ #14218]
40801 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40802
366af02c
TS
408032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40804
99ff6e5c
TS
40805 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40806 (FE_UPWARD, FE_DOWNWARD): Don't define.
40807 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40808 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40809
366af02c
TS
40810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40811 reading it.
40812 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40814
793ea851
KK
408152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40816
40817 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40821
a728a38f
L
408222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40823
40824 [BZ #14117]
c08010c7
L
40825 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40826 * sysdeps/i386/fpu/Implies: New file.
40827 * sysdeps/x86_64/fpu/Implies: Likewise.
40828 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40829 * sysdeps/x86/fpu/bits/fenv.h: This.
40830
a728a38f
L
40831 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40832 __SSE_MATH__.
40833
6e230d11
SP
408342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40835
40836 [BZ #14134]
40837 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40838 character 0xffff that matches the last element of the
40839 conversion table.
40840
1b671feb
AZ
408412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40842
40843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40844 fmodl commit.
40845
6043738b
AZ
408462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40847
40848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40849 values higher than 25.6283.
40850
34ae0b32
AZ
408512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40852
40853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40854 subnormal exponent extraction and add some __builtin_expect.
40855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40856 Fix for subnormal mantissa calculation.
40857
1214ec8f
MF
408582012-06-04 Mike Frysinger <vapier@gentoo.org>
40859
40860 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40861 cpu2 is -1 and errno is not ENOSYS.
40862
f3d1f93c
L
408632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40864
40865 [BZ #14117]
0e4a3cd7
L
40866 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40867 * sysdeps/x86/bits/string.h: This.
40868 * sysdeps/x86_64/bits/string.h: Removed.
40869
6704c645
L
40870 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40871 if not compiling for x86-64, but compiling for >= i486.
40872
48495318
L
40873 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40874 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40875
14adcbfc
L
40876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40877 New macro from Linux kernel 3.4.0.
40878 (FP_XSTATE_MAGIC2): Likewise.
40879 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40880 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40881 (struct _fpx_sw_bytes): New struct.
40882 (struct _xsave_hdr): Likewise.
40883 (struct _ymmh_state): Likewise.
40884 (struct _xstate): Likewise.
40885
68e408ab
L
40886 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40887 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40889 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40891 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40892
f3d1f93c
L
40893 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40895 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40896 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40897 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40898 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40899
d9dc34cd
TMQMF
409002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40901
40902 [BZ #13743]
40903 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40904 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40905 (sysdep_headers): Include sys/platform/ppc.h.
40906 * sysdeps/powerpc/test-gettimebase.c: Test for
40907 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40908 * manual/Makefile (appendices): Include platform.texi.
40909 * manual/contrib.texi (Contributors): Update @node pointers.
40910 * manual/maint.texi (Maintenance): Likewise.
40911 (Platform): New node.
40912 * manual/platform.texi: New file. Document the new features.
40913
4af3879c
SP
409142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40915 Jakub Jelinek <jakub@redhat.com>
40916
40917 [BZ #14188]
40918 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40919 where __builtin_expect is unavailable.
40920
2fd6ff13
DM
409212012-06-03 David S. Miller <davem@davemloft.net>
40922
40923 * stdlib/longlong.h: Updated from GCC.
40924
173f7220
AS
409252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40926
40927 [BZ #14042]
40928 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40929 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40930 __mcount_internal.
40931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40932 (GLIBC_2.16): Likewise.
40933
f34a1c6f
L
409342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40935
40936 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40937
88a4576f
JM
409382012-06-01 Joseph Myers <joseph@codesourcery.com>
40939
ea32bcdd
JM
40940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40941 (default-abi): New variable.
40942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40943 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40944 variable.
40945 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40946 Likewise.
40947 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40948 Likewise.
40949 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40950 Likewise.
40951
88a4576f
JM
40952 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40953 definition. Document in comment.
40954
402fe938
DM
409552012-06-01 David S. Miller <davem@davemloft.net>
40956
40957 * stdlib/longlong.h: Updated from GCC.
40958
3553723f
L
409592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40960
40961 [BZ #14117]
3bd872c4
L
40962 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40963 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40964 sys/debugreg.h sys/io.h here.
40965 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40966 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40967 sys/io.h.
40968 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40969 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40970 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40971 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40972 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40973 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40974
3553723f
L
40975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40976 Define only if __x86_64__ is defined.
40977
4842e4fe
JM
409782012-06-01 Joseph Myers <joseph@codesourcery.com>
40979
c5bfe3d5
JM
40980 [BZ #14048]
40981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40982 Use int64_t for variable i.
40983 * math/libm-test.inc (fmod_test): Add more tests.
40984
4842e4fe
JM
40985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40986 z computation is not scheduled after fetestexcept.
40987 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40988 Use math_force_eval instead of asm to ensure calculation scheduled
40989 before exception test.
40990 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40991 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40992
efb73488
AJ
409932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40994
40995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40996 computation is not scheduled after fetestexcept.
40997
29bcce7c
L
409982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40999
41000 [BZ #14117]
41001 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41003
73a68f94
AZ
410042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41005
41006 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41007 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41008
67b6df78
L
410092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41010
edf2933a 41011 [BZ #14117]
ebc64a18
L
41012 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41013 <bits/wordsize.h>.
41014 (__WCHAR_MIN): Support __WORDSIZE == 64.
41015 (__WCHAR_MAX): Likewise.
41016
edf2933a
L
41017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41019
57c6cf40
L
41020 [BZ #14183]
41021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41022 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41023
67b6df78 41024 [BZ #14117]
8eb6281e
L
41025 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41026 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41027
aac639f4
L
41028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41029 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41030
67b6df78
L
41031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41032 Defined to 1 if __x86_64__ isn't defined.
41033 (_STAT_VER_LINUX_OLD): New.
41034 (st_atime): Remove duplicate.
41035 (st_mtime): Likewise.
41036 (st_ctime): Likewise.
41037
1c2cfe81
DM
410382012-05-31 David S. Miller <davem@davemloft.net>
41039
41040 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41041 entries.
41042
5be8418c
AS
410432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41044
e7725326
AS
41045 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41046 gen-libm-test.pl.
41047
5be8418c
AS
41048 [BZ #14132]
41049 * elf/dl-reloc.c: Include <_itoa.h>.
41050 (_dl_reloc_bad_type): Remove use of INTUSE.
41051 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41052 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41053 * stdio-common/psiginfo.c (psiginfo): Likewise.
41054 * stdio-common/psignal.c (psignal): Likewise.
41055 * string/strsignal.c (strsignal): Likewise.
41056 * include/signal.h (_sys_siglist): Declare hidden proto.
41057 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41058 INTVARDEF with libc_hidden_data_def.
41059 * stdio-common/itoa-udigits.c: Likewise.
41060 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41061 (_itoa_lower_digits_internal): Remove declaration.
41062 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41063 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41064 (_sys_sigabbrev_internal): Remove aliases.
41065 (_sys_siglist): Define hidden alias.
41066
507352f1
MT
410672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41068
41069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41070 bits/sysctl.h.
41071
42bbb1c3
L
410722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41073
41074 [BZ #14117]
6bd784b6
L
41075 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41076 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41077
8bca20f0
L
41078 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41079 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41080 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41081 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41083 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41084
f9e890a9
L
41085 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41087 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41088
471101a1
L
41089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41090 with __addr.
41091 (insw): Likewise.
41092 (insl): Likewise.
41093 (outsb): Likewise.
41094 (outsw): Likewise.
41095 (outsl): Likewise.
41096
6451c862
L
41097 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41099 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41100
a254b8c9
L
41101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41102 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41104 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41105 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41106 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41107
b8dfdd92
L
41108 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41109 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41110
578cd270
L
41111 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41112 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41113
de662f5f
L
41114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41116 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41117
25653439
L
41118 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41119 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41120 to ...
41121 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41122
6bad24a0
L
41123 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41124 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41125 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41126
42bbb1c3
L
41127 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41128 for x86-64.
41129 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41130
2d10d547
JM
411312012-05-31 Joseph Myers <joseph@codesourcery.com>
41132
41133 * math/math.h (M_El): Use two more decimal places.
41134 (M_LOG2El): Likewise.
41135 (M_LOG10El): Likewise.
41136 (M_LN2l): Likewise.
41137 (M_LN10l): Likewise.
41138 (M_PIl): Likewise.
41139 (M_PI_2l): Likewise.
41140 (M_PI_4l): Likewise.
41141 (M_1_PIl): Likewise.
41142 (M_2_PIl): Likewise.
41143 (M_2_SQRTPIl): Likewise.
41144 (M_SQRT2l): Likewise.
41145 (M_SQRT1_2l): Likewise.
41146
f230c29b
DM
411472012-05-31 David S. Miller <davem@davemloft.net>
41148
41149 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41150 values between float registers.
41151 * sysdeps/sparc/sparc64/memset.S: Likewise.
41152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41153
fed806c3
MF
411542012-05-31 Mike Frysinger <vapier@gentoo.org>
41155
41156 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41157 -D_FORTIFY_SOURCE=1.
41158 (CPPFLAGS-tst-longjmp_chk.c): Define.
41159 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41160 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41161 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41162 CFLAGS-tst-wchar-h.c.
41163
30917259
MP
411642012-05-31 Marek Polacek <polacek@redhat.com>
41165
41166 [BZ #14132]
41167 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41168 __endmntent_internal): Remove declaration.
41169 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41170 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41171 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41172
1c58d5dc
DM
411732012-05-30 David S. Miller <davem@davemloft.net>
41174
41175 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41176 (___Q_simulate_exceptions): Use real FP ops rather than writing
41177 into the %fsr.
41178 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41179 Likewise.
41180
7dc00e0d
L
411812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41182
41183 [BZ #14117]
0bd53985
L
41184 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41185 * sysdeps/x86/bits/xtitypes.h: This.
41186
3a257e66
L
41187 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41188 * sysdeps/x86/bits/wordsize.h: This.
41189
62f62904
L
41190 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41191 * sysdeps/x86/bits/huge_vall.h: This.
41192
404fe9d9
L
41193 * sysdeps/i386/bits/select.h: Removed.
41194 * sysdeps/x86_64/bits/select.h: Renamed to ...
41195 * sysdeps/x86/bits/select.h: This.
41196
d48d0446
L
41197 * sysdeps/i386/bits/setjmp.h: Removed.
41198 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41199 * sysdeps/x86/bits/setjmp.h: This.
41200
7dc00e0d
L
41201 * sysdeps/i386/bits/mathdef.h: Removed.
41202 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41203 * sysdeps/x86/bits/mathdef.h: This.
41204
03277f8f
AS
412052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41206
41207 [BZ #14132]
41208 * include/sys/socket.h (__connect_internal)
41209 (__libc_sa_len_internal): Remove declaration.
41210 (__connect, __libc_sa_len): Declare hidden_proto.
41211 (SA_LEN): Remove use of INTUSE.
41212 * socket/connect.c: Add libc_hidden_def.
41213 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41214 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41215 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41216 alias.
41217 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41219 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41220 of adding _internal alias.
41221
13764867
L
412222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41223
41224 [BZ #14117]
6bd97696
L
41225 * sysdeps/i386/bits/link.h: Removed.
41226 * sysdeps/i386/bits/linkmap.h: Likewise.
41227 * sysdeps/x86_64/bits/link.h: Renamed to ...
41228 * sysdeps/x86/bits/link.h: This.
41229 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41230 * sysdeps/x86/bits/linkmap.h: This.
41231
f726f0bb
L
41232 * sysdeps/i386/bits/endian.h: Removed.
41233 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41234 * sysdeps/x86/bits/endian.h: This.
41235
13764867
L
41236 * sysdeps/i386/bits/byteswap.h: Removed.
41237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41238 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41239 * sysdeps/x86/bits/byteswap.h: This.
41240 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41241 * sysdeps/x86/bits/byteswap-16.h: This.
41242 * sysdeps/i386/Implies: Add x86.
41243 * sysdeps/x86_64/Implies: Likewise.
41244
ae251b0b
DM
412452012-05-30 David S. Miller <davem@davemloft.net>
41246
41247 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41248 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41250 (FP_TRAPPING_EXCEPTIONS): Define.
41251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41252 (FP_TRAPPING_EXCEPTIONS): Define.
41253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41254 subnormals only when inexact has been signalled or underflow
41255 exceptions are enabled.
41256 (_FP_PACK_CANONICAL): Likewise.
41257
d5c90867
L
412582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41259
41260 [BZ #14183]
41261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41262 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41263
63f1549e
RH
412642012-05-30 Richard Henderson <rth@twiddle.net>
41265
8d8f2279
RH
41266 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41267 with #ifndef NOT_IN_libc.
41268
63f1549e
RH
41269 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41270 marked to avoid plt entry.
41271
0ab0291b
L
412722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41273
41274 [BZ #14112]
41275 * Makeconfig (default-abi): New macro.
41276 (abi-includes): Likewise.
41277 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41278 $(abi-$(default-abi)-lib-soname) for soname if defined.
41279 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41280 abi-variants.
41281 * Makefile (installed-stubs): Likewise.
41282 * include/stubs-biarch.h: Removed.
41283 * scripts/lib-names.awk: Only handle one library at a time.
41284 * scripts/soversions.awk: Remove WORDSIZE support.
41285 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41286 entries.
41287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41288 Removed.
41289 (syscall-list-default-condition): Likewise.
41290 (syscall-list-default-condition): Likewise.
41291 (syscall-list-includes): Likewise.
41292 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41293 syscall-list-* with abi-*. Handle undefined abi-variants.
41294 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41295 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41296 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41297 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41298 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41299 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41300 Removed.
41301 (syscall-list-32-options): Likewise.
41302 (syscall-list-32-condition): Likewise.
41303 (syscall-list-64-options): Likewise.
41304 (syscall-list-64-condition): Likewise.
41305 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41306 macro.
41307 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41308 Renamed to ...
41309 (abi-*): This.
41310 (abi-64-ld-soname): New macro.
41311 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41312 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41313 Renamed to ...
41314 (abi-*): This.
41315 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41316 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41317
4da0431d
JM
413182012-05-30 Joseph Myers <joseph@codesourcery.com>
41319
3a85279c
JM
41320 * sysdeps/unix/sysv/linux/kernel-features.h
41321 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41322 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41323 include <kernel-features.h>.
41324 [!__NR_ftruncate64]: Remove conditional code.
41325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41326 [__NR_ftruncate64]: Make code unconditional.
41327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41328 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41329 include <kernel-features.h>.
41330 [!__NR_ftruncate64]: Remove conditional code.
41331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41332 [__NR_ftruncate64]: Make code unconditional.
41333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41335 include <kernel-features.h>.
41336 [!__NR_ftruncate64]: Remove conditional code.
41337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41338 [__NR_ftruncate64]: Make code unconditional.
41339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41341 include <kernel-features.h>.
41342 [!__NR_ftruncate64]: Remove conditional code.
41343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41344 [__NR_ftruncate64]: Make code unconditional.
41345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41346
4da0431d
JM
41347 * configure.in (libc_cv_fpie): Weaken to a compile test using
41348 LIBC_TRY_CC_OPTION.
41349 * configure: Regenerated.
41350
11ef492c
AK
413512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41352
41353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41357 Refreshed.
41358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41364 Refreshed.
41365
d66ef399
DM
413662012-05-27 David S. Miller <davem@davemloft.net>
41367
41368 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41369 (___Q_zero): New.
41370 (__Q_simulate_exceptions): Return void. Change to simulate
41371 exceptions by writing into the %fsr.
41372 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41373 (__Qp_handle_exceptions): Likewise.
41374 (numbers): Delete.
41375 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41376 __Qp_handle_exceptions.
41377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41378 __Qp_handle_exceptions.
41379 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41380 as unused and give dummy FP_RND_NEAREST initializer.
41381 (FP_INHIBIT_RESULTS): Define.
41382 (___Q_simulate_exceptions): Update declaration.
41383 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41384 formatting.
41385 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41386 as unused and give dummy FP_RND_NEAREST initializer.
41387 (__Qp_handle_exceptions): Update declaration.
41388 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41389 formatting.
41390
04fb54b5
TS
413912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41392
41393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41394 the temporary FPU control word.
41395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41396 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41397 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41398 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41399 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41401 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41402 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41403 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41404 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41406
3f99608f
KK
414072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41408
41409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41410 fields.
41411
65a4de4e
CLT
414122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41413
41414 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41415 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41416 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41417 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41418 Likewise.
41419 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41420 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41421 Likewise.
41422
15749d40
UD
414232012-05-27 Ulrich Drepper <drepper@gmail.com>
41424
41425 * po/h.po: Update from translation team.
41426
25dbcb27
AS
414272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41428
3d3f8e55
AS
41429 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41430
25dbcb27
AS
41431 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41432 handling of denormals.
41433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41434 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41435 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41436 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41440 Likewise.
41441
7ad47a80 414422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41443
41444 [BZ #14152]
41445 * math/libm-test.inc (fma_test): Don't always expect underflow
41446 exception.
41447
9c6ea9fa
SP
414482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41449
41450 [BZ #12416]
41451 * elf/tst-execstack.c: Include stackinfo.h.
41452 (do_test): Adjust test case to ensure that pthread_getattr_np
41453 behaviour remains the same after marking stack executable.
41454
a8239222
JM
414552012-05-25 Joseph Myers <joseph@codesourcery.com>
41456
41457 * sysdeps/unix/sysv/linux/kernel-features.h
41458 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41459 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41460 kernel-features.h.
41461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41463 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41464 kernel-features.h.
41465 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41466 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41467
918b5606
L
414682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41469
41470 * configure.in: Define the default includes to being none.
41471 * configure: Regenerated.
41472
3a097cc7
RM
414732012-05-25 Roland McGrath <roland@hack.frob.com>
41474
8422c9a5
RM
41475 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41476 * sysdeps/x86_64/setjmp.S: Likewise.
41477 * sysdeps/i386/bsd-setjmp.S: Likewise.
41478 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41479 * sysdeps/i386/setjmp.S: Likewise.
41480 * sysdeps/i386/__longjmp.S: Likewise.
41481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41482 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41483
3a097cc7
RM
41484 * include/stap-probe.h: New file.
41485 * configure.in: Handle --enable-systemtap.
41486 * configure: Regenerated.
41487 * config.h.in (USE_STAP_PROBE): New #undef.
41488 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41489 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41490 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41491
21708942
JM
414922012-05-25 Joseph Myers <joseph@codesourcery.com>
41493
41494 [BZ #13717]
41495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41496 to 2.4.0 where earlier.
41497 * sysdeps/unix/sysv/linux/configure: Regenerated.
41498 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41499 <kernel-features.h>.
41500 [__ASSUME_32BITUIDS]: Make code unconditional.
41501 [!__ASSUME_32BITUIDS]: Remove conditional code.
41502 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41503 <kernel-features.h>.
41504 [__ASSUME_32BITUIDS]: Make code unconditional.
41505 [!__ASSUME_32BITUIDS]: Remove conditional code.
41506 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41507 [__ASSUME_32BITUIDS]: Make code unconditional.
41508 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41509 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41510 <kernel-features.h>.
41511 [__ASSUME_32BITUIDS]: Make code unconditional.
41512 [!__ASSUME_32BITUIDS]: Remove conditional code.
41513 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41514 <kernel-features.h>.
41515 [__ASSUME_32BITUIDS]: Make code unconditional.
41516 [!__ASSUME_32BITUIDS]: Remove conditional code.
41517 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41518 <kernel-features.h>.
41519 [__ASSUME_32BITUIDS]: Make code unconditional.
41520 [!__ASSUME_32BITUIDS]: Remove conditional code.
41521 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41522 <kernel-features.h>.
41523 [__ASSUME_32BITUIDS]: Make code unconditional.
41524 [!__ASSUME_32BITUIDS]: Remove conditional code.
41525 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41526 <kernel-features.h>.
41527 [__ASSUME_32BITUIDS]: Make code unconditional.
41528 [!__ASSUME_32BITUIDS]: Remove conditional code.
41529 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41530 <kernel-features.h>.
41531 [__ASSUME_32BITUIDS]: Make code unconditional.
41532 [!__ASSUME_32BITUIDS]: Remove conditional code.
41533 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41534 <kernel-features.h>.
41535 [__ASSUME_32BITUIDS]: Make code unconditional.
41536 [!__ASSUME_32BITUIDS]: Remove conditional code.
41537 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41538 <kernel-features.h>.
41539 [__ASSUME_32BITUIDS]: Make code unconditional.
41540 [!__ASSUME_32BITUIDS]: Remove conditional code.
41541 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41542 <kernel-features.h>.
41543 [__ASSUME_32BITUIDS]: Make code unconditional.
41544 [!__ASSUME_32BITUIDS]: Remove conditional code.
41545 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41546 <kernel-features.h>.
41547 [__ASSUME_32BITUIDS]: Make code unconditional.
41548 [!__ASSUME_32BITUIDS]: Remove conditional code.
41549 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41550 <kernel-features.h>.
41551 [__NR_setresgid] (__setresgid): Do not declare.
41552 [__ASSUME_32BITUIDS]: Make code unconditional.
41553 [!__ASSUME_32BITUIDS]: Remove conditional code.
41554 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41555 <kernel-features.h>.
41556 [__NR_setresuid] (__setresuid): Do not declare.
41557 [__ASSUME_32BITUIDS]: Make code unconditional.
41558 [!__ASSUME_32BITUIDS]: Remove conditional code.
41559 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41560 <kernel-features.h>.
41561 [__ASSUME_32BITUIDS]: Make code unconditional.
41562 [!__ASSUME_32BITUIDS]: Remove conditional code.
41563 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41564 <kernel-features.h>.
41565 [__ASSUME_32BITUIDS]: Make code unconditional.
41566 [!__ASSUME_32BITUIDS]: Remove conditional code.
41567 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41568 <kernel-features.h>.
41569 [__ASSUME_32BITUIDS]: Make code unconditional.
41570 [!__ASSUME_32BITUIDS]: Remove conditional code.
41571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41572 <kernel-features.h>.
41573 [__ASSUME_32BITUIDS]: Make code unconditional.
41574 [!__ASSUME_32BITUIDS]: Remove conditional code.
41575 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41576 <kernel-features.h>.
41577 [__ASSUME_32BITUIDS]: Make code unconditional.
41578 [!__ASSUME_32BITUIDS]: Remove conditional code.
41579 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41580 <kernel-features.h>.
41581 [__ASSUME_32BITUIDS]: Make code unconditional.
41582 [!__ASSUME_32BITUIDS]: Remove conditional code.
41583 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41584 <kernel-features.h>.
41585 [__ASSUME_32BITUIDS]: Make code unconditional.
41586 [!__ASSUME_32BITUIDS]: Remove conditional code.
41587 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41588 <kernel-features.h>.
41589 [__ASSUME_32BITUIDS]: Make code unconditional.
41590 [!__ASSUME_32BITUIDS]: Remove conditional code.
41591 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41592 <kernel-features.h>.
41593 [__ASSUME_32BITUIDS]: Make code unconditional.
41594 [!__ASSUME_32BITUIDS]: Remove conditional code.
41595 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41596 <kernel-features.h>.
41597 [__ASSUME_32BITUIDS]: Make code unconditional.
41598 [!__ASSUME_32BITUIDS]: Remove conditional code.
41599 * sysdeps/unix/sysv/linux/kernel-features.h
41600 (__ASSUME_SETRESUID_SYSCALL): Remove.
41601 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41602 (__ASSUME_32BITUIDS): Likewise.
41603 (__ASSUME_LDT_WORKS): Likewise.
41604 (__ASSUME_O_DIRECTORY): Likewise.
41605 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41606 architecture but not kernel version.
41607 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41608 (__ASSUME_MMAP2_SYSCALL): Likewise.
41609 (__ASSUME_STAT64_SYSCALL): Likewise.
41610 (__ASSUME_IPC64): Likewise.
41611 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41612 <kernel-features.h>.
41613 [__ASSUME_32BITUIDS]: Make code unconditional.
41614 [!__ASSUME_32BITUIDS]: Remove conditional code.
41615 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41616 <kernel-features.h>.
41617 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41618 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41619 132096]: Remove conditional code.
41620 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41621 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41622 <kernel-features.h>.
41623 [__ASSUME_32BITUIDS]: Make code unconditional.
41624 [!__ASSUME_32BITUIDS]: Remove conditional code.
41625 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41626 <kernel-features.h>.
41627 [__ASSUME_32BITUIDS]: Make code unconditional.
41628 [!__ASSUME_32BITUIDS]: Remove conditional code.
41629 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41630 <kernel-features.h>.
41631 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41632 unconditional.
41633 (__setresgid): Do not declare.
41634 [__ASSUME_32BITUIDS]: Make code unconditional.
41635 [!__ASSUME_32BITUIDS]: Remove conditional code.
41636 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41637 <kernel-features.h>.
41638 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41639 unconditional.
41640 (__setresuid): Do not declare.
41641 [__ASSUME_32BITUIDS]: Make code unconditional.
41642 [!__ASSUME_32BITUIDS]: Remove conditional code.
41643 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41644 <kernel-features.h>.
41645 [__ASSUME_32BITUIDS]: Make code unconditional.
41646 [!__ASSUME_32BITUIDS]: Remove conditional code.
41647 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41648 <kernel-features.h>.
41649 [__ASSUME_32BITUIDS]: Make code unconditional.
41650 [!__ASSUME_32BITUIDS]: Remove conditional code.
41651
a386f1cc
RH
416522012-05-25 Richard Henderson <rth@twiddle.net>
41653
41654 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41655 dl_hwcap to ifunc resolver.
41656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41657 elf_ifunc_invoke.
41658 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41659 dl_hwcap to ifunc resolver.
41660 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41661
b6550497
JM
416622012-05-24 Joseph Myers <joseph@codesourcery.com>
41663
41664 [BZ #14153]
41665 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41666 for |x| <= 2**-26, not 2**-57.
41667 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41668 exception.
41669
b0bc23a1
JL
416702012-05-24 Jeff Law <law@redhat.com>
41671
41672 * stdio-common/Makefile (tests): Add bug25.
41673 * stdio-common/bug25.c: New test.
41674
347c92e9
L
416752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41676
41677 [BZ #13576]
41678 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41679 multiple of MALLOC_ALIGNMENT in size.
41680 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41681
6bcc8b3f
JM
416822012-05-24 Joseph Myers <joseph@codesourcery.com>
41683
41684 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41685 Require >= 256.
41686 (FILENAME_MAX): Use macro-int-constant.
41687 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41688 (_IOFBF): Use macro-int-constant.
41689 (_IOLBF): Likewise.
41690 (_IONBF): Likewise.
41691 (SEEK_CUR): Likewise.
41692 (SEEK_END): Likewise.
41693 (SEEK_SET): Likewise.
41694 (TMP_MAX): Likewise.
41695 (EOF): Use macro-int-constant. Require < 0.
41696 (NULL): Use macro-constant. Require == 0.
41697 (stdin): Require type to be FILE *.
41698 (stdout): Likewise.
41699 (stderr): Likewise.
41700 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41701 macro-int-constant.
41702 (EXIT_SUCCESS): Likewise.
41703 (NULL): Use macro-constant. Require == 0.
41704 (RAND_MAX): Use macro-int-constant.
41705 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41706 [C99-based standards] (strtof): Require function.
41707 [C99-based standards] (strtold): Likewise.
41708 [C99-based standards] (strtoll): Likewise.
41709 [C99-based standards] (strtoull): Likewise.
41710 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41711 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41712 [ISO || ISO99 || ISO11] (math.h): Likewise.
41713 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41716
d18ea0c5
AS
417172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41718
41719 [BZ #14132]
56d25bb8
AS
41720 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41721 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41722 * intl/dgettext.c (DCGETTEXT): Likewise.
41723 * intl/gettext.c (DCGETTEXT): Likewise.
41724 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41725 * posix/regex_internal.h (gettext): Likewise.
41726 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41727 Remove declaration.
41728 * include/argz.h (__argz_count_internal)
41729 (__argz_stringify_internal): Remove declaration.
41730 (__argz_count, __argz_stringify): Declare hidden proto.
41731 * intl/dcgettext.c: Remove use of INTDEF.
41732 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41733 * string/argz-stringify.c: Likewise.
41734 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41735 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41736 Declare hidden proto.
d18ea0c5
AS
41737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41739 Declare hidden proto.
41740 * include/stdio.h (__asprintf_internal): Don't declare.
41741 (__asprintf): Don't define as macro. Declare hidden proto.
41742 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41743 (__fsetlocking): Declare hidden proto.
41744 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41745 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41746 hidden proto.
41747 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41748 (_IO_setlinebuf): Remove use of INTUSE.
41749 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41750 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41751 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41752 Remove declaration.
41753 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41754 (_IO_do_flush): Remove use of INTUSE.
41755 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41756 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41757 (_IO_adjust_column, _IO_least_wmarker)
41758 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41759 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41760 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41761 (_IO_default_doallocate, _IO_wdefault_doallocate)
41762 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41763 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41764 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41765 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41766 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41767 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41768 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41769 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41770 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41771 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41772 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41773 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41774 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41775 proto.
41776 (_IO_flush_all_internal, _IO_adjust_column_internal)
41777 (_IO_default_uflow_internal, _IO_default_finish_internal)
41778 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41779 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41780 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41781 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41782 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41783 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41784 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41785 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41786 (_IO_file_close_internal, _IO_file_close_it_internal)
41787 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41788 (_IO_file_init_internal, _IO_file_attach_internal)
41789 (_IO_file_fopen_internal, _IO_file_read_internal)
41790 (_IO_file_sync_internal, _IO_file_seek_internal)
41791 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41792 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41793 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41794 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41795 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41796 (_IO_list_all_internal, _IO_link_in_internal)
41797 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41798 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41799 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41800 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41801 (_IO_do_write_internal, _IO_padn_internal)
41802 (_IO_getline_info_internal, _IO_getline_internal)
41803 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41804 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41805 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41806 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41807 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41808 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41809 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41810 with libc_hidden_ver, remove use of INTUSE.
41811 * libio/genops.c: Likewise.
41812 * libio/freopen.c: Likewise.
41813 * libio/freopen64.c: Likewise.
41814 * libio/iofclose.c: Likewise.
41815 * libio/iofdopen.c: Likewise.
41816 * libio/iofflush.c: Likewise.
41817 * libio/iofflush_u.c: Likewise.
41818 * libio/iofgets.c: Likewise.
41819 * libio/iofgets_u.c: Likewise.
41820 * libio/iofopen.c: Likewise.
41821 * libio/iofopncook.c: Likewise.
41822 * libio/iofread.c: Likewise.
41823 * libio/iofread_u.c: Likewise.
41824 * libio/ioftell.c: Likewise.
41825 * libio/iofwrite.c: Likewise.
41826 * libio/iogetline.c: Likewise.
41827 * libio/iogets.c: Likewise.
41828 * libio/iogetwline.c: Likewise.
41829 * libio/iopadn.c: Likewise.
41830 * libio/iopopen.c: Likewise.
41831 * libio/ioseekoff.c: Likewise.
41832 * libio/ioseekpos.c: Likewise.
41833 * libio/iosetbuffer.c: Likewise.
41834 * libio/iosetvbuf.c: Likewise.
41835 * libio/ioungetc.c: Likewise.
41836 * libio/ioungetwc.c: Likewise.
41837 * libio/iovdprintf.c: Likewise.
41838 * libio/iovsprintf.c: Likewise.
41839 * libio/iovsscanf.c: Likewise.
41840 * libio/memstream.c: Likewise.
41841 * libio/obprintf.c: Likewise.
41842 * libio/oldfileops.c: Likewise.
41843 * libio/oldiofclose.c: Likewise.
41844 * libio/oldiofdopen.c: Likewise.
41845 * libio/oldiofopen.c: Likewise.
41846 * libio/oldiopopen.c: Likewise.
41847 * libio/oldstdfiles.c: Likewise.
41848 * libio/putc.c: Likewise.
41849 * libio/setbuf.c: Likewise.
41850 * libio/setlinebuf.c: Likewise.
41851 * libio/stdfiles.c: Likewise.
41852 * libio/strops.c: Likewise.
41853 * libio/vasprintf.c: Likewise.
41854 * libio/vscanf.c: Likewise.
41855 * libio/vsnprintf.c: Likewise.
41856 * libio/vswprintf.c: Likewise.
41857 * libio/wfiledoalloc.c: Likewise.
41858 * libio/wfileops.c: Likewise.
41859 * libio/wgenops.c: Likewise.
41860 * libio/wmemstream.c: Likewise.
41861 * libio/wstrops.c: Likewise.
41862 * libio/__fpurge.c: Likewise.
41863 * libio/__fsetlocking.c: Likewise.
41864 * assert/assert.c: Likewise.
41865 * debug/fgets_chk.c: Likewise.
41866 * debug/fgets_u_chk.c: Likewise.
41867 * debug/fread_chk.c: Likewise.
41868 * debug/fread_u_chk.c: Likewise.
41869 * debug/gets_chk.c: Likewise.
41870 * debug/obprintf_chk.c: Likewise.
41871 * debug/vasprintf_chk.c: Likewise.
41872 * debug/vdprintf_chk.c: Likewise.
41873 * debug/vsnprintf_chk.c: Likewise.
41874 * debug/vsprintf_chk.c: Likewise.
41875 * malloc/mtrace.c: Likewise.
41876 * misc/error.c: Likewise.
41877 * misc/syslog.c: Likewise.
41878 * stdio-common/asprintf.c: Likewise.
41879 * stdio-common/fxprintf.c: Likewise.
41880 * stdio-common/getw.c: Likewise.
41881 * stdio-common/isoc99_fscanf.c: Likewise.
41882 * stdio-common/isoc99_scanf.c: Likewise.
41883 * stdio-common/isoc99_vfscanf.c: Likewise.
41884 * stdio-common/isoc99_vscanf.c: Likewise.
41885 * stdio-common/isoc99_vsscanf.c: Likewise.
41886 * stdio-common/printf-prs.c: Likewise.
41887 * stdio-common/printf_fp.c: Likewise.
41888 * stdio-common/printf_fphex.c: Likewise.
41889 * stdio-common/printf_size.c: Likewise.
41890 * stdio-common/putw.c: Likewise.
41891 * stdio-common/scanf.c: Likewise.
41892 * stdio-common/sprintf.c: Likewise.
41893 * stdio-common/tmpfile.c: Likewise.
41894 * stdio-common/vfprintf.c: Likewise.
41895 * stdio-common/vfscanf.c: Likewise.
41896 * stdlib/strfmon_l.c: Likewise.
41897 * sunrpc/openchild.c: Likewise.
41898 * sunrpc/xdr_stdio.c: Likewise.
41899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41900 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41901
d6c33fda
RM
419022012-05-24 Roland McGrath <roland@hack.frob.com>
41903
c1487492
RM
41904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41905
41906 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41907 in the third column, to generate for the shared library an IFUNC
41908 that uses _dl_vdso_vsym.
41909 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41910 * Makeconfig (object-suffixes-noshared): New variable.
41911
41912 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41913 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41914 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41915 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41916
d6c33fda
RM
41917 [BZ #14132]
41918 * include/sys/time.h (__gettimeofday): Remove macro.
41919 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41920 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41921 Remove INTDEF.
41922 (__gettimeofday): Add libc_hidden_def.
41923 (gettimeofday): Add libc_hidden_weak.
41924 * sysdeps/mach/gettimeofday.c: Likewise.
41925 * sysdeps/posix/gettimeofday.c: Likewise.
41926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41927 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41929 (__gettimeofday_internal): Remove strong_alias.
41930 (__gettimeofday): Add libc_hidden_def.
41931 (gettimeofday): Add libc_hidden_weak.
41932 * sysdeps/unix/syscalls.list (gettimeofday):
41933 Remove __gettimeofday_internal alias.
41934
b5a2bbe6
L
419352012-05-24 Daniel Jacobowitz <drow@false.org>
41936 H.J. Lu <hongjiu.lu@intel.com>
41937
41938 [BZ #12495]
41939 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41940 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41941 (largebin_index_32_big): New.
41942 (largebin_index): Use it for 16-byte alignment.
41943 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41944 correction with front_misalign.
41945
cfba4fda
L
419462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41947
7f907421
L
41948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41950 Likewise.
41951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41952 Likewise.
41953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41954 Likewise.
41955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41956 Likewise.
41957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41958 Likewise.
41959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41960 Likewise.
41961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41962 Likewise.
41963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41964 Likewise.
41965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41966 Likewise.
41967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41968 Likewise.
41969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41970 Likewise.
41971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41972 Likewise.
41973
cfba4fda
L
41974 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41975 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41976
80bad0cc
JM
419772012-05-24 Joseph Myers <joseph@codesourcery.com>
41978
7a25eb06
JM
41979 [BZ #10846]
41980 [BZ #14036]
41981 * math/libm-test.inc (exp_test): Add test from bug 14036.
41982 (pow_test): Add test from bug 10846.
41983
795405f9
JM
41984 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41985 and other flags.
41986 (special_function): Do not include flags in test name.
41987 (parse_args): Likewise.
41988 * sysdeps/i386/fpu/libm-test-ulps: Update.
41989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41990 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41991 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41993
80bad0cc
JM
41994 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41995 exceptions.
41996 * math/libm-test.inc ("Philosophy"): Update comment about
41997 exception testing.
41998 (UNDERFLOW_EXCEPTION): New macro.
41999 (UNDERFLOW_EXCEPTION_OK): Likewise.
42000 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42001 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42002 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42003 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42004 (INVALID_EXCEPTION_OK): Update value.
42005 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42006 (OVERFLOW_EXCEPTION_OK): Likewise.
42007 (IGNORE_ZERO_INF_SIGN): Likewise.
42008 (test_exceptions): Handle underflow exceptions.
42009 (acos_test): Update for underflow exception expectations.
42010 (cexp_test): Likewise.
42011 (clog_test): Likewise.
42012 (clog10_test): Likewise.
42013 (csqrt_test): Likewise.
42014 (ctan_test): Likewise.
42015 (ctanh_test): Likewise.
42016 (exp_test): Likewise.
42017 (exp10_test): Likewise.
42018 (exp2_test): Likewise.
42019 (expm1_test): Likewise.
42020 (fma_test): Likewise.
42021 (j0_test): Likewise.
42022 (jn_test): Likewise.
42023 (nexttoward_test): Likewise.
42024 (pow_test): Likewise.
42025 (scalbn_test): Likewise.
42026 (scalbln_test): Likewise.
42027 (tan_test): Likewise.
42028 (y1_test): Likewise.
42029 * sysdeps/i386/fpu/libm-test-ulps: Update.
42030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42031
9e0e3d0b
DM
420322012-05-23 David S. Miller <davem@davemloft.net>
42033
42034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42035 (__libc_sigaction): Remove unused local variables.
42036
ccd0a08f
L
420372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42038
42039 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42040
62bdf9a6
PE
420412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42042
f8591f80
PE
42043 mktime: avoid signed integer overflow
42044 * time/mktime.c (__mktime_internal): Do not mishandle the case
42045 where diff == INT_MIN.
42046
94c7d826
PE
42047 mktime: simplify computation of average
42048 * time/mktime.c (ranged_convert): Use new time_t_avg function
42049 instead of rolling our own (probably-slower) code.
42050
ce73d683
PE
42051 mktime: do not assume signed right shift propagates sign bit
42052 * time/mktime.c (isdst_differ): New static function.
42053 (__mktime_internal): No need to normalize tm_isdst now.
42054 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42055 tm_isdst values.
42056
72a22e59
PE
42057 mktime: merge another wrapv change from gnulib
42058 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42059 from some compilers.
42060
68605433
PE
42061 mktime: remove incorrect attempt at unusual arithmetics
42062 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42063 The code didn't really work on such machines anyway.
42064 (TYPE_MINIMUM): Assume two's complement.
42065 (twos_complement_arithmetic): Verify that long_int and time_t
42066 are two's complement (or unsigned, in the latter case).
42067
03cf7fe3
PE
42068 mktime: check signed shifts on long_int and time_t, too
42069 * time/mktime.c (SHR): Check that shifts work as desired
42070 on the types long_int and time_t too, as SHR is used on
42071 such types.
42072
f04dfbc2
PE
42073 mktime: do not assume 'long' is wide enough
42074 * time/mktime.c (verify): Move decl up.
42075 (long_int): New type.
42076 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42077 to remove assumption in the code that 'long' is wide enough to
42078 store year values. This assumption is not true on x32 and on
42079 some non-glibc platforms.
42080
62bdf9a6
PE
42081 mktime: merge wrapv change from gnulib
42082 * time/mktime.c (WRAPV): New macro.
42083 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42084 (guess_time_tm, __mktime_internal): Do not assume that signed
42085 integer overflow wraps around; modern compilers generate code
42086 where this assumption is no longer valid.
42087
5e292e4f
L
420882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42089
42090 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42091 Replace "jmp L(pseudo_end)" with "ret".
42092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42093 Likewise.
42094
8caf8c87
AJ
420952012-05-23 Andreas Jaeger <aj@suse.de>
42096
42097 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42098 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42099
1a09dc56
AJ
421002012-05-23 Andreas Jaeger <aj@suse.de>
42101 Maximilian Attems <max@stro.at>
42102
42103 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42104 New macros.
42105
1c87aba0
L
421062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42107
42108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42109 code so that pseudo_end is just ret and the stack pointer is
42110 correct also for static library in error case.
42111
40e45bd5
JM
421122012-05-23 Joseph Myers <joseph@codesourcery.com>
42113
c2670533
JM
42114 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42115 move to syscalls.list.
42116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42120
40e45bd5
JM
42121 * manual/install.texi (Running make install): Do not mention Linux
42122 kernel version for which pt_chown is not needed.
42123 (Linux): Do not mention problems with nscd with 2.0 kernels.
42124 * INSTALL: Regenerated.
42125
be08eda5
AJ
421262012-05-23 Andreas Jaeger <aj@suse.de>
42127
42128 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42129 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42130 macro.
42131 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42133 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42135 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42141 * sysdeps/unix/sysv/linux/bits/in.h
42142 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42143
a6a056bb
RM
421442012-05-22 Roland McGrath <roland@hack.frob.com>
42145
42146 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42147 (PREPARE_VERSION): Just use assert instead, it will be elided
42148 under [NDEBUG] anyway.
42149
c9009328
L
421502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42151
42152 * sysdeps/unix/sysv/linux/Makefile: Include
42153 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42154 (sysdep_routines): Remove sysctl.
c9009328
L
42155 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42156 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42157 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42158 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42159 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42160
73338355
AJ
421612012-05-22 Andreas Jaeger <aj@suse.de>
42162
42163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42164 that pseudo_end is just ret and the stack pointer is correct also
42165 for static library in error case.
42166
d44638b0
PP
421672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42168
42169 [BZ #14122]
42170 * nss/nsswitch.c (defconfig_entries): New variable.
42171 (__nss_database_lookup): Don't leak defconfig entries.
42172 (nss_parse_service_list): Don't leak on error paths.
42173 (free_database_entries): New function.
42174 (free_defconfig): New function.
42175 (free_mem): Move common code to free_database_entries.
42176
31a39bd8
L
421772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42178
da0331a8
L
42179 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42180 Add arch_prctl.
42181 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42182
31a39bd8
L
42183 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42184 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42186 New macro.
42187 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42188 (INTERNAL_SYSCALL_TYPES): Likewise.
42189 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42190 (LOAD_REGS_TYPES_[1-6]): Likewise.
42191 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42192 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42193
45470df3
AZ
421942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42195
42196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42197 copysignl for GLIBC_2_0.
42198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42199 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42201 logbl for GLIBC_2_0.
42202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42203 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42204
98a61bcb
L
422052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42206
a4f6e481
L
42207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42208 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42209
f63d5db6
L
42210 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42211 Use "neg %eax".
42212
98a61bcb
L
42213 * time/mktime.c: Update copyright years.
42214
95770f14
PE
422152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42216
6226efbd
PE
42217 mktime: merge comment-quoting-style change from gnulib
42218 * time/mktime.c: Quote 'like this' in comments.
42219 The GNU coding standards suggest that we no longer quote `like this',
42220 as "`" and "'" are typically rendered asymmetrically nowadays.
42221 The typical gnulib style is to quote 'like this' when quoting
42222 code, and "like this" when quoting English.
42223
b99e4f78
PE
42224 * time/mktime.c (compile-command): Add "-I.".
42225
643e01e6
PE
42226 mktime: merge mktime-internal.h change from gnulib
42227 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42228
2554247d
PE
42229 mktime: merge time_r change from gnulib
42230 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42231
826dd0ab
PE
42232 mktime: merge DEBUG change from gnulib
42233 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42234 case system <time.h> has a #define.
42235
bd83aabe
PE
42236 mktime: merge <sys/types.h> change from gnulib
42237 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42238 since <time.t> is now guaranteed to define time_t.
42239
95770f14
PE
42240 mktime: merge HAVE_CONFIG_H change from gnulib
42241 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42242
5e1a27a9
L
422432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42244
0e44a77e
L
42245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42246 Use "neg %eax".
42247
5e1a27a9
L
42248 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42249 __rlim_t cast.
42250 (struct rusage): Use anonymous union to pad each field to
42251 __syscall_slong_t.
42252
46259bec
DM
422532012-05-21 David S. Miller <davem@davemloft.net>
42254
42255 * Makefules (o-iterator): Remove .s cases.
42256 (compile-command.s): Delete.
42257 (COMPILE.s): Delete.
42258 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42259
59f0c22e
JM
422602012-05-21 Joseph Myers <joseph@codesourcery.com>
42261
42262 * configure.in (libc_cv_predef_stack_protector): Only consider
42263 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42264 * configure: Regenerated.
42265
20c07380
L
422662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42267
bbb3154b
L
42268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42269 New macro. Use R*LP on int and pointer.
42270 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42271 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42272 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42273 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42274
20c07380
L
42275 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42276 [__WORDSIZE_TIME64_COMPAT32] instead of
42277 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42278 (struct utmp): Likewise.
42279 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42280 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42281 Renamed to ...
42282 (__WORDSIZE_TIME64_COMPAT32): This.
42283 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42284 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42285 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42286 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42287 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42288 (__WORDSIZE_TIME64_COMPAT32): New macro.
42289
d8d1017e
AJ
422902012-05-21 Andreas Jaeger <aj@suse.de>
42291
42292 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42293 only if [SHARED]. Add prototype for __wcschr_ia32.
42294
6c7fb145
RM
422952012-05-21 Roland McGrath <roland@hack.frob.com>
42296
42297 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42298 of %rbp unmolested in the jmp_buf while mangling the low bits.
42299 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42300 unmolested high bits of %rbp while demangling the low bits.
42301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42302
66274218
AJ
423032012-05-21 Andreas Jaeger <aj@suse.de>
42304
07c58f8f
AJ
42305 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42306 * sunrpc/svc_simple.c: Use it for registerrpc.
42307 * sunrpc/xcrypt.c: Use it for passwd2des.
42308
66274218
AJ
42309 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42310
61f65140
L
423112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42312
42313 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42314 Don't define if [__SYSCALL_WORDSIZE != 32].
42315 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42316 New macro.
42317
5fefb436
AJ
423182012-05-21 Bruno Haible <bruno@clisp.org>
42319 Andreas Jaeger <aj@suse.de>
42320
42321 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42322 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42323 inptr and inend for must_buffer_ch.
42324 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42325 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42326 * stdio-common/Makefile (tests): Remove bug15.
42327 (bug15-ENV): Remove macro.
42328 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42329 anymore.
42330
d8e272ab
AJ
423312012-05-19 Andreas Jaeger <aj@suse.de>
42332 Roland McGrath <roland@hack.frob.com>
42333
42334 * manual/contrib.texi: Completely rewritten. It contains now an
42335 alphabetical list of contributors and their contributions.
42336
4a56a162
RH
423372012-05-21 Richard Henderson <rth@twiddle.net>
42338
42339 * misc/getauxval.c (__getauxval): Use unsigned long int.
42340 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42341 (getauxval): Use unsigned long int.
42342
d024d23c
L
423432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42344
42345 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42346
cbc00a03
RM
423472012-05-21 Roland McGrath <roland@hack.frob.com>
42348
42349 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42350 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42351 __alignof__ (long double).
42352
478143fa
AZ
423532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42354
42355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42356
c7683a6d
RH
423572012-05-20 Richard Henderson <rth@twiddle.net>
42358
42359 * misc/getauxval.c: New file.
42360 * misc/sys/auxv.h: New file.
42361 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42362 (routines): Add getauxval.
42363 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42364 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42365 * elf/dl-sysdep.c (_dl_auxv): Remove.
42366 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42367 * elf/dl-support.c (_dl_auxv): New variable.
42368 (_dl_aux_init): Initialize it.
42369 * manual/startup.texi (Auxiliary Vector): New node.
42370 * sysdeps/generic/bits/hwcap.h: New file.
42371 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42372 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42373 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42374 * sysdeps/sparc/sysdep.h: ... here. Include it.
42375 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42378 Update.
c7683a6d
RH
42379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42387
a6f1845d
AZ
423882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42389
42390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42391
cbcbe830
DM
423922012-05-19 David S. Miller <davem@davemloft.net>
42393
42394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42395
e0b16cc2
JM
423962012-05-19 Joseph Myers <joseph@codesourcery.com>
42397
42398 [BZ #14123]
42399 * math/s_ccosh.c: Include <float.h>
42400 (__ccosh): Avoid internal overflow calculating sinh and cosh
42401 values before multiplying by sin and cos values.
42402 * math/s_ccoshf.c: Likewise.
42403 * math/s_ccoshl.c: Likewise.
42404 * math/s_csin.c: Likewise.
42405 * math/s_csinf.c: Likewise.
42406 * math/s_csinl.c: Likewise.
42407 * math/s_csinh.c: Likewise.
42408 * math/s_csinhf.c: Likewise.
42409 * math/s_csinhl.c: Likewise.
42410 * math/libm-test.inc (ccos_test): Add more tests.
42411 (ccosh_test): Likewise.
42412 (csin_test): Likewise.
42413 (csinh_test): Likewise.
42414 * sysdeps/i386/fpu/libm-test-ulps: Update.
42415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42416
6ad13e08
L
424172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42418
f66f0ce8
L
42419 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42420 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42421
6ad13e08
L
42422 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42423
b1d072a7
JM
424242012-05-19 Joseph Myers <joseph@codesourcery.com>
42425
42426 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42427 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42428 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42429 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42430 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42431 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42432 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42433 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42434 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42435 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42436 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42437 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42438 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42439 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42440 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42441 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42442 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42443 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42444 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42445 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42446 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42447 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42448 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42449 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42450 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42451 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42452 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42453 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42454 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42455 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42456 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42457
9eae47cb
AJ
424582012-05-18 Andreas Jaeger <aj@suse.de>
42459
42460 * csu/.gitignore: Delete.
42461
bb07f69f
L
424622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42463
42464 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42465 (timex): Use __syscall_slong_t.
42466
e6bdb741
AJ
424672012-05-18 Andreas Jaeger <aj@suse.de>
42468 Carlos O'Donell <carlos_odonell@mentor.com>
42469
42470 * manual/install.texi (Configuring and compiling): Update
42471 description about files modified in the source directory.
d6c33fda 42472 * INSTALL: Regenerated.
e6bdb741 42473
1b74487e
L
424742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42475
42476 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42477 value. Use "or" to set return value to -1.
42478 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42479 negate return value.
42480
a88b64b9
TMQMF
424812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42482
57f41c40
AS
42483 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42484 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42485 failure if the compiler has Graphite support disabled.
42486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42487 Likewise.
57f41c40
AS
42488 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42489 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42490 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42491 Likewise.
42492
3707636e
L
424932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42494
610b8622
L
42495 * sysdeps/x86_64/x32/_itoa.h: New file.
42496
7cd195df
L
42497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42498 getdents system call only if kernel and user dirents have the
42499 same d_ino and d_off.
42500
94b07d20
L
42501 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42502 LLONG_MAX != LONG_MAX.
42503 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42504 (_fitoa_word): Likewise.
42505
18298070
L
42506 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42507 years.
42508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42509 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42510 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42511
553c7ea4
L
42512 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42513 include <bits/wordsize.h>. Check __x86_64__ instead of
42514 __WORDSIZE.
42515 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42516 if __x86_64__ is defined. Use anonymous union on fpstate.
42517
3707636e
L
42518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42519 anonymous union.
42520
b53ef01a
AS
425212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42522
37fb1dc0
AS
42523 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42524 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42526 Refer to _rtld_local_ro instead of _rtld_global_ro.
42527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42528 Likewise.
42529 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42530 Likewise.
42531 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42532 Likewise.
42533 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42534 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42535 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42536
b53ef01a
AS
42537 * sysdeps/powerpc/powerpc32/dl-machine.c
42538 (__elf_machine_runtime_setup) [PROF]: Don't reference
42539 _dl_prof_resolve.
42540
7a185db2
AJ
425412012-05-18 Andreas Jaeger <aj@suse.de>
42542
42543 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42544 function only available for GCCs before 3.4 since GCC 3.4
42545 introduced a builtin.
42546 (lrint): Likewise.
42547 (llrintf): Likewise.
42548 (llrint): Likewise.
42549 (fmaxf): Likewise.
42550 (fmax): Likewise.
42551 (fminf): Likewise.
42552 (fmin): Likewise.
42553 (rint): Likewise.
42554 (rintf): Likewise.
42555 (nearbyint): Likewise.
42556 (nearbyintf): Likewise.
42557 (ceil): Likewise.
42558 (ceilf): Likewise.
42559 (floor): Likewise.
42560 (floorf): Likewise.
42561
3e5aef87
L
425622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42563
428bd707
L
42564 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42565 on both fields and cast pointer to __syscall_ulong_t.
42566
3e5aef87
L
42567 * bits/types.h (__fsword_t): New type.
42568 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42569 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42571 (__FSWORD_T_TYPE): Likewise.
42572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42573 (__FSWORD_T_TYPE): Likewise.
42574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42575 (__FSWORD_T_TYPE): Likewise.
42576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42577 (__FSWORD_T_TYPE): Likewise.
42578 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42579 __SWORD_TYPE with __fsword_t.
42580 (statfs64): Likewise.
42581
1ba7c3dc
DM
425822012-05-17 David S. Miller <davem@davemloft.net>
42583
42584 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42585
59910343
AJ
425862012-05-17 Andreas Jaeger <aj@suse.de>
42587
42588 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42589 warning.
42590
2e4c1e9e
L
425912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42592
42593 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42594
de7f5ce7
AJ
425952012-05-17 Andreas Jaeger <aj@suse.de>
42596
42597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42598 when it is used.
42599
286abc3d
CM
426002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42601
42602 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42603
477cc68e
L
426042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42605
42606 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42607 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42608
1a0994f5
CD
426092012-05-17 Andreas Jaeger <aj@suse.de>
42610 Carlos O'Donell <carlos_odonell@mentor.com>
42611
42612 [BZ #14059]
42613 * sysdeps/x86_64/multiarch/init-arch.h
42614 (bit_YMM_Usable): Rename to...
42615 (bit_AVX_Usable): ... this.
42616 (bit_FMA4_Usable): New macro.
42617 (bit_XMM_state): New macro.
42618 (bit_YMM_state): New macro.
42619 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42620 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42621 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42622 (CPUID_OSXSAVE): New macro.
42623 (CPUID_AVX): New macro.
42624 (CPUID_FMA4): New macro.
42625 (index_YMM_Usable): Rename to...
42626 (index_AVX_Usable): ... this.
42627 (HAS_AVX): Use HAS_ARCH_FEATURE.
42628 (HAS_FMA4): Likewise.
42629 (HAS_YMM_USABLE): Remove.
42630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42631 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42632 are present.
42633 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42634 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42635 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42636 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42637 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42638
0af797de
CM
426392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42640
42641 * math/libm-test.c: Support platforms without multiple rounding modes.
42642 * math/bug-nextafter.c: Support platforms without FP exceptions.
42643 * math/bug-nexttoward.c: Likewise.
42644 * math/test-fenv.c: Likewise.
42645 * math/test-misc.c: Likewise.
42646 * stdlib/bug-getcontext.c: Likewise.
42647
e39745ff
AJ
426482012-05-17 Andreas Jaeger <aj@suse.de>
42649
42650 * manual/examples/search.c (critter_cmp): Change signature to
42651 avoid warnings.
42652 * manual/string.texi (Collation Functions): Likewise.
42653
48970aba
L
426542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42655
42656 * bits/types.h: Fold copyright years.
42657 * bits/typesizes.h: Likewise.
42658 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42662 * time/time.h: Likewise.
42663
bedee953
PP
426642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42665
42666 [BZ #208]
42667 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42668 in instead of returning them. Return void.
42669 (__libc_mallinfo): Accumulate over all arenas.
42670 (__malloc_stats): Adjust for change in int_mallinfo interface.
42671
61653dfb
RM
426722012-05-16 Roland McGrath <roland@hack.frob.com>
42673
30b99d79
RM
42674 [BZ #10375]
42675 * configure.in (NM): Add AC_CHECK_TOOL for it.
42676 (libc_extra_cflags): New substituted variable.
42677 Check for -fstack-protector being used implicitly.
42678 * configure: Regenerated.
42679 * config.make.in (config-extra-cflags): New variable,
42680 gets @libc_extra_cflags@.
42681 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42682
61653dfb
RM
42683 [BZ #10375]
42684 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42685 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42686 * configure: Regenerated.
42687 * config.make.in (CPPUNDEFS): New substituted variable.
42688 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42689 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42690 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42691
661768bb
L
426922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42693
42694 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42695 (mq_attr): Use __syscall_slong_t.
42696
d4261567
L
426972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42698
42699 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42700 Check __x86_64__ instead of __WORDSIZE.
42701 (_STAT_VER_LINUX): Likewise.
42702 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42703 __syscall_ulong_t and __syscall_slong_t.
42704 (stat64): Likewise.
42705
cf3ff365
L
427062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42707
42708 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42709
76cf3e4d
L
427102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42711
42712 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42713
a637753a
L
427142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42715
42716 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42717 __syscall_ulong_t.
42718
d5e05119
L
42719 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42720 include <bits/wordsize.h>. Check __x86_64__ instead of
42721 __WORDSIZE.
42722 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42723 defined.
42724 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42725
f62ee380
L
42726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42727 include <bits/wordsize.h>. Check __x86_64__ instead of
42728 __WORDSIZE.
42729 (user_regs_struct): Use "__extension__ unsigned long long"
42730 instead of "unsigned long" if __x86_64__ is defined.
42731 (user): Likewise. Pad after pointer field if __ILP32__ is
42732 defined.
42733
4e124ced
JM
427342012-05-16 Joseph Myers <joseph@codesourcery.com>
42735
6a3951a0
JM
42736 * configure.in (makeinfo): Require version 4.5 or later. Allow
42737 versions 5 to 9.
42738 * configure: Regenerated.
42739 * manual/install.texi (texinfo): Increase version requirement to
42740 4.5 or later.
42741 * INSTALL: Regenerated.
42742
4e124ced
JM
42743 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42744
953ca31a
L
427452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42746
42747 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42748
617aca05
L
42749 * sysdeps/x86_64/x32/ffs.c: New file.
42750
5762f7ae
L
42751 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42752 __syscall_ulong_t.
42753 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42754 defined. Use __syscall_ulong_t.
42755 (shminfo): Use __syscall_ulong_t.
42756 (shm_info): Likewise.
42757
a26b6856
L
42758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42759 __syscall_ulong_t.
42760
cb2b9ef7
L
42761 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42762 <bits/wordsize.h>.
42763 (msgqnum_t): Use __syscall_ulong_t.
42764 (msglen_t): Likewise.
42765 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42766 __syscall_ulong_t.
42767
34683bb0
L
42768 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42770
84a68786
L
42771 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42772
48baa5f1
L
42773 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42774 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42775
180be88b
L
42776 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42777 __syscall_slong_t.
42778
5e90c8ad
L
42779 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42780 include <bits/wordsize.h>. Check __x86_64__ instead of
42781 __WORDSIZE.
42782
23dfb58b
L
42783 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42784 "unsigned long long int" if __x86_64__ is defined.
42785 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42786
ce5d54b0
L
42787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42789 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42790
13dc9eac
L
42791 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42792 <stdint.h>.
42793 (GET_PC): Cast to uintptr_t first.
42794 (GET_FRAME): Likewise.
42795 (GET_STACK): Likewise.
42796
a7895d15
L
42797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42803 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42804 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42805 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42806 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42808 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42812 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42814 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42818 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42820 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42822 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42826
656416c9
AS
428272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42828
5bd66283
AS
42829 * Makerules (+depfiles): Also collect depfiles from .oS in
42830 $(extra-objs).
42831 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42832 .oS, $(libnldbl-routines)).
42833
656416c9
AS
42834 * Makerules (native-compile-mkdep-flags): Define.
42835 * sunrpc/Makefile (extra-objs): Add $(addprefix
42836 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42837 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42838 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42839 calling $(make-target-directory).
42840
a46f2169
L
428412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42842
42843 * bits/types.h (__snseconds_t): Removed.
42844 * time/time.h (struct timespec): Replace __snseconds_t with
42845 __syscall_slong_t.
42846 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42847 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42848 Likewise.
42849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42850 (__SNSECONDS_T_TYPE): Likewise.
42851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42852 (__SNSECONDS_T_TYPE): Likewise.
42853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42854 (__SNSECONDS_T_TYPE): Likewise.
42855
6af6528b
L
428562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42857
42858 * sysdeps/mach/hurd/bits/typesizes.h
42859 (__SYSCALL_SLONG_TYPE): New macro.
42860 (__SYSCALL_ULONG_TYPE): Likewise.
42861
de986b56
L
428622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42863
42864 * bits/types.h (__syscall_slong_t): New type.
42865 (__syscall_ulong_t): Likewise.
42866
42867 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42868 (__SYSCALL_ULONG_TYPE): Likewise.
42869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42870 (__SYSCALL_SLONG_TYPE): Likewise.
42871 (__SYSCALL_ULONG_TYPE): Likewise.
42872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42873 (__SYSCALL_SLONG_TYPE): Likewise.
42874 (__SYSCALL_ULONG_TYPE): Likewise.
42875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42876 (__SYSCALL_SLONG_TYPE): Likewise.
42877 (__SYSCALL_ULONG_TYPE): Likewise.
42878
85736dc7
L
428792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42880
42881 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42882 Add sigaltstack-offsets.sym.
42883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42884 <sigaltstack-offsets.h>.
42885 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42886 longjmp_msg pointer.
42887 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42888 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42889 signal stack.
42890 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42891
cc03b296
JM
428922012-05-15 Joseph Myers <joseph@codesourcery.com>
42893
a9538892
JM
42894 * elf/stackguard-macros.h: Remove file.
42895 * sysdeps/generic/stackguard-macros.h: New file.
42896 * sysdeps/i386/stackguard-macros.h: Likewise.
42897 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42898 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42899 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42900 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42901 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42902 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42903 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42904 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42905 <elf/stackguard-macros.h>.
42906
cc03b296
JM
42907 [BZ #14109]
42908 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42909 __aligned__ in attribute.
42910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42911 (gregset_t): Likewise.
42912
93171016
L
429132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42914
42915 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42916 * sysdeps/x86_64/64/Implies-after: Here. New file.
42917 * sysdeps/x86_64/x32/Implies-after: New file.
42918
d86813a0
L
429192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42920
42921 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42922 and access return value for _dl_profile_fixup. Use R10_LP to
42923 load frame size.
42924
2953ec75
L
429252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42926
42927 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42928
3b550e9e
L
429292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42930
42931 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42932 * sysdeps/x86_64/x32/sysdep.h: New file.
42933
eda41706
L
429342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42935
42936 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42937 * sysdeps/x86_64/setjmp.S: Likewise.
42938
9ea01d93
AZ
429392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42940
42941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42943 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42944 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42945 remove unused global constant.
42946
02a91938
CM
429472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42948
42949 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42950 include of <not-cancel.h>.
42951
6540185f
RM
429522012-05-15 Roland McGrath <roland@hack.frob.com>
42953
42954 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42955
509072a0
AJ
429562012-05-15 Jeff Law <law@redhat.com>
42957 Andreas Jaeger <aj@suse.de>
42958
42959 [BZ #13594]
42960 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42961 out from...
42962 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42963 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42965 code changing __hst_map_handle.map.
42966
ba75122d
RM
429672012-05-15 Roland McGrath <roland@hack.frob.com>
42968
42969 * configure.in (sysnames): Look for Implies-before and Implies-after
42970 files.
42971 * configure: Regenerated.
42972
890d8bd8
L
429732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42974
42975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42976 8-byte data alignment with LP_SIZE alignment.
42977
f6ee6623
L
429782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42979
42980 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42981 into R10_LP.
42982
ea2626f6
L
429832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42984
42985 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42986
085f715e
L
429872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42988
42989 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42990 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42992 Likewise.
42993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42994
be8498fc
L
429952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42996
42997 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42998 (stackinfo_sub_sp): Likewise.
42999
70bc83b9
L
430002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43001
43002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43003 RAX_LP.
43004
9bc0b730
L
430052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43006
43007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43008 into R*_LP.
43009
6d2850e7
L
430102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43011
43012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43013 sizes into R*_LP.
43014
3cb84561
L
430152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43016
43017 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43018
54e2ed81
L
430192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43020
43021 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43022 into R11_LP and load __x86_64_shared_cache_size_half into
43023 R8_LP.
43024
8a17f349
L
430252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43026
43027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43028 R8_LP.
43029
777b1eea
AZ
430302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43031
43032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43033 logb for POWER7.
43034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43035 logbf for POWER7.
43036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43037 logbl for POWER7.
43038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43039 powerpc32/power7/fpu/s_logb.c via #include.
43040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43041 powerpc32/power7/fpu/s_logbf.c via #include.
43042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43043 powerpc32/power7/fpu/s_logbl.c via #include.
43044
d20d4ac2
JM
430452012-05-15 Joseph Myers <joseph@codesourcery.com>
43046
43047 * README.libm: Remove file.
43048
6cdef1ab
L
430492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43050
43051 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43052 count for x32. Use R*_LP and omit operand-size suffix.
43053
0b254d8f
L
430542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43055
43056 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43057 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43058 * sysdeps/x86_64/x32/shlib-versions: New file.
43059
ceb809dc
RM
430602012-05-14 Roland McGrath <roland@hack.frob.com>
43061
43062 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43063 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43064 Use _dl_fatal_printf instead.
43065
37f1abd4
JM
430662012-05-14 Joseph Myers <joseph@codesourcery.com>
43067
43068 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43069 set if not set by the user. Do not allow for being unset.
43070 * sysdeps/unix/sysv/linux/configure: Regenerated.
43071
11de3a33
L
430722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43073
43074 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43075 the `q' suffix from lea and replace .quad with ASM_ADDR.
43076
e02f153a
L
430772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43078
43079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43080 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43081 instead of $17.
43082 (PTR_DEMANGLE): Likewise.
43083
520ae0fd
L
430842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43085
43086 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43087 (LP_OP): Likewise.
43088 (ASM_ADDR): Likewise.
43089 (RAX_LP): Likewise.
43090 (RBP_LP): Likewise.
43091 (RBX_LP): Likewise.
43092 (RCX_LP): Likewise.
43093 (RDI_LP): Likewise.
43094 (RSI_LP): Likewise.
43095 (RSP_LP): Likewise.
43096 (R8_LP): Likewise.
43097 (R9_LP): Likewise.
43098 (R10_LP): Likewise.
43099 (R10_LP): Likewise.
43100 (R11_LP): Likewise.
43101 (R12_LP): Likewise.
43102 (R13_LP): Likewise.
43103 (R14_LP): Likewise.
43104 (R15_LP): Likewise.
43105
b985be81
L
431062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43107
43108 * sysdeps/x86_64/x32/dl-machine.h: New file.
43109
6a4888ff
AJ
431102012-05-14 Andreas Jaeger <aj@suse.de>
43111
43112 * manual/Makefile (subdir): Remove export of subdir.
43113 (all): Remove target.
43114 (.PHONY): Remove all from list.
43115 (mkinstalldirs): Remove.
43116 (.PHONY): Remove installdirs from list.
43117 ($(inst_infodir)/libc.info): Use make-target-directory.
43118 (installdirs): Remove.
43119 (subdir_%): Remove.
43120 (glibc-targets): Remove.
43121 (lib): Remove.
43122 (stubs): Remove.
43123 ($(objpfx)stubs ../po/manual.pot): Remove.
43124 ($(objpfx)stamp%): Remove.
43125 (make-target-directory): Remove.
43126 (subdir_install): Remove.
43127 (routines): Remove.
43128 (aux): Remove.
43129 (sources): Remove.
43130 (objects): Remove.
43131 (headers): Remove.
43132
43133 [BZ #13750]
43134 * manual/.gitignore: Remove, it's not needed anymore.
43135 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43136 all files in it.
43137 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43138 directory.
43139 (texis): Renamed to $(objpfx)texis.
43140 (texis-path): New, contains path to generated files.
43141 (chapters.%): Use texis-path for complete path, add extra argument
43142 libc-texinfo.sh.
43143 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43144 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43145 (summary,texi, stamp-summary): Use complete path of
43146 files. Generate files in build dir.
43147 (dir-add.texi): Build in build dir.
43148 (libm-err.texi,stamp-libm-err): Likewise.
43149 (version.texi, stamp-version): Likewise.
43150 (.%c.texi): Likewise.
43151 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43152 (mostlyclean): Remove target.
43153 (realclean): Remove target.
43154 (generated): Add new variable with contents from mostlyclean and
43155 realclean, remove entries duplicated in common-mostlyclean, add
43156 stamp-libm-err and stamp-version.
43157 (generated-dirs): Add libc directory.
43158 ($(inst_infodir)/libc.info): Install files from build dir.
43159
43160 * manual/install.texi (Configuring and compiling): Adjust since
43161 the info files are not part of the tar ball anymore.
43162
7ac77294
AJ
431632012-05-14 Andreas Jaeger <aj@suse.de>
43164
43165 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43166 variable.
43167
ffb7875d
JM
431682012-05-14 Joseph Myers <joseph@codesourcery.com>
43169
43170 [BZ #13717]
43171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43172 to 2.2.0 where earlier.
43173 * sysdeps/unix/sysv/linux/configure: Regenerated.
43174 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43175 Remove conditional code.
43176 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43177 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43178 Remove conditional code.
43179 [!__NR_lchown]: Likewise.
43180 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43181 [__NR_lchown]: Likewise.
43182 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43183 comment referencing __ASSUME_LCHOWN_SYSCALL.
43184 * sysdeps/unix/sysv/linux/i386/sigaction.c
43185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43188 Remove conditional code.
43189 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43190 (__protocol_available): Remove #if 0 code.
43191 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43192 conditional code.
43193 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43194 * sysdeps/unix/sysv/linux/kernel-features.h
43195 (__ASSUME_GETCWD_SYSCALL): Don't define.
43196 (__ASSUME_REALTIME_SIGNALS): Likewise.
43197 (__ASSUME_PREAD_SYSCALL): Likewise.
43198 (__ASSUME_PWRITE_SYSCALL): Likewise.
43199 (__ASSUME_POLL_SYSCALL): Likewise.
43200 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43201 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43202 non-SPARC.
43203 (__ASSUME_SIOCGIFNAME): Don't define.
43204 (__ASSUME_MSG_NOSIGNAL): Likewise.
43205 (__ASSUME_SENDFILE): Define unconditionally.
43206 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43207 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43208 conditional code.
43209 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43210 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43211 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43212 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43213 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43214 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43215 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43240 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43241 Remove conditional code.
43242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43243 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43244 Remove conditional code.
43245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43246 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43247 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43248 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43249 Remove conditional code.
43250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43251 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43252 Remove conditional code.
43253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43254 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43255 Remove conditional code.
43256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43257 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43258 Remove conditional code.
43259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43260 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43261 Remove conditional code.
43262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43263 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43266 * sysdeps/unix/sysv/linux/sigaction.c
43267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43269 * sysdeps/unix/sysv/linux/sigpending.c
43270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43272 * sysdeps/unix/sysv/linux/sigprocmask.c
43273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43275 * sysdeps/unix/sysv/linux/sigsuspend.c
43276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43279 (__libc_missing_rt_sigs): Remove.
43280 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43281 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43282 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43283 Remove conditional code.
43284 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43285 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43286 return 1.
43287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43288 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43289 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43291
1bfb7291
AJ
432922012-05-14 Andreas Jaeger <aj@suse.de>
43293
caae5a81
AJ
43294 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43295 it's not used in glibc.
43296 (__coshm1): Likewise.
43297 (__acosh1p): Likewise.
43298 (__sgn): Likewise.
43299
1bfb7291
AJ
43300 * manual/string.texi (Copying and Concatenation): Add missing
43301 variable in concat example.
43302 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43303
c044d724
L
433042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43305
144c5467 43306 [BZ #14103]
c044d724
L
43307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43308 __builtin_clzl with __builtin_clzll.
43309
2523c62b
L
433102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43311
43312 [BZ #14104]
43313 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43314 libc_freeres_ptr.
43315
d7bb4c42
LD
433162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43317
43318 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43319 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43320 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43321 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43322
9dc4e1fb
MF
433232012-05-14 Mike Frysinger <vapier@gentoo.org>
43324
43325 * NEWS: Update ia64 info.
43326
c7df0112
AS
433272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43328
43329 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43330 used as bcopy.
43331
dc70356c
TS
433322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43333
43334 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43335 * sysdeps/unix/syscalls.list (dup3): Likewise.
43336 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43337 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43338
9fb1a21f
L
433392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43340
43341 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43342 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43343
4822a2a5
L
433442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43345
43346 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43347 thread pointer.
43348 (TLS_IE): Use mov/add instead of movq/addq to load thread
43349 pointer.
43350 (TLS_GD_PREFIX): New.
43351 (TLS_GD): Use it.
43352
842b81d6
DM
433532012-05-11 David S. Miller <davem@davemloft.net>
43354
43355 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43356 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43357 (_FPU_SETCW): Likewise.
43358
1cf463cd
L
433592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43360
43361 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43362 is 32-byte aligned.
43363
60cc4a18
AS
433642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43365
43366 [BZ #11837]
43367 * iconvdata/gb18030.c: Update tables.
43368 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43369 characters specially.
43370 (BODY for TO_LOOP): Add encoding of missing ranges.
43371
febb44a4
TS
433722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43373
43374 [BZ #13673]
43375 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43376 * sysdeps/mach/hurd/dup3.c: Likewise.
43377 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43378 * sysdeps/powerpc/memmove.c:: Likewise.
43379
0a10fb9e
L
433802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43381
43382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43383 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43384
df8a552f
L
433852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43386
43387 * elf/elf.h (R_X86_64_RELATIVE64): New.
43388 (R_X86_64_NUM): Updated.
43389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43390 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43391 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43392 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43393 tst-quad1pie tst-quad2pie
43394 (modules-names): Add tst-quadmod1 tst-quadmod2.
43395 ($(objpfx)tst-quad1): New dependency.
43396 ($(objpfx)tst-quad2): Likewise.
43397 ($(objpfx)tst-quad1pie): Likewise.
43398 ($(objpfx)tst-quad2pie): Likewise.
43399 * sysdeps/x86_64/tst-quad1.c: New file.
43400 * sysdeps/x86_64/tst-quad1pie.c: New file.
43401 * sysdeps/x86_64/tst-quad2.c: Likewise.
43402 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43403 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43404 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43405 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43406 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43407
f34d6f84
ST
434082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43409
f42d41d1
ST
43410 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43411 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43412 * streams/stropts.h (t_scalar_t): Define type.
43413
3c3571fc
ST
43414 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43415 (_PATH_PRESERVE): Set to "/var/lib".
43416 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43417
61f06bd3
ST
43418 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43419 instead of int.
43420
918d4d71
ST
43421 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43422 if __dir_mkfile succeeded.
43423
f34d6f84
ST
43424 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43425 checking for _hurd_dtablesize. Unlock it right after having
43426 finished _hurd_dtable allocation.
43427
10589b4a
TS
434282012-05-10 Thomas Schwinge <thomas@schwinge.name>
43429
674cdbc7
TS
43430 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43431 * sysdeps/mach/hurd/configure: Regenerated.
43432 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43433 special-casing to...
43434 * sysdeps/gnu/configure.in: ... this new file.
43435 * sysdeps/unix/sysv/linux/configure: Regenerated.
43436 * sysdeps/gnu/configure: New generated file.
43437
8e41b99f
TS
43438 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43439 for Linux: use nsec instead of usec, as well as:
43440 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43441 members of type struct timespec.
43442 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43443 New macros.
43444 (struct stat64): Likewise.
43445 (_STATBUF_ST_NSEC): New macro.
43446 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43447
10589b4a
TS
43448 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43449 __strtoul_internal rather than strtoul.
43450
63643c85
PT
434512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43452
43453 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43454 and reject them.
43455
3faebe6a
ST
434562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43457
43458 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43459 which preserves existing values.
43460 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43461
c6474b07
PT
434622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43463
43464 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43465 TIMEOUT values. Return EINVAL for NFDS values either negative or
43466 greater than FD_SETSIZE.
43467
1043890b
ST
434682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43469
43470 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43471 allocated, call __vm_protect to finish enabling the existing space, and
43472 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43473 allocate the remainder.
43474
37ed8b9b
PT
434752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43476
43477 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43478 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43479
db653660
ST
434802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43481
37ed8b9b
PT
43482 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43483 sysdeps/mach/hurd/readlink.c.
b29d4053 43484
db653660
ST
43485 * posix/tst-sysconf.c (posix_options): Only use
43486 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43487 _POSIX_SYNCHRONIZED_IO when they are defined
43488 * sysdeps/mach/hurd/bits/posix_opt.h:
43489 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43490 (_XOPEN_REALTIME): Undefine macro.
43491 (_XOPEN_REALTIME_THREADS): Undefine macro.
43492 (_XOPEN_SHM): Undefine macro.
43493 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43494 macro to -1.
43495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43496 macro to -1.
43497 (_POSIX_ASYNC_IO): Undefine macro.
43498 (_POSIX_PRIORITIZED_IO): Undefine macro.
43499 (_POSIX_SPIN_LOCKS): Define macro to -1.
43500
ee16e894
ST
43501 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43502 SA_NODEFER, SA_RESETHAND.
43503 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43504 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43505 F_DUPFD_CLOEXEC.
43506
6103ae3b
TS
435072012-05-10 Thomas Schwinge <thomas@schwinge.name>
43508
43509 * elf/Makefile (pldd-modules): Define unconditionally.
43510
80b4e5f3
TS
435112012-05-10 Thomas Schwinge <thomas@schwinge.name>
43512
43513 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43514
edadcbd6
ST
435152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43516
43517 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43518 Return ENOENT when name is empty.
43519 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43520
80694780
TS
435212012-05-10 Thomas Schwinge <thomas@schwinge.name>
43522
1792c087
TS
43523 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43524
80694780
TS
43525 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43526
6b645f0d
ST
435272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43528
80694780
TS
43529 Fix mlock in all cases except non-readable pages.
43530 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43531 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43532
6b645f0d
ST
43533 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43534 (__mkdir): When path is `/', just fail with EEXIST.
43535 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43536
e468f8a3
TS
435372012-05-10 Thomas Schwinge <thomas@schwinge.name>
43538
43539 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43540 <sys/uio.h> (for writev).
43541 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43542 and <sys/param.h> (for MIN).
43543
a4186cff
PT
435442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43545
43546 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43547 REQUESTED_TIME. Properly set the remaining time and return EINTR
43548 if interrupted.
43549
510bbf14
TS
435502012-05-10 Thomas Schwinge <thomas@schwinge.name>
43551
43552 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43553 Depend on against $(link-rpcuserlibs).
43554
5d5722e8
ST
435552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43556
a4186cff
PT
43557 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43558 (__libc_stack_end): Do not use attribute_relro.
43559 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43560 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43561 to libthread-provided value.
a4186cff
PT
43562 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43563 attribute_relro.
5d5722e8 43564
37233df9
TS
435652012-05-10 Thomas Schwinge <thomas@schwinge.name>
43566
be971a2b
TS
43567 [BZ #3748]
43568 * bits/libc-lock.h (__libc_once_get): New macro.
43569 * sysdeps/mach/bits/libc-lock.h: Likewise.
43570 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43572 instead of using implementation details.
43573
37233df9
TS
43574 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43575 * libio/freopen.c: Likewise.
43576 * libio/freopen64.c: Likewise.
43577 * misc/syslog.c: Likewise.
43578 * nscd/connections.c: Likewise.
43579 * nscd/netgroupcache.c: Likewise.
43580 * sysdeps/posix/getcwd.c: Likewise.
43581
38de94a5
RM
435822012-05-10 Roland McGrath <roland@hack.frob.com>
43583
43584 * math/w_ilogbf.c: Add #include <limits.h>.
43585
67530489
ST
435862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43587
a4186cff 43588 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43589 path instead of returning without unlocking.
43590
67530489
ST
43591 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43592 immediate-write ioctls.
43593 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43594
5aa3a74a
TS
435952012-05-10 Thomas Schwinge <thomas@schwinge.name>
43596
18bad2ae
TS
43597 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43598 __builtin_frame_address instead of making assumptions about the
43599 location of the return address relative to DATA. Force early load of
43600 the return address.
43601 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43602 __builtin_frame_address.
43603
5aa3a74a
TS
43604 dup3 for GNU Hurd.
43605 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43606 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43607 implement dup3 and do some further code clean-ups.
43608 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43610
ecd0de9a
ST
436112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43612
cd9fa985
ST
43613 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43614
a4186cff
PT
43615 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43616 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43617 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43618 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43619 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43620 d->port.lock.
802ca5a5 43621
a4186cff
PT
43622 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43623 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43624 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43625
bcf55240
TS
436262012-05-10 Thomas Schwinge <thomas@schwinge.name>
43627
6960eb42
TS
43628 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43629 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43630 definitions.
43631
eb43375f
TS
43632 accept4 for GNU Hurd.
43633 * include/sys/socket.h (__libc_accept4): New prototype.
43634 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43635 to implement __libc_accept4.
43636 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43637 __libc_accept4.
43638 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43639
bcf55240
TS
43640 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43641 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43642 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43643 signal-defines.sym.
43644
6178c55b
ST
436452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43646
a4186cff 43647 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43648
6f080c2f
TS
436492012-05-10 Thomas Schwinge <thomas@schwinge.name>
43650
43651 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43652 assertion on O_CLOEXEC flag.
43653 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43654 * hurd/intern-fd.c: Likewise.
43655 * hurd/port2fd.c: Likewise.
43656
bcfe3a54
ST
436572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43658
43659 [BZ #3906]
43660 * bits/in.h (IPV6_PKTINFO): Define new macro.
43661 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43662
89c9aa49
AZ
436632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43664
43665 [BZ #13954]
43666 [BZ #13955]
43667 [BZ #13956]
43668 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43670 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43671 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43673 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43674 * math/libm-test.inc (logb_test) : Additional logb tests.
43675
021db4be
AJ
436762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43677 Andreas Jaeger <aj@suse.de>
43678
43679 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43680 * configure: Regenerated.
43681 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43682 * config.make.in (link-obsolete-rpc): New substituted variable.
43683 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43684 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43685 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43686 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43687 so that libc.a contains the symbols.
43688 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43689 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43690 * sunrpc/auth_none.c: Likewise.
43691 * sunrpc/auth_unix.c: Likewise.
43692 * sunrpc/authdes_prot.c: Likewise.
43693 * sunrpc/authuxprot.c: Likewise.
43694 * sunrpc/clnt_gen.c: Likewise.
43695 * sunrpc/clnt_perr.c: Likewise.
43696 * sunrpc/clnt_raw.c: Likewise.
43697 * sunrpc/clnt_simp.c: Likewise.
43698 * sunrpc/clnt_tcp.c: Likewise.
43699 * sunrpc/clnt_udp.c: Likewise.
43700 * sunrpc/clnt_unix.c: Likewise.
43701 * sunrpc/des_crypt.c: Likewise.
43702 * sunrpc/des_soft.c: Likewise.
43703 * sunrpc/get_myaddr.c: Likewise.
43704 * sunrpc/key_call.c: Likewise.
43705 * sunrpc/key_prot.c: Likewise.
43706 * sunrpc/netname.c: Likewise.
43707 * sunrpc/pm_getmaps.c: Likewise.
43708 * sunrpc/pm_getport.c: Likewise.
43709 * sunrpc/pmap_clnt.c: Likewise.
43710 * sunrpc/pmap_prot.c: Likewise.
43711 * sunrpc/pmap_prot2.c: Likewise.
43712 * sunrpc/pmap_rmt.c: Likewise.
43713 * sunrpc/publickey.c: Likewise.
43714 * sunrpc/rpc_cmsg.c: Likewise.
43715 * sunrpc/rpc_common.c: Likewise.
43716 * sunrpc/rpc_dtable.c: Likewise.
43717 * sunrpc/rpc_prot.c: Likewise.
43718 * sunrpc/rpc_thread.c: Likewise.
43719 * sunrpc/rtime.c: Likewise.
43720 * sunrpc/svc.c: Likewise.
43721 * sunrpc/svc_auth.c: Likewise.
43722 * sunrpc/svc_raw.c: Likewise.
43723 * sunrpc/svc_run.c: Likewise.
43724 * sunrpc/svc_tcp.c: Likewise.
43725 * sunrpc/svc_udp.c: Likewise.
43726 * sunrpc/svc_unix.c: Likewise.
43727 * sunrpc/svcauth_des.c: Likewise.
43728 * sunrpc/xcrypt.c: Likewise.
43729 * sunrpc/xdr.c: Likewise.
43730 * sunrpc/xdr_array.c: Likewise.
43731 * sunrpc/xdr_float.c: Likewise.
43732 * sunrpc/xdr_intXX_t.c: Likewise.
43733 * sunrpc/xdr_mem.c: Likewise.
43734 * sunrpc/xdr_rec.c: Likewise.
43735 * sunrpc/xdr_ref.c: Likewise.
43736 * sunrpc/xdr_sizeof.c: Likewise.
43737 * sunrpc/xdr_stdio.c: Likewise.
43738
b5c086a2
RM
437392012-05-10 Roland McGrath <roland@hack.frob.com>
43740
43741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43742 change. Update copyright years.
43743
6d74dd09
JM
437442012-05-10 Joseph Myers <joseph@codesourcery.com>
43745
43746 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43747
28e72501
MK
437482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43749 Joseph Myers <joseph@codesourcery.com>
43750 Paul Pluzhnikov <ppluzhnikov@google.com>
43751
43752 [BZ #14012]
43753 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43754 requiring rpcgen.
43755 [cross-compiling] (extra-libs): Likewise.
43756 [cross-compiling] (extra-libs-others): Likewise.
43757 [cross-compiling] (librpcsvc-routines): Likewise.
43758 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43759 [cross-compiling] (omit-deps): Likewise.
43760 (sunrpc-CPPFLAGS): New variable.
43761 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43762 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43763 (cross-rpcgen-objs): New variable.
43764 (extra-objs): Append $(cross-rpcgen-objs).
43765 ($(cross-rpcgen-objs)): New rule.
43766 ($(objpfx)cross-rpcgen): Likewise.
43767 (rpcgen-cmd): Define to use $(built-program-file). Expand
43768 comment.
43769 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43770 ($(objpfx)x%.stmp): Likewise.
43771 * sunrpc/proto.h [IS_IN_build] (_): Define.
43772 [IS_IN_build] (_libc_intl_domainname): Likewise.
43773
c8c59454
L
437742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43775
43776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43777 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43778 and R_X86_64_TPOFF64.
43779
6f27cd16
JM
437802012-05-10 Joseph Myers <joseph@codesourcery.com>
43781
43782 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43783 sysdeps/unix/sysv/syscalls.list.
43784 (stime): Likewise.
43785 (utime): Likewise.
43786 * sysdeps/unix/sysv/syscalls.list: Remove file.
43787
02467e1c
PE
437882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43789
43790 [BZ #3440]
43791 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43792 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43793 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43794 (__LC_IDENTIFICATION): Make these macros useful in #if
43795 expressions, as required by C99.
43796
da392631
AS
437972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43798
43799 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43800 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43801 after this.
43802
8115f29b
L
438032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43804
43805 * stdlib/longlong.h: Updated from GCC.
43806
bdd74070
AJ
438072012-05-09 Andreas Jaeger <aj@suse.de>
43808
edfe0dbe
AJ
43809 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43810 default is first entry.
43811 (run_mode): Set type.
43812 (main): Remove informal message about syslog.
43813 (options): Fix typo.
43814
bcfe3a54
ST
43815 [BZ #14053]
43816 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43817 to asm.
bcfe3a54
ST
43818 (lrint): Likewise.
43819 (llrintf): Likewise.
43820 (llrint): Likewise.
43821 (rint): Likewise.
43822 (rintf): Likewise.
43823 (nearbyint): Likewise.
43824 (nearbyintf): Likewise.
bdd74070 43825
91d8d69e
AJ
438262012-05-09 Andreas Jaeger <aj@suse.de>
43827 Pedro Alves <palves@redhat.com>
43828
43829 * nscd/nscd.c (run_mode): Use enum.
43830 (main): Cleanup coding style issue.
43831
bb90b80b
AJ
438322012-05-09 Alexandre Oliva <aoliva@redhat.com>
43833 Andreas Jaeger <aj@suse.de>
43834
bcfe3a54
ST
43835 * nscd/nscd.c (go_background): Replaced with...
43836 (run_mode): ... this.
bb90b80b 43837 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43838 (options): Add -F --foreground.
43839 (main): Implement it.
43840 (parse_opt): Parse it.
bb90b80b 43841
1a4b75a1
AJ
438422012-05-09 Andreas Jaeger <aj@suse.de>
43843
43844 [BZ #14083]
43845 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43846 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43847 -Wconversion warning.
43848 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43849 Likewise.
43850
b1cc2472
JM
438512012-05-09 Joseph Myers <joseph@codesourcery.com>
43852
43853 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43854 == 0.
43855 (LC_ALL): Use macro-int-constant.
43856 (LC_COLLATE): Likewise.
43857 (LC_CTYPE): Likewise.
43858 (LC_MESSAGES): Likewise.
43859 (LC_MONETARY): Likewise.
43860 (LC_NUMERIC): Likewise.
43861 (LC_TIME): Likewise.
43862 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43863 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43865 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43866 Specify type.
43867 [C99-based standards] (float_t): Expect type.
43868 [C99-based standards] (double_t): Expect type.
43869 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43870 type.
43871 [C99-based standards] (HUGE_VALL): Likewise.
43872 [C99-based standards] (INFINITY): Likewise.
43873 [C99-based standards] (NAN): Likewise.
43874 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43875 [C99-based standards] (FP_NAN): Likewise.
43876 [C99-based standards] (FP_NORMAL): Likewise.
43877 [C99-based standards] (FP_SUBNORMAL): Likewise.
43878 [C99-based standards] (FP_ZERO): Likewise.
43879 [C99-based standards] (FP_FAST_FMA): Use
43880 optional-macro-int-constant. Specify type. Require == 1.
43881 [C99-based standards] (FP_FAST_FMAF): Likewise.
43882 [C99-based standards] (FP_FAST_FMAL): Likewise.
43883 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43884 [C99-based standards] (FP_ILOGBNAN): Likewise.
43885 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43886 Specify type.
43887 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43888 [C99-based standards] (math_errhandling): Specify type.
43889 [ISO99 || ISO11] (signgam): Do not allow.
43890 [non-C99-based standards] (copysignf): Do not allow.
43891 [non-C99-based standards] (exp2f): Likewise.
43892 [non-C99-based standards] (log2f): Likewise.
43893 [non-C99-based standards] (modff): Allow.
43894 [non-C99-based standards] (erff): Do not allow.
43895 [non-C99-based standards] (erfcf): Likewise.
43896 [non-C99-based standards] (gammaf): Likewise.
43897 [non-C99-based standards] (hypotf): Likewise.
43898 [non-C99-based standards] (j0f): Likewise.
43899 [non-C99-based standards] (j1f): Likewise.
43900 [non-C99-based standards] (jnf): Likewise.
43901 [non-C99-based standards] (lgammaf): Likewise.
43902 [non-C99-based standards] (tgammaf): Likewise.
43903 [non-C99-based standards] (y0f): Likewise.
43904 [non-C99-based standards] (y1f): Likewise.
43905 [non-C99-based standards] (ynf): Likewise.
43906 [non-C99-based standards] (isnanf): Likewise.
43907 [non-C99-based standards] (acoshf): Likewise.
43908 [non-C99-based standards] (asinhf): Likewise.
43909 [non-C99-based standards] (atanhf): Likewise.
43910 [non-C99-based standards] (cbrtf): Likewise.
43911 [non-C99-based standards] (expm1f): Likewise.
43912 [non-C99-based standards] (ilogbf): Likewise.
43913 [non-C99-based standards] (log1pf): Likewise.
43914 [non-C99-based standards] (logbf): Likewise.
43915 [non-C99-based standards] (nextafterf): Likewise.
43916 [non-C99-based standards] (remainderf): Likewise.
43917 [non-C99-based standards] (rintf): Likewise.
43918 [non-C99-based standards] (scalbf): Likewise.
43919 [non-C99-based standards] (copysignl): Likewise.
43920 [non-C99-based standards] (exp2l): Likewise.
43921 [non-C99-based standards] (log2l): Likewise.
43922 [non-C99-based standards] (modfl): Allow.
43923 [non-C99-based standards] (erfl): Do not allow.
43924 [non-C99-based standards] (erfcl): Likewise.
43925 [non-C99-based standards] (gammal): Likewise.
43926 [non-C99-based standards] (hypotl): Likewise.
43927 [non-C99-based standards] (j0l): Likewise.
43928 [non-C99-based standards] (j1l): Likewise.
43929 [non-C99-based standards] (jnl): Likewise.
43930 [non-C99-based standards] (lgammal): Likewise.
43931 [non-C99-based standards] (tgammal): Likewise.
43932 [non-C99-based standards] (y0l): Likewise.
43933 [non-C99-based standards] (y1l): Likewise.
43934 [non-C99-based standards] (ynl): Likewise.
43935 [non-C99-based standards] (isnanl): Likewise.
43936 [non-C99-based standards] (acoshl): Likewise.
43937 [non-C99-based standards] (asinhl): Likewise.
43938 [non-C99-based standards] (atanhl): Likewise.
43939 [non-C99-based standards] (cbrtl): Likewise.
43940 [non-C99-based standards] (expm1l): Likewise.
43941 [non-C99-based standards] (ilogbl): Likewise.
43942 [non-C99-based standards] (log1pl): Likewise.
43943 [non-C99-based standards] (logbl): Likewise.
43944 [non-C99-based standards] (nextafterl): Likewise.
43945 [non-C99-based standards] (remainderl): Likewise.
43946 [non-C99-based standards] (rintl): Likewise.
43947 [non-C99-based standards] (scalbl): Likewise.
43948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43949 [non-C99-based standards] (FP_*): Do not allow.
43950 [C99-based standards] (FP_*): Change to
43951 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43952 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43953 allow.
43954 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43955 (SIG_ERR): Likewise.
43956 [X/Open-based standards] (SIG_HOLD): Likewise.
43957 (SIG_IGN): Likewise.
43958 (SIGABRT): Use macro-int-constant. Specify type. Require
43959 positive value.
43960 (SIGFPE): Likewise.
43961 (SIGILL): Likewise.
43962 (SIGINT): Likewise.
43963 (SIGSEGV): Likewise.
43964 (SIGTER): Likewise.
43965 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43966 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43967 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43968 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43969 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43970 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43971 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43972 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43973 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43974 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43975 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43976 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43977 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43978 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43979 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43980 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43981 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43982 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43983 [X/Open-based standards] (SIGTRAP): Likewise.
43984 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43985 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43986 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43987 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43988 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43989 allow.
43990
b9f1922d
IW
439912012-05-08 Ian Wienand <ianw@vmware.com>
43992
43993 [BZ #14080]
43994 * time/tzset.c (__tzset_parse_tz): Update default rules for
43995 daylight time changes in the Energy Policy Act of 2005.
43996
1db86e88
AJ
439972012-05-09 Andreas Jaeger <aj@suse.de>
43998
43999 [BZ #13983]
44000 * elf/ldconfig.c (parse_conf): Change string to make clear that
44001 ldconfig only issued a warning if ld.so.conf does not exist.
44002
dee4a4e3
DM
440032012-05-08 David S. Miller <davem@davemloft.net>
44004
ee0db190
DM
44005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44006 movxtod instead of popping the value on the stack.
44007
dee4a4e3
DM
44008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44009
6a43ec98
CD
440102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44011
44012 * config.h.in: Add HAVE_ARM_PCS_VFP.
44013
05c2c961
RMG
440142012-05-08 Roland Mc Grath <roland@hack.frob.com>
44015
bcfe3a54
ST
44016 [BZ #13979]
44017 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44018 checking but the checks are disabled for any reason.
05c2c961 44019
4b30f61a
L
440202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44021
44022 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44023 and ELF64_R_TYPE with ELFW(R_TYPE).
44024
eee2bc67
JM
440252012-05-08 Joseph Myers <joseph@codesourcery.com>
44026
7ea5391a
JM
44027 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44028 (ulimit): Likewise.
44029
eee2bc67
JM
44030 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44031 (settimeofday): Likewise.
44032
abb66a67
MF
440332012-05-08 Mike Frysinger <vapier@gentoo.org>
44034
44035 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44036 a struct th_u2 inside the union, and move tu_block/tu_code into
44037 a new th_u3 union of tu_block/tu_code inside of that. Move
44038 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44039 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44040 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44041 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44042 (th_stuff): Change to th_u1.tu_stuff.
44043 (th_data): Define.
44044 (th_msg): Change to th_u1.th_u2.tu_data.
44045
7f18b530
DM
440462012-05-07 David S. Miller <davem@davemloft.net>
44047
05760585
DM
44048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44049
7f18b530
DM
44050 [BZ #14074]
44051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44052 (SETUP_PIC_REG): Use it.
44053 (SETUP_PIC_REG_LEAF): Use it.
44054
495fd99f
JM
440552012-05-07 Joseph Myers <joseph@codesourcery.com>
44056
44057 [BZ #13885]
44058 [BZ #13923]
44059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44060 USE_AS_EXPM1L.
44061 (EXPL_FINITE): Likewise.
44062 (FLDLOG): Likewise.
44063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44064 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44065 e_expl.S.
44066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44067 USE_AS_EXPM1L.
44068 (EXPL_FINITE): Likewise.
44069 (FLDLOG): Likewise.
44070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44071 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44072 e_expl.S.
44073 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44074 test of -max_value argument for long double.
44075 * sysdeps/i386/fpu/libm-test-ulps: Update.
44076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44077
6693d694
DM
440782012-05-06 David S. Miller <davem@davemloft.net>
44079
44080 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44081 quad soft-float symbols whose references which are compiler
44082 generated.
44083 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44084
6c23e11c
JM
440852012-05-06 Joseph Myers <joseph@codesourcery.com>
44086
d8b82cad
JM
44087 [BZ #13884]
44088 [BZ #13914]
44089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44090 USE_AS_EXP10L.
44091 (EXPL_FINITE): Likewise.
44092 (FLDLOG): Likewise.
44093 (c0): Likewise.
44094 (c1): Likewise.
44095 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44096 Adjust comments for base varying.
44097 (__expl_finite): Change alias to EXPL_FINITE.
44098 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44099 e_expl.S.
44100 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44101 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44103 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44105 USE_AS_EXP10L.
44106 (EXPL_FINITE): Likewise.
44107 (FLDLOG): Likewise.
44108 (c0): Likewise.
44109 (c1): Likewise.
44110 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44111 Adjust comments for base varying.
44112 (__expl_finite): Change alias to EXPL_FINITE.
44113 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44114 tests for bugs.
44115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44116
6c23e11c
JM
44117 [BZ #14064]
44118 * math/libm-test.inc (check_float_internal): Correct ulp
44119 calculation for subnormal expected results.
44120
29ba805c
AJ
441212012-05-06 Andreas Jaeger <aj@suse.de>
44122
44123 * Makeconfig (+math-flags): New, set to -frounding-math.
44124 (+cflags): Add +math-flags so that all of glibc gets compiled with
44125 it.
44126
44127 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44128
7b17aeda
JM
441292012-05-05 Joseph Myers <joseph@codesourcery.com>
44130
5779f134
JM
44131 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44132 Disable one test.
44133
41498f4d
JM
44134 [BZ #13787]
44135 [BZ #13922]
44136 [BZ #14036]
44137 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44138 (__ieee754_expl): Allow for and saturate large arguments.
44139 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44140 (u_threshold): Likewise.
44141 (__exp): Call __ieee754_exp before checking for overflow and
44142 underflow.
44143 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44144 (u_threshold): Likewise.
44145 (__expf): Call __ieee754_expf before checking for overflow and
44146 underflow.
44147 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44148 (u_threshold): Likewise.
44149 (__expl): Call __ieee754_expl before checking for overflow and
44150 underflow.
44151 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44152 (__ieee754_expl): Allow for and saturate large arguments.
44153 * math/libm-test.inc (exp_test): Add another test. Do not allow
44154 missing overflow exception on overflow.
44155 (expm1_test): Do not allow missing overflow exception on overflow.
44156
6698b8bf
JM
44157 * sysdeps/i386/fpu/e_expl.c: Move to ...
44158 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44159 rather than using inline asm.
44160 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44161 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44162 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44163
7b17aeda
JM
44164 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44165 (nice): Likewise.
44166 (poll): Likewise.
44167 (signal): Likewise.
44168 (time): Likewise.
44169 (times): Likewise.
44170
f7c85819
JM
441712012-05-04 Joseph Myers <joseph@codesourcery.com>
44172
44173 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44174 sysdeps/unix/common/syscalls.list.
44175 (fchmod): Likewise.
44176 (fchown): Likewise.
44177 (ftruncate): Likewise.
44178 (getrusage): Likewise.
44179 (gettimeofday): Likewise.
44180 (setpgid): Likewise.
44181 (setregid): Likewise.
44182 (setreuid): Likewise.
44183 (sigaction): Likewise.
44184 (truncate): Likewise.
44185 (vhangup): Likewise.
44186 * sysdeps/unix/common/syscalls.list: Remove file.
44187 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44188 * sysdeps/unix/sysv/linux/Implies: Likewise.
44189
336270d0
L
441902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44191
44192 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44194 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44195 Moved to ...
44196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44197 Here.
44198 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44199 to ...
44200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44201 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44202 to ...
44203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44204 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44205 to ...
44206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44207 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44208 to ...
44209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44210 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44211 to ...
44212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44213 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44214 to ...
44215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44216 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44217 to ...
44218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44219 Here.
44220 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44221 to ...
44222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44223 Here.
44224 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44225 to ...
44226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44227 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44228 Moved to ...
44229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44230 Here.
44231 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44232 to ...
44233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44234
d128e450
JM
442352012-05-04 Joseph Myers <joseph@codesourcery.com>
44236
fa8ee516
JM
44237 * sysdeps/unix/common/bits/dirent.h: Remove file.
44238 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44239
d128e450
JM
44240 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44241 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44242 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44243 * sysdeps/unix/bsd/isatty.c: Likewise.
44244 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44245 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44246 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44247
ff8faaf0 442482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44249
62881be4 44250 [BZ #13563]
31dc8730
AZ
44251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44252 long double comparison inaccuracies.
44253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44255
6fef930c
AS
442562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44257
44258 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44260
8f203e6c
JM
442612012-05-04 Joseph Myers <joseph@codesourcery.com>
44262
44263 [BZ #14049]
44264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44265 nonzero digits before rounding a hex value.
44266 * stdlib/tst-strtod.c (tests): Add another test.
44267
5197d9c2
AK
442682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44269
44270 * sysdeps/s390/fpu/libm-test-ulps: Update.
44271
f0c1dedf
AJ
442722012-05-03 Andreas Jaeger <aj@suse.de>
44273
44274 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44275 does not get optimized out.
44276 (malloc_opt_barrier): New.
44277
a65ef2ae 442782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44279 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44280
2b942cb7 44281 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44282 intermediate file deletion.
2b942cb7 44283 (generated): Add .symlist files.
a65ef2ae 44284
54b71e02
JM
442852012-05-03 Joseph Myers <joseph@codesourcery.com>
44286
44287 [BZ #13775]
44288 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44289 Redirect under this condition.
44290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44291 [__USE_GNU] (__dprintf_chk): Not under this condition.
44292 [__USE_GNU] (__vdprintf_chk): Likewise.
44293 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44294 under this condition.
44295 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44296 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44297 [__USE_XOPEN2K8] (vdprintf): Likewise.
44298 [__USE_GNU] (__dprintf_chk): Not under this condition.
44299 [__USE_GNU] (__vdprintf_chk): Likewise.
44300 [__USE_GNU] (dprintf): Likewise.
44301 [__USE_GNU] (vdprintf): Likewise.
44302
d3dfcc41
RM
443032012-05-03 Roland McGrath <roland@hack.frob.com>
44304
44305 * elf/Makefile (common-generated): Set this instead of generated for
44306 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44307 $(all-built-dso)-derived lists.
44308
7ac30cc5
AJ
443092012-05-03 Andreas Jaeger <aj@suse.de>
44310
0c51e550
AJ
44311 * sysdeps/i386/fpu/libm-test-ulps: Update.
44312
7ac30cc5
AJ
44313 * FAQ: Removed.
44314 * FAQ.in: Likewise.
44315 * scripts/gen-FAQ.pl: Likewise.
44316 * manual/install.texi (Installation): Point to online location of
44317 FAQ.
44318 * Makefile (files-for-dist): Remove FAQ.
44319 (FAQ): Remove.
44320
d4c2917f
AM
443212012-05-02 Allan McRae <allan@archlinux.org>
44322
44323 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44324 (LDFLAGS-reldepmod5.so): Likewise.
44325 (LDFLAGS-reldep6mod1.so): Likewise.
44326 (LDFLAGS-reldep6mod4.so): Likewise.
44327 (LDFLAGS-reldep8mod3.so): Likewise.
44328 (LDFLAGS-unload4mod1.so): Likewise.
44329 (LDFLAGS-unload4mod2.so): Likewise.
44330 (LDFLAGS-tst-initorder): Likewise.
44331 (LDFLAGS-tst-initordera2.so): Likewise.
44332 (LDFLAGS-tst-initordera3.so): Likewise.
44333 (LDFLAGS-tst-initordera4.so): Likewise.
44334 (LDFLAGS-tst-initorderb2.so): Likewise.
44335 (LDFLAGS-noload): Likewise.
44336 (LDFLAGS-next): Likewise.
44337 (LDFLAGS-order2mod1.so): Likewise.
44338 (LDFLAGS-order2mod2.so): Likewise.
44339 (LDFLAGS-tst-initorder2): Likewise.
44340 (LDFLAGS-tst-initorder2a.so): Likewise.
44341 (LDFLAGS-tst-initorder2b.so): Likewise.
44342 (LDFLAGS-tst-initorder2c.so): Likewise.
44343 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44344
d77f993f
DM
443452012-05-02 David S. Miller <davem@davemloft.net>
44346
44347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44348
171a70b4
PP
443492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44350
44351 [BZ #14055]
44352 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44353
0be196ad
AJ
443542012-05-02 Andreas Jaeger <aj@suse.de>
44355
44356 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44357 since we manipulate rounding mode.
44358 (CPPFLAGS-test-idouble.c): Likewise.
44359 (CPPFLAGS-test-ifloat.c): Likewise.
44360 (CFLAGS-test-ldouble.c): Likewise.
44361 (CFLAGS-test-double.c): Likewise.
44362 (CFLAGS-test-float.c): Likewise.
44363 (CFLAGS-test-misc.c): Likewise.
44364 (CFLAGS-test-test-fenv.c): Likewise.
44365
4f9d04aa
AZ
443662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44367
2b942cb7
RM
44368 [BZ #2550]
44369 [BZ #2570]
44370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44371 comparisons to determine direction to adjust input.
4f9d04aa 44372
82a79e7d
RM
443732012-05-01 Roland McGrath <roland@hack.frob.com>
44374
f5a01ca9
RM
44375 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44376 output to the target.
44377
90fe4186
RM
44378 * scripts/localplt.awk: New file.
44379 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44380 (check-localplt-CFLAGS): Variable removed.
44381 ($(all-built-dso:=.jmprel)): New static pattern rule.
44382 (generated): Add those targets.
44383 (localplt-built-dso): New variable.
44384 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44385
44386 * elf/check-localplt.c: File removed.
44387
82397ed6
RM
44388 * scripts/check-execstack.awk: New file.
44389 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44390 (check-execstack-CFLAGS): Variable removed.
44391 ($(objpfx)check-execstack.h): Target removed.
44392 ($(objpfx)execstack-default): New target.
44393 (generated): Add that instead of check-execstack.h.
44394 ($(all-built-dso:=.phdr)): New static pattern rule.
44395 (generated): Add those targets.
44396 * elf/check-execstack.c: File removed.
44397
82a79e7d
RM
44398 * scripts/check-textrel.awk: New file.
44399 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44400 (check-textrel-CFLAGS): Variable removed.
44401 (all-built-dso): Use := to define.o
44402 ($(all-built-dso:=.dyn)): New static pattern rule.
44403 (generated): Add those targets.
44404 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44405 * config.make.in (READELF): New substituted variable.
44406 * elf/check-textrel.c: File removed.
44407
62fde54f 444082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44409
615605c9
JM
44410 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44411 allow.
44412 * conform/data/ctype.h-data [C99-based standards] (isblank):
44413 Expect function.
44414 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44415 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44417 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44418 Specify type. Require positive value.
44419 (EILSEQ): Likewise.
44420 (ERANGE): Likewise.
44421 [ISO || POSIX] (EILSEQ): Do not expect.
44422 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44423 Specify type. Require positive value.
44424 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44425 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44426 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44427 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44428 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44429 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44430 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44431 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44432 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44433 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44434 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44435 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44436 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44437 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44438 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44439 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44440 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44441 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44442 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44443 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44444 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44445 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44446 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44447 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44448 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44449 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44450 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44451 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44452 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44453 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44454 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44455 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44456 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44457 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44458 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44459 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44460 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44461 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44462 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44463 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44464 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44465 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44466 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44467 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44468 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44469 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44470 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44471 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44472 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44473 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44474 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44475 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44476 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44477 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44478 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44479 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44480 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44481 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44482 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44483 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44484 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44485 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44486 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44487 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44488 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44489 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44490 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44491 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44492 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44493 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44494 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44495 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44496 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44497 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44498 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44499 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44500 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44501 Require >= 2.
44502 (FLT_ROUNDS): Expect as macro, not constant.
44503 (FLT_MANT_DIG): Use macro-int-constant.
44504 (DBL_MANT_DIG): Likewise.
44505 (LDBL_MANT_DIG): Likewise.
44506 (FLT_DIG): Likewise.
44507 (DBL_DIG): Likewise.
44508 (LDBL_DIG): Likewise.
44509 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44510 (DBL_MIN_EXP): Likewise.
44511 (LDBL_MIN_EXP): Likewise.
44512 (FLT_MAX_EXP): Use macro-int-constant.
44513 (DBL_MAX_EXP): Likewise.
44514 (LDBL_MAX_EXP): Likewise.
44515 (FLT_MAX_10_EXP): Likewise.
44516 (DBL_MAX_10_EXP): Likewise.
44517 (LDBL_MAX_10_EXP): Likewise.
44518 (FLT_MAX): Use macro-constant.
44519 (DBL_MAX): Likewise.
44520 (LDBL_MAX): Likewise.
44521 (FLT_EPSILON): Use macro-constant. Give upper bound.
44522 (DBL_EPSILON): Likewise.
44523 (LDBL_EPSILON): Likewise.
44524 (FLT_MIN): Likewise.
44525 (DBL_MIN): Likewise.
44526 (LDBL_MIN): Likewise.
44527 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44528 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44529 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44530 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44531 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44532 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44533 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44534 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44535 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44536 [ISO11] (FLT_TRUE_MIN): Likewise.
44537 [ISO11] (LDBL_TRUE_MIN): Likewise.
44538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44539 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44540 (SCHAR_MIN): Use macro-int-constant. Specify type.
44541 (SCHAR_MAX): Likewise.
44542 (UCHAR_MAX): Likewise.
44543 (CHAR_MIN): Likewise.
44544 (CHAR_MAX): Likewise.
44545 (MB_LEN_MAX): Use macro-int-constant.
44546 (SHRT_MIN): Use macro-int-constant. Specify type.
44547 (SHRT_MAX): Likewise.
44548 (USHRT_MAX): Likewise.
44549 (INT_MAX): Likewise.
44550 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44551 bound negative.
44552 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44553 bound with "U".
44554 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44555 bound with "L".
44556 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44557 bound negative. Suffix upper bound with "L".
44558 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44559 bound with "UL".
44560 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44561 Specify type.
44562 [C99-based standards] (LLONG_MAX): Likewise.
44563 [C99-based standards] (ULLONG_MAX): Likewise.
44564 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44565 == 0.
44566 [ISO11] (max_align_t): Require type.
44567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44568
c9140a62
JM
44569 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44570 from $CFLAGS, without defining away __attribute__ calls.
44571 (checknamespace): Use $CFLAGS_namespace.
44572
9af0bf29
JM
44573 * conform/conformtest.pl (@keywords): Only include C99 keywords
44574 for standards based on C99 or C11.
44575
343222a2
JM
44576 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44577 Disable tests.
44578 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44579 UNIX98]: Likewise.
44580
661f8cf0
JM
44581 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44582 usability of symbols in #if.
44583
ee74b9cb
JM
44584 * conform/conformtest.pl: If macro or constant types start
44585 "promoted:", expect the symbol to be of the following type
44586 promoted by the integer promotions.
62fde54f 44587
aafc49b3
JM
44588 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44589 in one place. Also handle "macro-constant".
44590
fefdf574
JM
44591 * conform/conformtest.pl: Only accept expected macro values with
44592 "==". Parse all "macro" lines in one place.
44593 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44594
f2d922fe
JM
44595 * conform/conformtest.pl: Handle braced types on "constant" lines
44596 instead of handling "typed-constant".
44597 * conform/data/signal.h-data: Use "constant" instead of
44598 "typed-constant".
44599
d22956c9
JM
44600 * conform/conformtest.pl: Handle "optional-" at start of lines in
44601 one place rather than duplicating several cases. Handle each
44602 format of "macro" line with initial "optional-".
44603
028e2e38
JM
44604 * conform/conformtest.pl: Only accept expected constant or
44605 optional-constant values with "==". Parse all "constant" lines in
44606 one place. Parse all "optional-constant" lines in one place.
44607 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44608 * conform/data/fmtmsg.h-data: Likewise.
44609 * conform/data/netinet/in.h-data: Likewise.
44610 * conform/data/tar.h-data: Likewise.
44611 * conform/data/limits.h-data: Use "==" form on "constant" and
44612 "optional-constant" lines.
44613
1b8f2850
JM
44614 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44615 Use -std=c99 for XOPEN2K.
44616 (@knownproblems): Remove.
44617 (newtoken): Don't check %isknown.
44618
a05a144b
JM
44619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44620 Do not expect macro.
44621 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44622 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44623 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44624 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44625 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44626 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44627 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44628 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44629 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44630 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44631 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44632 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44633 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44634 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44635 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44636 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44637 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44638 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44639 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44640 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44641 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44645 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44646 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44647 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44648 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44649 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44650 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44651 [XPG3] (acosh): Likewise.
44652 [XPG3] (asinh): Likewise.
44653 [XPG3] (atanh): Likewise.
44654 [XPG3] (cbrt): Likewise.
44655 [XPG3] (expm1): Likewise.
44656 [XPG3] (ilogb): Likewise.
44657 [XPG3] (log1p): Likewise.
44658 [XPG3] (logb): Likewise.
44659 [XPG3] (nextafter): Likewise.
44660 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44661 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44662 [XPG3] (remainder): Likewise.
44663 [XPG3] (rint): Likewise.
44664 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44665 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44666 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44667 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44668 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44669 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44670 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44671 [UNIX98 || XOPEN2K] (scalb): Expect.
44672 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44673 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44674 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44675 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44676 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44677 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44678 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44679 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44680 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44681 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44682 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44683 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44684 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44685 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44686 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44687 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44688 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44689 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44690 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44691 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44692 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44693 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44694 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44695 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44696 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44697 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44698 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44699 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44700 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44701 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44702 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44703 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44704 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44705 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44706 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44707 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44708 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44709 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44710 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44711 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44712 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44713 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44714 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44715 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44716 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44717 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44718 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44719 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44720 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44721 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44722 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44723 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44724 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44725 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44726 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44727 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44728 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44729 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44730 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44731 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44732 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44733 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44734 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44735 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44736 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44737 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44738 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44739 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44740 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44741 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44742 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44743 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44744 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44745 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44746 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44747 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44748 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44749 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44750 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44751 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44752 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44753 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44754 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44755 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44756 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44757 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44758 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44759 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44760 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44761 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44762 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44763 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44764 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44765 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44766 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44767 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44768 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44769 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44770 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44771 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44772 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44773 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44774 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44775 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44776 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44777 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44778 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44779 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44780 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44781 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44782 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44783 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44784 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44785 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44786 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44787 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44788 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44789 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44790 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44791 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44792 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44793 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44794 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44795 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44796 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44797 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44798 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44799 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44800 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44801 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44802 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44803 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44804 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44805 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44806 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44807 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44808 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44809
73c5ebe3
JM
44810 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44811 _XOPEN_SOURCE_EXTENDED for XPG4.
44812
39c33b6c
JM
44813 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44814
62fde54f
JM
44815 * Makeconfig (localtime): Remove variable.
44816 (inst_localtime-file): Likewise.
44817
0741d64c
AS
448182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44819
44820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44821 Update.
44822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44823 Update.
44824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44825 Update.
44826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44827 Update.
44828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44829 Update.
44830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44831 Update.
44832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44833 Update.
44834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44835 Update.
44836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44837 Update.
44838
7cb029ee
JM
448392012-05-01 Joseph Myers <joseph@codesourcery.com>
44840
44841 [BZ #2550]
44842 [BZ #2570]
44843 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44844 comparisons to determine direction to adjust input.
44845 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44846 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44848 Likewise.
44849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44850 Likewise.
44851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44852 Likewise.
44853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44855 Likewise.
44856 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44857 Likewise.
44858 * math/libm-test.inc (nexttoward_test): Add more tests.
44859
412bd966
AS
448602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44861
44862 [BZ #14040]
44863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44864 in version GLIBC_2.1, not GLIBC_2.0.
44865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44866 Likewise.
44867
9568c0c2
JM
448682012-04-30 Joseph Myers <joseph@codesourcery.com>
44869
adfbc8ac
JM
44870 [BZ #13942]
44871 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44872 (1 - x) * (1 + x).
44873 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44874 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44875 * math/libm-test.inc (acos_test): Add more tests.
44876 (asin_test): Likewise.
44877 * sysdeps/i386/fpu/libm-test-ulps: Update.
44878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44879
5ba3cc69
JM
44880 [BZ #14034]
44881 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44882 of square root.
44883 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44885 * math/libm-test.inc (acos_test_tonearest): New function.
44886 (acos_test_towardzero): Likewise.
44887 (acos_test_downward): Likewise.
44888 (acos_test_upward): Likewise.
44889 (asin_test_tonearest): Likewise.
44890 (asin_test_towardzero): Likewise.
44891 (asin_test_downward): Likewise.
44892 (asin_test_upward): Likewise.
44893 (main): Call the new functions.
44894 * sysdeps/i386/fpu/libm-test-ulps: Update.
44895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44896
9568c0c2
JM
44897 [BZ #13884]
44898 [BZ #13924]
44899 * math/e_exp10.c: Include <float.h>.
44900 (__ieee754_exp10): Handle underflow here rather than multiplying
44901 large negative argument by M_LN10.
44902 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44903 of __ieee754_expf.
44904 * math/e_exp10l.c: Include <float.h>.
44905 (__ieee754_exp10l): Handle underflow here rather than multiplying
44906 large negative argument by M_LN10l.
44907 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44908 spurious overflow exception on underflow.
44909
5ac3ea17
MP
449102012-04-29 Marek Polacek <polacek@redhat.com>
44911
44912 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44913 (__fortify_function): New macro.
44914 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44915 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44916 __extern_always_inline.
44917 * libio/bits/stdio2.h: Likewise.
44918 * libio/bits/stdio.h: Likewise.
44919 * string/string.h: Likewise.
44920 * string/bits/string3.h: Likewise.
44921 * include/stdio.h: Likewise.
44922 * stdlib/bits/stdlib.h: Likewise.
44923 * stdlib/stdlib.h: Likewise.
44924 * rt/bits/mqueue2.h: Likewise.
44925 * rt/mqueue.h: Likewise.
44926 * posix/bits/unistd.h: Likewise.
44927 * posix/unistd.h: Likewise.
44928 * io/bits/poll2.h: Likewise.
44929 * io/bits/fcntl2.h: Likewise.
44930 * io/fcntl.h: Likewise.
44931 * io/sys/poll.h: Likewise.
44932 * misc/bits/syslog.h: Likewise.
44933 * misc/bits/syslog-ldbl.h: Likewise.
44934 * misc/sys/syslog.h: Likewise.
44935 * socket/bits/socket2.h: Likewise.
44936 * socket/sys/socket.h: Likewise.
44937 * debug/tst-chk1.c: Likewise.
44938 * wcsmbs/bits/wchar2.h: Likewise.
44939 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44940 * wcsmbs/wchar.h: Likewise.
44941
ecf0ebfb
AJ
449422012-04-29 Andreas Jaeger <aj@suse.de>
44943
44944 * Makerules (tests): Remove enable-check-abi protection.
44945 (check-abi-warn): Remove.
44946 (check-abi-%): Remove check-abi-warn usage.
44947
44948 * configure.in: Remove check-abi configure option.
44949 * configure: Regenerated.
44950 * config.make.in (enable-check-abi): Remove.
44951
6d5c57fa
AS
449522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44953
24c5d07e 44954 [BZ #14033]
ded5180a
AS
44955 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44956 double functions to double *_finite functions.
44957
7e0d315d
AS
44958 [BZ #13941]
44959 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44960 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44961 LDBL_MIN_EXP.
44962 * stdio-common/Makefile (tests): Add tst-sprintf3.
44963 * stdio-common/tst-sprintf3.c: New file.
44964
6d5c57fa
AS
44965 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44966 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44967
0749ff8b
JM
449682012-04-28 Joseph Myers <joseph@codesourcery.com>
44969
44970 * conform/conformtest.pl: Remove duplicate typed-constant
44971 handling.
44972
8dbd5d7b
DM
449732012-04-28 David S. Miller <davem@davemloft.net>
44974
44975 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44976 (check-abi-%): Remove AWK script prerequisite and explicit
44977 abilist directory.
44978 (check-abi): Rewrite to just diff the symlist with the abilist.
44979 (config-tls, config-abi-config): Delete, no longer used.
44980 (update-abi-%): Remove AWK script and explicit abilist directory.
44981 (update-abi): Rewrite to simply compare and conditionally copy the
44982 symlist and the sysdep abilist file. Remove update-abi-config
44983 checks.
44984 * abilist/ld.abilist: Remove.
44985 * abilist/libBrokenLocale.abilist: Remove.
44986 * abilist/libanl.abilist: Remove.
44987 * abilist/libcrypt.abilist: Remove.
44988 * abilist/libdl.abilist: Remove.
44989 * abilist/librt.abilist: Remove.
44990 * abilist/libthread_db.abilist: Remove.
44991 * abilist/libutil.abilist: Remove.
44992 * scripts/extract-abilist.awk: Remove.
44993 * scripts/merge-abilist.awk: Remove.
44994 * sysdeps/generic/libcidn.abilist: New file.
44995 * sysdeps/generic/libnss_compat.abilist: New file.
44996 * sysdeps/generic/libnss_db.abilist: New file.
44997 * sysdeps/generic/libnss_dns.abilist: New file.
44998 * sysdeps/generic/libnss_files.abilist: New file.
44999 * sysdeps/generic/libnss_hesiod.abilist: New file.
45000 * sysdeps/generic/libnss_nis.abilist: New file.
45001 * sysdeps/generic/libnss_nisplus.abilist: New file.
45002 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45003 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45004 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45005 file.
45006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45007 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45008 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45009 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45010 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45011 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45012 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45013 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45014 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45015 file.
45016 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45017 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45018 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45019 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45020 file.
45021 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45022 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45023 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45025 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45026 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45027 file.
45028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45029 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45030 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45031 file.
45032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45034 New file.
45035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45036 New file.
45037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45038 New file.
45039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45040 New file.
45041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45042 New file.
45043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45044 New file.
45045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45046 New file.
45047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45048 New file.
45049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45050 New file.
45051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45052 New file.
45053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45054 New file.
45055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45056 New file.
45057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45058 New file.
45059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45060 file.
45061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45062 New file.
45063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45064 New file.
45065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45066 file.
45067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45068 New file.
45069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45070 New file.
45071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45072 file.
45073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45074 New file.
45075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45076 New file.
45077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45078 New file.
45079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45080 New file.
45081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45082 New file.
45083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45084 New file.
45085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45087 file.
45088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45089 New file.
45090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45091 file.
45092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45093 file.
45094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45095 file.
45096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45097 file.
45098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45099 file.
45100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45101 New file.
45102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45103 file.
45104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45105 file.
45106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45107 New file.
45108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45109 file.
45110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45112 file.
45113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45114 New file.
45115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45116 file.
45117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45118 file.
45119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45120 file.
45121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45122 file.
45123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45124 file.
45125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45126 New file.
45127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45128 file.
45129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45130 file.
45131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45132 New file.
45133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45134 file.
45135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45136 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45137 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45138 file.
45139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45140 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45141 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45142 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45143 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45144 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45145 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45146 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45147 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45148 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45151 file.
45152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45153 New file.
45154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45155 file.
45156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45157 file.
45158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45159 file.
45160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45161 file.
45162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45163 file.
45164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45165 New file.
45166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45167 New file.
45168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45169 file.
45170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45171 New file.
45172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45173 file.
45174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45176 file.
45177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45178 New file.
45179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45180 file.
45181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45182 file.
45183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45184 file.
45185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45186 file.
45187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45188 file.
45189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45190 New file.
45191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45192 New file.
45193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45194 file.
45195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45196 New file.
45197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45198 file.
45199
41d73a1b
JM
452002012-04-28 Joseph Myers <joseph@codesourcery.com>
45201
45202 * conform/conformtest.pl: Fix typo in handling typed-constant from
45203 allow-header.
45204
28aeeda4
JM
452052012-04-27 Joseph Myers <joseph@codesourcery.com>
45206
adae8f5e
JM
45207 * README: Cut down references to pre-2.6 Linux kernels and
45208 Linuxthreads. Update lists of configurations in libc and ports
45209 and sort alphabetically. Say "or newer" with Linux kernel version
45210 requirements.
45211
28aeeda4
JM
45212 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45213
a462cb63
RA
452142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45215
45216 [BZ #887]
45217 * math/libm-test.inc (logb_test_downward): New test to expose
45218 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45219 rounding mode.
45220
6ad3493e
JM
452212012-04-27 Joseph Myers <joseph@codesourcery.com>
45222
45223 [BZ #14027]
45224 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45225 to be done.
45226 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45227 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45228
2ce4f015
JM
452292012-04-26 Joseph Myers <joseph@codesourcery.com>
45230
5aeb141a
JM
45231 * sysdeps/unix/i386/brk.S: Remove file.
45232 * sysdeps/unix/i386/dl-brk.S: Likewise.
45233 * sysdeps/unix/i386/pipe.S: Likewise.
45234 * sysdeps/unix/i386/sigreturn.S: Likewise.
45235 * sysdeps/unix/i386/syscall.S: Likewise.
45236 * sysdeps/unix/i386/vfork.S: Likewise.
45237 * sysdeps/unix/i386/wait.S: Likewise.
45238
7143acae
JM
45239 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45240 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45241
2ce4f015
JM
45242 * configure.in (arm*-none*): Do not allow without
45243 --enable-hacker-mode.
45244 (netbsd*): Remove case setting base_os.
45245 (386bsd*): Likewise.
45246 (freebsd*): Likewise.
45247 (bsdi*): Likewise.
45248 (osf*): Likewise.
45249 (sunos*): Likewise.
45250 (ultrix*): Likewise.
45251 (newsos*): Likewise.
45252 (dynix*): Likewise.
45253 (*bsd*): Likewise.
45254 (sysv*): Likewise.
45255 (isc*): Likewise.
45256 (esix*): Likewise.
45257 (sco*): Likewise.
45258 (minix*): Likewise.
45259 (irix4*): Likewise.
45260 (irix6*): Likewise.
45261 (solaris[2-9]*): Likewise.
45262 (none): Likewise.
45263 * configure: Regenerated.
45264
0ac229c8
AZ
452652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45266
45267 [BZ #11521]
45268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45269 overflow or cancellation in calculating denominator.
45270 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45272 down expression to avoid unexpected rounding in newer GCCs.
45273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45274
33f244f4
DM
452752012-04-26 David S. Miller <davem@davemloft.net>
45276
45277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45278 long-double compat symbols.
45279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45292
cfa1f3e8
DM
452932012-04-25 David S. Miller <davem@davemloft.net>
45294
45295 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45296 HWCAP_* values only after the memory barriers have been defined.
45297 (atomic_full_barrier): Define.
45298 (atomic_read_barrier): Define.
45299 (atomic_write_barrier): Define.
45300
6e236b92
SP
453012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45302
45303 * shlib-versions: Add libgcc_s version information.
45304 * sysdeps/generic/libgcc_s.h: Remove.
45305 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45306 libgcc_s.h.
45307 * sysdeps/gnu/unwind-resume.c: Likewise.
45308 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45309
aab39a09
DM
453102012-04-25 David S. Miller <davem@davemloft.net>
45311
45312 * sysdeps/unix/sparc/brk.S: Delete.
45313 * sysdeps/unix/sparc/dl-brk.S: Delete.
45314 * sysdeps/unix/sparc/pipe.S: Delete.
45315 * sysdeps/unix/sparc/sysdep.S: Delete.
45316 * sysdeps/unix/sparc/sysdep.h: Delete.
45317 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45318 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45319 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45321 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45322 (JUMPTARGET): Remove.
45323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45324 sysdeps/unix/sparc/sysdep.h
45325 (ENTRY, END): Remove.
45326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45327
a3cc4f48
JM
453282012-04-25 Joseph Myers <joseph@codesourcery.com>
45329
2ed8cda2
JM
45330 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45331 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45332 -DIS_IN_build.
45333
35d76d59
JM
45334 * timezone/README: Update upstream location and email address for
45335 tzcode and tzdata.
45336 * timezone/zdump.c: Update from tzcode 2012b.
45337 * timezone/zic.c: Likewise.
45338
a3cc4f48
JM
45339 * configure.in (libc_cv_as_needed): Remove test.
45340 * configure: Regenerated.
45341 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45342 conditional definition.
45343 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45344 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45345 * config.make.in (have-as-needed): Remove variable.
45346
ceab42c3
SP
453472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45348 Paul Pluzhnikov <ppluzhnikov@google.com>
45349
45350 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45351 strings correctly.
45352
3ce2865f
CLT
453532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45354
45355 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45356 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45357 * sysdeps/sh/strlen.S: Likewise.
45358
f37e0d68
JM
453592012-04-24 Joseph Myers <joseph@codesourcery.com>
45360
ae186e9a
JM
45361 * sysdeps/unix/fork.S: Remove file.
45362 * sysdeps/unix/i386/fork.S: Likewise.
45363 * sysdeps/unix/sparc/fork.S: Likewise.
45364
b96914af
JM
45365 * sysdeps/unix/system.c: Remove file.
45366 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45367
f37e0d68
JM
45368 * sysdeps/unix/getegid.S: Remove file.
45369 * sysdeps/unix/geteuid.S: Likewise.
45370
87ef29ca
RM
453712012-04-24 Roland McGrath <roland@hack.frob.com>
45372
83bcd236
RM
45373 * scripts/check-localplt.awk: New file.
45374 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45375 of diff.
45376 * scripts/data/localplt-generic.data: Add a comment.
45377
87ef29ca
RM
45378 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45379 NODE when __dir_mkfile failed.
45380 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45381 Reported by Ludovic Courtès <ludo@gnu.org>.
45382
e5a6e567
AJ
453832012-04-24 Andreas Jaeger <aj@suse.de>
45384
45385 * Makerules (common-clean): Also remove gen-as-const-headers
45386 files.
45387
c1820385
JM
453882012-04-24 Joseph Myers <joseph@codesourcery.com>
45389
45390 * Makerules (native-compile): Do not change working directory for
45391 build. Use $(OUTPUT_OPTION) in command.
45392 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45393
94e02fc4
AZ
453942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45395
45396 [BZ #13886]
45397 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45398 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45399 * math/libm-test.inc (floor_test): Add more tests.
45400 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45401
3a533ca3
JM
454022012-04-24 Joseph Myers <joseph@codesourcery.com>
45403
940ab4b3
JM
45404 * sysdeps/unix/getdents.c: Remove file.
45405 * sysdeps/unix/sysv/getdents.c: Likewise.
45406 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45407
90e037bd
JM
45408 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45409 sysdeps/unix/mman/syscalls.list.
45410 (mmap): Likewise.
45411 (mprotect): Likewise.
45412 (msync): Likewise.
45413 (munmap): Likewise.
45414 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45415 * sysdeps/unix/mman/syscalls.list: Remove.
45416 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45417
3a533ca3
JM
45418 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45419 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45420 * configure: Regenerated.
45421 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45422 $(libgcc_s_suffix).
45423 * config.make.in (libgcc_s_suffix): Remove variable.
45424
1ad743de
JM
454252012-04-23 Joseph Myers <joseph@codesourcery.com>
45426
4ad451e2
JM
45427 * sysdeps/unix/sysv/gethostname.c: Move to ...
45428 * sysdeps/posix/gethostname.c: ... here.
45429
5e37ce39
JM
45430 * sysdeps/unix/execve.S: Remove file.
45431
1ad743de
JM
45432 * sysdeps/unix/_exit.S: Remove file.
45433
4e681b5b
AJ
454342012-04-23 Andreas Jaeger <aj@suse.de>
45435
45436 [BZ #13739]
45437 * manual/Makefile: Remove make dist support, there's no
45438 need for a stand-alone documentation tar ball.
45439 (TEXI2DVI): Define always, it's not in Makeconfig.
45440 (dist): Removed.
45441 (tar-it): Removed.
45442 (edition): Removed.
45443 (glibc-doc-$(edition).tar): Removed
45444 (%.Z): Removed.
45445 (%.gz): Removed.
45446 (%.uu): Removed.
45447 (ETAGS): Remove, it's in Makeconfig.
45448 (move-if-change): Remove, it's in Makeconfig.
45449
38686a03 454502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45451
45452 [BZ #13970]
45453 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45454 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45455 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45456 (strtod_l, strtof_l, strtold_l): Remove __wur.
45457 It is not necessarily an error to ignore strtol's return value.
45458 One can reliably look at the stored endptr to decide whether
45459 the number had valid syntax.
45460
7c0616fa
AJ
454612012-04-21 Andreas Jaeger <aj@suse.de>
45462
803cb6b7 45463 [BZ #13739]
7c0616fa
AJ
45464 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45465
b0fe253f
JM
454662012-04-21 Joseph Myers <joseph@codesourcery.com>
45467
45468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45469 * sysdeps/unix/sysv/Versions: Remove file.
45470
8280f22d
MT
454712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45472
45473 [BZ #13927]
45474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45475
75ce411f 454762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45477
45478 [BZ #7064]
45479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45480 version from __vm86.
45481
097d59fa
JM
454822012-04-20 Joseph Myers <joseph@codesourcery.com>
45483
a90f3bcb
JM
45484 * sysdeps/unix/common/lxstat.c: Remove file.
45485 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45486
edc7ea78
JM
45487 * sysdeps/unix/sysv/Makefile: Remove file.
45488
cb78c221
JM
45489 * sysdeps/unix/sysv/direct.h: Remove file.
45490
efa6a45f
JM
45491 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45492 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45493 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45494 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45495 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45496 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45497 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45498
9c9f2d0c
JM
45499 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45500
4541c83b
JM
45501 * sysdeps/unix/xmknod.c: Remove file.
45502 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45503
f5d153a0
JM
45504 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45505
aa746595
JM
45506 * sysdeps/unix/sysv/i386/time.S: Remove file.
45507
cce5905e
JM
45508 * sysdeps/unix/fxstat.c: Remove file.
45509 * sysdeps/unix/xstat.c: Likewise.
45510 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45511
37fa3841
JM
45512 * sysdeps/unix/sysv/sigaction.c: Remove file.
45513
ff1962a3
JM
45514 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45515 (sysdep_headers): Remove variable.
45516 [termio.h not in sysdep_headers] (generated): Likewise.
45517 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45518 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45519 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45520 * sysdeps/unix/sysv/tcflow.c: Likewise.
45521 * sysdeps/unix/sysv/tcflush.c: Likewise.
45522 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45523 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45524 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45525 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45526 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45527
e7740d31
JM
45528 * sysdeps/unix/siglist.c: Remove file.
45529
ee06f18b
JM
45530 * sysdeps/unix/getppid.S: Remove file.
45531
097d59fa
JM
45532 * sysdeps/unix/mkdir.c: Remove file.
45533 * sysdeps/unix/rmdir.c: Likewise.
45534
ff3d51ec
AS
455352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45536
45537 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45538 ERR_MAX value.
45539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45540 errlist-compat value.
45541
50f81fd7
DM
455422012-04-18 David S. Miller <davem@davemloft.net>
45543
45544 * sysdeps/generic/memcopy.h (reg_char): Delete.
45545 * debug/strcat_chk.c: Use char, not reg_char.
45546 * debug/strcpy_chk.c: Likewise.
45547 * debug/strncat_chk.c: Likewise.
45548 * debug/strncpy_chk.c: Likewise.
45549 * string/memchr.c: Likewise.
45550 * string/memrchr.c: Likewise.
45551 * string/rawmemchr.c: Likewise.
45552 * string/strcat.c: Likewise.
45553 * string/strchr.c: Likewise.
45554 * string/strchrnul.c: Likewise.
45555 * string/strcmp.c: Likewise.
45556 * string/strcpy.c: Likewise.
45557 * string/strncat.c: Likewise.
45558 * string/strncmp.c: Likewise.
45559 * string/strncpy.c: Likewise.
45560
8ff41c46
WS
455612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45562
45563 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45564 __builtin_memcopy is called when src and dest ranges are known to not
45565 overlap.
45566
6b652f46
WS
455672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45568
45569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45570 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45571 fwd_align_merge macro call.
45572 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45573 bwd_align_merge macro call.
45574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45575
b282631e
WS
455762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45577
45578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45579 bwd_align_merge macros.
45580 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45581 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45582 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45583
95aa737c
DM
455842012-04-18 David S. Miller <davem@davemloft.net>
45585
45586 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45587
7a99a614
AJ
455882012-04-18 Andreas Jaeger <aj@suse.de>
45589
45590 [BZ# 6794]
45591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45592 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45594
45595 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45596 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45598
45599 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45600 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45601 Adjust for changed ldbl-128 files.
45602
45603 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45604 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45606
e5270c23
DM
456072012-04-17 David S. Miller <davem@davemloft.net>
45608
45609 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45610
fb5e92c9
AS
456112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45612
45613 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45614 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45615 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45616 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45618 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45619
76da7265
AZ
456202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45621
45622 [BZ #6794]
45623 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45624 * math/libm-test.inc: Add ilogb errno and exception tests.
45625 * math/w_ilogb.c: New file: ilogb wrapper.
45626 * math/w_ilogbf.c: New file: ilogbf wrapper.
45627 * math/w_ilogbl.c: New file: ilogbl wrapper.
45628 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45629 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45630 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45631 exception being thrown with 0.0 as argument.
45632 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45633 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45634 exception being thrown with 0.0 as argument.
45635 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45636 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45637 exception being thrown with 0.0 as argument.
45638 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45639 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45640 exception being thrown with 0.0 as argument.
45641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45642 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45643 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45644 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45645 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45646 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45647 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45648 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45649 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45650
0396e69d
PB
456512012-04-17 Petr Baudis <pasky@ucw.cz>
45652
45653 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45654 with altivec.
45655
750b5926
MP
456562012-04-16 Marek Polacek <polacek@redhat.com>
45657
45658 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45659
751728a1
MP
456602012-04-16 Marek Polacek <polacek@redhat.com>
45661
45662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45663 operands of fdivp instruction.
45664
34a27407
L
456652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45666
45667 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45668 * elf/tst-auditmod3b.c: Likewise.
45669 * elf/tst-auditmod4b.c: Likewise.
45670 * elf/tst-auditmod5b.c: Likewise.
45671 * elf/tst-auditmod6b.c: Likewise.
45672 * elf/tst-auditmod6c.c: Likewise.
45673 * elf/tst-auditmod7b.c: Likewise.
45674 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45675 * sysdeps/x86_64/preconfigure.in: Likewise.
45676 * sysdeps/x86_64/preconfigure: Regenerated.
45677
7e73e17d
L
456782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45679
45680 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45681 __ILP32__.
45682
c7a6ab72
AB
456832012-04-13 Antoine Balestrat <merkil33@gmail.com>
45684
45685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45686 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45687
a9e8e0e0
CL
456882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45689
45690 [BZ #13973]
45691 * locale/iso-639.def: Fix gl language name. Spotted by
45692 Yaron Shahrabani.
45693
ec98af7d
RM
456942012-04-12 Roland McGrath <roland@hack.frob.com>
45695
45696 [BZ #2074]
45697 * libio/libio.h (__io_write_fn): Update comment.
45698
247c3ede
PB
456992012-04-12 Petr Baudis <pasky@ucw.cz>
45700
45701 [BZ #2074]
45702 * stdio.texi (Hook Functions): The user provided writer function
45703 is not allowed to return -1.
45704
55939d6d
DM
457052012-04-11 David S. Miller <davem@davemloft.net>
45706
45707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45708
90020f5a
MF
457092012-04-11 Mike Frysinger <vapier@gentoo.org>
45710
45711 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45712 Add a leading slash to rtkaio.
45713
288f9098
JM
457142012-04-11 Jim Meyering <meyering@redhat.com>
45715
90020f5a
MF
45716 [BZ #11959]
45717 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45718 It is not necessarily an error to ignore fwrite's return
45719 value. One can reliably use ferror to test for errors after
45720 the fact.
288f9098 45721
4be2b570
L
457222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45723
45724 * bits/types.h (__snseconds_t): New type.
45725 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45726
45727 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45729 (__SNSECONDS_T_TYPE): Likewise.
45730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45731 (__SNSECONDS_T_TYPE): Likewise.
45732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45733 (__SNSECONDS_T_TYPE): Likewise.
45734
288f9098 457352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45736
45737 [BZ #2636]
45738 * manual/time.texi (Processor Time): Return type of times is
45739 elapsed real time since an arbitrary point in the past.
45740 (CPU Time): Move CLK_TCK from here...
45741 (Processor Time): ...to here. Correct description.
45742 * manual/conf.texi (Constants for Sysconf): Correct description of
45743 _SC_CLK_TCK.
45744
d7dd4413
DM
457452012-04-10 David S. Miller <davem@davemloft.net>
45746
45747 [BZ #13967]
45748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45749 where the is a gap between DT_REL(A) and DT_JMPREL.
45750
b46068fc
L
457512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45752
45753 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45754 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45755 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45756
73d65cc3
SP
457572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45758
45759 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45760 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45761 (dl_main): Handle --inhibit-cache.
45762 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45763 _dl_inhibit_cache.
45764 * elf/dl-load.c (_dl_map_object): Use it.
45765 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45766
bcc8d661
JM
457672012-04-09 Joseph Myers <joseph@codesourcery.com>
45768
8f9a2fae
JM
45769 [BZ #13872]
45770 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45771 (__ieee754_powl): Saturate large exponents rather than testing for
45772 overflow of y*log2(x).
45773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45774 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45775 exceptions.
45776
bcc8d661
JM
45777 [BZ #11521]
45778 * math/s_ctan.c: Include <float.h>.
45779 (__ctan): Avoid internal overflow or cancellation in calculating
45780 denominator.
45781 * math/s_ctanf.c: Likewise.
45782 * math/s_ctanl.c: Likewise.
45783 * math/s_ctanh.c: Likewise.
45784 * math/s_ctanhf.c: Likewise.
45785 * math/s_ctanhl.c: Likewise.
45786 * math/libm-test.inc (ctan_test): Add more tests.
45787 (ctanh_test): Likewise.
45788 * sysdeps/i386/fpu/libm-test-ulps: Update.
45789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45790
823fbbb4
AJ
457912012-04-09 Andreas Jaeger <aj@suse.de>
45792
03879793
AJ
45793 [BZ #6894]
45794 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45795 is an optional BSD extension.
45796
823fbbb4
AJ
45797 [BZ #10254]
45798 * manual/stdio.texi (Opening Streams): Document additional fopen
45799 parameters.
45800
8de131cb
RM
458012012-04-09 Roland McGrath <roland@hack.frob.com>
45802
45803 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45804 %eax without telling the compiler.
45805
c0ed9d7d
CD
458062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45807
45808 [BZ # 13963]
45809 * manual/install.texi: Use sourceware.org.
45810
c483f6b4
JM
458112012-04-09 Joseph Myers <joseph@codesourcery.com>
45812
d7dd9453
JM
45813 [BZ #13873]
45814 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45815 (__ieee754_pow): Generate overflow and underflow using huge*huge
45816 and tiny*tiny rather than just returning constant infinity or zero
45817 for large exponents.
45818 * math/libm-test.inc (pow_test): Require overflow exceptions for
45819 applicable cases of large exponents.
45820
c483f6b4
JM
45821 [BZ #706]
45822 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45823 (__ieee754_pow): Use iterative multiplication algorithm only for
45824 integer exponents with absolute value below 1024. Check for odd
45825 integer exponents when using algorithm for real exponents.
45826 * math/libm-test.inc (pow_test): Add more tests.
45827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45828
d2de7579
JM
458292012-04-08 Joseph Myers <joseph@codesourcery.com>
45830
45831 [BZ #13705]
45832 * math/libm-test.inc (exp_test): Do not allow overflow exception
45833 on underflow test.
45834
f77f1232
AJ
458352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45836
45837 [BZ #13705]
45838 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45839 instead of __kernel_standard_f.
45840
3884932b
MF
458412012-04-08 Mike Frysinger <vapier@gentoo.org>
45842
45843 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45844 * sysdeps/x86_64/memset_chk.S: Likewise.
45845
54472e9c
AJ
458462012-04-08 Andreas Jaeger <aj@suse.de>
45847
6ab0fbfc
AJ
45848 [BZ #10153]
45849 * manual/startup.texi (Environment Access): Describe return value
45850 for putenv and setenv.
45851
61efba8c
AJ
45852 [BZ #6895]
45853 * manual/filesys.texi (Directory Entries): Add description for
45854 DT_LNK.
45855
95c3f29a
AJ
45856 [BZ #6890]
45857 * manual/filesys.texi (Directory Entries): Clarify that it's file
45858 system not operating system in the description of DT_UNKNOWN.
45859
54472e9c
AJ
45860 [BZ #6578]
45861 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45862
624254b1
SC
458632012-04-08 Stephen Compall <s11@member.fsf.org>
45864
45865 [BZ #6649]
45866 * manual/llio.texi (Opening and Closing Files): Add cross
45867 reference to explain mode argument.
45868
1e4920e0
MF
458692012-04-07 Mike Frysinger <vapier@gentoo.org>
45870
45871 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45872 * sysdeps/x86_64/memset_chk.S: Likewise.
45873
5ed848f3
DM
458742012-04-07 David S. Miller <davem@davemloft.net>
45875
45876 * elf/elf.h (R_SPARC_WDISP10): Define.
45877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45878 R_SPARC_SIZE32.
45879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45880 R_SPARC_SIZE64 and R_SPARC_H34.
45881
96154cd8
CD
458822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45883
45884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45885 conditions and remove no longer applicable assertion.
45886
9904dc47
L
458872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45888
45889 * bits/byteswap.h: Include <features.h>.
45890 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45891 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45892
f8887d0a
L
458932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45894
45895 * bits/byteswap.h (__bswap_16): Removed.
45896 Include <bits/byteswap-16.h> to get __bswap_16.
45897 * sysdeps/i386/bits/byteswap.h: Likewise.
45898 * sysdeps/s390/bits/byteswap.h: Likewise.
45899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45900 * bits/byteswap-16.h: New file.
45901 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45902 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45903 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45904 * string/Makefile (headers): Add bits/byteswap-16.h.
45905
62470f60
PP
459062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45907
45908 [BZ #13895]
45909 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45910 extra indirection.
45911 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45912 * nss/tst-nss-static.c: New.
45913
4dad7bab
RM
459142012-04-06 Robert Millan <rmh@gnu.org>
45915
45916 [BZ #6486]
45917 * manual/llio.texi (File Position Primitive): lseek
45918 refers to WHENCE when it really means OFFSET.
45919
e9142a17
AJ
459202012-04-06 Andreas Jaeger <aj@suse.de>
45921
2c040eff
AJ
45922 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45923 strncmp declarations.
45924
e9142a17
AJ
45925 * abilist/libc.abilist: Add __poll and __ppoll.
45926
ff9f1c5f
DM
459272012-04-05 David S. Miller <davem@davemloft.net>
45928
dcd2ae90
DM
45929 * scripts/check-local-headers.sh: Accept a host triplet in the
45930 path matched by the exclude regexp.
45931
993eb054
DM
45932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45933 definition.
45934 * sysdeps/powerpc/powerpc32/dl-machine.h
45935 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45936 * sysdeps/s390/s390-32/dl-machine.h
45937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45938 * sysdeps/sparc/sparc32/dl-machine.h
45939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45940 * sysdeps/sparc/sparc64/dl-machine.h
45941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45942
ff9f1c5f
DM
45943 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45944 lazy binding.
48e2e132 45945 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45946 undefined symbol errors.
45947
48e2e132 45948 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45949 DT_NEEDED entries.
45950
e80d6f94
MM
459512012-04-05 Michael Matz <matz@suse.de>
45952
45953 [BZ #13592]
45954 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45955
349fa79f
AJ
459562012-04-05 Andreas Jaeger <aj@suse.de>
45957
45958 [BZ #13908]
45959 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45960 comment.
45961
f402708f
KK
459622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45963
45964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45965 which ROUND is no valid rounding mode.
45966
2ecccfc9
KK
459672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45968
45969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45970 read again.
45971 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45972
8a53f50f
KK
459732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45974
45975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45976 an exception using FPU order intentionally.
45977
459782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45979
45980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45981 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45982 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45983 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45984
d653abb7
SJ
459852012-04-05 Simon Josefsson <simon@josefsson.org>
45986
45987 [BZ #12340]
45988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45989 EINVAL when BUFLEN is too smal.
45990
c3b1bf7d
TS
459912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45992
45993 [BZ #13553]
45994 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45995 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45996
b1aa60f3
AJ
459972012-04-03 Andreas Jaeger <aj@suse.de>
45998
c3b1bf7d 45999 [BZ #13938]
67f60a26
AJ
46000 * manual/setjmp.texi (System V contexts): Fix sentence.
46001
b1aa60f3
AJ
46002 [BZ #13926]
46003 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46004 New macro for this case.
46005 [!__GNUC__] (__bswap_64): New inline function for this case.
46006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46007 * bits/byteswap.h: Likewise.
46008 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46009 ull, guard with __GLIBC_HAVE_LONG_LONG.
46010
46011 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46012 __GLIBC_HAVE_LONG_LONG.
46013
46014 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46015 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46016
39c59c35
TMQMF
460172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46018
46019 [BZ #13691]
46020 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46021 inptr and inend, rather than using last_ch.
46022
135ffda8
DM
460232012-04-02 David S. Miller <davem@davemloft.net>
46024
46025 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46026 * stdio-common/printf-parse.h (read_int): Change return type to
46027 'int', return -1 on INT_MAX overflow.
46028 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46029 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46030 overflows INT_MAX. Check for overflow of in-format-string precision
46031 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46032 SIZE_MAX not INT_MAX for integer overflow test.
46033 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46034 skip the construct in the format string but do not record anything.
46035 * stdio-common/bug22.c: Adjust to test both width/prevision
46036 INT_MAX overflow as well as total length INT_MAX overflow. Check
46037 explicitly for proper errno values.
46038
228c019e
TS
460392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46040
302cadd3
TS
46041 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46042 CHAR_MAX.
46043 * string/test-strcmp.c [! WIDE]: Likewise.
46044 * time/tst-mktime2.c: Likewise for INT_MAX.
46045 * string/test-string.h: #include <sys/param.h> for MIN.
46046
228c019e
TS
46047 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46048 * sysdeps/i386/init-first.c (init): Likewise.
46049 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46050 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46051 * sysdeps/sh/init-first.c (init): Likewise.
46052
cfa633f5
UD
460532012-04-01 Ulrich Drepper <drepper@gmail.com>
46054
46055 * po/ru.po: Update from translation team.
d1635ef8 46056 * po/vi.po: Likewise.
cfa633f5 46057
6cd0a5ea
SP
460582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46059
46060 * resolv/nss_dns/dns-host.c: Merge copyright years.
46061
4b43400f
LD
460622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46063
46064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46065 Optimize memcpy with prefetch if
46066 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46067 src, dst pointers have unequal 16 byte alignments.
46068
48c41d04
SP
460692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46070
46071 [BZ #13928]
46072 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46073 from a CNAME entry and return the minimum ttl for the query.
46074 (gaih_getanswer_slice): Likewise.
46075
b8dc394d
JL
460762012-03-30 Jeff Law <law@redhat.com>
46077
46078 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46079 due to long keys.
46080 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46081 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46082
2f5a5ed0
JL
46083 * resolv/nss_dns/dns-host.c: Update copyright year.
46084
1d39e359
UD
460852012-03-30 Ulrich Drepper <drepper@gmail.com>
46086
c030f70c 46087 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46088 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46089
1d39e359
UD
46090 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46091 comments for sendmmsg.
46092
460932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46094
46095 [BZ #13691]
46096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46097 with only 1 character between 0x0041 and 0x01b0.
46098 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46099 * wcsmbs/tst-mbsnrtowcs.c: New file.
46100
20fde227
DM
461012012-03-29 David S. Miller <davem@davemloft.net>
46102
46103 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46104 small copies by hand.
46105
984a4237
JL
461062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46107
46108 [BZ #13761]
57f41c40
AS
46109 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46110 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46111 group memberships.
984a4237 46112
18c9d62b
DM
461132012-03-28 David S. Miller <davem@davemloft.net>
46114
88d85d4f
DM
46115 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46116 that branches into memcpy.
46117 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46120 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46122 bits.
46123 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46124 implementation too.
46125 * sysdeps/sparc/mempcpy.S: New file.
46126
e5aa83e1
DM
46127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46128 the IFUNC routine in the libc case.
46129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46130
88570753
DM
46131 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46133 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46134 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46135 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46136 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46137 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46138 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46139
249d7567
DM
46140 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46141 loop to 256 bytes instead of 64 bytes and fix test signedness.
46142
18c9d62b
DM
46143 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46144 * sysdeps/sparc/sparc32/Makefile: rather than here...
46145 * sysdeps/sparc/sparc64/Makefile: and here.
46146
05f3d1f6
UD
461472012-03-28 Ulrich Drepper <drepper@gmail.com>
46148
46149 * malloc/mallocbug.c: Avoid warnings about unused variables.
46150
86ae07a8
JL
461512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46152
46153 [BZ #13760]
46154 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46155 in the right place. Discard and retry query if response is
46156 larger than input buffer size.
46157
41bf21a1
JM
461582012-03-28 Joseph Myers <joseph@codesourcery.com>
46159
d6270972
JM
46160 [BZ #369]
46161 [BZ #2678]
46162 [BZ #3866]
46163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46164 x for large integer exponent.
46165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46166 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46167 sign of result as needed afterwards.
46168 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46170 result for underflowing pow the same as for overflow.
46171 (__kernel_standard_l): Handle powl overflow and underflow here
46172 rather than calling __kernel_standard.
46173 * math/libm-test.inc (pow_test): Add more tests.
46174
414fca03 46175 [BZ #3868]
41bf21a1
JM
46176 [BZ #13879]
46177 [BZ #13910]
46178 [BZ #13911]
46179 [BZ #13912]
46180 [BZ #13913]
46181 [BZ #13915]
46182 [BZ #13916]
46183 [BZ #13917]
46184 [BZ #13918]
46185 [BZ #13919]
46186 [BZ #13920]
46187 [BZ #13921]
46188 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46189 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46190 (__kernel_standard_l): New function.
46191 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46192 __kernel_standard.
46193 * math/w_acosl.c (__acosl): Likewise.
46194 * math/w_asinl.c (__asinl): Likewise.
46195 * math/w_atan2l.c (__atan2l): Likewise.
46196 * math/w_atanhl.c (__atanhl): Likewise.
46197 * math/w_coshl.c (__coshl): Likewise.
46198 * math/w_exp10l.c (__exp10l): Likewise.
46199 * math/w_exp2l.c (__exp2l): Likewise.
46200 * math/w_fmodl.c (__fmodl): Likewise.
46201 * math/w_hypotl.c (__hypotl): Likewise.
46202 * math/w_j0l.c (__j0l, __y0l): Likewise.
46203 * math/w_j1l.c (__j1l, __y1l): Likewise.
46204 * math/w_jnl.c (__jnl, __ynl): Likewise.
46205 * math/w_lgammal.c (__lgammal): Likewise.
46206 * math/w_log10l.c (__log10l): Likewise.
46207 * math/w_log2l.c (__log2l): Likewise.
46208 * math/w_logl.c (__logl): Likewise.
46209 * math/w_powl.c (__powl): Likewise.
46210 * math/w_remainderl.c (__remainderl): Likewise.
46211 * math/w_scalbl.c (sysv_scalbl): Likewise.
46212 * math/w_sinhl.c (__sinhl): Likewise.
46213 * math/w_sqrtl.c (__sqrtl): Likewise.
46214 * math/w_tgammal.c (__tgammal): Likewise.
46215 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46216 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46217 * math/libm-test.inc (acos_test): Add more tests.
46218 (acosh_test): Likewise.
46219 (asin_test): Likewise.
46220 (atanh_test): Likewise.
46221 (exp_test): Likewise.
46222 (exp10_test): Likewise.
46223 (exp2_test): Likewise.
46224 (expm1_test): Likewise.
46225 (lgamma_test): Likewise.
46226 (log_test): Likewise.
46227 (log10_test): Likewise.
46228 (log1p_test): Likewise.
46229 (log2_test): Likewise.
46230 (pow_test): Do not allow some spurious overflow exceptions.
46231 (sqrt_test): Add more tests.
46232 (tgamma_test): Likewise.
46233 (y0_test): Likewise.
46234 (y1_test): Likewise.
46235 (yn_test): Likewise.
46236
dd62fda6
AB
462372012-03-27 Anton Blanchard <anton@samba.org>
46238
46239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46240 MAP_HUGETLB.
46241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46244
1e3cdfda
AJ
462452012-03-27 David S. Miller <davem@davemloft.net>
46246
b855ab85
DM
46247 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46248
1e3cdfda
AJ
46249 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46250 have-as-vis3 check.
46251
462522012-03-27 Andreas Jaeger <aj@suse.de>
46253
46254 * sysdeps/x86_64/elf/configure.in: Moved to ...
46255 * sysdeps/x86_64/configure.in: ... here.
46256 * sysdeps/x86_64/elf/start.S: Moved to ...
46257 * sysdeps/x86_64/start.S: ... here.
46258 * sysdeps/x86_64/elf/configure: Delete.
46259
46260 * sysdeps/x86_64/configure.in: Merge contents from
46261 sysdeps/i386/configure.in (without i686 check).
46262
46263 * sysdeps/i386/elf/Versions: Merge into ...
46264 * sysdeps/i386/Versions: ... this.
46265 * sysdeps/i386/elf/Versions: Delete file.
46266 * sysdeps/i386/elf/start.S: Moved to ...
46267 * sysdeps/i386/start.S: ...here.
46268 * sysdeps/i386/elf/configure.in: Merge into...
46269 * sysdeps/i386/configure.in: ...here.
46270 * sysdeps/i386/elf/configure.in: Delete file.
46271 * sysdeps/i386/elf/configure: Delete file.
46272
46273 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46274 * debug/backtracesyms.c: ... here.
46275 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46276 * debug/backtracesymsfd.c: ... here.
46277 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46278 * sysdeps/generic/ifunc-sel.h: ... here.
46279
46280 * sysdeps/unix/i386/start.c: Delete file.
46281 * sysdeps/unix/sparc/start.c: Delete file.
46282 * sysdeps/unix/start.c: Delete file.
46283
46284 * sysdeps/sh/elf/configure.in: Moved to ...
46285 * sysdeps/sh/configure.in: ... here.
46286 * sysdeps/sh/elf/start.S: Moved to ...
46287 * sysdeps/sh/start.S: ... here.
46288 * sysdeps/sh/elf/configure: Delete file.
46289
46290 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46291 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46292 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46293 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46294 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46295 * sysdeps/powerpc/powerpc64/start.S: here.
46296 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46297 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46298 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46299 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46300 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46301
46302 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46303 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46304 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46305 * sysdeps/powerpc/powerpc32/start.S: ... here.
46306 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46307 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46308 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46309
46310 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46311 * sysdeps/powerpc/ifunc-sel.h: ... here.
46312 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46313 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46314
46315 * sysdeps/sparc/elf/configure.in: Moved to ...
46316 * sysdeps/sparc/configure.in: ... here.
46317 * sysdeps/sparc/elf/configure: Delete file.
46318 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46319 * sysdeps/sparc/sparc32/start.S: ... here.
46320 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46321 * sysdeps/sparc/sparc64/start.S: ... here.
46322 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46323 * sysdeps/sparc/sparc32/Makefile: ... this.
46324 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46325 * sysdeps/sparc/sparc64/Makefile: ... this.
46326
46327 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46328 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46329 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46330 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46331 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46332 * sysdeps/s390/s390-32/setjmp.S: ... here.
46333 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46334 * sysdeps/s390/s390-32/configure.in: ... here.
46335 * sysdeps/s390/s390-32/elf/configure: Delete file.
46336 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46337 * sysdeps/s390/s390-32/start.S: ... here.
46338
46339 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46340 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46341 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46342 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46343 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46344 * sysdeps/s390/s390-64/setjmp.S: ... here.
46345 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46346 * sysdeps/s390/s390-64/configure.in: ... here
46347 * sysdeps/s390/s390-64/elf/configure: Delete file.
46348 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46349 * sysdeps/s390/s390-64/start.S: ... here.
46350 * sysdeps/s390/s390-64/elf/configure: Delete.
46351
46352 * configure.in: Remove support for elf directories in sysdeps.
46353
46354 * configure: Regenerated.
46355 * sysdeps/i386/configure: Regenerated.
46356 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46357 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46358 * sysdeps/s390/s390-32/configure: Regenerated.
46359 * sysdeps/s390/s390-64/configure: Regenerated.
46360 * sysdeps/sh/configure: Regenerated.
46361 * sysdeps/sparc/configure: Regenerated.
46362 * sysdeps/x86_64/configure: Regenerated.
46363
a3f61311
AS
463642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46365
c876e002
AS
46366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46367
a3f61311
AS
46368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46369 denormal result into account.
46370
ac4c54f0
RM
463712012-03-25 Roland McGrath <roland@hack.frob.com>
46372
46373 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46374 Reported by Allan McRae <allan@archlinux.org>.
46375
6a9b9c02
JL
463762012-03-23 Jeff Law <law@redhat.com>
46377
46378 * nss/getnssent.c (__nss_getent): Fix typo.
46379
4c42a0c1
DM
463802012-03-23 David S. Miller <davem@davemloft.net>
46381
46382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46383
1532c7ac
L
463842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46385
46386 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46387 to pad to uint64_t for each field.
46388 (dl_tls_index): Replace unsigned long with uint64_t.
46389
3ff42526
PP
463902012-03-23 Daniel Jacobowitz <dmj@google.com>
46391 Paul Pluzhnikov <ppluzhnikov@google.com>
46392
46393 [BZ #6528]
46394 * grp/Makefile (otherlibs): Don't set it.
46395 * inet/Makefile (otherlibs): Likewise.
46396 * login/Makefile (otherlibs): Likewise.
46397 * nscd/Makefile (otherlibs): Likewise.
46398 * posix/Makefile (otherlibs): Likewise.
46399 * pwd/Makefile (otherlibs): Likewise.
46400 * rt/Makefile (otherlibs): Likewise.
46401 * sunrpc/Makefile (otherlibs): Likewise.
46402 * nss/Makefile (otherlibs): Likewise.
46403 Add libnss_files to routines and static-only-routines.
46404 ($(objpfx)getent): Remove rule.
46405 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46406 static-only-routines.
46407
7c69cd14
JM
464082012-03-22 Joseph Myers <joseph@codesourcery.com>
46409
46410 [BZ #13892]
46411 * math/s_cexp.c: Include <float.h>.
46412 (__cexp): Handle exp result overflowing not necessarily
46413 overflowing both real and imaginary parts of result.
46414 * math/s_cexpf.c: Likewise.
46415 * math/s_cexpl.c: Likewise.
46416 * math/libm-test.inc (cexp_test): Add more tests.
46417 * sysdeps/i386/fpu/libm-test-ulps: Update.
46418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46419
81b035fe
L
464202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46421
46422 * include/link.h (ELFW): New macro.
46423 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46424 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46425
1da7940c
L
464262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46427
46428 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46429 with uint64_t.
46430
b749dbb9
L
464312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46432
46433 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46434 declaration.
46435 (struct La_x32_retval): Likewise.
46436
2ff87f3f
L
464372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46438
46439 * sysdeps/x86_64/preconfigure.in: New file.
46440 * sysdeps/x86_64/preconfigure: New generated file.
46441
c0df8e69
JM
464422012-03-22 Joseph Myers <joseph@codesourcery.com>
46443
48e44791
JM
46444 [BZ #13824]
46445 * math/e_exp2l.c: Include <float.h>.
46446 (__ieee754_exp2l): Handle overflow and underflow cases
46447 separately. Only pass fractional part of argument to
46448 __ieee754_expl.
46449 * math/libm-test.inc (exp2_test): Add more tests.
46450
c0df8e69
JM
46451 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46452 negating x to take absolute value.
46453 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46454 Likewise.
46455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46457 Likewise.
46458 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46459 computing low part if x was negated.
46460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46461
c8e43ba7
L
464622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46463
46464 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46465 la_x32_gnu_pltexit.
46466 (pltexit): Cast int_retval to ptrdiff_t.
46467 * elf/tst-auditmod3b.c: Likewise.
46468 * elf/tst-auditmod4b.c: Likewise.
46469 * elf/tst-auditmod5b.c: Likewise.
46470 * elf/tst-auditmod6b.c: Likewise.
46471 * elf/tst-auditmod6c.c: Likewise.
46472 * elf/tst-auditmod7b.c: Likewise.
46473
46474 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46475 and x32_gnu_pltexit.
46476
46477 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46478 __ELF_NATIVE_CLASS.
46479 (La_x32_regs): New macro.
46480 (La_x32_retval): Likewise.
46481 (la_x32_gnu_pltenter): New function prototype.
46482 (la_x32_gnu_pltexit): Likewise.
46483
7998fa78
AS
464842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46485
dcb33988
AS
46486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46487 exponent.
46488
233fc563
AS
46489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46490
7998fa78
AS
46491 * configure.in (libc_cv_cc_nofma): Check for option to disable
46492 generation of FMA instructions.
46493 * configure: Regenerate.
46494 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46495 * sysdeps/ieee754/dbl-64/Makefile: New file.
46496 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46497 Remove brandred-fma4.
46498 (CFLAGS-brandred-fma4.c): Remove.
46499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46501 define.
46502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46503 define.
46504
8e95c99a
L
465052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46506
46507 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46508 LLONG_MAX != LONG_MAX.
46509 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46510 (_fitoa_word): Likewise.
46511 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46512 LLONG_MAX != LONG_MAX.
46513 * stdio-common/_itowa.h: Include <_itoa.h>.
46514 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46515 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46516 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46517 only if not defined.
46518 (_ITOA_WORD_TYPE): Likewise.
46519 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46520 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46521
6f4db457
DM
465222012-03-21 David S. Miller <davem@davemloft.net>
46523
46524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46525
7785fe5a
L
465262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46527
46528 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46529 of x86_64 when setting libc_cv_slibdir, libdir and
46530 libc_cv_localedir.
46531 * sysdeps/unix/sysv/linux/configure: Regenerated.
46532
4535cd55
JM
465332012-03-21 Joseph Myers <joseph@codesourcery.com>
46534
46535 * manual/lang.texi (Old Varargs): Remove section.
46536 (How Variadic): Update menu.
46537 (va_start): Do not mention varargs.h.
46538
17228132
TS
465392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46540 Joseph Myers <joseph@codesourcery.com>
46541
46542 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46543 link test.
46544 * configure: Regenerated.
46545
8149f976
TS
465462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46547
05f3d1f6
UD
46548 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46549 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46550 conformtest.pl
8149f976 46551
1a4ac776
JM
465522012-03-21 Joseph Myers <joseph@codesourcery.com>
46553
be22ce65
JM
46554 * NOTES: Remove.
46555 * Makefile (files-for-dist): Remove NOTES.
46556 (NOTES): Remove rule.
46557 * README: Don't refer to NOTES.
46558 * manual/creature.texi: Don't include macros.texi.
46559 * manual/intro.texi (creature.texi): Remove comment referring to
46560 NOTES.
46561
40b601fb
JM
46562 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46563 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46564 * configure: Regenerated.
46565 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46566 LIBC_TRY_CC_OPTION.
46567 (libc_cv_as_i686): Likewise.
46568 (libc_cv_cc_avx): Likewise.
46569 (libc_cv_cc_sse2avx): Likewise.
46570 (libc_cv_cc_fma4): Likewise.
46571 (libc_cv_cc_novzeroupper): Likewise.
46572 * sysdeps/i386/configure: Regenerated.
46573
1a4ac776
JM
46574 [BZ #13883]
46575 * sysdeps/i386/fpu/s_cexp.S: Remove.
46576 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46577 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46578 * math/libm-test.inc (cexp_test): Add more tests.
46579 * sysdeps/i386/fpu/libm-test-ulps: Update.
46580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46581
a458e7fe
AM
465822012-03-21 Allan McRae <allan@archlinux.org>
46583
46584 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46585
0cb7efc5
JM
465862012-03-21 Joseph Myers <joseph@codesourcery.com>
46587
46588 [BZ #13871]
46589 * math/w_exp2.c: Do not include <float.h>.
46590 (o_threshold, u_threshold): Remove.
46591 (__exp2): Calculate result before checking finiteness and calling
46592 __kernel_standard.
46593 * math/w_exp2f.c: Likewise.
46594 * math/w_exp2l.c: Likewise.
46595 * math/libm-test.inc (exp2_test): Require overflow exception for
46596 1e6 input.
2460d3aa
JM
46597
46598 [BZ #3866]
46599 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46600 range of signed 64-bit integers before using fistpll. Remove
46601 checks for whether integers fit in mantissa bits.
46602 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46603 the range of signed 32-bit integers before using fistpl. Remove
46604 checks for whether integers fit in mantissa bits.
46605 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46606 (__ieee754_powl): Test for y outside the range of signed 64-bit
46607 integers before using fistpll. Reduce 64-bit values to 63-bit
46608 ones as needed.
46609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46610 divide-by-zero is raised for zero to large negative powers.
46611 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46612 (__ieee754_powl): Test for y outside the range of signed 64-bit
46613 integers before using fistpll. Reduce 64-bit values to 63-bit
46614 ones as needed.
46615 * math/libm-test.inc (pow_test): Add more tests.
46616
eb96ffb0
L
466172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46618
46619 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46620 <stdio-common/_itoa.h>.
46621 * debug/segfault.c: Likewise.
46622 * elf/dl-cache.c: Likewise.
46623 * elf/dl-minimal.c: Likewise.
46624 * elf/dl-misc.c: Likewise.
46625 * elf/dl-sysdep.c: Likewise.
46626 * elf/dl-version.c: Likewise.
46627 * elf/rtld.c: Likewise.
46628 * hurd/hurdsock.c: Likewise.
46629 * hurd/lookup-retry.c: Likewise.
46630 * malloc/malloc.c: Likewise.
46631 * malloc/mtrace.c: Likewise.
46632 * nscd/nscd_getgr_r.c: Likewise.
46633 * nscd/nscd_getpw_r.c: Likewise.
46634 * nscd/nscd_getserv_r.c: Likewise.
46635 * posix/getopt_init.c: Likewise.
46636 * posix/wordexp.c: Likewise.
46637 * stdio-common/_itoa.c: Likewise.
46638 * stdio-common/printf_fphex.c: Likewise.
46639 * stdio-common/vfprintf.c: Likewise.
46640 * string/_strerror.c: Likewise.
46641 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46642 * sysdeps/i386/i686/hp-timing.h: Likewise.
46643 * sysdeps/mach/_strerror.c: Likewise.
46644 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46645 * sysdeps/mach/hurd/sethostid.c: Likewise.
46646 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46647 * sysdeps/mach/xpg-strerror.c: Likewise.
46648 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46649 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46650 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46651 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46653 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46655 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46656 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46657 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46658 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46659 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46660 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46661 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46662 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46663 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46664 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46665 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46666 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46667 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46668 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46669
46670 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46671
46672 * stdio-common/_itoa.h: Moved to ...
46673 * sysdeps/generic/_itoa.h: Here.
46674
46675 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46676
46677 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46678 instead of "_itoa.h" and "_itowa.h".
46679 * stdio-common/vfprintf.: Likewise.
46680
d1af992d
L
466812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46682
46683 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46684 <bits/wordsize.h>.
46685 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46686 (__signbit): Likwise.
46687 (llrintf): Likwise.
46688 (llrint): Likwise.
46689
114883e0
L
466902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46691
46692 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46693 __WORDSIZE != 64.
46694
c135cc1b
JM
466952012-03-20 Joseph Myers <joseph@codesourcery.com>
46696
46697 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46698 OVERFLOW_EXCEPTION_OK.
46699 * math/libm-test.inc ("Philosophy"): Update comment about
46700 exception testing.
46701 (OVERFLOW_EXCEPTION): Define.
46702 (OVERFLOW_EXCEPTION_OK): Likewise.
46703 (INVALID_EXCEPTION_OK): Renumber.
46704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46705 (IGNORE_ZERO_INF_SIGN): Likewise.
46706 (test_exceptions): Handle FE_OVERFLOW.
46707 (exp10_test): Expect overflow exceptions.
46708 (exp2_test): Likewise.
46709 (expm1_test): Likewise.
46710 (nextafter_test): Likewise.
46711 (pow_test): Likewise.
46712 (scalbn_test): Likewise.
46713 (scalbln_test): Likewise.
46714
95443d88
L
467152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46716
46717 * sysdeps/x86_64/bits/atomic.h
46718 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46719 64bit integer.
46720 (atomic_exchange_acq): Likewise.
46721 (__arch_exchange_and_add_body): Likewise.
46722 (__arch_add_body): Likewise.
46723 (atomic_add_negative): Likewise.
46724 (atomic_add_zero): Likewise.
46725
490df6c4
L
467262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46727
c2722551 46728 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46729 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46730
5e52b189
L
467312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46732
46733 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46734 Check __x86_64__ instead of __WORDSIZE.
46735
a9879d4c
L
467362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46737
46738 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46739
5df98260
DM
467402012-03-19 David S. Miller <davem@davemloft.net>
46741
e1497744
DM
46742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46743
5df98260
DM
46744 * sysdeps/sparc/fpu/fenv_private.h: New file.
46745 * sysdeps/sparc/fpu/math_private.h: Use it.
46746 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46747 Remove.
57f41c40 46748 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46749 (libc_feholdexcept_setroundl): Remove.
46750 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46751 Remove.
46752 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46753 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46754
b4c35121
L
467552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46756
46757 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46758 int64_t instead of long int.
46759 (INSERT_WORDS64): Likwise.
46760
56965fd7
L
467612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46762
46763 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46764 _Unwind_GetCFA return to _Unwind_Ptr first.
46765
83d1aec8
JM
467662012-03-19 Joseph Myers <joseph@codesourcery.com>
46767
1897ad44
JM
46768 [BZ #13629]
46769 * math/s_clog.c: Include <float.h>.
46770 (__clog): Scale large or subnormal inputs.
46771 * math/s_clogf.c: Likewise.
46772 * math/s_clogl.c: Likewise.
46773 * math/s_clog10.c: Include <float.h>.
46774 (M_LOG10_2): Define.
46775 (__clog10): Scale large or subnormal inputs.
46776 * math/s_clog10f.c: Likewise.
46777 * math/s_clog10l.c: Likewise.
46778 * math/libm-test.inc (clog_test): Add more tests.
46779 (clog10_test): Likewise.
46780 * sysdeps/i386/fpu/libm-test-ulps: Update.
46781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46782
7726d6a9
JM
46783 [BZ #11451]
46784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46785 x and y.
46786 * math/libm-test.inc (atan2_test): Add another test.
46787
83d1aec8
JM
46788 * Makerules (common-objdir-compile): Remove.
46789 * sysdeps/unix/Makefile (config-generated): Do not add
46790 $(unix-generated) to variable.
46791 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46792 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46793 Remove rule.
46794 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46795 Likewise.
46796 [generic bits/local_lim.h] (before-compile): Do not append to
46797 variable.
46798 [generic bits/local_lim.h] (common-generated): Likewise.
46799 [generic sys/param.h] (before-compile): Do not append to variable.
46800 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46801 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46802 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46804 include.
46805 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46806 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46807 [generic sys/param.h] ($(addprefix
46808 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46809 [generic sys/param.h] (common-generated): Do not append to
46810 variable.
46811 [generic sys/param.h] (sysdep_headers): Likewise.
46812 [generic bits/errno.h] (before-compile): Do not append to
46813 variable.
46814 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46815 rule.
46816 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46817 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46818 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46819 [generic bits/errno.h] (common-generated): Do not append to
46820 variable.
46821 [generic bits/ioctls.h] (before-compile): Do not append to
46822 variable.
46823 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46824 rule.
46825 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46826 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46827 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46828 rule.
46829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46830 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46831 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46832 [generic bits/ioctls.h] (common-generated): Do not append to
46833 variable.
46834 [generic sys/syscall.h] (syscall.h): Remove variable.
46835 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46836 rule.
46837 [generic sys/syscall.h] (before-compile): Do not append to
46838 variable.
46839 [generic sys/syscall.h] (common-generated): Likewise.
46840 * sysdeps/unix/errnos-tmpl.c: Remove file.
46841 * sysdeps/unix/errnos.awk: Likewise.
46842 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46843 * sysdeps/unix/ioctls.awk: Likewise.
46844 * sysdeps/unix/mk-local_lim.c: Likewise.
46845 * sysdeps/unix/snarf-ioctls: Likewise.
46846
4851a949
RH
468472012-03-19 Richard Henderson <rth@twiddle.net>
46848
bd37f2ee
RH
46849 * sysdeps/i386/fpu/fenv_private.h: New file.
46850 * sysdeps/i386/fpu/math_private.h: Use it.
46851 (math_opt_barrier, math_force_eval): Remove.
46852 (libc_feholdexcept_setround_53bit): Remove.
46853 (libc_feupdateenv_53bit): Remove.
46854 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46855 (math_opt_barrier, math_force_eval): Remove.
46856 (libc_feholdexcept): Remove.
46857 (libc_feholdexcept_setround): Remove.
46858 (libc_fetestexcept, libc_fesetenv): Remove.
46859 (libc_feupdateenv_test): Remove.
46860 (libc_feupdateenv, libc_feholdsetround): Remove.
46861 (libc_feresetround): Remove.
46862
d0adc922
RH
46863 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46864 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46865
0fe0f1f8
RH
46866 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46867 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46868 (libc_feupdateenv_testl): New.
46869 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46870 (libc_feupdateenv_testf): New.
46871 (libc_feupdateenv): Use libc_feupdateenv_test.
46872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46873 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46874
eb92c487
RH
46875 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46876 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46877 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46878 (libc_feresetround_noex): New.
46879 (libc_feresetround_noexf): New.
46880 (libc_feresetround_noexl): New.
46881 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46882 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46883 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46885 SET_RESTORE_ROUND.
46886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46888 (__cos): Likewise.
46889 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46890 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46891 SET_RESTORE_ROUND_NOEX.
46892 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46893 SET_RESTORE_ROUND_NOEXF.
46894 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46895 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46896 (libc_feholdsetroundf): New.
46897 (libc_feresetround, libc_feresetroundf): New.
46898
7d2e8012
RH
46899 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46900 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46901 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46902
b4dabbb4
RH
46903 * sysdeps/generic/math_private.h: Include <fenv.h>.
46904 (default_libc_feholdexcept): New.
46905 (default_libc_feholdexcept_setround): New.
46906 (default_libc_fesetenv, default_libc_feupdateenv): New.
46907 (libc_feholdexcept): Only define if undefined.
46908 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46909 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46910 (libc_feholdexcept_setroundl): Likewise.
46911 (libc_feholdexcept_setround_53bit): Likewise.
46912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46913 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46914 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46915 (libc_feupdateenv_53bit): Likewise.
46916 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46917 (libc_feholdexcept): Convert from macro to inline function.
46918 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46919 (libc_fesetenv, libc_feupdateenv): Likewise.
46920
4851a949
RH
46921 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46922 not previously defined.
46923 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46924 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46925 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46926 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46927 * sysdeps/ieee754/flt-32/math_private.h: New file.
46928 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46929 math_private.h below SET_FLOAT_WORD.
46930 (__isnan, __isinf_ns, __finite): Remove.
46931 (__isnanf, __isinf_nsf, __finitef): Remove.
46932
e79d442e
AS
469332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46934
46935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46936
90b80344
DM
469372012-03-17 David S. Miller <davem@davemloft.net>
46938
46939 [BZ #6471]
46940 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46941 for 2.16.
46942
edc21804
DM
469432012-03-16 David S. Miller <davem@davemloft.net>
46944
77e927af
DM
46945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46946 warnings.
46947
374976dd
DM
46948 [BZ #6471]
46949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46950 properly.
46951 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46952 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46953 sysdep_routines when subdir is sysvipc.
46954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46955 __getshmlba helper.
46956
edc21804
DM
46957 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46958
473c3ef3
L
469592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46960
46961 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46962 [__LP64__].
46963
eb0f39b6
L
469642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46965
46966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46967 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46968 (__lround): Renamed to ...
46969 (__llround): This. Replace long int with long long int.
46970 Define lround functions as aliases of llround functions.
46971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46972
6b6cd74b
L
469732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46974
46975 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46976 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46977 adresses to uintptr_t. Replace "long int" and "unsigned long
46978 int" with "greg_t" on va_arg.
46979
f1a77b01
L
469802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46981
46982 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46983 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46984
46985 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46986 Move e_machine check before EI_CLASS check. Handle x32
46987 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46988 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46989 SKIP_EM_IA_64 and include
46990 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46991
46992 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46993 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46994 (add_system_dir): New macro.
46995
46996 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46997 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46998
11b90b9f
JM
469992012-03-16 Joseph Myers <joseph@codesourcery.com>
47000
c36e1d23
JM
47001 [BZ #2551]
47002 [BZ #2552]
47003 [BZ #2553]
47004 [BZ #2554]
47005 [BZ #2562]
47006 [BZ #2563]
47007 [BZ #2565]
47008 [BZ #2566]
47009 [BZ #2576]
47010 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47011 (y0): Likewise.
47012 * math/w_j0f.c (j0f): Likewise.
47013 (y0f): Likewise.
47014 * math/w_j0l.c (__j0l): Likewise.
47015 (__y0l): Likewise.
47016 * math/w_j1.c (j1): Likewise.
47017 (y1): Likewise.
47018 * math/w_j1f.c (j1f): Likewise.
47019 (y1f): Likewise.
47020 * math/w_j1l.c (__j1l): Likewise.
47021 (__y1l): Likewise.
47022 * math/w_jn.c (jn): Likewise.
47023 (yn): Likewise.
47024 * math/w_jnf.c (jnf): Likewise.
47025 (ynf): Likewise.
47026 * math/w_jnl.c (__jnl): Likewise.
47027 (__ynl): Likewise.
47028 * math/libm-test.inc (j0_test): Add more tests.
47029 (j1_test): Likewise.
47030 (jn_test): Likewise. Add trailing semicolon to existing test.
47031 (y0_test): Likewise.
47032 (y1_test): Likewise.
47033 * sysdeps/i386/fpu/libm-test-ulps: Update.
47034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47035
11b90b9f
JM
47036 [BZ #13851]
47037 [BZ #13854]
47038 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47039 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47040 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47042 (__tanl): Set errno for infinite argument.
47043 * sysdeps/i386/fpu/mptan.c: Remove.
47044 * sysdeps/i386/fpu/s_tan.S: Likewise.
47045 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47046 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47047 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47048 * math/libm-test.inc (tan_test): Add more tests and enable more
47049 tests for double and long double.
47050 * sysdeps/i386/fpu/libm-test-ulps: Update.
47051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47052
6a1bd2a1
JK
470532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47054
47055 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47056 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47057
10a803e0
RM
470582012-03-16 Roland McGrath <roland@hack.frob.com>
47059
47060 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47061 * configure.in: Use it for both main tree and add-ons.
47062 * configure: Regenerated.
47063
f196c7f7
L
470642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47065
47066 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47067
8848d99d
JM
470682012-03-16 Joseph Myers <joseph@codesourcery.com>
47069
96cbe7f4
JM
47070 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47071 in comment.
47072
8848d99d
JM
47073 [BZ #13851]
47074 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47075 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47076 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47078 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47079 infinite argument.
47080 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47082 != 0 for prec == 2.
47083 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47084 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47085 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47086 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47087 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47088 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47089 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47090 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47091 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47092 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47093 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47094 * math/libm-test.inc (cos_test): Add more tests and enable more
47095 tests for long double.
47096 (sin_test): Likewise.
47097 (sincos_test): Likewise.
47098 * sysdeps/i386/fpu/libm-test-ulps: Update.
47099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47100
dd7f4703
DM
471012012-03-16 David S. Miller <davem@davemloft.net>
47102
47103 * sysdeps/sparc/fpu/math_private.h: New file.
47104
006f1daa
DM
471052012-03-15 David S. Miller <davem@davemloft.net>
47106
c0c83bc8
DM
47107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47108 file.
e6a62e18 47109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47111 file.
e6a62e18
DM
47112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47118 sysdep routines.
47119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47120
88cb87d9
DM
47121 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47122 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47123
006f1daa 47124 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47126 sparc-ifunc.h
006f1daa 47127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47129 Likewise.
47130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47131 Likewise.
006f1daa
DM
47132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47136 Likewise.
006f1daa
DM
47137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47142 Likewise.
47143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47144 Likewise.
006f1daa
DM
47145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47169
11e0098e
AS
471702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47171
47172 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47173 scaling.
47174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47175
e85b09d0
AJ
471762012-03-15 Andreas Jaeger <aj@suse.de>
47177
47178 [BZ #13852]
47179 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47180 ieee754/flt-32 implementation for sin, cos and sincos.
47181 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47182 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47183 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47184 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47185 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47186 ieee754/flt-32 implementation for tan.
47187
47188 * math/libm-test.inc (cos_test): Enable some large input tests for
47189 float as well
47190 (sin_test): Likewise.
47191 (sincos_test): Likewise.
47192 (tan_test): Add tests for large input.
47193
47194 * sysdeps/i386/fpu/libm-test-ulps: Update.
47195
81c64153
AJ
471962012-03-15 Andreas Jaeger <aj@suse.de>
47197
47198 [BZ #13658]
47199 * math/libm-test.inc (cos_test): Add more test cases.
47200 (sin_test): Likewise.
47201 (sincos_test): Likewise.
47202
7bbfa5c6
AJ
472032012-03-15 Andreas Jaeger <aj@suse.de>
47204
47205 [BZ #13837]
47206 * math/libm-test.inc (cos_test): Add a test case for large input
47207 value.
47208 (sin_test): Likewise.
47209 (sincos_test): Likewise.
47210
57f41c40
AS
472112012-03-15 Andreas Jaeger <aj@suse.de>
47212 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47213
47214 [BZ #13658]
0671f479 47215 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47216 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47217 * sysdeps/i386/fpu/branred.c: Likewise.
47218 * sysdeps/i386/fpu/dosincos.c: Likewise.
47219 * sysdeps/i386/fpu/mpa.c: Likewise.
47220 * sysdeps/i386/fpu/s_cos.S: Likewise.
47221 * sysdeps/i386/fpu/s_sin.S: Likewise.
47222 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47223 * sysdeps/i386/fpu/sincos32.c: Likewise.
47224
47225 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47226 Define.
47227 (libc_feupdateenv_53bit): Define.
47228 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47229 Define.
47230 (libc_feupdateenv_53bit): Define.
47231
47232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47233 53 bit (without extend i386 double precision).
47234
47235 * math/libm-test.inc (sincos_test): Add tests for large input.
47236 (sin): Likewise.
47237 (cos): Likewise.
47238
47239 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47240
9cad04ea
AS
472412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47242
47243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47244
f7062b9a
DM
472452012-03-15 David S. Miller <davem@davemloft.net>
47246
47247 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47248 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47249 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47250 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47263 file.
f7062b9a 47264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47266 file.
f7062b9a 47267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47269 file.
f7062b9a 47270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47272 file.
f7062b9a
DM
47273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47275 fmin/fmax sysdep routines.
47276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47277
7bd951ff
DM
472782012-03-14 David S. Miller <davem@davemloft.net>
47279
559398ab
DM
47280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47309 routines.
47310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47311 file.
559398ab 47312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47314 file.
559398ab 47315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47317 file.
559398ab 47318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47320 file.
559398ab 47321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47323 file.
559398ab 47324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47326 file.
47327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47328 file.
47329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47330 file.
47331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47332 file.
47333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47334 New file.
47335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47336 file.
47337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47338 file.
559398ab 47339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47341 file.
559398ab 47342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47344 file.
559398ab 47345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47347 file.
559398ab 47348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47350 VIS3 routines.
559398ab
DM
47351
47352 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47353 New file.
47354
5a1c1e32
DM
47355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47356
eae47a36
DM
47357 * sysdeps/sparc/configure.in: New file.
47358 * sysdeps/sparc/configure: Generate.
47359 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47360 * configure: Regenerate.
47361 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47362 * config.make.in (have-as-vis3): New.
47363 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47364 available use -Av9d instead of -Av9a.
47365 * sysdeps/sparc/sparc64/Makefile: Likewise.
47366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47368 New file.
47369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47370 file.
47371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47372 New file.
47373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47374 file.
eae47a36
DM
47375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47380
c0c83bc8
DM
47381 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47382 fzeros/fnegs to load 0x80000000 into a float register instead of
47383 using the stack.
7bd951ff
DM
47384 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47385
bd951ccb
JM
473862012-03-14 Joseph Myers <joseph@codesourcery.com>
47387
47388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47389 bits/syscall.h.
47390 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47391 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47392 ($(inst_includedir)/bits/syscall.h): Remove rule.
47393 ($(objpfx)bits/syscall.d): Include instead of
47394 $(objpfx)syscall-list.d.
47395 (generated): Change syscall-list.h and syscall-list.d to
47396 bits/syscall.h and bits/syscall.d.
47397
bb4e6db2
RM
473982012-03-14 Roland McGrath <roland@hack.frob.com>
47399
47400 [BZ #13846]
47401 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47402
aa4a2ae1
JM
474032012-03-14 Joseph Myers <joseph@codesourcery.com>
47404
e456826d
JM
47405 [BZ #13841]
47406 * math/s_csqrt.c: Include <float.h>.
47407 (__csqrt): Scale large or subnormal inputs.
47408 * math/s_csqrtf.c: Likewise.
47409 * math/s_csqrtl.c: Likewise.
47410 * math/libm-test.inc (csqrt_test): Add more tests.
47411 * sysdeps/i386/fpu/libm-test-ulps: Update.
47412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47413
aa4a2ae1
JM
47414 [BZ #13840]
47415 * math/libm-test.inc (hypot_test): Add more tests.
47416
7c10fd35
DM
474172012-03-13 David S. Miller <davem@davemloft.net>
47418
47419 [BZ #13840]
47420 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47421 double-precision for the calculation instead of scaling.
47422
f453b98b
JM
474232012-03-13 Joseph Myers <joseph@codesourcery.com>
47424
47425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47426 manipulate bits before adding and subtracting TWO52[sx].
47427 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47428 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47429 Likewise.
47430 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47431
09a3453f
DM
474322012-03-13 David S. Miller <davem@davemloft.net>
47433
8e59da90
DM
47434 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47435 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47437 rtld-global-offsets.h
47438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47439
2a8ab7f2
DM
47440 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47441 large parameters.
47442
10f62770
DM
47443 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47444
5f0bdb18
DM
47445 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47446 'err' in the ifdef scope in which it is actually used.
47447
09a3453f
DM
47448 * nss/nss_db/db-init.c: Include string.h
47449
b4b2eb5e
DM
474502012-03-12 David S. Miller <davem@davemloft.net>
47451
98bb2f1c
DM
47452 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47453 masking out of the most significant byte of random value used.
47454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47455 Fix coding style in previous change.
47456
b4b2eb5e
DM
47457 * sysdeps/unix/sysv/linux/kernel-features.h
47458 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47459 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47460 expression.
47461 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47462 later.
47463
6e226b09
DM
474642012-03-11 David S. Miller <davem@davemloft.net>
47465
a1bcbd40
DM
47466 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47467 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47469 for 'resultvar' otherwise things get truncated on 64-bit.
47470
cb9d6174
DM
47471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47472 Fix masking out of the most significant byte of random value used.
47473
6e226b09
DM
47474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47475
058c132d
AS
474762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47477
47478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47479
2d2cd515
DM
474802012-03-09 David S. Miller <davem@davemloft.net>
47481
47482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47483 variables with appropriate CPP guards.
57f41c40
AS
47484 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47485 from the frame pointer, not the stack pointer. Correct layout
47486 comments. Fix test on resulting framesize and the management of
47487 the outregs buffer for pltexit. Preserve floating point return
47488 values across _dl_call_pltexit call.
2d2cd515
DM
47489 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47490 framesize and the management of the outregs buffer for pltexit.
47491 Preserve floating point return values across _dl_call_pltexit
47492 call.
57f41c40
AS
47493 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47494 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47495 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47496 (print_exit): Fix format string for return register value.
47497
9a07f9d0
JM
474982012-03-10 Joseph Myers <joseph@codesourcery.com>
47499
47500 * sunrpc/Makefile (others): Add rpcgen.
47501 ($(objpfx)rpcgen): Remove special build rule and dependency on
47502 libc.
47503 * sunrpc/rpcgen.c: New file.
47504
547b5e30
PE
475052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47506
c524201a
PE
47507 [BZ #13673]
47508 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47509 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47510 * sysdeps/i386/crti.S: Likewise.
47511 * sysdeps/i386/crtn.S: Likewise.
47512 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47513 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47514 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47515 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47516 * sysdeps/sh/crti.S: Likewise.
47517 * sysdeps/sh/crtn.S: Likewise.
47518 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47519
7b6235f2
PE
47520 [BZ #13673]
47521 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47522 with URL.
47523 * locale/programs/locfile-kw.gperf: Likewise.
47524 * locale/programs/charmap-kw.h: Regenerated.
47525 * locale/programs/locfile-kw.h: Likewise.
47526
547b5e30
PE
47527 [BZ #13673]
47528 * intl/plural.y: Replace FSF snail mail address with URL.
47529 * intl/plural.c: Regenerated.
47530
5f0a5dae
RH
475312012-03-09 Richard Henderson <rth@twiddle.net>
47532
47533 * include/math_private.h: Remove file.
47534 * math/math_private.h: Move file ...
47535 * sysdeps/generic/math_private.h: ... here.
47536
b8c03620
RH
47537 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47538 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47539 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47540
4e234f5d 47541 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47542 and <math_private.h>.
47543 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47544 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47545 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47546 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47547 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47548 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47549 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47551 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47552 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47555 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47556 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47557 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47558 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47560 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47561 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47562 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47564 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47565 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47567 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47569 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47573 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47575 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47576 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47577 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47579 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47580 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47581 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47583 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47584 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47585 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47586 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47587 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47588 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47589 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47590 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47591 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47592 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47593 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47594 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47595 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47596 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47597 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47598 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47599 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47600 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47601 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47602 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47603 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47604 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47606 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47607 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47608 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47609 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47610 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47611 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47612 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47617 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47622 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47623 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47625 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47626 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47627 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47630 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47631 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47632 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47633 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47634 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47635 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47636 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47637 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47638 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47642 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47643 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47644 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47645 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47646 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47648 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47649 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47650 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47655 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47656 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47657 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47658 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47660 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47661 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47662 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47663 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47664 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47665 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47666 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47667 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47668 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47670 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47671 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47672 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47673 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47674 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47675 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47676 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47677 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47678 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47679 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47680 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47681 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47682 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47683 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47684 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47685 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47686 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47687 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47688 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47689 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47690 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47691 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47692 * sysdeps/ieee754/k_standard.c: Likewise.
47693 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47694 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47696 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47697 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47698 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47699 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47700 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47701 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47702 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47703 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47704 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47705 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47706 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47707 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47708 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47710 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47711 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47712 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47713 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47714 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47715 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47716 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47718 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47719 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47720 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47721 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47723 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47724 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47725 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47726 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47727 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47728 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47729 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47730 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47731 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47732 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47733 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47734 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47735 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47736 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47739 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47743 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47744 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47745 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47746 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47749 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47750 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47754 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47755 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47777 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47778 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47779 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47780 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47783 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47785 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47786 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47789 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47790 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47791 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47792 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47797 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47801 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47802 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47803 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47804 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47805 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47806 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47807 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47809 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47810 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47811 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47812 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47813 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47814 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47815 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47816 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47817 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47818 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47819 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47821 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47823 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47824 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47825 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47826 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47829 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47830 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47831 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47832 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47833 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47834 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47835 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47836 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47837 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47838 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47839 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47840 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47841 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47842 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47843 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47844 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47847 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47848 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47849 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47850 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47851 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47852 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47853 * sysdeps/ieee754/s_lib_version.c: Likewise.
47854 * sysdeps/ieee754/s_matherr.c: Likewise.
47855 * sysdeps/ieee754/s_signgam.c: Likewise.
47856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47858 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47859 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47860 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47861 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47862 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47863 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47864 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47865 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47866 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47867 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47868 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47869 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47870 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47871 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47872 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47873 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47877
1991fa03
JM
478782012-03-09 Joseph Myers <joseph@codesourcery.com>
47879
47880 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47881 * sunrpc/rpc_main.c: Likewise.
47882 * sunrpc/rpc_svcout.c: Likewise.
47883
60d6f5a6
DM
478842012-03-09 David S. Miller <davem@davemloft.net>
47885
47886 * include/math_private.h: New file.
47887
4962050e
JM
478882012-03-09 Joseph Myers <joseph@codesourcery.com>
47889
02a6f887
JM
47890 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47891 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47892 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47893 from <bits/socket_type.h>.
47894 (enum __socket_type): Don't define here.
47895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47897 bits/socket_type.h.
47898
c6e013c1
JM
47899 [BZ #13566]
47900 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47901 checking __USE_GNU.
47902
4962050e
JM
47903 * Makerules ($(inst_includedir)/%.h): New rule.
47904 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47905 (install-others): Remove variable setting.
47906 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47907
38842f45
RH
479082012-03-08 Richard Henderson <rth@twiddle.net>
47909
67bb6da6
RH
47910 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47911 from macro to inline function; merge with the
47912 !__LIBC_INTERNAL_MATH_INLINES version.
47913 (__ieee754_sqrtf): Likewise.
47914
15194b4b
RH
47915 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47916 to inline function.
47917 (__rintf, __floor, __floorf): Likewise.
47918
64e21ede
RH
47919 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47920 macro to inline function.
47921 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47922
38842f45
RH
47923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47924 not <math/math_private.h>.
47925
c64bf5fe
DM
479262012-03-08 David S. Miller <davem@davemloft.net>
47927
47928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47929 copyright year.
47930 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47931
82d86f28
TS
479322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47933
47934 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47935 normalization.
47936 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47937 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47938
aea5d727
UD
479392012-03-08 Ulrich Drepper <drepper@gmail.com>
47940
47941 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47942 be defined individually, they must be defined as a block. Define
47943 S for printing a string instead of hidint the different by using a
47944 macro for adding the 'l'.
47945 * stdio-common/tst-fphex-wide.c: Adjust.
47946
70bca0a3
MP
479472012-03-07 Marek Polacek <polacek@redhat.com>
47948
47949 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47950
65b81130
MP
479512012-03-08 Marek Polacek <polacek@redhat.com>
47952
47953 [BZ #13806]
47954 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47955 * stdio-common/tst-fphex.c: Define a few macros to make the
47956 test reusable. Use them.
47957 * stdio-common/tst-fphex-wide.c: New file.
47958
07037eeb
JM
479592012-03-08 Joseph Myers <joseph@codesourcery.com>
47960
a7a93d50
JM
47961 [BZ #6911]
47962 * manual/macros.texi (gnusystems): New macro.
47963 (nongnusystems): Likewise.
47964 (gnulinuxhurdsystems): Likewise.
47965 (gnuhurdsystems): Likewise..
47966 (gnulinuxsystems): Likewise.
47967 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47968 variants of the GNU system, not "GNU system".
47969 * manual/conf.texi: Likewise.
47970 * manual/errno.texi: Likewise. Update example of errno macro
47971 expansion.
47972 * manual/filesys.texi: Likewise.
47973 (getumask): Document as specific to GNU/Hurd.
47974 * manual/install.texi: Likewise. Reword some references to
47975 GNU/Linux.
47976 * manual/intro.texi: Likewise.
47977 * manual/io.texi: Likewise.
47978 (File Name Portability): Detail which constraints are inapplicable
47979 to all GNU systems and which are only inapplicable to GNU/Hurd.
47980 * manual/job.texi: Likewise.
47981 * manual/llio.texi: Likewise.
47982 (O_NOCTTY): Document as present on GNU/Linux.
47983 * manual/maint.texi: Likewise.
47984 * manual/memory.texi: Likewise.
47985 * manual/pattern.texi: Likewise.
47986 * manual/pipe.texi: Likewise.
47987 * manual/process.texi: Likewise.
47988 * manual/resource.texi: Likewise.
47989 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47990 child on GNU/Hurd.
47991 * manual/setjmp.texi: Likewise.
47992 * manual/signal.texi: Likewise.
47993 * manual/startup.texi: Likewise.
47994 * manual/stdio.texi: Likewise.
47995 * manual/terminal.texi: Likewise.
47996 (ONLCR): Document as POSIX.
47997 (OXTABS): Document availability on GNU/Linux as XTABS.
47998 (ONOEOT): Document availability separately from other bits.
47999 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48000 * manual/time.texi: Likewise.
48001 * manual/users.texi: Likewise.
48002 * INSTALL: Regenerated.
48003 * sysdeps/gnu/errlist.c: Regenerated.
48004
07037eeb
JM
48005 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48006 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48007 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48008 puts.
48009 * configure: Regenerated.
48010
d1d3431a
JM
480112012-03-07 Joseph Myers <joseph@codesourcery.com>
48012
af6a1e37
JM
48013 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48014 default includes instead of AC_HEADER_CHECK.
48015 * sysdeps/i386/configure: Regenerated.
48016
d1d3431a
JM
48017 [BZ #10716]
48018 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48019 * math/s_cacoshf.c (__cacoshf): Likewise.
48020 * math/s_cacoshl.c (__cacoshl): Likewise.
48021 * math/s_casinh.c (__casinh): Set signs of result from argument.
48022 * math/s_casinhf.c (__casinhf): Likewise.
48023 * math/s_casinhl.c (__casinhl): Likewise.
48024 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48025 (casinh_test): Add more tests.
48026 * sysdeps/i386/fpu/libm-test-ulps: Update.
48027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48028
482ff4da
UD
480292012-03-07 Ulrich Drepper <drepper@gmail.com>
48030
872fda05
UD
48031 * po/zh_TW.po: Update from translation team.
48032
a4300c7a
UD
48033 * login/Makefile (distribute): Remove variable.
48034 * catgets/Makefile: Likewise.
48035 * mach/Makefile: Likewise.
48036 * malloc/Makefile: Likewise.
48037 * misc/Makefile: Likewise.
48038 * iconv/Makefile: Likewise.
48039 * nscd/Makefile: Likewise.
48040 * hurd/Makefile: Likewise.
48041 * manual/Makefile: Likewise.
48042 * locale/Makefile: Likewise.
48043 * intl/Makefile: Likewise.
48044 * conform/Makefile: Likewise.
48045 * nss/Makefile: Likewise.
48046 * time/Makefile: Likewise.
48047 * soft-fp/Makefile: Likewise.
48048 * dirent/Makefile: Likewise.
48049 * gmon/Makefile: Likewise.
48050 * po/Makefile: Likewise.
48051 * rt/Makefile: Likewise.
48052 * socket/Makefile: Likewise.
48053 * math/Makefile: Likewise.
48054 * signal/Makefile: Likewise.
48055 * debug/Makefile: Likewise.
48056 * elf/Makefile: Likewise.
48057 * timezone/Makefile: Likewise.
48058 * stdlib/Makefile: Likewise.
48059 * iconvdata/Makefile: Likewise.
48060 * sunrpc/Makefile: Likewise.
48061 * io/Makefile: Likewise.
48062 * argp/Makefile: Likewise.
48063 * inet/Makefile: Likewise.
48064 * hesiod/Makefile: Likewise.
48065 * grp/Makefile: Likewise.
48066 * csu/Makefile: Likewise.
48067 * wctype/Makefile: Likewise.
48068 * crypt/Makefile: Likewise.
48069 * libio/Makefile: Likewise.
48070 * string/Makefile: Likewise.
48071 * nis/Makefile: Likewise.
48072 * resolv/Makefile: Likewise.
48073 * stdio-common/Makefile: Likewise.
48074 * wcsmbs/Makefile: Likewise.
48075 * dlfcn/Makefile: Likewise.
48076 * posix/Makefile: Likewise.
48077
3b7c4e74 48078 [BZ #6959]
482ff4da
UD
48079 * timezone/Makefile: Don't install timezone files, just the programs
48080 and scripts.
48081
f72ed77d
UD
480822012-03-06 Ulrich Drepper <drepper@gmail.com>
48083
a000466f
UD
48084 * nss/databases.def: Add missing gshadow entry.
48085
f72ed77d
UD
48086 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48087
a53b7a4e
MP
480882012-03-06 Marek Polacek <polacek@redhat.com>
48089
48090 [BZ #13726]
48091 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48092 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48093 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48094 * stdio-common/tst-long-dbl-fphex.c: New file.
48095
e9258400
DM
480962012-03-06 David S. Miller <davem@davemloft.net>
48097
48098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48099 (set_obp_int): New function.
48100 (get_obp_int): New function.
48101 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48103 Avoid unused variable warnings on 'val' and use builtin_expect.
48104 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48105 __builtin_expect.
e9258400
DM
48106 (INLINE_CLONE_SYSCALL): Likewise.
48107
3bd2c723
DM
481082012-03-05 David S. Miller <davem@davemloft.net>
48109
48110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48111
bbb78d03
AS
481122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48113
884c5db4
AS
48114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48115
bbb78d03
AS
48116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48117 only for |x| >= 40.
48118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48119
1c9f702a 481202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48121
48122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48123 Replace gettimeofday with __vdso_gettimeofday.
48124
7be16f82
RM
48125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48126 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48127 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48128
48129 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48130 time with __vdso_time.
48131
ed58a00f
JM
481322012-03-05 Joseph Myers <joseph@codesourcery.com>
48133
48134 * manual/lang.texi (size_t): Note types to which size_t may be
48135 equivalent with the GNU C Library, but do not describe when
48136 differences between them are significant.
48137
30ee4ced
AJ
481382012-03-05 Andreas Jaeger <aj@suse.de>
48139
48140 * sysdeps/i386/fpu/libm-test-ulps: Update.
48141
b7cd39e8
JM
481422012-03-05 Joseph Myers <joseph@codesourcery.com>
48143
48144 [BZ #3976]
48145 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48146 (__ieee754_pow): Save and restore rounding mode and use
48147 round-to-nearest for main computations.
48148 * math/libm-test.inc (pow_test_tonearest): New function.
48149 (pow_test_towardzero): Likewise.
48150 (pow_test_downward): Likewise.
48151 (pow_test_upward): Likewise.
48152 (main): Call the new functions.
48153 * sysdeps/i386/fpu/libm-test-ulps: Update.
48154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48155
48156 [BZ #3976]
48157 * math/libm-test.inc (cosh_test_tonearest): New function.
48158 (cosh_test_towardzero): Likewise.
48159 (cosh_test_downward): Likewise.
48160 (cosh_test_upward): Likewise.
48161 (sinh_test_tonearest): Likewise.
48162 (sinh_test_towardzero): Likewise.
48163 (sinh_test_downward): Likewise.
48164 (sinh_test_upward): Likewise.
48165 (main): Call the new functions.
48166 * sysdeps/i386/fpu/libm-test-ulps: Update.
48167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48168
6c6a98c9
TV
481692012-03-05 Tom de Vries <tom@codesourcery.com>
48170
48171 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48172 default stack guard is set in last bytes.
48173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48174
21bb2d2e 481752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48176
21bb2d2e 48177 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48178
21bb2d2e
AJ
48179 [BZ #13656]
48180 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48181 possibly allocate from heap instead of stack.
48182 * stdio-common/bug-vfprintf-nargs.c: New file.
48183 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48184
c6922934
AS
481852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48186
48187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48188
bc957d53
MP
481892012-03-03 Marek Polacek <polacek@redhat.com>
48190
48191 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48192 * math/math_private.h: Likewise.
48193 * stdlib/tst-strtod.c: Likewise.
48194 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48195 * sysdeps/x86_64/bits/atomic.h: Likewise.
48196
6358490d
DM
481972012-03-02 David S. Miller <davem@davemloft.net>
48198
48199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48203 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48204 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48205 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48206 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48207
01ae168d
RM
482082012-03-02 Roland McGrath <roland@hack.frob.com>
48209
d9a17c07
RM
48210 [BZ #13792]
48211 * manual/examples/README: New file, says the example source files
48212 can be used under GPL>=2.
48213 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48214 line containing just "*/".
48215 * manual/examples/add.c: Add copyright header (GPL>=2).
48216 * manual/examples/argp-ex1.c: Likewise.
48217 * manual/examples/argp-ex2.c: Likewise.
48218 * manual/examples/argp-ex3.c: Likewise.
48219 * manual/examples/argp-ex4.c: Likewise.
48220 * manual/examples/atexit.c: Likewise.
48221 * manual/examples/db.c: Likewise.
48222 * manual/examples/dir.c: Likewise.
48223 * manual/examples/dir2.c: Likewise.
48224 * manual/examples/execinfo.c: Likewise.
48225 * manual/examples/filecli.c: Likewise.
48226 * manual/examples/filesrv.c: Likewise.
48227 * manual/examples/fmtmsgexpl.c: Likewise.
48228 * manual/examples/genpass.c: Likewise.
48229 * manual/examples/inetcli.c: Likewise.
48230 * manual/examples/inetsrv.c: Likewise.
48231 * manual/examples/isockad.c: Likewise.
48232 * manual/examples/longopt.c: Likewise.
48233 * manual/examples/memopen.c: Likewise.
48234 * manual/examples/memstrm.c: Likewise.
48235 * manual/examples/mkfsock.c: Likewise.
48236 * manual/examples/mkisock.c: Likewise.
48237 * manual/examples/mygetpass.c: Likewise.
48238 * manual/examples/pipe.c: Likewise.
48239 * manual/examples/popen.c: Likewise.
48240 * manual/examples/rprintf.c: Likewise.
48241 * manual/examples/search.c: Likewise.
48242 * manual/examples/select.c: Likewise.
48243 * manual/examples/setjmp.c: Likewise.
48244 * manual/examples/sigh1.c: Likewise.
48245 * manual/examples/sigusr.c: Likewise.
48246 * manual/examples/stpcpy.c: Likewise.
48247 * manual/examples/strdupa.c: Likewise.
48248 * manual/examples/strftim.c: Likewise.
48249 * manual/examples/strncat.c: Likewise.
48250 * manual/examples/subopt.c: Likewise.
48251 * manual/examples/swapcontext.c: Likewise.
48252 * manual/examples/termios.c: Likewise.
48253 * manual/examples/testopt.c: Likewise.
48254 * manual/examples/testpass.c: Likewise.
48255 * manual/examples/timeval_subtract.c: Likewise.
48256
01ae168d
RM
48257 [BZ #13792]
48258 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48259 function to ...
48260 * manual/timeval_subtract.c.texi: ... here, new file.
48261
49efa33d
DM
482622012-03-02 David S. Miller <davem@davemloft.net>
48263
48264 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48265
28afd92d
JM
482662012-03-02 Joseph Myers <joseph@codesourcery.com>
48267
804360ed
JM
48268 [BZ #3976]
48269 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48270 (__sin): Save and restore rounding mode and use round-to-nearest
48271 for all computations.
48272 (__cos): Save and restore rounding mode and use round-to-nearest
48273 for all computations.
48274 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48275 <fenv.h>.
48276 (tan): Save and restore rounding mode and use round-to-nearest for
48277 all computations.
48278 * math/libm-test.inc (cos_test_tonearest): New function.
48279 (cos_test_towardzero): Likewise.
48280 (cos_test_downward): Likewise.
48281 (cos_test_upward): Likewise.
48282 (sin_test_tonearest): Likewise.
48283 (sin_test_towardzero): Likewise.
48284 (sin_test_downward): Likewise.
48285 (sin_test_upward): Likewise.
48286 (tan_test_tonearest): Likewise.
48287 (tan_test_towardzero): Likewise.
48288 (tan_test_downward): Likewise.
48289 (tan_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
a6d06d7b
JM
48294 [BZ #10135]
48295 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48296 small n, then large n, before computing and testing k+n.
48297 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48299 Likewise.
48300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48301 Likewise.
48302 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48303 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48306 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48307 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48309 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48310 * math/libm-test.inc (scalbn_test): Add more tests.
48311 (scalbln_test): Likewise.
48312
07e12bb3
JM
48313 * manual/filesys.texi (mode_t): Describe constraints on size and
48314 signedness, not exact equivalence to a particular type.
48315 (ino_t): Likewise.
48316 (ino64_t): Likewise.
48317 (dev_t): Likewise.
48318 (nlink_t): Likewise.
48319 (blkcnt_t): Likewise.
48320 (blkcnt64_t): Likewise.
48321 * manual/llio.texi (off_t): Likewise.
48322
28afd92d
JM
48323 [BZ #3976]
48324 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48325 (__ieee754_exp): Save and restore rounding mode and use
48326 round-to-nearest for all computations.
48327 * math/libm-test.inc (exp_test_tonearest): New function.
48328 (exp_test_towardzero): Likewise.
48329 (exp_test_downward): Likewise.
48330 (exp_test_upward): Likewise.
48331 (main): Call the new functions.
48332 * sysdeps/i386/fpu/libm-test-ulps: Update.
48333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48334
b1eeb65d
CD
483352012-03-01 Chris Demetriou <cgd@google.com>
48336
48337 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48338 have predictable order.
48339
53362a4b
DM
483402012-03-01 David S. Miller <davem@davemloft.net>
48341
3c969083
DM
48342 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48343
759707de
DM
48344 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48345 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48346 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48347 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48348
dfdb8ff2
DM
48349 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48350 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48351 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48353 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48354 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48355 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48356 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48357 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48358
ead89f96
DM
48359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48360
7f66bd07
DM
48361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48362 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48364
53362a4b
DM
48365 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48366 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48367 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48368 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48369 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48374 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48375 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48381 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48382 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48383 * sysdeps/sparc/elf/configure: Regenerated.
48384
7b1902cb
JM
483852012-03-01 Joseph Myers <joseph@codesourcery.com>
48386
bec039bc
JM
48387 * configure.in (AS, LD): Require binutils 2.20 or later.
48388 * configure: Regenerated.
48389 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48390 as required minimum version.
48391 * INSTALL: Regenerated.
48392
7b1902cb
JM
48393 [BZ #2541]
48394 [BZ #4108]
48395 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48396 before squaring exponent.
48397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48398 bottom long double and 27 bits of top long double before squaring
48399 exponent.
48400 * math/libm-test.inc (erfc_test): Add more tests.
48401 * sysdeps/i386/fpu/libm-test-ulps: Update.
48402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48404
f775c276
KT
484052012-03-01 Kai Tietz <ktietz@redhat.com>
48406
48407 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48408 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48409 containing bit-fields.
48410 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48411 * soft-fp/single.h (_FP_UNION_S): Likewise.
48412 * soft-fp/double.h (_FP_UNION_D): Likewise.
48413
5b8a4d4a
JM
484142012-02-29 Joseph Myers <joseph@codesourcery.com>
48415
0bab47b6
JM
48416 [BZ #13786]
48417 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48418 not include ../strcmp.S.
48419 [USE_AS_STRNCASECMP_L]: Likewise.
48420 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48421 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48422 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48423 (__strncasecmp_l_ia32): Define as alias to
48424 __strncasecmp_l_nonascii.
48425
0fcad3e2
JM
48426 [BZ #5794]
48427 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48428 * sysdeps/i386/fpu/libm-test-ulps: Update.
48429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48430
5b8a4d4a
JM
48431 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48433
8fdceb2e
JL
484342012-02-29 Jeff Law <law@redhat.com>
48435
48436 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48437 out of bounds read.
48438
1f393a11
MP
484392012-02-29 Marek Polacek <polacek@redhat.com>
48440
48441 [BZ #13706]
48442 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48443 * elf/Makefile: Add rules to run tst-unused-dep.out.
48444
8847f037
DM
484452012-02-28 David S. Miller <davem@davemloft.net>
48446
48447 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48448 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48451 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48452 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48453
169d7f11
JM
484542012-02-29 Joseph Myers <joseph@codesourcery.com>
48455
48456 * math/libm-test.inc (llround_test): Move one test from
48457 lround_test. Use TEST_f_L in moved test.
48458 (lround_test): Move misplaced test to llround_test. Add testcase
48459 from bug 2561.
48460
39adf059
UD
484612012-02-28 Ulrich Drepper <drepper@gmail.com>
48462
48463 * sysdeps/x86_64/fpu/e_expf.S: New file.
48464 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48465
71b5d1c5
SB
484662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48467
48468 [BZ #13637]
48469 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48470 of remain_len that may cause incomplete multi-byte character and
48471 false match.
48472 * posix/bug-regex33.c: New file.
48473 * posix/Makefile (tests): Add bug-regex33.
48474
1f77f049
JM
484752012-02-28 Joseph Myers <joseph@codesourcery.com>
48476
48477 * manual/macros.texi: New file.
48478 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48479 * manual/libc.texinfo: Include macros.texi.
48480 * manual/creatute.texi: Likewise.
48481 * manual/install.texi: Likewise.
48482 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48483 @glibcadj{} in references to the GNU C Library.
48484 * manual/charset.texi: Likewise.
48485 * manual/conf.texi: Likewise.
48486 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48487 when not using those macros.
48488 * manual/creature.texi: Likewise.
48489 * manual/crypt.texi: Likewise.
48490 * manual/errno.texi: Likewise.
48491 * manual/filesys.texi: Likewise.
48492 * manual/header.texi: Likewise.
48493 * manual/install.texi: Likewise.
48494 * manual/intro.texi: Likewise.
48495 * manual/io.texi: Likewise.
48496 * manual/job.texi: Likewise.
48497 * manual/lang.texi: Likewise.
48498 * manual/libc.texiinfo: Likewise.
48499 * manual/llio.texi: Likewise.
48500 * manual/locale.texi: Likewise.
48501 * manual/maint.texi: Likewise.
48502 * manual/math.texi: Likewise.
48503 * manual/memory.texi: Likewise.
48504 * manual/message.texi: Likewise.
48505 * manual/nss.texi: Likewise.
48506 * manual/pattern.texi: Likewise.
48507 * manual/process.texi: Likewise.
48508 * manual/resource.texi: Likewise.
48509 * manual/search.texi: Likewise.
48510 * manual/setjmp.texi: Likewise.
48511 * manual/signal.texi: Likewise.
48512 * manual/socket.texi: Likewise.
48513 * manual/startup.texi: Likewise.
48514 * manual/stdio.texi: Likewise.
48515 * manual/string.texi: Likewise.
48516 * manual/sysinfo.texi: Likewise.
48517 * manual/syslog.texi: Likewise.
48518 * manual/terminal.texi: Likewise.
48519 * manual/time.texi: Likewise.
48520 * manual/users.texi: Likewise.
48521 * INSTALL: Regenerated.
48522 * NOTES: Regenerated.
d40c5d54 48523 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48524
450bf206
AS
485252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48526
48527 * include/dirent.h: Include <dirstream.h> before
48528 <dirent/dirent.h>.
48529
741a235b
DM
485302012-02-28 David S. Miller <davem@davemloft.net>
48531
48532 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48533 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48534 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48535 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48536
d6b5aa58
DM
485372012-02-27 David S. Miller <davem@davemloft.net>
48538
1aff59a3
DM
48539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48541 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48542 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48543
d6b5aa58
DM
48544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48545 frame pointer instead of stack pointer relative arg slot.
48546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48547 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48548 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48549
433f48bf
CD
485502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48551
48552 [BZ #3992]
48553 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48554
d674b76d
DM
485552012-02-27 David S. Miller <davem@davemloft.net>
48556
48557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48563 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48565
0e7727f7
JM
485662012-02-27 Joseph Myers <joseph@codesourcery.com>
48567
48568 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48569 later. Allow versions 5-9.
43be4ca2 48570 * configure: Regenerated.
0e7727f7
JM
48571 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48572 required minimum version and 4.6 as recommended version. Do not
48573 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48574 * INSTALL: Regenerated.
0e7727f7 48575
a78bc654
DM
485762012-02-27 David S. Miller <davem@davemloft.net>
48577
428d5830
DM
48578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48584 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48585 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48586
a78bc654
DM
48587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48588 manipulate bits before adding and subtracting TWO112[sx].
48589 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48590
4579f81c
RM
485912012-02-27 Roland McGrath <roland@hack.frob.com>
48592
36c8acb4
RM
48593 [BZ #13775]
48594 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48595 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48596 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48597 being in POSIX, because they are in 1003.1-2008.
48598
84ad622b
RM
48599 * rt/tst-aio.c: Include <fcntl.h>.
48600 * rt/tst-aio7.c: Likewise.
48601 * rt/tst-aio64.c: Likewise.
48602
4579f81c
RM
48603 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48604
abd923db
JM
486052012-02-27 Joseph Myers <joseph@codesourcery.com>
48606
48607 * manual/install.texi (--with-headers): Describe headers as
48608 interface headers, not private headers.
48609 (Specific advice for GNU/Linux systems): Describe use of headers
48610 from "make headers_install", not private headers from older
48611 kernels.
43be4ca2 48612 * INSTALL: Regenerated.
abd923db
JM
48613 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48614 Change to 2.6.19.
48615 * sysdeps/unix/sysv/linux/configure: Regenerated.
48616
6664049b
JM
48617 * manual/llio.texi (fclean): Remove documentation.
48618
bb8b6697
JM
48619 * manual/Makefile (libc-texi-generated): New variable. Include
48620 version.texi.
48621 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48622 $(libc-texi-generated), not duplicated list of files.
48623 (version.texi, stamp-version): New rules.
48624 (realclean): Remove $(libc-texi-generated), not individual files
48625 from that list. Do not remove dir-add.texinfo.
48626 * manual/libc.texinfo: Comment out uses of edition numbers and
48627 references to printed manual. Remove last-updated dates.
48628 (EDITION): Comment out.
48629 (ISBN): Likewise.
48630 (VERSION, UPDATED): Remove.
48631 (version.texi): Include.
48632
12e5c3b9
AS
486332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48634
48635 * sysdeps/posix/spawni.c: Include <signal.h>.
48636 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48637 * sysdeps/pthread/aio_fsync.c: Likewise.
48638
4efeffc1 486392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48640
ba63ba08
UD
48641 * conform/Makefile (tests): Run only when not cross-compiling and
48642 when fast-check is not defined.
48643
d94a4670
UD
48644 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48645 * conform/data/limits.h-data: Fixes for POSIX2008.
48646 * conform/run-conformtest.sh: Run all tests.
48647 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48648 headers.
48649 * include/bits/dlfcn.h: Likewise.
48650 * include/langinfo.h: Likewise.
48651 * include/monetary.h: Likewise.
48652 * include/sys/poll.h: Likewise.
48653
48654 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48655 for __USE_GNU.
48656 * posix/spawn.h: Define __need_sigset_t.
48657 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48658 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48659 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48660 to get sigevent_t only.
48661 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48662 only for __USE_GNU.
48663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48664 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48665 process_vm_writev only for __USE_GNU.
48666 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48667
48668 * conform/Makefile: For now ignore errors from run-conformtest.
48669 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48670 POSIX to avoid namespace pollution. Don't prepend headers.
48671 * conform/data/aio.h-data: Fixes for POSIX testing.
48672 * conform/data/fcntl.h-data: Likewise.
48673 * conform/data/glob.h-data: Likewise.
48674 * conform/data/grp.h-data: Likewise.
48675 * conform/data/pthread.h-data: Likewise.
48676 * conform/data/pwd.h-data: Likewise.
48677 * conform/data/signal.h-data: Likewise.
48678 * conform/data/spawn.h-data: Likewise.
48679 * conform/data/stdio.h-data: Likewise.
48680 * conform/data/stdlib.h-data: Likewise.
48681 * conform/data/stropts.h-data: Likewise.
48682 * conform/data/sys/mman.h-data: Likewise.
48683 * conform/data/sys/stat.h-data: Likewise.
48684 * conform/data/sys/types.h-data: Likewise.
48685 * conform/data/sys/wait.h-data: Likewise.
48686 * conform/data/time.h-data: Likewise.
48687 * conform/data/unistd.h-data: Likewise.
48688 * conform/data/utime.h-data: Likewise.
48689
48690 * io/sys/stat.h: fchmod was always in POSIX.
48691 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48692 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48693 * rt/aio.h: Define __need_timespec before including <time.h>.
48694 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48695 struct. Add forward declaration of pthread_attr_t and use it in
48696 sigevent.
48697 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48698 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48699 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48700 always remove CLK_TCK definition.
48701
c20105c3
AS
487022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48703
48704 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48705
7a270350
UD
487062012-02-25 Ulrich Drepper <drepper@gmail.com>
48707
31341567
UD
48708 * conform/run-conformtest.sh: New file.
48709 * conform/Makefile: Run run-conformtest for tests.
48710 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48711 support.
48712
48713 * conform/data/uchar.h-data: New file.
48714 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48715 * conform/data/arpa/inet.h-data: Likewise.
48716 * conform/data/assert.h-data: Likewise.
48717 * conform/data/complex.h-data: Likewise.
48718 * conform/data/cpio.h-data: Likewise.
48719 * conform/data/ctype.h-data: Likewise.
48720 * conform/data/dirent.h-data: Likewise.
48721 * conform/data/dlfcn.h-data: Likewise.
48722 * conform/data/errno.h-data: Likewise.
48723 * conform/data/fcntl.h-data: Likewise.
48724 * conform/data/float.h-data: Likewise.
48725 * conform/data/fmtmsg.h-data: Likewise.
48726 * conform/data/fnmatch.h-data: Likewise.
48727 * conform/data/ftw.h-data: Likewise.
48728 * conform/data/glob.h-data: Likewise.
48729 * conform/data/grp.h-data: Likewise.
48730 * conform/data/iconv.h-data: Likewise.
48731 * conform/data/inttypes.h-data: Likewise.
48732 * conform/data/langinfo.h-data: Likewise.
48733 * conform/data/libgen.h-data: Likewise.
48734 * conform/data/limits.h-data: Likewise.
48735 * conform/data/locale.h-data: Likewise.
48736 * conform/data/math.h-data: Likewise.
48737 * conform/data/monetary.h-data: Likewise.
48738 * conform/data/mqueue.h-data: Likewise.
48739 * conform/data/ndbm.h-data: Likewise.
48740 * conform/data/net/if.h-data: Likewise.
48741 * conform/data/netdb.h-data: Likewise.
48742 * conform/data/netinet/in.h-data: Likewise.
48743 * conform/data/nl_types.h-data: Likewise.
48744 * conform/data/poll.h-data: Likewise.
48745 * conform/data/pthread.h-data: Likewise.
48746 * conform/data/pwd.h-data: Likewise.
48747 * conform/data/regex.h-data: Likewise.
48748 * conform/data/sched.h-data: Likewise.
48749 * conform/data/search.h-data: Likewise.
48750 * conform/data/semaphore.h-data: Likewise.
48751 * conform/data/setjmp.h-data: Likewise.
48752 * conform/data/signal.h-data: Likewise.
48753 * conform/data/spawn.h-data: Likewise.
48754 * conform/data/stdarg.h-data: Likewise.
48755 * conform/data/stdio.h-data: Likewise.
48756 * conform/data/stdlib.h-data: Likewise.
48757 * conform/data/string.h-data: Likewise.
48758 * conform/data/strings.h-data: Likewise.
48759 * conform/data/stropts.h-data: Likewise.
48760 * conform/data/sys/ipc.h-data: Likewise.
48761 * conform/data/sys/mman.h-data: Likewise.
48762 * conform/data/sys/msg.h-data: Likewise.
48763 * conform/data/sys/resource.h-data: Likewise.
48764 * conform/data/sys/select.h-data: Likewise.
48765 * conform/data/sys/sem.h-data: Likewise.
48766 * conform/data/sys/shm.h-data: Likewise.
48767 * conform/data/sys/socket.h-data: Likewise.
48768 * conform/data/sys/stat.h-data: Likewise.
48769 * conform/data/sys/statvfs.h-data: Likewise.
48770 * conform/data/sys/time.h-data: Likewise.
48771 * conform/data/sys/timeb.h-data: Likewise.
48772 * conform/data/sys/times.h-data: Likewise.
48773 * conform/data/sys/types.h-data: Likewise.
48774 * conform/data/sys/uio.h-data: Likewise.
48775 * conform/data/sys/un.h-data: Likewise.
48776 * conform/data/sys/utsname.h-data: Likewise.
48777 * conform/data/sys/wait.h-data: Likewise.
48778 * conform/data/syslog.h-data: Likewise.
48779 * conform/data/tar.h-data: Likewise.
48780 * conform/data/termios.h-data: Likewise.
48781 * conform/data/utime.h-data: Likewise.
48782 * conform/data/utmpx.h-data: Likewise.
48783 * conform/data/varargs.h-data: Likewise.
48784 * conform/data/wchar.h-data: Likewise.
48785 * conform/data/wctype.h-data: Likewise.
48786 * conform/data/wordexp.h-data: Likewise.
48787
48788 * include/stropts.h: New file.
48789 * include/uchar.h: New file.
48790 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48791 * include/assert.h: Likewise.
48792 * include/ctype.h: Likewise.
48793 * include/dirent.h: Likewise.
48794 * include/dlfcn.h: Likewise.
48795 * include/fcntl.h: Likewise.
48796 * include/fnmatch.h: Likewise.
48797 * include/glob.h: Likewise.
48798 * include/grp.h: Likewise.
48799 * include/libio.h: Likewise.
48800 * include/locale.h: Likewise.
48801 * include/math.h: Likewise.
48802 * include/net/if.h: Likewise.
48803 * include/netdb.h: Likewise.
48804 * include/netinet/in.h: Likewise.
48805 * include/pthread.h: Likewise.
48806 * include/pwd.h: Likewise.
48807 * include/regex.h: Likewise.
48808 * include/sched.h: Likewise.
48809 * include/search.h: Likewise.
48810 * include/setjmp.h: Likewise.
48811 * include/signal.h: Likewise.
48812 * include/stdio.h: Likewise.
48813 * include/stdlib.h: Likewise.
48814 * include/string.h: Likewise.
48815 * include/sys/cdefs.h: Likewise.
48816 * include/sys/mman.h: Likewise.
48817 * include/sys/msg.h: Likewise.
48818 * include/sys/resource.h: Likewise.
48819 * include/sys/select.h: Likewise.
48820 * include/sys/socket.h: Likewise.
48821 * include/sys/stat.h: Likewise.
48822 * include/sys/statvfs.h: Likewise.
48823 * include/sys/time.h: Likewise.
48824 * include/sys/times.h: Likewise.
48825 * include/sys/uio.h: Likewise.
48826 * include/sys/utsname.h: Likewise.
48827 * include/sys/wait.h: Likewise.
48828 * include/termios.h: Likewise.
48829 * include/time.h: Likewise.
48830 * include/ulimit.h: Likewise.
48831 * include/unistd.h: Likewise.
48832 * include/utime.h: Likewise.
48833 * include/wchar.h: Likewise.
48834 * include/wctype.h: Likewise.
48835 * include/wordexp.h: Likewise.
48836
48837 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48838
7a270350
UD
48839 * time/time.h: TIME_UTC must be a macro.
48840 Make timespec_get available for ISO C11 only as well.
48841
7724defc
UD
488422012-02-24 Ulrich Drepper <drepper@gmail.com>
48843
48844 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48845 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48846
6b1d1d46
JM
488472012-02-24 Joseph Myers <joseph@codesourcery.com>
48848
48849 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48850
0f8bbd69
JM
488512012-02-24 Joseph Myers <joseph@codesourcery.com>
48852
48853 * manual/texinfo.tex: Update to version 2012-01-19.16.
48854
66ab80bc
JM
488552012-02-24 Joseph Myers <joseph@codesourcery.com>
48856
48857 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48858
74981cc5
RM
488592012-02-24 Roland McGrath <roland@hack.frob.com>
48860
ee968201
RM
48861 [BZ #13738]
48862 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48863 * manual/fdl-1.3.texi: New file.
48864 * manual/fdl-1.1.texi: File removed.
48865
74981cc5
RM
48866 [BZ #13738]
48867 * manual/libc.texinfo (FDL_VERSION): New @set.
48868 Use it for mention of FDL in cover text.
48869 (Documentation License): Use it in @include file name.
48870
7bb764bc
JM
488712012-02-22 Joseph Myers <joseph@codesourcery.com>
48872 Roland McGrath <roland@hack.frob.com>
48873
48874 [BZ #5461]
57f41c40
AS
48875 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48876 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48877 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48878 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48879 name.
48880 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48881
6cbeae47
JM
488822012-02-22 Joseph Myers <joseph@codesourcery.com>
48883
48884 [BZ #2547]
48885 [BZ #11365]
48886 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48887 manipulate bits before adding and subtracting TWO23[sx].
48888 * math/libm-test.inc (nearbyint_test): Add more tests.
48889
fe45ce09
JM
488902012-02-22 Joseph Myers <joseph@codesourcery.com>
48891
48892 [BZ #2548]
48893 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48894 bits before adding and subtracting TWO23[sx].
48895 * math/libm-test.inc (rint_test): Add more tests.
48896 (rint_test_tonearest): Likewise.
48897 (rint_test_towardzero): Likewise.
48898 (rint_test_downward): Likewise.
48899 (rint_test_upward: Likewise.
48900
ff3b3d82
JM
489012012-02-22 Joseph Myers <joseph@codesourcery.com>
48902
48903 [BZ #10110]
48904 * include/stdc-predef.h: New file. Extracted from features.h.
48905 * include/features.h: Include stdc-predef.h.
48906 * Makefile (headers): Add stdc-predef.h.
48907 * CONFORMANCE (Compiler limitations): Update.
48908
ef0aab35
JM
489092012-02-22 Joseph Myers <joseph@codesourcery.com>
48910
48911 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48912
58639409
DM
489132012-02-21 David S. Miller <davem@davemloft.net>
48914
48915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48917
c0e70b25
DM
489182012-02-20 David S. Miller <davem@davemloft.net>
48919
48920 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48921 using a normal save/restore sequence, rather than allocating a
48922 dummy stack frame just to store a frame pointer and restore.
48923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48924
fb06851d
JM
489252012-02-21 Joseph Myers <joseph@codesourcery.com>
48926
48927 * manual/install.texi: Fix stray word in line-wrapped comment.
48928
7a8b71c3
DM
489292012-02-20 David S. Miller <davem@davemloft.net>
48930
d510c123
DM
48931 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48932 both binutils and gcc support GOTDATA.
48933
0722d7c2
DM
48934 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48935 "rd %pc" in the PIC register setup sequences.
48936
3d2b3019
DM
48937 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48938 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48940 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48946 (SYSCALL_ERROR_HANDLER): Likewise.
48947 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48948 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48950 (SYSCALL_ERROR_HANDLER): Likewise.
48951
c80098a9
DM
48952 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48953 (HAVE_GCC_GOTDATA): New.
48954 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48955 relocation support in both binutils and gcc.
48956 * sysdeps/sparc/elf/configure: Regenerate.
48957
3a2545a0
DM
48958 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48959 * sysdeps/sparc/sparc32/elf/configure: Delete.
48960 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48961 * sysdeps/sparc/sparc64/elf/configure: Delete.
48962 * sysdeps/sparc/elf/configure.in: New file.
48963 * sysdeps/sparc/elf/configure: Generate.
48964
7a8b71c3
DM
48965 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48966 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48967 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48968 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48969 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48970
f1e86fca
JM
489712012-02-21 Joseph Myers <joseph@codesourcery.com>
48972
48973 * manual/install.texi: Do not mention specific glibc version
48974 numbers.
48975 * manual/libc.texinfo (VERSION, UPDATED): Update.
48976 (@copying): Use @copyright{} and range of years.
48977
0e7dfaef
JM
489782012-02-21 Joseph Myers <joseph@codesourcery.com>
48979
48980 [BZ #13695]
48981 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48982 [crti.S not in sysdirs] (generated): Do not append.
48983 [crti.S not in sysdirs] (omit-deps): Likewise.
48984 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48985 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48986 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48987 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48988 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48989 Likewise.
48990 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48991 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48992 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48993 * csu/defs.awk: Remove file.
48994 * sysdeps/generic/initfini.c: Likewise.
48995 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48996 variable.
48997 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48998 Likewise.
48999
599af3ca
JM
490002012-02-20 Joseph Myers <joseph@codesourcery.com>
49001
49002 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49003 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49004 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49006 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49007 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49008 <bits/epoll.h>.
49009 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49010 (__EPOLL_PACKED): Define to empty if not defined by
49011 <bits/epoll.h>.
49012 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49014 bits/epoll.h.
49015
0e499750
JM
490162012-02-20 Joseph Myers <joseph@codesourcery.com>
49017
49018 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49019 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49020 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49021 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49022 <bits/timerfd.h>.
49023 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49025 bits/timerfd.h.
49026
5ad91f6e
JM
490272012-02-20 Joseph Myers <joseph@codesourcery.com>
49028
49029 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49030 in C locale.
49031 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49032 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49035
06b99b02
AJ
490362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49037
49038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49039 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49040
7638c0fd
AS
490412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49042
49043 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49044 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49045 defined.
49046 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49047 Likewise.
49048 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49049 entry for 2.16.
49050
92221550
AJ
490512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49052
49053 * math/w_acos.c: Use non-signaling floating-point comparisons.
49054 * math/w_acosf.c: Likewise.
49055 * math/w_acosh.c: Likewise.
49056 * math/w_acoshf.c: Likewise.
49057 * math/w_acoshl.c: Likewise.
49058 * math/w_acosl.c: Likewise.
49059 * math/w_asin.c: Likewise.
49060 * math/w_asinf.c: Likewise.
49061 * math/w_asinl.c: Likewise.
49062 * math/w_atanh.c: Likewise.
49063 * math/w_atanhf.c: Likewise.
49064 * math/w_atanhl.c: Likewise.
49065 * math/w_exp2.c: Likewise.
49066 * math/w_exp2f.c: Likewise.
49067 * math/w_exp2l.c: Likewise.
49068 * math/w_j0.c: Likewise.
49069 * math/w_j0f.c: Likewise.
49070 * math/w_j0l.c: Likewise.
49071 * math/w_j1.c: Likewise.
49072 * math/w_j1f.c: Likewise.
49073 * math/w_j1l.c: Likewise.
49074 * math/w_jn.c: Likewise.
49075 * math/w_jnf.c: Likewise.
49076 * math/w_log.c: Likewise.
49077 * math/w_log10.c: Likewise.
49078 * math/w_log10f.c: Likewise.
49079 * math/w_log10l.c: Likewise.
49080 * math/w_log2.c: Likewise.
49081 * math/w_log2f.c: Likewise.
49082 * math/w_log2l.c: Likewise.
49083 * math/w_logf.c: Likewise.
49084 * math/w_logl.c: Likewise.
49085 * math/w_sqrt.c: Likewise.
49086 * math/w_sqrtf.c: Likewise.
49087 * math/w_sqrtl.c: Likewise.
49088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49089 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49091 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49092 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49093
ebaf36eb
JM
490942012-02-19 Joseph Myers <joseph@codesourcery.com>
49095
49096 [BZ #9739]
49097 * manual/string.texi (strnlen): Use correct parameter name in
49098 equivalent expression.
49099
71c254a6
JM
491002012-02-19 Joseph Myers <joseph@codesourcery.com>
49101
49102 [BZ #11174]
49103 * manual/users.texi (seteuid): Consistently use neweuid for
49104 argument name.
49105
16d2c631
JM
491062012-02-19 Joseph Myers <joseph@codesourcery.com>
49107
49108 [BZ #13704]
49109 * manual/nss.texi (Services in the NSS configuration): Correct
49110 list of services in example configuration file.
49111
cd837b09
NB
491122012-02-19 Nick Bowler <nbowler@draconx.ca>
49113
49114 [BZ #11322]
49115 * manual/arith.texi: Remove statements about negative zero
49116 behaving identically to zero.
49117
02c4bbad
JM
491182012-02-18 Joseph Myers <joseph@codesourcery.com>
49119
49120 [BZ #5993]
49121 * manual/install.texi: Do not document upgrading from libc5.
49122
366842e7
JM
491232012-02-18 Joseph Myers <joseph@codesourcery.com>
49124
49125 [BZ #4596]
49126 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49127
dd54084d
DM
491282012-02-18 David S. Miller <davem@davemloft.net>
49129
49130 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49131 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49132 %o7 across the call.
49133 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49134 instead.
49135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49136 SETUP_PIC_REG_LEAF.
49137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49138 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49139 * sysdeps/sparc/crtn.S: Likewise.
49140
2bcc53a3
UD
491412012-02-17 Ulrich Drepper <drepper@gmail.com>
49142
49143 * aout/Makefile: Remove.
49144
09c093b5
RK
491452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49146
49147 [BZ #13058]
49148 * manual/examples/argp-ex1.c (main): Format definition in GNU
49149 style.
49150 * manual/examples/argp-ex2.c (main): Likewise.
49151 * manual/examples/argp-ex3.c (main): Likewise.
49152 * manual/examples/argp-ex4.c (main): Likewise.
49153 * manual/examples/longopt.c (main): Use new-style prototype
49154 definition.
49155 * manual/examples/strncat.c (main): Specify return type and use
49156 (void) for arguments.
49157 * manual/examples/subopt.c (main): Use char **argv argument.
49158
2ee633a2
JM
491592012-02-17 Joseph Myers <joseph@codesourcery.com>
49160
49161 [BZ #5077]
49162 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49163 rounding modes.
49164
0520adde
FB
491652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49166
49167 [BZ #6907]
49168 * manual/string.texi (strchr): Change when strchrnul is
49169 recommended.
49170
3f4081cd
DGM
491712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49172
49173 [BZ #174]
49174 * manual/locale.texi (setlocale): Document LOCPATH.
49175
d1b10e78
JM
491762012-02-17 Joseph Myers <joseph@codesourcery.com>
49177
49178 [BZ #10210]
49179 * manual/process.texi (execle): Move @dots{} before last argument.
49180
79c6869c
PB
491812012-02-17 Paul Bolle <pebolle@tiscali.nl>
49182
49183 [BZ #12047]
49184 * manual/charset.texi (Generic Charset Conversion): Fix typo
49185 (LC_TYPE -> LC_CTYPE).
49186
cc6e48bc
NB
491872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49188
49189 [BZ #5805]
49190 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49191 (scalbnf): Likewise.
49192 (scalbnl): Likewise.
49193 (scalbln): Likewise.
49194 (scalblnf): Likewise.
49195 (scalblnl): Likewise.
49196 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49197 (vwarnx): Likewise.
49198 (verr): Likewise.
49199 (verrx): Likewise.
49200 * manual/filesys.texi (telldir): Use braces around return type.
49201 * manual/llio.texi (mmap): Add space after comma.
49202 (mmap64): Likewise.
49203 * manual/math.texi (jn): Use @var{} on parameter names.
49204 (jnf): Likewise.
49205 (jnl): Likewise.
49206 (yn): Likewise.
49207 (ynf): Likewise.
49208 (ynl): Likewise.
49209 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49210 line.
49211 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49212 "...".
49213 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49214 (sched_get_priority_max): Likewise.
49215 * manual/signal.texi (sigvec): Add space after comma.
49216 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49217 names.
49218 (if_indextoname): Likewise.
49219 (if_freenameindex): Likewise.
49220 (sendto): Use ',' instead of '.' in prototype.
49221 * manual/startup.texi (syscall): Use @dots{} instead of literal
49222 "...".
49223 * manual/stdio.texi (__fpending): Separate initial words of
49224 paragraph from @deftypefun line.
49225 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49226 "...".
49227 (vsyslog): Use @var{} on parameter names.
49228 * manual/terminal.texi (stty): Use @var{} on parameter names.
49229 * manual/users.texi (getutmp): Use @var{} on parameter names.
49230 (getutmpx): Likewise.
49231
5b23062f
JM
492322012-02-17 Joseph Myers <joseph@codesourcery.com>
49233
49234 [BZ #6884]
49235 * manual/stdio.texi (fopen): Fix typos in description of
49236 ",ccs=STRING".
49237
8dee4833
AJ
492382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49239
49240 [BZ #4026]
49241 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49242 get clock_id definition.
49243
9078ce93
TS
492442012-02-17 Thomas Schwinge <thomas@schwinge.name>
49245
49246 [BZ #4822]
49247 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49248 (madvise): Cast every argument to void on its own.
49249
3835c55f
JM
492502012-02-17 Joseph Myers <joseph@codesourcery.com>
49251
49252 [BZ #9902]
49253 * manual/startup.texi (Exit Status): Fix typo.
49254
35c47e37
JM
492552012-02-17 Joseph Myers <joseph@codesourcery.com>
49256
49257 [BZ #10140]
49258 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49259 * manual/examples/argp-ex2.c: Likewise.
49260 * manual/examples/argp-ex3.c: Likewise.
49261
e3b69ca7
RH
492622012-02-16 Richard Henderson <rth@redhat.com>
49263
49264 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49265 * sysdeps/s390/s390-32/initfini.c: Remove.
49266 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49267 * sysdeps/s390/s390-64/initfini.c: Remove.
49268
df83af67
KK
492692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49270
49271 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49272 compiler output for sysdeps/generic/initfini.c.
49273 * sysdeps/sh/elf/initfini.c: Remove file.
49274
f63f3380
DM
492752012-02-16 David S. Miller <davem@davemloft.net>
49276
fb59b3a4
DM
49277 [BZ #11494]
49278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49279
f63f3380
DM
49280 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49281 * sysdeps/sparc/crti.S: New file.
49282 * sysdeps/sparc/crtn.S: New file.
49283 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49284 * sysdeps/sparc/sparc64/Makefile: Likewise.
49285
df6a4a4a
MF
492862012-02-15 Mike Frysinger <vapier@gentoo.org>
49287
6dd8f3dc 49288 [BZ #3335]
df6a4a4a
MF
49289 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49290
1cac7236
RM
492912012-02-15 Roland McGrath <roland@hack.frob.com>
49292
d2c736f8
RM
49293 [BZ #4822]
49294 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49295
1cac7236
RM
49296 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49297 (write, read, close): Likewise.
49298 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49299
8e475601
JM
493002012-02-15 Joseph Myers <joseph@codesourcery.com>
49301
49302 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49303 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49304 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49305 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49306 <bits/signalfd.h>.
49307 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49309 bits/signalfd.h.
49310
ed656b40
MP
493112012-02-14 Marek Polacek <polacek@redhat.com>
49312
49313 * sysdeps/x86_64/crti.S: New file.
49314 * sysdeps/x86_64/crtn.S: New file.
49315 * sysdeps/x86_64/elf/initfini.c: Remove file.
49316
2a979d3a
JM
493172012-02-13 Joseph Myers <joseph@codesourcery.com>
49318
49319 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49320 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49321 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49322 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49323 <bits/inotify.h>.
49324 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49326 bits/inotify.h.
49327
2a418ac3
JM
493282012-02-13 Joseph Myers <joseph@codesourcery.com>
49329
49330 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49331 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49332 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49333 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49334 <bits/eventfd.h>.
49335 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49337 bits/eventfd.h.
49338
fb779be7
TS
493392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49340
e19e83c5
RM
49341 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49342 __feraiseexcept instead of feraiseexcept.
7c35ffed 49343
fb779be7
TS
49344 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49345 nanosleep invocations.
49346 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49347 strings, and add error checking for a nanosleep invocations.
49348
59ba27a6
PE
493492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49350
49351 Replace FSF snail mail address with URLs, as per GNU coding standards.
49352 Most of the snail mail addresses were wrong anyway, and omitting
49353 them makes the source code easier to maintain. Almost all of the
49354 changes are to license notices and to locale LC_IDENTIFICATION
49355 addresses, except for this one:
49356 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49357 not its snail mail address.
49358
57b957eb
RH
493592012-02-09 Richard Henderson <rth@twiddle.net>
49360
af850b1c
RH
49361 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49362 of kernel-features.h.
49363
57b957eb
RH
49364 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49365
6b73181a
MP
493662012-02-08 Marek Polacek <polacek@redhat.com>
49367
49368 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49369 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49370 * sysdeps/gnu/_G_config.h: Likewise.
49371 * sysdeps/generic/_G_config.h: Likewise.
49372
26ecc33a
AS
493732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49374
6c6dbc63
AS
49375 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49376 tests.
49377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49378
e216c012
AS
49379 * sysdeps/powerpc/powerpc32/crti.S: New file.
49380 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49381 * sysdeps/powerpc/powerpc64/crti.S: New file.
49382 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49383
26ecc33a
AS
49384 * Makeconfig (have-initfini): Don't set.
49385 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49386 * configure.in (nopic_initfini): Don't substitute.
49387 * config.h.in (HAVE_INITFINI): Don't #undef.
49388 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49389 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49390
3add8e13
JM
493912012-02-08 Joseph Myers <joseph@codesourcery.com>
49392
49393 Support crti.S and crtn.S provided directly by architectures.
49394 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49395 [crti.S in sysdirs] (omit-deps): Likewise.
49396 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49397 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49398 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49399 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49400 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49401 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49402 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49403 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49404 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49405 compiler output for sysdeps/generic/initfini.c.
49406 * sysdeps/i386/elf/Makefile: Remove file.
49407 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49408
a22f12b4
MP
494092012-02-07 Marek Polacek <polacek@redhat.com>
49410
49411 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49412 * sysdeps/gnu/_G_config.h: Likewise.
49413 * sysdeps/mach/hurd/_G_config.h: Likewise.
49414
148cf100
MP
494152012-02-07 Marek Polacek <polacek@redhat.com>
49416
49417 * math/Makefile (tests): Add tst-CMPLX2.
49418 * math/tst-CMPLX2.c: New file.
49419
cfdc0dd7
AS
494202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49421
84ba42c4
AS
49422 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49423
cfdc0dd7
AS
49424 * math/libm-test.inc (jn_test): Add missing L suffix.
49425
622c86f4
MP
494262012-02-06 Marek Polacek <polacek@redhat.com>
49427
49428 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49429 * sysdeps/i386/fpu/e_powf.S: Likewise.
49430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49431 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49432 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49433 * sysdeps/i386/fpu/e_pow.S: Likewise.
49434 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49436 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49437 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49438 * sysdeps/i386/fpu/e_log2.S: Likewise.
49439 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49440 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49441 * sysdeps/i386/fpu/e_powl.S: Likewise.
49442 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49443 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49444 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49445 * sysdeps/i386/fpu/e_logl.S: Likewise.
49446 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49447 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49448 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49449 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49451 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49452 * sysdeps/i386/fpu/e_log.S: Likewise.
49453 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49455 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49456 * sysdeps/i386/fpu/e_logf.S: Likewise.
49457 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49458 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49459 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49460 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49461 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49462 * sysdeps/i386/fpu/e_log10.S: Likewise.
49463 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49465 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49466 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49468 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49469 * sysdeps/i386/asm-syntax.h: Likewise.
49470 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49472 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49473 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49474 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49476 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49477 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49479 * sysdeps/powerpc/sysdep.h: Likewise.
49480 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49481 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49482
d4a54ac6
JM
494832012-02-06 Joseph Myers <joseph@codesourcery.com>
49484
49485 [BZ #411]
49486 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49487
314054ea
JM
494882012-02-06 Joseph Myers <joseph@codesourcery.com>
49489
49490 * sysdeps/i386/sysdep.h: Include <features.h>.
49491 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49492 version.
49493
d8e0ca50
JM
494942012-02-05 Joseph Myers <joseph@codesourcery.com>
49495
49496 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49497 Define.
49498 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49499 LOAD_PIC_REG_STR.
49500
b1da7dd9
JM
495012012-02-03 Joseph Myers <joseph@codesourcery.com>
49502
49503 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49504 (SETUP_PIC_REG): Use GET_PC_THUNK.
49505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49506 macro.
49507
9a1d9254
JM
495082012-02-03 Joseph Myers <joseph@codesourcery.com>
49509
49510 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49511 for non-PIC compilation.
49512 (SETUP_PIC_REG): Add .p2align directive.
49513 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49514 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49515 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49516 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49518 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49521 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49522 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49523 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49524 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49525 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49526 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49527 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49528 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49529 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49530 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49531 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49532 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49533 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49534 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49535 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49536 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49541 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49542 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49545 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49546 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49547 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49548 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49549 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49550 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49551 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49552 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49553 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49554
65dc3b75
JM
495552012-02-03 Joseph Myers <joseph@codesourcery.com>
49556
49557 * math/tst-CMPLX.c: Include <stdio.h>.
49558
d55bf177
JM
495592012-01-31 Joseph Myers <joseph@codesourcery.com>
49560
49561 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49562 float.
49563 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49564 * sysdeps/sparc/bits/mathdef.h: Likewise.
49565
69db4f8f
MP
495662012-01-31 Marek Polacek <polacek@redhat.com>
49567
49568 * libio/libio.h: Don't define _PARAMS.
49569 * locale/programs/config.h: Don't define PARAMS.
49570 * stdlib/strtol_l.c: Likewise.
49571 (__strtol_l): Remove PARAMS from the prototype.
49572
41b81892
UD
495732012-01-31 Ulrich Drepper <drepper@gmail.com>
49574
3b49edc0
UD
49575 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49576 names. Just use the correct names. Remove unnecessary wrapper
49577 functions.
49578 * malloc/arena.c: Likewise.
49579 * malloc/hooks.c: Likewise.
49580
41b81892
UD
49581 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49582 ARENA_TEST says not to. Simplify test for creation of a new arena.
49583 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49584
27a25b6e
UD
495852012-01-30 Ulrich Drepper <drepper@gmail.com>
49586
49587 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49588 into tail calls.
49589 (update_get_addr): New function.
49590 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49591 GET_ADDR_MODULE parameter.
49592
c8a89e7d
JM
495932012-01-30 Joseph Myers <joseph@codesourcery.com>
49594
49595 * crypt/cert.c: Remove __STDC__ conditionals.
49596 * crypt/crypt-entry.c: Likewise.
49597 * crypt/crypt_util.c: Likewise.
49598 * libio/filedoalloc.c: Likewise.
49599 * libio/fileops.c: Likewise.
49600 * libio/genops.c: Likewise.
49601 * libio/iofclose.c: Likewise.
49602 * libio/iofdopen.c: Likewise.
49603 * libio/iofopen.c: Likewise.
49604 * libio/iofopen64.c: Likewise.
49605 * libio/iogetdelim.c: Likewise.
49606 * libio/iopopen.c: Likewise.
49607 * libio/obprintf.c: Likewise.
49608 * libio/oldfileops.c: Likewise.
49609 * libio/oldiofclose.c: Likewise.
49610 * libio/oldiofdopen.c: Likewise.
49611 * libio/oldiofopen.c: Likewise.
49612 * libio/oldiopopen.c: Likewise.
49613 * libio/wfiledoalloc.c: Likewise.
49614 * libio/wgenops.c: Likewise.
49615 * locale/programs/xmalloc.c: Likewise.
49616 * misc/syslog.c: Likewise.
49617 * stdio-common/xbug.c: Likewise.
49618 * string/memchr.c: Likewise.
49619 * string/memcmp.c: Likewise.
49620 * string/memrchr.c: Likewise.
49621 * string/rawmemchr.c: Likewise.
49622 * sysdeps/posix/getcwd.c: Likewise.
49623 * time/strftime_l.c: Likewise.
49624
3b100462
JM
496252012-01-30 Joseph Myers <joseph@codesourcery.com>
49626
49627 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49628 * config.make.in (config-cflags-sse2avx): Define.
49629 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49630 Fix typo.
49631
607998af
CM
496322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49633
49634 * scripts/config.guess: Update from upstream config git repository.
49635 * scripts/config.sub: Likewise.
49636
3601428f
CM
496372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49638
3ac8b282
CM
49639 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49640 (EM_NUM): Update.
49641 (R_TILEPRO_*, R_TILEGX_*): New macros.
49642
e034841e
CM
49643 * scripts/firstversions.awk: Fix bug in version range handling.
49644
540d7568
CM
49645 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49646
3601428f
CM
49647 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49648
463de862
CM
49649 * include/sys/epoll.h: New file.
49650 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49651 libc_hidden_def.
49652
73139a76
UD
496532012-01-28 Ulrich Drepper <drepper@gmail.com>
49654
96bc5b45
UD
49655 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49656 Avoid unnecessary __WORDSIZE == 64 test.
49657 (fmaxf): Use VEX format if possible.
49658 (fmax): Likewise.
49659 (fminf): Likewise.
49660 (fmin): Likewise.
49661
56f6f6a2
UD
49662 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49663 * math/math_private.h: Remove libc_fegetround* and
49664 libc_fesetround*.
49665 * sysdeps/i386/configure.in: Check for -msse2avx.
49666 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49667 also if SSE2AVX is defined.
49668 Remove libc_fegetround* and libc_fesetround*.
49669 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49670 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49671 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49672 of HAS_YMM_USABLE.
49673 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49674 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49675 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49676 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49677 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49678
73139a76
UD
49679 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49680
d73f93a4
AZ
496812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49682
49683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49684 size is not set.
49685 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49686
6ee65ed6
UD
496872012-01-27 Ulrich Drepper <drepper@gmail.com>
49688
49689 [BZ #13618]
49690 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49691 relocation.
49692 * Makeconfig (libm): Define.
49693 * elf/Makefile: Add rules to build and run tst-relsort1.
49694 * elf/tst-relsort1.c: New file.
49695 * elf/tst-relsort1mod1.c: New file.
49696 * elf/tst-relsort1mod2.c: New file.
49697
8db21882
JM
496982012-01-27 Joseph Myers <joseph@codesourcery.com>
49699
49700 * math/s_ldexp.c: Remove __STDC__ conditionals.
49701 * math/s_ldexpf.c: Likewise.
49702 * math/s_ldexpl.c: Likewise.
49703 * math/s_nextafter.c: Likewise.
49704 * math/s_nexttowardf.c: Likewise.
49705 * math/s_significand.c: Likewise.
49706 * math/s_significandf.c: Likewise.
49707 * math/s_significandl.c: Likewise.
49708 * math/w_jnl.c: Likewise.
49709 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49710 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49711 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49712 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49713 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49715 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49716 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49717 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49722 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49723 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49725 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49730 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49731 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49733 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49734 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49736 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49737 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49738 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49743 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49744 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49745 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49746 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49747 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49749 * sysdeps/ieee754/k_standard.c: Likewise.
49750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49751 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49752 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49753 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49754 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49755 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49756 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49757 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49758 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49759 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49760 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49762 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49763 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49764 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49766 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49767 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49768 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49772 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49775 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49779 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49781 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49782 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49786 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49789 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49790 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49792 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49793 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49795 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49797 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49799 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49800 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49803 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49805 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49806 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49807 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49809 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49810 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49811 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49812 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49813 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49814 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49815 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49816 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49817 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49819 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49820 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49821 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49822 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49823 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49824 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49825 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49826 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49827 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49828 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49829 * sysdeps/ieee754/s_matherr.c: Likewise.
49830 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49831 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49834
965a54a4
JM
498352012-01-26 Joseph Myers <joseph@codesourcery.com>
49836
49837 * crypt/md5.h: Remove __STDC__ conditionals.
49838 * libio/libioP.h: Likewise.
49839 * locale/programs/config.h: Likewise.
49840 * sysdeps/generic/sysdep.h: Likewise.
49841 * sysdeps/i386/asm-syntax.h: Likewise.
49842 * sysdeps/s390/asm-syntax.h: Likewise.
49843 * sysdeps/unix/sysdep.h: Likewise.
49844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49846
7071ad79
JM
498472012-01-26 Joseph Myers <joseph@codesourcery.com>
49848
49849 * libio/libio.h: Remove __STDC__ conditionals.
49850 * malloc/obstack.h: Likewise.
49851 * math/complex.h: Likewise.
49852 * math/math.h: Likewise.
49853 * sysdeps/generic/_G_config.h: Likewise.
49854 * sysdeps/gnu/_G_config.h: Likewise.
49855 * sysdeps/mach/hurd/_G_config.h: Likewise.
49856 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49857 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49858 * sysdeps/sparc/bits/mathdef.h: Likewise.
49859
afc5ed09
UD
498602012-01-26 Ulrich Drepper <drepper@gmail.com>
49861
49862 [BZ #13583]
49863 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49864 Clean up HAS_* macros.
afc5ed09 49865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49866 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49867 possible.
49868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49869 HAS_AVX.
49870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49871 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49872 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49875
bdb6de1d
JM
498762012-01-25 Joseph Myers <joseph@codesourcery.com>
49877
49878 * elf/tst-unique3.cc (gets): Remove declaration.
49879 * elf/tst-unique3lib.cc (gets): Likewise.
49880 * elf/tst-unique3lib2.cc (gets): Likewise.
49881 * elf/tst-unique4.cc (gets): Likewise.
49882
b15549e6
UD
498832012-01-24 Ulrich Drepper <drepper@gmail.com>
49884
49885 * include/stdio.h: Add C++ protection. Add gets declarations and
49886 definitions.
49887 * debug/tst-chk1.c: Don't declare gets here.
49888 * stdio-common/tst-gets.c: Likewise.
49889
a037381f
JM
498902012-01-24 Joseph Myers <joseph@codesourcery.com>
49891
49892 * posix/glob: Remove directory.
49893
f1d4aa75
JM
498942012-01-24 Joseph Myers <joseph@codesourcery.com>
49895
49896 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49897
81c0c964
PT
498982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49899
49900 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49901 of the non-standard EPFNOSUPPORT.
49902
0ea698ae
ST
499032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49904
49905 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49906 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49907 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49908
d220b117
UD
499092012-01-21 Ulrich Drepper <drepper@gmail.com>
49910
49911 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49912
3e1aa84e
UD
499132012-01-20 Ulrich Drepper <drepper@gmail.com>
49914
49915 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49916 transient errors.
49917 * nscd/grpcache.c (cache_addgr): Likewise.
49918 * nscd/hstcache.c (cache_addhst): Likewise.
49919 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49920 * nscd/pwdcache.c (cache_addpw): Likewise.
49921 * nscd/servicescache.c (cache_addserv): Likewise.
49922
400aa020
UD
499232012-01-16 Ulrich Drepper <drepper@gmail.com>
49924
d77e7869
UD
49925 * malloc/malloc.c: Various cleanups.
49926 * malloc/hooks.c: Likewise.
49927
400aa020
UD
49928 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49929 * stdlib/bug-fmtmsg1.c: New file.
49930
49931 * stdlib/fmtmsg.c (init): Add missing unlock.
49932 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49933
e0a309cf
MP
499342012-01-12 Marek Polacek <polacek@redhat.com>
49935
49936 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49937 and _GNU_SOURCE.
49938
929d11c7
WS
499392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49940
49941 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49942 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49943 macro to ensure uniqueness of label name.
49944 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49945 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49946
41d0e869
UD
499472012-01-11 Ulrich Drepper <drepper@gmail.com>
49948
0cc5ed3b
UD
49949 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49950
41d0e869
UD
49951 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49952 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49955
a47a831a
UD
499562012-01-10 Ulrich Drepper <drepper@gmail.com>
49957
daa891c0
UD
49958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49959
49960 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49961 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49962 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49963
e58ef0f2
UD
49964 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49965
a47a831a 49966 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49967 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49968 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49970
49971 * math/bits/math-finite.h: Add ldexp support.
49972
a0bfc9c7
MP
499732012-01-10 Marek Polacek <polacek@redhat.com>
49974
49975 * locale/programs/localedef.h (show_archive_content): Add noreturn
49976 attribute.
49977
d6e97a1d
UD
499782012-01-09 Ulrich Drepper <drepper@gmail.com>
49979
49980 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49981
d5835c26
UD
499822012-01-08 Ulrich Drepper <drepper@gmail.com>
49983
e5f484c6
UD
49984 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49985
d5835c26
UD
49986 * io/Makefile (headers): Add bits/poll2.h.
49987
d1f741e9
WS
499882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49989
49990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49991 typo #include statement.
49992
ec09c1c4
UD
499932012-01-08 Ulrich Drepper <drepper@gmail.com>
49994
49995 * include/sys/cdefs.h: Define __attribute_alloc_size.
49996 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49997 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49998 * elf/pldd.c: Likewise.
49999 * iconv/iconv_charmap.c: Likewise.
50000 * iconv/iconvconfig.c: Likewise.
50001 * iconv/strtab.c: Likewise.
50002 * locale/programs/locale.c: Likewise.
50003 * locale/programs/localedef.h: Likewise.
50004 * locale/programs/simple-hash.c: Likewise.
50005 * nscd/nscd.h: Likewise.
50006 * nss/makedb.c: Likewise.
50007 * sysdeps/generic/ldconfig.h: Likewise.
50008 * locale/programs/localedef.c: Remove xmalloc prototype.
50009 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50010
20b38e03
PP
500112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50012
50013 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50014 appropriate.
50015
a0da5fe1
UD
500162012-01-08 Ulrich Drepper <drepper@gmail.com>
50017
1d5a644a 50018 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50019 * math/tst-CMPLX.c: New file.
1d5a644a 50020
8784a6db
UD
50021 * math/complex.h (CMPLXL): Fix typo.
50022
d9a216c0
UD
50023 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50024 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50025 GLIBC_2.16.
50026 * debug/tst-chk1.c: Add poll and ppoll tests.
50027 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50028 * include/sys/poll.h: Add hidden proto for ppoll.
50029 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50030 * sysdeps/mach/hurd/ppoll.c: Likewise.
50031 * io/ppoll.c: Likewise.
50032 * debug/poll_chk.c: New file.
50033 * debug/ppoll_chk.c: New file.
50034 * include/bits/poll2.h: New file.
50035 * io/bits/poll2.h: New file.
50036
ac097f5c
UD
50037 [BZ #1350]
50038 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50039
2119dcfa
UD
50040 * configure.in: static is always set to yes. Remove.
50041 * config.make.in: Don't set build-static.
50042 * Makeconfig: Remove use of build-static.
50043 * dlfcn/Makefile: Likewise.
50044 * elf/Makefile: Likewise.
50045 * math/Makefile: Likewise.
50046 * misc/Makefile: Likewise.
50047 * nptl/Makefile: Likewise.
50048 * sysdeps/mach/hurd/Makefile: Likewise.
50049
121766a9
UD
50050 * configure.in: PWD_P is not used anymore.
50051 * config.make.in: Remove PWD_P entry.
50052
51a1d39c 50053 * configure.in: Remove last remnants of RANLIB.
8720d066 50054 No need to check for signed size_t anymore.
215f4bdc
UD
50055 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50056 and IA-64.
3857022a 50057 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50058 * aclocal.m4: Likewise.
50059
d3ed7225
UD
50060 * wcsmbs/mbrtoc16.c: Implement using towc function.
50061 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50062 * wcsmbs/wcsmbsload.c: Likewise.
50063 * iconv/gconv_simple.c: Likewise.
50064 * iconv/gconv_int.h: Likewise.
50065 * iconv/gconv_builtin.h: Likewise.
50066 * iconv/iconv_prog.c: Remove CHAR16 handling.
50067
50068 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50069
50070 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50071
a0da5fe1
UD
50072 * configure.in: Remove --with-elf and --enable-bounded options.
50073 Dont set base_machine for ia64. More non-ELF conditions removed.
50074 Remove testing and setting of leading underscore information.
50075 * config.make.in (build-bounded): Set to no.
50076 * config.h.in: Remove NO_UNDERSCORES entry.
50077 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50078 them.
50079 * csu/start.c: Remove !NO_UNDERSCORE code.
50080 * locale/localeinfo.h: Likewise.
50081 * sysdeps/generic/machine-gmon.h: Likewise.
50082 * sysdeps/generic/sysdep.h: Likewise.
50083 * sysdeps/i386/sysdep.h: Likewise.
50084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50085 * sysdeps/mach/sysdep.h: Likewise.
50086 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50088 * sysdeps/sh/sysdep.h: Likewise.
50089 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50090 * sysdeps/unix/i386/sysdep.S: Likewise.
50091 * sysdeps/unix/sparc/start.c: Likewise.
50092 * sysdeps/unix/sparc/sysdep.S: Likewise.
50093 * sysdeps/unix/sparc/sysdep.h: Likewise.
50094 * sysdeps/unix/start.c: Likewise.
50095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50096 * sysdeps/x86_64/sysdep.h: Likewise.
50097
df78418a
UD
500982012-01-07 Ulrich Drepper <drepper@gmail.com>
50099
a784e502
UD
50100 [BZ #13553]
50101 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50102 for non-gcc.
50103 * argp/argp-fmtstream.h: Use const instead __const.
50104 * argp/argp.h: Likewise.
50105 * assert/assert.h: Likewise.
50106 * bits/fenv.h: Likewise.
50107 * bits/sched.h: Likewise.
50108 * bits/sigset.h: Likewise.
50109 * bits/sigthread.h: Likewise.
50110 * catgets/nl_types.h: Likewise.
50111 * conform/data/pthread.h-data: Likewise.
50112 * crypt/crypt-private.h: Likewise.
50113 * crypt/crypt.h: Likewise.
50114 * crypt/crypt_util.c: Likewise.
50115 * ctype/ctype.h: Likewise.
50116 * debug/execinfo.h: Likewise.
50117 * debug/mbsnrtowcs_chk.c: Likewise.
50118 * debug/mbsrtowcs_chk.c: Likewise.
50119 * debug/wcsnrtombs_chk.c: Likewise.
50120 * debug/wcsrtombs_chk.c: Likewise.
50121 * debug/wcstombs_chk.c: Likewise.
50122 * dirent/dirent.h: Likewise.
50123 * dlfcn/dlfcn.h: Likewise.
50124 * elf/neededtest4.c: Likewise.
50125 * grp/grp.h: Likewise.
50126 * gshadow/gshadow.h: Likewise.
50127 * iconv/gconv.h: Likewise.
50128 * iconv/gconv_int.h: Likewise.
50129 * iconv/gconv_simple.c: Likewise.
50130 * iconv/iconv.h: Likewise.
50131 * iconv/loop.c: Likewise.
50132 * iconv/skeleton.c: Likewise.
50133 * include/aio.h: Likewise.
50134 * include/aliases.h: Likewise.
50135 * include/argz.h: Likewise.
50136 * include/arpa/inet.h: Likewise.
50137 * include/assert.h: Likewise.
50138 * include/dirent.h: Likewise.
50139 * include/dlfcn.h: Likewise.
50140 * include/execinfo.h: Likewise.
50141 * include/fcntl.h: Likewise.
50142 * include/fenv.h: Likewise.
50143 * include/glob.h: Likewise.
50144 * include/grp.h: Likewise.
50145 * include/libintl.h: Likewise.
50146 * include/mntent.h: Likewise.
50147 * include/netdb.h: Likewise.
50148 * include/pwd.h: Likewise.
50149 * include/rpc/netdb.h: Likewise.
50150 * include/sched.h: Likewise.
50151 * include/search.h: Likewise.
50152 * include/shadow.h: Likewise.
50153 * include/signal.h: Likewise.
50154 * include/stdio.h: Likewise.
50155 * include/stdlib.h: Likewise.
50156 * include/string.h: Likewise.
50157 * include/sys/socket.h: Likewise.
50158 * include/sys/stat.h: Likewise.
50159 * include/sys/statfs.h: Likewise.
50160 * include/sys/statvfs.h: Likewise.
50161 * include/sys/syslog.h: Likewise.
50162 * include/sys/time.h: Likewise.
50163 * include/sys/uio.h: Likewise.
50164 * include/time.h: Likewise.
50165 * include/unistd.h: Likewise.
50166 * include/utmp.h: Likewise.
50167 * include/wchar.h: Likewise.
50168 * include/wctype.h: Likewise.
50169 * inet/aliases.h: Likewise.
50170 * inet/arpa/inet.h: Likewise.
50171 * inet/netinet/ether.h: Likewise.
50172 * inet/netinet/in.h: Likewise.
50173 * intl/libintl.h: Likewise.
50174 * io/bits/fcntl2.h: Likewise.
50175 * io/fcntl.h: Likewise.
50176 * io/ftw.h: Likewise.
50177 * io/sys/poll.h: Likewise.
50178 * io/sys/stat.h: Likewise.
50179 * io/sys/statfs.h: Likewise.
50180 * io/sys/statvfs.h: Likewise.
50181 * io/utime.h: Likewise.
50182 * libio/bits/stdio.h: Likewise.
50183 * libio/bits/stdio2.h: Likewise.
50184 * libio/libio.h: Likewise.
50185 * libio/libioP.h: Likewise.
50186 * libio/stdio.h: Likewise.
50187 * locale/lc-ctype.c: Likewise.
50188 * locale/locale.h: Likewise.
50189 * login/utmp.h: Likewise.
50190 * malloc/arena.c: Likewise.
50191 * malloc/malloc.c: Likewise.
50192 * malloc/malloc.h: Likewise.
50193 * malloc/mcheck.c: Likewise.
50194 * malloc/mtrace.c: Likewise.
50195 * math/bits/mathcalls.h: Likewise.
50196 * math/fenv.h: Likewise.
50197 * math/math_private.h: Likewise.
50198 * misc/bits/error.h: Likewise.
50199 * misc/bits/syslog.h: Likewise.
50200 * misc/err.h: Likewise.
50201 * misc/error.h: Likewise.
50202 * misc/fstab.h: Likewise.
50203 * misc/mntent.h: Likewise.
50204 * misc/regexp.h: Likewise.
50205 * misc/search.h: Likewise.
50206 * misc/sgtty.h: Likewise.
50207 * misc/sys/mman.h: Likewise.
50208 * misc/sys/syslog.h: Likewise.
50209 * misc/sys/uio.h: Likewise.
50210 * misc/sys/xattr.h: Likewise.
50211 * misc/ttyent.h: Likewise.
50212 * nis/rpcsvc/ypclnt.h: Likewise.
50213 * nss/nss.h: Likewise.
50214 * posix/bits/unistd.h: Likewise.
50215 * posix/fnmatch.h: Likewise.
50216 * posix/glob.h: Likewise.
50217 * posix/sched.h: Likewise.
50218 * posix/spawn.h: Likewise.
50219 * posix/sys/wait.h: Likewise.
50220 * posix/unistd.h: Likewise.
50221 * posix/wordexp.h: Likewise.
50222 * pwd/pwd.h: Likewise.
50223 * resolv/netdb.h: Likewise.
50224 * resource/sys/resource.h: Likewise.
50225 * rt/aio.h: Likewise.
50226 * rt/bits/mqueue2.h: Likewise.
50227 * rt/mqueue.h: Likewise.
50228 * shadow/shadow.h: Likewise.
50229 * signal/signal.h: Likewise.
50230 * socket/send.c: Likewise.
50231 * socket/sendto.c: Likewise.
50232 * socket/sys/socket.h: Likewise.
50233 * stdio-common/printf.h: Likewise.
50234 * stdlib/bits/stdlib.h: Likewise.
50235 * stdlib/fmtmsg.h: Likewise.
50236 * stdlib/monetary.h: Likewise.
50237 * stdlib/stdlib.h: Likewise.
50238 * stdlib/ucontext.h: Likewise.
50239 * streams/stropts.h: Likewise.
50240 * string/argz.h: Likewise.
50241 * string/bits/string2.h: Likewise.
50242 * string/string.h: Likewise.
50243 * string/strings.h: Likewise.
50244 * sunrpc/rpc/auth.h: Likewise.
50245 * sunrpc/rpc/auth_des.h: Likewise.
50246 * sunrpc/rpc/clnt.h: Likewise.
50247 * sunrpc/rpc/netdb.h: Likewise.
50248 * sunrpc/rpc/pmap_clnt.h: Likewise.
50249 * sunrpc/rpc/xdr.h: Likewise.
50250 * sysdeps/generic/inttypes.h: Likewise.
50251 * sysdeps/generic/net/if.h: Likewise.
50252 * sysdeps/generic/sys/swap.h: Likewise.
50253 * sysdeps/gnu/net/if.h: Likewise.
50254 * sysdeps/gnu/utmpx.h: Likewise.
50255 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50256 * sysdeps/i386/i486/bits/string.h: Likewise.
50257 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50258 * sysdeps/s390/bits/string.h: Likewise.
50259 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50260 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50261 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50262 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50263 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50264 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50265 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50266 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50267 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50268 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50269 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50270 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50271 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50272 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50273 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50274 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50275 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50279 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50280 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50281 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50282 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50283 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50284 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50285 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50286 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50287 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50289 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50290 * sysvipc/sys/ipc.h: Likewise.
50291 * sysvipc/sys/msg.h: Likewise.
50292 * sysvipc/sys/sem.h: Likewise.
50293 * sysvipc/sys/shm.h: Likewise.
50294 * termios/termios.h: Likewise.
50295 * time/sys/time.h: Likewise.
50296 * time/time.h: Likewise.
50297 * wcsmbs/bits/wchar2.h: Likewise.
50298 * wcsmbs/uchar.h: Likewise.
50299 * wcsmbs/wchar.h: Likewise.
50300 * wctype/wctype.h: Likewise.
50301
0269750c
UD
50302 [BZ #13551]
50303 * Makeconfig: Remove all but ELF support including AIX support.
50304 * Makerules: Likewise.
50305 * config.h.in: Likewise.
50306 * config.make.in: Likewise.
50307 * configure: Likewise.
50308 * configure.in: Likewise.
50309 * csu/Makefile: Likewise.
50310 * csu/version.c: Likewise.
50311 * debug/Makefile: Likewise.
50312 * dlfcn/Makefile: Likewise.
50313 * elf/Makefile: Likewise.
50314 * extra-lib.mk: Likewise.
50315 * iconv/Makefile: Likewise.
50316 * include/libc-symbols.h: Likewise.
50317 * include/shlib-compat.h: Likewise.
50318 * resolv/Makefile: Likewise.
50319 * resolv/res_libc.c: Likewise.
50320 * rt/Makefile: Likewise.
50321 * sysdeps/i386/asm-syntax.h: Likewise.
50322 * sysdeps/i386/sysdep.h: Likewise.
50323 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50324 * sysdeps/mach/sysdep.h: Likewise.
50325 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50326 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50327 * sysdeps/s390/asm-syntax.h: Likewise.
50328 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50330 * sysdeps/sh/sysdep.h: Likewise.
50331 * sysdeps/unix/sparc/sysdep.h: Likewise.
50332 * sysdeps/wordsize-32/divdi3.c: Likewise.
50333 * sysdeps/x86_64/sysdep.h: Likewise.
50334
00bbd29b
UD
50335 * argp/Versions: Remove _argp_unlock_xxx.
50336
50337 [BZ #13559]
50338 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50339 * abilist/libBrokenLocale.abilist: Likewise.
50340 * abilist/libanl.abilist: Likewise.
50341 * abilist/libc.abilist: Likewise.
50342 * abilist/libcrypt.abilist: Likewise.
50343 * abilist/libdl.abilist: Likewise.
50344 * abilist/libm.abilist: Likewise.
50345 * abilist/libnsl.abilist: Likewise.
50346 * abilist/libpthread.abilist: Likewise.
50347 * abilist/libresolv.abilist: Likewise.
50348 * abilist/librt.abilist: Likewise.
50349 * abilist/libthread_db.abilist: Likewise.
50350 * abilist/libutil.abilist: Likewise.
50351 * abilist/libnss_db.abilist: New file.
50352
50353 * scripts/abilist.awk: Add support for indirect functions.
50354
a2693a0e
UD
50355 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50356
3f05895f
UD
50357 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50358
ecb6fb48
UD
50359 * shlib-versions: Remove entries for ports architectures.
50360
664f8cb9
UD
50361 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50362 files in ports.
50363 * elf/stackguard-macros.h: Remove support for IA-64.
50364 * elf/tst-auditmod1.c: Likewise.
50365 * sysdeps/generic/ldsodefs.h: Likewise.
50366
7ae81d88
UD
50367 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50368 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50369 configure files.
50370
bdeba135
UD
50371 [BZ #13552]
50372 * configure.in: Remove --enable-omitfp support.
50373 * FAQ.in: Adjust.
50374 * config.make.in: Likewise.
50375 * Makeconfig: Likewise.
50376 * manual/install.texi: Likewise.
50377
d75a0a62
UD
50378 In case anyone cares, the IA-64 architecture could move to ports.
50379 * sysdeps/ia64/*: Removed.
50380 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50381 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50382
dcc9756b
UD
50383 [BZ #13555]
50384 * configure.in: Remove entries for unsupported architectures.
50385
d3761ebc 50386 [BZ #13533]
9954432e
UD
50387 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50388 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50389 routines.
50390 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50391 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50392 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50393 fall back to using wcrtomb.
50394 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50395 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50396 renaming.
50397 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50398 * wcsmbs/tst-c16c32-1.c: New file.
50399
50400 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50401 local variable.
50402
c3a87236
UD
50403 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50404
28926a1b
UD
50405 * elf/tst-unique3.cc: Add explicit declaration of gets.
50406 * elf/tst-unique3lib.cc: Likewise.
50407 * elf/tst-unique3lib2.cc: Likewise.
50408 * elf/tst-unique4.cc: Likewise.
50409
df78418a
UD
50410 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50411
8ecd6b2a
JM
504122012-01-06 Joseph Myers <joseph@codesourcery.com>
50413
50414 [BZ #13566]
50415 * assert/assert.h (static_assert): Don't define for C++.
50416 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50417 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50418
9f115170
UD
504192012-01-03 Ulrich Drepper <drepper@gmail.com>
50420
5e0d0300
UD
50421 * iconv/loop.c (single loop): Fix assertion in storing of
50422 remaining bytes.
50423
9f115170
UD
50424 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50425
81fb02b0
UD
504262012-01-01 Ulrich Drepper <drepper@gmail.com>
50427
50428 * posix/getconf.c: Update copyright year.
50429 * nss/getent.c: Likewise.
a316c1f6 50430 * nss/makedb.c: Likewise.
81fb02b0
UD
50431 * iconv/iconvconfig.c: Likewise.
50432 * iconv/iconv_prog.c: Likewise.
50433 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50434 * elf/pldd.c: Likewise.
50435 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50436 * catgets/gencat.c: Likewise.
50437 * csu/version.c: Likewise.
50438 * elf/ldd.bash.in: Likewise.
50439 * elf/sprof.c (print_version): Likewise.
50440 * locale/programs/locale.c: Likewise.
50441 * locale/programs/localedef.c: Likewise.
a316c1f6 50442 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50443 * nscd/nscd.c (print_version): Likewise.
50444 * debug/xtrace.sh: Likewise.
50445 * malloc/memusage.sh: Likewise.
50446 * malloc/mtrace.pl: Likewise.
50447 * debug/catchsegv.sh: Likewise.
50448
2ba92745
JJ
504492011-12-30 Jakub Jelinek <jakub@redhat.com>
50450
50451 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50452 pure attribute.
50453
dadebdae
UD
504542011-12-24 Ulrich Drepper <drepper@gmail.com>
50455
d3761ebc 50456 [BZ #13533]
db6af3eb
UD
50457 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50458 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50459 transformations.
50460 * iconv/gconv_int.h: Likewise.
50461 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50462 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50463 from libc for GLIBC_2.16.
50464 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50465 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50466 * wcsmbs/uchar.h: Really define mbstate_t.
50467 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50468 * wcsmbs/c16rtomb.c: New file.
50469 * wcsmbs/mbrtoc16.c: New file.
50470 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50471 for C/POSIX locale.
50472 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50473 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50474
dadebdae
UD
50475 * wcsmbs/wchar.h: Add missing __restrict.
50476
67371b56
UD
504772011-12-23 Ulrich Drepper <drepper@gmail.com>
50478
74033a25
UD
50479 [BZ #13532]
50480 * time/Makefile (routines): Add timespec_get.
50481 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50482 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50483 timespec for ISO C11.
50484 * time/timespec_get.c: New file.
50485 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50486 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50487
380d7e87
UD
50488 [BZ #13531]
50489 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50490 * stdlib/stdlib.h: Declare aligned_alloc.
50491 * Versions.def: Add GLIBC_2.16 for libc.
50492 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50493
4e9e7a35
UD
50494 [BZ 13527]
50495 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50496 ISO C11.
50497
380d7e87 50498 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50499 code.
50500
03a71829
UD
50501 [BZ #13528]
50502 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50503
839e283e
UD
50504 [BZ #13529]
50505 * assert/assert.h (static_assert): Define.
50506
ce5294e2 50507 * version.h: Update for 2.16 development version.
90fa7312 50508
8d44e150 50509 [BZ #13526]
d7809905
UD
50510 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50511 _ISOC11_SOURCE.
50512
c0da14cd
UD
50513 * version.h (RELEASE): Bump for 2.15 release.
50514 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50515
530a3249
MP
50516 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50517 Patch by Marek Polacek <mpolacek@redhat.com>.
50518
67371b56
UD
50519 * bits/byteswap.h: Protect long long constants with __extension__.
50520 * sysdeps/i386/bits/byteswap.h: Likewise.
50521 * sysdeps/ia64/bits/byteswap.h: Likewise.
50522 * sysdeps/s390/bits/byteswap.h: Likewise.
50523 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50524
15db4de1
LD
505252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50526
50527 [BZ #13540]
bbe315ea
LD
50528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50529 destination buffer.
15db4de1
LD
50530 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50531
2b2596b1
MP
505322011-12-23 Marek Polacek <polacek@redhat.com>
50533
50534 * elf/dl-addr.c (determine_info): Add inline keyword.
50535 * elf/tst-auditmod4b.c (check_avx): Likewise.
50536 * elf/tst-auditmod6b.c (check_avx): Likewise.
50537 * elf/tst-auditmod6c.c (check_avx): Likewise.
50538 * elf/tst-auditmod7b.c (check_avx): Likewise.
50539
70c6c246
UD
505402011-12-23 Ulrich Drepper <drepper@gmail.com>
50541
50542 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50543 !__SSE_MATH__.
50544
c044cf14
LD
505452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50546
15db4de1 50547 [BZ #13540]
c044cf14
LD
50548 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50549 processing for last bytes.
50550
6b13d9d9
BH
505512011-08-06 Bruno Haible <bruno@clisp.org>
50552
d455f537
BH
50553 [BZ #13061]
50554 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50555 U+0385, not to U+1FEE.
50556
6b13d9d9
BH
50557 [BZ #13062]
50558 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50559 entry for U+00A5 U+0301.
50560
db910efd
UD
505612011-12-22 Ulrich Drepper <drepper@gmail.com>
50562
27deeafc
UD
50563 [BZ #13166]
50564 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50565 buffer for the output is too small.
50566
aed9d171
UD
50567 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50568 optimization.
50569
db910efd
UD
50570 [BZ #13185]
50571 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50572 SSE flags if possible.
50573
2bd779ae
LD
505742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50575
e7f9dac3 50576 [BZ #13540]
2bd779ae
LD
50577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50578 processing for last bytes.
50579
154bfc16
JM
505802011-12-22 Joseph Myers <joseph@codesourcery.com>
50581
50582 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50583 (syscall-list-default-options, syscall-list-default-condition)
50584 (syscall-list-includes): Define.
50585 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50586 list of ABIs and options and #if conditions for each ABI. Do not
50587 handle common syscalls between ABIs specially.
50588 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50589 Remove.
50590 (syscall-list-variants, syscall-list-32bit-options)
50591 (syscall-list-32bit-condition, syscall-list-64bit-options)
50592 (syscall-list-64bit-condition): Define.
50593 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50594 (syscall-list-variants, syscall-list-32bit-options)
50595 (syscall-list-32bit-condition, syscall-list-64bit-options)
50596 (syscall-list-64bit-condition): Define.
50597 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50598 Remove.
50599 (syscall-list-variants, syscall-list-32bit-options)
50600 (syscall-list-32bit-condition, syscall-list-64bit-options)
50601 (syscall-list-64bit-condition): Define.
50602 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50603 Remove.
50604 (syscall-list-variants, syscall-list-32bit-options)
50605 (syscall-list-32bit-condition, syscall-list-64bit-options)
50606 (syscall-list-64bit-condition): Define.
50607
21eaf3a5
UD
506082011-12-22 Ulrich Drepper <drepper@gmail.com>
50609
16c6f992
UD
50610 * locale/iso-639.def: Add brx entry.
50611
41043168
UD
50612 [BZ #13328]
50613 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50614 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50615
21eaf3a5
UD
50616 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50617 __feraiseexcept_renamed.
50618
e3a851a2
UD
506192011-12-21 Ulrich Drepper <drepper@gmail.com>
50620
4920765e
UD
50621 [BZ #13538]
50622 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50623 EPOLLET with unsigned values.
50624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50625 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50626
e3a851a2
UD
50627 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50628 to large cancellation.
50629 * math/s_cacoshf.c: Likewise.
50630 * math/s_cacoshl.c: Likewise.
50631
b27e24b8
RK
506322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50633
50634 [BZ #13305]
aebefeee 50635 [BZ #12786]
b27e24b8
RK
50636 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50637 * math/s_cacoshf.c: Likewise.
50638 * math/s_cacoshl.c: Likewise.
50639
ee190f67
UD
506402011-12-21 Ulrich Drepper <drepper@gmail.com>
50641
50642 [BZ #13439]
50643 * iconv/gconv.h: Define __GCONV_SWAP.
50644 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50645 * iconvdata/utf-16.c: Likewise.
50646 * iconvdata/utf-32.c: Likewise.
50647
707f25df
AS
506482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50649
50650 [BZ #13524]
50651 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50652 numerator after shifting it by one limb.
50653
d2daaa1e
RÁE
506542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50655
50656 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50657 under [__USE_EXTERN_INLINES].
50658
a4647e72
UD
506592011-12-17 Ulrich Drepper <drepper@gmail.com>
50660
50661 [BZ #13446]
50662 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50663
f0b264f1
AZ
506642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50665
50666 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50667 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50668 optimized code.
50669 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50670 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50671 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50672 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50673 for strncasecmp/strncasecmp_l compilation.
50674 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50675 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50676
8ef4f244
MP
506772011-12-08 Marek Polacek <mpolacek@redhat.com>
50678
50679 [BZ #13484]
50680 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50681 of __asm__.
50682
97ac2654
UD
506832011-12-17 Ulrich Drepper <drepper@gmail.com>
50684
50685 [BZ #13506]
50686 * time/tzfile.c (__tzfile_read): Check values from file header.
50687
91d2a845
WS
506882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50689
50690 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50691 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50692 * powerpc/powerpc32/dl-start.S: Likewise.
50693 * powerpc/powerpc32/elf/start.S: Likewise.
50694 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50695 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50696 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50697 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50698 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50699 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50700 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50701 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50702 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50703 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50704 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50705 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50706 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50707 * powerpc/powerpc32/memset.S: Likewise.
50708 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50709 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50710 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50711 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50712 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50713 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50714 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50715 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50716 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50717 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50718 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50719 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50720 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50721
a1267ba1
AZ
507222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50723
50724 * math/libm-test.inc: Added more nearbyint tests.
50725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50729
ad8ac1bd
RL
507302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50731
50732 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50733 FD_CLOEXEC.
50734
1d3e4b61
UD
507352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50736
50737 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50738 Add wcscpy-ssse3 wcscpy-c.
50739 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50740 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50741 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50742 * sysdeps/x86_64/wcschr.S: New file.
50743 * sysdeps/x86_64/wcsrchr.S: New file.
50744 * string/test-strcmp.c: Remove checking of wcscmp function for
50745 wrong alignments.
50746 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50747 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50748 wcsrchr-sse2 wcsrchr-c.
50749 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50750 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50751 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50752 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50753 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50754 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50755 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50756 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50757 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50758 * wcsmbc/wcschr.c (WCSCHR): New macro.
50759
5b330a2d
UD
507602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50761
50762 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50763 * wcsmbs/test-wcsrchr.c: New file.
50764 * string/test-strrchr.c: Add wcsrchr support.
50765 (WIDE): New macro.
50766 * wcsmbs/test-wcscpy.c: New file.
50767 * string/test-strcpy.c: Add wcscpy support.
50768 (WIDE): New macro.
26428b7c 50769
f039c043
UD
507702011-12-10 Ulrich Drepper <drepper@gmail.com>
50771
50772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50773 the inner loop.
50774
850fb039
AS
507752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50776
50777 [BZ #13472]
50778 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50779
4efbd5cb
UD
507802011-12-04 Ulrich Drepper <drepper@gmail.com>
50781
52ff5dd0 50782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50783 Minor optimizations.
52ff5dd0 50784
4efbd5cb
UD
50785 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50786 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50787 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50788
8a426e12
UD
507892011-12-03 Ulrich Drepper <drepper@gmail.com>
50790
aff2453d
UD
50791 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50792 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50793 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50794 for gcc to avoid warnings.
50795 * inet/Makefile (tests): Add tst-checks.
50796 * inet/tst-checks.c: New file.
50797
50798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50799 warning.
50800
50801 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50802 __wmemcmp_sse2.
50803
50804 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50805 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50806
8a426e12
UD
50807 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50808
9bea3473
UD
508092011-12-02 Ulrich Drepper <drepper@gmail.com>
50810
3a965496
UD
50811 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50812 problem.
50813
9bea3473
UD
50814 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50815
f101631b
UD
508162011-11-29 Joseph Myers <joseph@codesourcery.com>
50817
50818 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50819 conditional on GCC version.
50820 (__arch_compare_and_exchange_val_8_acq)
50821 (__arch_compare_and_exchange_val_16_acq)
50822 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50823 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50824 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50825
a98275aa
UD
508262011-12-02 Joseph Myers <joseph@codesourcery.com>
50827
50828 * sysdeps/sh/backtrace.c: New file.
50829
d4cc29a2
AS
508302011-12-02 Andreas Schwab <schwab@redhat.com>
50831
50832 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50833 parenthesis.
50834
6257af2d
AS
508352011-12-01 Andreas Schwab <schwab@redhat.com>
50836
50837 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50838 falling back to utime.
50839
b5f44c1a
AS
508402011-11-30 Andreas Schwab <schwab@redhat.com>
50841
50842 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50843 expectations for float.
50844
f3a6cc0a
AS
508452011-11-29 Andreas Schwab <schwab@redhat.com>
50846
50847 * locale/weight.h (findidx): Add parameter len.
50848 * locale/weightwc.h (findidx): Likewise.
50849 * posix/fnmatch_loop.c (FCT): Adjust caller.
50850 * posix/regcomp.c (build_equiv_class): Likewise.
50851 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50852 * posix/regexec.c (check_node_accept_bytes): Likewise.
50853 * string/strcoll_l.c (STRCOLL): Likewise.
50854 * string/strxfrm_l.c (STRXFRM): Likewise.
50855
9d65ea3a
UD
508562011-11-17 Ulrich Drepper <drepper@gmail.com>
50857
50858 * Makefile.in: Remove CVSOPT handling.
50859 * configure.in: Remove use of AC_REVISION.
50860 * iconvdata/Makefile (distribute): No need to filter out CVS.
50861 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50862 handling.
50863
5583a086
AS
508642011-11-16 Andreas Schwab <schwab@redhat.com>
50865
50866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50867 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50868 [USE_AS_STRNCASECMP_L]: Likewise.
50869 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50870 NO_TLS_DIRECT_SEG_REFS.
50871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50872 Fix argument offsets for non-PIC.
50873 [USE_AS_STRNCASECMP_L]: Likewise.
50874 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50875 NO_TLS_DIRECT_SEG_REFS.
50876
d62a8200
UD
508772011-11-15 Ulrich Drepper <drepper@gmail.com>
50878
9d65ea3a 50879 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50880 O_CLOEXEC.
50881 * locale/loadlocale.c (_nl_load_locale): Likewise.
50882
09f93bd3
AS
508832011-11-15 Andreas Schwab <schwab@redhat.com>
50884
446514f9
AS
50885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50886 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50888 (SYSCALL_GETTIME): Set errno on error.
50889
09f93bd3
AS
50890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50891 count references to noai6ai_cached.
50892
312be3f9
UD
508932011-11-15 Ulrich Drepper <drepper@gmail.com>
50894
50895 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50896
50897 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50898 FD_CLOEXEC for /proc/self/maps.
50899
50900 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50901 FD_CLOEXEC for /proc/meminfo.
50902
50903 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50904 gai.conf.
50905
50906 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50907 FD_CLOEXEC for given file.
50908
50909 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50910
50911 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50912 FD_CLOEXEC for /etc/hosts.
50913 (_gethtent): Likewise.
50914
50915 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50916
50917 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50918 cancellation and set FD_CLOEXEC for /etc/netgroup.
50919
50920 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50921 reading /etc/publickey.
50922
50923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50924 allow cancellation when reading /etc/group.
50925
50926 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50927 cancellation.
50928 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50929
50930 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50931 when using data file.
50932
50933 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50934
50935 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50936 (write_nis_obj): Use "c" and "e" in fopen.
50937
50938 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50939
50940 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50941
50942 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50943
50944 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50945
50946 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50947 locale.alias.
50948
50949 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50950
50951 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50952
50953 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50954
50955 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50956 file parsing and set FD_CLOEXEC.
50957
82af0fa8
UD
509582011-11-14 Ulrich Drepper <drepper@gmail.com>
50959
50960 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50961
a5fb313c
AS
509622011-11-14 Andreas Schwab <schwab@redhat.com>
50963
50964 * malloc/arena.c (arena_get2): Don't call reused_arena when
50965 _int_new_arena failed.
50966
6abf3465
UD
509672011-11-14 Ulrich Drepper <drepper@gmail.com>
50968
50969 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50970 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50973 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50974 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50975 to compile strcasecmp and strncasecmp.
50976 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50977 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50978
50979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50980
76e3966e
UD
509812011-11-13 Ulrich Drepper <drepper@gmail.com>
50982
50983 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50984 locale-defines.sym to gen-as-const-headers.
50985 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50986 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50988 to compile strcasecmp and strncasecmp.
50989 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50990 strcasecmp_l and strncasecmp_l.
50991 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50992 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50993 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50994 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50995 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50996 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50997 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50998 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50999 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51000 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51001 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51002
ab26144e
UD
510032011-11-12 Ulrich Drepper <drepper@gmail.com>
51004
7edb22ef
UD
51005 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51006 result of SYSDEP_GETTIME_CPU to retval.
51007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51008 parameter list to macro. Remove trailing semicolon. Adjust users.
51009
9694fc44
UD
51010 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51011 variable.
51012
8ad89ef8
UD
51013 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51014 mantissa words.
51015 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51016
0c822ef9
UD
51017 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51018 from unused variable.
51019
874e0564
UD
51020 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51021 DWARF definitions.
51022 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51023 for assembling.
51024
3a2edc79
UD
51025 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51026 over namespaces.
51027
f3c2577f
UD
51028 * sunrpc/rpc_prot.c (rejected): Fix case value.
51029
294ce126
UD
51030 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51031 unsigned long long int to avoid warnings in shift.
51032
5e2b63c6
UD
51033 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51034 of use of trans.
51035 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51036 variable tmp.
51037
e7f4b08e
UD
51038 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51039 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51040 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51041
ab26144e
UD
51042 * nis/nis_table.c (nis_list): Use variable of correct type for
51043 result of __follow_path call.
51044
8a6d5255
AZ
510452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51046
51047 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51048 of math functions ceil, trunc, floor, round, and sqrt, when
51049 avaliable on the platform.
51050 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51051 name clash.
51052 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51053 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51054 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51055
aaddc98c
MP
510562011-10-30 Marek Polacek <mpolacek@redhat.com>
51057
51058 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51059 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51060
95b7042b
RM
510612011-11-11 Roland McGrath <roland@hack.frob.com>
51062
51063 * include/unistd.h: Fix __readlink return type.
51064 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51065
57769839
UD
510662011-11-11 Ulrich Drepper <drepper@gmail.com>
51067
51068 * stdlib/ucontext.h: Undo last change for makecontext.
51069
edc5984d
AS
510702011-11-11 Andreas Schwab <schwab@redhat.com>
51071
98591e58
AS
51072 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51073
edc5984d
AS
51074 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51075 * setjmp/setjmp.h: Mark functions as non-leaf.
51076 * setjmp/bits/setjmp2.h: Likewise.
51077 * stdlib/ucontext.h: Likewise.
51078
77cdc054
AS
510792011-11-10 Andreas Schwab <schwab@redhat.com>
51080
51081 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51082 (reused_arena): Don't check arena limit.
51083 (arena_get2): Atomically check arena limit.
51084
fe72eebd
UD
510852011-11-08 Ulrich Drepper <drepper@gmail.com>
51086
5f078c32
UD
51087 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51088 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51089
fe72eebd
UD
51090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51091 instructions.
51092
ae1bc2fa
AS
510932011-11-07 Andreas Schwab <schwab@redhat.com>
51094
7583a88d
AS
51095 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51096 handler when locking.
51097
ae1bc2fa
AS
51098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51099 Fix size of allocated buffer.
51100
10fb0bfa
AS
511012011-11-04 Andreas Schwab <schwab@redhat.com>
51102
998832a4
AS
51103 [BZ #10103]
51104 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51105 declarations for long double functions.
51106 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51107
10fb0bfa
AS
51108 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51109
3d7ba52b
AS
511102011-11-03 Andreas Schwab <schwab@redhat.com>
51111
a9ae54a1
AS
51112 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51113 installed.
51114
3d7ba52b
AS
51115 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51116 is disabled.
51117
bc8db248
ST
511182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51119
51120 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51121
45b96dd6
AS
511222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51123
647776f6
AS
51124 * include/alloca.h (stackinfo_alloca_round): Define.
51125 (extend_alloca): Use it.
51126 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51127 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51128 here.
51129
d91a8b93
AS
51130 * scripts/check-local-headers.sh: Ignore libaudit.h.
51131
45b96dd6
AS
51132 * nscd/Makefile (extra-objs): Make recursively expanded.
51133
432d41ce
UD
511342011-11-01 Ulrich Drepper <drepper@gmail.com>
51135
34372fc6
UD
51136 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51138
fadb59f8
UD
51139 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51140 * posix/tst-rfc3484-2.c: Likewise.
51141 * posix/tst-rfc3484-3.c: Likewise.
51142
78239589
UD
51143 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51144 process_vm_writev.
51145 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51146 process_vm_writev.
51147 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51148 process_vm_writev from libc using GLIBC_2.15 version.
51149
432d41ce
UD
51150 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51151
02f9c6cf
PP
511522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51153
51154 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51155 stack usage.
51156
3a2c0242
UD
511572011-10-31 Ulrich Drepper <drepper@gmail.com>
51158
f4ec4833
UD
51159 [BZ #13367]
51160 * nss/getent.c (initgroups_keys): Show error message in case no group
51161 names are given.
51162
3a2c0242
UD
51163 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51164 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51165 __bump_nl_timestamp.
51166 * nscd/connections (nscd_init): When host database is served open
51167 netlink socket and request notification about configuration changes.
51168 (main_loop_poll): Track netlink file descriptor and bump timestamp
51169 in case data becomes available.
51170 (main_loop_epoll): Likewise.
51171 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51172 (database_pers_head): Add extra_data fileds.
51173 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51174 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51175 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51176 Adjust caller.
51177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51178 in6ai data, call __free_in6ai.
51179 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51180 Add -DHAVE_NETLINK.
51181 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51182 interface information. Reuse previous data if netlink timestamp
51183 is not changed.
51184 (__bump_nl_timestamp): New function.
51185 (__free_in6ai): New function.
51186
636064eb
UD
511872011-10-30 Ulrich Drepper <drepper@gmail.com>
51188
51189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51190 close_not_cancel_no_status here.
51191 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51192
9beb2334
UD
511932011-10-29 Ulrich Drepper <drepper@gmail.com>
51194
6ef76f3b
UD
51195 [BZ #13276]
51196 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51197 return value.
51198
0ffc4f3e 51199 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51200 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51201 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51202
cb95113e
UD
512032011-07-03 Andreas Jaeger <aj@suse.de>
51204
51205 [BZ #10709]
51206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51207 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51208 * math/libm-test.inc (sin_test): Add test case.
51209
a1b560ff
UD
512102011-10-29 Ulrich Drepper <drepper@gmail.com>
51211
c9aaface
UD
51212 [BZ #13337]
51213 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51214 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51215
d272e7f1
UD
51216 * elf/chroot_canon.c (chroot_canon): Cleanups.
51217
1bc33071
UD
51218 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51219
1760874d
TJ
51220 [BZ #13335]
51221 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51222 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51223
51d91b18
UD
51224 * string/test-strchr.c: Make usable for strchrnul testing.
51225 * string/test-strchrnul.c: New file.
51226 * string/Makefile (strop-tests): Add strchrnul.
51227
a1b560ff 51228 * po/it.po: Update from translation team.
b611fb81 51229 * po/es.po: Likewise.
a1b560ff 51230
a5b81e1f
UD
512312011-10-28 Ulrich Drepper <drepper@gmail.com>
51232
fd52bc6d
UD
51233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51234 the three constants needed as parameters. Drop the others.
51235 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51236 __m128i_strloadu_tolower.
52e4b9eb
UD
51237 Create and initialize variable zero and use it in all the places
51238 where _mm_setzero_si128 was used.
fd52bc6d 51239
a5b81e1f
UD
51240 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51241 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51242 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51243 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51244 anymore.
51245 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51246 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51247 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51248 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51249 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51250 __mpranred, __mptan.
51251 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51252 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51253 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51254 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51255 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51256 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51257 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51258 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51259 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51260
b4343346
AS
512612011-10-28 Andreas Schwab <schwab@redhat.com>
51262
0c92d8a8
AS
51263 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51264 redefine if SHARED.
51265 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51266
b4343346
AS
51267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51268 wide char related routines to wcsmbs subdir.
51269
3871f58f
AS
512702011-10-27 Andreas Schwab <schwab@redhat.com>
51271
51272 [BZ #13344]
51273 * misc/sys/cdefs.h (__THROWNL): Define.
51274 * posix/unistd.h: Use __THREADNL instead of __THREAD
51275 for memory synchronization functions.
51276
94d44d9f
RM
512772011-10-26 Roland McGrath <roland@hack.frob.com>
51278
21b64b15 51279 [BZ #13349]
94d44d9f
RM
51280 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51281 doesn't exist.
51282 * manual/stdio.texi (Obstack Streams): Node removed.
51283
f6ce9294
AS
512842011-10-26 Andreas Schwab <schwab@redhat.com>
51285
80479147
AS
51286 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51287 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51288 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51289
f6ce9294
AS
51290 * math/math_private.h (math_force_eval): Allow non-addressable
51291 arguments.
51292 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51293
618280a1
UD
512942011-10-25 Ulrich Drepper <drepper@gmail.com>
51295
e0016b11
UD
51296 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51297 file is not needed.
51298
51299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51306 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51307 Add AVX variants.
51308 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51309 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51310 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51311 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51312 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51313 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51314 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51316 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51317 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51318 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51319 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51320 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51321 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51322 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51323 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51324 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51325 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51326 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51327
51328 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51329 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51330
618280a1
UD
51331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51332 place. Use VEX encoding when compiling for AVX.
51333
37822576
AS
513342011-10-25 Andreas Schwab <schwab@redhat.com>
51335
1f1e1947
AS
51336 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51337 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51338
37822576
AS
51339 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51340
31ea014d
UD
513412011-10-25 Ulrich Drepper <drepper@gmail.com>
51342
d7826aa1 51343 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51344 useless if() expression.
d7826aa1
UD
51345 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51347 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51349 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51350 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51351 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51354 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51355 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51356 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51357 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51358 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51359 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51363 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51364
31ea014d
UD
51365 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51366
16437fec
AS
513672011-10-25 Andreas Schwab <schwab@redhat.com>
51368
51369 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51370 condition.
51371 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51372
31d3cc00
UD
513732011-10-25 Ulrich Drepper <drepper@gmail.com>
51374
51375 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51376 .text section. Avoid duplicate constants.
51377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51385 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51386 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51387 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51388 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51389 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51390 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51391 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51393 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51394 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51400 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51401 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51402 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51403 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51404 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51406 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51407 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51408 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51409 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51410 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51411 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51413 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51415 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51416 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51419 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51420 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51421 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51422
58985aa9
UD
514232011-10-24 Ulrich Drepper <drepper@gmail.com>
51424
202c9deb
UD
51425 * sysdeps/x86_64/dla.h: Move to ...
51426 * sysdeps/x86_64/fpu/dla.h: ...here.
51427 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51428 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51429
af968f62
UD
51430 * config.make.in: Add have-mfma4 entry.
51431 * configure.in: Substitute libc_cv_cc_fma4.
51432 * math/Makefile (dbl-only-routines): Add sincostab.
51433 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51434 Use __sincostab not sincos.
51435 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51436 name is a macro.
51437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51441 using __copysign.
51442 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51443 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51444 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51445 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51446 and __inv.
51447 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51448 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51449 __copysign.
51450 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51451 define aliases when function name is a macro.
51452 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51453 sysdeps/ieee754/dbl-64/sincos.tbl.
51454 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51455 fma4-enabled routines.
51456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51460 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51461 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51462 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51465 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51466 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51467 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51468 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51469 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51470 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51471 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51472 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51473 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51474 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51475 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51476 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51477 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51478 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51480 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51483 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51484 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51485 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51486
58985aa9
UD
51487 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51488 rename.
51489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51497
a201fbcf
AS
514982011-10-24 Andreas Schwab <schwab@redhat.com>
51499
51500 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51501
fc2ee42a
LD
515022011-10-23 Ulrich Drepper <drepper@gmail.com>
51503
bb3129bd
UD
51504 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51505
0275fff8
UD
51506 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51507 prediction.
51508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51509
2fa2ae85
UD
51510 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51511 Remove unused variable magic_bits.
51512 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51513
fc2ee42a
LD
51514 * string/strnlen.c: Define and use STRNLEN macro.
51515 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51516 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51518 * wcsmbs/wcslen.c: Define and use WCSLEN.
51519 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51520 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51521 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51522 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51523 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51524 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51525 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51526
ce7dd29f
LD
515272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51528
51529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51530 strnlen-sse2-no-bsf.
51531 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51533 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51534 Add strnlen support.
51535 (USE_AS_STRNLEN): New macro.
51536 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51537 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51538 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51539 * sysdeps/x86_64/wcslen.S: New file.
51540
979c70a3
MZ
515412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51542
51543 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51544 XMM-moves are used for copying on small sizes.
51545
2d09f82f
LD
515462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51547
51548 * wcsmbs/Makefile (strop-tests): Add wcschr.
51549 * wcsmbs/test-wcschr.c: New file.
51550 * string/test-strchr.c: Update.
51551 Add wcschr support.
51552 (WIDE): New macro.
51553
619fccca
LD
515542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51555
2d09f82f 51556 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51557 * wcsmbs/test-wcslen.c: New file.
51558 * string/test-strlen.c: Update.
51559 Add wcslen support.
51560 (WIDE): New macro.
51561
09f699ea
UD
515622011-10-23 Ulrich Drepper <drepper@gmail.com>
51563
51564 * po/it.po: Update from translation team.
51565
95584d3b
LD
515662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51567
51568 * sysdeps/x86_64/wcscmp.S: Update.
51569 Fix wrong comparison semantics.
51570 wcscmp shall use signed comparison not unsigned.
51571 Don't use substraction to avoid overflow bug.
51572 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51573 * wcsmbc/wcscmp.c: Likewise.
51574 * string/test-strcmp.c: Likewise.
51575 Add new tests to check cases with negative values.
51576
c8b3296b
UD
515772011-10-23 Ulrich Drepper <drepper@gmail.com>
51578
51579 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51580 * sysdeps/x86_64/dla.h: ...here. New file.
51581 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51590
246ad57a
AS
515912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51592
51593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51594 __ynl_finite aliases.
51595
a1a87169
UD
515962011-10-22 Ulrich Drepper <drepper@gmail.com>
51597
0d355eb7
UD
51598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51599
a1a87169
UD
51600 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51601 define DLA_FMA.
51602 [DLA_FMA] (EMULV): Use DLA_FMA.
51603 [DLA_FMA] (MUL12): Use EMULV.
51604 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51605 that are not needed.
51606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51612 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51613
ee2aafe0
AS
516142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51615
51616 * math/s_nan.c: Undef __nan.
51617 * math/s_nanf.c: Undef __nanf.
51618 * math/s_nanl.c: Undef __nanl.
51619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51620 "math_private.h".
51621
bc62c2fb
UD
516222011-10-22 Ulrich Drepper <drepper@gmail.com>
51623
77425c63
UD
51624 * math/s_catan.c: Add branch predictions.
51625 * math/s_catanf.c: Likewise.
51626 * math/s_catanh.c: Likewise.
51627 * math/s_catanhf.c: Likewise.
51628 * math/s_catanhl.c: Likewise.
51629 * math/s_catanl.c: Likewise.
51630 * math/s_cexp.c: Likewise.
51631 * math/s_cexpf.c: Likewise.
51632 * math/s_cexpl.c: Likewise.
51633 * math/s_clog.c: Likewise.
51634 * math/s_clog10.c: Likewise.
51635 * math/s_clog10f.c: Likewise.
51636 * math/s_clog10l.c: Likewise.
51637 * math/s_clogf.c: Likewise.
51638 * math/s_clogl.c: Likewise.
51639 * math/s_csqrt.c: Likewise.
51640 * math/s_csqrtf.c: Likewise.
51641 * math/s_csqrtl.c: Likewise.
51642 * math/s_ctanf.c: Likewise.
51643 * math/s_ctanh.c: Likewise.
51644 * math/s_ctanhf.c: Likewise.
51645 * math/s_ctanhl.c: Likewise.
51646 * math/s_ctanl.c: Likewise.
51647
bc62c2fb
UD
51648 * math/math_private.h: Define __nan, __nanf, __nanl.
51649 * math/s_cacosh.c: Include <math_private.h>.
51650 * math/s_cacoshl.c: Likewise.
51651 * math/s_casinh.c: Likewise.
51652 * math/s_casinhf.c: Likewise.
51653 * math/s_casinhl.c: Likewise.
51654 * math/s_ccos.c: Rely entire on ccosh.
51655 * math/s_ccosf.c: Rely entire on ccoshf.
51656 * math/s_ccosl.c: Rely entirely on ccoshl.
51657 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51658 Remove tests for FE_INVALID.
51659 * math/s_ccoshf.c: Likewise.
51660 * math/s_ccoshl.c: Likewise.
51661 * math/s_csin.c: Likewise.
51662 * math/s_csinf.c: Likewise.
51663 * math/s_csinh.c Likewise.
51664 * math/s_csinhf.c: Likewise.
51665 * math/s_csinhl.c: Likewise.
51666 * math/s_csinl.c: Likewise.
51667 * math/s_ctan.c: Likewise.
51668 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51669 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51671
8ec250a4
UD
516722011-10-21 Ulrich Drepper <drepper@gmail.com>
51673
c196fed8
UD
51674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51675 compilation problems.
51676
8ec250a4
UD
51677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51678 __builtin_expect.
51679
8d4f46c6
UD
516802011-10-20 Ulrich Drepper <drepper@gmail.com>
51681
ed72b654
UD
51682 * sysdeps/i386/configure.in: Test for -mfma4 option.
51683 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51684 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51685 COMMON_CPUID_INDEX_80000001.
51686 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51687 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51688 use it if FMA3 is not supported.
51689 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51690
8d4f46c6
UD
51691 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51692 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51693
d45c60c2
AS
516942011-10-20 Andreas Schwab <schwab@redhat.com>
51695
51696 [BZ #12892]
51697 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51698 it would create a cycle with a link time dependency.
51699
d9a4d2ab
UD
517002011-10-19 Ulrich Drepper <drepper@gmail.com>
51701
855d1560
UD
51702 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51703 instruction.
51704 * string/Makefile (strop-tests): Add rawmemchr.
51705 * string/test-rawmemchr.c: New file.
51706
d9a4d2ab
UD
51707 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51709 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51710 when compiling str{,n}casecmp and when AVX is available. Hook up
51711 new optimized code in initializers.
51712
8f3b1ffe
AS
517132011-10-19 Andreas Schwab <schwab@redhat.com>
51714
51715 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51716 __feraiseexcept instead of feraiseexcept.
51717
d38f1dba
UD
517182011-10-18 Ulrich Drepper <drepper@gmail.com>
51719
d9a8d0ab
UD
51720 * math/math_private.h: Define defaults for libc_fetestexcept and
51721 libc_feupdateenv.
51722 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51723 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51724 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51725 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51726 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51727 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51728 libc_fetestexcept and libc_feupdateenv.
51729
4855e3dd
UD
51730 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51731 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51732 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51733 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51734 libc_feholdexcept_setround.
51735
581d30e3
UD
51736 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51737 Add s_nearbyint-c and s_nearbyintf-c.
51738 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51739 nearbyintf inlines.
51740 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51741 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51742 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51744
d38f1dba
UD
51745 * math/math_private.h: Define defaults for libc_fegetround,
51746 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51747 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51748 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51750 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51751 standard functions.
51752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51753 Remove comments and hacks for old compiler versions.
51754 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51755 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51756 libc_feholdexceptl.
51757
caa6c9d8
AS
517582011-10-18 Andreas Schwab <schwab@redhat.com>
51759
51760 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51761 (__feraiseexcept_renamed): Add __NTH.
51762 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51763 namespace violations.
51764
97c066e6
UD
517652011-10-17 Ulrich Drepper <drepper@gmail.com>
51766
99ce7b04
UD
51767 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51768
1004d182
UD
51769 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51770
228a984d
UD
51771 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51772 recently added interfaces.
51773 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51774
c8553a6a
UD
51775 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51776 about macro parameter expansion.
51777
ed22dcf6
UD
51778 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51779 __NO_MATH_INLINES is defined. Cleanups.
51780
51781 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51782 and __floorf is target has SSE4.1.
51783 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51784 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51785 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51787
b171c137
UD
51788 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51789 name.
51790 (floorf): Likewise.
51791
97c066e6
UD
51792 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51793
629f62ef
AS
517942011-10-17 Andreas Schwab <schwab@redhat.com>
51795
49a43d80
AS
51796 * misc/sys/cdefs.h: Fix last change.
51797
629f62ef
AS
51798 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51799 database lookup.
51800
e453f6cd
UD
518012011-10-16 Ulrich Drepper <drepper@gmail.com>
51802
aa78043a
UD
51803 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51804
ad0f5cad
UD
51805 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51808 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51811 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51812 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51813 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51814 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51815 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51816 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51817 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51818 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51819 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51820 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51821 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51822 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51823 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51824 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51826 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51827
51828 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51829 ceil, ceilf, floor, floorf.
51830
51831 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51832 Perform IRELATIVE relocations last.
51833
e453f6cd
UD
51834 * elf/do-rel.h: Add another parameter nrelative, replacing the
51835 local variable with the same name. Change name of the function
51836 to end in Rel or Rela (uppercase).
51837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51838 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51839 elf_dynamic_do_##reloc function.
51840
fd5bdc09
UD
518412011-10-15 Ulrich Drepper <drepper@gmail.com>
51842
79b195b5
UD
51843 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51844 is sufficient, at least on modern CPUs.
51845
d4a28569
UD
51846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51847
b61099b5
UD
51848 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51850
bcf01e6d
UD
51851 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51852 __expl_finite.
51853 * math/bits/math-finite.h: Add entries for exp.
51854 * math/e_expl.c: Add __*_finite alias.
51855 * sysdeps/i386/fpu/e_exp.S: Likewise.
51856 * sysdeps/i386/fpu/e_expf.S: Likewise.
51857 * sysdeps/i386/fpu/e_expl.c: Likewise.
51858 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51859 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51860 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51862 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51865
ba1a0d59
UD
51866 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51867 is sufficient, at least on modern CPUs.
51868
fd5bdc09
UD
51869 * ctype/ctype-info.c (__ctype_init): Define.
51870 * include/ctype.h (__ctype_init): Declare.
51871 (__ctype_b_loc): The variable is always initialized.
51872 (__ctype_toupper_loc): Likewise.
51873 (__ctype_tolower_loc): Likewise.
51874 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51875 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51876
7872cfb0
AS
518772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51878
b468825a
AS
51879 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51880
7872cfb0
AS
51881 * configure.in: Also look in $cxxmachine/include for C++ system
51882 headers.
51883
be13f7bf
LD
518842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51885
51886 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51887 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51888 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51889 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51891 (USE_AS_WMEMCMP): New macro.
51892 Fixing indents.
51893 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51894 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51895 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51896 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51898 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51899 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51900 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51901 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51902 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51904 (USE_AS_WMEMCMP): New macro.
51905 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51906 * sysdeps/string/test-memcmp.c: Update.
51907 Fix simple_wmemcmp.
51908 Add new tests.
51909 * wcsmbs/wmemcmp.c: Update.
51910 (WMEMCMP): New macro.
51911 Fix overflow bug.
51912
556a2007
AJ
519132011-10-12 Andreas Jaeger <aj@suse.de>
51914
51915 [BZ #13268]
51916 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51917
538faaa7
UD
519182011-10-15 Ulrich Drepper <drepper@gmail.com>
51919
ab6737ff
UD
51920 * libio/iofwide.c (do_length): Avoid warning.
51921
538faaa7
UD
51922 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51923
396a21b1
UD
519242011-10-14 Ulrich Drepper <drepper@gmail.com>
51925
cdf2901f
UD
51926 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51927
38ad40ce
UD
51928 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51929 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51930 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51931 * sysdeps/i386/i686/fpu/e_log.S: New file.
51932 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51933 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51934
396a21b1
UD
51935 * ctype/ctype.h: Add support for inlined isXXX functions when
51936 compiling C++ code.
51937
6b1f68c9
AS
519382011-10-14 Andreas Schwab <schwab@redhat.com>
51939
349290c0
AS
51940 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51941
6b1f68c9
AS
51942 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51943
f2282d42
RM
519442011-10-13 Roland McGrath <roland@hack.frob.com>
51945
51946 [BZ #13291]
51947 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51948
5298ffa8
AS
519492011-10-13 Andreas Schwab <schwab@redhat.com>
51950
714fad23
AS
51951 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51952 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51953 feraiseexcept.
51954
81dcc7fb
AS
51955 * sysdeps/x86_64/memrchr.S: Check for zero size.
51956
5298ffa8
AS
51957 * string/stratcliff.c: Add memrchr tests.
51958
951fbcec
LD
519592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51960
51961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51962 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51963 rawmemchr-sse2 rawmemchr-sse2-bsf.
51964 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51965 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51966 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51967 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51968 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51969 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51970 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51971 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51972 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51973 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51974 * string/memrchr.c (MEMRCHR): New macro.
51975
0ac5ae23
UD
519762011-10-12 Ulrich Drepper <drepper@gmail.com>
51977
51978 Add integration with gcc's -ffinite-math-only and optimize wrapper
51979 functions in libm.
51980 * Versions.def: Define GLIBC_2.15 version for libm.
51981 * math/Makefile (headers): Add bits/math-finite.h.
51982 * math/bits/math-finite.h: New file.
51983 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51984 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51985 * math/e_acoshl.c: Add __*_finite alias.
51986 * math/e_acosl.c: Likewise.
51987 * math/e_asinl.c: Likewise.
51988 * math/e_atan2l.c: Likewise.
51989 * math/e_atanhl.c: Likewise.
51990 * math/e_coshl.c: Likewise.
51991 * math/e_exp10.c: Likewise.
51992 * math/e_exp10f.c: Likewise.
51993 * math/e_exp10l.c: Likewise.
51994 * math/e_exp2l.c: Likewise.
51995 * math/e_fmodl.c: Likewise.
51996 * math/e_gammal_r.c: Likewise.
51997 * math/e_hypotl.c: Likewise.
51998 * math/e_j0l.c: Likewise.
51999 * math/e_j1l.c: Likewise.
52000 * math/e_jnl.c: Likewise.
52001 * math/e_lgammal_r.c: Likewise.
52002 * math/e_log10l.c: Likewise.
52003 * math/e_log2l.c: Likewise.
52004 * math/e_logl.c: Likewise.
52005 * math/e_powl.c: Likewise.
52006 * math/e_sinhl.c: Likewise.
52007 * math/e_sqrtl.c: Likewise.
52008 * math/e_scalb.c: Completely rewritten and optimized.
52009 * math/e_scalbf.c: Likewise.
52010 * math/e_scalbl.c: Likewise.
52011 * math/w_acos.c: Likewise.
52012 * math/w_acosf.c: Likewise.
52013 * math/w_acosl.c: Likewise.
52014 * math/w_acosh.c: Likewise.
52015 * math/w_acoshf.c: Likewise.
52016 * math/w_acoshl.c: Likewise.
52017 * math/w_asin.c: Likewise.
52018 * math/w_asinf.c: Likewise.
52019 * math/w_asinl.c: Likewise.
52020 * math/w_atan2.c: Likewise.
52021 * math/w_atan2f.c: Likewise.
52022 * math/w_atan2l.c: Likewise.
52023 * math/w_atanh.c: Likewise.
52024 * math/w_atanhf.c: Likewise.
52025 * math/w_atanhl.c: Likewise.
52026 * math/w_exp10.c: Likewise.
52027 * math/w_exp10f.c: Likewise.
52028 * math/w_exp10l.c: Likewise.
52029 * math/w_fmod.c: Likewise.
52030 * math/w_fmodf.c: Likewise.
52031 * math/w_fmodl.c: Likewise.
52032 * math/w_j0.c: Likewise.
52033 * math/w_j0f.c: Likewise.
52034 * math/w_j0l.c: Likewise.
52035 * math/w_j1.c: Likewise.
52036 * math/w_j1f.c: Likewise.
52037 * math/w_j1l.c: Likewise.
52038 * math/w_jn.c: Likewise.
52039 * math/w_jnf.c: Likewise.
52040 * math/w_log.c: Likewise.
52041 * math/w_logf.c: Likewise.
52042 * math/w_logl.c: Likewise.
52043 * math/w_log10.c: Likewise.
52044 * math/w_log10f.c: Likewise.
52045 * math/w_log10l.c: Likewise.
52046 * math/w_log2.c: Likewise.
52047 * math/w_log2f.c: Likewise.
52048 * math/w_log2l.c: Likewise.
52049 * math/w_pow.c: Likewise.
52050 * math/w_powf.c: Likewise.
52051 * math/w_powl.c: Likewise.
52052 * math/w_remainder.c: Likewise.
52053 * math/w_remainderf.c: Likewise.
52054 * math/w_remainderl.c: Likewise.
52055 * math/w_scalb.c: Likewise.
52056 * math/w_scalbf.c: Likewise.
52057 * math/w_scalbl.c: Likewise.
52058 * math/w_sqrt.c: Likewise.
52059 * math/w_sqrtf.c: Likewise.
52060 * math/w_sqrtl.c: Likewise.
52061 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52062 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52063 used.
52064 * math/math_private.h: Declare __kernel_standard_f.
52065 * math/w_cosh.c: Remove cruft and optimize a bit.
52066 * math/w_coshf.c: Likewise.
52067 * math/w_coshl.c: Likewise.
52068 * math/w_exp2.c: Likewise.
52069 * math/w_exp2f.c: Likewise.
52070 * math/w_exp2l.c: Likewise.
52071 * math/w_hypot.c: Likewise.
52072 * math/w_hypotf.c: Likewise.
52073 * math/w_hypotl.c: Likewise.
52074 * math/w_lgamma.c: Likewise.
52075 * math/w_lgamma_r.c: Likewise.
52076 * math/w_lgammaf.c: Likewise.
52077 * math/w_lgammaf_r.c: Likewise.
52078 * math/w_lgammal.c: Likewise.
52079 * math/w_lgammal_r.c: Likewise.
52080 * math/w_sinh.c: Likewise.
52081 * math/w_sinhf.c: Likewise.
52082 * math/w_sinhl.c: Likewise.
52083 * math/w_tgamma.c: Likewise.
52084 * math/w_tgammaf.c: Likewise.
52085 * math/w_tgammal.c: Likewise.
52086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52087 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52088 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52089 Minor optimizations. Pretty printing. Remove cruft.
52090 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52091 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52092 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52093 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52094 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52095 * sysdeps/i386/fpu/e_asin.S: Likewise.
52096 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52097 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52098 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52099 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52100 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52101 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52103 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52104 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52105 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52106 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52107 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52108 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52109 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52110 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52111 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52112 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52113 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52114 * sysdeps/i386/fpu/e_log.S: Likewise.
52115 * sysdeps/i386/fpu/e_log10.S: Likewise.
52116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52117 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52118 * sysdeps/i386/fpu/e_log2.S: Likewise.
52119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52121 * sysdeps/i386/fpu/e_logf.S: Likewise.
52122 * sysdeps/i386/fpu/e_logl.S: Likewise.
52123 * sysdeps/i386/fpu/e_pow.S: Likewise.
52124 * sysdeps/i386/fpu/e_powf.S: Likewise.
52125 * sysdeps/i386/fpu/e_powl.S: Likewise.
52126 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52127 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52128 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52129 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52130 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52131 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52132 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52133 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52134 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52135 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52138 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52140 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52141 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52142 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52144 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52145 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52146 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52148 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52149 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52155 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52156 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52157 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52158 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52159 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52160 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52161 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52162 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52163 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52164 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52169 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52170 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52171 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52172 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52173 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52174 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52175 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52176 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52177 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52180 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52181 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52183 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52184 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52185 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52186 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52187 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52190 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52191 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52192 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52193 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52194 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52203 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52205 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52209 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52210 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52214 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52215 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52216 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52217 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52219 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52220 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52222 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52223 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52224 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52225 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52226 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52227 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52228 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52229 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52230 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52231 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52232 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52233 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52234 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52235 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52236 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52237 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52238 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52239 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52240 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52243 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52244 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52245 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52246 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52247 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52248 (__isnanf): Likewise.
52249 (__isinf_ns): Likewise.
52250 (__isinf_nsf): Likewise.
52251 (__finite): Likewise.
52252 (__finitef): Likewise.
52253 (__ieee754_sqrt): Define as macro.
52254 (__ieee754_sqrtf): Define as macro.
52255 (__ieee754_sqrtl): Define as macro.
52256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52257 inlined copy.
52258 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52259 __FINITE_MATH_ONLY__ consistent.
52260 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52261
12cc2fcd
AS
522622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52263
a843a204
AS
52264 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52265 of rawmemchr.
52266
12cc2fcd
AS
52267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52268
c853acd5
UD
522692011-10-09 Ulrich Drepper <drepper@gmail.com>
52270
52271 * po/ja.po: Update from translation team.
52272
c658d255
RM
522732011-10-08 Roland McGrath <roland@hack.frob.com>
52274
110946e4
RM
52275 * locale/programs/locarchive.c (prepare_address_space): New function.
52276 (create_archive, enlarge_archive, open_archive): Use it.
52277
50604220
RM
52278 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52279 inside [SHARED], where it is used.
52280
c658d255
RM
52281 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52282
52283 * nss/getent.c (netgroup_keys): Remove unused variable.
52284 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52285
6a621eb7
UD
522862011-10-08 Ulrich Drepper <drepper@gmail.com>
52287
7edb55ce
UD
52288 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52291 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52292 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52293 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52294 * math/Makefile (libm-calls): Add s_isinf_ns.
52295 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52296 * math/multc3.c: Likewise.
52297 * math/s_casin.c: Likewise.
52298 * math/s_casinf.c: Likewise.
52299 * math/s_casinl.c: Likewise.
52300 * math/s_ccos.c: Likewise.
52301 * math/s_ccosf.c: Likewise.
52302 * math/s_ccosl.c: Likewise.
52303 * math/s_ctan.c: Likewise.
52304 * math/s_ctanf.c: Likewise.
52305 * math/s_ctanh.c: Likewise.
52306 * math/s_ctanhf.c: Likewise.
52307 * math/s_ctanhl.c: Likewise.
52308 * math/s_ctanl.c: Likewise.
52309 * math/w_fmod.c: Likewise.
52310 * math/w_fmodf.c: Likewise.
52311 * math/w_fmodl.c: Likewise.
52312 * math/w_remainder.c: Likewise.
52313 * math/w_remainderf.c: Likewise.
52314 * math/w_remainderl.c: Likewise.
52315 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52316 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52317 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52319 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52320 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52321 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52322 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52323
187da0ae
UD
52324 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52325 of the number.
52326 * stdio-common/printf_fphex.c: Likewise.
52327 * stdio-common/printf_size.c: Likewise.
52328
9277c064
UD
52329 * math/e_exp10.c: Include math_private.h using <...> not "...".
52330 * math/e_exp10f.c: Likewise.
52331 * math/e_exp10l.c: Likewise.
52332 * math/e_exp2l.c: Likewise.
52333 * math/e_j0l.c: Likewise.
52334 * math/e_j1l.c: Likewise.
52335 * math/e_jnl.c: Likewise.
52336 * math/e_lgammal_r.c: Likewise.
52337 * math/e_rem_pio2l.c: Likewise.
52338 * math/e_scalb.c: Likewise.
52339 * math/e_scalbf.c: Likewise.
52340 * math/e_scalbl.c: Likewise.
52341 * math/k_cosl.c: Likewise.
52342 * math/k_sinl.c: Likewise.
52343 * math/k_tanl.c: Likewise.
52344 * math/s_cacoshf.c: Likewise.
52345 * math/s_catan.c: Likewise.
52346 * math/s_catanf.c: Likewise.
52347 * math/s_catanh.c: Likewise.
52348 * math/s_catanhf.c: Likewise.
52349 * math/s_catanhl.c: Likewise.
52350 * math/s_catanl.c: Likewise.
52351 * math/s_ccosh.c: Likewise.
52352 * math/s_ccoshf.c: Likewise.
52353 * math/s_ccoshl.c: Likewise.
52354 * math/s_cexp.c: Likewise.
52355 * math/s_cexpf.c: Likewise.
52356 * math/s_cexpl.c: Likewise.
52357 * math/s_clog.c: Likewise.
52358 * math/s_clog10.c: Likewise.
52359 * math/s_clog10f.c: Likewise.
52360 * math/s_clog10l.c: Likewise.
52361 * math/s_clogf.c: Likewise.
52362 * math/s_clogl.c: Likewise.
52363 * math/s_csin.c: Likewise.
52364 * math/s_csinf.c: Likewise.
52365 * math/s_csinh.c: Likewise.
52366 * math/s_csinhf.c: Likewise.
52367 * math/s_csinhl.c: Likewise.
52368 * math/s_csinl.c: Likewise.
52369 * math/s_csqrt.c: Likewise.
52370 * math/s_csqrtf.c: Likewise.
52371 * math/s_csqrtl.c: Likewise.
52372 * math/s_ctan.c: Likewise.
52373 * math/s_ctanf.c: Likewise.
52374 * math/s_ctanh.c: Likewise.
52375 * math/s_ctanhf.c: Likewise.
52376 * math/s_ctanhl.c: Likewise.
52377 * math/s_ctanl.c: Likewise.
52378 * math/s_ldexp.c: Likewise.
52379 * math/s_ldexpf.c: Likewise.
52380 * math/s_ldexpl.c: Likewise.
52381 * math/s_significand.c: Likewise.
52382 * math/s_significandf.c: Likewise.
52383 * math/s_significandl.c: Likewise.
52384 * math/w_acos.c: Likewise.
52385 * math/w_acosf.c: Likewise.
52386 * math/w_acosh.c: Likewise.
52387 * math/w_acoshf.c: Likewise.
52388 * math/w_acoshl.c: Likewise.
52389 * math/w_acosl.c: Likewise.
52390 * math/w_asin.c: Likewise.
52391 * math/w_asinf.c: Likewise.
52392 * math/w_asinl.c: Likewise.
52393 * math/w_atan2.c: Likewise.
52394 * math/w_atan2f.c: Likewise.
52395 * math/w_atan2l.c: Likewise.
52396 * math/w_atanh.c: Likewise.
52397 * math/w_atanhf.c: Likewise.
52398 * math/w_atanhl.c: Likewise.
52399 * math/w_cosh.c: Likewise.
52400 * math/w_coshf.c: Likewise.
52401 * math/w_coshl.c: Likewise.
52402 * math/w_dremf.c: Likewise.
52403 * math/w_exp10.c: Likewise.
52404 * math/w_exp10f.c: Likewise.
52405 * math/w_exp10l.c: Likewise.
52406 * math/w_exp2.c: Likewise.
52407 * math/w_exp2f.c: Likewise.
52408 * math/w_fmod.c: Likewise.
52409 * math/w_fmodf.c: Likewise.
52410 * math/w_fmodl.c: Likewise.
52411 * math/w_hypot.c: Likewise.
52412 * math/w_hypotf.c: Likewise.
52413 * math/w_hypotl.c: Likewise.
52414 * math/w_j0.c: Likewise.
52415 * math/w_j0f.c: Likewise.
52416 * math/w_j0l.c: Likewise.
52417 * math/w_j1.c: Likewise.
52418 * math/w_j1f.c: Likewise.
52419 * math/w_j1l.c: Likewise.
52420 * math/w_jn.c: Likewise.
52421 * math/w_jnf.c: Likewise.
52422 * math/w_jnl.c: Likewise.
52423 * math/w_lgamma.c: Likewise.
52424 * math/w_lgamma_r.c: Likewise.
52425 * math/w_lgammaf.c: Likewise.
52426 * math/w_lgammaf_r.c: Likewise.
52427 * math/w_lgammal.c: Likewise.
52428 * math/w_lgammal_r.c: Likewise.
52429 * math/w_log.c: Likewise.
52430 * math/w_log10.c: Likewise.
52431 * math/w_log10f.c: Likewise.
52432 * math/w_log10l.c: Likewise.
52433 * math/w_log2.c: Likewise.
52434 * math/w_log2f.c: Likewise.
52435 * math/w_log2l.c: Likewise.
52436 * math/w_logf.c: Likewise.
52437 * math/w_logl.c: Likewise.
52438 * math/w_pow.c: Likewise.
52439 * math/w_powf.c: Likewise.
52440 * math/w_powl.c: Likewise.
52441 * math/w_remainder.c: Likewise.
52442 * math/w_remainderf.c: Likewise.
52443 * math/w_remainderl.c: Likewise.
52444 * math/w_scalb.c: Likewise.
52445 * math/w_scalbf.c: Likewise.
52446 * math/w_scalbl.c: Likewise.
52447 * math/w_sinh.c: Likewise.
52448 * math/w_sinhf.c: Likewise.
52449 * math/w_sinhl.c: Likewise.
52450 * math/w_sqrt.c: Likewise.
52451 * math/w_sqrtf.c: Likewise.
52452 * math/w_sqrtl.c: Likewise.
52453 * math/w_tgamma.c: Likewise.
52454 * math/w_tgammaf.c: Likewise.
52455 * math/w_tgammal.c: Likewise.
52456
6a621eb7
UD
52457 * po/ja.po: Update from translation team.
52458
bf582445
AJ
524592011-09-29 Andreas Jaeger <aj@suse.de>
52460
f9efbf3a
AJ
52461 [BZ #13179]
52462 * sunrpc/netname.c (netname2host): Fix logic.
52463
bf582445
AJ
52464 [BZ #6779]
52465 [BZ #6783]
52466 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52467 correctly.
52468 * math/w_remainder.c (__remainder): Likewise.
52469 * math/w_remainderf.c (__remainderf): Likewise.
52470 * math/libm-test.inc (remainder_test): Add test cases.
52471
48693bea
AK
524722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52473
52474 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52475 sdiv_qrnnd.
52476
42622229
LD
524772011-10-07 Ulrich Drepper <drepper@gmail.com>
52478
52479 * string/test-memcmp.c: Avoid unncessary #defines.
52480 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52481
093ecf92
LD
524822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52483
52484 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52485 Use new sse2 version for core i3 - i7 as it's faster
52486 than sse42 version.
52487 (bit_Prefer_PMINUB_for_stringop): New.
52488 * sysdeps/x86_64/rawmemchr.S: Update.
52489 Replace with faster SSE2 version.
52490 * sysdeps/x86_64/memrchr.S: New file.
52491 * sysdeps/x86_64/memchr.S: Update.
52492 Replace with faster SSE2 version.
52493
fde56e5c
MP
524942011-09-12 Marek Polacek <mpolacek@redhat.com>
52495
52496 * elf/dl-load.c (lose): Add cast to avoid warning.
52497
21fd49a9
UD
524982011-10-07 Ulrich Drepper <drepper@gmail.com>
52499
5a06e643
UD
52500 * po/ca.po: Update from translation team.
52501
684ae515
UD
52502 * inet/getnetgrent_r.c: Hook up nscd.
52503 * nscd/Makefile (routines): Add nscd_netgroup.
52504 (nscd-modules): Add netgroupcache.
52505 (CFLAGS-netgroupcache.c): Define.
52506 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52507 (cache_search): Add const to second parameter.
52508 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52509 INNETGR.
52510 (dbs): Add netgrdb entry.
52511 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52512 (verify_persistent_db): Handle netgrdb.
52513 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52514 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52515 GETFDNETGR.
52516 (netgroup_response_header): Define.
52517 (innetgroup_response_header): Define.
52518 (datahead): Add netgroup_response_header and innetgroup_response_header
52519 elements.
52520 * nscd/nscd.conf: Add entries for netgroup cache.
52521 * nscd/nscd.h (dbtype): Add netgrdb.
52522 (_PATH_NSCD_NETGROUP_DB): Define.
52523 (netgroup_iov_disabled): Declare.
52524 (xmalloc, xcalloc, xrealloc): Move declarations here.
52525 (cache_search): Adjust prototype.
52526 Add netgroup-related prototypes.
52527 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52528 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52529 (__nscd_innetgr): Declare.
52530 * nscd/selinux.c (perms): Use access_vector_t as element type and
52531 add netgroup-related initializers.
52532 * nscd/netgroupcache.c: New file.
52533 * nscd/nscd_netgroup.c: New file.
52534 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52535 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52536 For four parameters use innetgr.
52537 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52538 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52539 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52540 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52541
21fd49a9
UD
52542 * nscd/connections.c (register_traced_file): Don't register file
52543 for disabled databases.
52544
054c0457
UD
525452011-10-06 Ulrich Drepper <drepper@gmail.com>
52546
32b63198
UD
52547 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52548
054c0457
UD
52549 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52550 from tree and freeing node.
52551
64031225
JO
525522011-09-25 Jiri Olsa <jolsa@redhat.com>
52553
52554 * nss/nsswitch.c (__nss_database_lookup): Handle
52555 nss_parse_service_list out of memory case.
52556
0490345c
JO
525572011-09-15 Jiri Olsa <jolsa@redhat.com>
52558
52559 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52560 out of memory case.
52561
3a62d00d
AS
525622011-10-04 Andreas Schwab <schwab@redhat.com>
52563
52564 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52565 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52566 pass it down.
52567 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52568 elf_machine_rela, elf_machine_lazy_rel.
52569 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52570 (ELF_DYNAMIC_DO_REL): Likewise.
52571 (ELF_DYNAMIC_DO_RELA): Likewise.
52572 (ELF_DYNAMIC_RELOCATE): Likewise.
52573 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52574 to ELF_DYNAMIC_DO_REL.
52575 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52576 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52577 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52578 elf_machine_rela.
52579 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52580 skip_ifunc, don't call ifunc function if non-zero.
52581 (elf_machine_rela): Likewise.
52582 (elf_machine_lazy_rel): Likewise.
52583 (elf_machine_lazy_rela): Likewise.
52584 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52585 (elf_machine_lazy_rel): Likewise.
52586 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52587 Likewise.
52588 (elf_machine_lazy_rel): Likewise.
52589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52590 Likewise.
52591 (elf_machine_lazy_rel): Likewise.
52592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52593 (elf_machine_lazy_rel): Likewise.
52594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52595 (elf_machine_lazy_rel): Likewise.
52596 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52597 (elf_machine_lazy_rel): Likewise.
52598 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52599 (elf_machine_lazy_rel): Likewise.
52600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52601 (elf_machine_lazy_rel): Likewise.
52602 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52603 (elf_machine_lazy_rel): Likewise.
52604
68577918
UD
526052011-09-28 Ulrich Drepper <drepper@gmail.com>
52606
52607 * nss/nss_files/files-init.c (_nss_files_init): Use static
52608 initialization for all the *_traced_file variables.
52609
68822d74
AS
526102011-09-28 Andreas Schwab <schwab@redhat.com>
52611
52612 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52613
2056100b
RM
526142011-09-27 Roland McGrath <roland@hack.frob.com>
52615
52616 [BZ #13226]
52617 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52618
32c76b63
AS
526192011-09-27 Andreas Schwab <schwab@redhat.com>
52620
52621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52622 Reread the line before reparsing it.
52623
bf972c9d
AS
526242011-09-26 Andreas Schwab <schwab@redhat.com>
52625
52626 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52627
e057a1b5
JM
526282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52629 Maxim Kuvyrkov <maxim@codesourcery.com>
52630 Joseph Myers <joseph@codesourcery.com>
52631
52632 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52633 if needed for __stack_chk_guard.
52634
bc7e1c36
RM
526352011-09-19 Roland McGrath <roland@hack.frob.com>
52636
ecb1482f
RM
52637 * sysdeps/posix/spawni.c (script_execute): Always define it.
52638 It will be optimized away if unused.
52639 (maybe_script_execute): New function.
52640 (__spawni): Call it.
52641
bc7e1c36
RM
52642 * Makerules: Don't include tls.make.
52643 (config-tls): Always set to thread.
52644 * tls.make.c: File removed.
52645
1c3b002b
MF
526462011-09-19 Mike Frysinger <vapier@gentoo.org>
52647
52648 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52649 * config.make.in (CPPFLAGS-config): New substituted variable.
52650
2840865d
UD
526512011-09-15 Ulrich Drepper <drepper@gmail.com>
52652
88738eb6
UD
52653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52654
cbf645a6 52655 [BZ #13192]
2840865d
UD
52656 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52657 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52658
b402e91a
RM
526592011-09-15 Roland McGrath <roland@hack.frob.com>
52660
52661 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52662 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52664 (CALL_FAIL): Likewise.
52665 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52666 (CALL_FAIL): Macro removed.
52667 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52668
4c1a1f71
UD
526692011-09-15 Ulrich Drepper <drepper@gmail.com>
52670
52671 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52672 for __FINITE_MATH_ONLY__ == 1.
52673
edc121be
AS
526742011-09-15 Andreas Schwab <schwab@redhat.com>
52675
52676 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52677 __ieee754_sqrt instead of sqrt.
52678 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52679 __ieee754_sqrtf instead of sqrtf.
52680 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52681 __floorf instead of floorf.
52682 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52683 __floorf, __truncf instead of floorf, truncf.
52684
cd205654
UD
526852011-09-14 Ulrich Drepper <drepper@gmail.com>
52686
ee4d0315
UD
52687 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52688
cd205654
UD
52689 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52690 __extern_always_inline.
52691 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52692 32-bit.
52693
48b67d71
AS
526942011-09-14 Andreas Schwab <schwab@redhat.com>
52695
52696 * elf/rtld.c (dl_main): Also relocate in dependency order when
52697 doing symbol dependency testing.
52698
1ae12c75
AS
526992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52700
52701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52702 Always define `refsym'.
52703
995a80df
AS
527042011-09-13 Andreas Schwab <schwab@redhat.com>
52705
e529793b
AS
52706 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52707 (__FD_ELT): Renamed from __FDELT.
52708 * misc/bits/select2.h (__FD_ELT): Likewise.
52709 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52710 __FD_MASK instead of __FDELT, __FDMASK.
52711 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52712 Likewise.
52713 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52714 Likewise.
52715
52d4fef8
AS
52716 * elf/Makefile (gen-ldd): Fix pattern.
52717
995a80df
AS
52718 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52719 (init_tls): Likewise.
52720
8682f8b0
UD
527212011-09-12 Ulrich Drepper <drepper@gmail.com>
52722
52723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52724
de82006d
AS
527252011-09-12 Andreas Schwab <schwab@redhat.com>
52726
a7c8e6a1
AS
52727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52728 `struct cmsghdr *' instead of `void *'.
52729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52730 Likewise.
52731
0f31fe77
AS
527322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52733
52734 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52735 if non-absolute.
52736 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52737 ldd_rewrite_script.
0f31fe77 52738
32b4c839
UD
527392011-09-11 Ulrich Drepper <drepper@gmail.com>
52740
83cd1420
UD
52741 * configure.in: Remove --with-tls option.
52742 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52743 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52744 out in case it is missing.
52745 * sysdeps/ia64/elf/configure.in: Likewise.
52746 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52747 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52748 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52749 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52750 * sysdeps/sh/elf/configure.in: Likewise.
52751 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52752 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52753 * sysdeps/x86_64/elf/configure.in: Likewise.
52754 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52755 * sysdeps/mach/hurd/tls.h: Likewise.
52756
633f745d
UD
52757 [BZ #13067]
52758 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52759
f318beb8
UD
52760 [BZ #13090]
52761 * configure.in: Fix use of AC_INIT.
52762
32b4c839
UD
52763 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52764
3ce1f295
UD
527652011-09-10 Ulrich Drepper <drepper@gmail.com>
52766
bb016596
UD
52767 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52768 __set_errno.
8e58439c
UD
52769 * malloc/hooks.c: Likewise.
52770
aebae053 52771 [BZ #11929]
02d46fc4
UD
52772 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52773 variables statically.
52774 (narenas): Initialize.
52775 (list_lock): Initialize.
bb016596
UD
52776 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52777 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52778 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52779 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52780 Add initializers to main_arena and mp_.
52781 (malloc_state): Remove pagesize member. Change all users to use
52782 GLRO(dl_pagesize).
52783
52784 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52785 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52786 is always initialized.
52787
22a89187
UD
52788 * malloc/malloc.c: Removed unused configurations and dead code.
52789 * malloc/arena.c: Likewise.
52790 * malloc/hooks.c: Likewise.
02d46fc4 52791 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52792
d063d164
UD
52793 * include/tls.h: Removed. USE___THREAD must always be defined.
52794 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52795 * elf/dl-libc.c: Likewise.
52796 * elf/dl-tsd.c: Likewise.
52797 * include/errno.h: Likewise.
52798 * include/netdb.h: Likewise.
52799 * include/resolv.h: Likewise.
52800 * inet/herrno-loc.c: Likewise.
52801 * inet/herrno.c: Likewise.
52802 * malloc/arena.c: Likewise.
52803 * malloc/hooks.c: Likewise.
52804 * malloc/malloc.c: Likewise.
52805 * resolv/res-state.c: Likewise.
52806 * resolv/res_libc.c: Likewise.
52807 * sysdeps/i386/dl-machine.h: Likewise.
52808 * sysdeps/ia64/dl-machine.h: Likewise.
52809 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52810 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52811 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52812 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52813 * sysdeps/sh/dl-machine.h: Likewise.
52814 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52815 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52816 * sysdeps/unix/i386/sysdep.S: Likewise.
52817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52818 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52823 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52828 * sysdeps/x86_64/dl-machine.h: Likewise.
52829 * tls.make.c: Likewise.
52830
3ce1f295
UD
52831 * configure.in: Remove --with-__thread option. Make tests for
52832 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52833 tls_model attribute fail if no support is available. Remove
52834 USE_IN_LIBIO.
52835 * Makeconfig: Adjust for dropped configure option. All features are
52836 now mandatory.
52837 * Makerules: Likewise.
52838 * Versions.def: Likewise.
52839 * argp/argp-fmtstream.c: Likewise.
52840 * argp/argp-fmtstream.h: Likewise.
52841 * argp/argp-help.c: Likewise.
52842 * assert/assert.c: Likewise.
52843 * config.h.in: Likewise.
52844 * config.make.in: Likewise.
52845 * configure: Likewise.
52846 * configure.in: Likewise.
52847 * csu/Versions: Likewise.
52848 * csu/init.c: Likewise.
52849 * elf/tst-audit2.c: Likewise.
52850 * elf/tst-tls10.c: Likewise.
52851 * elf/tst-tls10.h: Likewise.
52852 * elf/tst-tls11.c: Likewise.
52853 * elf/tst-tls12.c: Likewise.
52854 * elf/tst-tls14.c: Likewise.
52855 * elf/tst-tlsmod11.c: Likewise.
52856 * elf/tst-tlsmod12.c: Likewise.
52857 * elf/tst-tlsmod13.c: Likewise.
52858 * elf/tst-tlsmod13a.c: Likewise.
52859 * elf/tst-tlsmod14a.c: Likewise.
52860 * elf/tst-tlsmod15b.c: Likewise.
52861 * elf/tst-tlsmod16a.c: Likewise.
52862 * elf/tst-tlsmod16b.c: Likewise.
52863 * elf/tst-tlsmod7.c: Likewise.
52864 * elf/tst-tlsmod8.c: Likewise.
52865 * elf/tst-tlsmod9.c: Likewise.
52866 * gmon/gmon.c: Likewise.
52867 * grp/fgetgrent_r.c: Likewise.
52868 * grp/putgrent.c: Likewise.
52869 * hurd/fopenport.c: Likewise.
52870 * include/libc-symbols.h: Likewise.
52871 * include/tls.h: Likewise.
52872 * intl/gettextP.h: Likewise.
52873 * intl/loadinfo.h: Likewise.
52874 * locale/global-locale.c: Likewise.
52875 * locale/localeinfo.h: Likewise.
52876 * mach/devstream.c: Likewise.
52877 * malloc/arena.c: Likewise.
52878 * malloc/set-freeres.c: Likewise.
52879 * misc/err.c: Likewise.
52880 * misc/getttyent.c: Likewise.
52881 * misc/mntent_r.c: Likewise.
52882 * posix/getopt.c: Likewise.
52883 * posix/wordexp.c: Likewise.
52884 * pwd/fgetpwent_r.c: Likewise.
52885 * resolv/Versions: Likewise.
52886 * resolv/res_hconf.c: Likewise.
52887 * shadow/fgetspent_r.c: Likewise.
52888 * shadow/putspent.c: Likewise.
52889 * stdio-common/printf_fphex.c: Likewise.
52890 * stdio-common/tmpfile.c: Likewise.
52891 * stdlib/abort.c: Likewise.
52892 * stdlib/fmtmsg.c: Likewise.
52893 * sunrpc/auth_unix.c: Likewise.
52894 * sunrpc/clnt_perr.c: Likewise.
52895 * sunrpc/clnt_tcp.c: Likewise.
52896 * sunrpc/clnt_udp.c: Likewise.
52897 * sunrpc/clnt_unix.c: Likewise.
52898 * sunrpc/openchild.c: Likewise.
52899 * sunrpc/svc_simple.c: Likewise.
52900 * sunrpc/svc_tcp.c: Likewise.
52901 * sunrpc/svc_udp.c: Likewise.
52902 * sunrpc/svc_unix.c: Likewise.
52903 * sunrpc/xdr.c: Likewise.
52904 * sunrpc/xdr_array.c: Likewise.
52905 * sunrpc/xdr_rec.c: Likewise.
52906 * sunrpc/xdr_ref.c: Likewise.
52907 * sunrpc/xdr_stdio.c: Likewise.
52908
1248c1c4
PB
529092011-09-09 Ulrich Drepper <drepper@gmail.com>
52910
52911 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52912
529132011-07-03 Andreas Jaeger <aj@suse.de>
52914
52915 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52916 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52917 regenerate with gen-libm-tests.pl.
52918
529192010-05-12 Petr Baudis <pasky@suse.cz>
52920
52921 [BZ #11589]
52922 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52923 around j0() zero points by switching to j1().
52924 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52925 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52927 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52928
f22e1074
UD
529292011-09-09 Ulrich Drepper <drepper@gmail.com>
52930
f19009c1
UD
52931 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52932 instead of 0.
52933 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52934 instead of 0.
f19009c1
UD
52935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52936 Patch in part by Pavel Roskin <proski@gnu.org>.
52937
3f8cc204
UD
52938 [BZ #13138]
52939 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52940 realloc.
52941 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52942 Free memory block if necessary.
52943
f22e1074
UD
52944 [BZ #12847]
52945 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52946 be NULL. Don't lock in this case.
52947
0a2349f9
RM
529482011-09-09 Roland McGrath <roland@hack.frob.com>
52949
52950 * elf/elf.h (ELFOSABI_GNU): New macro.
52951 (ELFOSABI_LINUX): Define to that.
52952
f3cdd467
DZ
529532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52954
52955 * string/strncat.c (strncat): Undef the symbol in case it has been
52956 defined in bits/string.h.
52957
74718d13
UD
529582011-09-09 Ulrich Drepper <drepper@gmail.com>
52959
633e9e0f
UD
52960 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52961
0a2349f9 52962 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52963 link map.
52964
f9924780
AJ
529652011-08-17 Andreas Jaeger <aj@suse.de>
52966
52967 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52968
7f5517aa
PP
529692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52970 Ian Lance Taylor <iant@google.com>
52971
52972 * math/libm-test.inc (lround_test): New testcase.
52973 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52974
762011fe
UD
529752011-09-08 Ulrich Drepper <drepper@gmail.com>
52976
92963737
UD
52977 * Makefile: Remove support for automatic cvs check-ins.
52978 * Makerules: Likewise.
52979 * config.make.in: Likewise.
52980 * configure.in: Likewise.
52981 * intl/Makefile: Likewise.
52982 * locale/Makefile: Likewise.
52983 * po/Makefile: Likewise.
52984 * posix/Makefile: Likewise.
52985 * sysdeps/gnu/Makefile: Likewise.
52986 * sysdeps/mach/hurd/Makefile: Likewise.
52987 * sysdeps/sparc/sparc32/Makefile: Likewise.
52988
b0727fd8
JS
52989 [BZ #13118]
52990 * posix/Makefile (bug-regex32-ENV): Define.
52991 Patch by John Stanley <jpsinthemix@verizon.net>.
52992
a0f33f99
UD
52993 * misc/Makefile (headers): Add bits/select2.h.
52994 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52995 * misc/bits/select2.h: New file.
52996 * include/bits/select2.h: New file.
52997 * debug/Makefile (routines): Add fdelt_chk.
52998 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52999 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53000 FD_ISSET.
53001 * debug/fdelt_chk.c: New file.
53002
762011fe
UD
53003 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53004 * wcsmbs/test-wmemcmp.c: Likewise.
53005 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53006 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53007
530082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53009
53010 * string/Makefile (strop-tests): Add memcmp.
53011 * string/test-wmemcmp.c: New file.
53012 * string/test-memcmp.c: Add wmemcmp support.
53013
7f513ec8
RM
530142011-09-08 Roland McGrath <roland@hack.frob.com>
53015
0442afb4
RM
53016 [BZ #13153]
53017 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53018 2011-07-19 change.
53019
7f513ec8
RM
53020 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53021 garbage value in a __mach_port_mod_refs call in the cases of the
53022 task-self and thread-self ports.
53023
a12b2239
ST
530242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53025
53026 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53027
610f9ab4
AS
530282011-09-08 Andreas Schwab <schwab@redhat.com>
53029
7f513ec8 53030 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53031
48882a1a
LD
530322011-09-07 Ulrich Drepper <drepper@gmail.com>
53033
b49865be
UD
53034 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53035
fdc86bc9
UD
53036 * elf/dl-libc.c (dlerror_run): Pass back error code from
53037 dl_catch_error.
53038
c966526a
UD
53039 [BZ #13123]
53040 * elf/dl-load.c (lose): Free l_origin if it is valid.
53041
48882a1a
LD
53042 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53043 names.
53044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53045 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53048 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53049 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53050
77a2a8b4
AZ
530512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53052
53053 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53054 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53055 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53056 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53057 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53058 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53059 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53060 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53061 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53062 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53063
24f579d8
AM
530642011-08-15 Alan Modra <amodra@gmail.com>
53065
53066 [BZ #13092]
53067 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53068 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53069 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53070 ppc_mcount to static-only-routines.
53071 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53072 __mcount_internal.
53073 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53074 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53075
3d4837df
UD
530762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53077
53078 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53079 for finite and infinity parameters.
53080
22700377
WS
530812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53082
53083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53084 and add nop instructions for throughput optimization.
53085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53086
5025581e
WS
530872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53088
53089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53090 aligned copy for power7 with vector-scalar instructions.
53091 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53092
08a300c9
L
530932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53094
53095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53096 AVX check.
53097
59178ef9
AS
530982011-09-07 Andreas Schwab <schwab@redhat.com>
53099
53100 [BZ #13144]
53101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53102 last change.
53103
e38ba7ab
UD
531042011-09-07 Ulrich Drepper <drepper@gmail.com>
53105
53106 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53107 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53108 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53109 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53110 clock_gettime.
53111
d53a73ac
UD
531122011-09-06 Ulrich Drepper <drepper@gmail.com>
53113
fc8bffcc
UD
53114 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53115 Forgot to demangle the pointer.
53116
ceaa0c5d
UD
53117 * sysdeps/i386/sysdep.h: Define atom_text_section.
53118 * sysdeps/x86_64/sysdep.h: Likewise.
53119 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53120 section with atom_text_section.
53121 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53124 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53125 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53126
a77d3c17
UD
53127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53128 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53129 already be defined. Change to take two parameters and don't assign
53130 result to variable. Adjust all users.
53131 Define INTERNAL_GETTIME if not already defined.
53132 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53133 call.
53134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53135 HAVE_CLOCK_GETTIME_VSYSCALL.
53136 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53137
d53a73ac
UD
53138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53139 gettimeofday vsyscall, just use time.
53140
a8f84144
AS
531412011-09-06 Andreas Schwab <schwab@redhat.com>
53142
53143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53144 <errno.h>.
53145
ef606249
UD
531462011-09-06 Ulrich Drepper <drepper@gmail.com>
53147
53148 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53149 syscall on x86-64.
53150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53151 syscall.
53152 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53154 syscall if possible.
53155
6585cb60
UD
531562011-09-05 Ulrich Drepper <drepper@gmail.com>
53157
53158 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53159 e_ident. Don't pass to find_mapsXX.
53160 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53161
a5f524e4
LD
531622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53163
53164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53165 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53166 * sysdeps/x86_64/multiarch/strchr.S: Update.
53167 Check bit_slow_BSF bit.
53168 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53169 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53171
554881ef
UD
531722011-09-05 Ulrich Drepper <drepper@gmail.com>
53173
d96de963
UD
53174 [BZ #13134]
53175 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53176 before glibc 2.15.
53177 (tryshell): Define.
53178 (__spawni): Change last parameter to be flag. Test
53179 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53180 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53181 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53182 * posix/spawni.c: Likewise.
53183 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53184 * posix/spawnp.c: Likewise. Change normal version to use
53185 SPAWN_XFLAGS_USE_PATH.
53186 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53187 SPAWN_XFLAGS_TRY_SHELL.
53188
d48e5868
UD
53189 [BZ #13150]
53190 * posix/glob.h: Remove gcc 1.x support.
53191
554881ef
UD
53192 [BZ #13068]
53193 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53194
693fb948
LD
531952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53196
53197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53198 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53199 strrchr-sse2-bsf
53200 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53201 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53202 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53203 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53204 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53206
1b48c537
UD
532072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53208
49d42c37
UD
53209 * sysdeps/x86_64/wcscmp.S: New file.
53210
1b48c537
UD
53211 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53212 wcscmp-c wcscmp-sse2
53213 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53214 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53215 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53216 * wcsmbs/wcscmp.c: Allow renaming.
53217
15c95c5d
DM
532182011-09-05 David S. Miller <davem@davemloft.net>
53219
53220 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53221 stack slot, rather than the struct return pointer slot.
53222 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53223 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53225 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53226
2f0ad8f3
UD
532272011-09-05 Ulrich Drepper <drepper@gmail.com>
53228
d88ae418
UD
53229 * po/ja.po: Update from translation team.
53230
2f0ad8f3
UD
53231 [BZ #13144]
53232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53233 kernel in 64-bit binaries.
53234
5f4318d1
DM
532352011-09-01 David S. Miller <davem@davemloft.net>
53236
53237 * elf/elf.h (HWCAP_SPARC_*): Move to..
53238 * sysdeps/sparc/sysdep.h: this new file and add new values.
53239 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53240 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53241 _DL_HWCAP_COUNT to 24.
53242 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53243 entries.
53244 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53245 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53246 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53248 instead of magic constants.
53249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53250
3ba57516
DM
532512011-08-31 David S. Miller <davem@davemloft.net>
53252
53253 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53255 Reimplement to do errno handling inline.
53256 (SYSCALL_ERROR_HANDLER): New macro.
53257 (__SYSCALL_STRING): Do not do errno handling in asm.
53258 (__CLONE_SYSCALL_STRING): Delete.
53259 (__INTERNAL_SYSCALL_STRING): Delete.
53260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53261 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53262 (PSEUDO): Reimplement to do errno handling inline.
53263 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53264 (SYSCALL_ERROR_HANDLER): New macro.
53265 (__SYSCALL_STRING): Do not do errno handling in asm.
53266 (__CLONE_SYSCALL_STRING): Delete.
53267 (__INTERNAL_SYSCALL_STRING): Delete.
53268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53269 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53270 i386.
53271 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53272 (inline_syscall*): Add 'err' argument.
53273 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53274 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53275 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53276 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53277
53278 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53279 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53280
2bc17433
AS
532812011-08-30 Andreas Schwab <schwab@redhat.com>
53282
53283 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53284
fbeb5f4d
JO
532852011-08-29 Jiri Olsa <jolsa@redhat.com>
53286
53287 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53288 directive.
53289
ad69cc26
DM
532902011-08-24 David S. Miller <davem@davemloft.net>
53291
53292 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53293
39dd69df
AS
532942011-08-24 Andreas Schwab <schwab@redhat.com>
53295
53296 * elf/Makefile: Add rules to build and run unload8 test.
53297 * elf/unload8.c: New file.
53298 * elf/unload8mod1.c: New file.
53299 * elf/unload8mod1x.c: New file.
53300 * elf/unload8mod2.c: New file.
53301 * elf/unload8mod3.c: New file.
53302
53303 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53304 it wasn't used.
53305
2c0b250a
DM
533062011-08-23 David S. Miller <davem@davemloft.net>
53307
53308 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53309 subtract stack bias.
53310 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53311 %sp not %fp in calculations.
53312 (_JMPBUF_UNWINDS_ADJ): Likewise.
53313
22044b48
DM
53314 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53315 (aio_suspend): Call it to force an exception region around the
53316 AIO_MISC_WAIT() invocation.
53317
2cae4995
AS
533182011-08-23 Andreas Schwab <schwab@redhat.com>
53319
53320 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53321 backslash.
53322
873a772e
AJ
533232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53324
53325 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53326 protection macro.
53327 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53328 and <dl-machine.h>.
53329 (Elf64_FuncDesc): Remove.
53330
25ad0df1
DM
533312011-08-22 David S. Miller <davem@davemloft.net>
53332
53333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53334 sigaltstack check, add missing cfi directives.
53335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53336 missing cfi directives, and sigaltstack handling.
53337
e888bcbe
AS
533382011-08-16 Andreas Schwab <schwab@redhat.com>
53339
53340 [BZ #11724]
53341 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53342 object is seen twice.
53343 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53344
53345 * elf/Makefile (distribute): Add tst-initorder2.c.
53346 (tests): Add tst-initorder2.
53347 (modules-names): Add tst-initorder2a tst-initorder2b
53348 tst-initorder2c tst-initorder2d. Add rules to build them.
53349 ($(objpfx)tst-initorder2.out): New rule.
53350 * elf/tst-initorder2.c: New file.
53351 * elf/tst-initorder2.exp: New file.
53352
87162f46
AS
533532011-08-22 Andreas Schwab <schwab@redhat.com>
53354
70538b7f
AS
53355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53356
f55ffe58
AS
53357 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53358 dependencies back to end of function.
53359
87162f46
AS
53360 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53361 $(elfobjdir)/ld.so.
53362
91b392a4
UD
533632011-08-21 Ulrich Drepper <drepper@gmail.com>
53364
53365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53366 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53368 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53369 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53370 of __vdso_gettimeofday.
53371 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53372 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53373 attribute_hidden.
53374 (_libc_vdso_platform_setup): Remove initialization of
53375 __vdso_gettimeofday and __vdso_time.
53376
5c43483f
UD
533772011-08-20 Ulrich Drepper <drepper@gmail.com>
53378
775a77e7
UD
53379 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53380 and fgetc_unlocked.
53381 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53382 getc_unlocked.
89f447ed 53383
49c74ba9
UD
53384 * elf/dl-open.c (add_to_global): Report additions to the global scope
53385 for LD_DEBUG=scopes.
53386 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53387 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53388
5c43483f
UD
53389 [BZ #13114]
53390 * stdio-common/Makefile (tests): Add bug24.
53391 * stdio-common/bug24.c: New file.
53392
a101b025
AJ
533932011-08-19 Andreas Jaeger <aj@suse.de>
53394
53395 [BZ #13114]
53396 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53397 non-existant file when using close-on-exec mode.
53398
c88f1766
UD
533992011-08-20 Ulrich Drepper <drepper@gmail.com>
53400
0276a718
UD
53401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53402 the very first instruction.
53403
c88f1766
UD
53404 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53405 the CFI state in the end.
53406 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53407 inclusion of dl-trampoline.h.
53408 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53409
51ccffa0
AS
534102011-08-19 Andreas Schwab <schwab@redhat.com>
53411
94d7165f
AS
53412 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53413 expectations for long double.
53414
51ccffa0
AS
53415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53416 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53417
fd708658 534182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53419
53420 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53421 artificual limit depends upon the system page size.
53422
44f0a71e
UD
534232011-08-17 Ulrich Drepper <drepper@gmail.com>
53424
53425 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53426 * resolv/Makefile: Define CFLAGS-libresolv.
53427
8de79a24
AS
534282011-08-17 Andreas Schwab <schwab@redhat.com>
53429
53430 * nss/makedb.c (compute_tables): Make variables used in nested
53431 function static.
53432
27724598
UD
534332011-08-17 Ulrich Drepper <drepper@gmail.com>
53434
c5305d88
UD
53435 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53436 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53437 if buffer was too small.
53438
27724598
UD
53439 * elf/pldd.c (main): Attach to all threads in the process.
53440 Rewrite /proc handling to use *at functions.
53441
076fe015
UD
534422011-08-16 Ulrich Drepper <drepper@gmail.com>
53443
174baab3
UD
53444 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53445 specifies first scope to show.
53446 (dl_open_worker): Update callers. Move printing scope of new
53447 object to before the relocation.
44f0a71e 53448 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53449 * sysdeps/generic/ldsodefs.h: Update declaration.
53450
076fe015
UD
53451 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53452 string for the scope number.
53453
a60df2c3
UD
534542011-08-14 Ulrich Drepper <drepper@gmail.com>
53455
53456 * nscd/servicescache.c (cache_addserv): Make sure written is always
53457 initialized.
53458
5e4287d1
RM
534592011-08-14 Roland McGrath <roland@hack.frob.com>
53460
85ae0589
RM
53461 * sysdeps/i386/i486/bits/atomic.h
53462 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53463 statement expression, so as to suppress "set but not used" warning.
53464 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53465
69f63097
RM
53466 * string/strncat.c (STRNCAT): Use prototype definition.
53467
675456ef
RM
53468 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53469 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53470 -Iprograms here.
53471 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53472 (localedef-modules): Add localedef.
53473 (locale-modules): Add locale.
53474
5e4287d1
RM
53475 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53476 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53477 to avoid a warning.
53478
9c96ff23
DM
534792011-08-14 David S. Miller <davem@davemloft.net>
53480
53481 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53482 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53483
f9ddf089
UD
534842011-08-13 Ulrich Drepper <drepper@gmail.com>
53485
44f0a71e 53486 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53487 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53488 * elf/rtld.c (dl_main): Set l_name of vDSO.
53489 Call _dl_show_scope when DL_DEBUG_SCOPES.
53490 (process_dl_debug): Recognize scopes flag and also set it for all.
53491 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53492 Declare _dl_show_scope.
53493
1dc27704
UD
53494 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53495 (do_dlopen): Pass caller_dlopen to dl_open.
53496 (__libc_dlopen_mode): Initialize caller_dlopen.
53497
f9ddf089
UD
53498 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53499 of libc. Make tolower call locale-independent. Optimize a bit by
53500 using isdigit instead of isalnum.
53501 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53502
9ac533d3
UD
535032011-08-12 Ulrich Drepper <drepper@gmail.com>
53504
53505 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53506 was a dependency or dynamically loaded.
53507
89edf2e9
UD
535082011-08-11 Ulrich Drepper <drepper@gmail.com>
53509
8e999d29
UD
53510 * intl/l10nflist.c: Allow architecture-specific pop function.
53511 * sysdeps/x86_64/l10nflist.c: New file.
53512
89edf2e9
UD
53513 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53514 classification.
53515
14d96785
AS
535162011-08-10 Andreas Schwab <schwab@redhat.com>
53517
53518 * include/dirent.h: Add libc_hidden_proto for scandirat and
53519 scandirat64. Don't declare __scandirat64.
53520 * dirent/scandirat.c: Add libc_hidden_def.
53521 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53522 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53523
6761ac04
DM
535242011-08-10 David S. Miller <davem@davemloft.net>
53525
53526 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53527 enum.
53528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53531
c55fbd1e
UD
535322011-08-09 Ulrich Drepper <drepper@gmail.com>
53533
53534 * Versions.def [libc]: Add GLIBC_2.15.
53535 * dirent/Makefile (routines): Add scandirat and scandirat64.
53536 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53537 GLIBC_2.15.
53538 * dirent/dirent.h: Declare scandirat and scandirat64.
53539 * dirent/scandirat.c: New file.
53540 * dirent/scandirat64.c: New file.
53541 * sysdeps/wordsize-64/scandirat.c: New file.
53542 * sysdeps/wordsize-64/scandirat64.c: New file.
53543 * dirent/opendir.c: Define opendirat.
53544 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53545 using scandirat.
53546 * dirent/scandir64.c: Adjust for scandir.c change.
53547 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53548 __scandirat64, and __scandir_cancel_handler.
53549 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53550 additional parameter and use openat instead of open (outside of ld.so).
53551 Add new __opendir as wrapper around __opendirat.
53552 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53553 here without requiring old scandirat implementation.
53554
879165f2
UD
535552011-08-08 Ulrich Drepper <drepper@gmail.com>
53556
53557 * dirent/scandir.c (cancel_handler): Renamed to
53558 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53559 defined. Adjust users.
53560 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53561 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53562
cb7e923b
UD
535632011-08-04 Ulrich Drepper <drepper@gmail.com>
53564
16292edd
UD
53565 * string/test-string.h (IMPL): Use __STRING to expand name and then
53566 stringify it.
53567
cb7e923b
UD
53568 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53569 of cleanups.
53570
cff82933
LD
535712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53572
53573 * string/Makefile: Update.
53574 (strop-tests): Append strncat.
53575 * string/test-wcscmp.c: New file.
53576 New comprehensive test for wcscmp.
53577 * string/test-strcmp.c: Update.
53578 (WIDE): New define.
53579
9be9bfcc
AS
535802011-07-22 Andreas Schwab <schwab@redhat.com>
53581
53582 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53583 line.
53584
2e96f1c7
AS
535852011-07-26 Andreas Schwab <schwab@redhat.com>
53586
53587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53588 encoding to ACE if AI_IDN.
53589
85188888
JJ
535902011-08-01 Jakub Jelinek <jakub@redhat.com>
53591
53592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53593 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53594
5fa16e9b
LD
535952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53596
53597 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53598 Fix overflow bug in strncat.
53599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53600
53601 * string/test-strncat.c: Update.
53602 Add new tests for checking overflow bugs.
53603
536042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53605
53606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53607 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53608 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53609 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53611 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53612 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53613 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53614 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53615
53616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53617 (USE_AS_STRCAT): Define.
53618 Add strcat and strncat support.
53619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53620
8c1a459f
AS
536212011-07-25 Andreas Schwab <schwab@redhat.com>
53622
53623 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53624 __n bigger than INT_MAX+1.
53625 (__strncmp_g): Likewise.
53626
bba33c28
UD
536272011-07-23 Ulrich Drepper <drepper@gmail.com>
53628
798be72d
UD
53629 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53630 * libio/stido.h: Likewise.
53631
8accd4dc
UD
53632 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53633 (AF_NFC): Define.
53634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53635 (AF_NFC): Define.
53636
cbff0d96
UD
53637 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53640 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53642
9191c04a
UD
53643 [BZ #13021]
53644 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53645 installed.
53646
bba33c28
UD
53647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53648 typo.
53649 (_dl_x86_64_save_sse): Likewise.
53650
90f139dd
UD
536512011-07-22 Ulrich Drepper <drepper@gmail.com>
53652
1aae088a
UD
53653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53654 OSXSAVE.
53655 (_dl_x86_64_save_sse): Likewise.
53656
8e2045f5
UD
53657 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53658
90f139dd
UD
53659 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53660
1d002f25
AS
536612011-07-21 Andreas Schwab <schwab@redhat.com>
53662
53663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53664 change.
53665 (_dl_x86_64_save_sse): Use correct AVX check.
53666
21137f89
UD
536672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53668
53669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53670 bug in strncpy/strncat.
53671 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53672
a65c0b7a
UD
536732011-07-21 Ulrich Drepper <drepper@gmail.com>
53674
53675 * string/tester.c (test_strcat): Add tests for different alignments
53676 of source and destination.
53677 (test_strncat): Likewise.
53678
6986b98a
UD
536792011-07-20 Ulrich Drepper <drepper@gmail.com>
53680
90bb2039
UD
53681 [BZ #12852]
53682 * posix/glob.c (glob): Check passed in values before using them in
53683 expressions to avoid some overflows.
53684 (glob_in_dir): Likewise.
53685
5644ef54
UD
53686 [BZ #13007]
53687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53688 check for AVX enablement so that we don't crash with old kernels and
53689 new hardware.
53690 * elf/tst-audit4.c: Add same checks here.
53691 * elf/tst-audit6.c: Likewise.
53692
53693 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53694
bfc9dc9b
AS
536952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53696
53697 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53698
702e64bb
UD
536992011-07-20 Ulrich Drepper <drepper@gmail.com>
53700
53701 * po/cs.po: Update from translation team.
53702 * po/bg.po: Likewise.
53703
295e904f
MP
537042011-07-12 Marek Polacek <mpolacek@redhat.com>
53705
53706 * misc/sys/cdefs.h: Add support for const attribute.
53707 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53708 to gnu_dev_{major,minor,makedev} functions.
53709
3ff94596
MP
537102011-07-20 Marek Polacek <mpolacek@redhat.com>
53711
53712 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53713
28b59fca
AS
537142011-07-20 Andreas Schwab <schwab@redhat.com>
53715
53716 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53717 strlen results.
53718
19df733e
AK
537192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53720
53721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53722 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53723 register in order to avoid conflicts with the soft frame pointer
53724 being held in r11 when necessary.
53725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53726 (INTERNAL_VSYSCALL_NCS): Likewise.
53727
c8835729
MP
537282011-07-14 Marek Polacek <mpolacek@redhat.com>
53729
53730 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53731 * elf/dl-fini.c (_dl_fini): Adjust caller.
53732 * elf/dl-close.c (_dl_close_worker): Likewise.
53733 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53734
b902330c
MP
537352011-07-15 Marek Polacek <mpolacek@redhat.com>
53736
8991e135
MP
53737 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53738 "aux_cache->nlibs < 0".
53739
b902330c
MP
53740 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53741 in the reload-count case.
53742
99710781
LD
537432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53744
53745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53746 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53747 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53748 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53749 * sysdeps/x86_64/multiarch/strcat.S: New file.
53750 * sysdeps/x86_64/multiarch/strncat.S: New file.
53751 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53753 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53754 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53756 (USE_AS_STRCAT): Define.
53757 Add strcat and strncat support.
53758 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53760 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53761 * string/strncat.c: Update.
53762 (USE_AS_STRNCAT): Define.
53763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53764 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53765 and i7.
53766 * sysdeps/x86_64/multiarch/init-arch.h
53767 (bit_Prefer_PMINUB_for_stringop): New.
53768 (index_Prefer_PMINUB_for_stringop): Likewise.
53769 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53770 bit_Prefer_PMINUB_for_stringop.
53771
7dc6bd90
UD
537722011-07-19 Ulrich Drepper <drepper@gmail.com>
53773
53774 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53775 buffer64.
53776 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53777 of casting of buffer.
53778 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53779 buffer32 and buffer64.
53780 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53781 writes instead of casting of buffer.
53782 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53783 buffer32.
53784 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53785 casting of buffer.
53786
e0e72284
AS
537872011-07-19 Andreas Schwab <schwab@redhat.com>
53788
53789 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53790
feb1eb0b
UD
537912011-07-19 Ulrich Drepper <drepper@gmail.com>
53792
53793 * nscd/nscd.c (termination_handler): Don't do anything for a database
53794 if it has not yet been initialized.
53795
298711ff
UD
537962011-07-18 Ulrich Drepper <drepper@gmail.com>
53797
53798 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53799
538002011-07-15 Marek Polacek <mpolacek@redhat.com>
53801
53802 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53803
f9d68389
UD
538042011-07-18 Ulrich Drepper <drepper@gmail.com>
53805
53806 * po/nl.po: Update from translation team.
53807 * po/sv.po: Likewise.
53808
db290cf5
RM
538092011-07-16 Roland McGrath <roland@hack.frob.com>
53810
53811 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53812 now disallowed by GCC.
5c550700 53813
fd5e21c7
RM
53814 * configure.in (use-default-link): Default to yes if a test -shared
53815 link meets our qualifications.
53816 * configure: Regenerated.
53817
5c550700
RM
53818 * config.make.in (output-format): New variable.
53819 * configure.in: Check for ld --print-output-format support.
53820 * configure: Regenerated.
53821 * Makerules ($(common-objpfx)format.lds)
53822 [$(output-format) != unknown]: Just use $(output-format),
53823 instead of the linker-script munging.
53824
9fa2c032
RM
538252011-07-14 Roland McGrath <roland@hack.frob.com>
53826
a6928d51
RM
53827 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53828 of $(common-objpfx)shlib.lds.
53829 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53830
661607b3
RM
53831 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53832 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53833
9fa2c032
RM
53834 * configure.in (-z relro check): Adjust test code to add a large
53835 writable data section after it.
53836 * configure: Regenerated.
53837
defe9061
RM
538382011-07-11 Roland McGrath <roland@hack.frob.com>
53839
53840 * configure.in (-z relro check): Fix test code to make the variable
53841 truly const.
53842 * configure: Regenerated.
53843
319b9ad4
UD
538442011-07-11 Ulrich Drepper <drepper@gmail.com>
53845
53846 * nscd/nscd.h (struct traced_file): Define.
53847 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53848 elements. Add traced_files.
53849 (inotify_fd): Declare.
53850 (register_traced_file): Declare.
53851 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53852 (inotify_fd): Export.
53853 (resolv_conf_descr): Remove.
53854 (nscd_init): Move inotify descriptor creation to main.
53855 Don't register files for notification here.
53856 (register_traced_file): New function.
53857 (invalidate_cache): Don't use reset_res to determine whether to call
53858 res_init, go through the list of registered files.
53859 (main_loop_poll): The inotify descriptors are now stored in the
53860 structures for the traced files.
53861 (main_loop_epoll): Likewise
53862 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53863 to __nss_disable_nscd.
53864 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53865 for a database anymore. Check the records for all the registered
53866 files instead.
53867 * nss/Makefile (libnss_files-routines): Add files-init.
53868 (libnss_db-routines): Add db-init.
53869 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53870 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53871 * nss/nss_db/db-init.c: New file.
53872 * nss/nss_files/files-init.c: New file.
53873 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53874 __nss_lookup_function.
53875 (__nss_lookup_function): Call nss_load_library.
53876 (nss_load_all_libraries): New function.
53877 (__nss_disable_nscd): Take parameter with callback function for files
53878 to register. Set is_nscd. Load all the DSOs for the NSS modules
53879 used for the cached services.
53880 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53881 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53882 options for features to all the files in nscd.
53883
53884 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53885
23bee3e8
RM
538862011-07-10 Roland McGrath <roland@hack.frob.com>
53887
53888 * csu/elf-init.c (__libc_csu_init): Comment typo.
53889
46a5b7f0
UD
538902011-07-09 Ulrich Drepper <drepper@gmail.com>
53891
53892 * po/pl.po: Update from translation team.
53893 * po/ja.po: Likewise.
53894 * po/ru.po: Likewise.
53895 * po/ko.po: Likewise.
53896 * po/fr.po: Likewise.
53897
d30cf5bb
RM
538982011-07-09 Roland McGrath <roland@hack.frob.com>
53899
113ddea4
RM
53900 * configure.in (.ctors/.dtors header and trailer check):
53901 Use an empirical test on a built program.
53902 * configure: Regenerated.
53903
574920b4
RM
53904 * configure.in (-z relro check): Use an empirical test on a built DSO.
53905 Detect, but do not require, on ia64.
53906 * configure: Regenerated.
53907
d30cf5bb
RM
53908 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53909 Update tests that use readelf to use $READELF instead.
53910 * configure: Regenerated.
53911
8538fdb3
UD
539122011-07-08 Ulrich Drepper <drepper@gmail.com>
53913
53914 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53915 if the result is not used.
53916
04d08991
AJ
539172011-07-05 Andreas Jaeger <aj@suse.de>
53918
53919 [BZ#9696]
53920 * stdlib/tst-strtod.c: Add testcase.
53921
de283087
AD
539222011-07-07 Ulrich Drepper <drepper@gmail.com>
53923
4e5f31c8 53924 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53925 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53926 The latter has a higher limit. Take additional parameter to pass to
53927 the new function.
53928 (__pathconf): Pass file to __statfs_link_max.
53929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53930 __statfs_link_max.
53931 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53932 __statfs_link_max.
53933
de283087
AD
53934 [BZ #12868]
53935 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53937 Handle Lustre.
53938 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53939 (__statfs_filesize_max): Likewise.
53940 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53941
c75fa153
AJ
539422011-07-05 Andreas Jaeger <aj@suse.de>
53943
53944 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53945
1a544854
UD
539462011-07-06 Marek Polacek <mpolacek@redhat.com>
53947
53948 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53949 `status' variable.
53950 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53951 Likewise.
53952
6f0eec67
UD
539532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53954
53955 * Makefile (strop-tests): Add strncat.
53956 * string/test-strncat.c: New file.
53957
aae30307
UD
539582011-06-30 Marek Polacek <mpolacek@redhat.com>
53959
53960 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53961
c0cfb5eb
UD
539622011-06-21 Andreas Jaeger <aj@suse.de>
53963
53964 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53965 Copy rule from iconvdata/Makefile.
53966
01636b21
UD
539672011-07-06 Ulrich Drepper <drepper@gmail.com>
53968
53969 [BZ #12922]
53970 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53971 but no long options are defined, just return 'W'.
53972
9895c8bc
UD
539732011-06-22 Marek Polacek <mpolacek@redhat.com>
53974
53975 [BZ #9696]
53976 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53977
5d4cf042
UD
539782011-07-06 Ulrich Drepper <drepper@gmail.com>
53979
53980 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53981 netgroups to read.
960e5535 53982 (innetgr): Likewise.
5d4cf042 53983
751eb97e
RM
539842011-07-05 Roland McGrath <roland@hack.frob.com>
53985
53986 * config.make.in (install_root): Default to $(DESTDIR).
53987
f15f1e45
UD
539882011-07-05 Ulrich Drepper <drepper@gmail.com>
53989
53990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53991
4e34ac6a
RM
539922011-07-02 Roland McGrath <roland@hack.frob.com>
53993
5e9b6af4
RM
53994 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53995
84f9ea0f
RM
53996 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53997 containing directory rather than embedding absolute directory names.
53998
ea5ee9f7
RM
53999 * scripts/check-local-headers.sh: Rewritten using awk.
54000 Match by word, not by line. Print error messages for matches.
54001 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54002
1b74661a
RM
54003 * Makerules [shlib-lds-flags empty]:
54004 ($(common-objpfx)libc_pic.opts): New target.
54005 ($(common-objpfx)libc_pic.os.clean): New target.
54006 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54007
54008 * config.make.in (OBJCOPY): New variable.
54009 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54010 * configure: Regenerated.
54011
f781ef40
RM
54012 * config.make.in (use-default-link): New variable.
54013 * configure.in (use_default_link): Grok --with-default-link to set it.
54014 * configure: Regenerated.
54015 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54016 (shlib-lds, shlib-lds-flags): Define to empty.
54017
2d4fa81e
RM
54018 * Makerules (shlib-lds): New variable.
54019 (shlib-lds-flags): New variable.
54020 (build-shlib, build-moduile, build-module-asneeded): Use it.
54021 ($(common-objpfx)libc.so): Use $(shlib-lds).
54022 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54023 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54024
31fffa6b
RM
54025 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54026 DT_FLAGS/DT_FLAGS_1 with zero flags.
54027
4e34ac6a
RM
54028 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54029 linker script munging.
54030
fcfc776b
UD
540312011-07-02 Ulrich Drepper <drepper@gmail.com>
54032
54033 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54034 as 128-bit value.
54035 * crypt/sha512.c (sha512_process_block): Perform total addition using
54036 128-bit if possible.
54037 (__sha512_finish_ctx): Likewise.
54038 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54039 as 64-bit value.
54040 * crypt/sha256.c (SWAP64): Define.
54041 (sha256_process_block): Perform total addition using 64-bit if
54042 possible.
54043 (__sha256_finish_ctx): Likewise.
54044
99231d9a
UD
540452011-07-01 Ulrich Drepper <drepper@gmail.com>
54046
54047 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54048 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54049 * nscd/hstcache.c (cache_addhst): Likewise.
54050 * nscd/grpcache.c (cache_addgr): Likewise.
54051 * nscd/aicache.c (addhstaiX): Likewise
54052 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54053
445b4a53
TK
540542011-07-01 Thorsten Kukuk <kukuk@suse.de>
54055
54056 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54058 * nscd/hstcache.c (cache_addhst): Likewise.
54059 * nscd/grpcache.c (cache_addgr): Likewise.
54060 * nscd/aicache.c (addhstaiX): Likewise
54061
6d4d8e8e
AS
540622011-07-01 Andreas Schwab <schwab@redhat.com>
54063
54064 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54065 domain only when needed.
54066
89f654c5
AS
540672011-06-30 Andreas Schwab <schwab@redhat.com>
54068
54069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54070 is always restored.
54071
cf3b23ff
UD
540722011-06-29 Ulrich Drepper <drepper@gmail.com>
54073
54074 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54075 are re-adding the entry.
54076 * nscd/servicescache.c (cache_addserv): Likewise.
54077
751626f9
AJ
540782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54079
54080 * sysdeps/generic/dl-irel.h: fix protection against multiple
54081 inclusions.
54082 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54083
9113ea1f
UD
540842011-06-28 Ulrich Drepper <drepper@gmail.com>
54085
5c0b8d90
UD
54086 [BZ #12935]
54087 * malloc/memusage.sh: Fix quoting in message.
54088 * debug/xtrace.sh: Likewise.
54089
9113ea1f
UD
54090 * configure.in: Remove support for --experimental-malloc option, make
54091 it the default.
54092 * config.make.in: Likewise.
54093 * malloc/Makefile: Likewise.
54094
a4172181
AS
540952011-06-27 Andreas Schwab <schwab@redhat.com>
54096
54097 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54098 two-byte characters.
54099
78a7eee7
RM
541002011-06-27 Roland McGrath <roland@hack.frob.com>
54101
62bede13
RM
54102 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54103 AC_CACHE_CHECK invocation.
54104 * configure: Regenerated.
54105
78a7eee7
RM
54106 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54107
5ce33a62
UD
541082011-06-27 Ulrich Drepper <drepper@gmail.com>
54109
034807a9
UD
54110 [BZ #12350]
54111 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54112 bit from old_res_options.
54113
4902da17
UD
54114 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54115
5ce33a62
UD
54116 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54117 value type for setfct.
54118
c2344f56
L
541192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54120
54121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54122 __gettimeofday instead of gettimeofday.
54123
68468076
UD
541242011-06-26 Ulrich Drepper <drepper@gmail.com>
54125
54126 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54127
acb0d739
L
541282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54129
54130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54131
54132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54133 info.
54134
8912479f
L
541352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54136
54137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54138 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54139 strcpy-sse2-unaligned strncpy-sse2-unaligned
54140 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54141 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54142 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54143 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54144 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54147 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54148 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54149 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54150 (STRCPY): Support SSE2 and SSSE3 versions.
54151
d5495a11
UD
541522011-06-24 Ulrich Drepper <drepper@gmail.com>
54153
54154 [BZ #12874]
54155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54156 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54157 kernels which artificially limit size of requests.
54158
0b1cbaae
L
541592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54160
54161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54162 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54163 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54164 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54165 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54166 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54167 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54168 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54171 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54172 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54173 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54174 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54175 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54177 Enable unaligned load optimization for Intel Core i3, i5 and i7
54178 processors.
54179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54180 Define.
54181 (index_Fast_Unaligned_Load): Define.
54182 (HAS_FAST_UNALIGNED_LOAD): Define.
54183
07f494a0
MP
541842011-06-23 Marek Polacek <mpolacek@redhat.com>
54185
54186 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54187
fa3fc0fe
UD
541882011-06-22 Ulrich Drepper <drepper@gmail.com>
54189
54190 [BZ #12907]
54191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54192 until it is clear that the information is realy needed.
54193 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54194
e12df166
AS
541952011-06-22 Andreas Schwab <schwab@redhat.com>
54196
54197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54198
852eb34d
UD
541992011-06-22 Ulrich Drepper <drepper@gmail.com>
54200
84e2a551
UD
54201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54202 /sys/devices/system/cpu/online if it is usable.
54203
852eb34d
UD
54204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54205 reading the information from the /proc filesystem to once a second.
54206
6e502e19
UD
542072011-06-21 Andreas Jaeger <aj@suse.de>
54208
54209 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54210 NULL after inclusion of kernel headers.
54211
75d39ff2
UD
542122011-06-21 Ulrich Drepper <drepper@gmail.com>
54213
51f9aa6a
UD
54214 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54215 calls to internal_setent.
54216
c0244a9d
UD
54217 [BZ #12885]
54218 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54219 addresses using gethostbyname4_r ignore IPv4 addresses.
54220
c5e3c2ae
UD
54221 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54222 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54223
75d39ff2
UD
54224 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54225
42675c6f
DM
542262011-06-20 David S. Miller <davem@davemloft.net>
54227
54228 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54229 inclusions.
54230 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54231
54232 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54233 (elf_irel): Use it.
54234 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54235 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54236 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54237 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54238 * sysdeps/x86_64/dl-irel.h: Likewise.
54239
54240 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54241 * elf/dl-sym.c: Likewise.
54242
57912a71
UD
542432011-06-15 Ulrich Drepper <drepper@gmail.com>
54244
54245 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54246 need to dereference resplen2.
54247
ee22793d
AS
542482011-06-14 Andreas Schwab <schwab@redhat.com>
54249
54250 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54251
a9e836b0
UD
542522011-06-15 Ulrich Drepper <drepper@gmail.com>
54253
77fb9117
UD
54254 * Makeconfig: Define vardbdir and inst_vardbdir.
54255 * nss/Makefile: Add rules to install db-Makefile.
54256
40c1b22c
UD
54257 * nss/nss_db/db-XXX.c: Cleanup.
54258
9f2da732
UD
54259 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54260 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54261 GLIBC_PRIVATE.
54262 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54263 * nss/makedb.c: Implement -g option to specify that value strings
54264 are generated and should not be added to table iterated over for
54265 get*ent calls.
54266 * nss/nss_db/db-initgroups.c: New file.
54267
82e9a1f7
UD
54268 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54269 interface.
54270
c41af17e
UD
54271 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54272 (internal_getgrouplist): Adjust to name change.
54273 Update use_initgroups_entry if this is not the first call.
54274 * nss/databases.def: Add initgroups entry.
54275
a9e836b0
UD
54276 * nss/makedb.c (compute_tables): Check result of multiple hash table
54277 sizes to minimize maximum chain length.
54278
2666d441
UD
542792011-06-14 Ulrich Drepper <drepper@gmail.com>
54280
54281 * Versions.def: Add entry for libnss_db.
54282 * shlib-versions: Likewise.
54283 * nss/Makefile: Add rules to build libnss_db.
54284 * nss/Versions: Add libnss_db information. Organize libnss_files
54285 entries better.
54286 * nss/db-Makefile: Add gshadow support. Change rules for the new
54287 makedb progra. Some minor improvements to generate smaller files.
54288 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54289 here from...
54290 * nss/makedb.c: ...here.
54291 Improve database format to be smaller and require less memory at
54292 runtime.
54293 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54294 db anymore.
54295 * nss/nss_db/db-netgrp.c: Likewise.
54296 * nss/nss_db/db-open.c: Likewise.
54297 * nss/nss_files/flies-XXX.x: Adjust comments.
54298 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54299 * nss/nss_files/files-grp.c: Likewise.
54300 * nss/nss_files/files-hosts.c: Likewise.
54301 * nss/nss_files/files-network.c: Likewise.
54302 * nss/nss_files/files-proto.c: Likewise.
54303 * nss/nss_files/files-pwd.c: Likewise.
54304 * nss/nss_files/files-rpc.c: Likewise.
54305 * nss/nss_files/files-service.c: Likewise.
54306 * nss/nss_files/files-sgrp.c: Likewise.
54307 * nss/nss_files/files-spwd.c: Likewise.
54308 * nss/nss_db/db-alias.c: Removed.
54309 * nss/nss_db/dummy-db.h: Removed.
54310
9ee76b5a
UD
543112011-06-02 Ulrich Drepper <drepper@gmail.com>
54312
54313 * nss/makedb.c: Rewritten to not use database library.
54314 * nss/Makefile: Update to build new makedb program.
54315
c71ca1f8
AJ
543162011-06-14 Andreas Jaeger <aj@suse.de>
54317
54318 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54319 memset declaration.
54320
3154bfb8
UD
543212011-06-10 Andreas Schwab <schwab@redhat.com>
54322
54323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54324 tmpbuf.
54325
b350afab
RM
543262011-06-10 Roland McGrath <roland@hack.frob.com>
54327
decd4e50
RM
54328 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54329 * elf/Makefile ($(objpfx)ld.so): Likewise.
54330
5615eaf2
RM
54331 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54332 Don't list ld.so twice in dependencies.
54333
54334 * posix/bug-regex31.c: Include <stdlib.h>.
54335
54336 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54337
54338 * nis/nss_compat/compat-spwd.c
54339 (getspent_next_nss_netgr): Remove unused variable.
54340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54341
54342 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54343 nonmembers" output to use the right array.
54344
54345 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54346
54347 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54348
54349 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54350 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54351 * catgets/gencat.c (read_input_file): Likewise.
54352 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54353
54354 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54355 variable definition inside #if's controlling its use.
54356
54357 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54358
54359 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54360
54361 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54362
54363 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54364 unreachable code.
54365
54366 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54367
b68e08db
RM
54368 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54369 * configure: Regenerated.
54370
b350afab
RM
54371 * Makerules: Revert last change.
54372 * elf/Makefile: Likewise.
54373
28368601
RM
543742011-06-09 Roland McGrath <roland@hack.frob.com>
54375
54376 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54377 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54378 (reloc-link): Likewise.
54379
11988f8f
UD
543802011-06-09 Ulrich Drepper <drepper@gmail.com>
54381
54382 * elf/Makefile: Add rules to build pldd.
54383 * elf/pldd.c: New file.
54384 * elf/pldd-xx.c: New file.
54385
e80fab37
UD
543862011-06-07 Ulrich Drepper <drepper@gmail.com>
54387
54388 * version.h: Update for 2.15 development version.
54389
9b849836
DM
543902011-06-07 David S. Miller <davem@davemloft.net>
54391
54392 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54393 ifuncs.
54394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54395 elf_machine_lazy_rel): Likewise.
54396 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54398 elf_machine_lazy_rel): Likewise.
54399 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54400 dl_hwcap via passed in argument.
54401 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54402 Likewise.
54403
5a31b283
AK
544042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54405
54406 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54407
069e52f8
RM
544082011-06-06 Roland McGrath <roland@hack.frob.com>
54409
54410 [BZ #12849]
54411 * manual/fdl-1.1.texi: New file, verbatim from:
54412 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54413 * manual/lgpl-2.1.texi: New file, verbatim from:
54414 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54415 * manual/Makefile (licenses): New variable, list those new file names.
54416 (texis): Use it.
54417 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54418
54419 * manual/fdl.texi: File removed.
54420 * manual/lesser.texi: File removed.
54421 * manual/libc.texinfo (Copying, Documentation License):
54422 Use new @include file names, put @appendix directive before @include.
54423
f16846a5
JJ
544242011-06-04 Jakub Jelinek <jakub@redhat.com>
54425
54426 [BZ #12841]
54427 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54428 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54429 (mq_open): Add __NTH.
54430
3d29045b
L
544312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54432
54433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54434 Assume Intel Core i3/i5/i7 processor if AVX is available.
54435
8c297311
UD
544362011-05-31 Ulrich Drepper <drepper@gmail.com>
54437
54438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54439 typo.
54440
c8fc0c91
UD
544412011-05-31 Andreas Schwab <schwab@redhat.com>
54442
54443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54444 memory. Use alloca_account. Fix memory leak when retrying.
54445
5b27a807
UD
544462011-05-31 Ulrich Drepper <drepper@gmail.com>
54447
356f8bc6
UD
54448 * version.h (RELEASE): Bump for 2.14 release.
54449 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54450
5b27a807
UD
54451 * config.make.in (RANLIB): Remove entry.
54452
01f16ab0
UD
544532011-05-30 Ulrich Drepper <drepper@gmail.com>
54454
41fce8bd
UD
54455 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54456 (libc.pot): Work around missing support for .ksh extension in xgettext.
54457
4769ae77
UD
54458 [BZ #12684]
54459 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54460 if both request failed.
54461 (send_dg): In case of server errors clear resplen or *resplen2.
54462
6b1e7d19
UD
54463 [BZ #12454]
54464 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54465 when there are multiple maps.
54466 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54467 (_dl_fini): Remove test here.
54468
01f16ab0
UD
54469 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54470
b1ebd700
UD
544712011-05-29 Ulrich Drepper <drepper@gmail.com>
54472
7ae22829
UD
54473 [BZ #12350]
54474 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54475 bit from old_res_options.
54476 (gaih_inet): Likewise.
54477
553149f6 54478 [BZ #11099]
18a84741 54479 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54480 as signed.
54481
652ffab1
UD
54482 * resolv/res_init.c (res_setoptions): Make the code more compact.
54483
16985fd0
UD
54484 [BZ #11558]
54485 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54486 set RES_USEVC.
54487
0464f746
UD
54488 [BZ #11634]
54489 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54490
7d17596c
UD
54491 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54492
cf6bbbd7
UD
54493 [BZ #11781]
54494 * malloc/malloc.h: Declare malloc hook variables as volatile.
54495
13f1ab36
UD
54496 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54497 in last patch.
54498
b1ebd700
UD
54499 [BZ #11799]
54500 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54501 raise in the comment.
80e2212d
UD
54502 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54504 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54505
ce67228d
UD
545062011-05-28 Ulrich Drepper <drepper@gmail.com>
54507
8887a920
UD
54508 [BZ #12811]
54509 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54510 grow the buffers more if it already has to be sufficient.
54511 (build_wcs_upper_buffer): Likewise.
54512 * posix/regexec.c (check_matching): Likewise.
54513 (clean_state_log_if_needed): Likewise.
54514 (extend_buffers): Don't enlarge buffers beyond size of the input
54515 buffer.
54516 Patches mostly by Emil Wojak <emil@wojak.eu>.
54517 * posix/bug-regex32.c: New file.
54518 * posix/Makefile (tests): Add bug-regex32.
54519
4f031072
UD
54520 * locale/findlocale.c (_nl_find_locale): Return right away if
54521 _nl_explode_name failed.
54522 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54523
d0478f0c
UD
54524 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54525
de81b246
UD
54526 * debug/xtrace.sh: Unify messages.
54527 * malloc/memusage.sh: Likewise.
54528
c738465a
UD
54529 [BZ #12813]
54530 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54531 time symbol from vDSO. Substitute with vsyscall if not available.
54532 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54533 __vdso_time.
54534
f1f929d7
UD
54535 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54536 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54537 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54538 Add sendmmsg and internal_sendmmsg.
54539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54540 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54541 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54542
ce67228d
UD
54543 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54544 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54546
e57420c6
UD
545472011-05-27 Ulrich Drepper <drepper@gmail.com>
54548
a8509ca5
UD
54549 [BZ #12813]
54550 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54551 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54552 available.
54553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54554 __vdso_getcpu.
54555
e57420c6
UD
54556 [BZ #12814]
54557 * iconvdata/Makefile (tests): Add bug-iconv9.
54558 * iconvdata/bug-iconv9.c: New file.
54559
4d07db15
AS
545602011-05-27 Andreas Schwab <schwab@redhat.com>
54561
54562 [BZ #12814]
54563 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54564
ea486f69
JJ
545652011-05-25 Jakub Jelinek <jakub@redhat.com>
54566
54567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54568 (struct user_regs_struct): Change intcs field back to cs.
54569
6f038433
UD
545702011-05-25 Ulrich Drepper <drepper@gmail.com>
54571
54572 * po/ja.po: Update from translation team.
54573
67f86a25
UD
545742011-05-23 Ulrich Drepper <drepper@gmail.com>
54575
54576 [BZ #12795]
54577 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54578 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54579
def7fbd6
AS
545802011-05-20 Andreas Schwab <schwab@redhat.com>
54581
54582 * stdlib/longlong.h: Update from GCC.
54583
f50ef8f1
AS
545842011-05-23 Andreas Schwab <schwab@redhat.com>
54585
54586 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54587 parameter name.
54588 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54589 Add parameter name.
54590 (__sysconf): Pass it down.
54591
de7ce8f1
UD
545922011-05-22 Ulrich Drepper <drepper@gmail.com>
54593
f2962a71
UD
54594 [BZ #12671]
54595 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54596 some situations.
54597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54598 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54599 add in in __libc_use_alloca calls. Adjust callers.
54600 (glob): Use malloc in some situations.
54601
de7ce8f1
UD
54602 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54603 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54604 pltexit.
54605
aec84f53
UD
546062011-05-21 Ulrich Drepper <drepper@gmail.com>
54607
05bb4a68
UD
54608 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54609 and CLOCK_BOOTTIME_ALARM.
54610
7ea72f99
UD
54611 [BZ #12782]
54612 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54613 is returned.
54614
7e4afad5
UD
54615 * string/_strerror.c (__strerror_r): Print negative errors as signed
54616 numbers.
54617
8e211fec
UD
54618 [BZ #12777]
54619 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54620 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54621 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54622
f7d82dc9
UD
54623 * configure.in: Fix typo in redirection and correct removal of test
54624 files in two cases.
54625
cc9e536d
UD
54626 [BZ #12788]
54627 * locale/setlocale.c (new_composite_name): Fix test to check for
54628 identical name of all categories.
54629
aec84f53
UD
54630 [BZ #12792]
54631 * libio/filedoalloc.c (local_isatty): New function.
54632 (_IO_file_doallocate): Use local_isatty.
54633 * stdio-common/perror.c (perror): In case a new stream is used
54634 forward the stream error.
54635 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54636 error flag.
54637
78e64fdc
RT
546382011-05-20 Ulrich Drepper <drepper@gmail.com>
54639
34a9094f
UD
54640 [BZ #11869]
54641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54642 alloca.
54643 * include/alloca.h (extend_alloca_account): Define.
54644
78e64fdc
RT
54645 [BZ #11857]
54646 * posix/regex.h: Fix comments with documentation of user-accessible
54647 fields after compilation and describe correct free'ing of pattern
54648 after re_compile_pattern.
54649 Patch by Reuben Thomas <rrt@sc3d.org>.
54650
457bddfc
RA
546512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54652
54653 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54654 and -mno-altivec to prevent the compiler from using Altivec and/or
54655 VSX instructions when the corresponding registers are not available.
54656
a4527b51
AS
546572011-05-19 Andreas Schwab <schwab@redhat.com>
54658
54659 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54660
ed690b2f
UD
546612011-05-19 Ulrich Drepper <drepper@gmail.com>
54662
54663 * libio/freopen.c (freopen): Use __dup2, not dup2.
54664 * libio/freopen64.c (freopen64): Likewise.
54665
8db73634
L
546662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54667
54668 [BZ #12775]
54669 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54670 * math/Makefile (tests): Add test-powl.
54671 (CFLAGS-test-powl.c): Define.
54672 * math/test-powl.c: New file.
54673
0a197a9d
L
546742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54675
54676 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54677
ee30c380
UD
546782011-05-17 Ulrich Drepper <drepper@gmail.com>
54679
54680 [BZ #11837]
54681 * iconvdata/gb18030.c: Update to GB18020-2005.
54682
6ce75379
UD
546832011-05-16 Ulrich Drepper <drepper@gmail.com>
54684
a4b89fd8
AR
54685 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54686 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54687 Patch by Aharon Robbins <arnold@skeeve.com>.
54688
ea389b12
UD
54689 [BZ #11892]
54690 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54691 on the stack.
54692
68a3f91f
UD
54693 [BZ #11895]
54694 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54695 through underflows.
54696
15cc7dd1
UD
54697 [BZ #12766]
54698 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54699 point to strings before performing equality test for error_one_per_line
54700 mode.
54701
f3799213
UD
54702 [BZ #11697]
54703 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54704
d79a9c94
UD
54705 [BZ #11820]
54706 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54707 (struct user_fpregs_struct): Avoid __uint*_t types.
54708
56e5eb46
UD
54709 [BZ #6420]
54710 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54711 symbol info. Use it instead of calling _dl_addr locally.
54712 (lock_and_info): New function.
54713 (tr_freehook): Call lock_and_info and pass symbol info as additional
54714 parameter to tr_where.
54715 (tr_mallochook): Likewise.
54716 (tr_reallochook): Likewise.
54717 (tr_memalignhook): Likewise.
54718
6ce75379
UD
54719 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54720 used and couldn't be at all thread-safe.
54721
f8a3b5bf
UD
547222011-05-15 Ulrich Drepper <drepper@gmail.com>
54723
94b7cc37
UD
54724 * libio/freopen.c (freopen): Don't close old file descriptor
54725 before the new one is opened. Instead dup the new file descriptor
54726 to the old one after the new stream is created.
54727 * libio/freopen64.c (freopen64): Likewise.
54728 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54729 * libio/fileops.c (_IO_new_file_close_it): Handle new
54730 _IO_FLAGS2_NOCLOSE flag.
54731 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54732 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54733 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54734 _IO_FLAGS2_NOCLOSE flag.
54735 * include/unistd.h: Add hidden_proto for dup3.
54736 Define __have_dup3.
54737 * io/dup3.c: Define hidden symbol.
54738 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54739
bd25564e
UD
54740 [BZ #7101]
54741 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54742 when an incomplete long option is used.
54743 * posix/tst-getopt_long1.c: New file.
54744 * posix/Makefile (tests): Add tst-getopt_long1.
54745
c84cfef4
UD
54746 [BZ #10138]
54747 * scripts/config.guess: Update from autoconf-2.68.
54748 * scripts/config.sub: Likewise.
54749
3b85df27
UD
54750 [BZ #10157]
54751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54752 tests into ...
54753 (has_cpuclock): ...this. New function.
54754 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54755 macro here based on has_cpuclock code.
54756
15a856b1
UD
54757 [BZ #10149]
54758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54759 First byte (not low byte) is now always NUL.
54760 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54761
05f399e6
UD
54762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54763 Use non-cancelable interfaces.
54764
10a52685 54765 [BZ #9809]
94ecc67d
UD
54766 * locale/iso-639.def: Add entry for Sorani.
54767
f8a3b5bf
UD
54768 [BZ #11901]
54769 * include/stdlib.h: Move include protection to the right place.
54770 Define abort_msg_s. Declare __abort_msg with it.
54771 * stdlib/abort.c (__abort_msg): Adjust type.
54772 * assert/assert.c (__assert_fail_base): New function. Majority
54773 of code from __assert_fail. Allocate memory for __abort_msg with
54774 mmap.
54775 (__assert_fail): Now call __assert_fail_base.
54776 * assert/assert-perr.c: Remove bulk of implementation. Use
54777 __assert_fail_base.
54778 * include/assert.hL Declare __assert_fail_base.
54779 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54780 mmap.
54781 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54782
1af4e298
UD
547832011-05-14 Ulrich Drepper <drepper@gmail.com>
54784
f8a3b5bf 54785 [BZ #11952]
d26dfc60
MG
54786 [BZ #12453]
54787 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54788 until all modules are registered in the DTV.
54789 * elf/Makefile: Add rules to build and run tst-tls19.
54790 * elf/tst-tls19.c: New file.
54791 * elf/tst-tls19mod1.c: New file.
54792 * elf/tst-tls19mod2.c: New file.
54793 * elf/tst-tls19mod3.c: New file.
54794 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54795
2fc54d6f
UD
54796 [BZ #12083]
54797 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54798 correctly.
54799
98d76b46
UD
54800 [BZ #12601]
54801 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54802 two-byte sequence errors.
54803 * iconvdata/Makefile (tests): Add bug-iconv8.
54804 * iconvdata/bug-iconv8.c: New file.
54805
da3c19ef
UD
54806 [BZ #12626]
54807 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54808 buf2 definition.
54809
ca408c15
UD
54810 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54811
d6f67f7d
UD
54812 [BZ #12432]
54813 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54814 (dummy_getcfa): New function.
54815 (init): Get _Unwind_GetCFA address, use dummy if not found.
54816 (backtrace_helper): In recursion check, also check whether CFA changes.
54817 (__backtrace): Completely initialize arg.
54818
1af4e298 54819 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54820 storing incomplete byte sequence in state object. Avoid testing for
54821 guaranteed too small input if we know there is enough data available.
1af4e298 54822
da62f81b
AS
548232011-05-11 Andreas Schwab <schwab@redhat.com>
54824
54825 * Makeconfig (+link-pie): Indent.
54826 * Rules (binaries-pie): Define if $(have-fpie) and
54827 $(build-shared).
54828 (binaries-shared): Also filter out $(binaries-pie).
54829 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54830 * nscd/Makefile (others-pie): Add nscd.
54831 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54832 ($(objpfx)nscd): Remove command override.
54833 * login/Makefile (others-pie): Add pt_chown.
54834 ($(objpfx)pt_chown): Remove command override.
54835 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54836 remove command overrides.
54837
fcabc0f8
UD
548382011-05-13 Ulrich Drepper <drepper@gmail.com>
54839
20030ae6
UD
54840 * libio/tst_putwc.c: Fix error messages.
54841
fcabc0f8
UD
54842 [BZ #12724]
54843 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54844 currently writing and seek to current position when not.
54845 * libio/Makefile (tests): Add bug-fclose1.
54846 * libio/bug-fclose1.c: New file.
54847
320a5dc0
PB
548482011-05-12 Ulrich Drepper <drepper@gmail.com>
54849
54850 [BZ #12511]
54851 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54852 don't set DF_1_NODELETE here.
54853 (do_lookup_x): When entering new entry test for copy relocation
54854 and if necessary set DF_1_NODELETE flag.
54855 * elf/tst-unique4.cc: New file.
54856 * elf/tst-unique4.h: New file.
54857 * elf/tst-unique4lib.cc: New file.
54858 * elf/Makefile: Add rules to build and run tst-unique4.
54859 Patch by Piotr Bury <pbury@goahead.com>.
54860
22836f52
UD
548612011-05-11 Ulrich Drepper <drepper@gmail.com>
54862
f574184a
UD
54863 [BZ #12052]
54864 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54865
e1fb097f
UD
54866 [BZ #12625]
54867 * misc/mntent_r.c (addmntent): Flush the stream after the output
54868
22836f52
UD
54869 [BZ #12393]
54870 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54871 (is_trusted_path_normalize): Skip initial colon. Append slash
54872 to empty buffer. Duplicate is_trusted_path code but allow
54873 constructed patch to be prefix.
54874 (is_dst): Allow $ORIGIN followed by /.
54875 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54876 Correct testing of result of is_trusted_path_normalize
54877 (decompose_rpath): Fix warning.
54878
7b3b0b2a
UD
548792011-05-10 Ulrich Drepper <drepper@gmail.com>
54880
54881 [BZ #11257]
54882 * grp/initgroups.c (internal_getgrouplist): When we found the service
54883 list through the initgroups entry in nsswitch.conf do not always
54884 continue on a successful lookup. Don't always use the
eac80ce2 54885 __nss_group_database value if it is set.
7b3b0b2a
UD
54886 * nss/nsswitch.conf (initgroups): Change action for successful db
54887 lookup to continue for compatibility.
54888
2a81eaa5
UD
548892011-05-09 Ulrich Drepper <drepper@gmail.com>
54890
be97a69e
UD
54891 [BZ #11532]
54892 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54893 and CP774 modules.
54894 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54895 and CP774 modules.
54896 * iconvdata/tst-tables.sh: Likewise.
54897 * iconvdata/cp770.c: New file.
54898 * iconvdata/cp771.c: New file.
54899 * iconvdata/cp772.c: New file.
54900 * iconvdata/cp773.c: New file.
54901 * iconvdata/cp774.c: New file.
54902 * iconvdata/testdata/CP770: New file.
54903 * iconvdata/testdata/CP770..UTF8: New file.
54904 * iconvdata/testdata/CP771: New file.
54905 * iconvdata/testdata/CP771..UTF8: New file.
54906 * iconvdata/testdata/CP772: New file.
54907 * iconvdata/testdata/CP772..UTF8: New file.
54908 * iconvdata/testdata/CP773: New file.
54909 * iconvdata/testdata/CP773..UTF8: New file.
54910 * iconvdata/testdata/CP774: New file.
54911 * iconvdata/testdata/CP774..UTF8: New file.
54912
54913 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54914 END CHARMAP line.
54915 * iconvdata/gen-8bit-gap.sh: Likewise.
54916 * iconvdata/gen-8bit.sh: Likewise.
54917
c1e9e399
UD
54918 * locale/iso-639.def: Add ary entry.
54919
24c55fb3 54920 [BZ #11258]
96b4b1b0
UD
54921 * locale/C-translit.h.in: Add U20A1 transliteration.
54922
bdc2f971
KB
54923 [BZ #12178]
54924 * locale/iso-639.def: Add wae entry.
54925 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54926
2952b117
UD
54927 [BZ #12545]
54928 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54929 for n.
54930
2a81eaa5
UD
54931 [BZ #12711]
54932 * locale/C-translit.h.in: Add entry for U20B9.
54933 Patch by pravin.d.s@gmail.com.
54934
28377d1b
UD
549352011-05-08 Ulrich Drepper <drepper@gmail.com>
54936
7fb90fb8
UD
54937 [BZ #12713]
54938 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54939 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54940 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54941 in rtld. Use *stat64.
7fb90fb8 54942 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54943 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54944 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54945 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54946 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54947 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54948 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54949 __fstatat64 macros.
7fb90fb8
UD
54950 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54951 * dirent/rewinddir.c: Add libc_hidden_def.
54952 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54953 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54954
28377d1b
UD
54955 * include/dirent.h (__alloc_dir): Add flags parameter.
54956 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54957 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54958 __alloc_dir.
54959 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54960 from fdopendir if O_CLOEXEC is already set.
54961
66bdbaa4
AM
549622011-03-15 Alan Modra <amodra@gmail.com>
54963
54964 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54965 l_tls_firstbyte_offset non-zero. Save padding offset in
54966 l_tls_firstbyte_offset for later use.
54967 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54968 freeing static tls block.
54969
95721191
JN
549702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54971
54972 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54973 where #ifdef was intended. The intent is to prevent ARG_MAX from
54974 being defined by the kernel headers.
54975
f87dfb1f
UD
549762011-05-07 Ulrich Drepper <drepper@gmail.com>
54977
54978 [BZ #12734]
54979 * resolv/resolv.h: Define RES_NOTLDQUERY.
54980 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54981 no-tld-query and set RES_NOTLDQUERY.
54982 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54983 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54984 modern BIND to search name as TLD unless forbidden.
54985
47c3cd7a
UD
549862011-05-07 Petr Baudis <pasky@suse.cz>
54987 Ulrich Drepper <drepper@gmail.com>
54988
54989 [BZ #12393]
54990 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54991 (is_trusted_path): ...to here.
c1e9ea35 54992 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54993 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54994 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54995
8a35c912
PP
549962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54997
54998 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54999 __BEGIN/__END_DECLS.
55000
acd41f47
UD
550012011-05-06 Ulrich Drepper <drepper@gmail.com>
55002
55003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55004 NSS_STATUS_NOTFOUND if no record was found.
55005
597df647
AS
550062011-05-05 Andreas Schwab <schwab@redhat.com>
55007
55008 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55009 (headers-not-in-tirpc): Remove rpc/netdb.h
55010 * resolv/netdb.h: Revert last change.
55011
b9af1301
PP
550122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55013
55014 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55015 circular dependency between libgcc.a and libc.a.
55016
4e34d5f5
AS
550172011-05-05 Andreas Schwab <schwab@redhat.com>
55018
55019 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55020 * nis/Makefile: Don't install rpcsvc/*.
55021 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55022 instead of <rpc/types.h>.
55023 (MAXHOSTNAMELEN): Define.
55024
00ee369c
AS
550252011-05-03 Andreas Schwab <schwab@redhat.com>
55026
55027 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55028
0b592a30
MB
550292011-04-28 Maciej Babinski <mbabinski@google.com>
55030
55031 [BZ #12714]
55032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55033 gethostbyname4_r when IPv6 results are possible.
55034
6e04cbbe
UD
550352011-05-02 Ulrich Drepper <drepper@gmail.com>
55036
55037 [BZ #12723]
55038 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55039 _PC_PIPE_BUF handling.
55040
e4ecafe0
BH
550412011-04-30 Bruno Haible <bruno@clisp.org>
55042
55043 [BZ #12717]
55044 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55045 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55046 to 'int'.
55047 * inet/getnameinfo.c (getnameinfo): Likewise.
55048
125ee683
UD
550492011-04-29 Ulrich Drepper <drepper@gmail.com>
55050
55051 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55052 to groups setting in database lookup.
55053 * nss/nsswitch.conf: Add initgroups entry.
55054
b722481a
EB
550552011-04-22 Ulrich Drepper <drepper@gmail.com>
55056
55057 [BZ #12685]
55058 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55059 mode string.
55060 Patch by Eric Blake <eblake@redhat.com>.
55061
4df46dbd
L
550622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55063
55064 * sunrpc/Makefile (need-export-routines): Add svc_run.
55065 (routines): Remove svc_run.
55066 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55067 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55068 * sunrpc/svc_run.c (svc_run): Likewise.
55069 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55070
e84142d2
UD
550712011-04-21 Ulrich Drepper <drepper@gmail.com>
55072
55073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55074 problem in reallocation in last patch.
55075
877175d8
UD
550762011-04-20 Ulrich Drepper <drepper@gmail.com>
55077
55078 * sunrpc/Makefile: Move inclusion of Rules.
55079
ab8eed78
UD
550802011-04-19 Ulrich Drepper <drepper@gmail.com>
55081
55082 * nss/nss_files/files-initgroups.c: New file.
55083 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55084 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55085 _nss_files_initgroups_dyn.
55086
e3d8f584
RS
550872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55088
55089 * elf/elf.h (R_ARM_IRELATIVE): Define.
55090
af190f45
UD
550912011-04-19 Ulrich Drepper <drepper@gmail.com>
55092
55093 * po/ru.po: Update from translation team.
55094
53cf59ef
UD
550952011-04-17 Ulrich Drepper <drepper@gmail.com>
55096
55097 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55098 dependencies.
55099
4c559bcd
MF
551002011-02-06 Mike Frysinger <vapier@gentoo.org>
55101
55102 [BZ #12653]
55103 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55104 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55106 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55108
4420675c
AS
551092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55110
55111 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55112 differing bytes.
55113 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55114 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55116
75ea32ab
UD
551172011-04-17 Ulrich Drepper <drepper@gmail.com>
55118
55119 [BZ #12420]
55120 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55121 storing it.
55122 * stdlib/bug-getcontext.c: New file.
55123 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55124
27390476
AK
551252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55126
55127 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55128 instructions into .machine "z9-109".
55129 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55130 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55131
10442705
AK
551322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55133
55134 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55135 between environment variables and auxiliary vector.
55136
7b57bfe5
UD
551372011-04-16 Ulrich Drepper <drepper@gmail.com>
55138
55139 * Makefile: Add rules to build linkobj/libc.so.
55140 * include/libc-symbols.h: Define libc_hidden_nolink.
55141 * include/rpc/auth.h: Mark functions which are to be hidden.
55142 * include/rpc/auth_des.h: Likewise.
55143 * include/rpc/auth_unix.h: Likewise.
55144 * include/rpc/clnt.h: Likewise.
55145 * include/rpc/des_crypt.h: Likewise.
55146 * include/rpc/key_prot.h: Likewise.
55147 * include/rpc/pmap_clnt.h: Likewise.
55148 * include/rpc/pmap_prot.h: Likewise.
55149 * include/rpc/pmap_rmt.h: Likewise.
55150 * include/rpc/rpc_msg.h: Likewise.
55151 * include/rpc/svc.h: Likewise.
55152 * include/rpc/svc_auth.h: Likewise.
55153 * include/rpc/xdr.h: Likewise.
55154 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55155 * nss/Makefile: Likewise.
55156 * sunrpc/Makefile: Don't install headers. Build library with normal
55157 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55158 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55159 for the compat linking library. Remove use of INTDEF/INTUSE.
55160 * sunrpc/auth_none.c: Likewise.
55161 * sunrpc/auth_unix.c: Likewise.
55162 * sunrpc/authdes_prot.c: Likewise.
55163 * sunrpc/authuxprot.c: Likewise.
55164 * sunrpc/clnt_gen.c: Likewise.
55165 * sunrpc/clnt_perr.c: Likewise.
55166 * sunrpc/clnt_raw.c: Likewise.
55167 * sunrpc/clnt_simp.c: Likewise.
55168 * sunrpc/clnt_tcp.c: Likewise.
55169 * sunrpc/clnt_udp.c: Likewise.
55170 * sunrpc/clnt_unix.c: Likewise.
55171 * sunrpc/des_crypt.c: Likewise.
55172 * sunrpc/des_soft.c: Likewise.
55173 * sunrpc/get_myaddr.c: Likewise.
55174 * sunrpc/key_call.c: Likewise.
55175 * sunrpc/key_prot.c: Likewise.
55176 * sunrpc/netname.c: Likewise.
55177 * sunrpc/pm_getmaps.c: Likewise.
55178 * sunrpc/pm_getport.c: Likewise.
55179 * sunrpc/pmap_clnt.c: Likewise.
55180 * sunrpc/pmap_prot.c: Likewise.
55181 * sunrpc/pmap_prot2.c: Likewise.
55182 * sunrpc/pmap_rmt.c: Likewise.
55183 * sunrpc/publickey.c: Likewise.
55184 * sunrpc/rpc_cmsg.c: Likewise.
55185 * sunrpc/rpc_common.c: Likewise.
55186 * sunrpc/rpc_dtable.c: Likewise.
55187 * sunrpc/rpc_prot.c: Likewise.
55188 * sunrpc/rpc_thread.c: Likewise.
55189 * sunrpc/rtime.c: Likewise.
55190 * sunrpc/svc.c: Likewise.
55191 * sunrpc/svc_auth.c: Likewise.
55192 * sunrpc/svc_authux.c: Likewise.
55193 * sunrpc/svc_raw.c: Likewise.
55194 * sunrpc/svc_run.c: Likewise.
55195 * sunrpc/svc_simple.c: Likewise.
55196 * sunrpc/svc_tcp.c: Likewise.
55197 * sunrpc/svc_udp.c: Likewise.
55198 * sunrpc/svc_unix.c: Likewise.
55199 * sunrpc/svcauth_des.c: Likewise.
55200 * sunrpc/xcrypt.c: Likewise.
55201 * sunrpc/xdr.c: Likewise.
55202 * sunrpc/xdr_array.c: Likewise.
55203 * sunrpc/xdr_float.c: Likewise.
55204 * sunrpc/xdr_intXX_t.c: Likewise.
55205 * sunrpc/xdr_mem.c: Likewise.
55206 * sunrpc/xdr_rec.c: Likewise.
55207 * sunrpc/xdr_ref.c: Likewise.
55208 * sunrpc/xdr_sizeof.c: Likewise.
55209 * sunrpc/xdr_stdio.c: Likewise.
55210
e6c61494
UD
552112011-04-10 Ulrich Drepper <drepper@gmail.com>
55212
55213 [BZ #12650]
55214 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55215 * sysdeps/ia64/dl-tls.h: Likewise.
55216 * sysdeps/powerpc/dl-tls.h: Likewise.
55217 * sysdeps/s390/dl-tls.h: Likewise.
55218 * sysdeps/sh/dl-tls.h: Likewise.
55219 * sysdeps/sparc/dl-tls.h: Likewise.
55220 * sysdeps/x86_64/dl-tls.h: Likewise.
55221 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55222
34fe483e
AS
552232011-03-14 Andreas Schwab <schwab@redhat.com>
55224
55225 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55226 rpath element also skip the following colon.
55227 (expand_dynamic_string_token): Add is_path parameter and pass
55228 down to DL_DST_REQUIRED and _dl_dst_substitute.
55229 (decompose_rpath): Call expand_dynamic_string_token with
55230 non-zero is_path. Ignore empty rpaths.
55231 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55232 with zero is_path.
55233
f12a32e6
AS
552342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55235
55236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55237 Make cancelable.
55238
38a7d692
UD
552392011-04-09 Ulrich Drepper <drepper@gmail.com>
55240
55241 [BZ #12655]
55242 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55243 Patch by Filipe David Manana <fdmanana@apache.org>.
55244
e451d22b
AS
552452011-04-07 Andreas Schwab <schwab@redhat.com>
55246
55247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55248 Maintain aligned stack.
55249 (CHECK_RSP): Remove unused macro.
55250
dedc7c7b
UD
552512011-04-03 Ulrich Drepper <drepper@gmail.com>
55252
55253 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55254 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55255
94521213
UD
552562011-04-02 Ulrich Drepper <drepper@gmail.com>
55257
55258 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55259
8cb700c0 55260 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55261
0354e355
L
552622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55263
55264 [BZ #12518]
55265 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55266 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55267 * sysdeps/x86_64/memmove.c: New file.
55268 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55269 (memcpy): Renamed to ...
55270 (__new_memcpy): This.
55271 (memcpy): Provide GLIBC_2_14 memcpy.
55272 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55273 (memcpy): Provide GLIBC_2_2_5 memcpy.
55274
8593482f
UD
552752011-04-01 Ulrich Drepper <drepper@gmail.com>
55276
55277 [BZ #12631]
55278 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55279
81a5726b
AS
552802011-03-30 Andreas Schwab <schwab@redhat.com>
55281
55282 * misc/syncfs.c: New file.
55283 * misc/Makefile (routines): Add syncfs.
55284 * posix/unistd.h: Declare syncfs.
55285 * sysdeps/unix/syscalls.list: Add syncfs.
55286
00e5419f
AS
552872011-04-01 Andreas Schwab <schwab@redhat.com>
55288
55289 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55290 open_by_handle_at.
55291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55296 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55298
748876bf
UD
552992011-04-01 Ulrich Drepper <drepper@gmail.com>
55300
658e451d
UD
55301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55308
748876bf
UD
55309 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55310 sync_file_range.c with -fexceptions.
55311 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55312 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55313 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55314 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55315 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55316 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55318 sync_file_range as cancellation point
55319 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55320 now a wrapper around __call_sync_file_range with cancellation handling.
55321 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55322 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55323 function name to __call_sync_file_range.
55324 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55325 Add call_sync_file_range.
748876bf 55326
6e63d5e1
AS
553272011-04-01 Andreas Schwab <schwab@redhat.com>
55328
55329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55330 bits/timex.h.
6e63d5e1 55331
46998f74
UD
553322011-04-01 Ulrich Drepper <drepper@gmail.com>
55333
4c1423ed
UD
55334 * iconv/iconv.h: Fix typo in comment.
55335 * io/fcntl.h: Likewise.
55336 * libio/stdio.h: Likewise.
55337 * posix/spawn.h: Likewise.
55338 * posix/unistd.h: Likewise.
55339 * stdlib/stdlib.h: Likewise.
55340 * time/time.h: Likewise.
55341 * wcsmbs/wchar.h: Likewise.
55342
158648c0
UD
55343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55344 open_by_handle): Add.
55345 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55346 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55347 Augment a few comments.
55348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55353 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55354 open_by_handle.
55355
46998f74
UD
55356 * io/fcntl.h (AT_EMPTY_PATH): Define.
55357
83fe108b
UD
553582011-03-30 Ulrich Drepper <drepper@gmail.com>
55359
55360 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55361 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55362 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55363 to...
55364 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55365 * Versions.def: Add GLIBC_2.14.
55366 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55367 Export.
83fe108b 55368
bb242059
UD
553692011-03-22 Ulrich Drepper <drepper@gmail.com>
55370
55371 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55372 round counter.
55373 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55374
c97a1282
L
553752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55376
55377 [BZ #12597]
55378 * string/test-strncmp.c (do_page_test): New function.
55379 (check2): Likewise.
55380 (test_main): Call check2.
55381 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55382
2a115601
UD
553832011-03-20 Ulrich Drepper <drepper@gmail.com>
55384
55385 [BZ #12587]
55386 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55387 Handle cache information in CPU leaf 4.
55388 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55389
8126d904
UD
553902011-03-18 Ulrich Drepper <drepper@gmail.com>
55391
042c49c6 55392 [BZ #12583]
8126d904
UD
55393 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55394 character representation.
55395 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55396
ccfe366e
RA
553972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55398
55399 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55400 END(__isnan) to END(__isnanf) to match function entry point/label
55401 EALIGN(__isnanf,...).
55402
c6e13027
JJ
554032011-03-10 Jakub Jelinek <jakub@redhat.com>
55404
55405 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55406
33f85a3f
UD
554072011-03-10 Ulrich Drepper <drepper@gmail.com>
55408
028478fa
UD
55409 [BZ #12510]
55410 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55411 copy from the symbol referenced in the relocation to initialize the
55412 used variable.
55413 Patch by Piotr Bury <pbury@goahead.com>.
55414 * elf/Makefile: Add rules to build and tst-unique3.
55415 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55416 * elf/tst-unique3.cc: New file.
55417 * elf/tst-unique3.h: New file.
55418 * elf/tst-unique3lib.cc: New file.
55419 * elf/tst-unique3lib2.cc: New file.
55420
33f85a3f
UD
55421 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55422
03592fc7
MF
554232011-03-10 Mike Frysinger <vapier@gentoo.org>
55424
55425 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55426 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55427 to _start.
03592fc7 55428
6a5ee102
UD
554292011-03-06 Ulrich Drepper <drepper@gmail.com>
55430
55431 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55432 to-be-loaded object along a path to loader is ld.so.
55433
7e4ba49c
HJ
554342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55435 Ulrich Drepper <drepper@gmail.com>
55436
55437 * sysdeps/x86_64/memset.S: After aligning destination, code
55438 branches to different locations depending on the value of
55439 misalignment, when multiarch is enabled. Fix this.
55440
554412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55442
55443 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55444 Set _x86_64_preferred_memory_instruction for AMD processsors.
55445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55446 Set bit_Prefer_SSE_for_memop for AMD processors.
55447
13a804de
UD
554482011-03-04 Ulrich Drepper <drepper@gmail.com>
55449
55450 * libio/fmemopen.c (fmemopen): Optimize a bit.
55451
9d25c392
AS
554522011-03-03 Andreas Schwab <schwab@redhat.com>
55453
55454 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55455
a5543c6a
RM
554562011-03-03 Roland McGrath <roland@redhat.com>
55457
55458 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55459
012d35f7
DM
554602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55461
7e4ba49c 55462 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55463 __bzero_ultra1 instead of __memset_ultra1.
55464
4bff6e01
AS
554652011-02-23 Andreas Schwab <schwab@redhat.com>
55466 Ulrich Drepper <drepper@gmail.com>
55467
55468 [BZ #12509]
55469 * include/link.h (struct link_map): Add l_orig_initfini.
55470 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55471 returning unsuccessfully.
55472 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55473 close of a file loaded at startup, restore the original l_initfini
55474 list.
55475 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55476 list, store the pointer.
55477 * elf/Makefile ($(objpfx)noload-mem): New rule.
55478 (noload-ENV): Define.
55479 (tests): Add $(objpfx)noload-mem.
55480 * elf/noload.c: Include <memcheck.h>.
55481 (main): Call mtrace. Close all opened handles.
55482
f2092faf
AS
554832011-02-17 Andreas Schwab <schwab@redhat.com>
55484
55485 [BZ #12454]
55486 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55487 dependencies are missing.
55488
6c8a2e88
ST
554892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55490
f2092faf 55491 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55492 Hurd needs munmap.
55493 * sysdeps/mach/hurd/ifreq.h: New file.
55494
84a42118
PB
554952011-01-27 Petr Baudis <pasky@suse.cz>
55496 Ulrich Drepper <drepper@gmail.com>
55497
071f805e 55498 [BZ 12445]#
84a42118
PB
55499 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55500 to extend_alloca().
55501 * stdio-common/bug23.c: New file.
55502 * stdio-common/Makefile (tests): Add bug23.
55503
e23fe25b
AS
555042010-09-28 Andreas Schwab <schwab@redhat.com>
55505 Ulrich Drepper <drepper@gmail.com>
55506
55507 [BZ #12489]
55508 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55509 before performing relro protection. At old place add assertion
55510 to make sure nothing changed.
55511
d3f02e10
NS
555122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55513 Glauber de Oliveira Costa <glommer@gmail.com>
55514
55515 * elf/elf.h: Add new ARM TLS relocs.
55516
d55fd7a5
RA
555172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55518
55519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55520 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55521 cast from r3.
55522 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55523 'tests' variable.
55524 * sysdeps/wordsize-64/tst-writev.c: New file.
55525
2206397e
RA
555262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55527
55528 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55529 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55530 insns in _dl_start to prevent a TOC reference before relocs are
55531 resolved.
55532
e9433893
UD
555332011-02-15 Ulrich Drepper <drepper@gmail.com>
55534
55535 [BZ #12469]
55536 * Makeconfig: Remove RANLIB definition.
55537 * Makerules: Don't use RANLIB.
55538 * aclocal.m4: Remove ranlib test.
55539 * configure.in: No need to check for ranlib.
55540 * elf/rtld-Rules: Don't use RANLIB.
55541
f75286c6
ST
555422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55543
8e31c82d
ST
55544 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55545 protection macro.
55546 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55547 inclusion protection macro.
55548
f75286c6
ST
55549 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55550 SIGRTMIN and SIGRTMAX and print information in that case only when
55551 SIGRTMIN is defined.
55552
c1d0e639
JJ
555532011-02-11 Jakub Jelinek <jakub@redhat.com>
55554
55555 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55556 arginfo fn returning -1.
55557
55558 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55559 and thousands string is zero terminated.
55560
edf9294e
AS
555612011-02-03 Andreas Schwab <schwab@redhat.com>
55562
55563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55564 sysdeps/unix/sysv/linux/bits/socket.h.
55565
2b7e92df
ST
555662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55567
edf9294e
AS
55568 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55569 (__CPU_COUNT): Remove old macros.
55570 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55571 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55572 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55573 (__sched_cpualloc, __sched_cpufree): Add declarations.
55574
a4c7ea7b
UD
555752011-02-05 Ulrich Drepper <drepper@gmail.com>
55576
55577 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55578 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55579 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55580 (readdhstai): Return value of addhstaiX call.
55581 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55582 (addgrbyX): Return value returned by cache_addgr.
55583 (readdgrbyname): Return value returned by addgrbyX.
55584 (readdgrbygid): Likewise.
55585 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55586 (addpwbyX): Return value returned by cache_addpw.
55587 (readdpwbyname): Return value returned by addhstbyX.
55588 (readdpwbyuid): Likewise.
55589 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55590 (addservbyX): Return value returned by cache_addserv.
55591 (readdservbyname): Return value returned by addservbyX:
55592 (readdservbyport): Likewise.
55593 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55594 (addhstbyX): Return value returned by cache_addhst.
55595 (readdhstbyname): Return value returned by addhstbyX.
55596 (readdhstbyaddr): Likewise.
55597 (readdhstbynamev6): Likewise.
55598 (readdhstbyaddrv6): Likewise.
55599 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55600 (readdinitgroups): Return value returned by addinitgroupsX.
55601 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55602 (prune_cache): Keep track of timeout value of re-added entries.
55603 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55604 * nscd/nscd.h: Adjust prototypes of readd* functions.
55605
a0bf67cc
RM
556062011-02-04 Roland McGrath <roland@redhat.com>
55607
55608 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55609 (nis_stats): Likewise.
55610 * nis/nis_modify.c (nis_modify): Likewise.
55611 * nis/nis_remove.c (nis_remove): Likewise.
55612 * nis/nis_add.c (nis_add): Likewise.
55613
55614 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55615
55616 * posix/fnmatch_loop.c: Add some consts.
55617
55618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55619
435b95eb
L
556202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55621
55622 [BZ #12460]
55623 * config.make.in (config-cflags-novzeroupper): Define.
55624 * configure.in: Substitute libc_cv_cc_novzeroupper.
55625 * elf/Makefile (AVX-CFLAGS): Define.
55626 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55627 (CFLAGS-tst-auditmod4a.c): Likewise.
55628 (CFLAGS-tst-auditmod4b.c): Likewise.
55629 (CFLAGS-tst-auditmod6b.c): Likewise.
55630 (CFLAGS-tst-auditmod6c.c): Likewise.
55631 (CFLAGS-tst-auditmod7b.c): Likewise.
55632 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55633
8517b15e
UD
556342011-02-02 Ulrich Drepper <drepper@gmail.com>
55635
55636 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55637 function to the callback.
55638 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55639
10a656fe
AS
556402011-02-02 Andreas Schwab <schwab@redhat.com>
55641
55642 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55643 of errno.
55644
968dad0a
UD
556452011-01-19 Ulrich Drepper <drepper@gmail.com>
55646
9f94d2ea 55647 [BZ #11724]
968dad0a
UD
55648 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55649 of constructors.
55650 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55651 of destructors.
55652 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55653
55654 [BZ #11724]
55655 * elf/Makefile: Add rules to build and run new test.
55656 * elf/tst-initorder.c: New file.
55657 * elf/tst-initorder.exp: New file.
55658 * elf/tst-initordera1.c: New file.
55659 * elf/tst-initordera2.c: New file.
55660 * elf/tst-initordera3.c: New file.
55661 * elf/tst-initordera4.c: New file.
55662 * elf/tst-initorderb1.c: New file.
55663 * elf/tst-initorderb2.c: New file.
55664 * elf/tst-order-a1.c: New file.
55665 * elf/tst-order-a2.c: New file.
55666 * elf/tst-order-a3.c: New file.
55667 * elf/tst-order-a4.c: New file.
55668 * elf/tst-order-b1.c: New file.
55669 * elf/tst-order-b2.c: New file.
55670 * elf/tst-order-main.c: New file.
55671 New test case by George Gensure <werkt0@gmail.com>.
55672
86e92359
UD
556732010-10-01 Andreas Schwab <schwab@redhat.com>
55674
55675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55676 decoding ACE if AI_CANONIDN.
55677
5d5732b0
UD
556782011-01-18 Ulrich Drepper <drepper@gmail.com>
55679
55680 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55681
a77e8cbc
UD
556822011-01-17 Ulrich Drepper <drepper@gmail.com>
55683
6392473f
UD
55684 * version.h (RELEASE): Bump for 2.13 release.
55685 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55686
620a0529
UD
55687 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55688
18ba70a5
UD
55689 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55690 MADV_NOHUGEPAGE.
32465c3e
UD
55691 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55693 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55694 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55696 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55697
c0dafcf1
UD
55698 * posix/getconf.c: Update copyright year.
55699 * catgets/gencat.c: Likewise.
55700 * csu/version.c: Likewise.
55701 * debug/catchsegv.sh: Likewise.
55702 * debug/xtrace.sh: Likewise.
55703 * elf/ldconfig.c: Likewise.
55704 * elf/ldd.bash.in: Likewise.
55705 * elf/sprof.c (print_version): Likewise.
55706 * iconv/iconv_prog.c: Likewise.
55707 * iconv/iconvconfig.c: Likewise.
55708 * locale/programs/locale.c: Likewise.
55709 * locale/programs/localedef.c: Likewise.
55710 * malloc/memusage.sh: Likewise.
55711 * malloc/mtrace.pl: Likewise.
55712 * nscd/nscd.c (print_version): Likewise.
55713 * nss/getent.c: Likewise.
55714
a77e8cbc
UD
55715 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55716 PF_CAIF, and PF_ALG.
55717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55718
77e8bddf
AS
557192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55720
1f20b93a
AS
55721 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55722 (modules-names): Use them.
55723 (ifunc-test-modules, ifunc-pie-tests): Define.
55724 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55725 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55726 (test-extras): Likewise.
55727 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55728 $(compile-command.c).
55729 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55730 (all-built-dso): Define.
55731 (check-textrel.out, check-execstack.out): Depend on it.
55732
77e8bddf
AS
55733 * configure.in: Don't override --enable-multi-arch.
55734
bc425b33
UD
557352011-01-15 Ulrich Drepper <drepper@gmail.com>
55736
55737 [BZ #6812]
55738 * nscd/hstcache.c (tryagain): Define.
55739 (cache_addhst): Return tryagain not notfound for temporary errors.
55740 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55741 failed.
55742
794c3ad3
UD
557432011-01-14 Ulrich Drepper <drepper@gmail.com>
55744
70181fdd
UD
55745 [BZ #10563]
55746 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55747 to make the syscall.
55748 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55749
794c3ad3
UD
55750 [BZ #12378]
55751 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55752 and fall back to matching as normal character if the string ends before
55753 the matching ']' is found. This is what POSIX requires.
55754 * posix/testfnm.c: Adjust test result.
55755 * posix/globtest.sh: Adjust test result. Add new test.
55756 * posix/tst-fnmatch.input: Likewise.
55757 * posix/tst-fnmatch2.c: Add new test.
55758
68dc9497
AS
557592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55760
55761 * elf/Makefile (check-execstack): Revert last change. Depend on
55762 check-execstack.h.
55763 (check-execstack.h): New target.
55764 (generated): Add check-execstack.h.
55765 * elf/check-execstack.c: Include "check-execstack.h".
55766 (main): Revert last change.
55767 (handle_file): Return zero if GNU_STACK is absent and
55768 DEFAULT_STACK_PERMS doesn't include PF_X.
55769
451f001b
UD
557702011-01-13 Ulrich Drepper <drepper@gmail.com>
55771
cfa28e56
UD
55772 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55773 in child fails because the descriptor is already closed.
8cf8ce17
UD
55774 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55775 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55776 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55777
1086d70d
UD
55778 [BZ #12397]
55779 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55780 syscall.
55781
451f001b
UD
55782 [BZ #10484]
55783 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55784 temporary buffer used to handle multi lookups locally.
a85b5cb4 55785 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55786
08769175
UD
557872011-01-12 Ulrich Drepper <drepper@gmail.com>
55788
55789 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55790 loader is ld.so.
55791
5e49c52e
UD
557922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55793
55794 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55795 alignment for SSE2.
55796
60522a5f
UD
557972011-01-12 Ulrich Drepper <drepper@gmail.com>
55798
55799 [BZ #12394]
55800 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55801 characters. When rounding increased number of integer digits recompute
55802 number of groups.
55803 * stdio-common/tst-grouping.c: New file.
55804 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55805
f257bbd7
UD
558062011-01-09 Ulrich Drepper <drepper@gmail.com>
55807
55808 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55809 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55810
55811 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55812 void.
55813 * bits/select.h: Likewise.
55814
fa9c15cb
UD
558152011-01-08 Ulrich Drepper <drepper@gmail.com>
55816
55817 * po/ja.po: Update from translation team.
55818
16c2895f
DM
558192011-01-04 David S. Miller <davem@sunset.davemloft.net>
55820
55821 [BZ #11155]
55822 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55823 implementation just like for lxstat, fxstatat, et al.
55824
2543fef2
JM
558252010-12-27 Jim Meyering <meyering@redhat.com>
55826
55827 [BZ #12348]
55828 * posix/regexec.c (build_trtable): Return failure indication upon
55829 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55830
98727dbe
UD
558312010-12-25 Ulrich Drepper <drepper@gmail.com>
55832
5bd6dc5c
UD
55833 [BZ #12201]
55834 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55835 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55836 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55838
97983464
UD
55839 [BZ #12207]
55840 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55841
98727dbe
UD
55842 [BZ #12204]
55843 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55844 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55845
4a531bb0
L
558462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55847
55848 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55849 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55850 script has SORT_BY_INIT_PRIORITY.
55851 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55852 NO_CTORS_DTORS_SECTIONS is defined.
55853 * elf/soinit.c: Likewise.
55854 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55855 NO_CTORS_DTORS_SECTIONS is defined.
55856 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55857 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55858 * sysdeps/sh/init-first.c: Likewise.
55859 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55860
07eb4b71
UD
558612010-12-24 Ulrich Drepper <drepper@gmail.com>
55862
55863 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55864 always use the slow path.
55865
30950a5f
RA
558662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55867
55868 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55869 similar rule which adds the sysdep directories to the header search in
55870 order to pick up the correct platform stackinfo.h.
55871 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55872 perform test if it is, otherwise return successfully without testing.
55873 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55874 DEFAULT_STACK_PERMS define in stackinfo.h.
55875 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55876 defined in stackinfo.h.
55877 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55878 DEFAULT_STACK_PERMS defined in stackinfo.h.
55879 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55880 * sysdeps/ia64/stackinfo.h: Likewise.
55881 * sysdeps/s390/stackinfo.h: Likewise.
55882 * sysdeps/sh/stackinfo.h: Likewise.
55883 * sysdeps/sparc/stackinfo.h: Likewise.
55884 * sysdeps/x86_64/stackinfo.h: Likewise.
55885 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55886 PF_X for powerpc64. Retain PF_X for powerpc32.
55887
db753e2c
UD
558882010-12-19 Ulrich Drepper <drepper@gmail.com>
55889
14b697f7
UD
55890 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55891 accurately.
db753e2c
UD
55892 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55893 GETDENTS_64BIT_ALIGNED.
55894
28300719
UD
558952010-12-14 Ulrich Drepper <dreper@gmail.com>
55896
14b697f7 55897 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55898
4f197237
AS
558992010-12-10 Andreas Schwab <schwab@redhat.com>
55900
dbb0472f
AS
55901 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55902 _GNU_SOURCE.
55903
4f197237
AS
55904 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55905 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55906 Remove __restrict.
55907 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55908 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55909
fb88ac72
UD
559102010-12-09 Ulrich Drepper <drepper@gmail.com>
55911
55912 [BZ #11655]
55913 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55914 are initialized.
55915
42acbb92
JJ
559162010-12-09 Jakub Jelinek <jakub@redhat.com>
55917
55918 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55919
c038d98d
UD
559202010-12-03 Ulrich Drepper <drepper@gmail.com>
55921
55922 * po/it.po: Update from translation team.
55923
3a4a2499
L
559242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55925
55926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55927 unused codes.
55928
1e24cf6e
UD
559292010-11-30 Ulrich Drepper <drepper@gmail.com>
55930
55931 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55932
a7690819
AS
559332010-11-24 Andreas Schwab <schwab@redhat.com>
55934
55935 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55936 specially.
55937 (gaih_getanswer_slice): Likewise.
55938
3bf8d1b1
JJ
559392010-10-20 Jakub Jelinek <jakub@redhat.com>
55940
55941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55942
6db52fbb
PB
559432010-05-31 Petr Baudis <pasky@suse.cz>
55944
55945 [BZ #11149]
55946 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55947 silently even in the chroot mode.
55948
eaca7569
UD
559492010-11-22 Ulrich Drepper <drepper@gmail.com>
55950
55951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55952 last patch a bit. Pretty printing
55953
3056dcdb
UD
559542010-05-31 Petr Baudis <pasky@suse.cz>
55955
55956 [BZ #10085]
55957 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55958 initialization of skip_initgroups_dyn.
55959
cf7c9078
UD
559602010-11-19 Ulrich Drepper <drepper@gmail.com>
55961
55962 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55964
a1fb5e3e
UD
559652010-11-16 Ulrich Drepper <drepper@gmail.com>
55966
55967 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55968
3540d66b
AS
559692010-11-11 Andreas Schwab <schwab@redhat.com>
55970
55971 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55972 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55973 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55974 ($(objpfx)tst-fnmatch-mem): New rule.
55975 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55976 * posix/tst-fnmatch.c (main): Call mtrace.
55977
13b69574
L
559782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55979
55980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55981 Support Intel processor model 6 and model 0x2c.
55982
da93d214
LM
559832010-11-10 Luis Machado <luisgpm@br.ibm.com>
55984
55985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55986 signed comparison.
55987
8ca52c6e
L
559882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55989
55990 [BZ #12205]
55991 * string/test-strncasecmp.c (check_result): New function.
55992 (do_one_test): Use it.
55993 (check1): New function.
55994 (test_main): Use it.
55995 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55996 Support strcasecmp and strncasecmp.
55997
69da074d
UD
559982010-11-08 Ulrich Drepper <drepper@gmail.com>
55999
56000 [BZ #12194]
56001 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56003
ff02d528
L
560042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56005
56006 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56007 IFUNC support.
56008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56009 memset-x86-64.
56010 * sysdeps/x86_64/multiarch/bzero.S: New file.
56011 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56012 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56013 * sysdeps/x86_64/multiarch/memset.S: New file.
56014 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56016 Set bit_Prefer_SSE_for_memop for Intel processors.
56017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56018 Define.
56019 (index_Prefer_SSE_for_memop): Define.
56020 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56021
344d0b54
LM
560222010-11-04 Luis Machado <luisgpm@br.ibm.com>
56023
56024 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56025 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56026
c0dde15b
UD
560272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56028
56029 [BZ #12191]
56030 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56031 (__x86_64_raw_data_cache_size_half): Likewise.
56032 (__x86_64_raw_shared_cache_size): Likewise.
56033 (__x86_64_raw_shared_cache_size_half): Likewise.
56034
56035 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56036 (__x86_64_raw_data_cache_size_half): Likewise.
56037 (__x86_64_raw_shared_cache_size): Likewise.
56038 (__x86_64_raw_shared_cache_size_half): Likewise.
56039 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56040 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56041 and __x86_64_raw_shared_cache_size_half. Round
56042 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56043 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56044 to multiple of 256 bytes.
56045
0e516e0e
MS
560462010-11-03 Ulrich Drepper <drepper@gmail.com>
56047
56048 [BZ #12167]
56049 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56050 of inacessible symlinks. Verify result of symlink before returning it.
56051 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56052 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56053
0e012e87
ER
560542010-10-28 Erich Ritz <erichritz@gmail.com>
56055
56056 * math/math.h (isinf): Fix typo in comment.
56057
de0ff7bc
UD
560582010-11-01 Ulrich Drepper <drepper@gmail.com>
56059
56060 * po/da.po: Update from translation team.
56061
fa41c84d
UD
560622010-10-26 Ulrich Drepper <drepper@gmail.com>
56063
56064 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56065 is added to the list.
56066
f0967738
AK
560672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56068 Ulrich Drepper <drepper@gmail.com>
56069
56070 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56071 the global list here. Move code to...
56072 (_dl_add_to_namespace_list): ...here. New function.
56073 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56074 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56075 * elf/dl-load.c (lose): Don't remove the element from the list.
56076 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56077 (_dl_map_object): Likewise.
56078
560792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56080
56081 [BZ #12159]
56082 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56083 into all bytes of SSE register.
56084 Patch by Richard Li <richardpku@gmail.com>.
56085
f0967738 560862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56087
56088 [BZ #12140]
56089 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56090 perturbing.
56091
d0b9e94f
MB
560922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56093
56094 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56095 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56099 submachine.
56100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56101
8e9f92e9
AS
561022010-10-22 Andreas Schwab <schwab@redhat.com>
56103
56104 * include/dlfcn.h (__RTLD_SECURE): Define.
56105 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56106 mode & __RTLD_SECURE instead.
56107 (open_path): Rename preloaded parameter to secure.
56108 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56109 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56110 * elf/dl-deps.c (openaux): Likewise.
56111 * elf/rtld.c (struct map_args): Remove is_preloaded.
56112 (map_doit): Don't use it.
56113 (dl_main): Likewise.
56114 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56115 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56116
bc96fbda
AS
561172010-09-09 Andreas Schwab <schwab@redhat.com>
56118
56119 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56120 (sysd-rules-targets): Remove duplicates.
56121 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56122 rtld-%.$o dependency.
56123
22cd1c9b
AS
561242010-10-18 Andreas Schwab <schwab@redhat.com>
56125
56126 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56127 _dl_map_object do it.
56128
18edac48
UD
561292010-10-19 Ulrich Drepper <drepper@gmail.com>
56130
56131 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56132 fast fma builtins, define the macros in the C99 standard.
56133 (FP_FAST_FMAF): Likewise.
56134 (FP_FAST_FMAL): Likewise.
56135 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56136
56137 * bits/mathdef.h: Update copyright year.
56138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56139
d2050124
MM
561402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56141
56142 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56143 builtins, define the macros in the C99 standard.
56144 (FP_FAST_FMAF): Likewise.
56145 (FP_FAST_FMAL): Likewise.
56146 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56147 multiply/add.
56148 (FP_FAST_FMAF): Likewise.
56149
475facd1
JJ
561502010-10-15 Jakub Jelinek <jakub@redhat.com>
56151
56152 [BZ #3268]
56153 * math/libm-test.inc (fma_test): Some new testcases.
56154 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56156 y and infinite z. Do multiplication by C already in long double.
56157 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56159 y and infinite z. Do bitwise or of inexact bit into u.d.
56160 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56161 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56162 * sysdeps/i386/fpu/s_fma.S: Removed.
56163 * sysdeps/i386/fpu/s_fmal.S: Removed.
56164
7c08a05c
JJ
561652010-10-16 Jakub Jelinek <jakub@redhat.com>
56166
56167 [BZ #3268]
56168 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56170 computation is not scheduled after fetestexcept. Fix value
56171 of minimum denormal long double.
56172
f3f7372d
JJ
561732010-10-14 Jakub Jelinek <jakub@redhat.com>
56174
56175 [BZ #3268]
56176 * math/libm-test.inc (fma_test): Add some more tests.
56177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56178 correctly.
56179
14d43591
AS
561802010-10-15 Andreas Schwab <schwab@redhat.com>
56181
56182 * scripts/data/localplt-s390-linux-gnu.data: New file.
56183 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56184
5e908464
JJ
561852010-10-13 Jakub Jelinek <jakub@redhat.com>
56186
56187 [BZ #3268]
56188 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56189 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56190 instead of dbl-64.
56191 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56192 inlines.
56193 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56195 if one of x and y is very large and the other is subnormal.
56196 * sysdeps/s390/fpu/s_fmaf.c: New file.
56197 * sysdeps/s390/fpu/s_fma.c: New file.
56198 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56199 * sysdeps/powerpc/fpu/s_fma.S: New file.
56200 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56201 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56202 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56203
562042010-10-12 Jakub Jelinek <jakub@redhat.com>
56205
56206 [BZ #3268]
56207 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56208 fma tests.
56209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56210 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56211 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56212 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56213 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56214 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56215 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56216
b833d51f
UD
562172010-10-12 Ulrich Drepper <drepper@redhat.com>
56218
56219 [BZ #12078]
56220 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56221 * posix/bug-regex31.input: Add test case.
56222
1751705d
UD
562232010-10-11 Ulrich Drepper <drepper@gmail.com>
56224
e9b9cbf5
UD
56225 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56226 * posix/bug-regex31.input: New file.
56227
56228 [BZ #12078]
56229 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56230 (parse_sub_exp): Fix last change, use postorder.
56231
ef06edbe
UD
56232 * posix/bug-regex31.c: New file.
56233 * posix/Makefile: Add rules to build and run bug-regex31.
56234
a129c80d
UD
56235 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56236
56237 [BZ #12078]
56238 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56239
b76b818e
UD
56240 [BZ #12108]
56241 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56242 to have entries in sys_siglist.
56243
1751705d
UD
56244 [BZ #12093]
56245 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56246 be NULL.
56247
9ff8d36f
JJ
562482010-10-07 Jakub Jelinek <jakub@redhat.com>
56249
56250 [BZ #3268]
56251 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56252 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56253 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56254 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56255 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56256 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56257 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56258 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56259 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56260 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56261 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56262 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56263 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56264 * math/ftestexcept.c (fetestexcept): Likewise.
56265 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56266 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56267 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56268 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56269 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56270 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56271 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56272
af325969
UD
562732010-10-11 Ulrich Drepper <drepper@gmail.com>
56274
c579b202 56275 [BZ #12107]
af325969
UD
56276 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56277 newline.
56278
67a67b95
UD
562792010-10-06 Ulrich Drepper <drepper@gmail.com>
56280
56281 * string/bug-strstr1.c: New file.
56282 * string/Makefile: Add rules to build and run bug-strstr1.
56283
5fb308bc
EB
562842010-10-05 Eric Blake <eblake@redhat.com>
56285
56286 [BZ #12092]
56287 * string/str-two-way.h (two_way_long_needle): Always clear memory
56288 when skipping input due to the shift table.
56289
45db99c7
UD
562902010-10-03 Ulrich Drepper <drepper@gmail.com>
56291
3b111893
UD
56292 [BZ #12005]
56293 * malloc/mcheck.c: Handle large requests.
56294
45db99c7
UD
56295 [BZ #12077]
56296 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56297 for strncmp and strncasecmp.
56298 * string/stratcliff.c: Add tests for strcmp and strncmp.
56299 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56300
cf7a1eb8
NI
563012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56302
56303 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56304 __set_fpscr.
56305
6484ba5e
AJ
563062010-09-30 Andreas Jaeger <aj@suse.de>
56307
56308 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56309 (CGROUP_SUPER_MAGIC): Define.
56310 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56311 Handle btrfs and cgroup file systems.
56312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56313 Likewise.
56314
91c42559
LM
563152010-09-27 Luis Machado <luisgpm@br.ibm.com>
56316
56317 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56318 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56319
87a97932
AK
563202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56321
56322 [BZ #12067]
56323 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56324 trying to locate the ELF header.
56325
c21cc9bc
AS
563262010-09-27 Andreas Schwab <schwab@redhat.com>
56327
56328 [BZ #11611]
56329 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56330 Mask out sign-bit copies when constructing f_fsid.
56331
315970f6
PB
563322010-09-24 Petr Baudis <pasky@suse.cz>
56333
56334 * debug/stack_chk_fail_local.c: Add missing licence exception.
56335 * debug/warning-nop.c: Likewise.
56336
1ac7a2c7
JM
563372010-09-15 Joseph Myers <joseph@codesourcery.com>
56338
56339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56340 implementing getdents64 using getdents syscall, set d_type if
56341 __ASSUME_GETDENTS32_D_TYPE.
56342
56801c50
AS
563432010-09-16 Andreas Schwab <schwab@redhat.com>
56344
56345 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56346 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56347
dda51327
UD
563482010-09-21 Ulrich Drepper <drepper@redhat.com>
56349
56350 [BZ #12037]
56351 * posix/unistd.h: Undo change of feature selection for ftruncate from
56352 2010-01-11.
56353
8ffcee4a
UD
563542010-09-20 Ulrich Drepper <drepper@redhat.com>
56355
a545ecd9 56356 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56357 detection.
56358
e24f0a8b
AS
563592010-09-20 Andreas Schwab <schwab@redhat.com>
56360
56361 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56362 fanotify_mark.
56363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56364
7291c56f
AS
563652010-09-14 Andreas Schwab <schwab@redhat.com>
56366
56367 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56368 variables after CHECK_SP call.
56369 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56370
bc5fb037
AS
563712010-09-13 Andreas Schwab <schwab@redhat.com>
56372 Ulrich Drepper <drepper@redhat.com>
56373
56374 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56375 re-relocationg ld.so.
56376 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56377 _dl_init_paths call.
56378 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56379 here anymore.
56380
e66e7419
UD
563812010-09-14 Ulrich Drepper <drepper@redhat.com>
56382
56383 * resolv/res_init.c (__res_vinit): Count the default server we added.
56384
c044aa75
CLT
563852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56386 Ulrich Drepper <drepper@redhat.com>
56387
56388 [BZ #11968]
56389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56390 (____longjmp_chk): Use %ebx for saving value across system call.
56391 Add unwind info.
56392
32cf4069
AS
563932010-09-06 Andreas Schwab <schwab@redhat.com>
56394
56395 * manual/Makefile: Don't mix pattern rules with normal rules.
56396
817328ee
AS
563972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56398
56399 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56400 operation.
56401 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56402 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56403 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56404 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56406 Likewise.
56407
29fddf61
UD
564082010-09-04 Ulrich Drepper <drepper@redhat.com>
56409
56410 [BZ #11979]
56411 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56412 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56413
0959ffc9
UD
564142010-09-02 Ulrich Drepper <drepper@redhat.com>
56415
56416 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56417 * sysdeps/x86_64/addmul_1.S: Likewise.
56418 * sysdeps/x86_64/lshift.S: Likewise.
56419 * sysdeps/x86_64/mul_1.S: Likewise.
56420 * sysdeps/x86_64/rshift.S: Likewise.
56421 * sysdeps/x86_64/sub_n.S: Likewise.
56422 * sysdeps/x86_64/submul_1.S: Likewise.
56423
ece29840
ST
564242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56425
0959ffc9
UD
56426 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56427 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56428 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56429 * bits/sched.h [__need_schedparam]
ece29840 56430 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56431 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56432 (__defined_schedparam): Define to 1.
ece29840
ST
56433 (__sched_param): New structure, identical to sched_param.
56434 (__need_schedparam): Undefine.
56435
e53a31fe
MF
564362010-08-31 Mike Frysinger <vapier@gentoo.org>
56437
fdc0c10d
MF
56438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56439 (epoll_create1): Declare.
56440
e53a31fe
MF
56441 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56442
a726d796
AS
564432010-08-31 Andreas Schwab <schwab@redhat.com>
56444
56445 [BZ #7066]
56446 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56447 shifting retval into place.
56448
2f3e3dc7
UD
564492010-09-01 Ulrich Drepper <drepper@redhat.com>
56450
f2933da9
UD
56451 * nis/rpcsvc/nis.h: Update copyright notice.
56452 * nis/rpcsvc/nis.x: Likewise.
56453 * nis/rpcsvc/nis_callback.h: Likewise.
56454 * nis/rpcsvc/nis_callback.x: Likewise.
56455 * nis/rpcsvc/nis_object.x: Likewise.
56456 * nis/rpcsvc/nis_tags.h: Likewise.
56457 * nis/rpcsvc/yp.h: Likewise.
56458 * nis/rpcsvc/yp.x: Likewise.
56459 * nis/rpcsvc/ypupd.h: Likewise.
56460 * nis/yp_xdr.c: Likewise.
56461 * nis/ypupdate_xdr.c: Likewise.
56462
2f3e3dc7
UD
56463 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56464 mainly the body of pmap_getport. Add parameters to specify timeouts.
56465 (pmap_getport): Use __libc_rpc_getport.
56466 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56467 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56468 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56469
f3dcc2f9
AS
564702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56471
56472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56473 fanotify_mark.
56474
6d34eb5b
RM
564752010-08-27 Roland McGrath <roland@redhat.com>
56476
56477 * sysdeps/i386/i686/multiarch/Makefile
56478 (CFLAGS-varshift.c): New variable.
56479
9ea3de11
UD
564802010-08-27 Ulrich Drepper <drepper@redhat.com>
56481
c96d23fc
UD
56482 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56483 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56484
9ea3de11
UD
56485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56486
56487 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56488
623aac7f
L
564892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56490
56491 * sysdeps/x86_64/strlen.S: Unroll the loop.
56492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56493 strlen-sse2 strlen-sse2-bsf.
56494 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56495 __strlen_no_bsf if bit_Slow_BSF is set.
56496 (__strlen_sse42): Removed.
56497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56498 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56499
8b2b7715
RM
565002010-08-25 Roland McGrath <roland@redhat.com>
56501
56502 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56503 * sysdeps/x86_64/multiarch/varshift.c: New file.
56504 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56505 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56506 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56507 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56508
e73015f2
L
565092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56510
56511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56512 strlen-sse2 strlen-sse2-bsf.
56513 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56514 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56515 (__strlen_sse2): Removed.
56516 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56519 bit_Slow_BSF for Atom.
56520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56521 (index_Slow_BSF): Define.
56522 (HAS_SLOW_BSF): Define.
56523
df24a73e
UD
565242010-08-25 Ulrich Drepper <drepper@redhat.com>
56525
56526 [BZ #10851]
56527 * resolv/res_init.c (__res_vinit): When no server address at all
56528 is given default to loopback.
56529
f2ac4868
RM
565302010-08-24 Roland McGrath <roland@redhat.com>
56531
09055553
RM
56532 * configure.in: Remove config-name.h generation.
56533 * configure: Regenerated.
56534 * config-name.in: File removed.
56535 * scripts/config-uname.sh: New file.
56536 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56537 ($(objdir)config-name.h): New target.
56538
f2ac4868
RM
56539 * sunrpc/rpc_parse.h: Avoid nested comment.
56540
73f27d5e
RH
565412010-08-24 Richard Henderson <rth@redhat.com>
56542 Ulrich Drepper <drepper@redhat.com>
56543 H.J. Lu <hongjiu.lu@intel.com>
56544
56545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56547 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56548 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56549 _mm_alignr_epi8 with _mm_loadu_si128.
56550 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56551 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56552 (__m128i_shift_right): Removed.
56553 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56554 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56555 * sysdeps/x86_64/multiarch/varshift.h: New file.
56556 * sysdeps/x86_64/multiarch/varshift.S: New file.
56557
84b9230c
MF
565582010-08-21 Mike Frysinger <vapier@gentoo.org>
56559
56560 * configure.in: Move assembler checks to before sysdep dir checking.
56561
9bbd0ddc
PB
565622010-08-20 Petr Baudis <pasky@suse.cz>
56563
56564 * LICENSES: Sync the sunrpc license.
56565
9da4bb31
UD
565662010-08-19 Ulrich Drepper <drepper@redhat.com>
56567
a7ab6ec8
UD
56568 * sunrpc/auth_des.c: Update copyright notice once again.
56569 * sunrpc/auth_none.c: Likewise.
56570 * sunrpc/auth_unix.c: Likewise.
56571 * sunrpc/authdes_prot.c: Likewise.
56572 * sunrpc/authuxprot.c: Likewise.
56573 * sunrpc/bindrsvprt.c: Likewise.
56574 * sunrpc/clnt_gen.c: Likewise.
56575 * sunrpc/clnt_perr.c: Likewise.
56576 * sunrpc/clnt_raw.c: Likewise.
56577 * sunrpc/clnt_simp.c: Likewise.
56578 * sunrpc/clnt_tcp.c: Likewise.
56579 * sunrpc/clnt_udp.c: Likewise.
56580 * sunrpc/clnt_unix.c: Likewise.
56581 * sunrpc/des_crypt.c: Likewise.
56582 * sunrpc/des_soft.c: Likewise.
56583 * sunrpc/get_myaddr.c: Likewise.
56584 * sunrpc/getrpcport.c: Likewise.
56585 * sunrpc/key_call.c: Likewise.
56586 * sunrpc/key_prot.c: Likewise.
56587 * sunrpc/openchild.c: Likewise.
56588 * sunrpc/pm_getmaps.c: Likewise.
56589 * sunrpc/pm_getport.c: Likewise.
56590 * sunrpc/pmap_clnt.c: Likewise.
56591 * sunrpc/pmap_prot.c: Likewise.
56592 * sunrpc/pmap_prot2.c: Likewise.
56593 * sunrpc/pmap_rmt.c: Likewise.
56594 * sunrpc/rpc/auth.h: Likewise.
56595 * sunrpc/rpc/auth_unix.h: Likewise.
56596 * sunrpc/rpc/clnt.h: Likewise.
56597 * sunrpc/rpc/des_crypt.h: Likewise.
56598 * sunrpc/rpc/key_prot.h: Likewise.
56599 * sunrpc/rpc/netdb.h: Likewise.
56600 * sunrpc/rpc/pmap_clnt.h: Likewise.
56601 * sunrpc/rpc/pmap_prot.h: Likewise.
56602 * sunrpc/rpc/pmap_rmt.h: Likewise.
56603 * sunrpc/rpc/rpc.h: Likewise.
56604 * sunrpc/rpc/rpc_des.h: Likewise.
56605 * sunrpc/rpc/rpc_msg.h: Likewise.
56606 * sunrpc/rpc/svc.h: Likewise.
56607 * sunrpc/rpc/svc_auth.h: Likewise.
56608 * sunrpc/rpc/types.h: Likewise.
56609 * sunrpc/rpc/xdr.h: Likewise.
56610 * sunrpc/rpc_clntout.c: Likewise.
56611 * sunrpc/rpc_cmsg.c: Likewise.
56612 * sunrpc/rpc_common.c: Likewise.
56613 * sunrpc/rpc_cout.c: Likewise.
56614 * sunrpc/rpc_dtable.c: Likewise.
56615 * sunrpc/rpc_hout.c: Likewise.
56616 * sunrpc/rpc_main.c: Likewise.
56617 * sunrpc/rpc_parse.c: Likewise.
56618 * sunrpc/rpc_parse.h: Likewise.
56619 * sunrpc/rpc_prot.c: Likewise.
56620 * sunrpc/rpc_sample.c: Likewise.
56621 * sunrpc/rpc_scan.c: Likewise.
56622 * sunrpc/rpc_scan.h: Likewise.
56623 * sunrpc/rpc_svcout.c: Likewise.
56624 * sunrpc/rpc_tblout.c: Likewise.
56625 * sunrpc/rpc_util.c: Likewise.
56626 * sunrpc/rpc_util.h: Likewise.
56627 * sunrpc/rpcinfo.c: Likewise.
56628 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56629 * sunrpc/rpcsvc/key_prot.x: Likewise.
56630 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56631 * sunrpc/rpcsvc/mount.x: Likewise.
56632 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56633 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56634 * sunrpc/rpcsvc/rex.x: Likewise.
56635 * sunrpc/rpcsvc/rstat.x: Likewise.
56636 * sunrpc/rpcsvc/rusers.x: Likewise.
56637 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56638 * sunrpc/rpcsvc/spray.x: Likewise.
56639 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56640 * sunrpc/rtime.c: Likewise.
56641 * sunrpc/svc.c: Likewise.
56642 * sunrpc/svc_auth.c: Likewise.
56643 * sunrpc/svc_authux.c: Likewise.
56644 * sunrpc/svc_raw.c: Likewise.
56645 * sunrpc/svc_run.c: Likewise.
56646 * sunrpc/svc_simple.c: Likewise.
56647 * sunrpc/svc_tcp.c: Likewise.
56648 * sunrpc/svc_udp.c: Likewise.
56649 * sunrpc/svc_unix.c: Likewise.
56650 * sunrpc/svcauth_des.c: Likewise.
56651 * sunrpc/xcrypt.c: Likewise.
56652 * sunrpc/xdr.c: Likewise.
56653 * sunrpc/xdr_array.c: Likewise.
56654 * sunrpc/xdr_float.c: Likewise.
56655 * sunrpc/xdr_mem.c: Likewise.
56656 * sunrpc/xdr_rec.c: Likewise.
56657 * sunrpc/xdr_ref.c: Likewise.
56658 * sunrpc/xdr_sizeof.c: Likewise.
56659 * sunrpc/xdr_stdio.c: Likewise.
56660
9da4bb31
UD
56661 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56662 handling.
56663
bdaa77bc
AS
566642010-08-19 Andreas Schwab <schwab@redhat.com>
56665
56666 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56667
fe2f79db
LM
566682010-08-19 Luis Machado <luisgpm@br.ibm.com>
56669
56670 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56671 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56672 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56673 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56674 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56675 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56676 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56677 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56679 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56680 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56681 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56682 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56683 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56684
b9b42ee0
AB
566852010-07-26 Anton Blanchard <anton@samba.org>
56686
56687 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56688 * malloc/arena.c (heap_trim): Likewise.
56689
1c06ba31
UD
566902010-08-16 Ulrich Drepper <drepper@redhat.com>
56691
56692 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56693 here. Not...
56694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56695 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56696
f8392f40
L
566972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56698
56699 * sysdeps/i386/elf/Makefile: New file.
56700
3162f12e
AS
567012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56702
56703 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56704 from fanotify_init.
56705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56707
28c90b2c
UD
567082010-08-15 Ulrich Drepper <drepper@redhat.com>
56709
56710 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56711 of strncasecmp_l.
1feccb6c 56712 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56713
ca6bb004
UD
567142010-08-14 Ulrich Drepper <drepper@redhat.com>
56715
e9f82e0d
UD
56716 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56717 strncase_l-nonascii.
56718 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56719 Add strncase_l-ssse3.
56720 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56721 * sysdeps/x86_64/strcmp.S: Likewise.
56722 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56723 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56724 * sysdeps/x86_64/strncase.S: New file.
56725 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56726 * sysdeps/x86_64/strncase_l.S: New file.
56727 * string/Makefile (strop-tests): Add strncasecmp.
56728 * string/test-strncasecmp.c: New file.
56729
56730 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56731 warning.
56732
ca6bb004
UD
56733 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56734 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56735
052fa7b3
AS
567362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56737
56738 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56739
962dba78
UD
567402010-08-12 Ulrich Drepper <drepper@redhat.com>
56741
56742 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56744 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56745
bebff237
AM
567462010-05-01 Alan Modra <amodra@gmail.com>
56747
56748 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56749 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56750 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56751 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56752 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56753 tidying. Don't tail-call __sigjmp_save for static lib.
56754 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56755 save location.
56756 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56757 (CALL_MCOUNT): Add eh info, and nop after bl.
56758 (TAIL_CALL_SYSCALL_ERROR): New macro.
56759 (PSEUDO_RET): Use it.
56760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56761 Correct save location of integer regs and cr.
56762 (_dl_profile_resolve): Correct cr save location. Delete nops
56763 after bl when SHARED. Reduce cfi size a little by better
56764 placement of cfi directives.
56765 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56766 make a stack frame. Instead use parm save area as a temp.
56767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56768 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56770 Don't make a stack frame for parent, use parm save area.
56771 Increase child stack frame to 112 bytes. Don't save unused reg,
56772 and adjust reg usage. Set up cfi on error recovery and
56773 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56775 (__makecontext): Add dummy nop after jump to exit.
56776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56777 Use correct parm save area and cr save, reduce stack frame.
56778 Correct cfi for possible PSEUDO_RET frame setup.
56779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56780 Branch to local label emitted by PSEUDO_RET rather than
56781 __syscall_error.
56782
02637374
AS
567832010-08-12 Andreas Schwab <schwab@redhat.com>
56784
56785 [BZ #11904]
56786 * locale/programs/locale.c (print_assignment): New function.
56787 (show_locale_vars): Use it.
56788
c3e2f19b
UD
567892010-08-11 Ulrich Drepper <drepper@redhat.com>
56790
3cdaa6ad
UD
56791 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56792 field.
56793 (struct statfs64): Likewise.
56794 (_STATFS_F_FLAGS): Define.
56795 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56796 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56797 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56798 (ST_VALID): Define locally.
56799 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56800 __statvfs_getflags, use the provided value.
56801 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56802 __ASSUME_STATFS_F_FLAGS.
56803
754f7da3
UD
56804 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56805
10b3bedc
UD
56806 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56807 Add sys/fanotify.h.
56808 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56809 fanotify_mask for GLIBC_2.13.
56810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56811 fanotify_init and fanotify_mark.
56812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56813 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56814
c08fb0d7
UD
56815 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56816 Add prlimit.
56817 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56818 prlimit64 for GLIBC_2.13.
56819 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56820 prlimit64.
56821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56822 syscall.
56823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56825 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56826 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56828 add prlimit alias.
56829 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56830
15bac72b
UD
56831 [BZ #11903]
56832 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56833 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56834
c3e2f19b
UD
56835 * nss/Makefile: Add rules to build and run tst-nss-test1.
56836 * shlib-versions: Add entry for libnss_test1.
56837 * nss/nss_test1.c: New file.
56838 * nss/tst-nss-test1.c: New file.
56839
56840 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56841 (__nss_configure_lookup): Set appropriate entry in
56842 __nss_configure_lookup to true.
56843 * nss/nsswitch.h: Define enum with indeces of databases in
56844 databases and __nss_database_custom arrays. Declare
56845 __nss_database_custom.
56846 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56847 to avoid using nscd when custom rules are installed.
56848 * nss/getXXbyYY_r.c: Likewise.
56849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56850
56851 * nss/nss_files/files-parse.c: Whitespace fixes.
56852
f15ce4d8
UD
568532010-08-09 Ulrich Drepper <drepper@redhat.com>
56854
56855 [BZ #11883]
56856 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56857 * posix/fnmatch_loop.c: Likewise.
56858
d22e4cc9
AK
568592010-07-17 Andi Kleen <ak@linux.intel.com>
56860
56861 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56862 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56863 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56864 * Versions.def [GLIBC_2.13]: Add.
56865
805bc17d
UD
568662010-08-06 Ulrich Drepper <drepper@redhat.com>
56867
56868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56869 Also fail if tpwd after pwuid call is NULL.
56870
5a42321d
ST
568712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56872
56873 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56874 when converting to ms.
56875
fd3ebeda
ST
568762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56877
56878 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56879 EOPNOTSUPP errors with ENOTTY.
56880 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56881 EOPNOTSUPP errors with ENOTTY.
56882
73507d3a
UD
568832010-07-31 Ulrich Drepper <drepper@redhat.com>
56884
56885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56886 Add strcasecmp_l-ssse3.
56887 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56888 strcasecmp.
56889 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56890 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56891 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56892
fe36dd02
UD
568932010-07-30 Ulrich Drepper <drepper@redhat.com>
56894
66f6765a
UD
56895 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56896
42e08a54
UD
56897 * string/Makefile (strop-tests): Add strcasecmp.
56898 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56899 strcasecmp_l-nonascii.
56900 (gen-as-const-headers): Add locale-defines.sym.
56901 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56902 * sysdeps/x86_64/strcasecmp.S: New file.
56903 * sysdeps/x86_64/strcasecmp_l.S: New file.
56904 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56905 * sysdeps/x86_64/locale-defines.sym: New file.
56906 * string/test-strcasecmp.c: New file.
56907
fe36dd02
UD
56908 * string/test-strcasestr.c: Test both ends of the range of characters.
56909 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56910
48cbc0d6
RM
569112010-07-29 Roland McGrath <roland@redhat.com>
56912
76e6d6bc 56913 [BZ #11856]
48cbc0d6
RM
56914 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56915
880113d9
UD
569162010-07-27 Ulrich Drepper <drepper@redhat.com>
56917
56918 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56919 for ld.so.
56920
deb9cabb
AS
569212010-07-27 Andreas Schwab <schwab@redhat.com>
56922
56923 * manual/memory.texi (Malloc Tunable Parameters): Document
56924 M_PERTURB.
56925
1c7570ff
RM
569262010-07-26 Roland McGrath <roland@redhat.com>
56927
56928 [BZ #11840]
56929 * configure.in (-fgnu89-inline check): Set and substitute
56930 gnu89_inline, not libc_cv_gnu89_inline.
56931 * configure: Regenerated.
56932 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56933
24fb0f88
UD
569342010-07-26 Ulrich Drepper <drepper@redhat.com>
56935
56936 * string/test-strnlen.c: New file.
56937 * string/Makefile (strop-tests): Add strnlen.
56938 * string/tester.c (test_strnlen): Add a few more test cases.
56939 * string/tst-strlen.c: Better error reporting.
56940
56941 * sysdeps/x86_64/strnlen.S: New file.
56942
8e96b93a
UD
569432010-07-24 Ulrich Drepper <drepper@redhat.com>
56944
56945 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56946 lower-latency instructions.
56947
dbc676d4
UD
569482010-07-23 Ulrich Drepper <drepper@redhat.com>
56949
56950 * string/test-strcasestr.c: New file.
56951 * string/test-strstr.c: New file.
56952 * string/Makefile (strop-tests): Add strstr and strcasestr.
56953 * string/str-two-way.h: Don't undefine MAX.
56954 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56955
f6a31e0e
AS
569562010-07-21 Andreas Schwab <schwab@redhat.com>
56957
56958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56959 strcasestr-nonascii.
56960 (CFLAGS-strcasestr-nonascii.c): Define.
56961 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56962 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56963 Remove unused attribute.
56964
5dbc3b6c
RM
569652010-07-20 Roland McGrath <roland@redhat.com>
56966
56967 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56968 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56969 ld.so.cache was broken. With it, there is no way to disable dsocaps
56970 like LD_HWCAP_MASK can disable hwcaps.
56971
23d101d8
EPM
569722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56973
56974 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56975
cc9f2e47
UD
569762010-07-16 Ulrich Drepper <drepper@redhat.com>
56977
56978 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56979 call in strcasestr.
56980 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56981 __strcasestr_sse42_nonascii.
56982 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56983 strcasestr-nonascii.c.
56984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56985
77c1b069
LM
569862010-06-15 Luis Machado <luisgpm@br.ibm.com>
56987
56988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56992
440566c3
UD
569932010-07-09 Ulrich Drepper <drepper@redhat.com>
56994
56995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56996 fcntl.
56997
5be9d05d
AS
569982010-07-06 Andreas Schwab <schwab@redhat.com>
56999
c30b7ee2 57000 [BZ #11577]
5be9d05d
AS
57001 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57002 dl_signal_cerror.
57003
8a492a67
UD
570042010-07-06 Ulrich Drepper <drepper@redhat.com>
57005
57006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57007 _PC_PIPE_BUF using F_GETPIPE_SZ.
57008
713df3d5
RM
570092010-07-05 Roland McGrath <roland@redhat.com>
57010
57011 * manual/arith.texi (Rounding Functions): Fix rint description
57012 implicit in round description.
57013
702e8f14
UD
570142010-07-02 Ulrich Drepper <drepper@redhat.com>
57015
57016 * elf/Makefile: Fix linking for a few tests to make recent linker
57017 happy.
57018
52ed8be9
AS
570192010-06-30 Andreas Schwab <schwab@redhat.com>
57020
57021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57022 $(common-objpfx)libc_nonshared.a.
57023
f47c9a11
LM
570242010-06-21 Luis Machado <luisgpm@br.ibm.com>
57025
57026 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57027 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57028 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57029 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57030 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57031 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57032 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57033 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57048 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57049 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57050 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57051 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57052 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57053 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57054 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57055 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57056 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57057 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57058 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57059 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57074
6fb8cbcb
L
570752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57076
57077 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57078 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57079 * string/memmove.c (memmove): Renamed to ...
57080 (MEMMOVE): ...this. Default to memmove.
57081 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57082 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57083 (END_CHK): Define.
57084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57085 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57086 mempcpy-ssse3-back memmove-ssse3-back.
57087 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57090 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57091 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57092 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57093 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57094 * sysdeps/x86_64/multiarch/memmove.c: New file.
57095 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57096 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57097 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57098 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57101 Define.
57102 (index_Fast_Copy_Backward): Define.
57103 (HAS_ARCH_FEATURE): Define.
57104 (HAS_FAST_REP_STRING): Define.
57105 (HAS_FAST_COPY_BACKWARD): Define.
57106
4e733bac 571072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57108
57109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57110 Restore proper fallback handling.
57111
63c4ed22
UD
571122010-06-19 Ulrich Drepper <drepper@redhat.com>
57113
ac2b484c
UD
57114 [BZ #11701]
57115 * posix/group_member.c (__group_member): Correct checking loop.
57116
63c4ed22
UD
57117 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57118 OOM in getpwuid_r correctly. Return error number when the caller
57119 should return, otherwise -1.
57120 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57121 call returning > 0 value.
57122 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57123
765ade4b
AS
571242010-06-07 Andreas Schwab <schwab@redhat.com>
57125
57126 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57127 libc_nonshared.a from targets in modules-names.
57128
80da2e09
KS
571292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57130
57131 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57132 requires it.
57133
158db122
LM
571342010-06-10 Luis Machado <luisgpm@br.ibm.com>
57135
57136 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57140
caa78cf8
AS
571412010-06-02 Andreas Schwab <schwab@redhat.com>
57142
57143 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57144
b2ef2c01
UD
571452010-06-14 Ulrich Drepper <drepper@redhat.com>
57146
57147 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57148 and F_GETPIPE_SZ.
57149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57155
fbd643b6
RM
571562010-06-14 Roland McGrath <roland@redhat.com>
57157
57158 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57159
f32f2869
JJ
571602010-06-07 Jakub Jelinek <jakub@redhat.com>
57161
57162 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57163 __REDIRECT followed by __THROW.
57164 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57165 * posix/getopt.h (getopt): Likewise.
57166
2a50c078
EPM
571672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57168
57169 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57170 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57171 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57172 in AT_FLAGS.
57173 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57174 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57175
eb5ad2eb
LM
571762010-05-28 Luis Machado <luisgpm@br.ibm.com>
57177
57178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57179
3c88fe1e
L
571802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57181
57182 [BZ #11640]
57183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57184 Properly check family and model.
57185
d2f73151
TY
571862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57187
57188 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57189
ebd2e13d
LM
571902010-05-24 Luis Machado <luisgpm@br.ibm.com>
57191
57192 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57193
b32b8b45
UD
571942010-05-21 Ulrich Drepper <drepper@redhat.com>
57195
57196 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57197 symbol reference.
57198
9acbe24d
AS
571992010-05-19 Andreas Schwab <schwab@redhat.com>
57200
57201 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57202 symbol reference.
57203
f0ccf6ea
AS
572042010-05-21 Andreas Schwab <schwab@redhat.com>
57205
3d04ff3a
AS
57206 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57207 and internal_recvmmsg.
57208 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57209 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57210 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57211 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57212
f0ccf6ea
AS
57213 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57214 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57215 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57216
5b08ac57
AS
572172010-05-20 Andreas Schwab <schwab@redhat.com>
57218
57219 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57220
4828935d
LM
572212010-05-17 Luis Machado <luisgpm@br.ibm.com>
57222
57223 POWER7 optimizations.
57224 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57225 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57226
373d545e
UD
572272010-05-19 Ulrich Drepper <drepper@redhat.com>
57228
57229 * version.h: Update for 2.13 development version.
57230
21a2b1ae
AS
572312010-05-12 Andrew Stubbs <ams@codesourcery.com>
57232
57233 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57234 exceptions. Return 0.
57235
3f7dcb2b
RM
572362010-05-07 Roland McGrath <roland@redhat.com>
57237
57238 * elf/ldconfig.c (main): Add a const.
57239
5f24d53a 572402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57241
a160f8d8
UD
57242 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57243 (args_options): Add no-idn option.
57244 (ahosts_keys_int): Add idn_flags to ai_flags.
57245 (parse_option): Handle 'i' option to clear idn_flags.
57246
5f24d53a
UD
57247 * malloc/malloc.c (_int_free): Possible race in the most recently
57248 added check. Only act on the data if no current modification
57249 happened.
265bb1ce
UD
57250
57251See ChangeLog.17 for earlier changes.
This page took 8.550812 seconds and 5 git commands to generate.